packages feed

amazonka-cloudwatch-logs 1.3.6 → 1.3.7

raw patch · 31 files changed

+66/−25 lines, 31 filesdep −lensdep ~amazonka-cloudwatch-logsdep ~amazonka-coredep ~amazonka-testPVP ok

version bump matches the API change (PVP)

Dependencies removed: lens

Dependency ranges changed: amazonka-cloudwatch-logs, amazonka-core, amazonka-test

API changes (from Hackage documentation)

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`1.3.6`+`1.3.7`   ## Description
amazonka-cloudwatch-logs.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-cloudwatch-logs-version:               1.3.6+version:               1.3.7 synopsis:              Amazon CloudWatch Logs SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -114,7 +114,7 @@         , Network.AWS.CloudWatchLogs.Types.Sum      build-depends:-          amazonka-core == 1.3.6.*+          amazonka-core == 1.3.7.*         , base          >= 4.7     && < 5  test-suite amazonka-cloudwatch-logs-test@@ -134,12 +134,11 @@         , Test.AWS.CloudWatchLogs.Internal      build-depends:-          amazonka-core == 1.3.6.*-        , amazonka-test == 1.3.6.*-        , amazonka-cloudwatch-logs == 1.3.6.*+          amazonka-core == 1.3.7.*+        , amazonka-test == 1.3.7.*+        , amazonka-cloudwatch-logs == 1.3.7.*         , base         , bytestring-        , lens         , tasty         , tasty-hunit         , text
gen/Network/AWS/CloudWatchLogs/CancelExportTask.hs view
@@ -36,6 +36,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/CreateExportTask.hs view
@@ -26,6 +26,11 @@ -- task Id. Once started, 'DescribeExportTasks' can be used to get the -- status of an export task. --+-- You can export logs from multiple log groups or multiple time ranges to+-- the same Amazon S3 bucket. To separate out log data for each export+-- task, you can specify a prefix that will be used as the Amazon S3 key+-- prefix for all exported objects.+-- -- /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateExportTask.html AWS API Reference> for CreateExportTask. module Network.AWS.CloudWatchLogs.CreateExportTask     (@@ -51,6 +56,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response@@ -119,17 +125,22 @@ cetLogGroupName :: Lens' CreateExportTask Text cetLogGroupName = lens _cetLogGroupName (\ s a -> s{_cetLogGroupName = a}); --- | A unix timestamp indicating the start time of the range for the request.--- Events with a timestamp prior to this time will not be exported.+-- | A point in time expressed as the number of milliseconds since Jan 1,+-- 1970 00:00:00 UTC. It indicates the start time of the range for the+-- request. Events with a timestamp prior to this time will not be+-- exported. cetFrom :: Lens' CreateExportTask Natural cetFrom = lens _cetFrom (\ s a -> s{_cetFrom = a}) . _Nat; --- | A unix timestamp indicating the end time of the range for the request.--- Events with a timestamp later than this time will not be exported.+-- | A point in time expressed as the number of milliseconds since Jan 1,+-- 1970 00:00:00 UTC. It indicates the end time of the range for the+-- request. Events with a timestamp later than this time will not be+-- exported. cetTo :: Lens' CreateExportTask Natural cetTo = lens _cetTo (\ s a -> s{_cetTo = a}) . _Nat;  -- | Name of Amazon S3 bucket to which the log data will be exported.+-- -- __NOTE: Only buckets in the same AWS region are supported__ cetDestination :: Lens' CreateExportTask Text cetDestination = lens _cetDestination (\ s a -> s{_cetDestination = a});
gen/Network/AWS/CloudWatchLogs/CreateLogGroup.hs view
@@ -44,6 +44,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/CreateLogStream.hs view
@@ -44,6 +44,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/DeleteDestination.hs view
@@ -38,6 +38,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/DeleteLogGroup.hs view
@@ -37,6 +37,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/DeleteLogStream.hs view
@@ -38,6 +38,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/DeleteMetricFilter.hs view
@@ -37,6 +37,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/DeleteRetentionPolicy.hs view
@@ -38,6 +38,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/DeleteSubscriptionFilter.hs view
@@ -37,6 +37,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/DescribeDestinations.hs view
@@ -52,6 +52,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Pager import           Network.AWS.Prelude import           Network.AWS.Request
gen/Network/AWS/CloudWatchLogs/DescribeExportTasks.hs view
@@ -51,6 +51,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/DescribeLogGroups.hs view
@@ -52,6 +52,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Pager import           Network.AWS.Prelude import           Network.AWS.Request
gen/Network/AWS/CloudWatchLogs/DescribeLogStreams.hs view
@@ -56,6 +56,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Pager import           Network.AWS.Prelude import           Network.AWS.Request
gen/Network/AWS/CloudWatchLogs/DescribeMetricFilters.hs view
@@ -52,6 +52,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Pager import           Network.AWS.Prelude import           Network.AWS.Request
gen/Network/AWS/CloudWatchLogs/DescribeSubscriptionFilters.hs view
@@ -52,6 +52,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Pager import           Network.AWS.Prelude import           Network.AWS.Request
gen/Network/AWS/CloudWatchLogs/FilterLogEvents.hs view
@@ -64,6 +64,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Pager import           Network.AWS.Prelude import           Network.AWS.Request@@ -115,14 +116,15 @@     , _fleLogGroupName = pLogGroupName_     } --- | A unix timestamp indicating the start time of the range for the request.--- If provided, events with a timestamp prior to this time will not be--- returned.+-- | A point in time expressed as the number of milliseconds since Jan 1,+-- 1970 00:00:00 UTC. If provided, events with a timestamp prior to this+-- time are not returned. fleStartTime :: Lens' FilterLogEvents (Maybe Natural) fleStartTime = lens _fleStartTime (\ s a -> s{_fleStartTime = a}) . mapping _Nat;  -- | A pagination token obtained from a 'FilterLogEvents' response to--- continue paginating the FilterLogEvents results.+-- continue paginating the FilterLogEvents results. This token is omitted+-- from the response when there are no other events to display. fleNextToken :: Lens' FilterLogEvents (Maybe Text) fleNextToken = lens _fleNextToken (\ s a -> s{_fleNextToken = a}); @@ -131,9 +133,9 @@ fleLogStreamNames :: Lens' FilterLogEvents (Maybe (NonEmpty Text)) fleLogStreamNames = lens _fleLogStreamNames (\ s a -> s{_fleLogStreamNames = a}) . mapping _List1; --- | A unix timestamp indicating the end time of the range for the request.--- If provided, events with a timestamp later than this time will not be--- returned.+-- | A point in time expressed as the number of milliseconds since Jan 1,+-- 1970 00:00:00 UTC. If provided, events with a timestamp later than this+-- time are not returned. fleEndTime :: Lens' FilterLogEvents (Maybe Natural) fleEndTime = lens _fleEndTime (\ s a -> s{_fleEndTime = a}) . mapping _Nat; @@ -244,7 +246,8 @@ flersSearchedLogStreams = lens _flersSearchedLogStreams (\ s a -> s{_flersSearchedLogStreams = a}) . _Default . _Coerce;  -- | A pagination token obtained from a 'FilterLogEvents' response to--- continue paginating the FilterLogEvents results.+-- continue paginating the FilterLogEvents results. This token is omitted+-- from the response when there are no other events to display. flersNextToken :: Lens' FilterLogEventsResponse (Maybe Text) flersNextToken = lens _flersNextToken (\ s a -> s{_flersNextToken = a}); 
gen/Network/AWS/CloudWatchLogs/GetLogEvents.hs view
@@ -56,6 +56,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/PutDestination.hs view
@@ -53,6 +53,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/PutDestinationPolicy.hs view
@@ -41,6 +41,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/PutLogEvents.hs view
@@ -60,6 +60,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/PutMetricFilter.hs view
@@ -44,6 +44,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/PutRetentionPolicy.hs view
@@ -39,6 +39,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/PutSubscriptionFilter.hs view
@@ -52,6 +52,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/TestMetricFilter.hs view
@@ -42,6 +42,7 @@  import           Network.AWS.CloudWatchLogs.Types import           Network.AWS.CloudWatchLogs.Types.Product+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Request import           Network.AWS.Response
gen/Network/AWS/CloudWatchLogs/Types.hs view
@@ -159,6 +159,7 @@  import           Network.AWS.CloudWatchLogs.Types.Product import           Network.AWS.CloudWatchLogs.Types.Sum+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Sign.V4 
gen/Network/AWS/CloudWatchLogs/Types/Product.hs view
@@ -18,6 +18,7 @@ module Network.AWS.CloudWatchLogs.Types.Product where  import           Network.AWS.CloudWatchLogs.Types.Sum+import           Network.AWS.Lens import           Network.AWS.Prelude  -- | A cross account destination that is the recipient of subscription log@@ -170,13 +171,15 @@ etTaskId :: Lens' ExportTask (Maybe Text) etTaskId = lens _etTaskId (\ s a -> s{_etTaskId = a}); --- | A unix timestamp indicating the end time of the range for the request.--- Events with a timestamp later than this time were not exported.+-- | A point in time expressed as the number of milliseconds since Jan 1,+-- 1970 00:00:00 UTC. Events with a timestamp later than this time are not+-- exported. etTo :: Lens' ExportTask (Maybe Natural) etTo = lens _etTo (\ s a -> s{_etTo = a}) . mapping _Nat; --- | A unix timestamp indicating the start time of the range for the request.--- Events with a timestamp prior to this time were not exported.+-- | A point in time expressed as the number of milliseconds since Jan 1,+-- 1970 00:00:00 UTC. Events with a timestamp prior to this time are not+-- exported. etFrom :: Lens' ExportTask (Maybe Natural) etFrom = lens _etFrom (\ s a -> s{_etFrom = a}) . mapping _Nat; 
gen/Network/AWS/CloudWatchLogs/Types/Sum.hs view
@@ -26,7 +26,7 @@     | Pending     | PendingCancel     | Running-    deriving (Eq,Ord,Read,Show,Enum,Data,Typeable,Generic)+    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)  instance FromText ExportTaskStatusCode where     parser = takeLowerText >>= \case@@ -62,7 +62,7 @@ data OrderBy     = LastEventTime     | LogStreamName-    deriving (Eq,Ord,Read,Show,Enum,Data,Typeable,Generic)+    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)  instance FromText OrderBy where     parser = takeLowerText >>= \case
gen/Network/AWS/CloudWatchLogs/Waiters.hs view
@@ -16,5 +16,6 @@ module Network.AWS.CloudWatchLogs.Waiters where  import           Network.AWS.CloudWatchLogs.Types+import           Network.AWS.Lens import           Network.AWS.Prelude import           Network.AWS.Waiter