amazonka-redshift 0.0.1 → 0.0.2
raw patch · 56 files changed
+1568/−1297 lines, 56 filesdep ~amazonka-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core
API changes (from Hackage documentation)
Files
- README.md +6/−1
- amazonka-redshift.cabal +7/−7
- gen/Network/AWS/Redshift.hs +3/−3
- gen/Network/AWS/Redshift/AuthorizeClusterSecurityGroupIngress.hs +15/−14
- gen/Network/AWS/Redshift/AuthorizeSnapshotAccess.hs +6/−6
- gen/Network/AWS/Redshift/CopyClusterSnapshot.hs +27/−16
- gen/Network/AWS/Redshift/CreateCluster.hs +154/−102
- gen/Network/AWS/Redshift/CreateClusterParameterGroup.hs +24/−20
- gen/Network/AWS/Redshift/CreateClusterSecurityGroup.hs +10/−7
- gen/Network/AWS/Redshift/CreateClusterSnapshot.hs +9/−7
- gen/Network/AWS/Redshift/CreateClusterSubnetGroup.hs +10/−7
- gen/Network/AWS/Redshift/CreateEventSubscription.hs +52/−40
- gen/Network/AWS/Redshift/CreateHsmClientCertificate.hs +9/−10
- gen/Network/AWS/Redshift/CreateHsmConfiguration.hs +11/−12
- gen/Network/AWS/Redshift/CreateTags.hs +14/−15
- gen/Network/AWS/Redshift/DeleteCluster.hs +31/−26
- gen/Network/AWS/Redshift/DeleteClusterParameterGroup.hs +6/−3
- gen/Network/AWS/Redshift/DeleteClusterSecurityGroup.hs +5/−5
- gen/Network/AWS/Redshift/DeleteClusterSnapshot.hs +12/−9
- gen/Network/AWS/Redshift/DeleteEventSubscription.hs +1/−2
- gen/Network/AWS/Redshift/DeleteTags.hs +1/−1
- gen/Network/AWS/Redshift/DescribeClusterParameterGroups.hs +47/−44
- gen/Network/AWS/Redshift/DescribeClusterParameters.hs +33/−27
- gen/Network/AWS/Redshift/DescribeClusterSecurityGroups.hs +52/−46
- gen/Network/AWS/Redshift/DescribeClusterSnapshots.hs +62/−55
- gen/Network/AWS/Redshift/DescribeClusterSubnetGroups.hs +41/−35
- gen/Network/AWS/Redshift/DescribeClusterVersions.hs +32/−26
- gen/Network/AWS/Redshift/DescribeClusters.hs +49/−42
- gen/Network/AWS/Redshift/DescribeDefaultClusterParameters.hs +16/−13
- gen/Network/AWS/Redshift/DescribeEventCategories.hs +5/−4
- gen/Network/AWS/Redshift/DescribeEventSubscriptions.hs +18/−16
- gen/Network/AWS/Redshift/DescribeEvents.hs +51/−42
- gen/Network/AWS/Redshift/DescribeHsmClientCertificates.hs +44/−41
- gen/Network/AWS/Redshift/DescribeHsmConfigurations.hs +42/−39
- gen/Network/AWS/Redshift/DescribeLoggingStatus.hs +6/−5
- gen/Network/AWS/Redshift/DescribeOrderableClusterOptions.hs +33/−31
- gen/Network/AWS/Redshift/DescribeReservedNodeOfferings.hs +22/−22
- gen/Network/AWS/Redshift/DescribeReservedNodes.hs +17/−16
- gen/Network/AWS/Redshift/DescribeResize.hs +41/−32
- gen/Network/AWS/Redshift/DescribeTags.hs +46/−45
- gen/Network/AWS/Redshift/DisableLogging.hs +6/−5
- gen/Network/AWS/Redshift/DisableSnapshotCopy.hs +7/−6
- gen/Network/AWS/Redshift/EnableLogging.hs +20/−13
- gen/Network/AWS/Redshift/EnableSnapshotCopy.hs +11/−7
- gen/Network/AWS/Redshift/ModifyCluster.hs +123/−89
- gen/Network/AWS/Redshift/ModifyClusterParameterGroup.hs +13/−10
- gen/Network/AWS/Redshift/ModifyEventSubscription.hs +25/−18
- gen/Network/AWS/Redshift/ModifySnapshotCopyRetentionPeriod.hs +15/−10
- gen/Network/AWS/Redshift/PurchaseReservedNodeOffering.hs +7/−5
- gen/Network/AWS/Redshift/RebootCluster.hs +5/−6
- gen/Network/AWS/Redshift/ResetClusterParameterGroup.hs +11/−9
- gen/Network/AWS/Redshift/RestoreFromClusterSnapshot.hs +86/−56
- gen/Network/AWS/Redshift/RevokeClusterSecurityGroupIngress.hs +11/−13
- gen/Network/AWS/Redshift/RevokeSnapshotAccess.hs +6/−7
- gen/Network/AWS/Redshift/RotateEncryptionKey.hs +4/−3
- gen/Network/AWS/Redshift/Types.hs +148/−146
README.md view
@@ -8,7 +8,12 @@ ## Description -Amazon Redshift is a fast, fully managed, petabyte-scale data warehouse service that makes it simple and cost-effective to efficiently analyze all your data using your existing business intelligence tools. You can start small for just $0.25 per hour with no commitments or upfront costs and scale to a petabyte or more for $1,000 per terabyte per year, less than a tenth of most other data warehousing solutions.+ Amazon Redshift is a fast, fully managed, petabyte-scale data warehouse+ service that makes it simple and cost-effective to efficiently analyze all+ your data using your existing business intelligence tools. You can start+ small for just $0.25 per hour with no commitments or upfront costs and scale+ to a petabyte or more for $1,000 per terabyte per year, less than a tenth of+ most other data warehousing solutions. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-redshift) and [AWS API Reference](http://docs.aws.amazon.com/redshift/latest/APIReference/Welcome.html).
amazonka-redshift.cabal view
@@ -1,5 +1,5 @@ name: amazonka-redshift-version: 0.0.1+version: 0.0.2 synopsis: Amazon Redshift SDK. homepage: https://github.com/brendanhay/amazonka license: OtherLicense@@ -14,11 +14,11 @@ description: Amazon Redshift is a fast, fully managed, petabyte-scale data warehouse- service that makes it simple and cost-effective to efficiently analyze- all your data using your existing business intelligence tools. You can- start small for just $0.25 per hour with no commitments or upfront- costs and scale to a petabyte or more for $1,000 per terabyte per year,- less than a tenth of most other data warehousing solutions.+ service that makes it simple and cost-effective to efficiently analyze all+ your data using your existing business intelligence tools. You can start+ small for just $0.25 per hour with no commitments or upfront costs and scale+ to a petabyte or more for $1,000 per terabyte per year, less than a tenth of+ most other data warehousing solutions. . /See:/ <http://docs.aws.amazon.com/redshift/latest/APIReference/Welcome.html AWS API Reference> .@@ -98,5 +98,5 @@ other-modules: build-depends:- amazonka-core == 0.0.1.*+ amazonka-core == 0.0.2.* , base >= 4.7 && < 5
gen/Network/AWS/Redshift.hs view
@@ -11,9 +11,9 @@ -- | Amazon Redshift is a fast, fully managed, petabyte-scale data warehouse -- service that makes it simple and cost-effective to efficiently analyze all -- your data using your existing business intelligence tools. You can start--- small for just $0.25 per hour with no commitments or upfront costs and--- scale to a petabyte or more for $1,000 per terabyte per year, less than a--- tenth of most other data warehousing solutions.+-- small for just $0.25 per hour with no commitments or upfront costs and scale+-- to a petabyte or more for $1,000 per terabyte per year, less than a tenth of+-- most other data warehousing solutions. module Network.AWS.Redshift ( module Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress , module Network.AWS.Redshift.AuthorizeSnapshotAccess
gen/Network/AWS/Redshift/AuthorizeClusterSecurityGroupIngress.hs view
@@ -21,18 +21,19 @@ -- Portability : non-portable (GHC extensions) -- | Adds an inbound (ingress) rule to an Amazon Redshift security group.--- Depending on whether the application accessing your cluster is running on--- the Internet or an EC2 instance, you can authorize inbound access to either--- a Classless Interdomain Routing (CIDR) IP address range or an EC2 security--- group. You can add as many as 20 ingress rules to an Amazon Redshift--- security group. The EC2 security group must be defined in the AWS region--- where the cluster resides. For an overview of CIDR blocks, see the--- Wikipedia article on Classless Inter-Domain Routing. You must also--- associate the security group with a cluster so that clients running on--- these IP addresses or the EC2 instance are authorized to connect to the--- cluster. For information about managing security groups, go to Working with--- Security Groups in the Amazon Redshift Cluster Management Guide.+-- Depending on whether the application accessing your cluster is running on the+-- Internet or an EC2 instance, you can authorize inbound access to either a+-- Classless Interdomain Routing (CIDR) IP address range or an EC2 security+-- group. You can add as many as 20 ingress rules to an Amazon Redshift security+-- group. --+-- The EC2 security group must be defined in the AWS region where the cluster+-- resides. For an overview of CIDR blocks, see the Wikipedia article on <http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing Classless Inter-Domain Routing>.+--+-- You must also associate the security group with a cluster so that clients+-- running on these IP addresses or the EC2 instance are authorized to connect+-- to the cluster. For information about managing security groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-security-groups.html Workingwith Security Groups> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_AuthorizeClusterSecurityGroupIngress.html> module Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress (@@ -103,9 +104,9 @@ lens _acsgiEC2SecurityGroupName (\s a -> s { _acsgiEC2SecurityGroupName = a }) --- | The AWS account number of the owner of the security group specified by--- the EC2SecurityGroupName parameter. The AWS Access Key ID is not an--- acceptable value. Example: 111122223333.+-- | The AWS account number of the owner of the security group specified by the /EC2SecurityGroupName/ parameter. The AWS Access Key ID is not an acceptable value.+--+-- Example: '111122223333' acsgiEC2SecurityGroupOwnerId :: Lens' AuthorizeClusterSecurityGroupIngress (Maybe Text) acsgiEC2SecurityGroupOwnerId = lens _acsgiEC2SecurityGroupOwnerId
gen/Network/AWS/Redshift/AuthorizeSnapshotAccess.hs view
@@ -21,9 +21,10 @@ -- Portability : non-portable (GHC extensions) -- | Authorizes the specified AWS customer account to restore the specified--- snapshot. For more information about working with snapshots, go to Amazon--- Redshift Snapshots in the Amazon Redshift Cluster Management Guide.+-- snapshot. --+-- For more information about working with snapshots, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html Amazon RedshiftSnapshots> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_AuthorizeSnapshotAccess.html> module Network.AWS.Redshift.AuthorizeSnapshotAccess (@@ -81,10 +82,9 @@ lens _asaAccountWithRestoreAccess (\s a -> s { _asaAccountWithRestoreAccess = a }) --- | The identifier of the cluster the snapshot was created from. This--- parameter is required if your IAM user has a policy containing a snapshot--- resource element that specifies anything other than * for the cluster--- name.+-- | The identifier of the cluster the snapshot was created from. This parameter+-- is required if your IAM user has a policy containing a snapshot resource+-- element that specifies anything other than * for the cluster name. asaSnapshotClusterIdentifier :: Lens' AuthorizeSnapshotAccess (Maybe Text) asaSnapshotClusterIdentifier = lens _asaSnapshotClusterIdentifier
gen/Network/AWS/Redshift/CopyClusterSnapshot.hs view
@@ -22,14 +22,16 @@ -- | Copies the specified automated cluster snapshot to a new manual cluster -- snapshot. The source must be an automated snapshot and it must be in the--- available state. When you delete a cluster, Amazon Redshift deletes any--- automated snapshots of the cluster. Also, when the retention period of the--- snapshot expires, Amazon Redshift automatically deletes it. If you want to--- keep an automated snapshot for a longer period, you can make a manual copy--- of the snapshot. Manual snapshots are retained until you delete them. For--- more information about working with snapshots, go to Amazon Redshift--- Snapshots in the Amazon Redshift Cluster Management Guide.+-- available state. --+-- When you delete a cluster, Amazon Redshift deletes any automated snapshots+-- of the cluster. Also, when the retention period of the snapshot expires,+-- Amazon Redshift automatically deletes it. If you want to keep an automated+-- snapshot for a longer period, you can make a manual copy of the snapshot.+-- Manual snapshots are retained until you delete them.+--+-- For more information about working with snapshots, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html Amazon RedshiftSnapshots> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_CopyClusterSnapshot.html> module Network.AWS.Redshift.CopyClusterSnapshot (@@ -82,25 +84,34 @@ -- | The identifier of the cluster the source snapshot was created from. This -- parameter is required if your IAM user has a policy containing a snapshot--- resource element that specifies anything other than * for the cluster--- name. Constraints: Must be the identifier for a valid cluster.+-- resource element that specifies anything other than * for the cluster name.+--+-- Constraints:+--+-- Must be the identifier for a valid cluster. ccsSourceSnapshotClusterIdentifier :: Lens' CopyClusterSnapshot (Maybe Text) ccsSourceSnapshotClusterIdentifier = lens _ccsSourceSnapshotClusterIdentifier (\s a -> s { _ccsSourceSnapshotClusterIdentifier = a }) --- | The identifier for the source snapshot. Constraints: Must be the--- identifier for a valid automated snapshot whose state is available.+-- | The identifier for the source snapshot.+--+-- Constraints:+--+-- Must be the identifier for a valid automated snapshot whose state is 'available'. ccsSourceSnapshotIdentifier :: Lens' CopyClusterSnapshot Text ccsSourceSnapshotIdentifier = lens _ccsSourceSnapshotIdentifier (\s a -> s { _ccsSourceSnapshotIdentifier = a }) --- | The identifier given to the new manual snapshot. Constraints: Cannot be--- null, empty, or blank. Must contain from 1 to 255 alphanumeric characters--- or hyphens. First character must be a letter. Cannot end with a hyphen or--- contain two consecutive hyphens. Must be unique for the AWS account that--- is making the request.+-- | The identifier given to the new manual snapshot.+--+-- Constraints:+--+-- Cannot be null, empty, or blank. Must contain from 1 to 255 alphanumeric+-- characters or hyphens. First character must be a letter. Cannot end with a+-- hyphen or contain two consecutive hyphens. Must be unique for the AWS account+-- that is making the request. ccsTargetSnapshotIdentifier :: Lens' CopyClusterSnapshot Text ccsTargetSnapshotIdentifier = lens _ccsTargetSnapshotIdentifier
gen/Network/AWS/Redshift/CreateCluster.hs view
@@ -20,13 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Creates a new cluster. To create the cluster in virtual private cloud--- (VPC), you must provide cluster subnet group name. If you don't provide a--- cluster subnet group name or the cluster security group parameter, Amazon--- Redshift creates a non-VPC cluster, it associates the default cluster--- security group with the cluster. For more information about managing--- clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster--- Management Guide .+-- | Creates a new cluster. To create the cluster in virtual private cloud (VPC),+-- you must provide cluster subnet group name. If you don't provide a cluster+-- subnet group name or the cluster security group parameter, Amazon Redshift+-- creates a non-VPC cluster, it associates the default cluster security group+-- with the cluster. For more information about managing clusters, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html AmazonRedshift Clusters> in the /Amazon Redshift Cluster Management Guide/ . -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateCluster.html> module Network.AWS.Redshift.CreateCluster@@ -185,187 +183,240 @@ , _ccKmsKeyId = Nothing } --- | If true, major version upgrades can be applied during the maintenance--- window to the Amazon Redshift engine that is running on the cluster. When--- a new major version of the Amazon Redshift engine is released, you can--- request that the service automatically apply upgrades during the--- maintenance window to the Amazon Redshift engine that is running on your--- cluster. Default: true.+-- | If 'true', major version upgrades can be applied during the maintenance window+-- to the Amazon Redshift engine that is running on the cluster.+--+-- When a new major version of the Amazon Redshift engine is released, you can+-- request that the service automatically apply upgrades during the maintenance+-- window to the Amazon Redshift engine that is running on your cluster.+--+-- Default: 'true' ccAllowVersionUpgrade :: Lens' CreateCluster (Maybe Bool) ccAllowVersionUpgrade = lens _ccAllowVersionUpgrade (\s a -> s { _ccAllowVersionUpgrade = a }) --- | The number of days that automated snapshots are retained. If the value is--- 0, automated snapshots are disabled. Even if automated snapshots are--- disabled, you can still create manual snapshots when you want with--- CreateClusterSnapshot. Default: 1 Constraints: Must be a value from 0 to--- 35.+-- | The number of days that automated snapshots are retained. If the value is 0,+-- automated snapshots are disabled. Even if automated snapshots are disabled,+-- you can still create manual snapshots when you want with 'CreateClusterSnapshot'+-- .+--+-- Default: '1'+--+-- Constraints: Must be a value from 0 to 35. ccAutomatedSnapshotRetentionPeriod :: Lens' CreateCluster (Maybe Int) ccAutomatedSnapshotRetentionPeriod = lens _ccAutomatedSnapshotRetentionPeriod (\s a -> s { _ccAutomatedSnapshotRetentionPeriod = a }) -- | The EC2 Availability Zone (AZ) in which you want Amazon Redshift to--- provision the cluster. For example, if you have several EC2 instances--- running in a specific Availability Zone, then you might want the cluster--- to be provisioned in the same zone in order to decrease network latency.+-- provision the cluster. For example, if you have several EC2 instances running+-- in a specific Availability Zone, then you might want the cluster to be+-- provisioned in the same zone in order to decrease network latency.+-- -- Default: A random, system-chosen Availability Zone in the region that is--- specified by the endpoint. Example: us-east-1d Constraint: The specified--- Availability Zone must be in the same region as the current endpoint.+-- specified by the endpoint.+--+-- Example: 'us-east-1d'+--+-- Constraint: The specified Availability Zone must be in the same region as+-- the current endpoint. ccAvailabilityZone :: Lens' CreateCluster (Maybe Text) ccAvailabilityZone = lens _ccAvailabilityZone (\s a -> s { _ccAvailabilityZone = a }) --- | A unique identifier for the cluster. You use this identifier to refer to--- the cluster for any subsequent cluster operations such as deleting or--- modifying. The identifier also appears in the Amazon Redshift console.--- Constraints: Must contain from 1 to 63 alphanumeric characters or--- hyphens. Alphabetic characters must be lowercase. First character must be--- a letter. Cannot end with a hyphen or contain two consecutive hyphens.--- Must be unique for all clusters within an AWS account. Example:--- myexamplecluster.+-- | A unique identifier for the cluster. You use this identifier to refer to the+-- cluster for any subsequent cluster operations such as deleting or modifying.+-- The identifier also appears in the Amazon Redshift console.+--+-- Constraints:+--+-- Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic+-- characters must be lowercase. First character must be a letter. Cannot end+-- with a hyphen or contain two consecutive hyphens. Must be unique for all+-- clusters within an AWS account. Example: 'myexamplecluster' ccClusterIdentifier :: Lens' CreateCluster Text ccClusterIdentifier = lens _ccClusterIdentifier (\s a -> s { _ccClusterIdentifier = a }) -- | The name of the parameter group to be associated with this cluster.+-- -- Default: The default Amazon Redshift cluster parameter group. For--- information about the default parameter group, go to Working with Amazon--- Redshift Parameter Groups Constraints: Must be 1 to 255 alphanumeric--- characters or hyphens. First character must be a letter. Cannot end with--- a hyphen or contain two consecutive hyphens.+-- information about the default parameter group, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html Working with AmazonRedshift Parameter Groups>+--+-- Constraints:+--+-- Must be 1 to 255 alphanumeric characters or hyphens. First character must+-- be a letter. Cannot end with a hyphen or contain two consecutive hyphens. ccClusterParameterGroupName :: Lens' CreateCluster (Maybe Text) ccClusterParameterGroupName = lens _ccClusterParameterGroupName (\s a -> s { _ccClusterParameterGroupName = a }) --- | A list of security groups to be associated with this cluster. Default:--- The default cluster security group for Amazon Redshift.+-- | A list of security groups to be associated with this cluster.+--+-- Default: The default cluster security group for Amazon Redshift. ccClusterSecurityGroups :: Lens' CreateCluster [Text] ccClusterSecurityGroups = lens _ccClusterSecurityGroups (\s a -> s { _ccClusterSecurityGroups = a }) . _List --- | The name of a cluster subnet group to be associated with this cluster. If--- this parameter is not provided the resulting cluster will be deployed+-- | The name of a cluster subnet group to be associated with this cluster.+--+-- If this parameter is not provided the resulting cluster will be deployed -- outside virtual private cloud (VPC). ccClusterSubnetGroupName :: Lens' CreateCluster (Maybe Text) ccClusterSubnetGroupName = lens _ccClusterSubnetGroupName (\s a -> s { _ccClusterSubnetGroupName = a }) --- | The type of the cluster. When cluster type is specified as single-node,--- the NumberOfNodes parameter is not required. multi-node, the--- NumberOfNodes parameter is required. Valid Values: multi-node |--- single-node Default: multi-node.+-- | The type of the cluster. When cluster type is specified as 'single-node',+-- the NumberOfNodes parameter is not required. 'multi-node', the NumberOfNodes+-- parameter is required.+--+-- Valid Values: 'multi-node' | 'single-node'+--+-- Default: 'multi-node' ccClusterType :: Lens' CreateCluster (Maybe Text) ccClusterType = lens _ccClusterType (\s a -> s { _ccClusterType = a }) --- | The version of the Amazon Redshift engine software that you want to--- deploy on the cluster. The version selected runs on all the nodes in the--- cluster. Constraints: Only version 1.0 is currently available. Example:--- 1.0.+-- | The version of the Amazon Redshift engine software that you want to deploy+-- on the cluster.+--+-- The version selected runs on all the nodes in the cluster.+--+-- Constraints: Only version 1.0 is currently available.+--+-- Example: '1.0' ccClusterVersion :: Lens' CreateCluster (Maybe Text) ccClusterVersion = lens _ccClusterVersion (\s a -> s { _ccClusterVersion = a }) -- | The name of the first database to be created when the cluster is created.--- To create additional databases after the cluster is created, connect to--- the cluster with a SQL client and use SQL commands to create a database.--- For more information, go to Create a Database in the Amazon Redshift--- Database Developer Guide. Default: dev Constraints: Must contain 1 to 64--- alphanumeric characters. Must contain only lowercase letters. Cannot be a--- word that is reserved by the service. A list of reserved words can be--- found in Reserved Words in the Amazon Redshift Database Developer Guide.+--+-- To create additional databases after the cluster is created, connect to the+-- cluster with a SQL client and use SQL commands to create a database. For more+-- information, go to <http://docs.aws.amazon.com/redshift/latest/dg/t_creating_database.html Create a Database> in the Amazon Redshift Database+-- Developer Guide.+--+-- Default: 'dev'+--+-- Constraints:+--+-- Must contain 1 to 64 alphanumeric characters. Must contain only lowercase+-- letters. Cannot be a word that is reserved by the service. A list of reserved+-- words can be found in <http://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html Reserved Words> in the Amazon Redshift Database+-- Developer Guide. ccDBName :: Lens' CreateCluster (Maybe Text) ccDBName = lens _ccDBName (\s a -> s { _ccDBName = a }) --- | The Elastic IP (EIP) address for the cluster. Constraints: The cluster--- must be provisioned in EC2-VPC and publicly-accessible through an--- Internet gateway. For more information about provisioning clusters in--- EC2-VPC, go to Supported Platforms to Launch Your Cluster in the Amazon--- Redshift Cluster Management Guide.+-- | The Elastic IP (EIP) address for the cluster.+--+-- Constraints: The cluster must be provisioned in EC2-VPC and+-- publicly-accessible through an Internet gateway. For more information about+-- provisioning clusters in EC2-VPC, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#cluster-platforms Supported Platforms to Launch YourCluster> in the Amazon Redshift Cluster Management Guide. ccElasticIp :: Lens' CreateCluster (Maybe Text) ccElasticIp = lens _ccElasticIp (\s a -> s { _ccElasticIp = a }) --- | If true, the data in the cluster is encrypted at rest. Default: false.+-- | If 'true', the data in the cluster is encrypted at rest.+--+-- Default: false ccEncrypted :: Lens' CreateCluster (Maybe Bool) ccEncrypted = lens _ccEncrypted (\s a -> s { _ccEncrypted = a }) --- | Specifies the name of the HSM client certificate the Amazon Redshift--- cluster uses to retrieve the data encryption keys stored in an HSM.+-- | Specifies the name of the HSM client certificate the Amazon Redshift cluster+-- uses to retrieve the data encryption keys stored in an HSM. ccHsmClientCertificateIdentifier :: Lens' CreateCluster (Maybe Text) ccHsmClientCertificateIdentifier = lens _ccHsmClientCertificateIdentifier (\s a -> s { _ccHsmClientCertificateIdentifier = a }) --- | Specifies the name of the HSM configuration that contains the information--- the Amazon Redshift cluster can use to retrieve and store keys in an HSM.+-- | Specifies the name of the HSM configuration that contains the information the+-- Amazon Redshift cluster can use to retrieve and store keys in an HSM. ccHsmConfigurationIdentifier :: Lens' CreateCluster (Maybe Text) ccHsmConfigurationIdentifier = lens _ccHsmConfigurationIdentifier (\s a -> s { _ccHsmConfigurationIdentifier = a }) --- | The AWS Key Management Service (KMS) key ID of the encryption key that--- you want to use to encrypt data in the cluster.+-- | The AWS Key Management Service (KMS) key ID of the encryption key that you+-- want to use to encrypt data in the cluster. ccKmsKeyId :: Lens' CreateCluster (Maybe Text) ccKmsKeyId = lens _ccKmsKeyId (\s a -> s { _ccKmsKeyId = a }) --- | The password associated with the master user account for the cluster that--- is being created. Constraints: Must be between 8 and 64 characters in--- length. Must contain at least one uppercase letter. Must contain at least--- one lowercase letter. Must contain one number. Can be any printable ASCII--- character (ASCII code 33 to 126) except ' (single quote), " (double--- quote), \, /, @, or space.+-- | The password associated with the master user account for the cluster that is+-- being created.+--+-- Constraints:+--+-- Must be between 8 and 64 characters in length. Must contain at least one+-- uppercase letter. Must contain at least one lowercase letter. Must contain+-- one number. Can be any printable ASCII character (ASCII code 33 to 126)+-- except ' (single quote), " (double quote), \, /, @, or space. ccMasterUserPassword :: Lens' CreateCluster Text ccMasterUserPassword = lens _ccMasterUserPassword (\s a -> s { _ccMasterUserPassword = a }) --- | The user name associated with the master user account for the cluster--- that is being created. Constraints: Must be 1 - 128 alphanumeric--- characters. First character must be a letter. Cannot be a reserved word.--- A list of reserved words can be found in Reserved Words in the Amazon--- Redshift Database Developer Guide.+-- | The user name associated with the master user account for the cluster that+-- is being created.+--+-- Constraints:+--+-- Must be 1 - 128 alphanumeric characters. First character must be a letter. Cannot be a reserved word. A list of reserved words can be found in+-- <http://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html Reserved Words> in the Amazon Redshift Database Developer Guide. ccMasterUsername :: Lens' CreateCluster Text ccMasterUsername = lens _ccMasterUsername (\s a -> s { _ccMasterUsername = a }) --- | The node type to be provisioned for the cluster. For information about--- node types, go to Working with Clusters in the Amazon Redshift Cluster--- Management Guide. Valid Values: dw1.xlarge | dw1.8xlarge | dw2.large |--- dw2.8xlarge.+-- | The node type to be provisioned for the cluster. For information about node+-- types, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes Working with Clusters> in the /Amazon Redshift Cluster ManagementGuide/.+--+-- Valid Values: 'dw1.xlarge' | 'dw1.8xlarge' | 'dw2.large' | 'dw2.8xlarge'. ccNodeType :: Lens' CreateCluster Text ccNodeType = lens _ccNodeType (\s a -> s { _ccNodeType = a }) --- | The number of compute nodes in the cluster. This parameter is required--- when the ClusterType parameter is specified as multi-node. For--- information about determining how many nodes you need, go to Working with--- Clusters in the Amazon Redshift Cluster Management Guide. If you don't--- specify this parameter, you get a single-node cluster. When requesting a--- multi-node cluster, you must specify the number of nodes that you want in--- the cluster. Default: 1 Constraints: Value must be at least 1 and no more--- than 100.+-- | The number of compute nodes in the cluster. This parameter is required when+-- the ClusterType parameter is specified as 'multi-node'.+--+-- For information about determining how many nodes you need, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes Workingwith Clusters> in the /Amazon Redshift Cluster Management Guide/.+--+-- If you don't specify this parameter, you get a single-node cluster. When+-- requesting a multi-node cluster, you must specify the number of nodes that+-- you want in the cluster.+--+-- Default: '1'+--+-- Constraints: Value must be at least 1 and no more than 100. ccNumberOfNodes :: Lens' CreateCluster (Maybe Int) ccNumberOfNodes = lens _ccNumberOfNodes (\s a -> s { _ccNumberOfNodes = a }) --- | The port number on which the cluster accepts incoming connections. The--- cluster is accessible only via the JDBC and ODBC connection strings. Part--- of the connection string requires the port on which the cluster will--- listen for incoming connections. Default: 5439 Valid Values: 1150-65535.+-- | The port number on which the cluster accepts incoming connections.+--+-- The cluster is accessible only via the JDBC and ODBC connection strings.+-- Part of the connection string requires the port on which the cluster will+-- listen for incoming connections.+--+-- Default: '5439'+--+-- Valid Values: '1150-65535' ccPort :: Lens' CreateCluster (Maybe Int) ccPort = lens _ccPort (\s a -> s { _ccPort = a }) -- | The weekly time range (in UTC) during which automated cluster maintenance--- can occur. Format: ddd:hh24:mi-ddd:hh24:mi Default: A 30-minute window--- selected at random from an 8-hour block of time per region, occurring on--- a random day of the week. For more information about the time blocks for--- each region, see Maintenance Windows in Amazon Redshift Cluster--- Management Guide. Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun+-- can occur.+--+-- Format: 'ddd:hh24:mi-ddd:hh24:mi'+--+-- Default: A 30-minute window selected at random from an 8-hour block of time+-- per region, occurring on a random day of the week. For more information about+-- the time blocks for each region, see <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-maintenance-windows Maintenance Windows> in Amazon Redshift+-- Cluster Management Guide.+--+-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun+-- -- Constraints: Minimum 30-minute window. ccPreferredMaintenanceWindow :: Lens' CreateCluster (Maybe Text) ccPreferredMaintenanceWindow = lens _ccPreferredMaintenanceWindow (\s a -> s { _ccPreferredMaintenanceWindow = a }) --- | If true, the cluster can be accessed from a public network.+-- | If 'true', the cluster can be accessed from a public network. ccPubliclyAccessible :: Lens' CreateCluster (Maybe Bool) ccPubliclyAccessible = lens _ccPubliclyAccessible (\s a -> s { _ccPubliclyAccessible = a })@@ -374,9 +425,10 @@ ccTags :: Lens' CreateCluster [Tag] ccTags = lens _ccTags (\s a -> s { _ccTags = a }) . _List --- | A list of Virtual Private Cloud (VPC) security groups to be associated--- with the cluster. Default: The default VPC security group is associated--- with the cluster.+-- | A list of Virtual Private Cloud (VPC) security groups to be associated with+-- the cluster.+--+-- Default: The default VPC security group is associated with the cluster. ccVpcSecurityGroupIds :: Lens' CreateCluster [Text] ccVpcSecurityGroupIds = lens _ccVpcSecurityGroupIds (\s a -> s { _ccVpcSecurityGroupIds = a })
gen/Network/AWS/Redshift/CreateClusterParameterGroup.hs view
@@ -20,15 +20,17 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Creates an Amazon Redshift parameter group. Creating parameter groups is--- independent of creating clusters. You can associate a cluster with a--- parameter group when you create the cluster. You can also associate an--- existing cluster with a parameter group after the cluster is created by--- using ModifyCluster. Parameters in the parameter group define specific--- behavior that applies to the databases you create on the cluster. For more--- information about managing parameter groups, go to Amazon Redshift--- Parameter Groups in the Amazon Redshift Cluster Management Guide.+-- | Creates an Amazon Redshift parameter group. --+-- Creating parameter groups is independent of creating clusters. You can+-- associate a cluster with a parameter group when you create the cluster. You+-- can also associate an existing cluster with a parameter group after the+-- cluster is created by using 'ModifyCluster'.+--+-- Parameters in the parameter group define specific behavior that applies to+-- the databases you create on the cluster. For more information about managing+-- parameter groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html Amazon Redshift Parameter Groups> in the /AmazonRedshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterParameterGroup.html> module Network.AWS.Redshift.CreateClusterParameterGroup (@@ -90,23 +92,25 @@ ccpgDescription = lens _ccpgDescription (\s a -> s { _ccpgDescription = a }) -- | The Amazon Redshift engine version to which the cluster parameter group--- applies. The cluster engine version determines the set of parameters. To--- get a list of valid parameter group family names, you can call--- DescribeClusterParameterGroups. By default, Amazon Redshift returns a--- list of all the parameter groups that are owned by your AWS account,--- including the default parameter groups for each Amazon Redshift engine--- version. The parameter group family names associated with the default--- parameter groups provide you the valid values. For example, a valid--- family name is "redshift-1.0".+-- applies. The cluster engine version determines the set of parameters.+--+-- To get a list of valid parameter group family names, you can call 'DescribeClusterParameterGroups'. By default, Amazon Redshift returns a list of all the parameter groups that+-- are owned by your AWS account, including the default parameter groups for+-- each Amazon Redshift engine version. The parameter group family names+-- associated with the default parameter groups provide you the valid values.+-- For example, a valid family name is "redshift-1.0". ccpgParameterGroupFamily :: Lens' CreateClusterParameterGroup Text ccpgParameterGroupFamily = lens _ccpgParameterGroupFamily (\s a -> s { _ccpgParameterGroupFamily = a }) --- | The name of the cluster parameter group. Constraints: Must be 1 to 255--- alphanumeric characters or hyphens First character must be a letter.--- Cannot end with a hyphen or contain two consecutive hyphens. Must be--- unique withing your AWS account. This value is stored as a lower-case+-- | The name of the cluster parameter group.+--+-- Constraints:+--+-- Must be 1 to 255 alphanumeric characters or hyphens First character must be+-- a letter. Cannot end with a hyphen or contain two consecutive hyphens. Must+-- be unique withing your AWS account. This value is stored as a lower-case -- string. ccpgParameterGroupName :: Lens' CreateClusterParameterGroup Text ccpgParameterGroupName =
gen/Network/AWS/Redshift/CreateClusterSecurityGroup.hs view
@@ -21,10 +21,10 @@ -- Portability : non-portable (GHC extensions) -- | Creates a new Amazon Redshift security group. You use security groups to--- control access to non-VPC clusters. For information about managing security--- groups, go to Amazon Redshift Cluster Security Groups in the Amazon--- Redshift Cluster Management Guide.+-- control access to non-VPC clusters. --+-- For information about managing security groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-security-groups.html Amazon RedshiftCluster Security Groups> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSecurityGroup.html> module Network.AWS.Redshift.CreateClusterSecurityGroup (@@ -76,10 +76,13 @@ } -- | The name for the security group. Amazon Redshift stores the value as a--- lowercase string. Constraints: Must contain no more than 255 alphanumeric--- characters or hyphens. Must not be "Default". Must be unique for all--- security groups that are created by your AWS account. Example:--- examplesecuritygroup.+-- lowercase string.+--+-- Constraints:+--+-- Must contain no more than 255 alphanumeric characters or hyphens. Must not+-- be "Default". Must be unique for all security groups that are created by your+-- AWS account. Example: 'examplesecuritygroup' ccsg1ClusterSecurityGroupName :: Lens' CreateClusterSecurityGroup Text ccsg1ClusterSecurityGroupName = lens _ccsg1ClusterSecurityGroupName
gen/Network/AWS/Redshift/CreateClusterSnapshot.hs view
@@ -21,10 +21,10 @@ -- Portability : non-portable (GHC extensions) -- | Creates a manual snapshot of the specified cluster. The cluster must be in--- the available state. For more information about working with snapshots, go--- to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management--- Guide.+-- the 'available' state. --+-- For more information about working with snapshots, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html Amazon RedshiftSnapshots> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSnapshot.html> module Network.AWS.Redshift.CreateClusterSnapshot (@@ -82,10 +82,12 @@ -- | A unique identifier for the snapshot that you are requesting. This -- identifier must be unique for all snapshots within the AWS account.--- Constraints: Cannot be null, empty, or blank Must contain from 1 to 255--- alphanumeric characters or hyphens First character must be a letter--- Cannot end with a hyphen or contain two consecutive hyphens Example:--- my-snapshot-id.+--+-- Constraints:+--+-- Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric+-- characters or hyphens First character must be a letter Cannot end with a+-- hyphen or contain two consecutive hyphens Example: 'my-snapshot-id' ccsSnapshotIdentifier :: Lens' CreateClusterSnapshot Text ccsSnapshotIdentifier = lens _ccsSnapshotIdentifier (\s a -> s { _ccsSnapshotIdentifier = a })
gen/Network/AWS/Redshift/CreateClusterSubnetGroup.hs view
@@ -22,10 +22,10 @@ -- | Creates a new Amazon Redshift subnet group. You must provide a list of one -- or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC)--- when creating Amazon Redshift subnet group. For information about subnet--- groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift--- Cluster Management Guide.+-- when creating Amazon Redshift subnet group. --+-- For information about subnet groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-cluster-subnet-groups.html Amazon Redshift Cluster SubnetGroups> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSubnetGroup.html> module Network.AWS.Redshift.CreateClusterSubnetGroup (@@ -82,10 +82,13 @@ } -- | The name for the subnet group. Amazon Redshift stores the value as a--- lowercase string. Constraints: Must contain no more than 255 alphanumeric--- characters or hyphens. Must not be "Default". Must be unique for all--- subnet groups that are created by your AWS account. Example:--- examplesubnetgroup.+-- lowercase string.+--+-- Constraints:+--+-- Must contain no more than 255 alphanumeric characters or hyphens. Must not+-- be "Default". Must be unique for all subnet groups that are created by your+-- AWS account. Example: 'examplesubnetgroup' ccsgClusterSubnetGroupName :: Lens' CreateClusterSubnetGroup Text ccsgClusterSubnetGroupName = lens _ccsgClusterSubnetGroupName
gen/Network/AWS/Redshift/CreateEventSubscription.hs view
@@ -22,24 +22,26 @@ -- | Creates an Amazon Redshift event notification subscription. This action -- requires an ARN (Amazon Resource Name) of an Amazon SNS topic created by--- either the Amazon Redshift console, the Amazon SNS console, or the Amazon--- SNS API. To obtain an ARN with Amazon SNS, you must create a topic in--- Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS--- console. You can specify the source type, and lists of Amazon Redshift--- source IDs, event categories, and event severities. Notifications will be--- sent for all events you want that match those criteria. For example, you--- can specify source type = cluster, source ID = my-cluster-1 and mycluster2,--- event categories = Availability, Backup, and severity = ERROR. The--- subscription will only send notifications for those ERROR events in the--- Availability and Backup categories for the specified clusters. If you--- specify both the source type and source IDs, such as source type = cluster--- and source identifier = my-cluster-1, notifications will be sent for all--- the cluster events for my-cluster-1. If you specify a source type but do+-- either the Amazon Redshift console, the Amazon SNS console, or the Amazon SNS+-- API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS+-- and subscribe to the topic. The ARN is displayed in the SNS console.+--+-- You can specify the source type, and lists of Amazon Redshift source IDs,+-- event categories, and event severities. Notifications will be sent for all+-- events you want that match those criteria. For example, you can specify+-- source type = cluster, source ID = my-cluster-1 and mycluster2, event+-- categories = Availability, Backup, and severity = ERROR. The subscription+-- will only send notifications for those ERROR events in the Availability and+-- Backup categories for the specified clusters.+--+-- If you specify both the source type and source IDs, such as source type =+-- cluster and source identifier = my-cluster-1, notifications will be sent for+-- all the cluster events for my-cluster-1. If you specify a source type but do -- not specify a source identifier, you will receive notice of the events for -- the objects of that type in your AWS account. If you do not specify either -- the SourceType nor the SourceIdentifier, you will be notified of events--- generated from all Amazon Redshift sources belonging to your AWS account.--- You must specify a source type if you specify a source ID.+-- generated from all Amazon Redshift sources belonging to your AWS account. You+-- must specify a source type if you specify a source ID. -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateEventSubscription.html> module Network.AWS.Redshift.CreateEventSubscription@@ -116,53 +118,63 @@ , _cesTags = mempty } --- | A Boolean value; set to true to activate the subscription, set to false--- to create the subscription but not active it.+-- | A Boolean value; set to 'true' to activate the subscription, set to 'false' to+-- create the subscription but not active it. cesEnabled :: Lens' CreateEventSubscription (Maybe Bool) cesEnabled = lens _cesEnabled (\s a -> s { _cesEnabled = a }) --- | Specifies the Amazon Redshift event categories to be published by the--- event notification subscription. Values: Configuration, Management,--- Monitoring, Security.+-- | Specifies the Amazon Redshift event categories to be published by the event+-- notification subscription.+--+-- Values: Configuration, Management, Monitoring, Security cesEventCategories :: Lens' CreateEventSubscription [Text] cesEventCategories = lens _cesEventCategories (\s a -> s { _cesEventCategories = a }) . _List -- | Specifies the Amazon Redshift event severity to be published by the event--- notification subscription. Values: ERROR, INFO.+-- notification subscription.+--+-- Values: ERROR, INFO cesSeverity :: Lens' CreateEventSubscription (Maybe Text) cesSeverity = lens _cesSeverity (\s a -> s { _cesSeverity = a }) --- | The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit--- the event notifications. The ARN is created by Amazon SNS when you create--- a topic and subscribe to it.+-- | The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the+-- event notifications. The ARN is created by Amazon SNS when you create a topic+-- and subscribe to it. cesSnsTopicArn :: Lens' CreateEventSubscription Text cesSnsTopicArn = lens _cesSnsTopicArn (\s a -> s { _cesSnsTopicArn = a }) --- | A list of one or more identifiers of Amazon Redshift source objects. All--- of the objects must be of the same type as was specified in the source--- type parameter. The event subscription will return only events generated--- by the specified objects. If not specified, then events are returned for--- all objects within the source type specified. Example: my-cluster-1,--- my-cluster-2 Example: my-snapshot-20131010.+-- | A list of one or more identifiers of Amazon Redshift source objects. All of+-- the objects must be of the same type as was specified in the source type+-- parameter. The event subscription will return only events generated by the+-- specified objects. If not specified, then events are returned for all objects+-- within the source type specified.+--+-- Example: my-cluster-1, my-cluster-2+--+-- Example: my-snapshot-20131010 cesSourceIds :: Lens' CreateEventSubscription [Text] cesSourceIds = lens _cesSourceIds (\s a -> s { _cesSourceIds = a }) . _List --- | The type of source that will be generating the events. For example, if--- you want to be notified of events generated by a cluster, you would set--- this parameter to cluster. If this value is not specified, events are--- returned for all Amazon Redshift objects in your AWS account. You must--- specify a source type in order to specify source IDs. Valid values:--- cluster, cluster-parameter-group, cluster-security-group, and+-- | The type of source that will be generating the events. For example, if you+-- want to be notified of events generated by a cluster, you would set this+-- parameter to cluster. If this value is not specified, events are returned for+-- all Amazon Redshift objects in your AWS account. You must specify a source+-- type in order to specify source IDs.+--+-- Valid values: cluster, cluster-parameter-group, cluster-security-group, and -- cluster-snapshot. cesSourceType :: Lens' CreateEventSubscription (Maybe Text) cesSourceType = lens _cesSourceType (\s a -> s { _cesSourceType = a }) --- | The name of the event subscription to be created. Constraints: Cannot be--- null, empty, or blank. Must contain from 1 to 255 alphanumeric characters--- or hyphens. First character must be a letter. Cannot end with a hyphen or--- contain two consecutive hyphens.+-- | The name of the event subscription to be created.+--+-- Constraints:+--+-- Cannot be null, empty, or blank. Must contain from 1 to 255 alphanumeric+-- characters or hyphens. First character must be a letter. Cannot end with a+-- hyphen or contain two consecutive hyphens. cesSubscriptionName :: Lens' CreateEventSubscription Text cesSubscriptionName = lens _cesSubscriptionName (\s a -> s { _cesSubscriptionName = a })
gen/Network/AWS/Redshift/CreateHsmClientCertificate.hs view
@@ -20,15 +20,15 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Creates an HSM client certificate that an Amazon Redshift cluster will use--- to connect to the client's HSM in order to store and retrieve the keys used--- to encrypt the cluster databases. The command returns a public key, which--- you must store in the HSM. In addition to creating the HSM certificate, you--- must create an Amazon Redshift HSM configuration that provides a cluster--- the information needed to store and use encryption keys in the HSM. For--- more information, go to Hardware Security Modules in the Amazon Redshift--- Cluster Management Guide.+-- | Creates an HSM client certificate that an Amazon Redshift cluster will use to+-- connect to the client's HSM in order to store and retrieve the keys used to+-- encrypt the cluster databases. --+-- The command returns a public key, which you must store in the HSM. In+-- addition to creating the HSM certificate, you must create an Amazon Redshift+-- HSM configuration that provides a cluster the information needed to store and+-- use encryption keys in the HSM. For more information, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-HSM.html Hardware SecurityModules> in the Amazon Redshift Cluster Management Guide.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateHsmClientCertificate.html> module Network.AWS.Redshift.CreateHsmClientCertificate (@@ -74,8 +74,7 @@ } -- | The identifier to be assigned to the new HSM client certificate that the--- cluster will use to connect to the HSM to use the database encryption--- keys.+-- cluster will use to connect to the HSM to use the database encryption keys. chccHsmClientCertificateIdentifier :: Lens' CreateHsmClientCertificate Text chccHsmClientCertificateIdentifier = lens _chccHsmClientCertificateIdentifier
gen/Network/AWS/Redshift/CreateHsmConfiguration.hs view
@@ -22,13 +22,14 @@ -- | Creates an HSM configuration that contains the information required by an -- Amazon Redshift cluster to store and use database encryption keys in a--- Hardware Security Module (HSM). After creating the HSM configuration, you--- can specify it as a parameter when creating a cluster. The cluster will--- then store its encryption keys in the HSM. In addition to creating an HSM--- configuration, you must also create an HSM client certificate. For more--- information, go to Hardware Security Modules in the Amazon Redshift Cluster--- Management Guide.+-- Hardware Security Module (HSM). After creating the HSM configuration, you can+-- specify it as a parameter when creating a cluster. The cluster will then+-- store its encryption keys in the HSM. --+-- In addition to creating an HSM configuration, you must also create an HSM+-- client certificate. For more information, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-HSM.html Hardware Security Modules> in+-- the Amazon Redshift Cluster Management Guide.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateHsmConfiguration.html> module Network.AWS.Redshift.CreateHsmConfiguration (@@ -107,20 +108,18 @@ chcDescription :: Lens' CreateHsmConfiguration Text chcDescription = lens _chcDescription (\s a -> s { _chcDescription = a }) --- | The identifier to be assigned to the new Amazon Redshift HSM--- configuration.+-- | The identifier to be assigned to the new Amazon Redshift HSM configuration. chcHsmConfigurationIdentifier :: Lens' CreateHsmConfiguration Text chcHsmConfigurationIdentifier = lens _chcHsmConfigurationIdentifier (\s a -> s { _chcHsmConfigurationIdentifier = a }) --- | The IP address that the Amazon Redshift cluster must use to access the--- HSM.+-- | The IP address that the Amazon Redshift cluster must use to access the HSM. chcHsmIpAddress :: Lens' CreateHsmConfiguration Text chcHsmIpAddress = lens _chcHsmIpAddress (\s a -> s { _chcHsmIpAddress = a }) --- | The name of the partition in the HSM where the Amazon Redshift clusters--- will store their database encryption keys.+-- | The name of the partition in the HSM where the Amazon Redshift clusters will+-- store their database encryption keys. chcHsmPartitionName :: Lens' CreateHsmConfiguration Text chcHsmPartitionName = lens _chcHsmPartitionName (\s a -> s { _chcHsmPartitionName = a })
gen/Network/AWS/Redshift/CreateTags.hs view
@@ -20,12 +20,14 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Adds one or more tags to a specified resource. A resource can have up to 10--- tags. If you try to create more than 10 tags for a resource, you will--- receive an error and the attempt will fail. If you specify a key that--- already exists for the resource, the value for that key will be updated--- with the new value.+-- | Adds one or more tags to a specified resource. --+-- A resource can have up to 10 tags. If you try to create more than 10 tags+-- for a resource, you will receive an error and the attempt will fail.+--+-- If you specify a key that already exists for the resource, the value for+-- that key will be updated with the new value.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateTags.html> module Network.AWS.Redshift.CreateTags (@@ -68,19 +70,16 @@ , _ctTags = mempty } --- | The Amazon Resource Name (ARN) to which you want to add the tag or tags.--- For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.+-- | The Amazon Resource Name (ARN) to which you want to add the tag or tags. For+-- example, 'arn:aws:redshift:us-east-1:123456789:cluster:t1'. ctResourceName :: Lens' CreateTags Text ctResourceName = lens _ctResourceName (\s a -> s { _ctResourceName = a }) --- | One or more name/value pairs to add as tags to the specified resource.--- Each tag name is passed in with the parameter tag-key and the--- corresponding value is passed in with the parameter tag-value. The--- tag-key and tag-value parameters are separated by a colon (:). Separate--- multiple tags with a space. For example, --tags--- "tag-key"="owner":"tag-value"="admin"--- "tag-key"="environment":"tag-value"="test"--- "tag-key"="version":"tag-value"="1.0".+-- | One or more name/value pairs to add as tags to the specified resource. Each+-- tag name is passed in with the parameter 'tag-key' and the corresponding value+-- is passed in with the parameter 'tag-value'. The 'tag-key' and 'tag-value'+-- parameters are separated by a colon (:). Separate multiple tags with a space.+-- For example, '--tags "tag-key"="owner":"tag-value"="admin""tag-key"="environment":"tag-value"="test""tag-key"="version":"tag-value"="1.0"'. ctTags :: Lens' CreateTags [Tag] ctTags = lens _ctTags (\s a -> s { _ctTags = a }) . _List
gen/Network/AWS/Redshift/DeleteCluster.hs view
@@ -20,21 +20,20 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deletes a previously provisioned cluster. A successful response from the--- web service indicates that the request was received correctly. Use--- DescribeClusters to monitor the status of the deletion. The delete--- operation cannot be canceled or reverted once submitted. For more--- information about managing clusters, go to Amazon Redshift Clusters in the--- Amazon Redshift Cluster Management Guide . If you want to shut down the--- cluster and retain it for future use, set SkipFinalClusterSnapshot to false--- and specify a name for FinalClusterSnapshotIdentifier. You can later--- restore this snapshot to resume using the cluster. If a final cluster+-- | Deletes a previously provisioned cluster. A successful response from the web+-- service indicates that the request was received correctly. Use 'DescribeClusters' to monitor the status of the deletion. The delete operation cannot be+-- canceled or reverted once submitted. For more information about managing+-- clusters, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html Amazon Redshift Clusters> in the /Amazon Redshift ClusterManagement Guide/ .+--+-- If you want to shut down the cluster and retain it for future use, set /SkipFinalClusterSnapshot/ to 'false' and specify a name for /FinalClusterSnapshotIdentifier/. You can+-- later restore this snapshot to resume using the cluster. If a final cluster -- snapshot is requested, the status of the cluster will be "final-snapshot"--- while the snapshot is being taken, then it's "deleting" once Amazon--- Redshift begins deleting the cluster. For more information about managing--- clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster--- Management Guide .+-- while the snapshot is being taken, then it's "deleting" once Amazon Redshift+-- begins deleting the cluster. --+-- For more information about managing clusters, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html Amazon Redshift Clusters>+-- in the /Amazon Redshift Cluster Management Guide/ .+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteCluster.html> module Network.AWS.Redshift.DeleteCluster (@@ -84,29 +83,35 @@ , _dc1FinalClusterSnapshotIdentifier = Nothing } --- | The identifier of the cluster to be deleted. Constraints: Must contain--- lowercase characters. Must contain from 1 to 63 alphanumeric characters--- or hyphens. First character must be a letter. Cannot end with a hyphen or--- contain two consecutive hyphens.+-- | The identifier of the cluster to be deleted.+--+-- Constraints:+--+-- Must contain lowercase characters. Must contain from 1 to 63 alphanumeric+-- characters or hyphens. First character must be a letter. Cannot end with a+-- hyphen or contain two consecutive hyphens. dc1ClusterIdentifier :: Lens' DeleteCluster Text dc1ClusterIdentifier = lens _dc1ClusterIdentifier (\s a -> s { _dc1ClusterIdentifier = a }) -- | The identifier of the final snapshot that is to be created immediately--- before deleting the cluster. If this parameter is provided,--- SkipFinalClusterSnapshot must be false. Constraints: Must be 1 to 255--- alphanumeric characters. First character must be a letter. Cannot end--- with a hyphen or contain two consecutive hyphens.+-- before deleting the cluster. If this parameter is provided, /SkipFinalClusterSnapshot/ must be 'false'.+--+-- Constraints:+--+-- Must be 1 to 255 alphanumeric characters. First character must be a letter.+-- Cannot end with a hyphen or contain two consecutive hyphens. dc1FinalClusterSnapshotIdentifier :: Lens' DeleteCluster (Maybe Text) dc1FinalClusterSnapshotIdentifier = lens _dc1FinalClusterSnapshotIdentifier (\s a -> s { _dc1FinalClusterSnapshotIdentifier = a }) --- | Determines whether a final snapshot of the cluster is created before--- Amazon Redshift deletes the cluster. If true, a final cluster snapshot is--- not created. If false, a final cluster snapshot is created before the--- cluster is deleted. The FinalClusterSnapshotIdentifier parameter must be--- specified if SkipFinalClusterSnapshot is false. Default: false.+-- | Determines whether a final snapshot of the cluster is created before Amazon+-- Redshift deletes the cluster. If 'true', a final cluster snapshot is not+-- created. If 'false', a final cluster snapshot is created before the cluster is+-- deleted.+--+-- The /FinalClusterSnapshotIdentifier/ parameter must be specified if /SkipFinalClusterSnapshot/ is 'false'. Default: 'false' dc1SkipFinalClusterSnapshot :: Lens' DeleteCluster (Maybe Bool) dc1SkipFinalClusterSnapshot = lens _dc1SkipFinalClusterSnapshot
gen/Network/AWS/Redshift/DeleteClusterParameterGroup.hs view
@@ -60,9 +60,12 @@ { _dcpg1ParameterGroupName = p1 } --- | The name of the parameter group to be deleted. Constraints: Must be the--- name of an existing cluster parameter group. Cannot delete a default--- cluster parameter group.+-- | The name of the parameter group to be deleted.+--+-- Constraints:+--+-- Must be the name of an existing cluster parameter group. Cannot delete a+-- default cluster parameter group. dcpg1ParameterGroupName :: Lens' DeleteClusterParameterGroup Text dcpg1ParameterGroupName = lens _dcpg1ParameterGroupName (\s a -> s { _dcpg1ParameterGroupName = a })
gen/Network/AWS/Redshift/DeleteClusterSecurityGroup.hs view
@@ -20,11 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deletes an Amazon Redshift security group. You cannot delete a security--- group that is associated with any clusters. You cannot delete the default--- security group. For information about managing security groups, go to--- Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster--- Management Guide.+-- | Deletes an Amazon Redshift security group.+--+-- You cannot delete a security group that is associated with any clusters. You+-- cannot delete the default security group. For information about managing+-- security groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-security-groups.html Amazon Redshift Cluster Security Groups> in the /AmazonRedshift Cluster Management Guide/. -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteClusterSecurityGroup.html> module Network.AWS.Redshift.DeleteClusterSecurityGroup
gen/Network/AWS/Redshift/DeleteClusterSnapshot.hs view
@@ -20,13 +20,14 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Deletes the specified manual snapshot. The snapshot must be in the--- available state, with no other users authorized to access the snapshot.+-- | Deletes the specified manual snapshot. The snapshot must be in the 'available'+-- state, with no other users authorized to access the snapshot.+-- -- Unlike automated snapshots, manual snapshots are retained even after you -- delete your cluster. Amazon Redshift does not delete your manual snapshots.--- You must delete manual snapshot explicitly to avoid getting charged. If--- other accounts are authorized to access the snapshot, you must revoke all--- of the authorizations before you can delete the snapshot.+-- You must delete manual snapshot explicitly to avoid getting charged. If other+-- accounts are authorized to access the snapshot, you must revoke all of the+-- authorizations before you can delete the snapshot. -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteClusterSnapshot.html> module Network.AWS.Redshift.DeleteClusterSnapshot@@ -74,15 +75,17 @@ -- | The unique identifier of the cluster the snapshot was created from. This -- parameter is required if your IAM user has a policy containing a snapshot--- resource element that specifies anything other than * for the cluster--- name. Constraints: Must be the name of valid cluster.+-- resource element that specifies anything other than * for the cluster name.+--+-- Constraints: Must be the name of valid cluster. dcsSnapshotClusterIdentifier :: Lens' DeleteClusterSnapshot (Maybe Text) dcsSnapshotClusterIdentifier = lens _dcsSnapshotClusterIdentifier (\s a -> s { _dcsSnapshotClusterIdentifier = a }) --- | The unique identifier of the manual snapshot to be deleted. Constraints:--- Must be the name of an existing snapshot that is in the available state.+-- | The unique identifier of the manual snapshot to be deleted.+--+-- Constraints: Must be the name of an existing snapshot that is in the 'available' state. dcsSnapshotIdentifier :: Lens' DeleteClusterSnapshot Text dcsSnapshotIdentifier = lens _dcsSnapshotIdentifier (\s a -> s { _dcsSnapshotIdentifier = a })
gen/Network/AWS/Redshift/DeleteEventSubscription.hs view
@@ -59,8 +59,7 @@ { _desSubscriptionName = p1 } --- | The name of the Amazon Redshift event notification subscription to be--- deleted.+-- | The name of the Amazon Redshift event notification subscription to be deleted. desSubscriptionName :: Lens' DeleteEventSubscription Text desSubscriptionName = lens _desSubscriptionName (\s a -> s { _desSubscriptionName = a })
gen/Network/AWS/Redshift/DeleteTags.hs view
@@ -66,7 +66,7 @@ } -- | The Amazon Resource Name (ARN) from which you want to remove the tag or--- tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.+-- tags. For example, 'arn:aws:redshift:us-east-1:123456789:cluster:t1'. dt1ResourceName :: Lens' DeleteTags Text dt1ResourceName = lens _dt1ResourceName (\s a -> s { _dt1ResourceName = a })
gen/Network/AWS/Redshift/DescribeClusterParameterGroups.hs view
@@ -21,20 +21,23 @@ -- Portability : non-portable (GHC extensions) -- | Returns a list of Amazon Redshift parameter groups, including parameter--- groups you created and the default parameter group. For each parameter--- group, the response includes the parameter group name, description, and--- parameter group family name. You can optionally specify a name to retrieve--- the description of a specific parameter group. For more information about--- managing parameter groups, go to Amazon Redshift Parameter Groups in the--- Amazon Redshift Cluster Management Guide. If you specify both tag keys and--- tag values in the same request, Amazon Redshift returns all parameter--- groups that match any combination of the specified keys and values. For--- example, if you have owner and environment for tag keys, and admin and test--- for tag values, all parameter groups that have any combination of those--- values are returned. If both tag keys and values are omitted from the--- request, parameter groups are returned regardless of whether they have tag--- keys or values associated with them.+-- groups you created and the default parameter group. For each parameter group,+-- the response includes the parameter group name, description, and parameter+-- group family name. You can optionally specify a name to retrieve the+-- description of a specific parameter group. --+-- For more information about managing parameter groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html Amazon RedshiftParameter Groups> in the /Amazon Redshift Cluster Management Guide/.+--+-- If you specify both tag keys and tag values in the same request, Amazon+-- Redshift returns all parameter groups that match any combination of the+-- specified keys and values. For example, if you have 'owner' and 'environment' for+-- tag keys, and 'admin' and 'test' for tag values, all parameter groups that have+-- any combination of those values are returned.+--+-- If both tag keys and values are omitted from the request, parameter groups+-- are returned regardless of whether they have tag keys or values associated+-- with them.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusterParameterGroups.html> module Network.AWS.Redshift.DescribeClusterParameterGroups (@@ -94,46 +97,47 @@ , _dcpgTagValues = mempty } --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeClusterParameterGroups--- request exceed the value specified in MaxRecords, AWS returns a value in--- the Marker field of the response. You can retrieve the next set of--- response records by providing the returned marker value in the Marker--- parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeClusterParameterGroups'+-- request exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker' field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. dcpgMarker :: Lens' DescribeClusterParameterGroups (Maybe Text) dcpgMarker = lens _dcpgMarker (\s a -> s { _dcpgMarker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. dcpgMaxRecords :: Lens' DescribeClusterParameterGroups (Maybe Int) dcpgMaxRecords = lens _dcpgMaxRecords (\s a -> s { _dcpgMaxRecords = a }) -- | The name of a specific parameter group for which to return details. By--- default, details about all parameter groups and the default parameter--- group are returned.+-- default, details about all parameter groups and the default parameter group+-- are returned. dcpgParameterGroupName :: Lens' DescribeClusterParameterGroups (Maybe Text) dcpgParameterGroupName = lens _dcpgParameterGroupName (\s a -> s { _dcpgParameterGroupName = a }) --- | A tag key or keys for which you want to return all matching cluster--- parameter groups that are associated with the specified key or keys. For--- example, suppose that you have parameter groups that are tagged with keys--- called owner and environment. If you specify both of these tag keys in--- the request, Amazon Redshift returns a response with the parameter groups--- that have either or both of these tag keys associated with them.+-- | A tag key or keys for which you want to return all matching cluster parameter+-- groups that are associated with the specified key or keys. For example,+-- suppose that you have parameter groups that are tagged with keys called 'owner'+-- and 'environment'. If you specify both of these tag keys in the request, Amazon+-- Redshift returns a response with the parameter groups that have either or+-- both of these tag keys associated with them. dcpgTagKeys :: Lens' DescribeClusterParameterGroups [Text] dcpgTagKeys = lens _dcpgTagKeys (\s a -> s { _dcpgTagKeys = a }) . _List -- | A tag value or values for which you want to return all matching cluster--- parameter groups that are associated with the specified tag value or--- values. For example, suppose that you have parameter groups that are--- tagged with values called admin and test. If you specify both of these--- tag values in the request, Amazon Redshift returns a response with the--- parameter groups that have either or both of these tag values associated--- with them.+-- parameter groups that are associated with the specified tag value or values.+-- For example, suppose that you have parameter groups that are tagged with+-- values called 'admin' and 'test'. If you specify both of these tag values in the+-- request, Amazon Redshift returns a response with the parameter groups that+-- have either or both of these tag values associated with them. dcpgTagValues :: Lens' DescribeClusterParameterGroups [Text] dcpgTagValues = lens _dcpgTagValues (\s a -> s { _dcpgTagValues = a }) . _List @@ -157,15 +161,14 @@ } -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dcpgrMarker :: Lens' DescribeClusterParameterGroupsResponse (Maybe Text) dcpgrMarker = lens _dcpgrMarker (\s a -> s { _dcpgrMarker = a }) --- | A list of ClusterParameterGroup instances. Each instance describes one+-- | A list of 'ClusterParameterGroup' instances. Each instance describes one -- cluster parameter group. dcpgrParameterGroups :: Lens' DescribeClusterParameterGroupsResponse [ClusterParameterGroup] dcpgrParameterGroups =
gen/Network/AWS/Redshift/DescribeClusterParameters.hs view
@@ -23,13 +23,14 @@ -- | Returns a detailed list of parameters contained within the specified Amazon -- Redshift parameter group. For each parameter the response includes -- information such as parameter name, description, data type, value, whether--- the parameter value is modifiable, and so on. You can specify source filter--- to retrieve parameters of only specific type. For example, to retrieve--- parameters that were modified by a user action such as from--- ModifyClusterParameterGroup, you can specify source equal to user. For more--- information about managing parameter groups, go to Amazon Redshift--- Parameter Groups in the Amazon Redshift Cluster Management Guide.+-- the parameter value is modifiable, and so on. --+-- You can specify /source/ filter to retrieve parameters of only specific type.+-- For example, to retrieve parameters that were modified by a user action such+-- as from 'ModifyClusterParameterGroup', you can specify /source/ equal to /user/.+--+-- For more information about managing parameter groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html Amazon RedshiftParameter Groups> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusterParameters.html> module Network.AWS.Redshift.DescribeClusterParameters (@@ -85,20 +86,23 @@ , _dcp1Marker = Nothing } --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeClusterParameters--- request exceed the value specified in MaxRecords, AWS returns a value in--- the Marker field of the response. You can retrieve the next set of--- response records by providing the returned marker value in the Marker--- parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeClusterParameters' request+-- exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker'+-- field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. dcp1Marker :: Lens' DescribeClusterParameters (Maybe Text) dcp1Marker = lens _dcp1Marker (\s a -> s { _dcp1Marker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. dcp1MaxRecords :: Lens' DescribeClusterParameters (Maybe Int) dcp1MaxRecords = lens _dcp1MaxRecords (\s a -> s { _dcp1MaxRecords = a }) @@ -107,10 +111,13 @@ dcp1ParameterGroupName = lens _dcp1ParameterGroupName (\s a -> s { _dcp1ParameterGroupName = a }) --- | The parameter types to return. Specify user to show parameters that are--- different form the default. Similarly, specify engine-default to show--- parameters that are the same as the default parameter group. Default: All--- parameter types returned. Valid Values: user | engine-default.+-- | The parameter types to return. Specify 'user' to show parameters that are+-- different form the default. Similarly, specify 'engine-default' to show+-- parameters that are the same as the default parameter group.+--+-- Default: All parameter types returned.+--+-- Valid Values: 'user' | 'engine-default' dcp1Source :: Lens' DescribeClusterParameters (Maybe Text) dcp1Source = lens _dcp1Source (\s a -> s { _dcp1Source = a }) @@ -134,15 +141,14 @@ } -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dcprMarker :: Lens' DescribeClusterParametersResponse (Maybe Text) dcprMarker = lens _dcprMarker (\s a -> s { _dcprMarker = a }) --- | A list of Parameter instances. Each instance lists the parameters of one+-- | A list of 'Parameter' instances. Each instance lists the parameters of one -- cluster parameter group. dcprParameters :: Lens' DescribeClusterParametersResponse [Parameter] dcprParameters = lens _dcprParameters (\s a -> s { _dcprParameters = a }) . _List
gen/Network/AWS/Redshift/DescribeClusterSecurityGroups.hs view
@@ -21,18 +21,21 @@ -- Portability : non-portable (GHC extensions) -- | Returns information about Amazon Redshift security groups. If the name of a--- security group is specified, the response will contain only information--- about only that security group. For information about managing security--- groups, go to Amazon Redshift Cluster Security Groups in the Amazon--- Redshift Cluster Management Guide. If you specify both tag keys and tag--- values in the same request, Amazon Redshift returns all security groups--- that match any combination of the specified keys and values. For example,--- if you have owner and environment for tag keys, and admin and test for tag--- values, all security groups that have any combination of those values are--- returned. If both tag keys and values are omitted from the request,--- security groups are returned regardless of whether they have tag keys or--- values associated with them.+-- security group is specified, the response will contain only information about+-- only that security group. --+-- For information about managing security groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-security-groups.html Amazon RedshiftCluster Security Groups> in the /Amazon Redshift Cluster Management Guide/.+--+-- If you specify both tag keys and tag values in the same request, Amazon+-- Redshift returns all security groups that match any combination of the+-- specified keys and values. For example, if you have 'owner' and 'environment' for+-- tag keys, and 'admin' and 'test' for tag values, all security groups that have+-- any combination of those values are returned.+--+-- If both tag keys and values are omitted from the request, security groups+-- are returned regardless of whether they have tag keys or values associated+-- with them.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusterSecurityGroups.html> module Network.AWS.Redshift.DescribeClusterSecurityGroups (@@ -92,50 +95,54 @@ , _dcsgTagValues = mempty } --- | The name of a cluster security group for which you are requesting--- details. You can specify either the Marker parameter or a--- ClusterSecurityGroupName parameter, but not both. Example:--- securitygroup1.+-- | The name of a cluster security group for which you are requesting details.+-- You can specify either the Marker parameter or a ClusterSecurityGroupName+-- parameter, but not both.+--+-- Example: 'securitygroup1' dcsgClusterSecurityGroupName :: Lens' DescribeClusterSecurityGroups (Maybe Text) dcsgClusterSecurityGroupName = lens _dcsgClusterSecurityGroupName (\s a -> s { _dcsgClusterSecurityGroupName = a }) --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeClusterSecurityGroups--- request exceed the value specified in MaxRecords, AWS returns a value in--- the Marker field of the response. You can retrieve the next set of--- response records by providing the returned marker value in the Marker--- parameter and retrying the request. Constraints: You can specify either--- the ClusterSecurityGroupName parameter or the Marker parameter, but not--- both.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeClusterSecurityGroups' request+-- exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker'+-- field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request.+--+-- Constraints: You can specify either the ClusterSecurityGroupName parameter+-- or the Marker parameter, but not both. dcsgMarker :: Lens' DescribeClusterSecurityGroups (Maybe Text) dcsgMarker = lens _dcsgMarker (\s a -> s { _dcsgMarker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. dcsgMaxRecords :: Lens' DescribeClusterSecurityGroups (Maybe Int) dcsgMaxRecords = lens _dcsgMaxRecords (\s a -> s { _dcsgMaxRecords = a }) --- | A tag key or keys for which you want to return all matching cluster--- security groups that are associated with the specified key or keys. For--- example, suppose that you have security groups that are tagged with keys--- called owner and environment. If you specify both of these tag keys in--- the request, Amazon Redshift returns a response with the security groups--- that have either or both of these tag keys associated with them.+-- | A tag key or keys for which you want to return all matching cluster security+-- groups that are associated with the specified key or keys. For example,+-- suppose that you have security groups that are tagged with keys called 'owner'+-- and 'environment'. If you specify both of these tag keys in the request, Amazon+-- Redshift returns a response with the security groups that have either or both+-- of these tag keys associated with them. dcsgTagKeys :: Lens' DescribeClusterSecurityGroups [Text] dcsgTagKeys = lens _dcsgTagKeys (\s a -> s { _dcsgTagKeys = a }) . _List -- | A tag value or values for which you want to return all matching cluster--- security groups that are associated with the specified tag value or--- values. For example, suppose that you have security groups that are--- tagged with values called admin and test. If you specify both of these--- tag values in the request, Amazon Redshift returns a response with the--- security groups that have either or both of these tag values associated--- with them.+-- security groups that are associated with the specified tag value or values.+-- For example, suppose that you have security groups that are tagged with+-- values called 'admin' and 'test'. If you specify both of these tag values in the+-- request, Amazon Redshift returns a response with the security groups that+-- have either or both of these tag values associated with them. dcsgTagValues :: Lens' DescribeClusterSecurityGroups [Text] dcsgTagValues = lens _dcsgTagValues (\s a -> s { _dcsgTagValues = a }) . _List @@ -158,7 +165,7 @@ , _dcsgr1ClusterSecurityGroups = mempty } --- | A list of ClusterSecurityGroup instances.+-- | A list of 'ClusterSecurityGroup' instances. dcsgr1ClusterSecurityGroups :: Lens' DescribeClusterSecurityGroupsResponse [ClusterSecurityGroup] dcsgr1ClusterSecurityGroups = lens _dcsgr1ClusterSecurityGroups@@ -166,11 +173,10 @@ . _List -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dcsgr1Marker :: Lens' DescribeClusterSecurityGroupsResponse (Maybe Text) dcsgr1Marker = lens _dcsgr1Marker (\s a -> s { _dcsgr1Marker = a })
gen/Network/AWS/Redshift/DescribeClusterSnapshots.hs view
@@ -24,16 +24,20 @@ -- cluster snapshots. By default, this operation returns information about all -- snapshots of all clusters that are owned by you AWS customer account. No -- information is returned for snapshots owned by inactive AWS customer--- accounts. If you specify both tag keys and tag values in the same request,--- Amazon Redshift returns all snapshots that match any combination of the--- specified keys and values. For example, if you have owner and environment--- for tag keys, and admin and test for tag values, all snapshots that have--- any combination of those values are returned. Only snapshots that you own--- are returned in the response; shared snapshots are not returned with the--- tag key and tag value request parameters. If both tag keys and values are--- omitted from the request, snapshots are returned regardless of whether they--- have tag keys or values associated with them.+-- accounts. --+-- If you specify both tag keys and tag values in the same request, Amazon+-- Redshift returns all snapshots that match any combination of the specified+-- keys and values. For example, if you have 'owner' and 'environment' for tag keys,+-- and 'admin' and 'test' for tag values, all snapshots that have any combination of+-- those values are returned. Only snapshots that you own are returned in the+-- response; shared snapshots are not returned with the tag key and tag value+-- request parameters.+--+-- If both tag keys and values are omitted from the request, snapshots are+-- returned regardless of whether they have tag keys or values associated with+-- them.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusterSnapshots.html> module Network.AWS.Redshift.DescribeClusterSnapshots (@@ -69,13 +73,13 @@ data DescribeClusterSnapshots = DescribeClusterSnapshots { _dcs1ClusterIdentifier :: Maybe Text- , _dcs1EndTime :: Maybe RFC822+ , _dcs1EndTime :: Maybe ISO8601 , _dcs1Marker :: Maybe Text , _dcs1MaxRecords :: Maybe Int , _dcs1OwnerAccount :: Maybe Text , _dcs1SnapshotIdentifier :: Maybe Text , _dcs1SnapshotType :: Maybe Text- , _dcs1StartTime :: Maybe RFC822+ , _dcs1StartTime :: Maybe ISO8601 , _dcs1TagKeys :: List "TagKey" Text , _dcs1TagValues :: List "TagValue" Text } deriving (Eq, Ord, Show)@@ -124,71 +128,75 @@ dcs1ClusterIdentifier = lens _dcs1ClusterIdentifier (\s a -> s { _dcs1ClusterIdentifier = a }) --- | A time value that requests only snapshots created at or before the--- specified time. The time value is specified in ISO 8601 format. For more--- information about ISO 8601, go to the ISO8601 Wikipedia page. Example:--- 2012-07-16T18:00:00Z.+-- | A time value that requests only snapshots created at or before the specified+-- time. The time value is specified in ISO 8601 format. For more information+-- about ISO 8601, go to the <http://en.wikipedia.org/wiki/ISO_8601 ISO8601 Wikipedia page.>+--+-- Example: '2012-07-16T18:00:00Z' dcs1EndTime :: Lens' DescribeClusterSnapshots (Maybe UTCTime) dcs1EndTime = lens _dcs1EndTime (\s a -> s { _dcs1EndTime = a }) . mapping _Time --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeClusterSnapshots--- request exceed the value specified in MaxRecords, AWS returns a value in--- the Marker field of the response. You can retrieve the next set of--- response records by providing the returned marker value in the Marker--- parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeClusterSnapshots' request+-- exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker'+-- field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. dcs1Marker :: Lens' DescribeClusterSnapshots (Maybe Text) dcs1Marker = lens _dcs1Marker (\s a -> s { _dcs1Marker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. dcs1MaxRecords :: Lens' DescribeClusterSnapshots (Maybe Int) dcs1MaxRecords = lens _dcs1MaxRecords (\s a -> s { _dcs1MaxRecords = a }) --- | The AWS customer account used to create or copy the snapshot. Use this--- field to filter the results to snapshots owned by a particular account.--- To describe snapshots you own, either specify your AWS customer account,--- or do not specify the parameter.+-- | The AWS customer account used to create or copy the snapshot. Use this field+-- to filter the results to snapshots owned by a particular account. To describe+-- snapshots you own, either specify your AWS customer account, or do not+-- specify the parameter. dcs1OwnerAccount :: Lens' DescribeClusterSnapshots (Maybe Text) dcs1OwnerAccount = lens _dcs1OwnerAccount (\s a -> s { _dcs1OwnerAccount = a }) --- | The snapshot identifier of the snapshot about which to return--- information.+-- | The snapshot identifier of the snapshot about which to return information. dcs1SnapshotIdentifier :: Lens' DescribeClusterSnapshots (Maybe Text) dcs1SnapshotIdentifier = lens _dcs1SnapshotIdentifier (\s a -> s { _dcs1SnapshotIdentifier = a }) --- | The type of snapshots for which you are requesting information. By--- default, snapshots of all types are returned. Valid Values: automated |--- manual.+-- | The type of snapshots for which you are requesting information. By default,+-- snapshots of all types are returned.+--+-- Valid Values: 'automated' | 'manual' dcs1SnapshotType :: Lens' DescribeClusterSnapshots (Maybe Text) dcs1SnapshotType = lens _dcs1SnapshotType (\s a -> s { _dcs1SnapshotType = a }) --- | A value that requests only snapshots created at or after the specified--- time. The time value is specified in ISO 8601 format. For more--- information about ISO 8601, go to the ISO8601 Wikipedia page. Example:--- 2012-07-16T18:00:00Z.+-- | A value that requests only snapshots created at or after the specified time.+-- The time value is specified in ISO 8601 format. For more information about+-- ISO 8601, go to the <http://en.wikipedia.org/wiki/ISO_8601 ISO8601 Wikipedia page.>+--+-- Example: '2012-07-16T18:00:00Z' dcs1StartTime :: Lens' DescribeClusterSnapshots (Maybe UTCTime) dcs1StartTime = lens _dcs1StartTime (\s a -> s { _dcs1StartTime = a }) . mapping _Time --- | A tag key or keys for which you want to return all matching cluster--- snapshots that are associated with the specified key or keys. For--- example, suppose that you have snapshots that are tagged with keys called--- owner and environment. If you specify both of these tag keys in the--- request, Amazon Redshift returns a response with the snapshots that have--- either or both of these tag keys associated with them.+-- | A tag key or keys for which you want to return all matching cluster snapshots+-- that are associated with the specified key or keys. For example, suppose that+-- you have snapshots that are tagged with keys called 'owner' and 'environment'. If+-- you specify both of these tag keys in the request, Amazon Redshift returns a+-- response with the snapshots that have either or both of these tag keys+-- associated with them. dcs1TagKeys :: Lens' DescribeClusterSnapshots [Text] dcs1TagKeys = lens _dcs1TagKeys (\s a -> s { _dcs1TagKeys = a }) . _List -- | A tag value or values for which you want to return all matching cluster -- snapshots that are associated with the specified tag value or values. For--- example, suppose that you have snapshots that are tagged with values--- called admin and test. If you specify both of these tag values in the--- request, Amazon Redshift returns a response with the snapshots that have--- either or both of these tag values associated with them.+-- example, suppose that you have snapshots that are tagged with values called 'admin' and 'test'. If you specify both of these tag values in the request, Amazon+-- Redshift returns a response with the snapshots that have either or both of+-- these tag values associated with them. dcs1TagValues :: Lens' DescribeClusterSnapshots [Text] dcs1TagValues = lens _dcs1TagValues (\s a -> s { _dcs1TagValues = a }) . _List @@ -212,15 +220,14 @@ } -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dcsrMarker :: Lens' DescribeClusterSnapshotsResponse (Maybe Text) dcsrMarker = lens _dcsrMarker (\s a -> s { _dcsrMarker = a }) --- | A list of Snapshot instances.+-- | A list of 'Snapshot' instances. dcsrSnapshots :: Lens' DescribeClusterSnapshotsResponse [Snapshot] dcsrSnapshots = lens _dcsrSnapshots (\s a -> s { _dcsrSnapshots = a }) . _List
gen/Network/AWS/Redshift/DescribeClusterSubnetGroups.hs view
@@ -23,14 +23,18 @@ -- | Returns one or more cluster subnet group objects, which contain metadata -- about your cluster subnet groups. By default, this operation returns -- information about all cluster subnet groups that are defined in you AWS--- account. If you specify both tag keys and tag values in the same request,--- Amazon Redshift returns all subnet groups that match any combination of the--- specified keys and values. For example, if you have owner and environment--- for tag keys, and admin and test for tag values, all subnet groups that--- have any combination of those values are returned. If both tag keys and--- values are omitted from the request, subnet groups are returned regardless--- of whether they have tag keys or values associated with them.+-- account. --+-- If you specify both tag keys and tag values in the same request, Amazon+-- Redshift returns all subnet groups that match any combination of the+-- specified keys and values. For example, if you have 'owner' and 'environment' for+-- tag keys, and 'admin' and 'test' for tag values, all subnet groups that have any+-- combination of those values are returned.+--+-- If both tag keys and values are omitted from the request, subnet groups are+-- returned regardless of whether they have tag keys or values associated with+-- them.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusterSubnetGroups.html> module Network.AWS.Redshift.DescribeClusterSubnetGroups (@@ -96,38 +100,41 @@ lens _dcsg1ClusterSubnetGroupName (\s a -> s { _dcsg1ClusterSubnetGroupName = a }) --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeClusterSubnetGroups--- request exceed the value specified in MaxRecords, AWS returns a value in--- the Marker field of the response. You can retrieve the next set of--- response records by providing the returned marker value in the Marker--- parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeClusterSubnetGroups' request+-- exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker'+-- field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. dcsg1Marker :: Lens' DescribeClusterSubnetGroups (Maybe Text) dcsg1Marker = lens _dcsg1Marker (\s a -> s { _dcsg1Marker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. dcsg1MaxRecords :: Lens' DescribeClusterSubnetGroups (Maybe Int) dcsg1MaxRecords = lens _dcsg1MaxRecords (\s a -> s { _dcsg1MaxRecords = a }) --- | A tag key or keys for which you want to return all matching cluster--- subnet groups that are associated with the specified key or keys. For--- example, suppose that you have subnet groups that are tagged with keys--- called owner and environment. If you specify both of these tag keys in--- the request, Amazon Redshift returns a response with the subnet groups--- that have either or both of these tag keys associated with them.+-- | A tag key or keys for which you want to return all matching cluster subnet+-- groups that are associated with the specified key or keys. For example,+-- suppose that you have subnet groups that are tagged with keys called 'owner'+-- and 'environment'. If you specify both of these tag keys in the request, Amazon+-- Redshift returns a response with the subnet groups that have either or both+-- of these tag keys associated with them. dcsg1TagKeys :: Lens' DescribeClusterSubnetGroups [Text] dcsg1TagKeys = lens _dcsg1TagKeys (\s a -> s { _dcsg1TagKeys = a }) . _List -- | A tag value or values for which you want to return all matching cluster--- subnet groups that are associated with the specified tag value or values.--- For example, suppose that you have subnet groups that are tagged with--- values called admin and test. If you specify both of these tag values in--- the request, Amazon Redshift returns a response with the subnet groups--- that have either or both of these tag values associated with them.+-- subnet groups that are associated with the specified tag value or values. For+-- example, suppose that you have subnet groups that are tagged with values+-- called 'admin' and 'test'. If you specify both of these tag values in the+-- request, Amazon Redshift returns a response with the subnet groups that have+-- either or both of these tag values associated with them. dcsg1TagValues :: Lens' DescribeClusterSubnetGroups [Text] dcsg1TagValues = lens _dcsg1TagValues (\s a -> s { _dcsg1TagValues = a }) . _List @@ -150,7 +157,7 @@ , _dcsgrClusterSubnetGroups = mempty } --- | A list of ClusterSubnetGroup instances.+-- | A list of 'ClusterSubnetGroup' instances. dcsgrClusterSubnetGroups :: Lens' DescribeClusterSubnetGroupsResponse [ClusterSubnetGroup] dcsgrClusterSubnetGroups = lens _dcsgrClusterSubnetGroups@@ -158,11 +165,10 @@ . _List -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dcsgrMarker :: Lens' DescribeClusterSubnetGroupsResponse (Maybe Text) dcsgrMarker = lens _dcsgrMarker (\s a -> s { _dcsgrMarker = a })
gen/Network/AWS/Redshift/DescribeClusterVersions.hs view
@@ -21,11 +21,11 @@ -- Portability : non-portable (GHC extensions) -- | Returns descriptions of the available Amazon Redshift cluster versions. You--- can call this operation even before creating any clusters to learn more--- about the Amazon Redshift versions. For more information about managing--- clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster--- Management Guide.+-- can call this operation even before creating any clusters to learn more about+-- the Amazon Redshift versions. For more information about managing clusters,+-- go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html Amazon Redshift Clusters> in the /Amazon Redshift Cluster Management Guide/ --+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusterVersions.html> module Network.AWS.Redshift.DescribeClusterVersions (@@ -80,34 +80,41 @@ , _dcvMarker = Nothing } --- | The name of a specific cluster parameter group family to return details--- for. Constraints: Must be 1 to 255 alphanumeric characters First--- character must be a letter Cannot end with a hyphen or contain two--- consecutive hyphens.+-- | The name of a specific cluster parameter group family to return details for.+--+-- Constraints:+--+-- Must be 1 to 255 alphanumeric characters First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens+-- dcvClusterParameterGroupFamily :: Lens' DescribeClusterVersions (Maybe Text) dcvClusterParameterGroupFamily = lens _dcvClusterParameterGroupFamily (\s a -> s { _dcvClusterParameterGroupFamily = a }) --- | The specific cluster version to return. Example: 1.0.+-- | The specific cluster version to return.+--+-- Example: '1.0' dcvClusterVersion :: Lens' DescribeClusterVersions (Maybe Text) dcvClusterVersion = lens _dcvClusterVersion (\s a -> s { _dcvClusterVersion = a }) --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeClusterVersions--- request exceed the value specified in MaxRecords, AWS returns a value in--- the Marker field of the response. You can retrieve the next set of--- response records by providing the returned marker value in the Marker--- parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeClusterVersions' request+-- exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker'+-- field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. dcvMarker :: Lens' DescribeClusterVersions (Maybe Text) dcvMarker = lens _dcvMarker (\s a -> s { _dcvMarker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. dcvMaxRecords :: Lens' DescribeClusterVersions (Maybe Int) dcvMaxRecords = lens _dcvMaxRecords (\s a -> s { _dcvMaxRecords = a }) @@ -130,18 +137,17 @@ , _dcvrClusterVersions = mempty } --- | A list of Version elements.+-- | A list of 'Version' elements. dcvrClusterVersions :: Lens' DescribeClusterVersionsResponse [ClusterVersion] dcvrClusterVersions = lens _dcvrClusterVersions (\s a -> s { _dcvrClusterVersions = a }) . _List -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dcvrMarker :: Lens' DescribeClusterVersionsResponse (Maybe Text) dcvrMarker = lens _dcvrMarker (\s a -> s { _dcvrMarker = a })
gen/Network/AWS/Redshift/DescribeClusters.hs view
@@ -23,16 +23,19 @@ -- | Returns properties of provisioned clusters including general cluster -- properties, cluster database properties, maintenance and backup properties, -- and security and access properties. This operation supports pagination. For--- more information about managing clusters, go to Amazon Redshift Clusters in--- the Amazon Redshift Cluster Management Guide . If you specify both tag keys--- and tag values in the same request, Amazon Redshift returns all clusters--- that match any combination of the specified keys and values. For example,--- if you have owner and environment for tag keys, and admin and test for tag--- values, all clusters that have any combination of those values are--- returned. If both tag keys and values are omitted from the request,--- clusters are returned regardless of whether they have tag keys or values--- associated with them.+-- more information about managing clusters, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html Amazon Redshift Clusters> in+-- the /Amazon Redshift Cluster Management Guide/ . --+-- If you specify both tag keys and tag values in the same request, Amazon+-- Redshift returns all clusters that match any combination of the specified+-- keys and values. For example, if you have 'owner' and 'environment' for tag keys,+-- and 'admin' and 'test' for tag values, all clusters that have any combination of+-- those values are returned.+--+-- If both tag keys and values are omitted from the request, clusters are+-- returned regardless of whether they have tag keys or values associated with+-- them.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusters.html> module Network.AWS.Redshift.DescribeClusters (@@ -92,46 +95,51 @@ , _dcTagValues = mempty } --- | The unique identifier of a cluster whose properties you are requesting.--- This parameter is case sensitive. The default is that all clusters--- defined for an account are returned.+-- | The unique identifier of a cluster whose properties you are requesting. This+-- parameter is case sensitive.+--+-- The default is that all clusters defined for an account are returned. dcClusterIdentifier :: Lens' DescribeClusters (Maybe Text) dcClusterIdentifier = lens _dcClusterIdentifier (\s a -> s { _dcClusterIdentifier = a }) --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeClusters request--- exceed the value specified in MaxRecords, AWS returns a value in the--- Marker field of the response. You can retrieve the next set of response--- records by providing the returned marker value in the Marker parameter--- and retrying the request. Constraints: You can specify either the--- ClusterIdentifier parameter or the Marker parameter, but not both.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeClusters' request exceed the+-- value specified in 'MaxRecords', AWS returns a value in the 'Marker' field of the+-- response. You can retrieve the next set of response records by providing the+-- returned marker value in the 'Marker' parameter and retrying the request.+--+-- Constraints: You can specify either the ClusterIdentifier parameter or the Marker+-- parameter, but not both. dcMarker :: Lens' DescribeClusters (Maybe Text) dcMarker = lens _dcMarker (\s a -> s { _dcMarker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. dcMaxRecords :: Lens' DescribeClusters (Maybe Int) dcMaxRecords = lens _dcMaxRecords (\s a -> s { _dcMaxRecords = a }) --- | A tag key or keys for which you want to return all matching clusters that--- are associated with the specified key or keys. For example, suppose that--- you have clusters that are tagged with keys called owner and environment.--- If you specify both of these tag keys in the request, Amazon Redshift--- returns a response with the clusters that have either or both of these--- tag keys associated with them.+-- | A tag key or keys for which you want to return all matching clusters that are+-- associated with the specified key or keys. For example, suppose that you have+-- clusters that are tagged with keys called 'owner' and 'environment'. If you+-- specify both of these tag keys in the request, Amazon Redshift returns a+-- response with the clusters that have either or both of these tag keys+-- associated with them. dcTagKeys :: Lens' DescribeClusters [Text] dcTagKeys = lens _dcTagKeys (\s a -> s { _dcTagKeys = a }) . _List --- | A tag value or values for which you want to return all matching clusters--- that are associated with the specified tag value or values. For example,--- suppose that you have clusters that are tagged with values called admin--- and test. If you specify both of these tag values in the request, Amazon--- Redshift returns a response with the clusters that have either or both of--- these tag values associated with them.+-- | A tag value or values for which you want to return all matching clusters that+-- are associated with the specified tag value or values. For example, suppose+-- that you have clusters that are tagged with values called 'admin' and 'test'. If+-- you specify both of these tag values in the request, Amazon Redshift returns+-- a response with the clusters that have either or both of these tag values+-- associated with them. dcTagValues :: Lens' DescribeClusters [Text] dcTagValues = lens _dcTagValues (\s a -> s { _dcTagValues = a }) . _List @@ -154,16 +162,15 @@ , _dcrClusters = mempty } --- | A list of Cluster objects, where each object describes one cluster.+-- | A list of 'Cluster' objects, where each object describes one cluster. dcrClusters :: Lens' DescribeClustersResponse [Cluster] dcrClusters = lens _dcrClusters (\s a -> s { _dcrClusters = a }) . _List -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dcrMarker :: Lens' DescribeClustersResponse (Maybe Text) dcrMarker = lens _dcrMarker (\s a -> s { _dcrMarker = a })
gen/Network/AWS/Redshift/DescribeDefaultClusterParameters.hs view
@@ -21,9 +21,10 @@ -- Portability : non-portable (GHC extensions) -- | Returns a list of parameter settings for the specified parameter group--- family. For more information about managing parameter groups, go to Amazon--- Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.+-- family. --+-- For more information about managing parameter groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html Amazon RedshiftParameter Groups> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeDefaultClusterParameters.html> module Network.AWS.Redshift.DescribeDefaultClusterParameters (@@ -73,20 +74,22 @@ , _ddcpMarker = Nothing } --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a--- DescribeDefaultClusterParameters request exceed the value specified in--- MaxRecords, AWS returns a value in the Marker field of the response. You--- can retrieve the next set of response records by providing the returned--- marker value in the Marker parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeDefaultClusterParameters'+-- request exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker' field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. ddcpMarker :: Lens' DescribeDefaultClusterParameters (Maybe Text) ddcpMarker = lens _ddcpMarker (\s a -> s { _ddcpMarker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. ddcpMaxRecords :: Lens' DescribeDefaultClusterParameters (Maybe Int) ddcpMaxRecords = lens _ddcpMaxRecords (\s a -> s { _ddcpMaxRecords = a })
gen/Network/AWS/Redshift/DescribeEventCategories.hs view
@@ -22,7 +22,7 @@ -- | Displays a list of event categories for all event source types, or for a -- specified source type. For a list of the event categories and source types,--- go to Amazon Redshift Event Notifications.+-- go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html Amazon Redshift Event Notifications>. -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeEventCategories.html> module Network.AWS.Redshift.DescribeEventCategories@@ -62,9 +62,10 @@ { _decSourceType = Nothing } --- | The source type, such as cluster or parameter group, to which the--- described event categories apply. Valid values: cluster, snapshot,--- parameter group, and security group.+-- | The source type, such as cluster or parameter group, to which the described+-- event categories apply.+--+-- Valid values: cluster, snapshot, parameter group, and security group. decSourceType :: Lens' DescribeEventCategories (Maybe Text) decSourceType = lens _decSourceType (\s a -> s { _decSourceType = a })
gen/Network/AWS/Redshift/DescribeEventSubscriptions.hs view
@@ -73,20 +73,23 @@ , _des1Marker = Nothing } --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeEventSubscriptions--- request exceed the value specified in MaxRecords, AWS returns a value in--- the Marker field of the response. You can retrieve the next set of--- response records by providing the returned marker value in the Marker--- parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeEventSubscriptions' request+-- exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker'+-- field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. des1Marker :: Lens' DescribeEventSubscriptions (Maybe Text) des1Marker = lens _des1Marker (\s a -> s { _des1Marker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. des1MaxRecords :: Lens' DescribeEventSubscriptions (Maybe Int) des1MaxRecords = lens _des1MaxRecords (\s a -> s { _des1MaxRecords = a }) @@ -123,11 +126,10 @@ . _List -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. desrMarker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text) desrMarker = lens _desrMarker (\s a -> s { _desrMarker = a })
gen/Network/AWS/Redshift/DescribeEvents.hs view
@@ -58,12 +58,12 @@ data DescribeEvents = DescribeEvents { _deDuration :: Maybe Int- , _deEndTime :: Maybe RFC822+ , _deEndTime :: Maybe ISO8601 , _deMarker :: Maybe Text , _deMaxRecords :: Maybe Int , _deSourceIdentifier :: Maybe Text , _deSourceType :: Maybe SourceType- , _deStartTime :: Maybe RFC822+ , _deStartTime :: Maybe ISO8601 } deriving (Eq, Show) -- | 'DescribeEvents' constructor.@@ -95,62 +95,72 @@ , _deMarker = Nothing } --- | The number of minutes prior to the time of the request for which to--- retrieve events. For example, if the request is sent at 18:00 and you--- specify a duration of 60, then only events which have occurred after--- 17:00 will be returned. Default: 60.+-- | The number of minutes prior to the time of the request for which to retrieve+-- events. For example, if the request is sent at 18:00 and you specify a+-- duration of 60, then only events which have occurred after 17:00 will be+-- returned.+--+-- Default: '60' deDuration :: Lens' DescribeEvents (Maybe Int) deDuration = lens _deDuration (\s a -> s { _deDuration = a }) --- | The end of the time interval for which to retrieve events, specified in--- ISO 8601 format. For more information about ISO 8601, go to the ISO8601--- Wikipedia page. Example: 2009-07-08T18:00Z.+-- | The end of the time interval for which to retrieve events, specified in ISO+-- 8601 format. For more information about ISO 8601, go to the <http://en.wikipedia.org/wiki/ISO_8601 ISO8601 Wikipediapage.>+--+-- Example: '2009-07-08T18:00Z' deEndTime :: Lens' DescribeEvents (Maybe UTCTime) deEndTime = lens _deEndTime (\s a -> s { _deEndTime = a }) . mapping _Time --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeEvents request exceed--- the value specified in MaxRecords, AWS returns a value in the Marker--- field of the response. You can retrieve the next set of response records--- by providing the returned marker value in the Marker parameter and--- retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeEvents' request exceed the+-- value specified in 'MaxRecords', AWS returns a value in the 'Marker' field of the+-- response. You can retrieve the next set of response records by providing the+-- returned marker value in the 'Marker' parameter and retrying the request. deMarker :: Lens' DescribeEvents (Maybe Text) deMarker = lens _deMarker (\s a -> s { _deMarker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. deMaxRecords :: Lens' DescribeEvents (Maybe Int) deMaxRecords = lens _deMaxRecords (\s a -> s { _deMaxRecords = a }) -- | The identifier of the event source for which events will be returned. If -- this parameter is not specified, then all sources are included in the--- response. Constraints: If SourceIdentifier is supplied, SourceType must--- also be provided. Specify a cluster identifier when SourceType is--- cluster. Specify a cluster security group name when SourceType is--- cluster-security-group. Specify a cluster parameter group name when--- SourceType is cluster-parameter-group. Specify a cluster snapshot--- identifier when SourceType is cluster-snapshot.+-- response.+--+-- Constraints:+--+-- If /SourceIdentifier/ is supplied, /SourceType/ must also be provided.+--+-- Specify a cluster identifier when /SourceType/ is 'cluster'. Specify a cluster+-- security group name when /SourceType/ is 'cluster-security-group'. Specify a+-- cluster parameter group name when /SourceType/ is 'cluster-parameter-group'. Specify a cluster snapshot identifier when+-- /SourceType/ is 'cluster-snapshot'. deSourceIdentifier :: Lens' DescribeEvents (Maybe Text) deSourceIdentifier = lens _deSourceIdentifier (\s a -> s { _deSourceIdentifier = a }) -- | The event source to retrieve events for. If no value is specified, all--- events are returned. Constraints: If SourceType is supplied,--- SourceIdentifier must also be provided. Specify cluster when--- SourceIdentifier is a cluster identifier. Specify cluster-security-group--- when SourceIdentifier is a cluster security group name. Specify--- cluster-parameter-group when SourceIdentifier is a cluster parameter--- group name. Specify cluster-snapshot when SourceIdentifier is a cluster--- snapshot identifier.+-- events are returned.+--+-- Constraints:+--+-- If /SourceType/ is supplied, /SourceIdentifier/ must also be provided.+--+-- Specify 'cluster' when /SourceIdentifier/ is a cluster identifier. Specify 'cluster-security-group' when /SourceIdentifier/ is a cluster security group name. Specify 'cluster-parameter-group' when /SourceIdentifier/ is a cluster parameter group name. Specify 'cluster-snapshot' when /SourceIdentifier/ is a cluster snapshot identifier. deSourceType :: Lens' DescribeEvents (Maybe SourceType) deSourceType = lens _deSourceType (\s a -> s { _deSourceType = a }) --- | The beginning of the time interval to retrieve events for, specified in--- ISO 8601 format. For more information about ISO 8601, go to the ISO8601--- Wikipedia page. Example: 2009-07-08T18:00Z.+-- | The beginning of the time interval to retrieve events for, specified in ISO+-- 8601 format. For more information about ISO 8601, go to the <http://en.wikipedia.org/wiki/ISO_8601 ISO8601 Wikipediapage.>+--+-- Example: '2009-07-08T18:00Z' deStartTime :: Lens' DescribeEvents (Maybe UTCTime) deStartTime = lens _deStartTime (\s a -> s { _deStartTime = a }) . mapping _Time @@ -173,16 +183,15 @@ , _derEvents = mempty } --- | A list of Event instances.+-- | A list of 'Event' instances. derEvents :: Lens' DescribeEventsResponse [Event] derEvents = lens _derEvents (\s a -> s { _derEvents = a }) . _List -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. derMarker :: Lens' DescribeEventsResponse (Maybe Text) derMarker = lens _derMarker (\s a -> s { _derMarker = a })
gen/Network/AWS/Redshift/DescribeHsmClientCertificates.hs view
@@ -22,15 +22,18 @@ -- | Returns information about the specified HSM client certificate. If no -- certificate ID is specified, returns information about all the HSM--- certificates owned by your AWS customer account. If you specify both tag--- keys and tag values in the same request, Amazon Redshift returns all HSM--- client certificates that match any combination of the specified keys and--- values. For example, if you have owner and environment for tag keys, and--- admin and test for tag values, all HSM client certificates that have any--- combination of those values are returned. If both tag keys and values are--- omitted from the request, HSM client certificates are returned regardless--- of whether they have tag keys or values associated with them.+-- certificates owned by your AWS customer account. --+-- If you specify both tag keys and tag values in the same request, Amazon+-- Redshift returns all HSM client certificates that match any combination of+-- the specified keys and values. For example, if you have 'owner' and 'environment'+-- for tag keys, and 'admin' and 'test' for tag values, all HSM client certificates+-- that have any combination of those values are returned.+--+-- If both tag keys and values are omitted from the request, HSM client+-- certificates are returned regardless of whether they have tag keys or values+-- associated with them.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeHsmClientCertificates.html> module Network.AWS.Redshift.DescribeHsmClientCertificates (@@ -91,47 +94,48 @@ } -- | The identifier of a specific HSM client certificate for which you want--- information. If no identifier is specified, information is returned for--- all HSM client certificates owned by your AWS customer account.+-- information. If no identifier is specified, information is returned for all+-- HSM client certificates owned by your AWS customer account. dhccHsmClientCertificateIdentifier :: Lens' DescribeHsmClientCertificates (Maybe Text) dhccHsmClientCertificateIdentifier = lens _dhccHsmClientCertificateIdentifier (\s a -> s { _dhccHsmClientCertificateIdentifier = a }) --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeHsmClientCertificates--- request exceed the value specified in MaxRecords, AWS returns a value in--- the Marker field of the response. You can retrieve the next set of--- response records by providing the returned marker value in the Marker--- parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeHsmClientCertificates' request+-- exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker'+-- field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. dhccMarker :: Lens' DescribeHsmClientCertificates (Maybe Text) dhccMarker = lens _dhccMarker (\s a -> s { _dhccMarker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. dhccMaxRecords :: Lens' DescribeHsmClientCertificates (Maybe Int) dhccMaxRecords = lens _dhccMaxRecords (\s a -> s { _dhccMaxRecords = a }) -- | A tag key or keys for which you want to return all matching HSM client--- certificates that are associated with the specified key or keys. For--- example, suppose that you have HSM client certificates that are tagged--- with keys called owner and environment. If you specify both of these tag--- keys in the request, Amazon Redshift returns a response with the HSM--- client certificates that have either or both of these tag keys associated--- with them.+-- certificates that are associated with the specified key or keys. For example,+-- suppose that you have HSM client certificates that are tagged with keys+-- called 'owner' and 'environment'. If you specify both of these tag keys in the+-- request, Amazon Redshift returns a response with the HSM client certificates+-- that have either or both of these tag keys associated with them. dhccTagKeys :: Lens' DescribeHsmClientCertificates [Text] dhccTagKeys = lens _dhccTagKeys (\s a -> s { _dhccTagKeys = a }) . _List --- | A tag value or values for which you want to return all matching HSM--- client certificates that are associated with the specified tag value or--- values. For example, suppose that you have HSM client certificates that--- are tagged with values called admin and test. If you specify both of--- these tag values in the request, Amazon Redshift returns a response with--- the HSM client certificates that have either or both of these tag values--- associated with them.+-- | A tag value or values for which you want to return all matching HSM client+-- certificates that are associated with the specified tag value or values. For+-- example, suppose that you have HSM client certificates that are tagged with+-- values called 'admin' and 'test'. If you specify both of these tag values in the+-- request, Amazon Redshift returns a response with the HSM client certificates+-- that have either or both of these tag values associated with them. dhccTagValues :: Lens' DescribeHsmClientCertificates [Text] dhccTagValues = lens _dhccTagValues (\s a -> s { _dhccTagValues = a }) . _List @@ -155,8 +159,8 @@ } -- | A list of the identifiers for one or more HSM client certificates used by--- Amazon Redshift clusters to store and retrieve database encryption keys--- in an HSM.+-- Amazon Redshift clusters to store and retrieve database encryption keys in an+-- HSM. dhccrHsmClientCertificates :: Lens' DescribeHsmClientCertificatesResponse [HsmClientCertificate] dhccrHsmClientCertificates = lens _dhccrHsmClientCertificates@@ -164,11 +168,10 @@ . _List -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dhccrMarker :: Lens' DescribeHsmClientCertificatesResponse (Maybe Text) dhccrMarker = lens _dhccrMarker (\s a -> s { _dhccrMarker = a })
gen/Network/AWS/Redshift/DescribeHsmConfigurations.hs view
@@ -20,17 +20,20 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Returns information about the specified Amazon Redshift HSM configuration.--- If no configuration ID is specified, returns information about all the HSM--- configurations owned by your AWS customer account. If you specify both tag--- keys and tag values in the same request, Amazon Redshift returns all HSM--- connections that match any combination of the specified keys and values.--- For example, if you have owner and environment for tag keys, and admin and--- test for tag values, all HSM connections that have any combination of those--- values are returned. If both tag keys and values are omitted from the--- request, HSM connections are returned regardless of whether they have tag--- keys or values associated with them.+-- | Returns information about the specified Amazon Redshift HSM configuration. If+-- no configuration ID is specified, returns information about all the HSM+-- configurations owned by your AWS customer account. --+-- If you specify both tag keys and tag values in the same request, Amazon+-- Redshift returns all HSM connections that match any combination of the+-- specified keys and values. For example, if you have 'owner' and 'environment' for+-- tag keys, and 'admin' and 'test' for tag values, all HSM connections that have+-- any combination of those values are returned.+--+-- If both tag keys and values are omitted from the request, HSM connections+-- are returned regardless of whether they have tag keys or values associated+-- with them.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeHsmConfigurations.html> module Network.AWS.Redshift.DescribeHsmConfigurations (@@ -91,47 +94,48 @@ } -- | The identifier of a specific Amazon Redshift HSM configuration to be--- described. If no identifier is specified, information is returned for all--- HSM configurations owned by your AWS customer account.+-- described. If no identifier is specified, information is returned for all HSM+-- configurations owned by your AWS customer account. dhc1HsmConfigurationIdentifier :: Lens' DescribeHsmConfigurations (Maybe Text) dhc1HsmConfigurationIdentifier = lens _dhc1HsmConfigurationIdentifier (\s a -> s { _dhc1HsmConfigurationIdentifier = a }) --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeHsmConfigurations--- request exceed the value specified in MaxRecords, AWS returns a value in--- the Marker field of the response. You can retrieve the next set of--- response records by providing the returned marker value in the Marker--- parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeHsmConfigurations' request+-- exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker'+-- field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. dhc1Marker :: Lens' DescribeHsmConfigurations (Maybe Text) dhc1Marker = lens _dhc1Marker (\s a -> s { _dhc1Marker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. dhc1MaxRecords :: Lens' DescribeHsmConfigurations (Maybe Int) dhc1MaxRecords = lens _dhc1MaxRecords (\s a -> s { _dhc1MaxRecords = a }) -- | A tag key or keys for which you want to return all matching HSM -- configurations that are associated with the specified key or keys. For--- example, suppose that you have HSM configurations that are tagged with--- keys called owner and environment. If you specify both of these tag keys--- in the request, Amazon Redshift returns a response with the HSM--- configurations that have either or both of these tag keys associated with--- them.+-- example, suppose that you have HSM configurations that are tagged with keys+-- called 'owner' and 'environment'. If you specify both of these tag keys in the+-- request, Amazon Redshift returns a response with the HSM configurations that+-- have either or both of these tag keys associated with them. dhc1TagKeys :: Lens' DescribeHsmConfigurations [Text] dhc1TagKeys = lens _dhc1TagKeys (\s a -> s { _dhc1TagKeys = a }) . _List -- | A tag value or values for which you want to return all matching HSM--- configurations that are associated with the specified tag value or--- values. For example, suppose that you have HSM configurations that are--- tagged with values called admin and test. If you specify both of these--- tag values in the request, Amazon Redshift returns a response with the--- HSM configurations that have either or both of these tag values--- associated with them.+-- configurations that are associated with the specified tag value or values.+-- For example, suppose that you have HSM configurations that are tagged with+-- values called 'admin' and 'test'. If you specify both of these tag values in the+-- request, Amazon Redshift returns a response with the HSM configurations that+-- have either or both of these tag values associated with them. dhc1TagValues :: Lens' DescribeHsmConfigurations [Text] dhc1TagValues = lens _dhc1TagValues (\s a -> s { _dhc1TagValues = a }) . _List @@ -161,11 +165,10 @@ . _List -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dhcrMarker :: Lens' DescribeHsmConfigurationsResponse (Maybe Text) dhcrMarker = lens _dhcrMarker (\s a -> s { _dhcrMarker = a })
gen/Network/AWS/Redshift/DescribeLoggingStatus.hs view
@@ -67,8 +67,9 @@ { _dlsClusterIdentifier = p1 } --- | The identifier of the cluster to get the logging status from. Example:--- examplecluster.+-- | The identifier of the cluster to get the logging status from.+--+-- Example: 'examplecluster' dlsClusterIdentifier :: Lens' DescribeLoggingStatus Text dlsClusterIdentifier = lens _dlsClusterIdentifier (\s a -> s { _dlsClusterIdentifier = a })@@ -76,8 +77,8 @@ data DescribeLoggingStatusResponse = DescribeLoggingStatusResponse { _dlsrBucketName :: Maybe Text , _dlsrLastFailureMessage :: Maybe Text- , _dlsrLastFailureTime :: Maybe RFC822- , _dlsrLastSuccessfulDeliveryTime :: Maybe RFC822+ , _dlsrLastFailureTime :: Maybe ISO8601+ , _dlsrLastSuccessfulDeliveryTime :: Maybe ISO8601 , _dlsrLoggingEnabled :: Maybe Bool , _dlsrS3KeyPrefix :: Maybe Text } deriving (Eq, Ord, Show)@@ -130,7 +131,7 @@ (\s a -> s { _dlsrLastSuccessfulDeliveryTime = a }) . mapping _Time --- | true if logging is on, false if logging is off.+-- | 'true' if logging is on, 'false' if logging is off. dlsrLoggingEnabled :: Lens' DescribeLoggingStatusResponse (Maybe Bool) dlsrLoggingEnabled = lens _dlsrLoggingEnabled (\s a -> s { _dlsrLoggingEnabled = a })
gen/Network/AWS/Redshift/DescribeOrderableClusterOptions.hs view
@@ -20,15 +20,13 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Returns a list of orderable cluster options. Before you create a new--- cluster you can use this operation to find what options are available, such--- as the EC2 Availability Zones (AZ) in the specific AWS region that you can--- specify, and the node types you can request. The node types differ by--- available storage, memory, CPU and price. With the cost involved you might--- want to obtain a list of cluster options in the specific region and specify--- values when creating a cluster. For more information about managing--- clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster--- Management Guide.+-- | Returns a list of orderable cluster options. Before you create a new cluster+-- you can use this operation to find what options are available, such as the+-- EC2 Availability Zones (AZ) in the specific AWS region that you can specify,+-- and the node types you can request. The node types differ by available+-- storage, memory, CPU and price. With the cost involved you might want to+-- obtain a list of cluster options in the specific region and specify values+-- when creating a cluster. For more information about managing clusters, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html Amazon Redshift Clusters> in the /Amazon Redshift Cluster Management Guide/ -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeOrderableClusterOptions.html> module Network.AWS.Redshift.DescribeOrderableClusterOptions@@ -84,28 +82,33 @@ , _docoMarker = Nothing } --- | The version filter value. Specify this parameter to show only the--- available offerings matching the specified version. Default: All--- versions. Constraints: Must be one of the version returned from--- DescribeClusterVersions.+-- | The version filter value. Specify this parameter to show only the available+-- offerings matching the specified version.+--+-- Default: All versions.+--+-- Constraints: Must be one of the version returned from 'DescribeClusterVersions'+-- . docoClusterVersion :: Lens' DescribeOrderableClusterOptions (Maybe Text) docoClusterVersion = lens _docoClusterVersion (\s a -> s { _docoClusterVersion = a }) --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a--- DescribeOrderableClusterOptions request exceed the value specified in--- MaxRecords, AWS returns a value in the Marker field of the response. You--- can retrieve the next set of response records by providing the returned--- marker value in the Marker parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeOrderableClusterOptions'+-- request exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker' field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. docoMarker :: Lens' DescribeOrderableClusterOptions (Maybe Text) docoMarker = lens _docoMarker (\s a -> s { _docoMarker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. docoMaxRecords :: Lens' DescribeOrderableClusterOptions (Maybe Int) docoMaxRecords = lens _docoMaxRecords (\s a -> s { _docoMaxRecords = a }) @@ -134,16 +137,15 @@ } -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. docorMarker :: Lens' DescribeOrderableClusterOptionsResponse (Maybe Text) docorMarker = lens _docorMarker (\s a -> s { _docorMarker = a }) --- | An OrderableClusterOption structure containing information about--- orderable options for the Cluster.+-- | An 'OrderableClusterOption' structure containing information about orderable+-- options for the Cluster. docorOrderableClusterOptions :: Lens' DescribeOrderableClusterOptionsResponse [OrderableClusterOption] docorOrderableClusterOptions = lens _docorOrderableClusterOptions
gen/Network/AWS/Redshift/DescribeReservedNodeOfferings.hs view
@@ -23,13 +23,11 @@ -- | Returns a list of the available reserved node offerings by Amazon Redshift -- with their descriptions including the node type, the fixed and recurring -- costs of reserving the node and duration the node will be reserved for you.--- These descriptions help you determine which reserve node offering you want--- to purchase. You then use the unique offering ID in you call to--- PurchaseReservedNodeOffering to reserve one or more nodes for your Amazon--- Redshift cluster. For more information about managing parameter groups, go--- to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management--- Guide.+-- These descriptions help you determine which reserve node offering you want to+-- purchase. You then use the unique offering ID in you call to 'PurchaseReservedNodeOffering' to reserve one or more nodes for your Amazon Redshift cluster. --+-- For more information about managing parameter groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/purchase-reserved-node-instance.html PurchasingReserved Nodes> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeReservedNodeOfferings.html> module Network.AWS.Redshift.DescribeReservedNodeOfferings (@@ -79,20 +77,23 @@ , _drnoMarker = Nothing } --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeReservedNodeOfferings--- request exceed the value specified in MaxRecords, AWS returns a value in--- the Marker field of the response. You can retrieve the next set of--- response records by providing the returned marker value in the Marker--- parameter and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeReservedNodeOfferings' request+-- exceed the value specified in 'MaxRecords', AWS returns a value in the 'Marker'+-- field of the response. You can retrieve the next set of response records by+-- providing the returned marker value in the 'Marker' parameter and retrying the+-- request. drnoMarker :: Lens' DescribeReservedNodeOfferings (Maybe Text) drnoMarker = lens _drnoMarker (\s a -> s { _drnoMarker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. drnoMaxRecords :: Lens' DescribeReservedNodeOfferings (Maybe Int) drnoMaxRecords = lens _drnoMaxRecords (\s a -> s { _drnoMaxRecords = a }) @@ -122,11 +123,10 @@ } -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. drnorMarker :: Lens' DescribeReservedNodeOfferingsResponse (Maybe Text) drnorMarker = lens _drnorMarker (\s a -> s { _drnorMarker = a })
gen/Network/AWS/Redshift/DescribeReservedNodes.hs view
@@ -71,20 +71,22 @@ , _drnMarker = Nothing } --- | An optional parameter that specifies the starting point to return a set--- of response records. When the results of a DescribeReservedNodes request--- exceed the value specified in MaxRecords, AWS returns a value in the--- Marker field of the response. You can retrieve the next set of response--- records by providing the returned marker value in the Marker parameter--- and retrying the request.+-- | An optional parameter that specifies the starting point to return a set of+-- response records. When the results of a 'DescribeReservedNodes' request exceed+-- the value specified in 'MaxRecords', AWS returns a value in the 'Marker' field of+-- the response. You can retrieve the next set of response records by providing+-- the returned marker value in the 'Marker' parameter and retrying the request. drnMarker :: Lens' DescribeReservedNodes (Maybe Text) drnMarker = lens _drnMarker (\s a -> s { _drnMarker = a }) --- | The maximum number of response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value. Default: 100 Constraints: minimum 20, maximum 100.+-- | The maximum number of response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned marker value.+--+-- Default: '100'+--+-- Constraints: minimum 20, maximum 100. drnMaxRecords :: Lens' DescribeReservedNodes (Maybe Int) drnMaxRecords = lens _drnMaxRecords (\s a -> s { _drnMaxRecords = a }) @@ -113,11 +115,10 @@ } -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. drnrMarker :: Lens' DescribeReservedNodesResponse (Maybe Text) drnrMarker = lens _drnrMarker (\s a -> s { _drnrMarker = a })
gen/Network/AWS/Redshift/DescribeResize.hs view
@@ -22,11 +22,13 @@ -- | Returns information about the last resize operation for the specified -- cluster. If no resize operation has ever been initiated for the specified--- cluster, a HTTP 404 error is returned. If a resize operation was initiated--- and completed, the status of the resize remains as SUCCEEDED until the next--- resize. A resize operation can be requested using ModifyCluster and--- specifying a different number or type of nodes for the cluster.+-- cluster, a 'HTTP 404' error is returned. If a resize operation was initiated+-- and completed, the status of the resize remains as 'SUCCEEDED' until the next+-- resize. --+-- A resize operation can be requested using 'ModifyCluster' and specifying a+-- different number or type of nodes for the cluster.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeResize.html> module Network.AWS.Redshift.DescribeResize (@@ -77,9 +79,11 @@ { _drClusterIdentifier = p1 } --- | The unique identifier of a cluster whose resize progress you are--- requesting. This parameter is case-sensitive. By default, resize--- operations for all clusters defined for an AWS account are returned.+-- | The unique identifier of a cluster whose resize progress you are requesting.+-- This parameter is case-sensitive.+--+-- By default, resize operations for all clusters defined for an AWS account+-- are returned. drClusterIdentifier :: Lens' DescribeResize Text drClusterIdentifier = lens _drClusterIdentifier (\s a -> s { _drClusterIdentifier = a })@@ -143,48 +147,51 @@ , _drrEstimatedTimeToCompletionInSeconds = Nothing } --- | The average rate of the resize operation over the last few minutes,--- measured in megabytes per second. After the resize operation completes,--- this value shows the average rate of the entire resize operation.+-- | The average rate of the resize operation over the last few minutes, measured+-- in megabytes per second. After the resize operation completes, this value+-- shows the average rate of the entire resize operation. drrAvgResizeRateInMegaBytesPerSecond :: Lens' DescribeResizeResponse (Maybe Double) drrAvgResizeRateInMegaBytesPerSecond = lens _drrAvgResizeRateInMegaBytesPerSecond (\s a -> s { _drrAvgResizeRateInMegaBytesPerSecond = a }) -- | The amount of seconds that have elapsed since the resize operation began.--- After the resize operation completes, this value shows the total actual--- time, in seconds, for the resize operation.+-- After the resize operation completes, this value shows the total actual time,+-- in seconds, for the resize operation. drrElapsedTimeInSeconds :: Lens' DescribeResizeResponse (Maybe Integer) drrElapsedTimeInSeconds = lens _drrElapsedTimeInSeconds (\s a -> s { _drrElapsedTimeInSeconds = a }) -- | The estimated time remaining, in seconds, until the resize operation is--- complete. This value is calculated based on the average resize rate and--- the estimated amount of data remaining to be processed. Once the resize--- operation is complete, this value will be 0.+-- complete. This value is calculated based on the average resize rate and the+-- estimated amount of data remaining to be processed. Once the resize operation+-- is complete, this value will be 0. drrEstimatedTimeToCompletionInSeconds :: Lens' DescribeResizeResponse (Maybe Integer) drrEstimatedTimeToCompletionInSeconds = lens _drrEstimatedTimeToCompletionInSeconds (\s a -> s { _drrEstimatedTimeToCompletionInSeconds = a }) --- | The names of tables that have been completely imported . Valid Values:--- List of table names.+-- | The names of tables that have been completely imported .+--+-- Valid Values: List of table names. drrImportTablesCompleted :: Lens' DescribeResizeResponse [Text] drrImportTablesCompleted = lens _drrImportTablesCompleted (\s a -> s { _drrImportTablesCompleted = a }) . _List --- | The names of tables that are being currently imported. Valid Values: List--- of table names.+-- | The names of tables that are being currently imported.+--+-- Valid Values: List of table names. drrImportTablesInProgress :: Lens' DescribeResizeResponse [Text] drrImportTablesInProgress = lens _drrImportTablesInProgress (\s a -> s { _drrImportTablesInProgress = a }) . _List --- | The names of tables that have not been yet imported. Valid Values: List--- of table names.+-- | The names of tables that have not been yet imported.+--+-- Valid Values: List of table names drrImportTablesNotStarted :: Lens' DescribeResizeResponse [Text] drrImportTablesNotStarted = lens _drrImportTablesNotStarted@@ -192,22 +199,24 @@ . _List -- | While the resize operation is in progress, this value shows the current--- amount of data, in megabytes, that has been processed so far. When the--- resize operation is complete, this value shows the total amount of data,--- in megabytes, on the cluster, which may be more or less than+-- amount of data, in megabytes, that has been processed so far. When the resize+-- operation is complete, this value shows the total amount of data, in+-- megabytes, on the cluster, which may be more or less than -- TotalResizeDataInMegaBytes (the estimated total amount of data before -- resize). drrProgressInMegaBytes :: Lens' DescribeResizeResponse (Maybe Integer) drrProgressInMegaBytes = lens _drrProgressInMegaBytes (\s a -> s { _drrProgressInMegaBytes = a }) --- | The status of the resize operation. Valid Values: NONE | IN_PROGRESS |--- FAILED | SUCCEEDED.+-- | The status of the resize operation.+--+-- Valid Values: 'NONE' | 'IN_PROGRESS' | 'FAILED' | 'SUCCEEDED' drrStatus :: Lens' DescribeResizeResponse (Maybe Text) drrStatus = lens _drrStatus (\s a -> s { _drrStatus = a }) --- | The cluster type after the resize operation is complete. Valid Values:--- multi-node | single-node.+-- | The cluster type after the resize operation is complete.+--+-- Valid Values: 'multi-node' | 'single-node' drrTargetClusterType :: Lens' DescribeResizeResponse (Maybe Text) drrTargetClusterType = lens _drrTargetClusterType (\s a -> s { _drrTargetClusterType = a })@@ -218,14 +227,14 @@ drrTargetNodeType = lens _drrTargetNodeType (\s a -> s { _drrTargetNodeType = a }) --- | The number of nodes that the cluster will have after the resize operation--- is complete.+-- | The number of nodes that the cluster will have after the resize operation is+-- complete. drrTargetNumberOfNodes :: Lens' DescribeResizeResponse (Maybe Int) drrTargetNumberOfNodes = lens _drrTargetNumberOfNodes (\s a -> s { _drrTargetNumberOfNodes = a }) --- | The estimated total amount of data, in megabytes, on the cluster before--- the resize operation began.+-- | The estimated total amount of data, in megabytes, on the cluster before the+-- resize operation began. drrTotalResizeDataInMegaBytes :: Lens' DescribeResizeResponse (Maybe Integer) drrTotalResizeDataInMegaBytes = lens _drrTotalResizeDataInMegaBytes
gen/Network/AWS/Redshift/DescribeTags.hs view
@@ -22,19 +22,22 @@ -- | Returns a list of tags. You can return tags from a specific resource by -- specifying an ARN, or you can return all tags for a given type of resource,--- such as clusters, snapshots, and so on. The following are limitations for--- DescribeTags: You cannot specify an ARN and a resource-type value together--- in the same request. You cannot use the MaxRecords and Marker parameters--- together with the ARN parameter. The MaxRecords parameter can be a range--- from 10 to 50 results to return in a request. If you specify both tag keys--- and tag values in the same request, Amazon Redshift returns all resources--- that match any combination of the specified keys and values. For example,--- if you have owner and environment for tag keys, and admin and test for tag--- values, all resources that have any combination of those values are--- returned. If both tag keys and values are omitted from the request,--- resources are returned regardless of whether they have tag keys or values--- associated with them.+-- such as clusters, snapshots, and so on. --+-- The following are limitations for 'DescribeTags': You cannot specify an ARN+-- and a resource-type value together in the same request. You cannot use the 'MaxRecords' and 'Marker' parameters together with the ARN parameter. The 'MaxRecords'+-- parameter can be a range from 10 to 50 results to return in a request.+--+-- If you specify both tag keys and tag values in the same request, Amazon+-- Redshift returns all resources that match any combination of the specified+-- keys and values. For example, if you have 'owner' and 'environment' for tag keys,+-- and 'admin' and 'test' for tag values, all resources that have any combination of+-- those values are returned.+--+-- If both tag keys and values are omitted from the request, resources are+-- returned regardless of whether they have tag keys or values associated with+-- them.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeTags.html> module Network.AWS.Redshift.DescribeTags (@@ -100,51 +103,50 @@ } -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the marker parameter and retrying the command. If the--- marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'marker' parameter and retrying the command. If the 'marker' field is+-- empty, all response records have been retrieved for the request. dtMarker :: Lens' DescribeTags (Maybe Text) dtMarker = lens _dtMarker (\s a -> s { _dtMarker = a }) --- | The maximum number or response records to return in each call. If the--- number of remaining response records exceeds the specified MaxRecords--- value, a value is returned in a marker field of the response. You can--- retrieve the next set of records by retrying the command with the--- returned marker value.+-- | The maximum number or response records to return in each call. If the number+-- of remaining response records exceeds the specified 'MaxRecords' value, a value+-- is returned in a 'marker' field of the response. You can retrieve the next set+-- of records by retrying the command with the returned 'marker' value. dtMaxRecords :: Lens' DescribeTags (Maybe Int) dtMaxRecords = lens _dtMaxRecords (\s a -> s { _dtMaxRecords = a }) -- | The Amazon Resource Name (ARN) for which you want to describe the tag or--- tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.+-- tags. For example, 'arn:aws:redshift:us-east-1:123456789:cluster:t1'. dtResourceName :: Lens' DescribeTags (Maybe Text) dtResourceName = lens _dtResourceName (\s a -> s { _dtResourceName = a }) --- | The type of resource with which you want to view tags. Valid resource--- types are: Cluster CIDR/IP EC2 security group Snapshot Cluster security--- group Subnet group HSM connection HSM certificate Parameter group For--- more information about Amazon Redshift resource types and constructing--- ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in--- the Amazon Redshift Cluster Management Guide.+-- | The type of resource with which you want to view tags. Valid resource types+-- are: Cluster CIDR/IP EC2 security group Snapshot Cluster security group Subnet group+-- HSM connection HSM certificate Parameter group+--+-- For more information about Amazon Redshift resource types and constructing+-- ARNs, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/constructing-redshift-arn.html Constructing an Amazon Redshift Amazon Resource Name (ARN)> in the+-- Amazon Redshift Cluster Management Guide. dtResourceType :: Lens' DescribeTags (Maybe Text) dtResourceType = lens _dtResourceType (\s a -> s { _dtResourceType = a }) --- | A tag key or keys for which you want to return all matching resources--- that are associated with the specified key or keys. For example, suppose--- that you have resources tagged with keys called owner and environment. If--- you specify both of these tag keys in the request, Amazon Redshift--- returns a response with all resources that have either or both of these--- tag keys associated with them.+-- | A tag key or keys for which you want to return all matching resources that+-- are associated with the specified key or keys. For example, suppose that you+-- have resources tagged with keys called 'owner' and 'environment'. If you specify+-- both of these tag keys in the request, Amazon Redshift returns a response+-- with all resources that have either or both of these tag keys associated with+-- them. dtTagKeys :: Lens' DescribeTags [Text] dtTagKeys = lens _dtTagKeys (\s a -> s { _dtTagKeys = a }) . _List -- | A tag value or values for which you want to return all matching resources--- that are associated with the specified value or values. For example,--- suppose that you have resources tagged with values called admin and test.--- If you specify both of these tag values in the request, Amazon Redshift--- returns a response with all resources that have either or both of these--- tag values associated with them.+-- that are associated with the specified value or values. For example, suppose+-- that you have resources tagged with values called 'admin' and 'test'. If you+-- specify both of these tag values in the request, Amazon Redshift returns a+-- response with all resources that have either or both of these tag values+-- associated with them. dtTagValues :: Lens' DescribeTags [Text] dtTagValues = lens _dtTagValues (\s a -> s { _dtTagValues = a }) . _List @@ -168,11 +170,10 @@ } -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dtrMarker :: Lens' DescribeTagsResponse (Maybe Text) dtrMarker = lens _dtrMarker (\s a -> s { _dtrMarker = a })
gen/Network/AWS/Redshift/DisableLogging.hs view
@@ -67,8 +67,9 @@ { _dlClusterIdentifier = p1 } --- | The identifier of the cluster on which logging is to be stopped. Example:--- examplecluster.+-- | The identifier of the cluster on which logging is to be stopped.+--+-- Example: 'examplecluster' dlClusterIdentifier :: Lens' DisableLogging Text dlClusterIdentifier = lens _dlClusterIdentifier (\s a -> s { _dlClusterIdentifier = a })@@ -76,8 +77,8 @@ data DisableLoggingResponse = DisableLoggingResponse { _dlrBucketName :: Maybe Text , _dlrLastFailureMessage :: Maybe Text- , _dlrLastFailureTime :: Maybe RFC822- , _dlrLastSuccessfulDeliveryTime :: Maybe RFC822+ , _dlrLastFailureTime :: Maybe ISO8601+ , _dlrLastSuccessfulDeliveryTime :: Maybe ISO8601 , _dlrLoggingEnabled :: Maybe Bool , _dlrS3KeyPrefix :: Maybe Text } deriving (Eq, Ord, Show)@@ -130,7 +131,7 @@ (\s a -> s { _dlrLastSuccessfulDeliveryTime = a }) . mapping _Time --- | true if logging is on, false if logging is off.+-- | 'true' if logging is on, 'false' if logging is off. dlrLoggingEnabled :: Lens' DisableLoggingResponse (Maybe Bool) dlrLoggingEnabled = lens _dlrLoggingEnabled (\s a -> s { _dlrLoggingEnabled = a })
gen/Network/AWS/Redshift/DisableSnapshotCopy.hs view
@@ -20,8 +20,8 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Disables the automatic copying of snapshots from one region to another--- region for a specified cluster.+-- | Disables the automatic copying of snapshots from one region to another region+-- for a specified cluster. -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_DisableSnapshotCopy.html> module Network.AWS.Redshift.DisableSnapshotCopy@@ -62,10 +62,11 @@ { _dscClusterIdentifier = p1 } --- | The unique identifier of the source cluster that you want to disable--- copying of snapshots to a destination region. Constraints: Must be the--- valid name of an existing cluster that has cross-region snapshot copy--- enabled.+-- | The unique identifier of the source cluster that you want to disable copying+-- of snapshots to a destination region.+--+-- Constraints: Must be the valid name of an existing cluster that has+-- cross-region snapshot copy enabled. dscClusterIdentifier :: Lens' DisableSnapshotCopy Text dscClusterIdentifier = lens _dscClusterIdentifier (\s a -> s { _dscClusterIdentifier = a })
gen/Network/AWS/Redshift/EnableLogging.hs view
@@ -20,8 +20,8 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Starts logging information, such as queries and connection attempts, for--- the specified Amazon Redshift cluster.+-- | Starts logging information, such as queries and connection attempts, for the+-- specified Amazon Redshift cluster. -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_EnableLogging.html> module Network.AWS.Redshift.EnableLogging@@ -79,29 +79,36 @@ } -- | The name of an existing S3 bucket where the log files are to be stored.--- Constraints: Must be in the same region as the cluster The cluster must--- have read bucket and put object permissions.+--+-- Constraints:+--+-- Must be in the same region as the cluster The cluster must have read bucket+-- and put object permissions elBucketName :: Lens' EnableLogging Text elBucketName = lens _elBucketName (\s a -> s { _elBucketName = a }) --- | The identifier of the cluster on which logging is to be started. Example:--- examplecluster.+-- | The identifier of the cluster on which logging is to be started.+--+-- Example: 'examplecluster' elClusterIdentifier :: Lens' EnableLogging Text elClusterIdentifier = lens _elClusterIdentifier (\s a -> s { _elClusterIdentifier = a }) --- | The prefix applied to the log file names. Constraints: Cannot exceed 512--- characters Cannot contain spaces( ), double quotes ("), single quotes--- ('), a backslash (\), or control characters. The hexadecimal codes for--- invalid characters are: x00 to x20 x22 x27 x5c x7f or larger.+-- | The prefix applied to the log file names.+--+-- Constraints:+--+-- Cannot exceed 512 characters Cannot contain spaces( ), double quotes ("),+-- single quotes ('), a backslash (\), or control characters. The hexadecimal+-- codes for invalid characters are: x00 to x20 x22 x27 x5c x7f or larger elS3KeyPrefix :: Lens' EnableLogging (Maybe Text) elS3KeyPrefix = lens _elS3KeyPrefix (\s a -> s { _elS3KeyPrefix = a }) data EnableLoggingResponse = EnableLoggingResponse { _elrBucketName :: Maybe Text , _elrLastFailureMessage :: Maybe Text- , _elrLastFailureTime :: Maybe RFC822- , _elrLastSuccessfulDeliveryTime :: Maybe RFC822+ , _elrLastFailureTime :: Maybe ISO8601+ , _elrLastSuccessfulDeliveryTime :: Maybe ISO8601 , _elrLoggingEnabled :: Maybe Bool , _elrS3KeyPrefix :: Maybe Text } deriving (Eq, Ord, Show)@@ -154,7 +161,7 @@ (\s a -> s { _elrLastSuccessfulDeliveryTime = a }) . mapping _Time --- | true if logging is on, false if logging is off.+-- | 'true' if logging is on, 'false' if logging is off. elrLoggingEnabled :: Lens' EnableLoggingResponse (Maybe Bool) elrLoggingEnabled = lens _elrLoggingEnabled (\s a -> s { _elrLoggingEnabled = a })
gen/Network/AWS/Redshift/EnableSnapshotCopy.hs view
@@ -20,8 +20,8 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Enables the automatic copy of snapshots from one region to another region--- for a specified cluster.+-- | Enables the automatic copy of snapshots from one region to another region for+-- a specified cluster. -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_EnableSnapshotCopy.html> module Network.AWS.Redshift.EnableSnapshotCopy@@ -74,21 +74,25 @@ } -- | The unique identifier of the source cluster to copy snapshots from.+-- -- Constraints: Must be the valid name of an existing cluster that does not -- already have cross-region snapshot copy enabled. escClusterIdentifier :: Lens' EnableSnapshotCopy Text escClusterIdentifier = lens _escClusterIdentifier (\s a -> s { _escClusterIdentifier = a }) --- | The destination region that you want to copy snapshots to. Constraints:--- Must be the name of a valid region. For more information, see Regions and--- Endpoints in the Amazon Web Services General Reference.+-- | The destination region that you want to copy snapshots to.+--+-- Constraints: Must be the name of a valid region. For more information, see <http://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region Regions and Endpoints> in the Amazon Web Services General Reference. escDestinationRegion :: Lens' EnableSnapshotCopy Text escDestinationRegion = lens _escDestinationRegion (\s a -> s { _escDestinationRegion = a }) --- | The number of days to retain automated snapshots in the destination--- region after they are copied from the source region. Default: 7.+-- | The number of days to retain automated snapshots in the destination region+-- after they are copied from the source region.+--+-- Default: 7.+-- -- Constraints: Must be at least 1 and no more than 35. escRetentionPeriod :: Lens' EnableSnapshotCopy (Maybe Int) escRetentionPeriod =
gen/Network/AWS/Redshift/ModifyCluster.hs view
@@ -23,14 +23,15 @@ -- | Modifies the settings for a cluster. For example, you can add another -- security or parameter group, update the preferred maintenance window, or -- change the master user password. Resetting a cluster password or modifying--- the security groups associated with a cluster do not need a reboot.--- However, modifying a parameter group requires a reboot for parameters to--- take effect. For more information about managing clusters, go to Amazon--- Redshift Clusters in the Amazon Redshift Cluster Management Guide . You can--- also change node type and the number of nodes to scale up or down the--- cluster. When resizing a cluster, you must specify both the number of nodes--- and the node type even if one of the parameters does not change.+-- the security groups associated with a cluster do not need a reboot. However,+-- modifying a parameter group requires a reboot for parameters to take effect.+-- For more information about managing clusters, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html Amazon Redshift Clusters>+-- in the /Amazon Redshift Cluster Management Guide/ . --+-- You can also change node type and the number of nodes to scale up or down+-- the cluster. When resizing a cluster, you must specify both the number of+-- nodes and the node type even if one of the parameters does not change.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_ModifyCluster.html> module Network.AWS.Redshift.ModifyCluster (@@ -140,151 +141,184 @@ , _mcNewClusterIdentifier = Nothing } --- | If true, major version upgrades will be applied automatically to the--- cluster during the maintenance window. Default: false.+-- | If 'true', major version upgrades will be applied automatically to the cluster+-- during the maintenance window.+--+-- Default: 'false' mcAllowVersionUpgrade :: Lens' ModifyCluster (Maybe Bool) mcAllowVersionUpgrade = lens _mcAllowVersionUpgrade (\s a -> s { _mcAllowVersionUpgrade = a }) --- | The number of days that automated snapshots are retained. If the value is--- 0, automated snapshots are disabled. Even if automated snapshots are--- disabled, you can still create manual snapshots when you want with--- CreateClusterSnapshot. If you decrease the automated snapshot retention--- period from its current value, existing automated snapshots that fall--- outside of the new retention period will be immediately deleted. Default:--- Uses existing setting. Constraints: Must be a value from 0 to 35.+-- | The number of days that automated snapshots are retained. If the value is 0,+-- automated snapshots are disabled. Even if automated snapshots are disabled,+-- you can still create manual snapshots when you want with 'CreateClusterSnapshot'+-- .+--+-- If you decrease the automated snapshot retention period from its current+-- value, existing automated snapshots that fall outside of the new retention+-- period will be immediately deleted.+--+-- Default: Uses existing setting.+--+-- Constraints: Must be a value from 0 to 35. mcAutomatedSnapshotRetentionPeriod :: Lens' ModifyCluster (Maybe Int) mcAutomatedSnapshotRetentionPeriod = lens _mcAutomatedSnapshotRetentionPeriod (\s a -> s { _mcAutomatedSnapshotRetentionPeriod = a }) --- | The unique identifier of the cluster to be modified. Example:--- examplecluster.+-- | The unique identifier of the cluster to be modified.+--+-- Example: 'examplecluster' mcClusterIdentifier :: Lens' ModifyCluster Text mcClusterIdentifier = lens _mcClusterIdentifier (\s a -> s { _mcClusterIdentifier = a }) -- | The name of the cluster parameter group to apply to this cluster. This--- change is applied only after the cluster is rebooted. To reboot a cluster--- use RebootCluster. Default: Uses existing setting. Constraints: The--- cluster parameter group must be in the same parameter group family that--- matches the cluster version.+-- change is applied only after the cluster is rebooted. To reboot a cluster use 'RebootCluster'.+--+-- Default: Uses existing setting.+--+-- Constraints: The cluster parameter group must be in the same parameter group+-- family that matches the cluster version. mcClusterParameterGroupName :: Lens' ModifyCluster (Maybe Text) mcClusterParameterGroupName = lens _mcClusterParameterGroupName (\s a -> s { _mcClusterParameterGroupName = a }) -- | A list of cluster security groups to be authorized on this cluster. This--- change is asynchronously applied as soon as possible. Security groups--- currently associated with the cluster, and not in the list of groups to--- apply, will be revoked from the cluster. Constraints: Must be 1 to 255--- alphanumeric characters or hyphens First character must be a letter--- Cannot end with a hyphen or contain two consecutive hyphens.+-- change is asynchronously applied as soon as possible.+--+-- Security groups currently associated with the cluster, and not in the list+-- of groups to apply, will be revoked from the cluster.+--+-- Constraints:+--+-- Must be 1 to 255 alphanumeric characters or hyphens First character must be+-- a letter Cannot end with a hyphen or contain two consecutive hyphens mcClusterSecurityGroups :: Lens' ModifyCluster [Text] mcClusterSecurityGroups = lens _mcClusterSecurityGroups (\s a -> s { _mcClusterSecurityGroups = a }) . _List --- | The new cluster type. When you submit your cluster resize request, your--- existing cluster goes into a read-only mode. After Amazon Redshift--- provisions a new cluster based on your resize requirements, there will be--- outage for a period while the old cluster is deleted and your connection--- is switched to the new cluster. You can use DescribeResize to track the--- progress of the resize request. Valid Values: multi-node | single-node.+-- | The new cluster type.+--+-- When you submit your cluster resize request, your existing cluster goes+-- into a read-only mode. After Amazon Redshift provisions a new cluster based+-- on your resize requirements, there will be outage for a period while the old+-- cluster is deleted and your connection is switched to the new cluster. You+-- can use 'DescribeResize' to track the progress of the resize request.+--+-- Valid Values: ' multi-node | single-node ' mcClusterType :: Lens' ModifyCluster (Maybe Text) mcClusterType = lens _mcClusterType (\s a -> s { _mcClusterType = a }) --- | The new version number of the Amazon Redshift engine to upgrade to. For--- major version upgrades, if a non-default cluster parameter group is+-- | The new version number of the Amazon Redshift engine to upgrade to.+--+-- For major version upgrades, if a non-default cluster parameter group is -- currently in use, a new cluster parameter group in the cluster parameter--- group family for the new version must be specified. The new cluster--- parameter group can be the default for that cluster parameter group--- family. For more information about managing parameter groups, go to--- Amazon Redshift Parameter Groups in the Amazon Redshift Cluster--- Management Guide. Example: 1.0.+-- group family for the new version must be specified. The new cluster parameter+-- group can be the default for that cluster parameter group family. For more+-- information about managing parameter groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html Amazon Redshift ParameterGroups> in the /Amazon Redshift Cluster Management Guide/.+--+-- Example: '1.0' mcClusterVersion :: Lens' ModifyCluster (Maybe Text) mcClusterVersion = lens _mcClusterVersion (\s a -> s { _mcClusterVersion = a }) --- | Specifies the name of the HSM client certificate the Amazon Redshift--- cluster uses to retrieve the data encryption keys stored in an HSM.+-- | Specifies the name of the HSM client certificate the Amazon Redshift cluster+-- uses to retrieve the data encryption keys stored in an HSM. mcHsmClientCertificateIdentifier :: Lens' ModifyCluster (Maybe Text) mcHsmClientCertificateIdentifier = lens _mcHsmClientCertificateIdentifier (\s a -> s { _mcHsmClientCertificateIdentifier = a }) --- | Specifies the name of the HSM configuration that contains the information--- the Amazon Redshift cluster can use to retrieve and store keys in an HSM.+-- | Specifies the name of the HSM configuration that contains the information the+-- Amazon Redshift cluster can use to retrieve and store keys in an HSM. mcHsmConfigurationIdentifier :: Lens' ModifyCluster (Maybe Text) mcHsmConfigurationIdentifier = lens _mcHsmConfigurationIdentifier (\s a -> s { _mcHsmConfigurationIdentifier = a }) --- | The new password for the cluster master user. This change is--- asynchronously applied as soon as possible. Between the time of the--- request and the completion of the request, the MasterUserPassword element--- exists in the PendingModifiedValues element of the operation response.--- Operations never return the password, so this operation provides a way to--- regain access to the master user account for a cluster if the password is--- lost. Default: Uses existing setting. Constraints: Must be between 8 and--- 64 characters in length. Must contain at least one uppercase letter. Must--- contain at least one lowercase letter. Must contain one number. Can be--- any printable ASCII character (ASCII code 33 to 126) except ' (single--- quote), " (double quote), \, /, @, or space.+-- | The new password for the cluster master user. This change is asynchronously+-- applied as soon as possible. Between the time of the request and the+-- completion of the request, the 'MasterUserPassword' element exists in the 'PendingModifiedValues' element of the operation response. Operations never return the password, so+-- this operation provides a way to regain access to the master user account for+-- a cluster if the password is lost.+--+-- Default: Uses existing setting.+--+-- Constraints:+--+-- Must be between 8 and 64 characters in length. Must contain at least one+-- uppercase letter. Must contain at least one lowercase letter. Must contain+-- one number. Can be any printable ASCII character (ASCII code 33 to 126)+-- except ' (single quote), " (double quote), \, /, @, or space. mcMasterUserPassword :: Lens' ModifyCluster (Maybe Text) mcMasterUserPassword = lens _mcMasterUserPassword (\s a -> s { _mcMasterUserPassword = a }) --- | The new identifier for the cluster. Constraints: Must contain from 1 to--- 63 alphanumeric characters or hyphens. Alphabetic characters must be--- lowercase. First character must be a letter. Cannot end with a hyphen or--- contain two consecutive hyphens. Must be unique for all clusters within--- an AWS account. Example: examplecluster.+-- | The new identifier for the cluster.+--+-- Constraints:+--+-- Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic+-- characters must be lowercase. First character must be a letter. Cannot end+-- with a hyphen or contain two consecutive hyphens. Must be unique for all+-- clusters within an AWS account. Example: 'examplecluster' mcNewClusterIdentifier :: Lens' ModifyCluster (Maybe Text) mcNewClusterIdentifier = lens _mcNewClusterIdentifier (\s a -> s { _mcNewClusterIdentifier = a }) --- | The new node type of the cluster. If you specify a new node type, you--- must also specify the number of nodes parameter. When you submit your--- request to resize a cluster, Amazon Redshift sets access permissions for--- the cluster to read-only. After Amazon Redshift provisions a new cluster--- according to your resize requirements, there will be a temporary outage--- while the old cluster is deleted and your connection is switched to the--- new cluster. When the new connection is complete, the original access--- permissions for the cluster are restored. You can use DescribeResize to--- track the progress of the resize request. Valid Values: dw1.xlarge |--- dw1.8xlarge | dw2.large | dw2.8xlarge.+-- | The new node type of the cluster. If you specify a new node type, you must+-- also specify the number of nodes parameter.+--+-- When you submit your request to resize a cluster, Amazon Redshift sets+-- access permissions for the cluster to read-only. After Amazon Redshift+-- provisions a new cluster according to your resize requirements, there will be+-- a temporary outage while the old cluster is deleted and your connection is+-- switched to the new cluster. When the new connection is complete, the+-- original access permissions for the cluster are restored. You can use 'DescribeResize' to track the progress of the resize request.+--+-- Valid Values: ' dw1.xlarge' | 'dw1.8xlarge' | 'dw2.large' | 'dw2.8xlarge'. mcNodeType :: Lens' ModifyCluster (Maybe Text) mcNodeType = lens _mcNodeType (\s a -> s { _mcNodeType = a }) -- | The new number of nodes of the cluster. If you specify a new number of--- nodes, you must also specify the node type parameter. When you submit--- your request to resize a cluster, Amazon Redshift sets access permissions--- for the cluster to read-only. After Amazon Redshift provisions a new--- cluster according to your resize requirements, there will be a temporary--- outage while the old cluster is deleted and your connection is switched--- to the new cluster. When the new connection is complete, the original--- access permissions for the cluster are restored. You can use--- DescribeResize to track the progress of the resize request. Valid Values:--- Integer greater than 0.+-- nodes, you must also specify the node type parameter.+--+-- When you submit your request to resize a cluster, Amazon Redshift sets+-- access permissions for the cluster to read-only. After Amazon Redshift+-- provisions a new cluster according to your resize requirements, there will be+-- a temporary outage while the old cluster is deleted and your connection is+-- switched to the new cluster. When the new connection is complete, the+-- original access permissions for the cluster are restored. You can use 'DescribeResize' to track the progress of the resize request.+--+-- Valid Values: Integer greater than '0'. mcNumberOfNodes :: Lens' ModifyCluster (Maybe Int) mcNumberOfNodes = lens _mcNumberOfNodes (\s a -> s { _mcNumberOfNodes = a }) --- | The weekly time range (in UTC) during which system maintenance can occur,--- if necessary. If system maintenance is necessary during the window, it--- may result in an outage. This maintenance window change is made--- immediately. If the new maintenance window indicates the current time,--- there must be at least 120 minutes between the current time and end of--- the window in order to ensure that pending changes are applied. Default:--- Uses existing setting. Format: ddd:hh24:mi-ddd:hh24:mi, for example--- wed:07:30-wed:08:00. Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun+-- | The weekly time range (in UTC) during which system maintenance can occur, if+-- necessary. If system maintenance is necessary during the window, it may+-- result in an outage.+--+-- This maintenance window change is made immediately. If the new maintenance+-- window indicates the current time, there must be at least 120 minutes between+-- the current time and end of the window in order to ensure that pending+-- changes are applied.+--+-- Default: Uses existing setting.+--+-- Format: ddd:hh24:mi-ddd:hh24:mi, for example 'wed:07:30-wed:08:00'.+--+-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun+-- -- Constraints: Must be at least 30 minutes. mcPreferredMaintenanceWindow :: Lens' ModifyCluster (Maybe Text) mcPreferredMaintenanceWindow = lens _mcPreferredMaintenanceWindow (\s a -> s { _mcPreferredMaintenanceWindow = a }) --- | A list of virtual private cloud (VPC) security groups to be associated--- with the cluster.+-- | A list of virtual private cloud (VPC) security groups to be associated with+-- the cluster. mcVpcSecurityGroupIds :: Lens' ModifyCluster [Text] mcVpcSecurityGroupIds = lens _mcVpcSecurityGroupIds (\s a -> s { _mcVpcSecurityGroupIds = a })
gen/Network/AWS/Redshift/ModifyClusterParameterGroup.hs view
@@ -20,10 +20,10 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Modifies the parameters of a parameter group. For more information about--- managing parameter groups, go to Amazon Redshift Parameter Groups in the--- Amazon Redshift Cluster Management Guide.+-- | Modifies the parameters of a parameter group. --+-- For more information about managing parameter groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html Amazon RedshiftParameter Groups> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_ModifyClusterParameterGroup.html> module Network.AWS.Redshift.ModifyClusterParameterGroup (@@ -75,11 +75,14 @@ lens _mcpgParameterGroupName (\s a -> s { _mcpgParameterGroupName = a }) -- | An array of parameters to be modified. A maximum of 20 parameters can be--- modified in a single request. For each parameter to be modified, you must--- supply at least the parameter name and parameter value; other name-value--- pairs of the parameter are optional. For the workload management (WLM)--- configuration, you must supply all the name-value pairs in the--- wlm_json_configuration parameter.+-- modified in a single request.+--+-- For each parameter to be modified, you must supply at least the parameter+-- name and parameter value; other name-value pairs of the parameter are+-- optional.+--+-- For the workload management (WLM) configuration, you must supply all the+-- name-value pairs in the wlm_json_configuration parameter. mcpgParameters :: Lens' ModifyClusterParameterGroup [Parameter] mcpgParameters = lens _mcpgParameters (\s a -> s { _mcpgParameters = a }) . _List @@ -108,8 +111,8 @@ lens _mcpgrParameterGroupName (\s a -> s { _mcpgrParameterGroupName = a }) -- | The status of the parameter group. For example, if you made a change to a--- parameter group name-value pair, then the change could be pending a--- reboot of an associated cluster.+-- parameter group name-value pair, then the change could be pending a reboot of+-- an associated cluster. mcpgrParameterGroupStatus :: Lens' ModifyClusterParameterGroupResponse (Maybe Text) mcpgrParameterGroupStatus = lens _mcpgrParameterGroupStatus
gen/Network/AWS/Redshift/ModifyEventSubscription.hs view
@@ -91,21 +91,24 @@ , _mesEnabled = Nothing } --- | A Boolean value indicating if the subscription is enabled. true indicates--- the subscription is enabled.+-- | A Boolean value indicating if the subscription is enabled. 'true' indicates+-- the subscription is enabled mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool) mesEnabled = lens _mesEnabled (\s a -> s { _mesEnabled = a }) --- | Specifies the Amazon Redshift event categories to be published by the--- event notification subscription. Values: Configuration, Management,--- Monitoring, Security.+-- | Specifies the Amazon Redshift event categories to be published by the event+-- notification subscription.+--+-- Values: Configuration, Management, Monitoring, Security mesEventCategories :: Lens' ModifyEventSubscription [Text] mesEventCategories = lens _mesEventCategories (\s a -> s { _mesEventCategories = a }) . _List -- | Specifies the Amazon Redshift event severity to be published by the event--- notification subscription. Values: ERROR, INFO.+-- notification subscription.+--+-- Values: ERROR, INFO mesSeverity :: Lens' ModifyEventSubscription (Maybe Text) mesSeverity = lens _mesSeverity (\s a -> s { _mesSeverity = a }) @@ -114,21 +117,25 @@ mesSnsTopicArn :: Lens' ModifyEventSubscription (Maybe Text) mesSnsTopicArn = lens _mesSnsTopicArn (\s a -> s { _mesSnsTopicArn = a }) --- | A list of one or more identifiers of Amazon Redshift source objects. All--- of the objects must be of the same type as was specified in the source--- type parameter. The event subscription will return only events generated--- by the specified objects. If not specified, then events are returned for--- all objects within the source type specified. Example: my-cluster-1,--- my-cluster-2 Example: my-snapshot-20131010.+-- | A list of one or more identifiers of Amazon Redshift source objects. All of+-- the objects must be of the same type as was specified in the source type+-- parameter. The event subscription will return only events generated by the+-- specified objects. If not specified, then events are returned for all objects+-- within the source type specified.+--+-- Example: my-cluster-1, my-cluster-2+--+-- Example: my-snapshot-20131010 mesSourceIds :: Lens' ModifyEventSubscription [Text] mesSourceIds = lens _mesSourceIds (\s a -> s { _mesSourceIds = a }) . _List --- | The type of source that will be generating the events. For example, if--- you want to be notified of events generated by a cluster, you would set--- this parameter to cluster. If this value is not specified, events are--- returned for all Amazon Redshift objects in your AWS account. You must--- specify a source type in order to specify source IDs. Valid values:--- cluster, cluster-parameter-group, cluster-security-group, and+-- | The type of source that will be generating the events. For example, if you+-- want to be notified of events generated by a cluster, you would set this+-- parameter to cluster. If this value is not specified, events are returned for+-- all Amazon Redshift objects in your AWS account. You must specify a source+-- type in order to specify source IDs.+--+-- Valid values: cluster, cluster-parameter-group, cluster-security-group, and -- cluster-snapshot. mesSourceType :: Lens' ModifyEventSubscription (Maybe Text) mesSourceType = lens _mesSourceType (\s a -> s { _mesSourceType = a })
gen/Network/AWS/Redshift/ModifySnapshotCopyRetentionPeriod.hs view
@@ -20,8 +20,8 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Modifies the number of days to retain automated snapshots in the--- destination region after they are copied from the source region.+-- | Modifies the number of days to retain automated snapshots in the destination+-- region after they are copied from the source region. -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_ModifySnapshotCopyRetentionPeriod.html> module Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod@@ -70,18 +70,23 @@ -- | The unique identifier of the cluster for which you want to change the -- retention period for automated snapshots that are copied to a destination--- region. Constraints: Must be the valid name of an existing cluster that--- has cross-region snapshot copy enabled.+-- region.+--+-- Constraints: Must be the valid name of an existing cluster that has+-- cross-region snapshot copy enabled. mscrpClusterIdentifier :: Lens' ModifySnapshotCopyRetentionPeriod Text mscrpClusterIdentifier = lens _mscrpClusterIdentifier (\s a -> s { _mscrpClusterIdentifier = a }) --- | The number of days to retain automated snapshots in the destination--- region after they are copied from the source region. If you decrease the--- retention period for automated snapshots that are copied to a destination--- region, Amazon Redshift will delete any existing automated snapshots that--- were copied to the destination region and that fall outside of the new--- retention period. Constraints: Must be at least 1 and no more than 35.+-- | The number of days to retain automated snapshots in the destination region+-- after they are copied from the source region.+--+-- If you decrease the retention period for automated snapshots that are+-- copied to a destination region, Amazon Redshift will delete any existing+-- automated snapshots that were copied to the destination region and that fall+-- outside of the new retention period.+--+-- Constraints: Must be at least 1 and no more than 35. mscrpRetentionPeriod :: Lens' ModifySnapshotCopyRetentionPeriod Int mscrpRetentionPeriod = lens _mscrpRetentionPeriod (\s a -> s { _mscrpRetentionPeriod = a })
gen/Network/AWS/Redshift/PurchaseReservedNodeOffering.hs view
@@ -22,12 +22,12 @@ -- | Allows you to purchase reserved nodes. Amazon Redshift offers a predefined -- set of reserved node offerings. You can purchase one of the offerings. You--- can call the DescribeReservedNodeOfferings API to obtain the available+-- can call the 'DescribeReservedNodeOfferings' API to obtain the available -- reserved node offerings. You can call this API by providing a specific--- reserved node offering and the number of nodes you want to reserve. For--- more information about managing parameter groups, go to Purchasing Reserved--- Nodes in the Amazon Redshift Cluster Management Guide.+-- reserved node offering and the number of nodes you want to reserve. --+-- For more information about managing parameter groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/purchase-reserved-node-instance.html PurchasingReserved Nodes> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_PurchaseReservedNodeOffering.html> module Network.AWS.Redshift.PurchaseReservedNodeOffering (@@ -72,7 +72,9 @@ , _prnoNodeCount = Nothing } --- | The number of reserved nodes you want to purchase. Default: 1.+-- | The number of reserved nodes you want to purchase.+--+-- Default: '1' prnoNodeCount :: Lens' PurchaseReservedNodeOffering (Maybe Int) prnoNodeCount = lens _prnoNodeCount (\s a -> s { _prnoNodeCount = a })
gen/Network/AWS/Redshift/RebootCluster.hs view
@@ -20,12 +20,11 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Reboots a cluster. This action is taken as soon as possible. It results in--- a momentary outage to the cluster, during which the cluster status is set--- to rebooting. A cluster event is created when the reboot is completed. Any--- pending cluster modifications (see ModifyCluster) are applied at this--- reboot. For more information about managing clusters, go to Amazon Redshift--- Clusters in the Amazon Redshift Cluster Management Guide.+-- | Reboots a cluster. This action is taken as soon as possible. It results in a+-- momentary outage to the cluster, during which the cluster status is set to 'rebooting'. A cluster event is created when the reboot is completed. Any pending+-- cluster modifications (see 'ModifyCluster') are applied at this reboot. For+-- more information about managing clusters, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html Amazon Redshift Clusters> in+-- the /Amazon Redshift Cluster Management Guide/ -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_RebootCluster.html> module Network.AWS.Redshift.RebootCluster
gen/Network/AWS/Redshift/ResetClusterParameterGroup.hs view
@@ -22,9 +22,8 @@ -- | Sets one or more parameters of the specified parameter group to their -- default values and sets the source values of the parameters to--- "engine-default". To reset the entire parameter group specify the--- ResetAllParameters parameter. For parameter changes to take effect you must--- reboot any associated clusters.+-- "engine-default". To reset the entire parameter group specify the /ResetAllParameters/ parameter. For parameter changes to take effect you must reboot any+-- associated clusters. -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_ResetClusterParameterGroup.html> module Network.AWS.Redshift.ResetClusterParameterGroup@@ -81,14 +80,17 @@ rcpgParameterGroupName = lens _rcpgParameterGroupName (\s a -> s { _rcpgParameterGroupName = a }) --- | An array of names of parameters to be reset. If ResetAllParameters option--- is not used, then at least one parameter name must be supplied.+-- | An array of names of parameters to be reset. If /ResetAllParameters/ option is+-- not used, then at least one parameter name must be supplied.+-- -- Constraints: A maximum of 20 parameters can be reset in a single request. rcpgParameters :: Lens' ResetClusterParameterGroup [Parameter] rcpgParameters = lens _rcpgParameters (\s a -> s { _rcpgParameters = a }) . _List --- | If true, all parameters in the specified parameter group will be reset to--- their default values. Default: true.+-- | If 'true', all parameters in the specified parameter group will be reset to+-- their default values.+--+-- Default: 'true' rcpgResetAllParameters :: Lens' ResetClusterParameterGroup (Maybe Bool) rcpgResetAllParameters = lens _rcpgResetAllParameters (\s a -> s { _rcpgResetAllParameters = a })@@ -118,8 +120,8 @@ lens _rcpgrParameterGroupName (\s a -> s { _rcpgrParameterGroupName = a }) -- | The status of the parameter group. For example, if you made a change to a--- parameter group name-value pair, then the change could be pending a--- reboot of an associated cluster.+-- parameter group name-value pair, then the change could be pending a reboot of+-- an associated cluster. rcpgrParameterGroupStatus :: Lens' ResetClusterParameterGroupResponse (Maybe Text) rcpgrParameterGroupStatus = lens _rcpgrParameterGroupStatus
gen/Network/AWS/Redshift/RestoreFromClusterSnapshot.hs view
@@ -20,17 +20,18 @@ -- Stability : experimental -- Portability : non-portable (GHC extensions) --- | Creates a new cluster from a snapshot. Amazon Redshift creates the--- resulting cluster with the same configuration as the original cluster from--- which the snapshot was created, except that the new cluster is created with--- the default cluster security and parameter group. After Amazon Redshift--- creates the cluster you can use the ModifyCluster API to associate a--- different security group and different parameter group with the restored--- cluster. If you restore a cluster into a VPC, you must provide a cluster--- subnet group where you want the cluster restored. For more information--- about working with snapshots, go to Amazon Redshift Snapshots in the Amazon--- Redshift Cluster Management Guide.+-- | Creates a new cluster from a snapshot. Amazon Redshift creates the resulting+-- cluster with the same configuration as the original cluster from which the+-- snapshot was created, except that the new cluster is created with the default+-- cluster security and parameter group. After Amazon Redshift creates the+-- cluster you can use the 'ModifyCluster' API to associate a different security+-- group and different parameter group with the restored cluster. --+-- If you restore a cluster into a VPC, you must provide a cluster subnet+-- group where you want the cluster restored.+--+-- For more information about working with snapshots, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html Amazon RedshiftSnapshots> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_RestoreFromClusterSnapshot.html> module Network.AWS.Redshift.RestoreFromClusterSnapshot (@@ -156,60 +157,78 @@ , _rfcsKmsKeyId = Nothing } --- | If true, major version upgrades can be applied during the maintenance--- window to the Amazon Redshift engine that is running on the cluster.--- Default: true.+-- | If 'true', major version upgrades can be applied during the maintenance window+-- to the Amazon Redshift engine that is running on the cluster.+--+-- Default: 'true' rfcsAllowVersionUpgrade :: Lens' RestoreFromClusterSnapshot (Maybe Bool) rfcsAllowVersionUpgrade = lens _rfcsAllowVersionUpgrade (\s a -> s { _rfcsAllowVersionUpgrade = a }) --- | The number of days that automated snapshots are retained. If the value is--- 0, automated snapshots are disabled. Even if automated snapshots are--- disabled, you can still create manual snapshots when you want with--- CreateClusterSnapshot. Default: The value selected for the cluster from--- which the snapshot was taken. Constraints: Must be a value from 0 to 35.+-- | The number of days that automated snapshots are retained. If the value is 0,+-- automated snapshots are disabled. Even if automated snapshots are disabled,+-- you can still create manual snapshots when you want with 'CreateClusterSnapshot'+-- .+--+-- Default: The value selected for the cluster from which the snapshot was+-- taken.+--+-- Constraints: Must be a value from 0 to 35. rfcsAutomatedSnapshotRetentionPeriod :: Lens' RestoreFromClusterSnapshot (Maybe Int) rfcsAutomatedSnapshotRetentionPeriod = lens _rfcsAutomatedSnapshotRetentionPeriod (\s a -> s { _rfcsAutomatedSnapshotRetentionPeriod = a }) -- | The Amazon EC2 Availability Zone in which to restore the cluster.--- Default: A random, system-chosen Availability Zone. Example: us-east-1a.+--+-- Default: A random, system-chosen Availability Zone.+--+-- Example: 'us-east-1a' rfcsAvailabilityZone :: Lens' RestoreFromClusterSnapshot (Maybe Text) rfcsAvailabilityZone = lens _rfcsAvailabilityZone (\s a -> s { _rfcsAvailabilityZone = a }) -- | The identifier of the cluster that will be created from restoring the--- snapshot. Constraints: Must contain from 1 to 63 alphanumeric characters--- or hyphens. Alphabetic characters must be lowercase. First character must--- be a letter. Cannot end with a hyphen or contain two consecutive hyphens.--- Must be unique for all clusters within an AWS account.+-- snapshot.+--+-- Constraints:+--+-- Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic+-- characters must be lowercase. First character must be a letter. Cannot end+-- with a hyphen or contain two consecutive hyphens. Must be unique for all+-- clusters within an AWS account. rfcsClusterIdentifier :: Lens' RestoreFromClusterSnapshot Text rfcsClusterIdentifier = lens _rfcsClusterIdentifier (\s a -> s { _rfcsClusterIdentifier = a }) -- | The name of the parameter group to be associated with this cluster.+-- -- Default: The default Amazon Redshift cluster parameter group. For--- information about the default parameter group, go to Working with Amazon--- Redshift Parameter Groups. Constraints: Must be 1 to 255 alphanumeric--- characters or hyphens. First character must be a letter. Cannot end with--- a hyphen or contain two consecutive hyphens.+-- information about the default parameter group, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html Working with AmazonRedshift Parameter Groups>.+--+-- Constraints:+--+-- Must be 1 to 255 alphanumeric characters or hyphens. First character must+-- be a letter. Cannot end with a hyphen or contain two consecutive hyphens. rfcsClusterParameterGroupName :: Lens' RestoreFromClusterSnapshot (Maybe Text) rfcsClusterParameterGroupName = lens _rfcsClusterParameterGroupName (\s a -> s { _rfcsClusterParameterGroupName = a }) --- | A list of security groups to be associated with this cluster. Default:--- The default cluster security group for Amazon Redshift. Cluster security--- groups only apply to clusters outside of VPCs.+-- | A list of security groups to be associated with this cluster.+--+-- Default: The default cluster security group for Amazon Redshift.+--+-- Cluster security groups only apply to clusters outside of VPCs. rfcsClusterSecurityGroups :: Lens' RestoreFromClusterSnapshot [Text] rfcsClusterSecurityGroups = lens _rfcsClusterSecurityGroups (\s a -> s { _rfcsClusterSecurityGroups = a }) . _List --- | The name of the subnet group where you want to cluster restored. A--- snapshot of cluster in VPC can be restored only in VPC. Therefore, you+-- | The name of the subnet group where you want to cluster restored.+--+-- A snapshot of cluster in VPC can be restored only in VPC. Therefore, you -- must provide subnet group name where you want the cluster restored. rfcsClusterSubnetGroupName :: Lens' RestoreFromClusterSnapshot (Maybe Text) rfcsClusterSubnetGroupName =@@ -220,23 +239,23 @@ rfcsElasticIp :: Lens' RestoreFromClusterSnapshot (Maybe Text) rfcsElasticIp = lens _rfcsElasticIp (\s a -> s { _rfcsElasticIp = a }) --- | Specifies the name of the HSM client certificate the Amazon Redshift--- cluster uses to retrieve the data encryption keys stored in an HSM.+-- | Specifies the name of the HSM client certificate the Amazon Redshift cluster+-- uses to retrieve the data encryption keys stored in an HSM. rfcsHsmClientCertificateIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text) rfcsHsmClientCertificateIdentifier = lens _rfcsHsmClientCertificateIdentifier (\s a -> s { _rfcsHsmClientCertificateIdentifier = a }) --- | Specifies the name of the HSM configuration that contains the information--- the Amazon Redshift cluster can use to retrieve and store keys in an HSM.+-- | Specifies the name of the HSM configuration that contains the information the+-- Amazon Redshift cluster can use to retrieve and store keys in an HSM. rfcsHsmConfigurationIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text) rfcsHsmConfigurationIdentifier = lens _rfcsHsmConfigurationIdentifier (\s a -> s { _rfcsHsmConfigurationIdentifier = a }) --- | The AWS Key Management Service (KMS) key ID of the encryption key that--- you want to use to encrypt data in the cluster that you restore from a--- shared snapshot.+-- | The AWS Key Management Service (KMS) key ID of the encryption key that you+-- want to use to encrypt data in the cluster that you restore from a shared+-- snapshot. rfcsKmsKeyId :: Lens' RestoreFromClusterSnapshot (Maybe Text) rfcsKmsKeyId = lens _rfcsKmsKeyId (\s a -> s { _rfcsKmsKeyId = a }) @@ -246,46 +265,57 @@ rfcsOwnerAccount :: Lens' RestoreFromClusterSnapshot (Maybe Text) rfcsOwnerAccount = lens _rfcsOwnerAccount (\s a -> s { _rfcsOwnerAccount = a }) --- | The port number on which the cluster accepts connections. Default: The--- same port as the original cluster. Constraints: Must be between 1115 and--- 65535.+-- | The port number on which the cluster accepts connections.+--+-- Default: The same port as the original cluster.+--+-- Constraints: Must be between '1115' and '65535'. rfcsPort :: Lens' RestoreFromClusterSnapshot (Maybe Int) rfcsPort = lens _rfcsPort (\s a -> s { _rfcsPort = a }) -- | The weekly time range (in UTC) during which automated cluster maintenance--- can occur. Format: ddd:hh24:mi-ddd:hh24:mi Default: The value selected--- for the cluster from which the snapshot was taken. For more information--- about the time blocks for each region, see Maintenance Windows in Amazon--- Redshift Cluster Management Guide. Valid Days: Mon | Tue | Wed | Thu |--- Fri | Sat | Sun Constraints: Minimum 30-minute window.+-- can occur.+--+-- Format: 'ddd:hh24:mi-ddd:hh24:mi'+--+-- Default: The value selected for the cluster from which the snapshot was+-- taken. For more information about the time blocks for each region, see <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-maintenance-windows Maintenance Windows> in Amazon Redshift Cluster Management Guide.+--+-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun+--+-- Constraints: Minimum 30-minute window. rfcsPreferredMaintenanceWindow :: Lens' RestoreFromClusterSnapshot (Maybe Text) rfcsPreferredMaintenanceWindow = lens _rfcsPreferredMaintenanceWindow (\s a -> s { _rfcsPreferredMaintenanceWindow = a }) --- | If true, the cluster can be accessed from a public network.+-- | If 'true', the cluster can be accessed from a public network. rfcsPubliclyAccessible :: Lens' RestoreFromClusterSnapshot (Maybe Bool) rfcsPubliclyAccessible = lens _rfcsPubliclyAccessible (\s a -> s { _rfcsPubliclyAccessible = a }) --- | The name of the cluster the source snapshot was created from. This--- parameter is required if your IAM user has a policy containing a snapshot--- resource element that specifies anything other than * for the cluster--- name.+-- | The name of the cluster the source snapshot was created from. This parameter+-- is required if your IAM user has a policy containing a snapshot resource+-- element that specifies anything other than * for the cluster name. rfcsSnapshotClusterIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text) rfcsSnapshotClusterIdentifier = lens _rfcsSnapshotClusterIdentifier (\s a -> s { _rfcsSnapshotClusterIdentifier = a }) -- | The name of the snapshot from which to create the new cluster. This--- parameter isn't case sensitive. Example: my-snapshot-id.+-- parameter isn't case sensitive.+--+-- Example: 'my-snapshot-id' rfcsSnapshotIdentifier :: Lens' RestoreFromClusterSnapshot Text rfcsSnapshotIdentifier = lens _rfcsSnapshotIdentifier (\s a -> s { _rfcsSnapshotIdentifier = a }) --- | A list of Virtual Private Cloud (VPC) security groups to be associated--- with the cluster. Default: The default VPC security group is associated--- with the cluster. VPC security groups only apply to clusters in VPCs.+-- | A list of Virtual Private Cloud (VPC) security groups to be associated with+-- the cluster.+--+-- Default: The default VPC security group is associated with the cluster.+--+-- VPC security groups only apply to clusters in VPCs. rfcsVpcSecurityGroupIds :: Lens' RestoreFromClusterSnapshot [Text] rfcsVpcSecurityGroupIds = lens _rfcsVpcSecurityGroupIds (\s a -> s { _rfcsVpcSecurityGroupIds = a })
gen/Network/AWS/Redshift/RevokeClusterSecurityGroupIngress.hs view
@@ -22,9 +22,9 @@ -- | Revokes an ingress rule in an Amazon Redshift security group for a -- previously authorized IP range or Amazon EC2 security group. To add an--- ingress rule, see AuthorizeClusterSecurityGroupIngress. For information--- about managing security groups, go to Amazon Redshift Cluster Security--- Groups in the Amazon Redshift Cluster Management Guide.+-- ingress rule, see 'AuthorizeClusterSecurityGroupIngress'. For information about+-- managing security groups, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-security-groups.html Amazon Redshift Cluster Security Groups> in+-- the /Amazon Redshift Cluster Management Guide/. -- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_RevokeClusterSecurityGroupIngress.html> module Network.AWS.Redshift.RevokeClusterSecurityGroupIngress@@ -81,8 +81,8 @@ } -- | The IP range for which to revoke access. This range must be a valid--- Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is--- specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be+-- Classless Inter-Domain Routing (CIDR) block of IP addresses. If 'CIDRIP' is+-- specified, 'EC2SecurityGroupName' and 'EC2SecurityGroupOwnerId' cannot be -- provided. rcsgiCIDRIP :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text) rcsgiCIDRIP = lens _rcsgiCIDRIP (\s a -> s { _rcsgiCIDRIP = a })@@ -93,19 +93,17 @@ lens _rcsgiClusterSecurityGroupName (\s a -> s { _rcsgiClusterSecurityGroupName = a }) --- | The name of the EC2 Security Group whose access is to be revoked. If--- EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be--- provided and CIDRIP cannot be provided.+-- | The name of the EC2 Security Group whose access is to be revoked. If 'EC2SecurityGroupName' is specified, 'EC2SecurityGroupOwnerId' must also be provided and 'CIDRIP'+-- cannot be provided. rcsgiEC2SecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text) rcsgiEC2SecurityGroupName = lens _rcsgiEC2SecurityGroupName (\s a -> s { _rcsgiEC2SecurityGroupName = a }) --- | The AWS account number of the owner of the security group specified in--- the EC2SecurityGroupName parameter. The AWS access key ID is not an--- acceptable value. If EC2SecurityGroupOwnerId is specified,--- EC2SecurityGroupName must also be provided. and CIDRIP cannot be--- provided. Example: 111122223333.+-- | The AWS account number of the owner of the security group specified in the 'EC2SecurityGroupName' parameter. The AWS access key ID is not an acceptable value. If 'EC2SecurityGroupOwnerId' is specified, 'EC2SecurityGroupName' must also be provided. and 'CIDRIP' cannot+-- be provided.+--+-- Example: '111122223333' rcsgiEC2SecurityGroupOwnerId :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text) rcsgiEC2SecurityGroupOwnerId = lens _rcsgiEC2SecurityGroupOwnerId
gen/Network/AWS/Redshift/RevokeSnapshotAccess.hs view
@@ -22,10 +22,10 @@ -- | Removes the ability of the specified AWS customer account to restore the -- specified snapshot. If the account is currently restoring the snapshot, the--- restore will run to completion. For more information about working with--- snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster--- Management Guide.+-- restore will run to completion. --+-- For more information about working with snapshots, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html Amazon RedshiftSnapshots> in the /Amazon Redshift Cluster Management Guide/.+-- -- <http://docs.aws.amazon.com/redshift/latest/APIReference/API_RevokeSnapshotAccess.html> module Network.AWS.Redshift.RevokeSnapshotAccess (@@ -83,10 +83,9 @@ lens _rsaAccountWithRestoreAccess (\s a -> s { _rsaAccountWithRestoreAccess = a }) --- | The identifier of the cluster the snapshot was created from. This--- parameter is required if your IAM user has a policy containing a snapshot--- resource element that specifies anything other than * for the cluster--- name.+-- | The identifier of the cluster the snapshot was created from. This parameter+-- is required if your IAM user has a policy containing a snapshot resource+-- element that specifies anything other than * for the cluster name. rsaSnapshotClusterIdentifier :: Lens' RevokeSnapshotAccess (Maybe Text) rsaSnapshotClusterIdentifier = lens _rsaSnapshotClusterIdentifier
gen/Network/AWS/Redshift/RotateEncryptionKey.hs view
@@ -61,9 +61,10 @@ { _rekClusterIdentifier = p1 } --- | The unique identifier of the cluster that you want to rotate the--- encryption keys for. Constraints: Must be the name of valid cluster that--- has encryption enabled.+-- | The unique identifier of the cluster that you want to rotate the encryption+-- keys for.+--+-- Constraints: Must be the name of valid cluster that has encryption enabled. rekClusterIdentifier :: Lens' RotateEncryptionKey Text rekClusterIdentifier = lens _rekClusterIdentifier (\s a -> s { _rekClusterIdentifier = a })
gen/Network/AWS/Redshift/Types.hs view
@@ -413,7 +413,7 @@ , _sActualIncrementalBackupSizeInMegaBytes :: Maybe Double , _sAvailabilityZone :: Maybe Text , _sBackupProgressInMegaBytes :: Maybe Double- , _sClusterCreateTime :: Maybe RFC822+ , _sClusterCreateTime :: Maybe ISO8601 , _sClusterIdentifier :: Maybe Text , _sClusterVersion :: Maybe Text , _sCurrentBackupRateInMegaBytesPerSecond :: Maybe Double@@ -428,7 +428,7 @@ , _sNumberOfNodes :: Maybe Int , _sOwnerAccount :: Maybe Text , _sPort :: Maybe Int- , _sSnapshotCreateTime :: Maybe RFC822+ , _sSnapshotCreateTime :: Maybe ISO8601 , _sSnapshotIdentifier :: Maybe Text , _sSnapshotType :: Maybe Text , _sSourceRegion :: Maybe Text@@ -528,7 +528,7 @@ } -- | A list of the AWS customer accounts authorized to restore the snapshot.--- Returns null if no accounts are authorized. Visible only to the snapshot+-- Returns 'null' if no accounts are authorized. Visible only to the snapshot -- owner. sAccountsWithRestoreAccess :: Lens' Snapshot [AccountWithRestoreAccess] sAccountsWithRestoreAccess =@@ -547,8 +547,7 @@ sAvailabilityZone = lens _sAvailabilityZone (\s a -> s { _sAvailabilityZone = a }) --- | The number of megabytes that have been transferred to the snapshot--- backup.+-- | The number of megabytes that have been transferred to the snapshot backup. sBackupProgressInMegaBytes :: Lens' Snapshot (Maybe Double) sBackupProgressInMegaBytes = lens _sBackupProgressInMegaBytes@@ -565,13 +564,12 @@ sClusterIdentifier = lens _sClusterIdentifier (\s a -> s { _sClusterIdentifier = a }) --- | The version ID of the Amazon Redshift engine that is running on the--- cluster.+-- | The version ID of the Amazon Redshift engine that is running on the cluster. sClusterVersion :: Lens' Snapshot (Maybe Text) sClusterVersion = lens _sClusterVersion (\s a -> s { _sClusterVersion = a }) --- | The number of megabytes per second being transferred to the snapshot--- backup. Returns 0 for a completed backup.+-- | The number of megabytes per second being transferred to the snapshot backup.+-- Returns '0' for a completed backup. sCurrentBackupRateInMegaBytesPerSecond :: Lens' Snapshot (Maybe Double) sCurrentBackupRateInMegaBytesPerSecond = lens _sCurrentBackupRateInMegaBytesPerSecond@@ -581,33 +579,32 @@ sDBName :: Lens' Snapshot (Maybe Text) sDBName = lens _sDBName (\s a -> s { _sDBName = a }) --- | The amount of time an in-progress snapshot backup has been running, or--- the amount of time it took a completed backup to finish.+-- | The amount of time an in-progress snapshot backup has been running, or the+-- amount of time it took a completed backup to finish. sElapsedTimeInSeconds :: Lens' Snapshot (Maybe Integer) sElapsedTimeInSeconds = lens _sElapsedTimeInSeconds (\s a -> s { _sElapsedTimeInSeconds = a }) --- | If true, the data in the snapshot is encrypted at rest.+-- | If 'true', the data in the snapshot is encrypted at rest. sEncrypted :: Lens' Snapshot (Maybe Bool) sEncrypted = lens _sEncrypted (\s a -> s { _sEncrypted = a }) --- | A boolean that indicates whether the snapshot data is encrypted using the--- HSM keys of the source cluster. true indicates that the data is encrypted--- using HSM keys.+-- | A boolean that indicates whether the snapshot data is encrypted using the HSM+-- keys of the source cluster. 'true' indicates that the data is encrypted using+-- HSM keys. sEncryptedWithHSM :: Lens' Snapshot (Maybe Bool) sEncryptedWithHSM = lens _sEncryptedWithHSM (\s a -> s { _sEncryptedWithHSM = a }) --- | The estimate of the time remaining before the snapshot backup will--- complete. Returns 0 for a completed backup.+-- | The estimate of the time remaining before the snapshot backup will complete.+-- Returns '0' for a completed backup. sEstimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer) sEstimatedSecondsToCompletion = lens _sEstimatedSecondsToCompletion (\s a -> s { _sEstimatedSecondsToCompletion = a }) --- | The AWS Key Management Service (KMS) key ID of the encryption key that--- was used to encrypt data in the cluster from which the snapshot was--- taken.+-- | The AWS Key Management Service (KMS) key ID of the encryption key that was+-- used to encrypt data in the cluster from which the snapshot was taken. sKmsKeyId :: Lens' Snapshot (Maybe Text) sKmsKeyId = lens _sKmsKeyId (\s a -> s { _sKmsKeyId = a }) @@ -624,8 +621,8 @@ sNumberOfNodes = lens _sNumberOfNodes (\s a -> s { _sNumberOfNodes = a }) -- | For manual snapshots, the AWS customer account used to create or copy the--- snapshot. For automatic snapshots, the owner of the cluster. The owner--- can perform all snapshot actions, such as sharing a manual snapshot.+-- snapshot. For automatic snapshots, the owner of the cluster. The owner can+-- perform all snapshot actions, such as sharing a manual snapshot. sOwnerAccount :: Lens' Snapshot (Maybe Text) sOwnerAccount = lens _sOwnerAccount (\s a -> s { _sOwnerAccount = a }) @@ -633,8 +630,8 @@ sPort :: Lens' Snapshot (Maybe Int) sPort = lens _sPort (\s a -> s { _sPort = a }) --- | The time (UTC) when Amazon Redshift began the snapshot. A snapshot--- contains a copy of the cluster data as of this exact time.+-- | The time (UTC) when Amazon Redshift began the snapshot. A snapshot contains+-- a copy of the cluster data as of this exact time. sSnapshotCreateTime :: Lens' Snapshot (Maybe UTCTime) sSnapshotCreateTime = lens _sSnapshotCreateTime (\s a -> s { _sSnapshotCreateTime = a })@@ -645,8 +642,7 @@ sSnapshotIdentifier = lens _sSnapshotIdentifier (\s a -> s { _sSnapshotIdentifier = a }) --- | The snapshot type. Snapshots created using CreateClusterSnapshot and--- CopyClusterSnapshot will be of type "manual".+-- | The snapshot type. Snapshots created using 'CreateClusterSnapshot' and 'CopyClusterSnapshot' will be of type "manual". sSnapshotType :: Lens' Snapshot (Maybe Text) sSnapshotType = lens _sSnapshotType (\s a -> s { _sSnapshotType = a }) @@ -655,9 +651,9 @@ sSourceRegion = lens _sSourceRegion (\s a -> s { _sSourceRegion = a }) -- | The snapshot status. The value of the status depends on the API operation--- used. CreateClusterSnapshot and CopyClusterSnapshot returns status as--- "creating". DescribeClusterSnapshots returns status as "creating",--- "available", "final snapshot", or "failed". DeleteClusterSnapshot returns+-- used. 'CreateClusterSnapshot' and 'CopyClusterSnapshot' returns status as+-- "creating". 'DescribeClusterSnapshots' returns status as "creating",+-- "available", "final snapshot", or "failed". 'DeleteClusterSnapshot' returns -- status as "deleted". sStatus :: Lens' Snapshot (Maybe Text) sStatus = lens _sStatus (\s a -> s { _sStatus = a })@@ -673,8 +669,8 @@ lens _sTotalBackupSizeInMegaBytes (\s a -> s { _sTotalBackupSizeInMegaBytes = a }) --- | The VPC identifier of the cluster if the snapshot is from a cluster in a--- VPC. Otherwise, this field is not in the output.+-- | The VPC identifier of the cluster if the snapshot is from a cluster in a VPC.+-- Otherwise, this field is not in the output. sVpcId :: Lens' Snapshot (Maybe Text) sVpcId = lens _sVpcId (\s a -> s { _sVpcId = a }) @@ -770,8 +766,8 @@ cpgDescription :: Lens' ClusterParameterGroup (Maybe Text) cpgDescription = lens _cpgDescription (\s a -> s { _cpgDescription = a }) --- | The name of the cluster parameter group family that this cluster--- parameter group is compatible with.+-- | The name of the cluster parameter group family that this cluster parameter+-- group is compatible with. cpgParameterGroupFamily :: Lens' ClusterParameterGroup (Maybe Text) cpgParameterGroupFamily = lens _cpgParameterGroupFamily (\s a -> s { _cpgParameterGroupFamily = a })@@ -842,14 +838,14 @@ lens _rsCurrentRestoreRateInMegaBytesPerSecond (\s a -> s { _rsCurrentRestoreRateInMegaBytesPerSecond = a }) --- | The amount of time an in-progress restore has been running, or the amount--- of time it took a completed restore to finish.+-- | The amount of time an in-progress restore has been running, or the amount of+-- time it took a completed restore to finish. rsElapsedTimeInSeconds :: Lens' RestoreStatus (Maybe Integer) rsElapsedTimeInSeconds = lens _rsElapsedTimeInSeconds (\s a -> s { _rsElapsedTimeInSeconds = a }) --- | The estimate of the time remaining before the restore will complete.--- Returns 0 for a completed restore.+-- | The estimate of the time remaining before the restore will complete. Returns+-- 0 for a completed restore. rsEstimatedTimeToCompletionInSeconds :: Lens' RestoreStatus (Maybe Integer) rsEstimatedTimeToCompletionInSeconds = lens _rsEstimatedTimeToCompletionInSeconds@@ -866,8 +862,8 @@ lens _rsSnapshotSizeInMegaBytes (\s a -> s { _rsSnapshotSizeInMegaBytes = a }) --- | The status of the restore action. Returns starting, restoring, completed,--- or failed.+-- | The status of the restore action. Returns starting, restoring, completed, or+-- failed. rsStatus :: Lens' RestoreStatus (Maybe Text) rsStatus = lens _rsStatus (\s a -> s { _rsStatus = a }) @@ -891,7 +887,7 @@ ] data Event = Event- { _eDate :: Maybe RFC822+ { _eDate :: Maybe ISO8601 , _eEventCategories :: List "EventCategory" Text , _eEventId :: Maybe Text , _eMessage :: Maybe Text@@ -945,7 +941,9 @@ eMessage :: Lens' Event (Maybe Text) eMessage = lens _eMessage (\s a -> s { _eMessage = a }) --- | The severity of the event. Values: ERROR, INFO.+-- | The severity of the event.+--+-- Values: ERROR, INFO eSeverity :: Lens' Event (Maybe Text) eSeverity = lens _eSeverity (\s a -> s { _eSeverity = a }) @@ -1004,8 +1002,8 @@ cscsDestinationRegion = lens _cscsDestinationRegion (\s a -> s { _cscsDestinationRegion = a }) --- | The number of days that automated snapshots are retained in the--- destination region after they are copied from a source region.+-- | The number of days that automated snapshots are retained in the destination+-- region after they are copied from a source region. cscsRetentionPeriod :: Lens' ClusterSnapshotCopyStatus (Maybe Integer) cscsRetentionPeriod = lens _cscsRetentionPeriod (\s a -> s { _cscsRetentionPeriod = a })@@ -1088,8 +1086,8 @@ lens _hccHsmClientCertificateIdentifier (\s a -> s { _hccHsmClientCertificateIdentifier = a }) --- | The public key that the Amazon Redshift cluster will use to connect to--- the HSM. You must register the public key in the HSM.+-- | The public key that the Amazon Redshift cluster will use to connect to the+-- HSM. You must register the public key in the HSM. hccHsmClientCertificatePublicKey :: Lens' HsmClientCertificate (Maybe Text) hccHsmClientCertificatePublicKey = lens _hccHsmClientCertificatePublicKey@@ -1116,7 +1114,7 @@ { _cAllowVersionUpgrade :: Maybe Bool , _cAutomatedSnapshotRetentionPeriod :: Maybe Int , _cAvailabilityZone :: Maybe Text- , _cClusterCreateTime :: Maybe RFC822+ , _cClusterCreateTime :: Maybe ISO8601 , _cClusterIdentifier :: Maybe Text , _cClusterNodes :: List "ClusterNodes" ClusterNode , _cClusterParameterGroups :: List "ClusterParameterGroup" ClusterParameterGroupStatus@@ -1247,8 +1245,8 @@ , _cKmsKeyId = Nothing } --- | If true, major version upgrades will be applied automatically to the--- cluster during the maintenance window.+-- | If 'true', major version upgrades will be applied automatically to the cluster+-- during the maintenance window. cAllowVersionUpgrade :: Lens' Cluster (Maybe Bool) cAllowVersionUpgrade = lens _cAllowVersionUpgrade (\s a -> s { _cAllowVersionUpgrade = a })@@ -1279,8 +1277,7 @@ cClusterNodes :: Lens' Cluster [ClusterNode] cClusterNodes = lens _cClusterNodes (\s a -> s { _cClusterNodes = a }) . _List --- | The list of cluster parameter groups that are associated with this--- cluster.+-- | The list of cluster parameter groups that are associated with this cluster. cClusterParameterGroups :: Lens' Cluster [ClusterParameterGroupStatus] cClusterParameterGroups = lens _cClusterParameterGroups (\s a -> s { _cClusterParameterGroups = a })@@ -1296,26 +1293,25 @@ cClusterRevisionNumber = lens _cClusterRevisionNumber (\s a -> s { _cClusterRevisionNumber = a }) --- | A list of cluster security group that are associated with the cluster.--- Each security group is represented by an element that contains--- ClusterSecurityGroup.Name and ClusterSecurityGroup.Status subelements.--- Cluster security groups are used when the cluster is not created in a--- VPC. Clusters that are created in a VPC use VPC security groups, which--- are listed by the VpcSecurityGroups parameter.+-- | A list of cluster security group that are associated with the cluster. Each+-- security group is represented by an element that contains 'ClusterSecurityGroup.Name' and 'ClusterSecurityGroup.Status' subelements.+--+-- Cluster security groups are used when the cluster is not created in a VPC.+-- Clusters that are created in a VPC use VPC security groups, which are listed+-- by the VpcSecurityGroups parameter. cClusterSecurityGroups :: Lens' Cluster [ClusterSecurityGroupMembership] cClusterSecurityGroups = lens _cClusterSecurityGroups (\s a -> s { _cClusterSecurityGroups = a }) . _List --- | Returns the destination region and retention period that are configured--- for cross-region snapshot copy.+-- | Returns the destination region and retention period that are configured for+-- cross-region snapshot copy. cClusterSnapshotCopyStatus :: Lens' Cluster (Maybe ClusterSnapshotCopyStatus) cClusterSnapshotCopyStatus = lens _cClusterSnapshotCopyStatus (\s a -> s { _cClusterSnapshotCopyStatus = a }) --- | The current state of this cluster. Possible values include available,--- creating, deleting, rebooting, renaming, and resizing.+-- | The current state of this cluster. Possible values include 'available', 'creating', 'deleting', 'rebooting', 'renaming', and 'resizing'. cClusterStatus :: Lens' Cluster (Maybe Text) cClusterStatus = lens _cClusterStatus (\s a -> s { _cClusterStatus = a }) @@ -1325,8 +1321,7 @@ cClusterSubnetGroupName = lens _cClusterSubnetGroupName (\s a -> s { _cClusterSubnetGroupName = a }) --- | The version ID of the Amazon Redshift engine that is running on the--- cluster.+-- | The version ID of the Amazon Redshift engine that is running on the cluster. cClusterVersion :: Lens' Cluster (Maybe Text) cClusterVersion = lens _cClusterVersion (\s a -> s { _cClusterVersion = a }) @@ -1341,7 +1336,7 @@ cElasticIpStatus :: Lens' Cluster (Maybe ElasticIpStatus) cElasticIpStatus = lens _cElasticIpStatus (\s a -> s { _cElasticIpStatus = a }) --- | If true, data in the cluster is encrypted at rest.+-- | If 'true', data in the cluster is encrypted at rest. cEncrypted :: Lens' Cluster (Maybe Bool) cEncrypted = lens _cEncrypted (\s a -> s { _cEncrypted = a }) @@ -1350,8 +1345,9 @@ cEndpoint = lens _cEndpoint (\s a -> s { _cEndpoint = a }) -- | Reports whether the Amazon Redshift cluster has finished applying any HSM--- settings changes specified in a modify cluster command. Values: active,--- applying.+-- settings changes specified in a modify cluster command.+--+-- Values: active, applying cHsmStatus :: Lens' Cluster (Maybe HsmStatus) cHsmStatus = lens _cHsmStatus (\s a -> s { _cHsmStatus = a }) @@ -1377,8 +1373,8 @@ cNumberOfNodes :: Lens' Cluster (Maybe Int) cNumberOfNodes = lens _cNumberOfNodes (\s a -> s { _cNumberOfNodes = a }) --- | If present, changes to the cluster are pending. Specific pending changes--- are identified by subelements.+-- | If present, changes to the cluster are pending. Specific pending changes are+-- identified by subelements. cPendingModifiedValues :: Lens' Cluster (Maybe PendingModifiedValues) cPendingModifiedValues = lens _cPendingModifiedValues (\s a -> s { _cPendingModifiedValues = a })@@ -1389,7 +1385,7 @@ lens _cPreferredMaintenanceWindow (\s a -> s { _cPreferredMaintenanceWindow = a }) --- | If true, the cluster can be accessed from a public network.+-- | If 'true', the cluster can be accessed from a public network. cPubliclyAccessible :: Lens' Cluster (Maybe Bool) cPubliclyAccessible = lens _cPubliclyAccessible (\s a -> s { _cPubliclyAccessible = a })@@ -1408,8 +1404,7 @@ cVpcId = lens _cVpcId (\s a -> s { _cVpcId = a }) -- | A list of Virtual Private Cloud (VPC) security groups that are associated--- with the cluster. This parameter is returned only if the cluster is in a--- VPC.+-- with the cluster. This parameter is returned only if the cluster is in a VPC. cVpcSecurityGroups :: Lens' Cluster [VpcSecurityGroupMembership] cVpcSecurityGroups = lens _cVpcSecurityGroups (\s a -> s { _cVpcSecurityGroups = a })@@ -1567,8 +1562,7 @@ lens _ecsgEC2SecurityGroupName (\s a -> s { _ecsgEC2SecurityGroupName = a }) --- | The AWS ID of the owner of the EC2 security group specified in the--- EC2SecurityGroupName field.+-- | The AWS ID of the owner of the EC2 security group specified in the 'EC2SecurityGroupName' field. ecsgEC2SecurityGroupOwnerId :: Lens' EC2SecurityGroup (Maybe Text) ecsgEC2SecurityGroupOwnerId = lens _ecsgEC2SecurityGroupOwnerId@@ -1630,7 +1624,7 @@ lens _ocoAvailabilityZones (\s a -> s { _ocoAvailabilityZones = a }) . _List --- | The cluster type, for example multi-node.+-- | The cluster type, for example 'multi-node'. ocoClusterType :: Lens' OrderableClusterOption (Maybe Text) ocoClusterType = lens _ocoClusterType (\s a -> s { _ocoClusterType = a }) @@ -1668,10 +1662,13 @@ instance Hashable SourceType instance FromText SourceType where- parser = match "cluster" STCluster- <|> match "cluster-parameter-group" STClusterParameterGroup- <|> match "cluster-security-group" STClusterSecurityGroup- <|> match "cluster-snapshot" STClusterSnapshot+ parser = takeText >>= \case+ "cluster" -> pure STCluster+ "cluster-parameter-group" -> pure STClusterParameterGroup+ "cluster-security-group" -> pure STClusterSecurityGroup+ "cluster-snapshot" -> pure STClusterSnapshot+ e -> fail $+ "Failure parsing SourceType from " ++ show e instance ToText SourceType where toText = \case@@ -1687,7 +1684,6 @@ instance FromXML SourceType where parseXML = parseXMLText "SourceType" - data ClusterParameterGroupStatus = ClusterParameterGroupStatus { _cpgsParameterApplyStatus :: Maybe Text , _cpgsParameterGroupName :: Maybe Text@@ -1809,8 +1805,7 @@ , _csgTags = mempty } --- | The name of the cluster security group to which the operation was--- applied.+-- | The name of the cluster security group to which the operation was applied. csgClusterSecurityGroupName :: Lens' ClusterSecurityGroup (Maybe Text) csgClusterSecurityGroupName = lens _csgClusterSecurityGroupName@@ -1877,16 +1872,15 @@ } -- | A value that indicates the starting point for the next set of response--- records in a subsequent request. If a value is returned in a response,--- you can retrieve the next set of records by providing this returned--- marker value in the Marker parameter and retrying the command. If the--- Marker field is empty, all response records have been retrieved for the--- request.+-- records in a subsequent request. If a value is returned in a response, you+-- can retrieve the next set of records by providing this returned marker value+-- in the 'Marker' parameter and retrying the command. If the 'Marker' field is+-- empty, all response records have been retrieved for the request. dcpMarker :: Lens' DefaultClusterParameters (Maybe Text) dcpMarker = lens _dcpMarker (\s a -> s { _dcpMarker = a }) --- | The name of the cluster parameter group family to which the engine--- default parameters apply.+-- | The name of the cluster parameter group family to which the engine default+-- parameters apply. dcpParameterGroupFamily :: Lens' DefaultClusterParameters (Maybe Text) dcpParameterGroupFamily = lens _dcpParameterGroupFamily (\s a -> s { _dcpParameterGroupFamily = a })@@ -1953,13 +1947,12 @@ csg1Description :: Lens' ClusterSubnetGroup (Maybe Text) csg1Description = lens _csg1Description (\s a -> s { _csg1Description = a }) --- | The status of the cluster subnet group. Possible values are Complete,--- Incomplete and Invalid.+-- | The status of the cluster subnet group. Possible values are 'Complete', 'Incomplete' and 'Invalid'. csg1SubnetGroupStatus :: Lens' ClusterSubnetGroup (Maybe Text) csg1SubnetGroupStatus = lens _csg1SubnetGroupStatus (\s a -> s { _csg1SubnetGroupStatus = a }) --- | A list of the VPC Subnet elements.+-- | A list of the VPC 'Subnet' elements. csg1Subnets :: Lens' ClusterSubnetGroup [Subnet] csg1Subnets = lens _csg1Subnets (\s a -> s { _csg1Subnets = a }) . _List @@ -2032,7 +2025,9 @@ eimEventId :: Lens' EventInfoMap (Maybe Text) eimEventId = lens _eimEventId (\s a -> s { _eimEventId = a }) --- | The severity of the event. Values: ERROR, INFO.+-- | The severity of the event.+--+-- Values: ERROR, INFO eimSeverity :: Lens' EventInfoMap (Maybe Text) eimSeverity = lens _eimSeverity (\s a -> s { _eimSeverity = a }) @@ -2142,8 +2137,8 @@ rnoDuration :: Lens' ReservedNodeOffering (Maybe Int) rnoDuration = lens _rnoDuration (\s a -> s { _rnoDuration = a }) --- | The upfront fixed charge you will pay to purchase the specific reserved--- node offering.+-- | The upfront fixed charge you will pay to purchase the specific reserved node+-- offering. rnoFixedPrice :: Lens' ReservedNodeOffering (Maybe Double) rnoFixedPrice = lens _rnoFixedPrice (\s a -> s { _rnoFixedPrice = a }) @@ -2151,14 +2146,14 @@ rnoNodeType :: Lens' ReservedNodeOffering (Maybe Text) rnoNodeType = lens _rnoNodeType (\s a -> s { _rnoNodeType = a }) --- | The anticipated utilization of the reserved node, as defined in the--- reserved node offering.+-- | The anticipated utilization of the reserved node, as defined in the reserved+-- node offering. rnoOfferingType :: Lens' ReservedNodeOffering (Maybe Text) rnoOfferingType = lens _rnoOfferingType (\s a -> s { _rnoOfferingType = a }) -- | The charge to your account regardless of whether you are creating any--- clusters using the node offering. Recurring charges are only in effect--- for heavy-utilization reserved nodes.+-- clusters using the node offering. Recurring charges are only in effect for+-- heavy-utilization reserved nodes. rnoRecurringCharges :: Lens' ReservedNodeOffering [RecurringCharge] rnoRecurringCharges = lens _rnoRecurringCharges (\s a -> s { _rnoRecurringCharges = a })@@ -2208,7 +2203,7 @@ , _rnRecurringCharges :: List "RecurringCharge" RecurringCharge , _rnReservedNodeId :: Maybe Text , _rnReservedNodeOfferingId :: Maybe Text- , _rnStartTime :: Maybe RFC822+ , _rnStartTime :: Maybe ISO8601 , _rnState :: Maybe Text , _rnUsagePrice :: Maybe Double } deriving (Eq, Show)@@ -2277,8 +2272,8 @@ rnNodeType :: Lens' ReservedNode (Maybe Text) rnNodeType = lens _rnNodeType (\s a -> s { _rnNodeType = a }) --- | The anticipated utilization of the reserved node, as defined in the--- reserved node offering.+-- | The anticipated utilization of the reserved node, as defined in the reserved+-- node offering. rnOfferingType :: Lens' ReservedNode (Maybe Text) rnOfferingType = lens _rnOfferingType (\s a -> s { _rnOfferingType = a }) @@ -2298,16 +2293,19 @@ lens _rnReservedNodeOfferingId (\s a -> s { _rnReservedNodeOfferingId = a }) --- | The time the reservation started. You purchase a reserved node offering--- for a duration. This is the start time of that duration.+-- | The time the reservation started. You purchase a reserved node offering for+-- a duration. This is the start time of that duration. rnStartTime :: Lens' ReservedNode (Maybe UTCTime) rnStartTime = lens _rnStartTime (\s a -> s { _rnStartTime = a }) . mapping _Time --- | The state of the reserved compute node. Possible Values:+-- | The state of the reserved compute node.+--+-- Possible Values:+-- -- pending-payment-This reserved node has recently been purchased, and the--- sale has been approved, but payment has not yet been confirmed.--- active-This reserved node is owned by the caller and is available for--- use. payment-failed-Payment failed for the purchase attempt.+-- sale has been approved, but payment has not yet been confirmed. active-This+-- reserved node is owned by the caller and is available for use. payment-failed-Payment failed for the purchase attempt.+-- rnState :: Lens' ReservedNode (Maybe Text) rnState = lens _rnState (\s a -> s { _rnState = a }) @@ -2349,8 +2347,8 @@ data LoggingStatus = LoggingStatus { _lsBucketName :: Maybe Text , _lsLastFailureMessage :: Maybe Text- , _lsLastFailureTime :: Maybe RFC822- , _lsLastSuccessfulDeliveryTime :: Maybe RFC822+ , _lsLastFailureTime :: Maybe ISO8601+ , _lsLastSuccessfulDeliveryTime :: Maybe ISO8601 , _lsLoggingEnabled :: Maybe Bool , _lsS3KeyPrefix :: Maybe Text } deriving (Eq, Ord, Show)@@ -2403,7 +2401,7 @@ (\s a -> s { _lsLastSuccessfulDeliveryTime = a }) . mapping _Time --- | true if logging is on, false if logging is off.+-- | 'true' if logging is on, 'false' if logging is off. lsLoggingEnabled :: Lens' LoggingStatus (Maybe Bool) lsLoggingEnabled = lens _lsLoggingEnabled (\s a -> s { _lsLoggingEnabled = a }) @@ -2445,8 +2443,7 @@ { _awraAccountId = Nothing } --- | The identifier of an AWS customer account authorized to restore a--- snapshot.+-- | The identifier of an AWS customer account authorized to restore a snapshot. awraAccountId :: Lens' AccountWithRestoreAccess (Maybe Text) awraAccountId = lens _awraAccountId (\s a -> s { _awraAccountId = a }) @@ -2497,7 +2494,7 @@ , _esSourceIdsList :: List "SourceId" Text , _esSourceType :: Maybe Text , _esStatus :: Maybe Text- , _esSubscriptionCreationTime :: Maybe RFC822+ , _esSubscriptionCreationTime :: Maybe ISO8601 , _esTags :: List "Tag" Tag } deriving (Eq, Show) @@ -2552,21 +2549,24 @@ esCustomerAwsId :: Lens' EventSubscription (Maybe Text) esCustomerAwsId = lens _esCustomerAwsId (\s a -> s { _esCustomerAwsId = a }) --- | A Boolean value indicating whether the subscription is enabled. true+-- | A Boolean value indicating whether the subscription is enabled. 'true' -- indicates the subscription is enabled. esEnabled :: Lens' EventSubscription (Maybe Bool) esEnabled = lens _esEnabled (\s a -> s { _esEnabled = a }) -- | The list of Amazon Redshift event categories specified in the event--- notification subscription. Values: Configuration, Management, Monitoring,--- Security.+-- notification subscription.+--+-- Values: Configuration, Management, Monitoring, Security esEventCategoriesList :: Lens' EventSubscription [Text] esEventCategoriesList = lens _esEventCategoriesList (\s a -> s { _esEventCategoriesList = a }) . _List -- | The event severity specified in the Amazon Redshift event notification--- subscription. Values: ERROR, INFO.+-- subscription.+--+-- Values: ERROR, INFO esSeverity :: Lens' EventSubscription (Maybe Text) esSeverity = lens _esSeverity (\s a -> s { _esSeverity = a }) @@ -2586,11 +2586,13 @@ esSourceType = lens _esSourceType (\s a -> s { _esSourceType = a }) -- | The status of the Amazon Redshift event notification subscription.--- Constraints: Can be one of the following: active | no-permission |--- topic-not-exist The status "no-permission" indicates that Amazon Redshift--- no longer has permission to post to the Amazon SNS topic. The status--- "topic-not-exist" indicates that the topic was deleted after the--- subscription was created.+--+-- Constraints:+--+-- Can be one of the following: active | no-permission | topic-not-exist The+-- status "no-permission" indicates that Amazon Redshift no longer has+-- permission to post to the Amazon SNS topic. The status "topic-not-exist"+-- indicates that the topic was deleted after the subscription was created. esStatus :: Lens' EventSubscription (Maybe Text) esStatus = lens _esStatus (\s a -> s { _esStatus = a }) @@ -2658,23 +2660,24 @@ , _hsStatus = Nothing } --- | Specifies the name of the HSM client certificate the Amazon Redshift--- cluster uses to retrieve the data encryption keys stored in an HSM.+-- | Specifies the name of the HSM client certificate the Amazon Redshift cluster+-- uses to retrieve the data encryption keys stored in an HSM. hsHsmClientCertificateIdentifier :: Lens' HsmStatus (Maybe Text) hsHsmClientCertificateIdentifier = lens _hsHsmClientCertificateIdentifier (\s a -> s { _hsHsmClientCertificateIdentifier = a }) --- | Specifies the name of the HSM configuration that contains the information--- the Amazon Redshift cluster can use to retrieve and store keys in an HSM.+-- | Specifies the name of the HSM configuration that contains the information the+-- Amazon Redshift cluster can use to retrieve and store keys in an HSM. hsHsmConfigurationIdentifier :: Lens' HsmStatus (Maybe Text) hsHsmConfigurationIdentifier = lens _hsHsmConfigurationIdentifier (\s a -> s { _hsHsmConfigurationIdentifier = a }) -- | Reports whether the Amazon Redshift cluster has finished applying any HSM--- settings changes specified in a modify cluster command. Values: active,--- applying.+-- settings changes specified in a modify cluster command.+--+-- Values: active, applying hsStatus :: Lens' HsmStatus (Maybe Text) hsStatus = lens _hsStatus (\s a -> s { _hsStatus = a }) @@ -2716,8 +2719,8 @@ lens _cpgnmParameterGroupName (\s a -> s { _cpgnmParameterGroupName = a }) -- | The status of the parameter group. For example, if you made a change to a--- parameter group name-value pair, then the change could be pending a--- reboot of an associated cluster.+-- parameter group name-value pair, then the change could be pending a reboot of+-- an associated cluster. cpgnmParameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text) cpgnmParameterGroupStatus = lens _cpgnmParameterGroupStatus@@ -2841,8 +2844,8 @@ , _rcRecurringChargeFrequency = Nothing } --- | The amount charged per the period of time specified by the recurring--- charge frequency.+-- | The amount charged per the period of time specified by the recurring charge+-- frequency. rcRecurringChargeAmount :: Lens' RecurringCharge (Maybe Double) rcRecurringChargeAmount = lens _rcRecurringChargeAmount (\s a -> s { _rcRecurringChargeAmount = a })@@ -2973,17 +2976,17 @@ , _trResourceType = Nothing } --- | The Amazon Resource Name (ARN) with which the tag is associated. For--- example, arn:aws:redshift:us-east-1:123456789:cluster:t1.+-- | The Amazon Resource Name (ARN) with which the tag is associated. For example, 'arn:aws:redshift:us-east-1:123456789:cluster:t1'. trResourceName :: Lens' TaggedResource (Maybe Text) trResourceName = lens _trResourceName (\s a -> s { _trResourceName = a }) --- | The type of resource with which the tag is associated. Valid resource--- types are: Cluster CIDR/IP EC2 security group Snapshot Cluster security--- group Subnet group HSM connection HSM certificate Parameter group For--- more information about Amazon Redshift resource types and constructing--- ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in--- the Amazon Redshift Cluster Management Guide.+-- | The type of resource with which the tag is associated. Valid resource types+-- are: Cluster CIDR/IP EC2 security group Snapshot Cluster security group Subnet group+-- HSM connection HSM certificate Parameter group+--+-- For more information about Amazon Redshift resource types and constructing+-- ARNs, go to <http://docs.aws.amazon.com/redshift/latest/mgmt/constructing-redshift-arn.html Constructing an Amazon Redshift Amazon Resource Name (ARN)> in the+-- Amazon Redshift Cluster Management Guide. trResourceType :: Lens' TaggedResource (Maybe Text) trResourceType = lens _trResourceType (\s a -> s { _trResourceType = a }) @@ -3027,8 +3030,8 @@ ecmEvents :: Lens' EventCategoriesMap [EventInfoMap] ecmEvents = lens _ecmEvents (\s a -> s { _ecmEvents = a }) . _List --- | The Amazon Redshift source type, such as cluster or cluster-snapshot,--- that the returned categories belong to.+-- | The Amazon Redshift source type, such as cluster or cluster-snapshot, that+-- the returned categories belong to. ecmSourceType :: Lens' EventCategoriesMap (Maybe Text) ecmSourceType = lens _ecmSourceType (\s a -> s { _ecmSourceType = a }) @@ -3084,13 +3087,12 @@ lens _hcHsmConfigurationIdentifier (\s a -> s { _hcHsmConfigurationIdentifier = a }) --- | The IP address that the Amazon Redshift cluster must use to access the--- HSM.+-- | The IP address that the Amazon Redshift cluster must use to access the HSM. hcHsmIpAddress :: Lens' HsmConfiguration (Maybe Text) hcHsmIpAddress = lens _hcHsmIpAddress (\s a -> s { _hcHsmIpAddress = a }) --- | The name of the partition in the HSM where the Amazon Redshift clusters--- will store their database encryption keys.+-- | The name of the partition in the HSM where the Amazon Redshift clusters will+-- store their database encryption keys. hcHsmPartitionName :: Lens' HsmConfiguration (Maybe Text) hcHsmPartitionName = lens _hcHsmPartitionName (\s a -> s { _hcHsmPartitionName = a })@@ -3303,7 +3305,7 @@ pDescription :: Lens' Parameter (Maybe Text) pDescription = lens _pDescription (\s a -> s { _pDescription = a }) --- | If true, the parameter can be modified. Some parameters have security or+-- | If 'true', the parameter can be modified. Some parameters have security or -- operational implications that prevent them from being changed. pIsModifiable :: Lens' Parameter (Maybe Bool) pIsModifiable = lens _pIsModifiable (\s a -> s { _pIsModifiable = a })