-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon Redshift SDK.
--
@package amazonka-redshift
@version 0.2.3
module Network.AWS.Redshift.Types
-- | Version 2012-12-01 of the Amazon Redshift service.
data Redshift
data RESTError :: *
ns :: Text
data Snapshot
-- | Snapshot constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
snapshot :: Snapshot
-- | A list of the AWS customer accounts authorized to restore the
-- snapshot. Returns null if no accounts are authorized. Visible
-- only to the snapshot owner.
sAccountsWithRestoreAccess :: Lens' Snapshot [AccountWithRestoreAccess]
-- | The size of the incremental backup.
sActualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The Availability Zone in which the cluster was created.
sAvailabilityZone :: Lens' Snapshot (Maybe Text)
-- | The number of megabytes that have been transferred to the snapshot
-- backup.
sBackupProgressInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The time (UTC) when the cluster was originally created.
sClusterCreateTime :: Lens' Snapshot (Maybe UTCTime)
-- | The identifier of the cluster for which the snapshot was taken.
sClusterIdentifier :: Lens' Snapshot (Maybe Text)
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
sClusterVersion :: Lens' Snapshot (Maybe Text)
-- | The number of megabytes per second being transferred to the snapshot
-- backup. Returns '0' for a completed backup.
sCurrentBackupRateInMegaBytesPerSecond :: Lens' Snapshot (Maybe Double)
-- | The name of the database that was created when the cluster was
-- created.
sDBName :: Lens' Snapshot (Maybe Text)
-- | 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)
-- | If true, the data in the snapshot is encrypted at rest.
sEncrypted :: Lens' Snapshot (Maybe Bool)
-- | 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)
-- | The estimate of the time remaining before the snapshot backup will
-- complete. Returns '0' for a completed backup.
sEstimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer)
-- | 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)
-- | The master user name for the cluster.
sMasterUsername :: Lens' Snapshot (Maybe Text)
-- | The node type of the nodes in the cluster.
sNodeType :: Lens' Snapshot (Maybe Text)
-- | The number of nodes in the cluster.
sNumberOfNodes :: Lens' Snapshot (Maybe Int)
-- | 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.
sOwnerAccount :: Lens' Snapshot (Maybe Text)
-- | The port that the cluster is listening on.
sPort :: Lens' Snapshot (Maybe Int)
-- | 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)
-- | The snapshot identifier that is provided in the request.
sSnapshotIdentifier :: Lens' Snapshot (Maybe Text)
-- | The snapshot type. Snapshots created using
-- CreateClusterSnapshot and CopyClusterSnapshot will
-- be of type "manual".
sSnapshotType :: Lens' Snapshot (Maybe Text)
-- | The source region from which the snapshot was copied.
sSourceRegion :: Lens' Snapshot (Maybe Text)
-- | 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 status as "deleted".
sStatus :: Lens' Snapshot (Maybe Text)
-- | The list of tags for the cluster snapshot.
sTags :: Lens' Snapshot [Tag]
-- | The size of the complete set of backup data that would be used to
-- restore the cluster.
sTotalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | 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)
data ClusterParameterGroup
-- | ClusterParameterGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
clusterParameterGroup :: ClusterParameterGroup
-- | The description of the parameter group.
cpgDescription :: Lens' ClusterParameterGroup (Maybe Text)
-- | The name of the cluster parameter group family that this cluster
-- parameter group is compatible with.
cpgParameterGroupFamily :: Lens' ClusterParameterGroup (Maybe Text)
-- | The name of the cluster parameter group.
cpgParameterGroupName :: Lens' ClusterParameterGroup (Maybe Text)
-- | The list of tags for the cluster parameter group.
cpgTags :: Lens' ClusterParameterGroup [Tag]
data RestoreStatus
-- | RestoreStatus constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
restoreStatus :: RestoreStatus
-- | The number of megabytes per second being transferred from the backup
-- storage. Returns the average rate for a completed backup.
rsCurrentRestoreRateInMegaBytesPerSecond :: Lens' RestoreStatus (Maybe Double)
-- | 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)
-- | The estimate of the time remaining before the restore will complete.
-- Returns 0 for a completed restore.
rsEstimatedTimeToCompletionInSeconds :: Lens' RestoreStatus (Maybe Integer)
-- | The number of megabytes that have been transferred from snapshot
-- storage.
rsProgressInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | The size of the set of snapshot data used to restore the cluster.
rsSnapshotSizeInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | The status of the restore action. Returns starting, restoring,
-- completed, or failed.
rsStatus :: Lens' RestoreStatus (Maybe Text)
data Event
-- | Event constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
event :: Event
-- | The date and time of the event.
eDate :: Lens' Event (Maybe UTCTime)
-- | A list of the event categories.
eEventCategories :: Lens' Event [Text]
-- | The identifier of the event.
eEventId :: Lens' Event (Maybe Text)
-- | The text of this event.
eMessage :: Lens' Event (Maybe Text)
-- | The severity of the event.
--
-- Values: ERROR, INFO
eSeverity :: Lens' Event (Maybe Text)
-- | The identifier for the source of the event.
eSourceIdentifier :: Lens' Event (Maybe Text)
-- | The source type for this event.
eSourceType :: Lens' Event (Maybe SourceType)
data ClusterSnapshotCopyStatus
-- | ClusterSnapshotCopyStatus constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
clusterSnapshotCopyStatus :: ClusterSnapshotCopyStatus
-- | The destination region that snapshots are automatically copied to when
-- cross-region snapshot copy is enabled.
cscsDestinationRegion :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
-- | 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)
data Tag
-- | Tag constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
tag :: Tag
-- | The key, or name, for the resource tag.
tagKey :: Lens' Tag (Maybe Text)
-- | The value for the resource tag.
tagValue :: Lens' Tag (Maybe Text)
data HsmClientCertificate
-- | HsmClientCertificate constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
hsmClientCertificate :: HsmClientCertificate
-- | The identifier of the HSM client certificate.
hccHsmClientCertificateIdentifier :: Lens' HsmClientCertificate (Maybe Text)
-- | 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)
-- | The list of tags for the HSM client certificate.
hccTags :: Lens' HsmClientCertificate [Tag]
data Cluster
-- | Cluster constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
cluster :: Cluster
-- | If true, major version upgrades will be applied automatically
-- to the cluster during the maintenance window.
cAllowVersionUpgrade :: Lens' Cluster (Maybe Bool)
-- | The number of days that automatic cluster snapshots are retained.
cAutomatedSnapshotRetentionPeriod :: Lens' Cluster (Maybe Int)
-- | The name of the Availability Zone in which the cluster is located.
cAvailabilityZone :: Lens' Cluster (Maybe Text)
-- | The date and time that the cluster was created.
cClusterCreateTime :: Lens' Cluster (Maybe UTCTime)
-- | The unique identifier of the cluster.
cClusterIdentifier :: Lens' Cluster (Maybe Text)
-- | The nodes in a cluster.
cClusterNodes :: Lens' Cluster [ClusterNode]
-- | The list of cluster parameter groups that are associated with this
-- cluster.
cClusterParameterGroups :: Lens' Cluster [ClusterParameterGroupStatus]
-- | The public key for the cluster.
cClusterPublicKey :: Lens' Cluster (Maybe Text)
-- | The specific revision number of the database in the cluster.
cClusterRevisionNumber :: Lens' Cluster (Maybe Text)
-- | A list of cluster security group that are associated with the cluster.
-- Each security group is represented by an element that contains
-- Name and 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]
-- | Returns the destination region and retention period that are
-- configured for cross-region snapshot copy.
cClusterSnapshotCopyStatus :: Lens' Cluster (Maybe ClusterSnapshotCopyStatus)
-- | The current state of this cluster. Possible values include
-- available, creating, deleting,
-- rebooting, renaming, and resizing.
cClusterStatus :: Lens' Cluster (Maybe Text)
-- | The name of the subnet group that is associated with the cluster. This
-- parameter is valid only when the cluster is in a VPC.
cClusterSubnetGroupName :: Lens' Cluster (Maybe Text)
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
cClusterVersion :: Lens' Cluster (Maybe Text)
-- | The name of the initial database that was created when the cluster was
-- created. This same name is returned for the life of the cluster. If an
-- initial database was not specified, a database named "dev" was created
-- by default.
cDBName :: Lens' Cluster (Maybe Text)
-- | Describes the status of the elastic IP (EIP) address.
cElasticIpStatus :: Lens' Cluster (Maybe ElasticIpStatus)
-- | If true, data in the cluster is encrypted at rest.
cEncrypted :: Lens' Cluster (Maybe Bool)
-- | The connection endpoint.
cEndpoint :: Lens' Cluster (Maybe Endpoint)
-- | Reports whether the Amazon Redshift cluster has finished applying any
-- HSM settings changes specified in a modify cluster command.
--
-- Values: active, applying
cHsmStatus :: Lens' Cluster (Maybe HsmStatus)
-- | The AWS Key Management Service (KMS) key ID of the encryption key used
-- to encrypt data in the cluster.
cKmsKeyId :: Lens' Cluster (Maybe Text)
-- | The master user name for the cluster. This name is used to connect to
-- the database that is specified in DBName.
cMasterUsername :: Lens' Cluster (Maybe Text)
-- | The status of a modify operation, if any, initiated for the cluster.
cModifyStatus :: Lens' Cluster (Maybe Text)
-- | The node type for the nodes in the cluster.
cNodeType :: Lens' Cluster (Maybe Text)
-- | The number of compute nodes in the cluster.
cNumberOfNodes :: Lens' Cluster (Maybe Int)
-- | If present, changes to the cluster are pending. Specific pending
-- changes are identified by subelements.
cPendingModifiedValues :: Lens' Cluster (Maybe PendingModifiedValues)
-- | The weekly time range (in UTC) during which system maintenance can
-- occur.
cPreferredMaintenanceWindow :: Lens' Cluster (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
cPubliclyAccessible :: Lens' Cluster (Maybe Bool)
-- | Describes the status of a cluster restore action. Returns null if the
-- cluster was not created by restoring a snapshot.
cRestoreStatus :: Lens' Cluster (Maybe RestoreStatus)
-- | The list of tags for the cluster.
cTags :: Lens' Cluster [Tag]
-- | The identifier of the VPC the cluster is in, if the cluster is in a
-- VPC.
cVpcId :: Lens' Cluster (Maybe Text)
-- | 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.
cVpcSecurityGroups :: Lens' Cluster [VpcSecurityGroupMembership]
data ClusterNode
-- | ClusterNode constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
clusterNode :: ClusterNode
-- | Whether the node is a leader node or a compute node.
cnNodeRole :: Lens' ClusterNode (Maybe Text)
-- | The private IP address of a node within a cluster.
cnPrivateIPAddress :: Lens' ClusterNode (Maybe Text)
-- | The public IP address of a node within a cluster.
cnPublicIPAddress :: Lens' ClusterNode (Maybe Text)
data EC2SecurityGroup
-- | EC2SecurityGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
ec2SecurityGroup :: EC2SecurityGroup
-- | The name of the EC2 Security Group.
ecsgEC2SecurityGroupName :: Lens' EC2SecurityGroup (Maybe Text)
-- | The AWS ID of the owner of the EC2 security group specified in the
-- EC2SecurityGroupName field.
ecsgEC2SecurityGroupOwnerId :: Lens' EC2SecurityGroup (Maybe Text)
-- | The status of the EC2 security group.
ecsgStatus :: Lens' EC2SecurityGroup (Maybe Text)
-- | The list of tags for the EC2 security group.
ecsgTags :: Lens' EC2SecurityGroup [Tag]
data OrderableClusterOption
-- | OrderableClusterOption constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
orderableClusterOption :: OrderableClusterOption
-- | A list of availability zones for the orderable cluster.
ocoAvailabilityZones :: Lens' OrderableClusterOption [AvailabilityZone]
-- | The cluster type, for example 'multi-node'.
ocoClusterType :: Lens' OrderableClusterOption (Maybe Text)
-- | The version of the orderable cluster.
ocoClusterVersion :: Lens' OrderableClusterOption (Maybe Text)
-- | The node type for the orderable cluster.
ocoNodeType :: Lens' OrderableClusterOption (Maybe Text)
data SourceType
-- | cluster
STCluster :: SourceType
-- | cluster-parameter-group
STClusterParameterGroup :: SourceType
-- | cluster-security-group
STClusterSecurityGroup :: SourceType
-- | cluster-snapshot
STClusterSnapshot :: SourceType
data ClusterParameterGroupStatus
-- | ClusterParameterGroupStatus constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
clusterParameterGroupStatus :: ClusterParameterGroupStatus
-- | The status of parameter updates.
cpgsParameterApplyStatus :: Lens' ClusterParameterGroupStatus (Maybe Text)
-- | The name of the cluster parameter group.
cpgsParameterGroupName :: Lens' ClusterParameterGroupStatus (Maybe Text)
data Subnet
-- | Subnet constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
subnet :: Subnet
sSubnetAvailabilityZone :: Lens' Subnet (Maybe AvailabilityZone)
-- | The identifier of the subnet.
sSubnetIdentifier :: Lens' Subnet (Maybe Text)
-- | The status of the subnet.
sSubnetStatus :: Lens' Subnet (Maybe Text)
data ClusterSecurityGroup
-- | ClusterSecurityGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
clusterSecurityGroup :: ClusterSecurityGroup
-- | The name of the cluster security group to which the operation was
-- applied.
csgClusterSecurityGroupName :: Lens' ClusterSecurityGroup (Maybe Text)
-- | A description of the security group.
csgDescription :: Lens' ClusterSecurityGroup (Maybe Text)
-- | A list of EC2 security groups that are permitted to access clusters
-- associated with this cluster security group.
csgEC2SecurityGroups :: Lens' ClusterSecurityGroup [EC2SecurityGroup]
-- | A list of IP ranges (CIDR blocks) that are permitted to access
-- clusters associated with this cluster security group.
csgIPRanges :: Lens' ClusterSecurityGroup [IPRange]
-- | The list of tags for the cluster security group.
csgTags :: Lens' ClusterSecurityGroup [Tag]
data DefaultClusterParameters
-- | DefaultClusterParameters constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
defaultClusterParameters :: DefaultClusterParameters
-- | 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.
dcpMarker :: Lens' DefaultClusterParameters (Maybe Text)
-- | The name of the cluster parameter group family to which the engine
-- default parameters apply.
dcpParameterGroupFamily :: Lens' DefaultClusterParameters (Maybe Text)
-- | The list of cluster default parameters.
dcpParameters :: Lens' DefaultClusterParameters [Parameter]
data ClusterSubnetGroup
-- | ClusterSubnetGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
clusterSubnetGroup :: ClusterSubnetGroup
-- | The name of the cluster subnet group.
csg1ClusterSubnetGroupName :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The description of the cluster subnet group.
csg1Description :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The status of the cluster subnet group. Possible values are
-- Complete, Incomplete and Invalid.
csg1SubnetGroupStatus :: Lens' ClusterSubnetGroup (Maybe Text)
-- | A list of the VPC Subnet elements.
csg1Subnets :: Lens' ClusterSubnetGroup [Subnet]
-- | The list of tags for the cluster subnet group.
csg1Tags :: Lens' ClusterSubnetGroup [Tag]
-- | The VPC ID of the cluster subnet group.
csg1VpcId :: Lens' ClusterSubnetGroup (Maybe Text)
data EventInfoMap
-- | EventInfoMap constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
eventInfoMap :: EventInfoMap
-- | The category of an Amazon Redshift event.
eimEventCategories :: Lens' EventInfoMap [Text]
-- | The description of an Amazon Redshift event.
eimEventDescription :: Lens' EventInfoMap (Maybe Text)
-- | The identifier of an Amazon Redshift event.
eimEventId :: Lens' EventInfoMap (Maybe Text)
-- | The severity of the event.
--
-- Values: ERROR, INFO
eimSeverity :: Lens' EventInfoMap (Maybe Text)
data ClusterSecurityGroupMembership
-- | ClusterSecurityGroupMembership constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
clusterSecurityGroupMembership :: ClusterSecurityGroupMembership
-- | The name of the cluster security group.
csgmClusterSecurityGroupName :: Lens' ClusterSecurityGroupMembership (Maybe Text)
-- | The status of the cluster security group.
csgmStatus :: Lens' ClusterSecurityGroupMembership (Maybe Text)
data ReservedNodeOffering
-- | ReservedNodeOffering constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
reservedNodeOffering :: ReservedNodeOffering
-- | The currency code for the compute nodes offering.
rnoCurrencyCode :: Lens' ReservedNodeOffering (Maybe Text)
-- | The duration, in seconds, for which the offering will reserve the
-- node.
rnoDuration :: Lens' ReservedNodeOffering (Maybe Int)
-- | The upfront fixed charge you will pay to purchase the specific
-- reserved node offering.
rnoFixedPrice :: Lens' ReservedNodeOffering (Maybe Double)
-- | The node type offered by the reserved node offering.
rnoNodeType :: Lens' ReservedNodeOffering (Maybe Text)
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
rnoOfferingType :: Lens' ReservedNodeOffering (Maybe Text)
-- | 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.
rnoRecurringCharges :: Lens' ReservedNodeOffering [RecurringCharge]
-- | The offering identifier.
rnoReservedNodeOfferingId :: Lens' ReservedNodeOffering (Maybe Text)
-- | The rate you are charged for each hour the cluster that is using the
-- offering is running.
rnoUsagePrice :: Lens' ReservedNodeOffering (Maybe Double)
data ReservedNode
-- | ReservedNode constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
reservedNode :: ReservedNode
-- | The currency code for the reserved cluster.
rnCurrencyCode :: Lens' ReservedNode (Maybe Text)
-- | The duration of the node reservation in seconds.
rnDuration :: Lens' ReservedNode (Maybe Int)
-- | The fixed cost Amazon Redshift charged you for this reserved node.
rnFixedPrice :: Lens' ReservedNode (Maybe Double)
-- | The number of reserved compute nodes.
rnNodeCount :: Lens' ReservedNode (Maybe Int)
-- | The node type of the reserved node.
rnNodeType :: Lens' ReservedNode (Maybe Text)
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
rnOfferingType :: Lens' ReservedNode (Maybe Text)
-- | The recurring charges for the reserved node.
rnRecurringCharges :: Lens' ReservedNode [RecurringCharge]
-- | The unique identifier for the reservation.
rnReservedNodeId :: Lens' ReservedNode (Maybe Text)
-- | The identifier for the reserved node offering.
rnReservedNodeOfferingId :: Lens' ReservedNode (Maybe Text)
-- | 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)
-- | 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.
rnState :: Lens' ReservedNode (Maybe Text)
-- | The hourly rate Amazon Redshift charge you for this reserved node.
rnUsagePrice :: Lens' ReservedNode (Maybe Double)
data LoggingStatus
-- | LoggingStatus constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
loggingStatus :: LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
lsBucketName :: Lens' LoggingStatus (Maybe Text)
-- | The message indicating that logs failed to be delivered.
lsLastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | The last time when logs failed to be delivered.
lsLastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time when logs were delivered.
lsLastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | true if logging is on, false if logging is off.
lsLoggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The prefix applied to the log file names.
lsS3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
data AccountWithRestoreAccess
-- | AccountWithRestoreAccess constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
accountWithRestoreAccess :: AccountWithRestoreAccess
-- | The identifier of an AWS customer account authorized to restore a
-- snapshot.
awraAccountId :: Lens' AccountWithRestoreAccess (Maybe Text)
data AvailabilityZone
-- | AvailabilityZone constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
availabilityZone :: AvailabilityZone
-- | The name of the availability zone.
azName :: Lens' AvailabilityZone (Maybe Text)
data EventSubscription
-- | EventSubscription constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
eventSubscription :: EventSubscription
-- | The name of the Amazon Redshift event notification subscription.
esCustSubscriptionId :: Lens' EventSubscription (Maybe Text)
-- | The AWS customer account associated with the Amazon Redshift event
-- notification subscription.
esCustomerAwsId :: Lens' EventSubscription (Maybe Text)
-- | A Boolean value indicating whether the subscription is enabled.
-- true indicates the subscription is enabled.
esEnabled :: Lens' EventSubscription (Maybe Bool)
-- | The list of Amazon Redshift event categories specified in the event
-- notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security
esEventCategoriesList :: Lens' EventSubscription [Text]
-- | The event severity specified in the Amazon Redshift event notification
-- subscription.
--
-- Values: ERROR, INFO
esSeverity :: Lens' EventSubscription (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
-- event notification subscription.
esSnsTopicArn :: Lens' EventSubscription (Maybe Text)
-- | A list of the sources that publish events to the Amazon Redshift event
-- notification subscription.
esSourceIdsList :: Lens' EventSubscription [Text]
-- | The source type of the events returned the Amazon Redshift event
-- notification, such as cluster, or cluster-snapshot.
esSourceType :: Lens' EventSubscription (Maybe Text)
-- | 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.
esStatus :: Lens' EventSubscription (Maybe Text)
-- | The date and time the Amazon Redshift event notification subscription
-- was created.
esSubscriptionCreationTime :: Lens' EventSubscription (Maybe UTCTime)
-- | The list of tags for the event subscription.
esTags :: Lens' EventSubscription [Tag]
data HsmStatus
-- | HsmStatus constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
hsmStatus :: HsmStatus
-- | 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)
-- | 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)
-- | Reports whether the Amazon Redshift cluster has finished applying any
-- HSM settings changes specified in a modify cluster command.
--
-- Values: active, applying
hsStatus :: Lens' HsmStatus (Maybe Text)
data ClusterParameterGroupNameMessage
-- | ClusterParameterGroupNameMessage constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
clusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | The name of the cluster parameter group.
cpgnmParameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | 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.
cpgnmParameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
data ElasticIpStatus
-- | ElasticIpStatus constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
elasticIpStatus :: ElasticIpStatus
-- | The elastic IP (EIP) address for the cluster.
eisElasticIp :: Lens' ElasticIpStatus (Maybe Text)
-- | Describes the status of the elastic IP (EIP) address.
eisStatus :: Lens' ElasticIpStatus (Maybe Text)
data ClusterVersion
-- | ClusterVersion constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
clusterVersion :: ClusterVersion
-- | The name of the cluster parameter group family for the cluster.
cvClusterParameterGroupFamily :: Lens' ClusterVersion (Maybe Text)
-- | The version number used by the cluster.
cvClusterVersion :: Lens' ClusterVersion (Maybe Text)
-- | The description of the cluster version.
cvDescription :: Lens' ClusterVersion (Maybe Text)
data RecurringCharge
-- | RecurringCharge constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
recurringCharge :: RecurringCharge
-- | The amount charged per the period of time specified by the recurring
-- charge frequency.
rcRecurringChargeAmount :: Lens' RecurringCharge (Maybe Double)
-- | The frequency at which the recurring charge amount is applied.
rcRecurringChargeFrequency :: Lens' RecurringCharge (Maybe Text)
data Endpoint
-- | Endpoint constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
endpoint :: Endpoint
-- | The DNS address of the Cluster.
eAddress :: Lens' Endpoint (Maybe Text)
-- | The port that the database engine is listening on.
ePort :: Lens' Endpoint (Maybe Int)
data IPRange
-- | IPRange constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
iprange :: IPRange
-- | The IP range in Classless Inter-Domain Routing (CIDR) notation.
iprCIDRIP :: Lens' IPRange (Maybe Text)
-- | The status of the IP range, for example, "authorized".
iprStatus :: Lens' IPRange (Maybe Text)
-- | The list of tags for the IP range.
iprTags :: Lens' IPRange [Tag]
data TaggedResource
-- | TaggedResource constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
taggedResource :: TaggedResource
-- | 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)
-- | 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.
trResourceType :: Lens' TaggedResource (Maybe Text)
-- | The tag for the resource.
trTag :: Lens' TaggedResource (Maybe Tag)
data EventCategoriesMap
-- | EventCategoriesMap constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
eventCategoriesMap :: EventCategoriesMap
-- | The events in the event category.
ecmEvents :: Lens' EventCategoriesMap [EventInfoMap]
-- | The Amazon Redshift source type, such as cluster or cluster-snapshot,
-- that the returned categories belong to.
ecmSourceType :: Lens' EventCategoriesMap (Maybe Text)
data HsmConfiguration
-- | HsmConfiguration constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
hsmConfiguration :: HsmConfiguration
-- | A text description of the HSM configuration.
hcDescription :: Lens' HsmConfiguration (Maybe Text)
-- | The name of the Amazon Redshift HSM configuration.
hcHsmConfigurationIdentifier :: Lens' HsmConfiguration (Maybe Text)
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
hcHsmIpAddress :: Lens' HsmConfiguration (Maybe Text)
-- | The name of the partition in the HSM where the Amazon Redshift
-- clusters will store their database encryption keys.
hcHsmPartitionName :: Lens' HsmConfiguration (Maybe Text)
-- | The list of tags for the HSM configuration.
hcTags :: Lens' HsmConfiguration [Tag]
data PendingModifiedValues
-- | PendingModifiedValues constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
pendingModifiedValues :: PendingModifiedValues
-- | The pending or in-progress change of the automated snapshot retention
-- period.
pmvAutomatedSnapshotRetentionPeriod :: Lens' PendingModifiedValues (Maybe Int)
-- | The pending or in-progress change of the new identifier for the
-- cluster.
pmvClusterIdentifier :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the cluster type.
pmvClusterType :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the service version.
pmvClusterVersion :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the master user password for the
-- cluster.
pmvMasterUserPassword :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the cluster's node type.
pmvNodeType :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the number of nodes in the
-- cluster.
pmvNumberOfNodes :: Lens' PendingModifiedValues (Maybe Int)
data VpcSecurityGroupMembership
-- | VpcSecurityGroupMembership constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
vpcSecurityGroupMembership :: VpcSecurityGroupMembership
vsgmStatus :: Lens' VpcSecurityGroupMembership (Maybe Text)
vsgmVpcSecurityGroupId :: Lens' VpcSecurityGroupMembership (Maybe Text)
data Parameter
-- | Parameter constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
parameter :: Parameter
-- | The valid range of values for the parameter.
pAllowedValues :: Lens' Parameter (Maybe Text)
-- | The data type of the parameter.
pDataType :: Lens' Parameter (Maybe Text)
-- | A description of the parameter.
pDescription :: Lens' Parameter (Maybe Text)
-- | 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)
-- | The earliest engine version to which the parameter can apply.
pMinimumEngineVersion :: Lens' Parameter (Maybe Text)
-- | The name of the parameter.
pParameterName :: Lens' Parameter (Maybe Text)
-- | The value of the parameter.
pParameterValue :: Lens' Parameter (Maybe Text)
-- | The source of the parameter value, such as "engine-default" or "user".
pSource :: Lens' Parameter (Maybe Text)
instance Eq RestoreStatus
instance Ord RestoreStatus
instance Read RestoreStatus
instance Show RestoreStatus
instance Eq ClusterSnapshotCopyStatus
instance Ord ClusterSnapshotCopyStatus
instance Read ClusterSnapshotCopyStatus
instance Show ClusterSnapshotCopyStatus
instance Eq Tag
instance Ord Tag
instance Read Tag
instance Show Tag
instance Eq ClusterParameterGroup
instance Read ClusterParameterGroup
instance Show ClusterParameterGroup
instance Eq HsmClientCertificate
instance Read HsmClientCertificate
instance Show HsmClientCertificate
instance Eq ClusterNode
instance Ord ClusterNode
instance Read ClusterNode
instance Show ClusterNode
instance Eq EC2SecurityGroup
instance Read EC2SecurityGroup
instance Show EC2SecurityGroup
instance Eq SourceType
instance Ord SourceType
instance Read SourceType
instance Show SourceType
instance Generic SourceType
instance Enum SourceType
instance Eq Event
instance Read Event
instance Show Event
instance Eq ClusterParameterGroupStatus
instance Ord ClusterParameterGroupStatus
instance Read ClusterParameterGroupStatus
instance Show ClusterParameterGroupStatus
instance Eq EventInfoMap
instance Ord EventInfoMap
instance Read EventInfoMap
instance Show EventInfoMap
instance Eq ClusterSecurityGroupMembership
instance Ord ClusterSecurityGroupMembership
instance Read ClusterSecurityGroupMembership
instance Show ClusterSecurityGroupMembership
instance Eq LoggingStatus
instance Ord LoggingStatus
instance Read LoggingStatus
instance Show LoggingStatus
instance Eq AccountWithRestoreAccess
instance Ord AccountWithRestoreAccess
instance Read AccountWithRestoreAccess
instance Show AccountWithRestoreAccess
instance Monoid AccountWithRestoreAccess
instance Eq Snapshot
instance Read Snapshot
instance Show Snapshot
instance Eq AvailabilityZone
instance Ord AvailabilityZone
instance Read AvailabilityZone
instance Show AvailabilityZone
instance Monoid AvailabilityZone
instance Eq Subnet
instance Read Subnet
instance Show Subnet
instance Eq ClusterSubnetGroup
instance Read ClusterSubnetGroup
instance Show ClusterSubnetGroup
instance Eq OrderableClusterOption
instance Read OrderableClusterOption
instance Show OrderableClusterOption
instance Eq EventSubscription
instance Read EventSubscription
instance Show EventSubscription
instance Eq HsmStatus
instance Ord HsmStatus
instance Read HsmStatus
instance Show HsmStatus
instance Eq ClusterParameterGroupNameMessage
instance Ord ClusterParameterGroupNameMessage
instance Read ClusterParameterGroupNameMessage
instance Show ClusterParameterGroupNameMessage
instance Eq ElasticIpStatus
instance Ord ElasticIpStatus
instance Read ElasticIpStatus
instance Show ElasticIpStatus
instance Eq ClusterVersion
instance Ord ClusterVersion
instance Read ClusterVersion
instance Show ClusterVersion
instance Eq RecurringCharge
instance Ord RecurringCharge
instance Read RecurringCharge
instance Show RecurringCharge
instance Eq ReservedNode
instance Read ReservedNode
instance Show ReservedNode
instance Eq ReservedNodeOffering
instance Read ReservedNodeOffering
instance Show ReservedNodeOffering
instance Eq Endpoint
instance Ord Endpoint
instance Read Endpoint
instance Show Endpoint
instance Eq IPRange
instance Read IPRange
instance Show IPRange
instance Eq ClusterSecurityGroup
instance Read ClusterSecurityGroup
instance Show ClusterSecurityGroup
instance Eq TaggedResource
instance Read TaggedResource
instance Show TaggedResource
instance Eq EventCategoriesMap
instance Read EventCategoriesMap
instance Show EventCategoriesMap
instance Eq HsmConfiguration
instance Read HsmConfiguration
instance Show HsmConfiguration
instance Eq PendingModifiedValues
instance Ord PendingModifiedValues
instance Read PendingModifiedValues
instance Show PendingModifiedValues
instance Eq VpcSecurityGroupMembership
instance Ord VpcSecurityGroupMembership
instance Read VpcSecurityGroupMembership
instance Show VpcSecurityGroupMembership
instance Eq Cluster
instance Read Cluster
instance Show Cluster
instance Eq Parameter
instance Ord Parameter
instance Read Parameter
instance Show Parameter
instance Eq DefaultClusterParameters
instance Read DefaultClusterParameters
instance Show DefaultClusterParameters
instance Datatype D1SourceType
instance Constructor C1_0SourceType
instance Constructor C1_1SourceType
instance Constructor C1_2SourceType
instance Constructor C1_3SourceType
instance ToQuery Parameter
instance FromXML Parameter
instance ToQuery VpcSecurityGroupMembership
instance FromXML VpcSecurityGroupMembership
instance ToQuery PendingModifiedValues
instance FromXML PendingModifiedValues
instance ToQuery HsmConfiguration
instance FromXML HsmConfiguration
instance ToQuery EventCategoriesMap
instance FromXML EventCategoriesMap
instance ToQuery TaggedResource
instance FromXML TaggedResource
instance ToQuery IPRange
instance FromXML IPRange
instance ToQuery Endpoint
instance FromXML Endpoint
instance ToQuery RecurringCharge
instance FromXML RecurringCharge
instance ToQuery ClusterVersion
instance FromXML ClusterVersion
instance ToQuery ElasticIpStatus
instance FromXML ElasticIpStatus
instance ToQuery ClusterParameterGroupNameMessage
instance FromXML ClusterParameterGroupNameMessage
instance ToQuery HsmStatus
instance FromXML HsmStatus
instance ToQuery EventSubscription
instance FromXML EventSubscription
instance ToQuery AvailabilityZone
instance FromXML AvailabilityZone
instance ToQuery AccountWithRestoreAccess
instance FromXML AccountWithRestoreAccess
instance ToQuery LoggingStatus
instance FromXML LoggingStatus
instance ToQuery ReservedNode
instance FromXML ReservedNode
instance ToQuery ReservedNodeOffering
instance FromXML ReservedNodeOffering
instance ToQuery ClusterSecurityGroupMembership
instance FromXML ClusterSecurityGroupMembership
instance ToQuery EventInfoMap
instance FromXML EventInfoMap
instance ToQuery ClusterSubnetGroup
instance FromXML ClusterSubnetGroup
instance ToQuery DefaultClusterParameters
instance FromXML DefaultClusterParameters
instance ToQuery ClusterSecurityGroup
instance FromXML ClusterSecurityGroup
instance ToQuery Subnet
instance FromXML Subnet
instance ToQuery ClusterParameterGroupStatus
instance FromXML ClusterParameterGroupStatus
instance FromXML SourceType
instance ToQuery SourceType
instance ToHeader SourceType
instance ToByteString SourceType
instance ToText SourceType
instance FromText SourceType
instance Hashable SourceType
instance ToQuery OrderableClusterOption
instance FromXML OrderableClusterOption
instance ToQuery EC2SecurityGroup
instance FromXML EC2SecurityGroup
instance ToQuery ClusterNode
instance FromXML ClusterNode
instance ToQuery Cluster
instance FromXML Cluster
instance ToQuery HsmClientCertificate
instance FromXML HsmClientCertificate
instance ToQuery Tag
instance FromXML Tag
instance ToQuery ClusterSnapshotCopyStatus
instance FromXML ClusterSnapshotCopyStatus
instance ToQuery Event
instance FromXML Event
instance ToQuery RestoreStatus
instance FromXML RestoreStatus
instance ToQuery ClusterParameterGroup
instance FromXML ClusterParameterGroup
instance ToQuery Snapshot
instance FromXML Snapshot
instance AWSService Redshift
-- | Rotates the encryption keys for a cluster.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_RotateEncryptionKey.html
module Network.AWS.Redshift.RotateEncryptionKey
data RotateEncryptionKey
-- | RotateEncryptionKey constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
rotateEncryptionKey :: Text -> RotateEncryptionKey
-- | 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
data RotateEncryptionKeyResponse
-- | RotateEncryptionKeyResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
rotateEncryptionKeyResponse :: RotateEncryptionKeyResponse
rekrCluster :: Lens' RotateEncryptionKeyResponse (Maybe Cluster)
instance Eq RotateEncryptionKey
instance Ord RotateEncryptionKey
instance Read RotateEncryptionKey
instance Show RotateEncryptionKey
instance Monoid RotateEncryptionKey
instance IsString RotateEncryptionKey
instance Eq RotateEncryptionKeyResponse
instance Read RotateEncryptionKeyResponse
instance Show RotateEncryptionKeyResponse
instance FromXML RotateEncryptionKeyResponse
instance AWSRequest RotateEncryptionKey
instance ToHeaders RotateEncryptionKey
instance ToQuery RotateEncryptionKey
instance ToPath RotateEncryptionKey
-- | 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
-- RedshiftSnapshots in the Amazon Redshift Cluster Management
-- Guide.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_RevokeSnapshotAccess.html
module Network.AWS.Redshift.RevokeSnapshotAccess
data RevokeSnapshotAccess
-- | RevokeSnapshotAccess constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
revokeSnapshotAccess :: Text -> Text -> RevokeSnapshotAccess
-- | The identifier of the AWS customer account that can no longer restore
-- the specified snapshot.
rsaAccountWithRestoreAccess :: Lens' RevokeSnapshotAccess Text
-- | 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)
-- | The identifier of the snapshot that the account can no longer access.
rsaSnapshotIdentifier :: Lens' RevokeSnapshotAccess Text
data RevokeSnapshotAccessResponse
-- | RevokeSnapshotAccessResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
revokeSnapshotAccessResponse :: RevokeSnapshotAccessResponse
rsarSnapshot :: Lens' RevokeSnapshotAccessResponse (Maybe Snapshot)
instance Eq RevokeSnapshotAccess
instance Ord RevokeSnapshotAccess
instance Read RevokeSnapshotAccess
instance Show RevokeSnapshotAccess
instance Eq RevokeSnapshotAccessResponse
instance Read RevokeSnapshotAccessResponse
instance Show RevokeSnapshotAccessResponse
instance FromXML RevokeSnapshotAccessResponse
instance AWSRequest RevokeSnapshotAccess
instance ToHeaders RevokeSnapshotAccess
instance ToQuery RevokeSnapshotAccess
instance ToPath RevokeSnapshotAccess
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_RevokeClusterSecurityGroupIngress.html
module Network.AWS.Redshift.RevokeClusterSecurityGroupIngress
data RevokeClusterSecurityGroupIngress
-- | RevokeClusterSecurityGroupIngress constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
revokeClusterSecurityGroupIngress :: Text -> RevokeClusterSecurityGroupIngress
-- | 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 provided.
rcsgiCIDRIP :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
-- | The name of the security Group from which to revoke the ingress rule.
rcsgiClusterSecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress Text
-- | 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)
-- | 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)
data RevokeClusterSecurityGroupIngressResponse
-- | RevokeClusterSecurityGroupIngressResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
revokeClusterSecurityGroupIngressResponse :: RevokeClusterSecurityGroupIngressResponse
rcsgirClusterSecurityGroup :: Lens' RevokeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup)
instance Eq RevokeClusterSecurityGroupIngress
instance Ord RevokeClusterSecurityGroupIngress
instance Read RevokeClusterSecurityGroupIngress
instance Show RevokeClusterSecurityGroupIngress
instance Eq RevokeClusterSecurityGroupIngressResponse
instance Read RevokeClusterSecurityGroupIngressResponse
instance Show RevokeClusterSecurityGroupIngressResponse
instance FromXML RevokeClusterSecurityGroupIngressResponse
instance AWSRequest RevokeClusterSecurityGroupIngress
instance ToHeaders RevokeClusterSecurityGroupIngress
instance ToQuery RevokeClusterSecurityGroupIngress
instance ToPath RevokeClusterSecurityGroupIngress
-- | 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
-- RedshiftSnapshots in the Amazon Redshift Cluster Management
-- Guide.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_RestoreFromClusterSnapshot.html
module Network.AWS.Redshift.RestoreFromClusterSnapshot
data RestoreFromClusterSnapshot
-- | RestoreFromClusterSnapshot constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
restoreFromClusterSnapshot :: Text -> Text -> RestoreFromClusterSnapshot
-- | 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)
-- | 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)
-- | The Amazon EC2 Availability Zone in which to restore the cluster.
--
-- Default: A random, system-chosen Availability Zone.
--
-- Example: 'us-east-1a'
rfcsAvailabilityZone :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | 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.
rfcsClusterIdentifier :: Lens' RestoreFromClusterSnapshot Text
-- | 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
-- 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)
-- | 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]
-- | 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)
-- | The elastic IP (EIP) address for the cluster.
rfcsElasticIp :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | 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)
-- | 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)
-- | 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)
-- | The AWS customer account used to create or copy the snapshot. Required
-- if you are restoring a snapshot you do not own, optional if you own
-- the snapshot.
rfcsOwnerAccount :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | 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)
-- | 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.
rfcsPreferredMaintenanceWindow :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
rfcsPubliclyAccessible :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | 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)
-- | The name of the snapshot from which to create the new cluster. This
-- parameter isn't case sensitive.
--
-- Example: 'my-snapshot-id'
rfcsSnapshotIdentifier :: Lens' RestoreFromClusterSnapshot Text
-- | 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]
data RestoreFromClusterSnapshotResponse
-- | RestoreFromClusterSnapshotResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
restoreFromClusterSnapshotResponse :: RestoreFromClusterSnapshotResponse
rfcsrCluster :: Lens' RestoreFromClusterSnapshotResponse (Maybe Cluster)
instance Eq RestoreFromClusterSnapshot
instance Ord RestoreFromClusterSnapshot
instance Read RestoreFromClusterSnapshot
instance Show RestoreFromClusterSnapshot
instance Eq RestoreFromClusterSnapshotResponse
instance Read RestoreFromClusterSnapshotResponse
instance Show RestoreFromClusterSnapshotResponse
instance FromXML RestoreFromClusterSnapshotResponse
instance AWSRequest RestoreFromClusterSnapshot
instance ToHeaders RestoreFromClusterSnapshot
instance ToQuery RestoreFromClusterSnapshot
instance ToPath RestoreFromClusterSnapshot
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_ResetClusterParameterGroup.html
module Network.AWS.Redshift.ResetClusterParameterGroup
data ResetClusterParameterGroup
-- | ResetClusterParameterGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
resetClusterParameterGroup :: Text -> ResetClusterParameterGroup
-- | The name of the cluster parameter group to be reset.
rcpgParameterGroupName :: Lens' ResetClusterParameterGroup Text
-- | 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]
-- | If true, all parameters in the specified parameter group will
-- be reset to their default values.
--
-- Default: true
rcpgResetAllParameters :: Lens' ResetClusterParameterGroup (Maybe Bool)
data ResetClusterParameterGroupResponse
-- | ResetClusterParameterGroupResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
resetClusterParameterGroupResponse :: ResetClusterParameterGroupResponse
-- | The name of the cluster parameter group.
rcpgrParameterGroupName :: Lens' ResetClusterParameterGroupResponse (Maybe Text)
-- | 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.
rcpgrParameterGroupStatus :: Lens' ResetClusterParameterGroupResponse (Maybe Text)
instance Eq ResetClusterParameterGroup
instance Read ResetClusterParameterGroup
instance Show ResetClusterParameterGroup
instance Eq ResetClusterParameterGroupResponse
instance Ord ResetClusterParameterGroupResponse
instance Read ResetClusterParameterGroupResponse
instance Show ResetClusterParameterGroupResponse
instance FromXML ResetClusterParameterGroupResponse
instance AWSRequest ResetClusterParameterGroup
instance ToHeaders ResetClusterParameterGroup
instance ToQuery ResetClusterParameterGroup
instance ToPath ResetClusterParameterGroup
-- | 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
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_RebootCluster.html
module Network.AWS.Redshift.RebootCluster
data RebootCluster
-- | RebootCluster constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
rebootCluster :: Text -> RebootCluster
-- | The cluster identifier.
rcClusterIdentifier :: Lens' RebootCluster Text
data RebootClusterResponse
-- | RebootClusterResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
rebootClusterResponse :: RebootClusterResponse
rcrCluster :: Lens' RebootClusterResponse (Maybe Cluster)
instance Eq RebootCluster
instance Ord RebootCluster
instance Read RebootCluster
instance Show RebootCluster
instance Monoid RebootCluster
instance IsString RebootCluster
instance Eq RebootClusterResponse
instance Read RebootClusterResponse
instance Show RebootClusterResponse
instance FromXML RebootClusterResponse
instance AWSRequest RebootCluster
instance ToHeaders RebootCluster
instance ToQuery RebootCluster
instance ToPath RebootCluster
-- | 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 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
-- 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
data PurchaseReservedNodeOffering
-- | PurchaseReservedNodeOffering constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
purchaseReservedNodeOffering :: Text -> PurchaseReservedNodeOffering
-- | The number of reserved nodes you want to purchase.
--
-- Default: '1'
prnoNodeCount :: Lens' PurchaseReservedNodeOffering (Maybe Int)
-- | The unique identifier of the reserved node offering you want to
-- purchase.
prnoReservedNodeOfferingId :: Lens' PurchaseReservedNodeOffering Text
data PurchaseReservedNodeOfferingResponse
-- | PurchaseReservedNodeOfferingResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
purchaseReservedNodeOfferingResponse :: PurchaseReservedNodeOfferingResponse
prnorReservedNode :: Lens' PurchaseReservedNodeOfferingResponse (Maybe ReservedNode)
instance Eq PurchaseReservedNodeOffering
instance Ord PurchaseReservedNodeOffering
instance Read PurchaseReservedNodeOffering
instance Show PurchaseReservedNodeOffering
instance Eq PurchaseReservedNodeOfferingResponse
instance Read PurchaseReservedNodeOfferingResponse
instance Show PurchaseReservedNodeOfferingResponse
instance FromXML PurchaseReservedNodeOfferingResponse
instance AWSRequest PurchaseReservedNodeOffering
instance ToHeaders PurchaseReservedNodeOffering
instance ToQuery PurchaseReservedNodeOffering
instance ToPath PurchaseReservedNodeOffering
-- | 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
data ModifySnapshotCopyRetentionPeriod
-- | ModifySnapshotCopyRetentionPeriod constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
modifySnapshotCopyRetentionPeriod :: Text -> Int -> ModifySnapshotCopyRetentionPeriod
-- | 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.
mscrpClusterIdentifier :: Lens' ModifySnapshotCopyRetentionPeriod Text
-- | 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
data ModifySnapshotCopyRetentionPeriodResponse
-- | ModifySnapshotCopyRetentionPeriodResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
modifySnapshotCopyRetentionPeriodResponse :: ModifySnapshotCopyRetentionPeriodResponse
mscrprCluster :: Lens' ModifySnapshotCopyRetentionPeriodResponse (Maybe Cluster)
instance Eq ModifySnapshotCopyRetentionPeriod
instance Ord ModifySnapshotCopyRetentionPeriod
instance Read ModifySnapshotCopyRetentionPeriod
instance Show ModifySnapshotCopyRetentionPeriod
instance Eq ModifySnapshotCopyRetentionPeriodResponse
instance Read ModifySnapshotCopyRetentionPeriodResponse
instance Show ModifySnapshotCopyRetentionPeriodResponse
instance FromXML ModifySnapshotCopyRetentionPeriodResponse
instance AWSRequest ModifySnapshotCopyRetentionPeriod
instance ToHeaders ModifySnapshotCopyRetentionPeriod
instance ToQuery ModifySnapshotCopyRetentionPeriod
instance ToPath ModifySnapshotCopyRetentionPeriod
-- | Modifies an existing Amazon Redshift event notification subscription.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_ModifyEventSubscription.html
module Network.AWS.Redshift.ModifyEventSubscription
data ModifyEventSubscription
-- | ModifyEventSubscription constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
modifyEventSubscription :: Text -> ModifyEventSubscription
-- | A Boolean value indicating if the subscription is enabled.
-- true indicates the subscription is enabled
mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool)
-- | Specifies the Amazon Redshift event categories to be published by the
-- event notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security
mesEventCategories :: Lens' ModifyEventSubscription [Text]
-- | Specifies the Amazon Redshift event severity to be published by the
-- event notification subscription.
--
-- Values: ERROR, INFO
mesSeverity :: Lens' ModifyEventSubscription (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SNS topic to be used by the
-- event notification subscription.
mesSnsTopicArn :: Lens' ModifyEventSubscription (Maybe Text)
-- | 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]
-- | 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)
-- | The name of the modified Amazon Redshift event notification
-- subscription.
mesSubscriptionName :: Lens' ModifyEventSubscription Text
data ModifyEventSubscriptionResponse
-- | ModifyEventSubscriptionResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
modifyEventSubscriptionResponse :: ModifyEventSubscriptionResponse
mesrEventSubscription :: Lens' ModifyEventSubscriptionResponse (Maybe EventSubscription)
instance Eq ModifyEventSubscription
instance Ord ModifyEventSubscription
instance Read ModifyEventSubscription
instance Show ModifyEventSubscription
instance Eq ModifyEventSubscriptionResponse
instance Read ModifyEventSubscriptionResponse
instance Show ModifyEventSubscriptionResponse
instance FromXML ModifyEventSubscriptionResponse
instance AWSRequest ModifyEventSubscription
instance ToHeaders ModifyEventSubscription
instance ToQuery ModifyEventSubscription
instance ToPath ModifyEventSubscription
-- | Modifies a cluster subnet group to include the specified list of VPC
-- subnets. The operation replaces the existing list of subnets with the
-- new list of subnets.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_ModifyClusterSubnetGroup.html
module Network.AWS.Redshift.ModifyClusterSubnetGroup
data ModifyClusterSubnetGroup
-- | ModifyClusterSubnetGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
modifyClusterSubnetGroup :: Text -> ModifyClusterSubnetGroup
-- | The name of the subnet group to be modified.
mcsgClusterSubnetGroupName :: Lens' ModifyClusterSubnetGroup Text
-- | A text description of the subnet group to be modified.
mcsgDescription :: Lens' ModifyClusterSubnetGroup (Maybe Text)
-- | An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
-- a single request.
mcsgSubnetIds :: Lens' ModifyClusterSubnetGroup [Text]
data ModifyClusterSubnetGroupResponse
-- | ModifyClusterSubnetGroupResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
modifyClusterSubnetGroupResponse :: ModifyClusterSubnetGroupResponse
mcsgrClusterSubnetGroup :: Lens' ModifyClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
instance Eq ModifyClusterSubnetGroup
instance Ord ModifyClusterSubnetGroup
instance Read ModifyClusterSubnetGroup
instance Show ModifyClusterSubnetGroup
instance Eq ModifyClusterSubnetGroupResponse
instance Read ModifyClusterSubnetGroupResponse
instance Show ModifyClusterSubnetGroupResponse
instance FromXML ModifyClusterSubnetGroupResponse
instance AWSRequest ModifyClusterSubnetGroup
instance ToHeaders ModifyClusterSubnetGroup
instance ToQuery ModifyClusterSubnetGroup
instance ToPath ModifyClusterSubnetGroup
-- | Modifies the parameters of a parameter group.
--
-- For more information about managing parameter groups, go to 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
data ModifyClusterParameterGroup
-- | ModifyClusterParameterGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
modifyClusterParameterGroup :: Text -> ModifyClusterParameterGroup
-- | The name of the parameter group to be modified.
mcpgParameterGroupName :: Lens' ModifyClusterParameterGroup Text
-- | 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.
mcpgParameters :: Lens' ModifyClusterParameterGroup [Parameter]
data ModifyClusterParameterGroupResponse
-- | ModifyClusterParameterGroupResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
modifyClusterParameterGroupResponse :: ModifyClusterParameterGroupResponse
-- | The name of the cluster parameter group.
mcpgrParameterGroupName :: Lens' ModifyClusterParameterGroupResponse (Maybe Text)
-- | 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.
mcpgrParameterGroupStatus :: Lens' ModifyClusterParameterGroupResponse (Maybe Text)
instance Eq ModifyClusterParameterGroup
instance Read ModifyClusterParameterGroup
instance Show ModifyClusterParameterGroup
instance Eq ModifyClusterParameterGroupResponse
instance Ord ModifyClusterParameterGroupResponse
instance Read ModifyClusterParameterGroupResponse
instance Show ModifyClusterParameterGroupResponse
instance FromXML ModifyClusterParameterGroupResponse
instance AWSRequest ModifyClusterParameterGroup
instance ToHeaders ModifyClusterParameterGroup
instance ToQuery ModifyClusterParameterGroup
instance ToPath ModifyClusterParameterGroup
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_ModifyCluster.html
module Network.AWS.Redshift.ModifyCluster
data ModifyCluster
-- | ModifyCluster constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
modifyCluster :: Text -> ModifyCluster
-- | If true, major version upgrades will be applied automatically
-- to the cluster during the maintenance window.
--
-- Default: false
mcAllowVersionUpgrade :: Lens' ModifyCluster (Maybe Bool)
-- | 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)
-- | The unique identifier of the cluster to be modified.
--
-- Example: examplecluster
mcClusterIdentifier :: Lens' ModifyCluster Text
-- | 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.
mcClusterParameterGroupName :: Lens' ModifyCluster (Maybe Text)
-- | 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
mcClusterSecurityGroups :: Lens' ModifyCluster [Text]
-- | 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)
-- | 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 ParameterGroups in the Amazon Redshift
-- Cluster Management Guide.
--
-- Example: '1.0'
mcClusterVersion :: Lens' ModifyCluster (Maybe Text)
-- | 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)
-- | 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)
-- | 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)
-- | 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)
-- | 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)
-- | 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'.
mcNumberOfNodes :: Lens' ModifyCluster (Maybe Int)
-- | 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)
-- | A list of virtual private cloud (VPC) security groups to be associated
-- with the cluster.
mcVpcSecurityGroupIds :: Lens' ModifyCluster [Text]
data ModifyClusterResponse
-- | ModifyClusterResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
modifyClusterResponse :: ModifyClusterResponse
mcrCluster :: Lens' ModifyClusterResponse (Maybe Cluster)
instance Eq ModifyCluster
instance Ord ModifyCluster
instance Read ModifyCluster
instance Show ModifyCluster
instance Eq ModifyClusterResponse
instance Read ModifyClusterResponse
instance Show ModifyClusterResponse
instance FromXML ModifyClusterResponse
instance AWSRequest ModifyCluster
instance ToHeaders ModifyCluster
instance ToQuery ModifyCluster
instance ToPath ModifyCluster
-- | 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
data EnableSnapshotCopy
-- | EnableSnapshotCopy constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
enableSnapshotCopy :: Text -> Text -> EnableSnapshotCopy
-- | 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
-- | 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.
escDestinationRegion :: Lens' EnableSnapshotCopy Text
-- | 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)
data EnableSnapshotCopyResponse
-- | EnableSnapshotCopyResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
enableSnapshotCopyResponse :: EnableSnapshotCopyResponse
escrCluster :: Lens' EnableSnapshotCopyResponse (Maybe Cluster)
instance Eq EnableSnapshotCopy
instance Ord EnableSnapshotCopy
instance Read EnableSnapshotCopy
instance Show EnableSnapshotCopy
instance Eq EnableSnapshotCopyResponse
instance Read EnableSnapshotCopyResponse
instance Show EnableSnapshotCopyResponse
instance FromXML EnableSnapshotCopyResponse
instance AWSRequest EnableSnapshotCopy
instance ToHeaders EnableSnapshotCopy
instance ToQuery EnableSnapshotCopy
instance ToPath EnableSnapshotCopy
-- | 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
data EnableLogging
-- | EnableLogging constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
enableLogging :: Text -> Text -> EnableLogging
-- | 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
elBucketName :: Lens' EnableLogging Text
-- | The identifier of the cluster on which logging is to be started.
--
-- Example: examplecluster
elClusterIdentifier :: Lens' EnableLogging Text
-- | 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)
data EnableLoggingResponse
-- | EnableLoggingResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
enableLoggingResponse :: EnableLoggingResponse
-- | The name of the S3 bucket where the log files are stored.
elrBucketName :: Lens' EnableLoggingResponse (Maybe Text)
-- | The message indicating that logs failed to be delivered.
elrLastFailureMessage :: Lens' EnableLoggingResponse (Maybe Text)
-- | The last time when logs failed to be delivered.
elrLastFailureTime :: Lens' EnableLoggingResponse (Maybe UTCTime)
-- | The last time when logs were delivered.
elrLastSuccessfulDeliveryTime :: Lens' EnableLoggingResponse (Maybe UTCTime)
-- | true if logging is on, false if logging is off.
elrLoggingEnabled :: Lens' EnableLoggingResponse (Maybe Bool)
-- | The prefix applied to the log file names.
elrS3KeyPrefix :: Lens' EnableLoggingResponse (Maybe Text)
instance Eq EnableLogging
instance Ord EnableLogging
instance Read EnableLogging
instance Show EnableLogging
instance Eq EnableLoggingResponse
instance Ord EnableLoggingResponse
instance Read EnableLoggingResponse
instance Show EnableLoggingResponse
instance FromXML EnableLoggingResponse
instance AWSRequest EnableLogging
instance ToHeaders EnableLogging
instance ToQuery EnableLogging
instance ToPath EnableLogging
-- | 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
data DisableSnapshotCopy
-- | DisableSnapshotCopy constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
disableSnapshotCopy :: Text -> DisableSnapshotCopy
-- | 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
data DisableSnapshotCopyResponse
-- | DisableSnapshotCopyResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
disableSnapshotCopyResponse :: DisableSnapshotCopyResponse
dscrCluster :: Lens' DisableSnapshotCopyResponse (Maybe Cluster)
instance Eq DisableSnapshotCopy
instance Ord DisableSnapshotCopy
instance Read DisableSnapshotCopy
instance Show DisableSnapshotCopy
instance Monoid DisableSnapshotCopy
instance IsString DisableSnapshotCopy
instance Eq DisableSnapshotCopyResponse
instance Read DisableSnapshotCopyResponse
instance Show DisableSnapshotCopyResponse
instance FromXML DisableSnapshotCopyResponse
instance AWSRequest DisableSnapshotCopy
instance ToHeaders DisableSnapshotCopy
instance ToQuery DisableSnapshotCopy
instance ToPath DisableSnapshotCopy
-- | Stops logging information, such as queries and connection attempts,
-- for the specified Amazon Redshift cluster.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DisableLogging.html
module Network.AWS.Redshift.DisableLogging
data DisableLogging
-- | DisableLogging constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
disableLogging :: Text -> DisableLogging
-- | The identifier of the cluster on which logging is to be stopped.
--
-- Example: examplecluster
dlClusterIdentifier :: Lens' DisableLogging Text
data DisableLoggingResponse
-- | DisableLoggingResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
disableLoggingResponse :: DisableLoggingResponse
-- | The name of the S3 bucket where the log files are stored.
dlrBucketName :: Lens' DisableLoggingResponse (Maybe Text)
-- | The message indicating that logs failed to be delivered.
dlrLastFailureMessage :: Lens' DisableLoggingResponse (Maybe Text)
-- | The last time when logs failed to be delivered.
dlrLastFailureTime :: Lens' DisableLoggingResponse (Maybe UTCTime)
-- | The last time when logs were delivered.
dlrLastSuccessfulDeliveryTime :: Lens' DisableLoggingResponse (Maybe UTCTime)
-- | true if logging is on, false if logging is off.
dlrLoggingEnabled :: Lens' DisableLoggingResponse (Maybe Bool)
-- | The prefix applied to the log file names.
dlrS3KeyPrefix :: Lens' DisableLoggingResponse (Maybe Text)
instance Eq DisableLogging
instance Ord DisableLogging
instance Read DisableLogging
instance Show DisableLogging
instance Monoid DisableLogging
instance IsString DisableLogging
instance Eq DisableLoggingResponse
instance Ord DisableLoggingResponse
instance Read DisableLoggingResponse
instance Show DisableLoggingResponse
instance FromXML DisableLoggingResponse
instance AWSRequest DisableLogging
instance ToHeaders DisableLogging
instance ToQuery DisableLogging
instance ToPath DisableLogging
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeTags.html
module Network.AWS.Redshift.DescribeTags
data DescribeTags
-- | DescribeTags constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeTags :: DescribeTags
-- | 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.
dtMarker :: Lens' DescribeTags (Maybe Text)
-- | 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)
-- | 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'.
dtResourceName :: Lens' DescribeTags (Maybe Text)
-- | 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.
dtResourceType :: Lens' DescribeTags (Maybe Text)
-- | 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]
-- | 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.
dtTagValues :: Lens' DescribeTags [Text]
data DescribeTagsResponse
-- | DescribeTagsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeTagsResponse :: DescribeTagsResponse
-- | 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.
dtrMarker :: Lens' DescribeTagsResponse (Maybe Text)
-- | A list of tags with their associated resources.
dtrTaggedResources :: Lens' DescribeTagsResponse [TaggedResource]
instance Eq DescribeTags
instance Ord DescribeTags
instance Read DescribeTags
instance Show DescribeTags
instance Eq DescribeTagsResponse
instance Read DescribeTagsResponse
instance Show DescribeTagsResponse
instance FromXML DescribeTagsResponse
instance AWSRequest DescribeTags
instance ToHeaders DescribeTags
instance ToQuery DescribeTags
instance ToPath DescribeTags
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeResize.html
module Network.AWS.Redshift.DescribeResize
data DescribeResize
-- | DescribeResize constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeResize :: Text -> DescribeResize
-- | 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
data DescribeResizeResponse
-- | DescribeResizeResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeResizeResponse :: DescribeResizeResponse
-- | 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)
-- | 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.
drrElapsedTimeInSeconds :: Lens' DescribeResizeResponse (Maybe Integer)
-- | 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.
drrEstimatedTimeToCompletionInSeconds :: Lens' DescribeResizeResponse (Maybe Integer)
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
drrImportTablesCompleted :: Lens' DescribeResizeResponse [Text]
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
drrImportTablesInProgress :: Lens' DescribeResizeResponse [Text]
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
drrImportTablesNotStarted :: Lens' DescribeResizeResponse [Text]
-- | 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 TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
drrProgressInMegaBytes :: Lens' DescribeResizeResponse (Maybe Integer)
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED
drrStatus :: Lens' DescribeResizeResponse (Maybe Text)
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: 'multi-node' | 'single-node'
drrTargetClusterType :: Lens' DescribeResizeResponse (Maybe Text)
-- | The node type that the cluster will have after the resize operation is
-- complete.
drrTargetNodeType :: Lens' DescribeResizeResponse (Maybe Text)
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
drrTargetNumberOfNodes :: Lens' DescribeResizeResponse (Maybe Int)
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
drrTotalResizeDataInMegaBytes :: Lens' DescribeResizeResponse (Maybe Integer)
instance Eq DescribeResize
instance Ord DescribeResize
instance Read DescribeResize
instance Show DescribeResize
instance Monoid DescribeResize
instance IsString DescribeResize
instance Eq DescribeResizeResponse
instance Ord DescribeResizeResponse
instance Read DescribeResizeResponse
instance Show DescribeResizeResponse
instance FromXML DescribeResizeResponse
instance AWSRequest DescribeResize
instance ToHeaders DescribeResize
instance ToQuery DescribeResize
instance ToPath DescribeResize
-- | Returns the descriptions of the reserved nodes.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeReservedNodes.html
module Network.AWS.Redshift.DescribeReservedNodes
data DescribeReservedNodes
-- | DescribeReservedNodes constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeReservedNodes :: DescribeReservedNodes
-- | 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)
-- | 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)
-- | Identifier for the node reservation.
drnReservedNodeId :: Lens' DescribeReservedNodes (Maybe Text)
data DescribeReservedNodesResponse
-- | DescribeReservedNodesResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeReservedNodesResponse :: DescribeReservedNodesResponse
-- | 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.
drnrMarker :: Lens' DescribeReservedNodesResponse (Maybe Text)
-- | The list of reserved nodes.
drnrReservedNodes :: Lens' DescribeReservedNodesResponse [ReservedNode]
instance Eq DescribeReservedNodes
instance Ord DescribeReservedNodes
instance Read DescribeReservedNodes
instance Show DescribeReservedNodes
instance Eq DescribeReservedNodesResponse
instance Read DescribeReservedNodesResponse
instance Show DescribeReservedNodesResponse
instance AWSPager DescribeReservedNodes
instance FromXML DescribeReservedNodesResponse
instance AWSRequest DescribeReservedNodes
instance ToHeaders DescribeReservedNodes
instance ToQuery DescribeReservedNodes
instance ToPath DescribeReservedNodes
-- | 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
-- 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
data DescribeReservedNodeOfferings
-- | DescribeReservedNodeOfferings constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeReservedNodeOfferings :: DescribeReservedNodeOfferings
-- | 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)
-- | 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)
-- | The unique identifier for the offering.
drnoReservedNodeOfferingId :: Lens' DescribeReservedNodeOfferings (Maybe Text)
data DescribeReservedNodeOfferingsResponse
-- | DescribeReservedNodeOfferingsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeReservedNodeOfferingsResponse :: DescribeReservedNodeOfferingsResponse
-- | 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.
drnorMarker :: Lens' DescribeReservedNodeOfferingsResponse (Maybe Text)
-- | A list of reserved node offerings.
drnorReservedNodeOfferings :: Lens' DescribeReservedNodeOfferingsResponse [ReservedNodeOffering]
instance Eq DescribeReservedNodeOfferings
instance Ord DescribeReservedNodeOfferings
instance Read DescribeReservedNodeOfferings
instance Show DescribeReservedNodeOfferings
instance Eq DescribeReservedNodeOfferingsResponse
instance Read DescribeReservedNodeOfferingsResponse
instance Show DescribeReservedNodeOfferingsResponse
instance AWSPager DescribeReservedNodeOfferings
instance FromXML DescribeReservedNodeOfferingsResponse
instance AWSRequest DescribeReservedNodeOfferings
instance ToHeaders DescribeReservedNodeOfferings
instance ToQuery DescribeReservedNodeOfferings
instance ToPath DescribeReservedNodeOfferings
-- | 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
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeOrderableClusterOptions.html
module Network.AWS.Redshift.DescribeOrderableClusterOptions
data DescribeOrderableClusterOptions
-- | DescribeOrderableClusterOptions constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeOrderableClusterOptions :: DescribeOrderableClusterOptions
-- | 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)
-- | 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)
-- | 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)
-- | The node type filter value. Specify this parameter to show only the
-- available offerings matching the specified node type.
docoNodeType :: Lens' DescribeOrderableClusterOptions (Maybe Text)
data DescribeOrderableClusterOptionsResponse
-- | DescribeOrderableClusterOptionsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeOrderableClusterOptionsResponse :: DescribeOrderableClusterOptionsResponse
-- | 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.
docorMarker :: Lens' DescribeOrderableClusterOptionsResponse (Maybe Text)
-- | An OrderableClusterOption structure containing information
-- about orderable options for the Cluster.
docorOrderableClusterOptions :: Lens' DescribeOrderableClusterOptionsResponse [OrderableClusterOption]
instance Eq DescribeOrderableClusterOptions
instance Ord DescribeOrderableClusterOptions
instance Read DescribeOrderableClusterOptions
instance Show DescribeOrderableClusterOptions
instance Eq DescribeOrderableClusterOptionsResponse
instance Read DescribeOrderableClusterOptionsResponse
instance Show DescribeOrderableClusterOptionsResponse
instance AWSPager DescribeOrderableClusterOptions
instance FromXML DescribeOrderableClusterOptionsResponse
instance AWSRequest DescribeOrderableClusterOptions
instance ToHeaders DescribeOrderableClusterOptions
instance ToQuery DescribeOrderableClusterOptions
instance ToPath DescribeOrderableClusterOptions
-- | Describes whether information, such as queries and connection
-- attempts, is being logged for the specified Amazon Redshift cluster.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeLoggingStatus.html
module Network.AWS.Redshift.DescribeLoggingStatus
data DescribeLoggingStatus
-- | DescribeLoggingStatus constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeLoggingStatus :: Text -> DescribeLoggingStatus
-- | The identifier of the cluster to get the logging status from.
--
-- Example: examplecluster
dlsClusterIdentifier :: Lens' DescribeLoggingStatus Text
data DescribeLoggingStatusResponse
-- | DescribeLoggingStatusResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeLoggingStatusResponse :: DescribeLoggingStatusResponse
-- | The name of the S3 bucket where the log files are stored.
dlsrBucketName :: Lens' DescribeLoggingStatusResponse (Maybe Text)
-- | The message indicating that logs failed to be delivered.
dlsrLastFailureMessage :: Lens' DescribeLoggingStatusResponse (Maybe Text)
-- | The last time when logs failed to be delivered.
dlsrLastFailureTime :: Lens' DescribeLoggingStatusResponse (Maybe UTCTime)
-- | The last time when logs were delivered.
dlsrLastSuccessfulDeliveryTime :: Lens' DescribeLoggingStatusResponse (Maybe UTCTime)
-- | true if logging is on, false if logging is off.
dlsrLoggingEnabled :: Lens' DescribeLoggingStatusResponse (Maybe Bool)
-- | The prefix applied to the log file names.
dlsrS3KeyPrefix :: Lens' DescribeLoggingStatusResponse (Maybe Text)
instance Eq DescribeLoggingStatus
instance Ord DescribeLoggingStatus
instance Read DescribeLoggingStatus
instance Show DescribeLoggingStatus
instance Monoid DescribeLoggingStatus
instance IsString DescribeLoggingStatus
instance Eq DescribeLoggingStatusResponse
instance Ord DescribeLoggingStatusResponse
instance Read DescribeLoggingStatusResponse
instance Show DescribeLoggingStatusResponse
instance FromXML DescribeLoggingStatusResponse
instance AWSRequest DescribeLoggingStatus
instance ToHeaders DescribeLoggingStatus
instance ToQuery DescribeLoggingStatus
instance ToPath DescribeLoggingStatus
-- | 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
data DescribeHsmConfigurations
-- | DescribeHsmConfigurations constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeHsmConfigurations :: DescribeHsmConfigurations
-- | 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.
dhc1HsmConfigurationIdentifier :: Lens' DescribeHsmConfigurations (Maybe Text)
-- | 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)
-- | 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)
-- | 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.
dhc1TagKeys :: Lens' DescribeHsmConfigurations [Text]
-- | 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.
dhc1TagValues :: Lens' DescribeHsmConfigurations [Text]
data DescribeHsmConfigurationsResponse
-- | DescribeHsmConfigurationsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeHsmConfigurationsResponse :: DescribeHsmConfigurationsResponse
-- | A list of Amazon Redshift HSM configurations.
dhcrHsmConfigurations :: Lens' DescribeHsmConfigurationsResponse [HsmConfiguration]
-- | 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.
dhcrMarker :: Lens' DescribeHsmConfigurationsResponse (Maybe Text)
instance Eq DescribeHsmConfigurations
instance Ord DescribeHsmConfigurations
instance Read DescribeHsmConfigurations
instance Show DescribeHsmConfigurations
instance Eq DescribeHsmConfigurationsResponse
instance Read DescribeHsmConfigurationsResponse
instance Show DescribeHsmConfigurationsResponse
instance AWSPager DescribeHsmConfigurations
instance FromXML DescribeHsmConfigurationsResponse
instance AWSRequest DescribeHsmConfigurations
instance ToHeaders DescribeHsmConfigurations
instance ToQuery DescribeHsmConfigurations
instance ToPath DescribeHsmConfigurations
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeHsmClientCertificates.html
module Network.AWS.Redshift.DescribeHsmClientCertificates
data DescribeHsmClientCertificates
-- | DescribeHsmClientCertificates constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeHsmClientCertificates :: DescribeHsmClientCertificates
-- | 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.
dhccHsmClientCertificateIdentifier :: Lens' DescribeHsmClientCertificates (Maybe Text)
-- | 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)
-- | 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)
-- | 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.
dhccTagKeys :: Lens' DescribeHsmClientCertificates [Text]
-- | 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]
data DescribeHsmClientCertificatesResponse
-- | DescribeHsmClientCertificatesResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeHsmClientCertificatesResponse :: DescribeHsmClientCertificatesResponse
-- | 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.
dhccrHsmClientCertificates :: Lens' DescribeHsmClientCertificatesResponse [HsmClientCertificate]
-- | 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.
dhccrMarker :: Lens' DescribeHsmClientCertificatesResponse (Maybe Text)
instance Eq DescribeHsmClientCertificates
instance Ord DescribeHsmClientCertificates
instance Read DescribeHsmClientCertificates
instance Show DescribeHsmClientCertificates
instance Eq DescribeHsmClientCertificatesResponse
instance Read DescribeHsmClientCertificatesResponse
instance Show DescribeHsmClientCertificatesResponse
instance AWSPager DescribeHsmClientCertificates
instance FromXML DescribeHsmClientCertificatesResponse
instance AWSRequest DescribeHsmClientCertificates
instance ToHeaders DescribeHsmClientCertificates
instance ToQuery DescribeHsmClientCertificates
instance ToPath DescribeHsmClientCertificates
-- | Returns events related to clusters, security groups, snapshots, and
-- parameter groups for the past 14 days. Events specific to a particular
-- cluster, security group, snapshot or parameter group can be obtained
-- by providing the name as a parameter. By default, the past hour of
-- events are returned.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeEvents.html
module Network.AWS.Redshift.DescribeEvents
data DescribeEvents
-- | DescribeEvents constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeEvents :: DescribeEvents
-- | 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)
-- | 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 Wikipediapage.
--
-- Example: '2009-07-08T18:00Z'
deEndTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | 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)
-- | 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)
-- | 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'.
deSourceIdentifier :: Lens' DescribeEvents (Maybe Text)
-- | 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.
deSourceType :: Lens' DescribeEvents (Maybe SourceType)
-- | 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 Wikipediapage.
--
-- Example: '2009-07-08T18:00Z'
deStartTime :: Lens' DescribeEvents (Maybe UTCTime)
data DescribeEventsResponse
-- | DescribeEventsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeEventsResponse :: DescribeEventsResponse
-- | A list of Event instances.
derEvents :: Lens' DescribeEventsResponse [Event]
-- | 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.
derMarker :: Lens' DescribeEventsResponse (Maybe Text)
instance Eq DescribeEvents
instance Read DescribeEvents
instance Show DescribeEvents
instance Eq DescribeEventsResponse
instance Read DescribeEventsResponse
instance Show DescribeEventsResponse
instance AWSPager DescribeEvents
instance FromXML DescribeEventsResponse
instance AWSRequest DescribeEvents
instance ToHeaders DescribeEvents
instance ToQuery DescribeEvents
instance ToPath DescribeEvents
-- | Lists descriptions of all the Amazon Redshift event notifications
-- subscription for a customer account. If you specify a subscription
-- name, lists the description for that subscription.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeEventSubscriptions.html
module Network.AWS.Redshift.DescribeEventSubscriptions
data DescribeEventSubscriptions
-- | DescribeEventSubscriptions constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeEventSubscriptions :: DescribeEventSubscriptions
-- | 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)
-- | 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)
-- | The name of the Amazon Redshift event notification subscription to be
-- described.
des1SubscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text)
data DescribeEventSubscriptionsResponse
-- | DescribeEventSubscriptionsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeEventSubscriptionsResponse :: DescribeEventSubscriptionsResponse
-- | A list of event subscriptions.
desrEventSubscriptionsList :: Lens' DescribeEventSubscriptionsResponse [EventSubscription]
-- | 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.
desrMarker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text)
instance Eq DescribeEventSubscriptions
instance Ord DescribeEventSubscriptions
instance Read DescribeEventSubscriptions
instance Show DescribeEventSubscriptions
instance Eq DescribeEventSubscriptionsResponse
instance Read DescribeEventSubscriptionsResponse
instance Show DescribeEventSubscriptionsResponse
instance AWSPager DescribeEventSubscriptions
instance FromXML DescribeEventSubscriptionsResponse
instance AWSRequest DescribeEventSubscriptions
instance ToHeaders DescribeEventSubscriptions
instance ToQuery DescribeEventSubscriptions
instance ToPath DescribeEventSubscriptions
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeEventCategories.html
module Network.AWS.Redshift.DescribeEventCategories
data DescribeEventCategories
-- | DescribeEventCategories constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeEventCategories :: DescribeEventCategories
-- | 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)
data DescribeEventCategoriesResponse
-- | DescribeEventCategoriesResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeEventCategoriesResponse :: DescribeEventCategoriesResponse
-- | A list of event categories descriptions.
decrEventCategoriesMapList :: Lens' DescribeEventCategoriesResponse [EventCategoriesMap]
instance Eq DescribeEventCategories
instance Ord DescribeEventCategories
instance Read DescribeEventCategories
instance Show DescribeEventCategories
instance Monoid DescribeEventCategories
instance Eq DescribeEventCategoriesResponse
instance Read DescribeEventCategoriesResponse
instance Show DescribeEventCategoriesResponse
instance Monoid DescribeEventCategoriesResponse
instance Semigroup DescribeEventCategoriesResponse
instance FromXML DescribeEventCategoriesResponse
instance AWSRequest DescribeEventCategories
instance ToHeaders DescribeEventCategories
instance ToQuery DescribeEventCategories
instance ToPath DescribeEventCategories
instance IsList DescribeEventCategoriesResponse
-- | Returns a list of parameter settings for the specified parameter group
-- family.
--
-- For more information about managing parameter groups, go to 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
data DescribeDefaultClusterParameters
-- | DescribeDefaultClusterParameters constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeDefaultClusterParameters :: Text -> DescribeDefaultClusterParameters
-- | 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)
-- | 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)
-- | The name of the cluster parameter group family.
ddcpParameterGroupFamily :: Lens' DescribeDefaultClusterParameters Text
data DescribeDefaultClusterParametersResponse
-- | DescribeDefaultClusterParametersResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeDefaultClusterParametersResponse :: DefaultClusterParameters -> DescribeDefaultClusterParametersResponse
ddcprDefaultClusterParameters :: Lens' DescribeDefaultClusterParametersResponse DefaultClusterParameters
instance Eq DescribeDefaultClusterParameters
instance Ord DescribeDefaultClusterParameters
instance Read DescribeDefaultClusterParameters
instance Show DescribeDefaultClusterParameters
instance Eq DescribeDefaultClusterParametersResponse
instance Read DescribeDefaultClusterParametersResponse
instance Show DescribeDefaultClusterParametersResponse
instance AWSPager DescribeDefaultClusterParameters
instance FromXML DescribeDefaultClusterParametersResponse
instance AWSRequest DescribeDefaultClusterParameters
instance ToHeaders DescribeDefaultClusterParameters
instance ToQuery DescribeDefaultClusterParameters
instance ToPath DescribeDefaultClusterParameters
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusters.html
module Network.AWS.Redshift.DescribeClusters
data DescribeClusters
-- | DescribeClusters constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusters :: DescribeClusters
-- | 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)
-- | 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)
-- | 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)
-- | 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]
-- | 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]
data DescribeClustersResponse
-- | DescribeClustersResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClustersResponse :: DescribeClustersResponse
-- | A list of Cluster objects, where each object describes one
-- cluster.
dcrClusters :: Lens' DescribeClustersResponse [Cluster]
-- | 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.
dcrMarker :: Lens' DescribeClustersResponse (Maybe Text)
instance Eq DescribeClusters
instance Ord DescribeClusters
instance Read DescribeClusters
instance Show DescribeClusters
instance Eq DescribeClustersResponse
instance Read DescribeClustersResponse
instance Show DescribeClustersResponse
instance AWSPager DescribeClusters
instance FromXML DescribeClustersResponse
instance AWSRequest DescribeClusters
instance ToHeaders DescribeClusters
instance ToQuery DescribeClusters
instance ToPath DescribeClusters
-- | 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
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusterVersions.html
module Network.AWS.Redshift.DescribeClusterVersions
data DescribeClusterVersions
-- | DescribeClusterVersions constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterVersions :: DescribeClusterVersions
-- | 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)
-- | The specific cluster version to return.
--
-- Example: '1.0'
dcvClusterVersion :: Lens' DescribeClusterVersions (Maybe Text)
-- | 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)
-- | 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)
data DescribeClusterVersionsResponse
-- | DescribeClusterVersionsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterVersionsResponse :: DescribeClusterVersionsResponse
-- | A list of Version elements.
dcvrClusterVersions :: Lens' DescribeClusterVersionsResponse [ClusterVersion]
-- | 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.
dcvrMarker :: Lens' DescribeClusterVersionsResponse (Maybe Text)
instance Eq DescribeClusterVersions
instance Ord DescribeClusterVersions
instance Read DescribeClusterVersions
instance Show DescribeClusterVersions
instance Eq DescribeClusterVersionsResponse
instance Read DescribeClusterVersionsResponse
instance Show DescribeClusterVersionsResponse
instance AWSPager DescribeClusterVersions
instance FromXML DescribeClusterVersionsResponse
instance AWSRequest DescribeClusterVersions
instance ToHeaders DescribeClusterVersions
instance ToQuery DescribeClusterVersions
instance ToPath DescribeClusterVersions
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusterSubnetGroups.html
module Network.AWS.Redshift.DescribeClusterSubnetGroups
data DescribeClusterSubnetGroups
-- | DescribeClusterSubnetGroups constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterSubnetGroups :: DescribeClusterSubnetGroups
-- | The name of the cluster subnet group for which information is
-- requested.
dcsg1ClusterSubnetGroupName :: Lens' DescribeClusterSubnetGroups (Maybe Text)
-- | 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)
-- | 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)
-- | 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]
-- | 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.
dcsg1TagValues :: Lens' DescribeClusterSubnetGroups [Text]
data DescribeClusterSubnetGroupsResponse
-- | DescribeClusterSubnetGroupsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterSubnetGroupsResponse :: DescribeClusterSubnetGroupsResponse
-- | A list of ClusterSubnetGroup instances.
dcsgrClusterSubnetGroups :: Lens' DescribeClusterSubnetGroupsResponse [ClusterSubnetGroup]
-- | 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.
dcsgrMarker :: Lens' DescribeClusterSubnetGroupsResponse (Maybe Text)
instance Eq DescribeClusterSubnetGroups
instance Ord DescribeClusterSubnetGroups
instance Read DescribeClusterSubnetGroups
instance Show DescribeClusterSubnetGroups
instance Eq DescribeClusterSubnetGroupsResponse
instance Read DescribeClusterSubnetGroupsResponse
instance Show DescribeClusterSubnetGroupsResponse
instance AWSPager DescribeClusterSubnetGroups
instance FromXML DescribeClusterSubnetGroupsResponse
instance AWSRequest DescribeClusterSubnetGroups
instance ToHeaders DescribeClusterSubnetGroups
instance ToQuery DescribeClusterSubnetGroups
instance ToPath DescribeClusterSubnetGroups
-- | Returns one or more snapshot objects, which contain metadata about
-- your 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusterSnapshots.html
module Network.AWS.Redshift.DescribeClusterSnapshots
data DescribeClusterSnapshots
-- | DescribeClusterSnapshots constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterSnapshots :: DescribeClusterSnapshots
-- | The identifier of the cluster for which information about snapshots is
-- requested.
dcs1ClusterIdentifier :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | 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'
dcs1EndTime :: Lens' DescribeClusterSnapshots (Maybe UTCTime)
-- | 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)
-- | 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)
-- | 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)
-- | The snapshot identifier of the snapshot about which to return
-- information.
dcs1SnapshotIdentifier :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | 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)
-- | 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'
dcs1StartTime :: Lens' DescribeClusterSnapshots (Maybe UTCTime)
-- | 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]
-- | 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.
dcs1TagValues :: Lens' DescribeClusterSnapshots [Text]
data DescribeClusterSnapshotsResponse
-- | DescribeClusterSnapshotsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterSnapshotsResponse :: DescribeClusterSnapshotsResponse
-- | 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.
dcsrMarker :: Lens' DescribeClusterSnapshotsResponse (Maybe Text)
-- | A list of Snapshot instances.
dcsrSnapshots :: Lens' DescribeClusterSnapshotsResponse [Snapshot]
instance Eq DescribeClusterSnapshots
instance Ord DescribeClusterSnapshots
instance Read DescribeClusterSnapshots
instance Show DescribeClusterSnapshots
instance Eq DescribeClusterSnapshotsResponse
instance Read DescribeClusterSnapshotsResponse
instance Show DescribeClusterSnapshotsResponse
instance AWSPager DescribeClusterSnapshots
instance FromXML DescribeClusterSnapshotsResponse
instance AWSRequest DescribeClusterSnapshots
instance ToHeaders DescribeClusterSnapshots
instance ToQuery DescribeClusterSnapshots
instance ToPath DescribeClusterSnapshots
module Network.AWS.Redshift.Waiters
clusterAvailable :: Wait DescribeClusters
clusterDeleted :: Wait DescribeClusters
snapshotAvailable :: Wait DescribeClusterSnapshots
-- | 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
-- 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
data DescribeClusterSecurityGroups
-- | DescribeClusterSecurityGroups constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterSecurityGroups :: DescribeClusterSecurityGroups
-- | 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)
-- | 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)
-- | 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)
-- | 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]
-- | 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.
dcsgTagValues :: Lens' DescribeClusterSecurityGroups [Text]
data DescribeClusterSecurityGroupsResponse
-- | DescribeClusterSecurityGroupsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterSecurityGroupsResponse :: DescribeClusterSecurityGroupsResponse
-- | A list of ClusterSecurityGroup instances.
dcsgr1ClusterSecurityGroups :: Lens' DescribeClusterSecurityGroupsResponse [ClusterSecurityGroup]
-- | 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.
dcsgr1Marker :: Lens' DescribeClusterSecurityGroupsResponse (Maybe Text)
instance Eq DescribeClusterSecurityGroups
instance Ord DescribeClusterSecurityGroups
instance Read DescribeClusterSecurityGroups
instance Show DescribeClusterSecurityGroups
instance Eq DescribeClusterSecurityGroupsResponse
instance Read DescribeClusterSecurityGroupsResponse
instance Show DescribeClusterSecurityGroupsResponse
instance AWSPager DescribeClusterSecurityGroups
instance FromXML DescribeClusterSecurityGroupsResponse
instance AWSRequest DescribeClusterSecurityGroups
instance ToHeaders DescribeClusterSecurityGroups
instance ToQuery DescribeClusterSecurityGroups
instance ToPath DescribeClusterSecurityGroups
-- | 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
-- 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
data DescribeClusterParameters
-- | DescribeClusterParameters constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterParameters :: Text -> DescribeClusterParameters
-- | 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)
-- | 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)
-- | The name of a cluster parameter group for which to return details.
dcp1ParameterGroupName :: Lens' DescribeClusterParameters Text
-- | 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)
data DescribeClusterParametersResponse
-- | DescribeClusterParametersResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterParametersResponse :: DescribeClusterParametersResponse
-- | 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.
dcprMarker :: Lens' DescribeClusterParametersResponse (Maybe Text)
-- | A list of Parameter instances. Each instance lists the
-- parameters of one cluster parameter group.
dcprParameters :: Lens' DescribeClusterParametersResponse [Parameter]
instance Eq DescribeClusterParameters
instance Ord DescribeClusterParameters
instance Read DescribeClusterParameters
instance Show DescribeClusterParameters
instance Eq DescribeClusterParametersResponse
instance Read DescribeClusterParametersResponse
instance Show DescribeClusterParametersResponse
instance AWSPager DescribeClusterParameters
instance FromXML DescribeClusterParametersResponse
instance AWSRequest DescribeClusterParameters
instance ToHeaders DescribeClusterParameters
instance ToQuery DescribeClusterParameters
instance ToPath DescribeClusterParameters
-- | 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
-- 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
data DescribeClusterParameterGroups
-- | DescribeClusterParameterGroups constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterParameterGroups :: DescribeClusterParameterGroups
-- | 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)
-- | 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)
-- | 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.
dcpgParameterGroupName :: Lens' DescribeClusterParameterGroups (Maybe Text)
-- | 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]
-- | 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.
dcpgTagValues :: Lens' DescribeClusterParameterGroups [Text]
data DescribeClusterParameterGroupsResponse
-- | DescribeClusterParameterGroupsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeClusterParameterGroupsResponse :: DescribeClusterParameterGroupsResponse
-- | 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.
dcpgrMarker :: Lens' DescribeClusterParameterGroupsResponse (Maybe Text)
-- | A list of ClusterParameterGroup instances. Each instance
-- describes one cluster parameter group.
dcpgrParameterGroups :: Lens' DescribeClusterParameterGroupsResponse [ClusterParameterGroup]
instance Eq DescribeClusterParameterGroups
instance Ord DescribeClusterParameterGroups
instance Read DescribeClusterParameterGroups
instance Show DescribeClusterParameterGroups
instance Eq DescribeClusterParameterGroupsResponse
instance Read DescribeClusterParameterGroupsResponse
instance Show DescribeClusterParameterGroupsResponse
instance AWSPager DescribeClusterParameterGroups
instance FromXML DescribeClusterParameterGroupsResponse
instance AWSRequest DescribeClusterParameterGroups
instance ToHeaders DescribeClusterParameterGroups
instance ToQuery DescribeClusterParameterGroups
instance ToPath DescribeClusterParameterGroups
-- | Deletes a tag or tags from a resource. You must provide the ARN of the
-- resource from which you want to delete the tag or tags.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteTags.html
module Network.AWS.Redshift.DeleteTags
data DeleteTags
-- | DeleteTags constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteTags :: Text -> DeleteTags
-- | 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'.
dt1ResourceName :: Lens' DeleteTags Text
-- | The tag key that you want to delete.
dt1TagKeys :: Lens' DeleteTags [Text]
data DeleteTagsResponse
-- | DeleteTagsResponse constructor.
deleteTagsResponse :: DeleteTagsResponse
instance Eq DeleteTags
instance Ord DeleteTags
instance Read DeleteTags
instance Show DeleteTags
instance Eq DeleteTagsResponse
instance Ord DeleteTagsResponse
instance Read DeleteTagsResponse
instance Show DeleteTagsResponse
instance Generic DeleteTagsResponse
instance Datatype D1DeleteTagsResponse
instance Constructor C1_0DeleteTagsResponse
instance AWSRequest DeleteTags
instance ToHeaders DeleteTags
instance ToQuery DeleteTags
instance ToPath DeleteTags
-- | Deletes the specified Amazon Redshift HSM configuration.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteHsmConfiguration.html
module Network.AWS.Redshift.DeleteHsmConfiguration
data DeleteHsmConfiguration
-- | DeleteHsmConfiguration constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteHsmConfiguration :: Text -> DeleteHsmConfiguration
-- | The identifier of the Amazon Redshift HSM configuration to be deleted.
dhcHsmConfigurationIdentifier :: Lens' DeleteHsmConfiguration Text
data DeleteHsmConfigurationResponse
-- | DeleteHsmConfigurationResponse constructor.
deleteHsmConfigurationResponse :: DeleteHsmConfigurationResponse
instance Eq DeleteHsmConfiguration
instance Ord DeleteHsmConfiguration
instance Read DeleteHsmConfiguration
instance Show DeleteHsmConfiguration
instance Monoid DeleteHsmConfiguration
instance IsString DeleteHsmConfiguration
instance Eq DeleteHsmConfigurationResponse
instance Ord DeleteHsmConfigurationResponse
instance Read DeleteHsmConfigurationResponse
instance Show DeleteHsmConfigurationResponse
instance Generic DeleteHsmConfigurationResponse
instance Datatype D1DeleteHsmConfigurationResponse
instance Constructor C1_0DeleteHsmConfigurationResponse
instance AWSRequest DeleteHsmConfiguration
instance ToHeaders DeleteHsmConfiguration
instance ToQuery DeleteHsmConfiguration
instance ToPath DeleteHsmConfiguration
-- | Deletes the specified HSM client certificate.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteHsmClientCertificate.html
module Network.AWS.Redshift.DeleteHsmClientCertificate
data DeleteHsmClientCertificate
-- | DeleteHsmClientCertificate constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteHsmClientCertificate :: Text -> DeleteHsmClientCertificate
-- | The identifier of the HSM client certificate to be deleted.
dhcc1HsmClientCertificateIdentifier :: Lens' DeleteHsmClientCertificate Text
data DeleteHsmClientCertificateResponse
-- | DeleteHsmClientCertificateResponse constructor.
deleteHsmClientCertificateResponse :: DeleteHsmClientCertificateResponse
instance Eq DeleteHsmClientCertificate
instance Ord DeleteHsmClientCertificate
instance Read DeleteHsmClientCertificate
instance Show DeleteHsmClientCertificate
instance Monoid DeleteHsmClientCertificate
instance IsString DeleteHsmClientCertificate
instance Eq DeleteHsmClientCertificateResponse
instance Ord DeleteHsmClientCertificateResponse
instance Read DeleteHsmClientCertificateResponse
instance Show DeleteHsmClientCertificateResponse
instance Generic DeleteHsmClientCertificateResponse
instance Datatype D1DeleteHsmClientCertificateResponse
instance Constructor C1_0DeleteHsmClientCertificateResponse
instance AWSRequest DeleteHsmClientCertificate
instance ToHeaders DeleteHsmClientCertificate
instance ToQuery DeleteHsmClientCertificate
instance ToPath DeleteHsmClientCertificate
-- | Deletes an Amazon Redshift event notification subscription.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteEventSubscription.html
module Network.AWS.Redshift.DeleteEventSubscription
data DeleteEventSubscription
-- | DeleteEventSubscription constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteEventSubscription :: Text -> DeleteEventSubscription
-- | The name of the Amazon Redshift event notification subscription to be
-- deleted.
desSubscriptionName :: Lens' DeleteEventSubscription Text
data DeleteEventSubscriptionResponse
-- | DeleteEventSubscriptionResponse constructor.
deleteEventSubscriptionResponse :: DeleteEventSubscriptionResponse
instance Eq DeleteEventSubscription
instance Ord DeleteEventSubscription
instance Read DeleteEventSubscription
instance Show DeleteEventSubscription
instance Monoid DeleteEventSubscription
instance IsString DeleteEventSubscription
instance Eq DeleteEventSubscriptionResponse
instance Ord DeleteEventSubscriptionResponse
instance Read DeleteEventSubscriptionResponse
instance Show DeleteEventSubscriptionResponse
instance Generic DeleteEventSubscriptionResponse
instance Datatype D1DeleteEventSubscriptionResponse
instance Constructor C1_0DeleteEventSubscriptionResponse
instance AWSRequest DeleteEventSubscription
instance ToHeaders DeleteEventSubscription
instance ToQuery DeleteEventSubscription
instance ToPath DeleteEventSubscription
-- | Deletes the specified cluster subnet group.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteClusterSubnetGroup.html
module Network.AWS.Redshift.DeleteClusterSubnetGroup
data DeleteClusterSubnetGroup
-- | DeleteClusterSubnetGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteClusterSubnetGroup :: Text -> DeleteClusterSubnetGroup
-- | The name of the cluster subnet group name to be deleted.
dcsgClusterSubnetGroupName :: Lens' DeleteClusterSubnetGroup Text
data DeleteClusterSubnetGroupResponse
-- | DeleteClusterSubnetGroupResponse constructor.
deleteClusterSubnetGroupResponse :: DeleteClusterSubnetGroupResponse
instance Eq DeleteClusterSubnetGroup
instance Ord DeleteClusterSubnetGroup
instance Read DeleteClusterSubnetGroup
instance Show DeleteClusterSubnetGroup
instance Monoid DeleteClusterSubnetGroup
instance IsString DeleteClusterSubnetGroup
instance Eq DeleteClusterSubnetGroupResponse
instance Ord DeleteClusterSubnetGroupResponse
instance Read DeleteClusterSubnetGroupResponse
instance Show DeleteClusterSubnetGroupResponse
instance Generic DeleteClusterSubnetGroupResponse
instance Datatype D1DeleteClusterSubnetGroupResponse
instance Constructor C1_0DeleteClusterSubnetGroupResponse
instance AWSRequest DeleteClusterSubnetGroup
instance ToHeaders DeleteClusterSubnetGroup
instance ToQuery DeleteClusterSubnetGroup
instance ToPath DeleteClusterSubnetGroup
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteClusterSnapshot.html
module Network.AWS.Redshift.DeleteClusterSnapshot
data DeleteClusterSnapshot
-- | DeleteClusterSnapshot constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteClusterSnapshot :: Text -> DeleteClusterSnapshot
-- | 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.
dcsSnapshotClusterIdentifier :: Lens' DeleteClusterSnapshot (Maybe Text)
-- | 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
data DeleteClusterSnapshotResponse
-- | DeleteClusterSnapshotResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteClusterSnapshotResponse :: DeleteClusterSnapshotResponse
dcsrSnapshot :: Lens' DeleteClusterSnapshotResponse (Maybe Snapshot)
instance Eq DeleteClusterSnapshot
instance Ord DeleteClusterSnapshot
instance Read DeleteClusterSnapshot
instance Show DeleteClusterSnapshot
instance Eq DeleteClusterSnapshotResponse
instance Read DeleteClusterSnapshotResponse
instance Show DeleteClusterSnapshotResponse
instance FromXML DeleteClusterSnapshotResponse
instance AWSRequest DeleteClusterSnapshot
instance ToHeaders DeleteClusterSnapshot
instance ToQuery DeleteClusterSnapshot
instance ToPath DeleteClusterSnapshot
-- | 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 AmazonRedshift Cluster
-- Management Guide.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteClusterSecurityGroup.html
module Network.AWS.Redshift.DeleteClusterSecurityGroup
data DeleteClusterSecurityGroup
-- | DeleteClusterSecurityGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteClusterSecurityGroup :: Text -> DeleteClusterSecurityGroup
-- | The name of the cluster security group to be deleted.
dcsg1ClusterSecurityGroupName :: Lens' DeleteClusterSecurityGroup Text
data DeleteClusterSecurityGroupResponse
-- | DeleteClusterSecurityGroupResponse constructor.
deleteClusterSecurityGroupResponse :: DeleteClusterSecurityGroupResponse
instance Eq DeleteClusterSecurityGroup
instance Ord DeleteClusterSecurityGroup
instance Read DeleteClusterSecurityGroup
instance Show DeleteClusterSecurityGroup
instance Monoid DeleteClusterSecurityGroup
instance IsString DeleteClusterSecurityGroup
instance Eq DeleteClusterSecurityGroupResponse
instance Ord DeleteClusterSecurityGroupResponse
instance Read DeleteClusterSecurityGroupResponse
instance Show DeleteClusterSecurityGroupResponse
instance Generic DeleteClusterSecurityGroupResponse
instance Datatype D1DeleteClusterSecurityGroupResponse
instance Constructor C1_0DeleteClusterSecurityGroupResponse
instance AWSRequest DeleteClusterSecurityGroup
instance ToHeaders DeleteClusterSecurityGroup
instance ToQuery DeleteClusterSecurityGroup
instance ToPath DeleteClusterSecurityGroup
-- | Deletes a specified Amazon Redshift parameter group. You cannot delete
-- a parameter group if it is associated with a cluster.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteClusterParameterGroup.html
module Network.AWS.Redshift.DeleteClusterParameterGroup
data DeleteClusterParameterGroup
-- | DeleteClusterParameterGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteClusterParameterGroup :: Text -> DeleteClusterParameterGroup
-- | 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
data DeleteClusterParameterGroupResponse
-- | DeleteClusterParameterGroupResponse constructor.
deleteClusterParameterGroupResponse :: DeleteClusterParameterGroupResponse
instance Eq DeleteClusterParameterGroup
instance Ord DeleteClusterParameterGroup
instance Read DeleteClusterParameterGroup
instance Show DeleteClusterParameterGroup
instance Monoid DeleteClusterParameterGroup
instance IsString DeleteClusterParameterGroup
instance Eq DeleteClusterParameterGroupResponse
instance Ord DeleteClusterParameterGroupResponse
instance Read DeleteClusterParameterGroupResponse
instance Show DeleteClusterParameterGroupResponse
instance Generic DeleteClusterParameterGroupResponse
instance Datatype D1DeleteClusterParameterGroupResponse
instance Constructor C1_0DeleteClusterParameterGroupResponse
instance AWSRequest DeleteClusterParameterGroup
instance ToHeaders DeleteClusterParameterGroup
instance ToQuery DeleteClusterParameterGroup
instance ToPath DeleteClusterParameterGroup
-- | 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 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 .
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_DeleteCluster.html
module Network.AWS.Redshift.DeleteCluster
data DeleteCluster
-- | DeleteCluster constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteCluster :: Text -> DeleteCluster
-- | 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
-- | 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.
dc1FinalClusterSnapshotIdentifier :: Lens' DeleteCluster (Maybe Text)
-- | 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)
data DeleteClusterResponse
-- | DeleteClusterResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteClusterResponse :: DeleteClusterResponse
dcrCluster :: Lens' DeleteClusterResponse (Maybe Cluster)
instance Eq DeleteCluster
instance Ord DeleteCluster
instance Read DeleteCluster
instance Show DeleteCluster
instance Eq DeleteClusterResponse
instance Read DeleteClusterResponse
instance Show DeleteClusterResponse
instance FromXML DeleteClusterResponse
instance AWSRequest DeleteCluster
instance ToHeaders DeleteCluster
instance ToQuery DeleteCluster
instance ToPath DeleteCluster
-- | 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
data CreateTags
-- | CreateTags constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createTags :: Text -> CreateTags
-- | 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
-- | 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]
data CreateTagsResponse
-- | CreateTagsResponse constructor.
createTagsResponse :: CreateTagsResponse
instance Eq CreateTags
instance Read CreateTags
instance Show CreateTags
instance Eq CreateTagsResponse
instance Ord CreateTagsResponse
instance Read CreateTagsResponse
instance Show CreateTagsResponse
instance Generic CreateTagsResponse
instance Datatype D1CreateTagsResponse
instance Constructor C1_0CreateTagsResponse
instance AWSRequest CreateTags
instance ToHeaders CreateTags
instance ToQuery CreateTags
instance ToPath CreateTags
-- | 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateHsmConfiguration.html
module Network.AWS.Redshift.CreateHsmConfiguration
data CreateHsmConfiguration
-- | CreateHsmConfiguration constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createHsmConfiguration :: Text -> Text -> Text -> Text -> Text -> Text -> CreateHsmConfiguration
-- | A text description of the HSM configuration to be created.
chcDescription :: Lens' CreateHsmConfiguration Text
-- | The identifier to be assigned to the new Amazon Redshift HSM
-- configuration.
chcHsmConfigurationIdentifier :: Lens' CreateHsmConfiguration Text
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
chcHsmIpAddress :: Lens' CreateHsmConfiguration Text
-- | The name of the partition in the HSM where the Amazon Redshift
-- clusters will store their database encryption keys.
chcHsmPartitionName :: Lens' CreateHsmConfiguration Text
-- | The password required to access the HSM partition.
chcHsmPartitionPassword :: Lens' CreateHsmConfiguration Text
-- | The HSMs public certificate file. When using Cloud HSM, the file name
-- is server.pem.
chcHsmServerPublicCertificate :: Lens' CreateHsmConfiguration Text
-- | A list of tag instances.
chcTags :: Lens' CreateHsmConfiguration [Tag]
data CreateHsmConfigurationResponse
-- | CreateHsmConfigurationResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createHsmConfigurationResponse :: CreateHsmConfigurationResponse
chcrHsmConfiguration :: Lens' CreateHsmConfigurationResponse (Maybe HsmConfiguration)
instance Eq CreateHsmConfiguration
instance Read CreateHsmConfiguration
instance Show CreateHsmConfiguration
instance Eq CreateHsmConfigurationResponse
instance Read CreateHsmConfigurationResponse
instance Show CreateHsmConfigurationResponse
instance FromXML CreateHsmConfigurationResponse
instance AWSRequest CreateHsmConfiguration
instance ToHeaders CreateHsmConfiguration
instance ToQuery CreateHsmConfiguration
instance ToPath CreateHsmConfiguration
-- | 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 SecurityModules in the Amazon
-- Redshift Cluster Management Guide.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateHsmClientCertificate.html
module Network.AWS.Redshift.CreateHsmClientCertificate
data CreateHsmClientCertificate
-- | CreateHsmClientCertificate constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createHsmClientCertificate :: Text -> CreateHsmClientCertificate
-- | 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.
chccHsmClientCertificateIdentifier :: Lens' CreateHsmClientCertificate Text
-- | A list of tag instances.
chccTags :: Lens' CreateHsmClientCertificate [Tag]
data CreateHsmClientCertificateResponse
-- | CreateHsmClientCertificateResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createHsmClientCertificateResponse :: CreateHsmClientCertificateResponse
chccrHsmClientCertificate :: Lens' CreateHsmClientCertificateResponse (Maybe HsmClientCertificate)
instance Eq CreateHsmClientCertificate
instance Read CreateHsmClientCertificate
instance Show CreateHsmClientCertificate
instance Eq CreateHsmClientCertificateResponse
instance Read CreateHsmClientCertificateResponse
instance Show CreateHsmClientCertificateResponse
instance FromXML CreateHsmClientCertificateResponse
instance AWSRequest CreateHsmClientCertificate
instance ToHeaders CreateHsmClientCertificate
instance ToQuery CreateHsmClientCertificate
instance ToPath CreateHsmClientCertificate
-- | 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 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.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateEventSubscription.html
module Network.AWS.Redshift.CreateEventSubscription
data CreateEventSubscription
-- | CreateEventSubscription constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createEventSubscription :: Text -> Text -> CreateEventSubscription
-- | 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)
-- | Specifies the Amazon Redshift event categories to be published by the
-- event notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security
cesEventCategories :: Lens' CreateEventSubscription [Text]
-- | Specifies the Amazon Redshift event severity to be published by the
-- event notification subscription.
--
-- Values: ERROR, INFO
cesSeverity :: Lens' CreateEventSubscription (Maybe Text)
-- | 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
-- | 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]
-- | 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)
-- | 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
-- | A list of tag instances.
cesTags :: Lens' CreateEventSubscription [Tag]
data CreateEventSubscriptionResponse
-- | CreateEventSubscriptionResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createEventSubscriptionResponse :: CreateEventSubscriptionResponse
cesrEventSubscription :: Lens' CreateEventSubscriptionResponse (Maybe EventSubscription)
instance Eq CreateEventSubscription
instance Read CreateEventSubscription
instance Show CreateEventSubscription
instance Eq CreateEventSubscriptionResponse
instance Read CreateEventSubscriptionResponse
instance Show CreateEventSubscriptionResponse
instance FromXML CreateEventSubscriptionResponse
instance AWSRequest CreateEventSubscription
instance ToHeaders CreateEventSubscription
instance ToQuery CreateEventSubscription
instance ToPath CreateEventSubscription
-- | 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
-- SubnetGroups in the Amazon Redshift Cluster Management
-- Guide.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSubnetGroup.html
module Network.AWS.Redshift.CreateClusterSubnetGroup
data CreateClusterSubnetGroup
-- | CreateClusterSubnetGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createClusterSubnetGroup :: Text -> Text -> CreateClusterSubnetGroup
-- | 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
ccsgClusterSubnetGroupName :: Lens' CreateClusterSubnetGroup Text
-- | A description for the subnet group.
ccsgDescription :: Lens' CreateClusterSubnetGroup Text
-- | An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
-- a single request.
ccsgSubnetIds :: Lens' CreateClusterSubnetGroup [Text]
-- | A list of tag instances.
ccsgTags :: Lens' CreateClusterSubnetGroup [Tag]
data CreateClusterSubnetGroupResponse
-- | CreateClusterSubnetGroupResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createClusterSubnetGroupResponse :: CreateClusterSubnetGroupResponse
ccsgrClusterSubnetGroup :: Lens' CreateClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
instance Eq CreateClusterSubnetGroup
instance Read CreateClusterSubnetGroup
instance Show CreateClusterSubnetGroup
instance Eq CreateClusterSubnetGroupResponse
instance Read CreateClusterSubnetGroupResponse
instance Show CreateClusterSubnetGroupResponse
instance FromXML CreateClusterSubnetGroupResponse
instance AWSRequest CreateClusterSubnetGroup
instance ToHeaders CreateClusterSubnetGroup
instance ToQuery CreateClusterSubnetGroup
instance ToPath CreateClusterSubnetGroup
-- | 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
-- RedshiftSnapshots in the Amazon Redshift Cluster Management
-- Guide.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSnapshot.html
module Network.AWS.Redshift.CreateClusterSnapshot
data CreateClusterSnapshot
-- | CreateClusterSnapshot constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createClusterSnapshot :: Text -> Text -> CreateClusterSnapshot
-- | The cluster identifier for which you want a snapshot.
ccsClusterIdentifier :: Lens' CreateClusterSnapshot Text
-- | 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'
ccsSnapshotIdentifier :: Lens' CreateClusterSnapshot Text
-- | A list of tag instances.
ccsTags :: Lens' CreateClusterSnapshot [Tag]
data CreateClusterSnapshotResponse
-- | CreateClusterSnapshotResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createClusterSnapshotResponse :: CreateClusterSnapshotResponse
ccsr1Snapshot :: Lens' CreateClusterSnapshotResponse (Maybe Snapshot)
instance Eq CreateClusterSnapshot
instance Read CreateClusterSnapshot
instance Show CreateClusterSnapshot
instance Eq CreateClusterSnapshotResponse
instance Read CreateClusterSnapshotResponse
instance Show CreateClusterSnapshotResponse
instance FromXML CreateClusterSnapshotResponse
instance AWSRequest CreateClusterSnapshot
instance ToHeaders CreateClusterSnapshot
instance ToQuery CreateClusterSnapshot
instance ToPath CreateClusterSnapshot
-- | 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
-- 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
data CreateClusterSecurityGroup
-- | CreateClusterSecurityGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createClusterSecurityGroup :: Text -> Text -> CreateClusterSecurityGroup
-- | 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
ccsg1ClusterSecurityGroupName :: Lens' CreateClusterSecurityGroup Text
-- | A description for the security group.
ccsg1Description :: Lens' CreateClusterSecurityGroup Text
-- | A list of tag instances.
ccsg1Tags :: Lens' CreateClusterSecurityGroup [Tag]
data CreateClusterSecurityGroupResponse
-- | CreateClusterSecurityGroupResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createClusterSecurityGroupResponse :: CreateClusterSecurityGroupResponse
ccsgrClusterSecurityGroup :: Lens' CreateClusterSecurityGroupResponse (Maybe ClusterSecurityGroup)
instance Eq CreateClusterSecurityGroup
instance Read CreateClusterSecurityGroup
instance Show CreateClusterSecurityGroup
instance Eq CreateClusterSecurityGroupResponse
instance Read CreateClusterSecurityGroupResponse
instance Show CreateClusterSecurityGroupResponse
instance FromXML CreateClusterSecurityGroupResponse
instance AWSRequest CreateClusterSecurityGroup
instance ToHeaders CreateClusterSecurityGroup
instance ToQuery CreateClusterSecurityGroup
instance ToPath CreateClusterSecurityGroup
-- | 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 AmazonRedshift Cluster Management
-- Guide.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterParameterGroup.html
module Network.AWS.Redshift.CreateClusterParameterGroup
data CreateClusterParameterGroup
-- | CreateClusterParameterGroup constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createClusterParameterGroup :: Text -> Text -> Text -> CreateClusterParameterGroup
-- | A description of the parameter group.
ccpgDescription :: Lens' CreateClusterParameterGroup Text
-- | 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".
ccpgParameterGroupFamily :: Lens' CreateClusterParameterGroup Text
-- | 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
-- | A list of tag instances.
ccpgTags :: Lens' CreateClusterParameterGroup [Tag]
data CreateClusterParameterGroupResponse
-- | CreateClusterParameterGroupResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createClusterParameterGroupResponse :: CreateClusterParameterGroupResponse
ccpgrClusterParameterGroup :: Lens' CreateClusterParameterGroupResponse (Maybe ClusterParameterGroup)
instance Eq CreateClusterParameterGroup
instance Read CreateClusterParameterGroup
instance Show CreateClusterParameterGroup
instance Eq CreateClusterParameterGroupResponse
instance Read CreateClusterParameterGroupResponse
instance Show CreateClusterParameterGroupResponse
instance FromXML CreateClusterParameterGroupResponse
instance AWSRequest CreateClusterParameterGroup
instance ToHeaders CreateClusterParameterGroup
instance ToQuery CreateClusterParameterGroup
instance ToPath CreateClusterParameterGroup
-- | 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 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
data CreateCluster
-- | CreateCluster constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createCluster :: Text -> Text -> Text -> Text -> CreateCluster
-- | 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)
-- | 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)
-- | 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.
--
-- 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.
ccAvailabilityZone :: Lens' CreateCluster (Maybe Text)
-- | 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
-- | 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
-- 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)
-- | A list of security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
ccClusterSecurityGroups :: Lens' CreateCluster [Text]
-- | 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)
-- | 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)
-- | 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)
-- | 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.
ccDBName :: Lens' CreateCluster (Maybe Text)
-- | 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 YourCluster in the Amazon Redshift Cluster Management
-- Guide.
ccElasticIp :: Lens' CreateCluster (Maybe Text)
-- | If true, the data in the cluster is encrypted at rest.
--
-- Default: false
ccEncrypted :: Lens' CreateCluster (Maybe Bool)
-- | 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)
-- | 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)
-- | 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)
-- | 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
-- | 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.
ccMasterUsername :: Lens' CreateCluster Text
-- | The node type to be provisioned for the cluster. For information about
-- node types, go to Working with Clusters in the Amazon
-- Redshift Cluster ManagementGuide.
--
-- Valid Values: 'dw1.xlarge' | 'dw1.8xlarge' | 'dw2.large' |
-- 'dw2.8xlarge'.
ccNodeType :: Lens' CreateCluster Text
-- | 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
-- 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)
-- | 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)
-- | 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
--
-- Constraints: Minimum 30-minute window.
ccPreferredMaintenanceWindow :: Lens' CreateCluster (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
ccPubliclyAccessible :: Lens' CreateCluster (Maybe Bool)
-- | A list of tag instances.
ccTags :: Lens' CreateCluster [Tag]
-- | 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]
data CreateClusterResponse
-- | CreateClusterResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createClusterResponse :: CreateClusterResponse
ccrCluster :: Lens' CreateClusterResponse (Maybe Cluster)
instance Eq CreateCluster
instance Read CreateCluster
instance Show CreateCluster
instance Eq CreateClusterResponse
instance Read CreateClusterResponse
instance Show CreateClusterResponse
instance FromXML CreateClusterResponse
instance AWSRequest CreateCluster
instance ToHeaders CreateCluster
instance ToQuery CreateCluster
instance ToPath CreateCluster
-- | 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
-- RedshiftSnapshots in the Amazon Redshift Cluster Management
-- Guide.
--
--
-- http://docs.aws.amazon.com/redshift/latest/APIReference/API_CopyClusterSnapshot.html
module Network.AWS.Redshift.CopyClusterSnapshot
data CopyClusterSnapshot
-- | CopyClusterSnapshot constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
copyClusterSnapshot :: Text -> Text -> CopyClusterSnapshot
-- | 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.
ccsSourceSnapshotClusterIdentifier :: Lens' CopyClusterSnapshot (Maybe Text)
-- | The identifier for the source snapshot.
--
-- Constraints:
--
-- Must be the identifier for a valid automated snapshot whose state is
-- available.
ccsSourceSnapshotIdentifier :: Lens' CopyClusterSnapshot Text
-- | 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
data CopyClusterSnapshotResponse
-- | CopyClusterSnapshotResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
copyClusterSnapshotResponse :: CopyClusterSnapshotResponse
ccsrSnapshot :: Lens' CopyClusterSnapshotResponse (Maybe Snapshot)
instance Eq CopyClusterSnapshot
instance Ord CopyClusterSnapshot
instance Read CopyClusterSnapshot
instance Show CopyClusterSnapshot
instance Eq CopyClusterSnapshotResponse
instance Read CopyClusterSnapshotResponse
instance Show CopyClusterSnapshotResponse
instance FromXML CopyClusterSnapshotResponse
instance AWSRequest CopyClusterSnapshot
instance ToHeaders CopyClusterSnapshot
instance ToQuery CopyClusterSnapshot
instance ToPath CopyClusterSnapshot
-- | Authorizes the specified AWS customer account to restore the specified
-- snapshot.
--
-- For more information about working with snapshots, go to 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
data AuthorizeSnapshotAccess
-- | AuthorizeSnapshotAccess constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
authorizeSnapshotAccess :: Text -> Text -> AuthorizeSnapshotAccess
-- | The identifier of the AWS customer account authorized to restore the
-- specified snapshot.
asaAccountWithRestoreAccess :: Lens' AuthorizeSnapshotAccess Text
-- | 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)
-- | The identifier of the snapshot the account is authorized to restore.
asaSnapshotIdentifier :: Lens' AuthorizeSnapshotAccess Text
data AuthorizeSnapshotAccessResponse
-- | AuthorizeSnapshotAccessResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
authorizeSnapshotAccessResponse :: AuthorizeSnapshotAccessResponse
asarSnapshot :: Lens' AuthorizeSnapshotAccessResponse (Maybe Snapshot)
instance Eq AuthorizeSnapshotAccess
instance Ord AuthorizeSnapshotAccess
instance Read AuthorizeSnapshotAccess
instance Show AuthorizeSnapshotAccess
instance Eq AuthorizeSnapshotAccessResponse
instance Read AuthorizeSnapshotAccessResponse
instance Show AuthorizeSnapshotAccessResponse
instance FromXML AuthorizeSnapshotAccessResponse
instance AWSRequest AuthorizeSnapshotAccess
instance ToHeaders AuthorizeSnapshotAccess
instance ToQuery AuthorizeSnapshotAccess
instance ToPath AuthorizeSnapshotAccess
-- | 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 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
data AuthorizeClusterSecurityGroupIngress
-- | AuthorizeClusterSecurityGroupIngress constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
authorizeClusterSecurityGroupIngress :: Text -> AuthorizeClusterSecurityGroupIngress
-- | The IP range to be added the Amazon Redshift security group.
acsgiCIDRIP :: Lens' AuthorizeClusterSecurityGroupIngress (Maybe Text)
-- | The name of the security group to which the ingress rule is added.
acsgiClusterSecurityGroupName :: Lens' AuthorizeClusterSecurityGroupIngress Text
-- | The EC2 security group to be added the Amazon Redshift security group.
acsgiEC2SecurityGroupName :: Lens' AuthorizeClusterSecurityGroupIngress (Maybe Text)
-- | 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)
data AuthorizeClusterSecurityGroupIngressResponse
-- | AuthorizeClusterSecurityGroupIngressResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
authorizeClusterSecurityGroupIngressResponse :: AuthorizeClusterSecurityGroupIngressResponse
acsgirClusterSecurityGroup :: Lens' AuthorizeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup)
instance Eq AuthorizeClusterSecurityGroupIngress
instance Ord AuthorizeClusterSecurityGroupIngress
instance Read AuthorizeClusterSecurityGroupIngress
instance Show AuthorizeClusterSecurityGroupIngress
instance Eq AuthorizeClusterSecurityGroupIngressResponse
instance Read AuthorizeClusterSecurityGroupIngressResponse
instance Show AuthorizeClusterSecurityGroupIngressResponse
instance FromXML AuthorizeClusterSecurityGroupIngressResponse
instance AWSRequest AuthorizeClusterSecurityGroupIngress
instance ToHeaders AuthorizeClusterSecurityGroupIngress
instance ToQuery AuthorizeClusterSecurityGroupIngress
instance ToPath AuthorizeClusterSecurityGroupIngress
-- | 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.
module Network.AWS.Redshift