packages feed

amazonka-elasticache 1.4.3 → 1.4.4

raw patch · 20 files changed

+332/−70 lines, 20 filesdep ~amazonka-coredep ~amazonka-elasticachedep ~amazonka-testPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core, amazonka-elasticache, amazonka-test

API changes (from Hackage documentation)

+ Network.AWS.ElastiCache: Immediate :: ChangeType
+ Network.AWS.ElastiCache: RequiresReboot :: ChangeType
+ Network.AWS.ElastiCache: cntspChangeType :: Lens' CacheNodeTypeSpecificParameter (Maybe ChangeType)
+ Network.AWS.ElastiCache: data ChangeType
+ Network.AWS.ElastiCache: pChangeType :: Lens' Parameter (Maybe ChangeType)
+ Network.AWS.ElastiCache.CopySnapshot: csTargetBucket :: Lens' CopySnapshot (Maybe Text)
+ Network.AWS.ElastiCache.Types: Immediate :: ChangeType
+ Network.AWS.ElastiCache.Types: RequiresReboot :: ChangeType
+ Network.AWS.ElastiCache.Types: cntspChangeType :: Lens' CacheNodeTypeSpecificParameter (Maybe ChangeType)
+ Network.AWS.ElastiCache.Types: data ChangeType
+ Network.AWS.ElastiCache.Types: pChangeType :: Lens' Parameter (Maybe ChangeType)

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`1.4.3`+`1.4.4`   ## Description
amazonka-elasticache.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-elasticache-version:               1.4.3+version:               1.4.4 synopsis:              Amazon ElastiCache SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -11,7 +11,7 @@ category:              Network, AWS, Cloud, Distributed Computing build-type:            Simple cabal-version:         >= 1.10-extra-source-files:    README.md fixture/*.yaml fixture/*.proto+extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep description:     Amazon ElastiCache @@ -93,7 +93,7 @@         , Network.AWS.ElastiCache.Types.Sum      build-depends:-          amazonka-core == 1.4.3.*+          amazonka-core == 1.4.4.*         , base          >= 4.7     && < 5  test-suite amazonka-elasticache-test@@ -113,9 +113,9 @@         , Test.AWS.ElastiCache.Internal      build-depends:-          amazonka-core == 1.4.3.*-        , amazonka-test == 1.4.3.*-        , amazonka-elasticache == 1.4.3.*+          amazonka-core == 1.4.4.*+        , amazonka-test == 1.4.4.*+        , amazonka-elasticache == 1.4.4.*         , base         , bytestring         , tasty
gen/Network/AWS/ElastiCache.hs view
@@ -292,6 +292,9 @@     -- ** AutomaticFailoverStatus     , AutomaticFailoverStatus (..) +    -- ** ChangeType+    , ChangeType (..)+     -- ** PendingAutomaticFailoverStatus     , PendingAutomaticFailoverStatus (..) @@ -360,6 +363,7 @@     , cntspAllowedValues     , cntspParameterName     , cntspDescription+    , cntspChangeType      -- ** CacheNodeTypeSpecificValue     , CacheNodeTypeSpecificValue@@ -479,6 +483,7 @@     , pAllowedValues     , pParameterName     , pDescription+    , pChangeType      -- ** ParameterNameValue     , ParameterNameValue
gen/Network/AWS/ElastiCache/AddTagsToResource.hs view
@@ -20,7 +20,7 @@ -- -- The /AddTagsToResource/ action adds up to 10 cost allocation tags to the named resource. A /cost allocation tag/ is a key-value pair where the key and value are case-sensitive. Cost allocation tags can be used to categorize and track your AWS costs. ----- When you apply tags to your ElastiCache resources, AWS generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Tagging.html Using Cost Allocation Tags in Amazon ElastiCache>.+-- When you apply tags to your ElastiCache resources, AWS generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Tagging.html Using Cost Allocation Tags in Amazon ElastiCache> in the /ElastiCache User Guide/. module Network.AWS.ElastiCache.AddTagsToResource     (     -- * Creating a Request
gen/Network/AWS/ElastiCache/CopySnapshot.hs view
@@ -19,12 +19,22 @@ -- Portability : non-portable (GHC extensions) -- -- The /CopySnapshot/ action makes a copy of an existing snapshot.+--+-- Users or groups that have permissions to use the /CopySnapshot/ API can create their own Amazon S3 buckets and copy snapshots to it. To control access to your snapshots, use an IAM policy to control who has the ability to use the /CopySnapshot/ API. For more information about using IAM to control the use of ElastiCache APIs, see <http://docs.aws.amazon.com/ElastiCache/latest/Snapshots.Exporting.html Exporting Snapshots> and <http://docs.aws.amazon.com/ElastiCache/latest/IAM.html Authentication & Access Control>.+--+-- __Erorr Message:__+--+-- -   __Error Message:__ The authenticated user does not have sufficient permissions to perform the desired activity.+--+--     __Solution:__ Contact your system administrator to get the needed permissions.+-- module Network.AWS.ElastiCache.CopySnapshot     (     -- * Creating a Request       copySnapshot     , CopySnapshot     -- * Request Lenses+    , csTargetBucket     , csSourceSnapshotName     , csTargetSnapshotName @@ -47,7 +57,8 @@ -- -- /See:/ 'copySnapshot' smart constructor. data CopySnapshot = CopySnapshot'-    { _csSourceSnapshotName :: !Text+    { _csTargetBucket       :: !(Maybe Text)+    , _csSourceSnapshotName :: !Text     , _csTargetSnapshotName :: !Text     } deriving (Eq,Read,Show,Data,Typeable,Generic) @@ -55,6 +66,8 @@ -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'csTargetBucket'+-- -- * 'csSourceSnapshotName' -- -- * 'csTargetSnapshotName'@@ -64,15 +77,65 @@     -> CopySnapshot copySnapshot pSourceSnapshotName_ pTargetSnapshotName_ =     CopySnapshot'-    { _csSourceSnapshotName = pSourceSnapshotName_+    { _csTargetBucket = Nothing+    , _csSourceSnapshotName = pSourceSnapshotName_     , _csTargetSnapshotName = pTargetSnapshotName_     } --- | The name of an existing snapshot from which to copy.+-- | The Amazon S3 bucket to which the snapshot will be exported. This parameter is used only when exporting a snapshot for external access.+--+-- When using this parameter to export a snapshot, be sure Amazon ElastiCache has the needed permissions to this S3 bucket. For more information, see <http://docs.aws.amazon.com/AmazonElastiCache/AmazonElastiCache/latest/UserGuide/Snapshots.Exporting.html#Snapshots.Exporting.GrantAccess Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket> in the /Amazon ElastiCache User Guide/.+--+-- __Error Messages:__+--+-- You could receive one of the following error messages.+--+-- __Erorr Messages__+--+-- -   __Error Message:__ ElastiCache has not been granted READ permissions %s on the S3 Bucket.+--+--     __Solution:__ Add List and Read permissions on the bucket.+--+-- -   __Error Message:__ ElastiCache has not been granted WRITE permissions %s on the S3 Bucket.+--+--     __Solution:__ Add Upload\/Delete permissions on the bucket.+--+-- -   __Error Message:__ ElastiCache has not been granted READ_ACP permissions %s on the S3 Bucket.+--+--     __Solution:__ Add View Permissions permissions on the bucket.+--+-- -   __Error Message:__ The S3 bucket %s is outside of the region.+--+--     __Solution:__ Before exporting your snapshot, create a new Amazon S3 bucket in the same region as your snapshot. For more information, see <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Snapshots.Exporting.html#Snapshots.Exporting.CreateBucket Step 1: Create an Amazon S3 Bucket>.+--+-- -   __Error Message:__ The S3 bucket %s does not exist.+--+--     __Solution:__ Create an Amazon S3 bucket in the same region as your snapshot. For more information, see <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Snapshots.Exporting.html#Snapshots.Exporting.CreateBucket Step 1: Create an Amazon S3 Bucket>.+--+-- -   __Error Message:__ The S3 bucket %s is not owned by the authenticated user.+--+--     __Solution:__ Create an Amazon S3 bucket in the same region as your snapshot. For more information, see <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Snapshots.Exporting.html#Snapshots.Exporting.CreateBucket Step 1: Create an Amazon S3 Bucket>.+--+-- -   __Error Message:__ The authenticated user does not have sufficient permissions to perform the desired activity.+--+--     __Solution:__ Contact your system administrator to get the needed permissions.+--+-- For more information, see <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Snapshots.Exporting.html Exporting a Snapshot> in the /Amazon ElastiCache User Guide/.+csTargetBucket :: Lens' CopySnapshot (Maybe Text)+csTargetBucket = lens _csTargetBucket (\ s a -> s{_csTargetBucket = a});++-- | The name of an existing snapshot from which to make a copy. csSourceSnapshotName :: Lens' CopySnapshot Text csSourceSnapshotName = lens _csSourceSnapshotName (\ s a -> s{_csSourceSnapshotName = a}); --- | A name for the copied snapshot.+-- | A name for the snapshot copy. ElastiCache does not permit overwriting a snapshot, therefore this name must be unique within its context - ElastiCache or an Amazon S3 bucket if exporting.+--+-- __Error Message__+--+-- -   __Error Message:__ The S3 bucket %s already contains an object with key %s.+--+--     __Solution:__ Give the /TargetSnapshotName/ a new and unique value. If exporting a snapshot, you could alternatively create a new Amazon S3 bucket and use this same value for /TargetSnapshotName/.+-- csTargetSnapshotName :: Lens' CopySnapshot Text csTargetSnapshotName = lens _csTargetSnapshotName (\ s a -> s{_csTargetSnapshotName = a}); @@ -100,6 +163,7 @@           = mconcat               ["Action" =: ("CopySnapshot" :: ByteString),                "Version" =: ("2015-02-02" :: ByteString),+               "TargetBucket" =: _csTargetBucket,                "SourceSnapshotName" =: _csSourceSnapshotName,                "TargetSnapshotName" =: _csTargetSnapshotName] 
gen/Network/AWS/ElastiCache/CreateCacheCluster.hs view
@@ -178,17 +178,25 @@ -- Valid node types are as follows: -- -- -   General purpose:+-- --     -   Current generation: 'cache.t2.micro', 'cache.t2.small', 'cache.t2.medium', 'cache.m3.medium', 'cache.m3.large', 'cache.m3.xlarge', 'cache.m3.2xlarge'+-- --     -   Previous generation: 'cache.t1.micro', 'cache.m1.small', 'cache.m1.medium', 'cache.m1.large', 'cache.m1.xlarge'+-- -- -   Compute optimized: 'cache.c1.xlarge'--- -   Memory optimized+--+-- -   Memory optimized:+-- --     -   Current generation: 'cache.r3.large', 'cache.r3.xlarge', 'cache.r3.2xlarge', 'cache.r3.4xlarge', 'cache.r3.8xlarge'+-- --     -   Previous generation: 'cache.m2.xlarge', 'cache.m2.2xlarge', 'cache.m2.4xlarge' -- -- __Notes:__ -- -- -   All t2 instances are created in an Amazon Virtual Private Cloud (VPC).+-- -- -   Redis backup\/restore is not supported for t2 instances.+-- -- -   Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances. -- -- For a complete listing of cache node types and specifications, see <http://aws.amazon.com/elasticache/details Amazon ElastiCache Product Features and Details> and <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#CacheParameterGroups.Memcached.NodeSpecific Cache Node Type-Specific Parameters for Memcached> or <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#CacheParameterGroups.Redis.NodeSpecific Cache Node Type-Specific Parameters for Redis>.@@ -203,7 +211,7 @@  -- | A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3. The snapshot file will be used to populate the node group. The Amazon S3 object name in the ARN cannot contain any commas. ----- __Note:__ This parameter is only valid if the 'Engine' parameter is 'redis'.+-- This parameter is only valid if the 'Engine' parameter is 'redis'. -- -- Example of an Amazon S3 ARN: 'arn:aws:s3:::my_bucket\/snapshot1.rdb' cccSnapshotARNs :: Lens' CreateCacheCluster [Text]@@ -256,11 +264,17 @@ -- | Specifies the weekly time range during which maintenance on the cache cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for 'ddd' are: -- -- -   'sun'+-- -- -   'mon'+-- -- -   'tue'+-- -- -   'wed'+-- -- -   'thu'+-- -- -   'fri'+-- -- -   'sat' -- -- Example: 'sun:05:00-sun:09:00'@@ -283,7 +297,7 @@  -- | The number of days for which ElastiCache will retain automatic snapshots before deleting them. For example, if you set 'SnapshotRetentionLimit' to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. ----- __Note:__ This parameter is only valid if the 'Engine' parameter is 'redis'.+-- This parameter is only valid if the 'Engine' parameter is 'redis'. -- -- Default: 0 (i.e., automatic backups are disabled for this cache cluster). cccSnapshotRetentionLimit :: Lens' CreateCacheCluster (Maybe Int)@@ -299,7 +313,7 @@  -- | The name of a snapshot from which to restore data into the new node group. The snapshot status changes to 'restoring' while the new node group is being created. ----- __Note:__ This parameter is only valid if the 'Engine' parameter is 'redis'.+-- This parameter is only valid if the 'Engine' parameter is 'redis'. cccSnapshotName :: Lens' CreateCacheCluster (Maybe Text) cccSnapshotName = lens _cccSnapshotName (\ s a -> s{_cccSnapshotName = a}); @@ -307,7 +321,7 @@ -- -- If the specified replication group is Multi-AZ enabled and the availability zone is not specified, the cache cluster will be created in availability zones that provide the best spread of read replicas across availability zones. ----- __Note:__ This parameter is only valid if the 'Engine' parameter is 'redis'.+-- This parameter is only valid if the 'Engine' parameter is 'redis'. cccReplicationGroupId :: Lens' CreateCacheCluster (Maybe Text) cccReplicationGroupId = lens _cccReplicationGroupId (\ s a -> s{_cccReplicationGroupId = a}); @@ -341,11 +355,14 @@  -- | The node group identifier. This parameter is stored as a lowercase string. ----- Constraints:+-- __Constraints:__ -- -- -   A name must contain from 1 to 20 alphanumeric characters or hyphens.+-- -- -   The first character must be a letter.+-- -- -   A name cannot end with a hyphen or contain two consecutive hyphens.+-- cccCacheClusterId :: Lens' CreateCacheCluster Text cccCacheClusterId = lens _cccCacheClusterId (\ s a -> s{_cccCacheClusterId = a}); 
gen/Network/AWS/ElastiCache/CreateReplicationGroup.hs view
@@ -22,7 +22,7 @@ -- -- When you create a replication group, you must specify an existing cache cluster that is in the primary role. When the replication group has been successfully created, you can add one or more read replica replicas to it, up to a total of five read replicas. ----- __Note:__ This action is valid only for Redis.+-- This action is valid only for Redis. module Network.AWS.ElastiCache.CreateReplicationGroup     (     -- * Creating a Request@@ -181,13 +181,15 @@ -- ElastiCache Multi-AZ replication groups is not supported on: -- -- -   Redis versions earlier than 2.8.6.+-- -- -   T1 and T2 cache node types.+-- crgAutomaticFailoverEnabled :: Lens' CreateReplicationGroup (Maybe Bool) crgAutomaticFailoverEnabled = lens _crgAutomaticFailoverEnabled (\ s a -> s{_crgAutomaticFailoverEnabled = a});  -- | The version number of the cache engine to be used for the cache clusters in this replication group. To view the supported cache engine versions, use the /DescribeCacheEngineVersions/ action. ----- __Important:__ You can upgrade to a newer engine version (see <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/SelectEngine.html#VersionManagement Selecting a Cache Engine and Version>), but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cache cluster or replication group and create it anew with the earlier engine version.+-- __Important:__ You can upgrade to a newer engine version (see <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/SelectEngine.html#VersionManagement Selecting a Cache Engine and Version>) in the /ElastiCache User Guide/, but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cache cluster or replication group and create it anew with the earlier engine version. crgEngineVersion :: Lens' CreateReplicationGroup (Maybe Text) crgEngineVersion = lens _crgEngineVersion (\ s a -> s{_crgEngineVersion = a}); @@ -196,17 +198,25 @@ -- Valid node types are as follows: -- -- -   General purpose:+-- --     -   Current generation: 'cache.t2.micro', 'cache.t2.small', 'cache.t2.medium', 'cache.m3.medium', 'cache.m3.large', 'cache.m3.xlarge', 'cache.m3.2xlarge'+-- --     -   Previous generation: 'cache.t1.micro', 'cache.m1.small', 'cache.m1.medium', 'cache.m1.large', 'cache.m1.xlarge'+-- -- -   Compute optimized: 'cache.c1.xlarge'--- -   Memory optimized+--+-- -   Memory optimized:+-- --     -   Current generation: 'cache.r3.large', 'cache.r3.xlarge', 'cache.r3.2xlarge', 'cache.r3.4xlarge', 'cache.r3.8xlarge'+-- --     -   Previous generation: 'cache.m2.xlarge', 'cache.m2.2xlarge', 'cache.m2.4xlarge' -- -- __Notes:__ -- -- -   All t2 instances are created in an Amazon Virtual Private Cloud (VPC).+-- -- -   Redis backup\/restore is not supported for t2 instances.+-- -- -   Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances. -- -- For a complete listing of cache node types and specifications, see <http://aws.amazon.com/elasticache/details Amazon ElastiCache Product Features and Details> and <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#CacheParameterGroups.Memcached.NodeSpecific Cache Node Type-Specific Parameters for Memcached> or <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#CacheParameterGroups.Redis.NodeSpecific Cache Node Type-Specific Parameters for Redis>.@@ -221,7 +231,7 @@  -- | A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3. The snapshot file will be used to populate the node group. The Amazon S3 object name in the ARN cannot contain any commas. ----- __Note:__ This parameter is only valid if the 'Engine' parameter is 'redis'.+-- This parameter is only valid if the 'Engine' parameter is 'redis'. -- -- Example of an Amazon S3 ARN: 'arn:aws:s3:::my_bucket\/snapshot1.rdb' crgSnapshotARNs :: Lens' CreateReplicationGroup [Text]@@ -241,7 +251,7 @@ -- -- If you do not specify this parameter, then ElastiCache will automatically choose an appropriate time range. ----- __Note:__ This parameter is only valid if the 'Engine' parameter is 'redis'.+-- This parameter is only valid if the 'Engine' parameter is 'redis'. crgSnapshotWindow :: Lens' CreateReplicationGroup (Maybe Text) crgSnapshotWindow = lens _crgSnapshotWindow (\ s a -> s{_crgSnapshotWindow = a}); @@ -260,11 +270,17 @@ -- | Specifies the weekly time range during which maintenance on the cache cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for 'ddd' are: -- -- -   'sun'+-- -- -   'mon'+-- -- -   'tue'+-- -- -   'wed'+-- -- -   'thu'+-- -- -   'fri'+-- -- -   'sat' -- -- Example: 'sun:05:00-sun:09:00'@@ -277,7 +293,7 @@  -- | The number of days for which ElastiCache will retain automatic snapshots before deleting them. For example, if you set 'SnapshotRetentionLimit' to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. ----- __Note:__ This parameter is only valid if the 'Engine' parameter is 'redis'.+-- This parameter is only valid if the 'Engine' parameter is 'redis'. -- -- Default: 0 (i.e., automatic backups are disabled for this cache cluster). crgSnapshotRetentionLimit :: Lens' CreateReplicationGroup (Maybe Int)@@ -299,13 +315,15 @@ -- -- Default: system chosen availability zones. ----- Example: One Redis cache cluster in each of three availability zones. PreferredAvailabilityZones.member.1=us-west-2a PreferredAvailabilityZones.member.2=us-west-2c PreferredAvailabilityZones.member.3=us-west-2c+-- Example: One Redis cache cluster in each of three availability zones.+--+-- 'PreferredAvailabilityZones.member.1=us-west-2a PreferredAvailabilityZones.member.2=us-west-2c PreferredAvailabilityZones.member.3=us-west-2c' crgPreferredCacheClusterAZs :: Lens' CreateReplicationGroup [Text] crgPreferredCacheClusterAZs = lens _crgPreferredCacheClusterAZs (\ s a -> s{_crgPreferredCacheClusterAZs = a}) . _Default . _Coerce;  -- | The name of a snapshot from which to restore data into the new node group. The snapshot status changes to 'restoring' while the new node group is being created. ----- __Note:__ This parameter is only valid if the 'Engine' parameter is 'redis'.+-- This parameter is only valid if the 'Engine' parameter is 'redis'. crgSnapshotName :: Lens' CreateReplicationGroup (Maybe Text) crgSnapshotName = lens _crgSnapshotName (\ s a -> s{_crgSnapshotName = a}); @@ -332,8 +350,11 @@ -- Constraints: -- -- -   A name must contain from 1 to 20 alphanumeric characters or hyphens.+-- -- -   The first character must be a letter.+-- -- -   A name cannot end with a hyphen or contain two consecutive hyphens.+-- crgReplicationGroupId :: Lens' CreateReplicationGroup Text crgReplicationGroupId = lens _crgReplicationGroupId (\ s a -> s{_crgReplicationGroupId = a}); 
gen/Network/AWS/ElastiCache/DescribeCacheEngineVersions.hs view
@@ -101,8 +101,11 @@ -- Constraints: -- -- -   Must be 1 to 255 alphanumeric characters+-- -- -   First character must be a letter+-- -- -   Cannot end with a hyphen or contain two consecutive hyphens+-- dcevCacheParameterGroupFamily :: Lens' DescribeCacheEngineVersions (Maybe Text) dcevCacheParameterGroupFamily = lens _dcevCacheParameterGroupFamily (\ s a -> s{_dcevCacheParameterGroupFamily = a}); 
gen/Network/AWS/ElastiCache/DescribeCacheParameters.hs view
@@ -86,7 +86,7 @@ dcpMarker :: Lens' DescribeCacheParameters (Maybe Text) dcpMarker = lens _dcpMarker (\ s a -> s{_dcpMarker = a}); --- | The maximum number of records to include in the response. If more records exist than the specified 'MaxRecords' value, a marker is included in the response so that the remaining results can be retrieved.+-- | The maximum number of brecords to include in the response. If more records exist than the specified 'MaxRecords' value, a marker is included in the response so that the remaining results can be retrieved. -- -- Default: 100 --
gen/Network/AWS/ElastiCache/DescribeReservedCacheNodes.hs view
@@ -105,17 +105,25 @@ -- Valid node types are as follows: -- -- -   General purpose:+-- --     -   Current generation: 'cache.t2.micro', 'cache.t2.small', 'cache.t2.medium', 'cache.m3.medium', 'cache.m3.large', 'cache.m3.xlarge', 'cache.m3.2xlarge'+-- --     -   Previous generation: 'cache.t1.micro', 'cache.m1.small', 'cache.m1.medium', 'cache.m1.large', 'cache.m1.xlarge'+-- -- -   Compute optimized: 'cache.c1.xlarge'--- -   Memory optimized+--+-- -   Memory optimized:+-- --     -   Current generation: 'cache.r3.large', 'cache.r3.xlarge', 'cache.r3.2xlarge', 'cache.r3.4xlarge', 'cache.r3.8xlarge'+-- --     -   Previous generation: 'cache.m2.xlarge', 'cache.m2.2xlarge', 'cache.m2.4xlarge' -- -- __Notes:__ -- -- -   All t2 instances are created in an Amazon Virtual Private Cloud (VPC).+-- -- -   Redis backup\/restore is not supported for t2 instances.+-- -- -   Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances. -- -- For a complete listing of cache node types and specifications, see <http://aws.amazon.com/elasticache/details Amazon ElastiCache Product Features and Details> and <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#CacheParameterGroups.Memcached.NodeSpecific Cache Node Type-Specific Parameters for Memcached> or <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#CacheParameterGroups.Redis.NodeSpecific Cache Node Type-Specific Parameters for Redis>.
gen/Network/AWS/ElastiCache/DescribeReservedCacheNodesOfferings.hs view
@@ -100,17 +100,25 @@ -- Valid node types are as follows: -- -- -   General purpose:+-- --     -   Current generation: 'cache.t2.micro', 'cache.t2.small', 'cache.t2.medium', 'cache.m3.medium', 'cache.m3.large', 'cache.m3.xlarge', 'cache.m3.2xlarge'+-- --     -   Previous generation: 'cache.t1.micro', 'cache.m1.small', 'cache.m1.medium', 'cache.m1.large', 'cache.m1.xlarge'+-- -- -   Compute optimized: 'cache.c1.xlarge'--- -   Memory optimized+--+-- -   Memory optimized:+-- --     -   Current generation: 'cache.r3.large', 'cache.r3.xlarge', 'cache.r3.2xlarge', 'cache.r3.4xlarge', 'cache.r3.8xlarge'+-- --     -   Previous generation: 'cache.m2.xlarge', 'cache.m2.2xlarge', 'cache.m2.4xlarge' -- -- __Notes:__ -- -- -   All t2 instances are created in an Amazon Virtual Private Cloud (VPC).+-- -- -   Redis backup\/restore is not supported for t2 instances.+-- -- -   Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances. -- -- For a complete listing of cache node types and specifications, see <http://aws.amazon.com/elasticache/details Amazon ElastiCache Product Features and Details> and <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#CacheParameterGroups.Memcached.NodeSpecific Cache Node Type-Specific Parameters for Memcached> or <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#CacheParameterGroups.Redis.NodeSpecific Cache Node Type-Specific Parameters for Redis>.
gen/Network/AWS/ElastiCache/ListAllowedNodeTypeModifications.hs view
@@ -70,14 +70,12 @@  -- | The name of the cache cluster you want to scale up to a larger node instanced type. ElastiCache uses the cluster id to identify the current node type of this cluster and from that to to create a list of node types you can scale up to. ----- __Important:__ -- You must provide a value for either the /CacheClusterId/ or the /ReplicationGroupId/. lantmCacheClusterId :: Lens' ListAllowedNodeTypeModifications (Maybe Text) lantmCacheClusterId = lens _lantmCacheClusterId (\ s a -> s{_lantmCacheClusterId = a});  -- | The name of the replication group want to scale up to a larger node type. ElastiCache uses the replication group id to identify the current node type being used by this replication group, and from that to create a list of node types you can scale up to. ----- __Important:__ -- You must provide a value for either the /CacheClusterId/ or the /ReplicationGroupId/. lantmReplicationGroupId :: Lens' ListAllowedNodeTypeModifications (Maybe Text) lantmReplicationGroupId = lens _lantmReplicationGroupId (\ s a -> s{_lantmReplicationGroupId = a});
gen/Network/AWS/ElastiCache/ModifyCacheCluster.hs view
@@ -178,13 +178,12 @@ -- -- Scenarios: ----- -   __Scenario 1:__ You have 3 active nodes and wish to add 2 nodes.---     Specify 'NumCacheNodes=5' (3 + 2) and optionally specify two Availability Zones for the two new nodes.--- -   __Scenario 2:__ You have 3 active nodes and 2 nodes pending creation (from the scenario 1 call) and want to add 1 more node.---     Specify 'NumCacheNodes=6' ((3 + 2) + 1)--- -   __Scenario 3:__ You want to cancel all pending actions.---     Specify 'NumCacheNodes=3' to cancel all pending actions.+-- -   __Scenario 1:__ You have 3 active nodes and wish to add 2 nodes. Specify 'NumCacheNodes=5' (3 + 2) and optionally specify two Availability Zones for the two new nodes. --+-- -   __Scenario 2:__ You have 3 active nodes and 2 nodes pending creation (from the scenario 1 call) and want to add 1 more node. Specify 'NumCacheNodes=6' ((3 + 2) + 1) and optionally specify an Availability Zone for the new node.+--+-- -   __Scenario 3:__ You want to cancel all pending actions. Specify 'NumCacheNodes=3' to cancel all pending actions.+-- -- The Availability Zone placement of nodes pending creation cannot be modified. If you wish to cancel any nodes pending creation, add 0 nodes by setting 'NumCacheNodes' to the number of current nodes. -- -- If 'cross-az' is specified, existing Memcached nodes remain in their current Availability Zone. Only newly created nodes can be located in different Availability Zones. For guidance on how to move existing Memcached nodes to different Availability Zones, see the __Availability Zone Considerations__ section of <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheNode.Memcached.html Cache Node Considerations for Memcached>.@@ -192,36 +191,59 @@ -- __Impact of new add\/remove requests upon pending requests__ -- -- -   Scenario-1+-- --     -   Pending Action: Delete+-- --     -   New Request: Delete+-- --     -   Result: The new delete, pending or immediate, replaces the pending delete.+-- -- -   Scenario-2+-- --     -   Pending Action: Delete+-- --     -   New Request: Create+-- --     -   Result: The new create, pending or immediate, replaces the pending delete.+-- -- -   Scenario-3+-- --     -   Pending Action: Create+-- --     -   New Request: Delete+-- --     -   Result: The new delete, pending or immediate, replaces the pending create.+-- -- -   Scenario-4+-- --     -   Pending Action: Create+-- --     -   New Request: Create---     -   Result: The new create is added to the pending create. __Important:__---         If the new create request is __Apply Immediately - Yes__, all creates are performed immediately.---         If the new create request is __Apply Immediately - No__, all creates are pending. ----- Example: 'NewAvailabilityZones.member.1=us-west-2a&amp;NewAvailabilityZones.member.2=us-west-2b&amp;NewAvailabilityZones.member.3=us-west-2c'+--     -   Result: The new create is added to the pending create.+--+--         __Important:__ If the new create request is __Apply Immediately - Yes__, all creates are performed immediately. If the new create request is __Apply Immediately - No__, all creates are pending.+--+-- Example:+--+-- 'NewAvailabilityZones.member.1=us-west-2a&amp;NewAvailabilityZones.member.2=us-west-2b&amp;NewAvailabilityZones.member.3=us-west-2c' mccNewAvailabilityZones :: Lens' ModifyCacheCluster [Text] mccNewAvailabilityZones = lens _mccNewAvailabilityZones (\ s a -> s{_mccNewAvailabilityZones = a}) . _Default . _Coerce;  -- | Specifies the weekly time range during which maintenance on the cache cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for 'ddd' are: -- -- -   'sun'+-- -- -   'mon'+-- -- -   'tue'+-- -- -   'wed'+-- -- -   'thu'+-- -- -   'fri'+-- -- -   'sat' -- -- Example: 'sun:05:00-sun:09:00'@@ -236,7 +258,6 @@  -- | The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set /SnapshotRetentionLimit/ to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. ----- __Important__ -- If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. mccSnapshotRetentionLimit :: Lens' ModifyCacheCluster (Maybe Int) mccSnapshotRetentionLimit = lens _mccSnapshotRetentionLimit (\ s a -> s{_mccSnapshotRetentionLimit = a});@@ -283,8 +304,8 @@ -- -- For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20. ----- __Note:__ -- Adding or removing Memcached cache nodes can be applied immediately or as a pending action. See 'ApplyImmediately'.+-- -- A pending action to modify the number of cache nodes in a cluster during its maintenance window, whether by adding or removing nodes in accordance with the scale out architecture, is not queued. The customer\'s latest request to add or remove nodes to the cluster overrides any previous pending actions to modify the number of cache nodes in the cluster. For example, a request to remove 2 nodes would override a previous pending action to remove 3 nodes. Similarly, a request to add 2 nodes would override a previous pending action to remove 3 nodes and vice versa. As Memcached cache nodes may now be provisioned in different Availability Zones with flexible cache node placement, a request to add nodes does not automatically override a previous pending action to add nodes. The customer can modify the previous pending action to add more nodes or explicitly cancel the pending request and retry the new request. To cancel pending actions to modify the number of cache nodes in a cluster, use the 'ModifyCacheCluster' request and set /NumCacheNodes/ equal to the number of cache nodes currently in the cache cluster. mccNumCacheNodes :: Lens' ModifyCacheCluster (Maybe Int) mccNumCacheNodes = lens _mccNumCacheNodes (\ s a -> s{_mccNumCacheNodes = a});
gen/Network/AWS/ElastiCache/ModifyReplicationGroup.hs view
@@ -149,7 +149,9 @@ -- ElastiCache Multi-AZ replication groups are not supported on: -- -- -   Redis versions earlier than 2.8.6.+-- -- -   T1 and T2 cache node types.+-- mrgAutomaticFailoverEnabled :: Lens' ModifyReplicationGroup (Maybe Bool) mrgAutomaticFailoverEnabled = lens _mrgAutomaticFailoverEnabled (\ s a -> s{_mrgAutomaticFailoverEnabled = a}); @@ -200,11 +202,17 @@ -- | Specifies the weekly time range during which maintenance on the cache cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for 'ddd' are: -- -- -   'sun'+-- -- -   'mon'+-- -- -   'tue'+-- -- -   'wed'+-- -- -   'thu'+-- -- -   'fri'+-- -- -   'sat' -- -- Example: 'sun:05:00-sun:09:00'@@ -213,8 +221,7 @@  -- | The number of days for which ElastiCache will retain automatic node group snapshots before deleting them. For example, if you set /SnapshotRetentionLimit/ to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. ----- __Important__--- If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.+-- __Important__ If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. mrgSnapshotRetentionLimit :: Lens' ModifyReplicationGroup (Maybe Int) mrgSnapshotRetentionLimit = lens _mrgSnapshotRetentionLimit (\ s a -> s{_mrgSnapshotRetentionLimit = a}); 
gen/Network/AWS/ElastiCache/PurchaseReservedCacheNodesOffering.hs view
@@ -80,7 +80,6 @@  -- | A customer-specified identifier to track this reservation. ----- __Note:__ -- The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation. -- -- Example: myreservationID@@ -89,7 +88,7 @@  -- | The ID of the reserved cache node offering to purchase. ----- Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706+-- Example: '438012d3-4052-4cc7-b2e3-8d3372e0e706' prcnoReservedCacheNodesOfferingId :: Lens' PurchaseReservedCacheNodesOffering Text prcnoReservedCacheNodesOfferingId = lens _prcnoReservedCacheNodesOfferingId (\ s a -> s{_prcnoReservedCacheNodesOfferingId = a}); 
gen/Network/AWS/ElastiCache/ResetCacheParameterGroup.hs view
@@ -26,8 +26,8 @@     , ResetCacheParameterGroup     -- * Request Lenses     , rcpgResetAllParameters-    , rcpgCacheParameterGroupName     , rcpgParameterNameValues+    , rcpgCacheParameterGroupName      -- * Destructuring the Response     , cacheParameterGroupNameMessage@@ -48,8 +48,8 @@ -- /See:/ 'resetCacheParameterGroup' smart constructor. data ResetCacheParameterGroup = ResetCacheParameterGroup'     { _rcpgResetAllParameters      :: !(Maybe Bool)+    , _rcpgParameterNameValues     :: !(Maybe [ParameterNameValue])     , _rcpgCacheParameterGroupName :: !Text-    , _rcpgParameterNameValues     :: ![ParameterNameValue]     } deriving (Eq,Read,Show,Data,Typeable,Generic)  -- | Creates a value of 'ResetCacheParameterGroup' with the minimum fields required to make a request.@@ -58,33 +58,33 @@ -- -- * 'rcpgResetAllParameters' ----- * 'rcpgCacheParameterGroupName'--- -- * 'rcpgParameterNameValues'+--+-- * 'rcpgCacheParameterGroupName' resetCacheParameterGroup     :: Text -- ^ 'rcpgCacheParameterGroupName'     -> ResetCacheParameterGroup resetCacheParameterGroup pCacheParameterGroupName_ =     ResetCacheParameterGroup'     { _rcpgResetAllParameters = Nothing+    , _rcpgParameterNameValues = Nothing     , _rcpgCacheParameterGroupName = pCacheParameterGroupName_-    , _rcpgParameterNameValues = mempty     } --- | If /true/, all parameters in the cache parameter group will be reset to default values. If /false/, no such action occurs.+-- | If /true/, all parameters in the cache parameter group will be reset to their default values. If /false/, only the parameters listed by /ParameterNameValues/ are reset to their default values. -- -- Valid values: 'true' | 'false' rcpgResetAllParameters :: Lens' ResetCacheParameterGroup (Maybe Bool) rcpgResetAllParameters = lens _rcpgResetAllParameters (\ s a -> s{_rcpgResetAllParameters = a}); +-- | An array of parameter names to reset to their default values. If /ResetAllParameters/ is /false/, you must specify the name of at least one parameter to reset.+rcpgParameterNameValues :: Lens' ResetCacheParameterGroup [ParameterNameValue]+rcpgParameterNameValues = lens _rcpgParameterNameValues (\ s a -> s{_rcpgParameterNameValues = a}) . _Default . _Coerce;+ -- | The name of the cache parameter group to reset. rcpgCacheParameterGroupName :: Lens' ResetCacheParameterGroup Text rcpgCacheParameterGroupName = lens _rcpgCacheParameterGroupName (\ s a -> s{_rcpgCacheParameterGroupName = a}); --- | An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.-rcpgParameterNameValues :: Lens' ResetCacheParameterGroup [ParameterNameValue]-rcpgParameterNameValues = lens _rcpgParameterNameValues (\ s a -> s{_rcpgParameterNameValues = a}) . _Coerce;- instance AWSRequest ResetCacheParameterGroup where         type Rs ResetCacheParameterGroup =              CacheParameterGroupNameMessage@@ -110,8 +110,9 @@                  ("ResetCacheParameterGroup" :: ByteString),                "Version" =: ("2015-02-02" :: ByteString),                "ResetAllParameters" =: _rcpgResetAllParameters,-               "CacheParameterGroupName" =:-                 _rcpgCacheParameterGroupName,                "ParameterNameValues" =:-                 toQueryList "ParameterNameValue"-                   _rcpgParameterNameValues]+                 toQuery+                   (toQueryList "ParameterNameValue" <$>+                      _rcpgParameterNameValues),+               "CacheParameterGroupName" =:+                 _rcpgCacheParameterGroupName]
gen/Network/AWS/ElastiCache/Types.hs view
@@ -65,6 +65,9 @@     -- * AutomaticFailoverStatus     , AutomaticFailoverStatus (..) +    -- * ChangeType+    , ChangeType (..)+     -- * PendingAutomaticFailoverStatus     , PendingAutomaticFailoverStatus (..) @@ -133,6 +136,7 @@     , cntspAllowedValues     , cntspParameterName     , cntspDescription+    , cntspChangeType      -- * CacheNodeTypeSpecificValue     , CacheNodeTypeSpecificValue@@ -252,6 +256,7 @@     , pAllowedValues     , pParameterName     , pDescription+    , pChangeType      -- * ParameterNameValue     , ParameterNameValue
gen/Network/AWS/ElastiCache/Types/Product.hs view
@@ -163,17 +163,25 @@ -- Valid node types are as follows: -- -- -   General purpose:+-- --     -   Current generation: 'cache.t2.micro', 'cache.t2.small', 'cache.t2.medium', 'cache.m3.medium', 'cache.m3.large', 'cache.m3.xlarge', 'cache.m3.2xlarge'+-- --     -   Previous generation: 'cache.t1.micro', 'cache.m1.small', 'cache.m1.medium', 'cache.m1.large', 'cache.m1.xlarge'+-- -- -   Compute optimized: 'cache.c1.xlarge'--- -   Memory optimized+--+-- -   Memory optimized:+-- --     -   Current generation: 'cache.r3.large', 'cache.r3.xlarge', 'cache.r3.2xlarge', 'cache.r3.4xlarge', 'cache.r3.8xlarge'+-- --     -   Previous generation: 'cache.m2.xlarge', 'cache.m2.2xlarge', 'cache.m2.4xlarge' -- -- __Notes:__ -- -- -   All t2 instances are created in an Amazon Virtual Private Cloud (VPC).+-- -- -   Redis backup\/restore is not supported for t2 instances.+-- -- -   Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances. -- -- For a complete listing of cache node types and specifications, see <http://aws.amazon.com/elasticache/details Amazon ElastiCache Product Features and Details> and <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#CacheParameterGroups.Memcached.NodeSpecific Cache Node Type-Specific Parameters for Memcached> or <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#CacheParameterGroups.Redis.NodeSpecific Cache Node Type-Specific Parameters for Redis>.@@ -229,11 +237,17 @@ -- | Specifies the weekly time range during which maintenance on the cache cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for 'ddd' are: -- -- -   'sun'+-- -- -   'mon'+-- -- -   'tue'+-- -- -   'wed'+-- -- -   'thu'+-- -- -   'fri'+-- -- -   'sat' -- -- Example: 'sun:05:00-sun:09:00'@@ -258,7 +272,6 @@  -- | The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set /SnapshotRetentionLimit/ to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. ----- __Important__ -- If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. ccSnapshotRetentionLimit :: Lens' CacheCluster (Maybe Int) ccSnapshotRetentionLimit = lens _ccSnapshotRetentionLimit (\ s a -> s{_ccSnapshotRetentionLimit = a});@@ -385,20 +398,28 @@ -- Valid node types are as follows: -- -- -   General purpose:+-- --     -   Current generation: 'cache.t2.micro', 'cache.t2.small', 'cache.t2.medium', 'cache.m3.medium', 'cache.m3.large', 'cache.m3.xlarge', 'cache.m3.2xlarge'+-- --     -   Previous generation: 'cache.t1.micro', 'cache.m1.small', 'cache.m1.medium', 'cache.m1.large', 'cache.m1.xlarge'+-- -- -   Compute optimized: 'cache.c1.xlarge'--- -   Memory optimized+--+-- -   Memory optimized:+-- --     -   Current generation: 'cache.r3.large', 'cache.r3.xlarge', 'cache.r3.2xlarge', 'cache.r3.4xlarge', 'cache.r3.8xlarge'+-- --     -   Previous generation: 'cache.m2.xlarge', 'cache.m2.2xlarge', 'cache.m2.4xlarge' -- -- __Notes:__ -- -- -   All t2 instances are created in an Amazon Virtual Private Cloud (VPC).+-- -- -   Redis backup\/restore is not supported for t2 instances.+-- -- -   Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances. ----- For a complete listing of cache node types and specifications, see <http://aws.amazon.com/elasticache/details Amazon ElastiCache Product Features and Details> and <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#CacheParameterGroups.Memcached.NodeSpecific Cache Node Type-Specific Parameters for Memcached> or <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#CacheParameterGroups.Redis.NodeSpecific Cache Node Type-Specific Parameters for Redis>.+-- For a complete listing of cache node types and specifications, see <http://aws.amazon.com/elasticache/details Amazon ElastiCache Product Features and Details> and either <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#CacheParameterGroups.Memcached.NodeSpecific Cache Node Type-Specific Parameters for Memcached> or <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#CacheParameterGroups.Redis.NodeSpecific Cache Node Type-Specific Parameters for Redis>. -- -- /See:/ 'cacheNode' smart constructor. data CacheNode = CacheNode'@@ -496,6 +517,7 @@     , _cntspAllowedValues               :: !(Maybe Text)     , _cntspParameterName               :: !(Maybe Text)     , _cntspDescription                 :: !(Maybe Text)+    , _cntspChangeType                  :: !(Maybe ChangeType)     } deriving (Eq,Read,Show,Data,Typeable,Generic)  -- | Creates a value of 'CacheNodeTypeSpecificParameter' with the minimum fields required to make a request.@@ -517,6 +539,8 @@ -- * 'cntspParameterName' -- -- * 'cntspDescription'+--+-- * 'cntspChangeType' cacheNodeTypeSpecificParameter     :: CacheNodeTypeSpecificParameter cacheNodeTypeSpecificParameter =@@ -529,6 +553,7 @@     , _cntspAllowedValues = Nothing     , _cntspParameterName = Nothing     , _cntspDescription = Nothing+    , _cntspChangeType = Nothing     }  -- | A list of cache node types and their corresponding values for this parameter.@@ -563,6 +588,10 @@ cntspDescription :: Lens' CacheNodeTypeSpecificParameter (Maybe Text) cntspDescription = lens _cntspDescription (\ s a -> s{_cntspDescription = a}); +-- | ChangeType indicates whether a change to the parameter will be applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window\'s reboot. For more information, see <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Clusters.Rebooting.html Rebooting a Cluster>.+cntspChangeType :: Lens' CacheNodeTypeSpecificParameter (Maybe ChangeType)+cntspChangeType = lens _cntspChangeType (\ s a -> s{_cntspChangeType = a});+ instance FromXML CacheNodeTypeSpecificParameter where         parseXML x           = CacheNodeTypeSpecificParameter' <$>@@ -575,6 +604,7 @@                 <*> (x .@? "AllowedValues")                 <*> (x .@? "ParameterName")                 <*> (x .@? "Description")+                <*> (x .@? "ChangeType")  instance Hashable CacheNodeTypeSpecificParameter @@ -673,8 +703,10 @@ -- | Represents the output of one of the following actions: -- -- -   /ModifyCacheParameterGroup/+-- -- -   /ResetCacheParameterGroup/ --+-- -- /See:/ 'cacheParameterGroupNameMessage' smart constructor. newtype CacheParameterGroupNameMessage = CacheParameterGroupNameMessage'     { _cpgnmCacheParameterGroupName :: Maybe Text@@ -759,9 +791,12 @@ -- | Represents the output of one of the following actions: -- -- -   /AuthorizeCacheSecurityGroupIngress/+-- -- -   /CreateCacheSecurityGroup/+-- -- -   /RevokeCacheSecurityGroupIngress/ --+-- -- /See:/ 'cacheSecurityGroup' smart constructor. data CacheSecurityGroup = CacheSecurityGroup'     { _csgCacheSecurityGroupName :: !(Maybe Text)@@ -864,8 +899,10 @@ -- | Represents the output of one of the following actions: -- -- -   /CreateCacheSubnetGroup/+-- -- -   /ModifyCacheSubnetGroup/ --+-- -- /See:/ 'cacheSubnetGroup' smart constructor. data CacheSubnetGroup = CacheSubnetGroup'     { _csgVPCId                       :: !(Maybe Text)@@ -1371,6 +1408,7 @@     , _pAllowedValues        :: !(Maybe Text)     , _pParameterName        :: !(Maybe Text)     , _pDescription          :: !(Maybe Text)+    , _pChangeType           :: !(Maybe ChangeType)     } deriving (Eq,Read,Show,Data,Typeable,Generic)  -- | Creates a value of 'Parameter' with the minimum fields required to make a request.@@ -1392,6 +1430,8 @@ -- * 'pParameterName' -- -- * 'pDescription'+--+-- * 'pChangeType' parameter     :: Parameter parameter =@@ -1404,6 +1444,7 @@     , _pAllowedValues = Nothing     , _pParameterName = Nothing     , _pDescription = Nothing+    , _pChangeType = Nothing     }  -- | The value of the parameter.@@ -1438,6 +1479,10 @@ pDescription :: Lens' Parameter (Maybe Text) pDescription = lens _pDescription (\ s a -> s{_pDescription = a}); +-- | ChangeType indicates whether a change to the parameter will be applied immediately or requires a reboot for the change to be applied. You can force a reboot or wait until the next maintenance window\'s reboot. For more information, see <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Clusters.Rebooting.html Rebooting a Cluster>.+pChangeType :: Lens' Parameter (Maybe ChangeType)+pChangeType = lens _pChangeType (\ s a -> s{_pChangeType = a});+ instance FromXML Parameter where         parseXML x           = Parameter' <$>@@ -1449,6 +1494,7 @@                 <*> (x .@? "AllowedValues")                 <*> (x .@? "ParameterName")                 <*> (x .@? "Description")+                <*> (x .@? "ChangeType")  instance Hashable Parameter @@ -1678,7 +1724,9 @@ -- ElastiCache Multi-AZ replication groups are not supported on: -- -- -   Redis versions earlier than 2.8.6.+-- -- -   T1 and T2 cache node types.+-- rgAutomaticFailover :: Lens' ReplicationGroup (Maybe AutomaticFailoverStatus) rgAutomaticFailover = lens _rgAutomaticFailover (\ s a -> s{_rgAutomaticFailover = a}); @@ -1733,7 +1781,9 @@ -- ElastiCache Multi-AZ replication groups are not supported on: -- -- -   Redis versions earlier than 2.8.6.+-- -- -   T1 and T2 cache node types.+-- rgpmvAutomaticFailoverStatus :: Lens' ReplicationGroupPendingModifiedValues (Maybe PendingAutomaticFailoverStatus) rgpmvAutomaticFailoverStatus = lens _rgpmvAutomaticFailoverStatus (\ s a -> s{_rgpmvAutomaticFailoverStatus = a}); @@ -1817,17 +1867,25 @@ -- Valid node types are as follows: -- -- -   General purpose:+-- --     -   Current generation: 'cache.t2.micro', 'cache.t2.small', 'cache.t2.medium', 'cache.m3.medium', 'cache.m3.large', 'cache.m3.xlarge', 'cache.m3.2xlarge'+-- --     -   Previous generation: 'cache.t1.micro', 'cache.m1.small', 'cache.m1.medium', 'cache.m1.large', 'cache.m1.xlarge'+-- -- -   Compute optimized: 'cache.c1.xlarge'--- -   Memory optimized+--+-- -   Memory optimized:+-- --     -   Current generation: 'cache.r3.large', 'cache.r3.xlarge', 'cache.r3.2xlarge', 'cache.r3.4xlarge', 'cache.r3.8xlarge'+-- --     -   Previous generation: 'cache.m2.xlarge', 'cache.m2.2xlarge', 'cache.m2.4xlarge' -- -- __Notes:__ -- -- -   All t2 instances are created in an Amazon Virtual Private Cloud (VPC).+-- -- -   Redis backup\/restore is not supported for t2 instances.+-- -- -   Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances. -- -- For a complete listing of cache node types and specifications, see <http://aws.amazon.com/elasticache/details Amazon ElastiCache Product Features and Details> and <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#CacheParameterGroups.Memcached.NodeSpecific Cache Node Type-Specific Parameters for Memcached> or <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#CacheParameterGroups.Redis.NodeSpecific Cache Node Type-Specific Parameters for Redis>.@@ -1951,17 +2009,25 @@ -- Valid node types are as follows: -- -- -   General purpose:+-- --     -   Current generation: 'cache.t2.micro', 'cache.t2.small', 'cache.t2.medium', 'cache.m3.medium', 'cache.m3.large', 'cache.m3.xlarge', 'cache.m3.2xlarge'+-- --     -   Previous generation: 'cache.t1.micro', 'cache.m1.small', 'cache.m1.medium', 'cache.m1.large', 'cache.m1.xlarge'+-- -- -   Compute optimized: 'cache.c1.xlarge'--- -   Memory optimized+--+-- -   Memory optimized:+-- --     -   Current generation: 'cache.r3.large', 'cache.r3.xlarge', 'cache.r3.2xlarge', 'cache.r3.4xlarge', 'cache.r3.8xlarge'+-- --     -   Previous generation: 'cache.m2.xlarge', 'cache.m2.2xlarge', 'cache.m2.4xlarge' -- -- __Notes:__ -- -- -   All t2 instances are created in an Amazon Virtual Private Cloud (VPC).+-- -- -   Redis backup\/restore is not supported for t2 instances.+-- -- -   Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances. -- -- For a complete listing of cache node types and specifications, see <http://aws.amazon.com/elasticache/details Amazon ElastiCache Product Features and Details> and <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#CacheParameterGroups.Memcached.NodeSpecific Cache Node Type-Specific Parameters for Memcached> or <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#CacheParameterGroups.Redis.NodeSpecific Cache Node Type-Specific Parameters for Redis>.@@ -2158,17 +2224,25 @@ -- Valid node types are as follows: -- -- -   General purpose:+-- --     -   Current generation: 'cache.t2.micro', 'cache.t2.small', 'cache.t2.medium', 'cache.m3.medium', 'cache.m3.large', 'cache.m3.xlarge', 'cache.m3.2xlarge'+-- --     -   Previous generation: 'cache.t1.micro', 'cache.m1.small', 'cache.m1.medium', 'cache.m1.large', 'cache.m1.xlarge'+-- -- -   Compute optimized: 'cache.c1.xlarge'--- -   Memory optimized+--+-- -   Memory optimized:+-- --     -   Current generation: 'cache.r3.large', 'cache.r3.xlarge', 'cache.r3.2xlarge', 'cache.r3.4xlarge', 'cache.r3.8xlarge'+-- --     -   Previous generation: 'cache.m2.xlarge', 'cache.m2.2xlarge', 'cache.m2.4xlarge' -- -- __Notes:__ -- -- -   All t2 instances are created in an Amazon Virtual Private Cloud (VPC).+-- -- -   Redis backup\/restore is not supported for t2 instances.+-- -- -   Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances. -- -- For a complete listing of cache node types and specifications, see <http://aws.amazon.com/elasticache/details Amazon ElastiCache Product Features and Details> and <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Memcached.html#CacheParameterGroups.Memcached.NodeSpecific Cache Node Type-Specific Parameters for Memcached> or <http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html#CacheParameterGroups.Redis.NodeSpecific Cache Node Type-Specific Parameters for Redis>.@@ -2210,11 +2284,17 @@ -- | Specifies the weekly time range during which maintenance on the cache cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for 'ddd' are: -- -- -   'sun'+-- -- -   'mon'+-- -- -   'tue'+-- -- -   'wed'+-- -- -   'thu'+-- -- -   'fri'+-- -- -   'sat' -- -- Example: 'sun:05:00-sun:09:00'@@ -2241,8 +2321,7 @@ -- -- For manual snapshots, this field reflects the /SnapshotRetentionLimit/ for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the /DeleteSnapshot/ action. ----- __Important__--- If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.+-- __Important__ If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. sSnapshotRetentionLimit :: Lens' Snapshot (Maybe Int) sSnapshotRetentionLimit = lens _sSnapshotRetentionLimit (\ s a -> s{_sSnapshotRetentionLimit = a}); 
gen/Network/AWS/ElastiCache/Types/Sum.hs view
@@ -74,6 +74,32 @@ instance FromXML AutomaticFailoverStatus where     parseXML = parseXMLText "AutomaticFailoverStatus" +data ChangeType+    = Immediate+    | RequiresReboot+    deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)++instance FromText ChangeType where+    parser = takeLowerText >>= \case+        "immediate" -> pure Immediate+        "requires-reboot" -> pure RequiresReboot+        e -> fromTextError $ "Failure parsing ChangeType from value: '" <> e+           <> "'. Accepted values: immediate, requires-reboot"++instance ToText ChangeType where+    toText = \case+        Immediate -> "immediate"+        RequiresReboot -> "requires-reboot"++instance Hashable     ChangeType+instance NFData       ChangeType+instance ToByteString ChangeType+instance ToQuery      ChangeType+instance ToHeader     ChangeType++instance FromXML ChangeType where+    parseXML = parseXMLText "ChangeType"+ data PendingAutomaticFailoverStatus     = Disabled     | Enabled
+ src/.gitkeep view