packages feed

amazonka-kinesis-firehose 1.3.7 → 1.4.0

raw patch · 18 files changed

+140/−111 lines, 18 filesdep ~amazonka-coredep ~amazonka-kinesis-firehosedep ~amazonka-testPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core, amazonka-kinesis-firehose, amazonka-test

API changes (from Hackage documentation)

+ Network.AWS.Firehose.CreateDeliveryStream: instance Data.Hashable.Class.Hashable Network.AWS.Firehose.CreateDeliveryStream.CreateDeliveryStream
+ Network.AWS.Firehose.DeleteDeliveryStream: instance Data.Hashable.Class.Hashable Network.AWS.Firehose.DeleteDeliveryStream.DeleteDeliveryStream
+ Network.AWS.Firehose.DescribeDeliveryStream: instance Data.Hashable.Class.Hashable Network.AWS.Firehose.DescribeDeliveryStream.DescribeDeliveryStream
+ Network.AWS.Firehose.ListDeliveryStreams: instance Data.Hashable.Class.Hashable Network.AWS.Firehose.ListDeliveryStreams.ListDeliveryStreams
+ Network.AWS.Firehose.PutRecord: instance Data.Hashable.Class.Hashable Network.AWS.Firehose.PutRecord.PutRecord
+ Network.AWS.Firehose.PutRecordBatch: instance Data.Hashable.Class.Hashable Network.AWS.Firehose.PutRecordBatch.PutRecordBatch
+ Network.AWS.Firehose.UpdateDestination: instance Data.Hashable.Class.Hashable Network.AWS.Firehose.UpdateDestination.UpdateDestination

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`1.3.7`+`1.4.0`   ## Description@@ -20,7 +20,7 @@ Redshift.  Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-kinesis-firehose)-and the [AWS API Reference](http://docs.aws.amazon.com/firehose/latest/APIReference/Welcome.html).+and the [AWS API Reference](https://aws.amazon.com/documentation/).  The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka), which provides mechanisms for specifying AuthN/AuthZ information and sending requests.
amazonka-kinesis-firehose.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-kinesis-firehose-version:               1.3.7+version:               1.4.0 synopsis:              Amazon Kinesis Firehose 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@gmail.com>-copyright:             Copyright (c) 2013-2015 Brendan Hay+copyright:             Copyright (c) 2013-2016 Brendan Hay category:              Network, AWS, Cloud, Distributed Computing build-type:            Simple cabal-version:         >= 1.10@@ -30,7 +30,7 @@     such as <http://hackage.haskell.org/package/lens lens> or     <http://hackage.haskell.org/package/lens-family-core lens-family-core>.     .-    See "Network.AWS.Firehose" and the <http://docs.aws.amazon.com/firehose/latest/APIReference/Welcome.html AWS API Reference>+    See "Network.AWS.Firehose" or <https://aws.amazon.com/documentation/ the AWS Documentation>     to get started.  source-repository head@@ -60,7 +60,7 @@         , Network.AWS.Firehose.Types.Sum      build-depends:-          amazonka-core == 1.3.7.*+          amazonka-core == 1.4.0.*         , base          >= 4.7     && < 5  test-suite amazonka-kinesis-firehose-test@@ -80,9 +80,9 @@         , Test.AWS.Firehose.Internal      build-depends:-          amazonka-core == 1.3.7.*-        , amazonka-test == 1.3.7.*-        , amazonka-kinesis-firehose == 1.3.7.*+          amazonka-core == 1.4.0.*+        , amazonka-test == 1.4.0.*+        , amazonka-kinesis-firehose == 1.4.0.*         , base         , bytestring         , tasty
gen/Network/AWS/Firehose.hs view
@@ -5,7 +5,7 @@  -- | -- Module      : Network.AWS.Firehose--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated@@ -16,8 +16,6 @@ -- Amazon Kinesis Firehose is a fully-managed service that delivers -- real-time streaming data to destinations such as Amazon S3 and Amazon -- Redshift.------ /See:/ <http://docs.aws.amazon.com/firehose/latest/APIReference/Welcome.html AWS API Reference> module Network.AWS.Firehose     (     -- * Service Configuration
gen/Network/AWS/Firehose/CreateDeliveryStream.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.Firehose.CreateDeliveryStream--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated@@ -20,12 +20,12 @@ -- -- Creates a delivery stream. ----- CreateDeliveryStream is an asynchronous operation that immediately+-- < CreateDeliveryStream> is an asynchronous operation that immediately -- returns. The initial status of the delivery stream is 'CREATING'. After -- the delivery stream is created, its status is 'ACTIVE' and it now -- accepts data. Attempts to send data to a delivery stream that is not in -- the 'ACTIVE' state cause an exception. To check the state of a delivery--- stream, use DescribeDeliveryStream.+-- stream, use < DescribeDeliveryStream>. -- -- The name of a delivery stream identifies it. You can\'t have two -- delivery streams with the same name in the same region. Two delivery@@ -35,9 +35,10 @@ -- By default, you can create up to 5 delivery streams per region. -- -- A delivery stream can only be configured with a single destination,--- Amazon S3 or Amazon Redshift. For correct CreateDeliveryStream request--- syntax, specify only one destination configuration parameter: either--- 'RedshiftDestinationConfiguration' or 'S3DestinationConfiguration'+-- Amazon S3 or Amazon Redshift. For correct < CreateDeliveryStream>+-- request syntax, specify only one destination configuration parameter:+-- either 'RedshiftDestinationConfiguration' or+-- 'S3DestinationConfiguration' -- -- As part of 'S3DestinationConfiguration', optional values -- 'BufferingHints', 'EncryptionConfiguration', and 'CompressionFormat' can@@ -73,8 +74,6 @@ -- allows the service to deliver the data. For more information, see -- <http://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-s3 Amazon S3 Bucket Access> -- in the /Amazon Kinesis Firehose Developer Guide/.------ /See:/ <http://docs.aws.amazon.com/firehose/latest/APIReference/API_CreateDeliveryStream.html AWS API Reference> for CreateDeliveryStream. module Network.AWS.Firehose.CreateDeliveryStream     (     -- * Creating a Request@@ -100,7 +99,7 @@ import           Network.AWS.Request import           Network.AWS.Response --- | Contains the parameters for CreateDeliveryStream.+-- | Contains the parameters for < CreateDeliveryStream>. -- -- /See:/ 'createDeliveryStream' smart constructor. data CreateDeliveryStream = CreateDeliveryStream'@@ -153,6 +152,8 @@                  CreateDeliveryStreamResponse' <$>                    (x .?> "DeliveryStreamARN") <*> (pure (fromEnum s))) +instance Hashable CreateDeliveryStream+ instance ToHeaders CreateDeliveryStream where         toHeaders           = const@@ -180,7 +181,7 @@ instance ToQuery CreateDeliveryStream where         toQuery = const mempty --- | Contains the output of CreateDeliveryStream.+-- | Contains the output of < CreateDeliveryStream>. -- -- /See:/ 'createDeliveryStreamResponse' smart constructor. data CreateDeliveryStreamResponse = CreateDeliveryStreamResponse'
gen/Network/AWS/Firehose/DeleteDeliveryStream.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.Firehose.DeleteDeliveryStream--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated@@ -24,15 +24,13 @@ -- state, and not in the 'CREATING' state. While the deletion request is in -- process, the delivery stream is in the 'DELETING' state. ----- To check the state of a delivery stream, use DescribeDeliveryStream.+-- To check the state of a delivery stream, use < DescribeDeliveryStream>. -- -- While the delivery stream is 'DELETING' state, the service may continue -- to accept the records, but the service doesn\'t make any guarantees with -- respect to delivering the data. Therefore, as a best practice, you -- should first stop any applications that are sending records before -- deleting a delivery stream.------ /See:/ <http://docs.aws.amazon.com/firehose/latest/APIReference/API_DeleteDeliveryStream.html AWS API Reference> for DeleteDeliveryStream. module Network.AWS.Firehose.DeleteDeliveryStream     (     -- * Creating a Request@@ -55,7 +53,7 @@ import           Network.AWS.Request import           Network.AWS.Response --- | Contains the parameters for DeleteDeliveryStream.+-- | Contains the parameters for < DeleteDeliveryStream>. -- -- /See:/ 'deleteDeliveryStream' smart constructor. newtype DeleteDeliveryStream = DeleteDeliveryStream'@@ -89,6 +87,8 @@                  DeleteDeliveryStreamResponse' <$>                    (pure (fromEnum s))) +instance Hashable DeleteDeliveryStream+ instance ToHeaders DeleteDeliveryStream where         toHeaders           = const@@ -112,7 +112,7 @@ instance ToQuery DeleteDeliveryStream where         toQuery = const mempty --- | Contains the output of DeleteDeliveryStream.+-- | Contains the output of < DeleteDeliveryStream>. -- -- /See:/ 'deleteDeliveryStreamResponse' smart constructor. newtype DeleteDeliveryStreamResponse = DeleteDeliveryStreamResponse'
gen/Network/AWS/Firehose/DescribeDeliveryStream.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.Firehose.DescribeDeliveryStream--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated@@ -20,10 +20,8 @@ -- -- Describes the specified delivery stream and gets the status. For -- example, after your delivery stream is created, call--- DescribeDeliveryStream to see if the delivery stream is 'ACTIVE' and+-- < DescribeDeliveryStream> to see if the delivery stream is 'ACTIVE' and -- therefore ready for data to be sent to it.------ /See:/ <http://docs.aws.amazon.com/firehose/latest/APIReference/API_DescribeDeliveryStream.html AWS API Reference> for DescribeDeliveryStream. module Network.AWS.Firehose.DescribeDeliveryStream     (     -- * Creating a Request@@ -49,7 +47,7 @@ import           Network.AWS.Request import           Network.AWS.Response --- | Contains the parameters for DescribeDeliveryStream.+-- | Contains the parameters for < DescribeDeliveryStream>. -- -- /See:/ 'describeDeliveryStream' smart constructor. data DescribeDeliveryStream = DescribeDeliveryStream'@@ -103,6 +101,8 @@                    (pure (fromEnum s)) <*>                      (x .:> "DeliveryStreamDescription")) +instance Hashable DescribeDeliveryStream+ instance ToHeaders DescribeDeliveryStream where         toHeaders           = const@@ -129,7 +129,7 @@ instance ToQuery DescribeDeliveryStream where         toQuery = const mempty --- | Contains the output of DescribeDeliveryStream.+-- | Contains the output of < DescribeDeliveryStream>. -- -- /See:/ 'describeDeliveryStreamResponse' smart constructor. data DescribeDeliveryStreamResponse = DescribeDeliveryStreamResponse'
gen/Network/AWS/Firehose/ListDeliveryStreams.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.Firehose.ListDeliveryStreams--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated@@ -21,15 +21,13 @@ -- Lists your delivery streams. -- -- The number of delivery streams might be too large to return using a--- single call to ListDeliveryStreams. You can limit the number of delivery--- streams returned, using the 'Limit' parameter. To determine whether--- there are more delivery streams to list, check the value of+-- single call to < ListDeliveryStreams>. You can limit the number of+-- delivery streams returned, using the 'Limit' parameter. To determine+-- whether there are more delivery streams to list, check the value of -- 'HasMoreDeliveryStreams' in the output. If there are more delivery -- streams to list, you can request them by specifying the name of the last -- delivery stream returned in the call in the -- 'ExclusiveStartDeliveryStreamName' parameter of a subsequent call.------ /See:/ <http://docs.aws.amazon.com/firehose/latest/APIReference/API_ListDeliveryStreams.html AWS API Reference> for ListDeliveryStreams. module Network.AWS.Firehose.ListDeliveryStreams     (     -- * Creating a Request@@ -55,7 +53,7 @@ import           Network.AWS.Request import           Network.AWS.Response --- | Contains the parameters for ListDeliveryStreams.+-- | Contains the parameters for < ListDeliveryStreams>. -- -- /See:/ 'listDeliveryStreams' smart constructor. data ListDeliveryStreams = ListDeliveryStreams'@@ -98,6 +96,8 @@                      (x .?> "DeliveryStreamNames" .!@ mempty)                      <*> (x .:> "HasMoreDeliveryStreams")) +instance Hashable ListDeliveryStreams+ instance ToHeaders ListDeliveryStreams where         toHeaders           = const@@ -122,7 +122,7 @@ instance ToQuery ListDeliveryStreams where         toQuery = const mempty --- | Contains the output of ListDeliveryStreams.+-- | Contains the output of < ListDeliveryStreams>. -- -- /See:/ 'listDeliveryStreamsResponse' smart constructor. data ListDeliveryStreamsResponse = ListDeliveryStreamsResponse'
gen/Network/AWS/Firehose/PutRecord.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.Firehose.PutRecord--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated@@ -20,21 +20,21 @@ -- -- Writes a single data record into an Amazon Kinesis Firehose delivery -- stream. To write multiple data records into a delivery stream, use--- PutRecordBatch. Applications using these operations are referred to as--- producers.+-- < PutRecordBatch>. Applications using these operations are referred to+-- as producers. -- -- By default, each delivery stream can take in up to 2,000 transactions -- per second, 5,000 records per second, or 5 MB per second. Note that if--- you use PutRecord and PutRecordBatch, the limits are an aggregate across--- these two operations for each delivery stream. For more information--- about limits and how to request an increase, see+-- you use < PutRecord> and < PutRecordBatch>, the limits are an aggregate+-- across these two operations for each delivery stream. For more+-- information about limits and how to request an increase, see -- <http://docs.aws.amazon.com/firehose/latest/dev/limits.html Amazon Kinesis Firehose Limits>. -- -- You must specify the name of the delivery stream and the data record--- when using PutRecord. The data record consists of a data blob that can--- be up to 1,000 KB in size, and any kind of data, for example, a segment--- from a log file, geographic location data, web site clickstream data,--- etc.+-- when using < PutRecord>. The data record consists of a data blob that+-- can be up to 1,000 KB in size, and any kind of data, for example, a+-- segment from a log file, geographic location data, web site clickstream+-- data, etc. -- -- Amazon Kinesis Firehose buffers records before delivering them to the -- destination. To disambiguate the data blobs at the destination, a common@@ -48,20 +48,18 @@ -- producer should include some form of sequence number in each data -- record. ----- The PutRecord operation returns a 'RecordId', which is a unique string--- assigned to each record. Producer applications can use this ID for--- purposes such as auditability and investigation.+-- The < PutRecord> operation returns a 'RecordId', which is a unique+-- string assigned to each record. Producer applications can use this ID+-- for purposes such as auditability and investigation. ----- If the PutRecord operation throws a 'ServiceUnavailableException', back--- off and retry. If the exception persists, it is possible that the+-- If the < PutRecord> operation throws a 'ServiceUnavailableException',+-- back off and retry. If the exception persists, it is possible that the -- throughput limits have been exceeded for the delivery stream. -- -- Data records sent to Amazon Kinesis Firehose are stored for 24 hours -- from the time they are added to a delivery stream as it attempts to send -- the records to the destination. If the destination is unreachable for -- more than 24 hours, the data is no longer available.------ /See:/ <http://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecord.html AWS API Reference> for PutRecord. module Network.AWS.Firehose.PutRecord     (     -- * Creating a Request@@ -86,7 +84,7 @@ import           Network.AWS.Request import           Network.AWS.Response --- | Contains the parameters for PutRecord.+-- | Contains the parameters for < PutRecord>. -- -- /See:/ 'putRecord' smart constructor. data PutRecord = PutRecord'@@ -128,6 +126,8 @@                  PutRecordResponse' <$>                    (pure (fromEnum s)) <*> (x .:> "RecordId")) +instance Hashable PutRecord+ instance ToHeaders PutRecord where         toHeaders           = const@@ -151,7 +151,7 @@ instance ToQuery PutRecord where         toQuery = const mempty --- | Contains the output of PutRecord.+-- | Contains the output of < PutRecord>. -- -- /See:/ 'putRecordResponse' smart constructor. data PutRecordResponse = PutRecordResponse'
gen/Network/AWS/Firehose/PutRecordBatch.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.Firehose.PutRecordBatch--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated@@ -21,24 +21,24 @@ -- Writes multiple data records into a delivery stream in a single call, -- which can achieve higher throughput per producer than when writing -- single records. To write single data records into a delivery stream, use--- PutRecord. Applications using these operations are referred to as+-- < PutRecord>. Applications using these operations are referred to as -- producers. ----- Each PutRecordBatch request supports up to 500 records. Each record in--- the request can be as large as 1,000 KB (before 64-bit encoding), up to--- a limit of 4 MB for the entire request. By default, each delivery stream--- can take in up to 2,000 transactions per second, 5,000 records per--- second, or 5 MB per second. Note that if you use PutRecord and--- PutRecordBatch, the limits are an aggregate across these two operations--- for each delivery stream. For more information about limits and how to--- request an increase, see+-- Each < PutRecordBatch> request supports up to 500 records. Each record+-- in the request can be as large as 1,000 KB (before 64-bit encoding), up+-- to a limit of 4 MB for the entire request. By default, each delivery+-- stream can take in up to 2,000 transactions per second, 5,000 records+-- per second, or 5 MB per second. Note that if you use < PutRecord> and+-- < PutRecordBatch>, the limits are an aggregate across these two+-- operations for each delivery stream. For more information about limits+-- and how to request an increase, see -- <http://docs.aws.amazon.com/firehose/latest/dev/limits.html Amazon Kinesis Firehose Limits>. -- -- You must specify the name of the delivery stream and the data record--- when using PutRecord. The data record consists of a data blob that can--- be up to 1,000 KB in size, and any kind of data, for example, a segment--- from a log file, geographic location data, web site clickstream data,--- and so on.+-- when using < PutRecord>. The data record consists of a data blob that+-- can be up to 1,000 KB in size, and any kind of data, for example, a+-- segment from a log file, geographic location data, web site clickstream+-- data, and so on. -- -- Amazon Kinesis Firehose buffers records before delivering them to the -- destination. To disambiguate the data blobs at the destination, a common@@ -47,7 +47,7 @@ -- application(s) to parse individual data items when reading the data from -- the destination. ----- The PutRecordBatch response includes a count of any failed records,+-- The < PutRecordBatch> response includes a count of any failed records, -- 'FailedPutCount', and an array of responses, 'RequestResponses'. The -- 'FailedPutCount' value is a count of records that failed. Each entry in -- the 'RequestResponses' array gives additional information of the@@ -57,7 +57,7 @@ -- includes the same number of records as the request array. -- 'RequestResponses' both successfully and unsuccessfully processed -- records. Amazon Kinesis Firehose attempts to process all records in each--- PutRecordBatch request. A single record failure does not stop the+-- < PutRecordBatch> request. A single record failure does not stop the -- processing of subsequent records. -- -- A successfully processed record includes a 'RecordId' value, which is a@@ -73,16 +73,15 @@ -- records that failed processing. This minimizes duplicate records and -- also reduces the total bytes sent (and corresponding charges). ----- If the PutRecordBatch operation throws a 'ServiceUnavailableException',--- back off and retry. If the exception persists, it is possible that the--- throughput limits have been exceeded for the delivery stream.+-- If the < PutRecordBatch> operation throws a+-- 'ServiceUnavailableException', back off and retry. If the exception+-- persists, it is possible that the throughput limits have been exceeded+-- for the delivery stream. -- -- Data records sent to Amazon Kinesis Firehose are stored for 24 hours -- from the time they are added to a delivery stream as it attempts to send -- the records to the destination. If the destination is unreachable for -- more than 24 hours, the data is no longer available.------ /See:/ <http://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html AWS API Reference> for PutRecordBatch. module Network.AWS.Firehose.PutRecordBatch     (     -- * Creating a Request@@ -108,7 +107,7 @@ import           Network.AWS.Request import           Network.AWS.Response --- | Contains the parameters for PutRecordBatch.+-- | Contains the parameters for < PutRecordBatch>. -- -- /See:/ 'putRecordBatch' smart constructor. data PutRecordBatch = PutRecordBatch'@@ -151,6 +150,8 @@                    (pure (fromEnum s)) <*> (x .:> "FailedPutCount") <*>                      (x .:> "RequestResponses")) +instance Hashable PutRecordBatch+ instance ToHeaders PutRecordBatch where         toHeaders           = const@@ -174,7 +175,7 @@ instance ToQuery PutRecordBatch where         toQuery = const mempty --- | Contains the output of PutRecordBatch.+-- | Contains the output of < PutRecordBatch>. -- -- /See:/ 'putRecordBatchResponse' smart constructor. data PutRecordBatchResponse = PutRecordBatchResponse'
gen/Network/AWS/Firehose/Types.hs view
@@ -4,7 +4,7 @@  -- | -- Module      : Network.AWS.Firehose.Types--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated@@ -176,6 +176,7 @@         , _retryCheck = check         }     check e+      | has (hasStatus 429) e = Just "too_many_requests"       | has (hasCode "ThrottlingException" . hasStatus 400) e =           Just "throttling_exception"       | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"
gen/Network/AWS/Firehose/Types/Product.hs view
@@ -9,7 +9,7 @@  -- | -- Module      : Network.AWS.Firehose.Types.Product--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated@@ -67,6 +67,8 @@                  BufferingHints' <$>                    (x .:? "SizeInMBs") <*> (x .:? "IntervalInSeconds")) +instance Hashable BufferingHints+ instance ToJSON BufferingHints where         toJSON BufferingHints'{..}           = object@@ -145,6 +147,8 @@                    (x .:? "CopyOptions") <*> (x .:? "DataTableColumns")                      <*> (x .: "DataTableName")) +instance Hashable CopyCommand+ instance ToJSON CopyCommand where         toJSON CopyCommand'{..}           = object@@ -225,7 +229,7 @@ dsdDeliveryStreamStatus :: Lens' DeliveryStreamDescription DeliveryStreamStatus dsdDeliveryStreamStatus = lens _dsdDeliveryStreamStatus (\ s a -> s{_dsdDeliveryStreamStatus = a}); --- | Used when calling the UpdateDestination operation. Each time the+-- | Used when calling the < UpdateDestination> operation. Each time the -- destination is updated for the delivery stream, the VersionId is -- changed, and the current VersionId is required when updating the -- destination. This is so that the service knows it is applying the@@ -255,6 +259,8 @@                      <*> (x .:? "Destinations" .!= mempty)                      <*> (x .: "HasMoreDestinations")) +instance Hashable DeliveryStreamDescription+ -- | Describes the destination for a delivery stream. -- -- /See:/ 'destinationDescription' smart constructor.@@ -304,6 +310,8 @@                      (x .:? "RedshiftDestinationDescription")                      <*> (x .: "DestinationId")) +instance Hashable DestinationDescription+ -- | Describes the encryption for a destination in Amazon S3. -- -- /See:/ 'encryptionConfiguration' smart constructor.@@ -344,6 +352,8 @@                    (x .:? "NoEncryptionConfig") <*>                      (x .:? "KMSEncryptionConfig")) +instance Hashable EncryptionConfiguration+ instance ToJSON EncryptionConfiguration where         toJSON EncryptionConfiguration'{..}           = object@@ -383,13 +393,15 @@               (\ x ->                  KMSEncryptionConfig' <$> (x .: "AWSKMSKeyARN")) +instance Hashable KMSEncryptionConfig+ instance ToJSON KMSEncryptionConfig where         toJSON KMSEncryptionConfig'{..}           = object               (catMaybes                  [Just ("AWSKMSKeyARN" .= _kecAWSKMSKeyARN)]) --- | Contains the result for an individual record from a PutRecordBatch+-- | Contains the result for an individual record from a < PutRecordBatch> -- request. If the record is successfully added to your delivery stream, it -- receives a record ID. If the record fails to be added to your delivery -- stream, the result includes an error code and an error message.@@ -439,6 +451,8 @@                    (x .:? "RecordId") <*> (x .:? "ErrorCode") <*>                      (x .:? "ErrorMessage")) +instance Hashable PutRecordBatchResponseEntry+ -- | The unit of data in a delivery stream. -- -- /See:/ 'record' smart constructor.@@ -470,6 +484,8 @@ rData :: Lens' Record ByteString rData = lens _rData (\ s a -> s{_rData = a}) . _Base64; +instance Hashable Record+ instance ToJSON Record where         toJSON Record'{..}           = object (catMaybes [Just ("Data" .= _rData)])@@ -541,7 +557,7 @@  -- | The S3 configuration for the intermediate location from which Amazon -- Redshift obtains data. Restrictions are described in the topic for--- CreateDeliveryStream.+-- < CreateDeliveryStream>. -- -- The compression formats 'SNAPPY' or 'ZIP' cannot be specified in -- 'RedshiftDestinationConfiguration.S3Configuration' because the Amazon@@ -550,6 +566,8 @@ rdcS3Configuration :: Lens' RedshiftDestinationConfiguration S3DestinationConfiguration rdcS3Configuration = lens _rdcS3Configuration (\ s a -> s{_rdcS3Configuration = a}); +instance Hashable RedshiftDestinationConfiguration+ instance ToJSON RedshiftDestinationConfiguration          where         toJSON RedshiftDestinationConfiguration'{..}@@ -633,6 +651,8 @@                      <*> (x .: "Username")                      <*> (x .: "S3DestinationDescription")) +instance Hashable RedshiftDestinationDescription+ -- | Describes an update for a destination in Amazon Redshift. -- -- /See:/ 'redshiftDestinationUpdate' smart constructor.@@ -701,6 +721,8 @@ rduRoleARN :: Lens' RedshiftDestinationUpdate (Maybe Text) rduRoleARN = lens _rduRoleARN (\ s a -> s{_rduRoleARN = a}); +instance Hashable RedshiftDestinationUpdate+ instance ToJSON RedshiftDestinationUpdate where         toJSON RedshiftDestinationUpdate'{..}           = object@@ -789,6 +811,8 @@ sdcBucketARN :: Lens' S3DestinationConfiguration Text sdcBucketARN = lens _sdcBucketARN (\ s a -> s{_sdcBucketARN = a}); +instance Hashable S3DestinationConfiguration+ instance ToJSON S3DestinationConfiguration where         toJSON S3DestinationConfiguration'{..}           = object@@ -888,6 +912,8 @@                      <*> (x .: "CompressionFormat")                      <*> (x .: "EncryptionConfiguration")) +instance Hashable S3DestinationDescription+ -- | Describes an update for a destination in Amazon S3. -- -- /See:/ 's3DestinationUpdate' smart constructor.@@ -962,6 +988,8 @@ -- | The ARN of the AWS credentials. sduRoleARN :: Lens' S3DestinationUpdate (Maybe Text) sduRoleARN = lens _sduRoleARN (\ s a -> s{_sduRoleARN = a});++instance Hashable S3DestinationUpdate  instance ToJSON S3DestinationUpdate where         toJSON S3DestinationUpdate'{..}
gen/Network/AWS/Firehose/Types/Sum.hs view
@@ -9,7 +9,7 @@  -- | -- Module      : Network.AWS.Firehose.Types.Sum--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated
gen/Network/AWS/Firehose/UpdateDestination.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.Firehose.UpdateDestination--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated@@ -30,13 +30,13 @@ -- effective within a few minutes. -- -- If the destination type is the same, Amazon Kinesis Firehose merges the--- configuration parameters specified in the UpdateDestination request with--- the destination configuration that already exists on the delivery+-- configuration parameters specified in the < UpdateDestination> request+-- with the destination configuration that already exists on the delivery -- stream. If any of the parameters are not specified in the update -- request, then the existing configuration parameters are retained. For--- example, in the Amazon S3 destination, if EncryptionConfiguration is not--- specified then the existing EncryptionConfiguration is maintained on the--- destination.+-- example, in the Amazon S3 destination, if < EncryptionConfiguration> is+-- not specified then the existing < EncryptionConfiguration> is maintained+-- on the destination. -- -- If the destination type is not the same, for example, changing the -- destination from Amazon S3 to Amazon Redshift, Amazon Kinesis Firehose@@ -48,11 +48,9 @@ -- in every request and the service only updates the configuration if the -- existing configuration matches the 'VersionId'. After the update is -- applied successfully, the 'VersionId' is updated, which can be retrieved--- with the DescribeDeliveryStream operation. The new 'VersionId' should be--- uses to set 'CurrentDeliveryStreamVersionId' in the next--- UpdateDestination operation.------ /See:/ <http://docs.aws.amazon.com/firehose/latest/APIReference/API_UpdateDestination.html AWS API Reference> for UpdateDestination.+-- with the < DescribeDeliveryStream> operation. The new 'VersionId' should+-- be uses to set 'CurrentDeliveryStreamVersionId' in the next+-- < UpdateDestination> operation. module Network.AWS.Firehose.UpdateDestination     (     -- * Creating a Request@@ -79,7 +77,7 @@ import           Network.AWS.Request import           Network.AWS.Response --- | Contains the parameters for UpdateDestination.+-- | Contains the parameters for < UpdateDestination>. -- -- /See:/ 'updateDestination' smart constructor. data UpdateDestination = UpdateDestination'@@ -130,9 +128,9 @@ udDeliveryStreamName = lens _udDeliveryStreamName (\ s a -> s{_udDeliveryStreamName = a});  -- | Obtain this value from the 'VersionId' result of the--- DeliveryStreamDescription operation. This value is required, and helps--- the service to perform conditional operations. For example, if there is--- a interleaving update and this value is null, then the update+-- < DeliveryStreamDescription> operation. This value is required, and+-- helps the service to perform conditional operations. For example, if+-- there is a interleaving update and this value is null, then the update -- destination fails. After the update is successful, the 'VersionId' value -- is updated. The service then performs a merge of the old configuration -- with the new configuration.@@ -151,6 +149,8 @@               (\ s h x ->                  UpdateDestinationResponse' <$> (pure (fromEnum s))) +instance Hashable UpdateDestination+ instance ToHeaders UpdateDestination where         toHeaders           = const@@ -181,7 +181,7 @@ instance ToQuery UpdateDestination where         toQuery = const mempty --- | Contains the output of UpdateDestination.+-- | Contains the output of < UpdateDestination>. -- -- /See:/ 'updateDestinationResponse' smart constructor. newtype UpdateDestinationResponse = UpdateDestinationResponse'
gen/Network/AWS/Firehose/Waiters.hs view
@@ -7,7 +7,7 @@  -- | -- Module      : Network.AWS.Firehose.Waiters--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated
test/Main.hs view
@@ -2,7 +2,7 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated
test/Test/AWS/Firehose.hs view
@@ -3,7 +3,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-}  -- Module      : Test.AWS.Firehose--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : This Source Code Form is subject to the terms of --               the Mozilla Public License, v. 2.0. --               A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/Firehose/Internal.hs view
@@ -3,7 +3,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-}  -- Module      : Test.AWS.Firehose.Internal--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : This Source Code Form is subject to the terms of --               the Mozilla Public License, v. 2.0. --               A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/Gen/Firehose.hs view
@@ -5,7 +5,7 @@  -- | -- Module      : Test.AWS.Gen.Firehose--- Copyright   : (c) 2013-2015 Brendan Hay+-- Copyright   : (c) 2013-2016 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated