-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon Redshift SDK.
--
-- Amazon Redshift Overview This is an interface reference for
-- Amazon Redshift. It contains documentation for one of the programming
-- or command line interfaces you can use to manage Amazon Redshift
-- clusters. Note that Amazon Redshift is asynchronous, which means that
-- some interfaces may require techniques, such as polling or
-- asynchronous callback handlers, to determine when a command has been
-- applied. In this reference, the parameter descriptions indicate
-- whether a change is applied immediately, on the next instance reboot,
-- or during the next maintenance window. For a summary of the Amazon
-- Redshift cluster management interfaces, go to Using the Amazon
-- Redshift Management Interfaces. Amazon Redshift manages all the
-- work of setting up, operating, and scaling a data warehouse:
-- provisioning capacity, monitoring and backing up the cluster, and
-- applying patches and upgrades to the Amazon Redshift engine. You can
-- focus on using your data to acquire new insights for your business and
-- customers. If you are a first-time user of Amazon Redshift, we
-- recommend that you begin by reading the The Amazon Redshift Getting
-- Started Guide If you are a database developer, the Amazon
-- Redshift Database Developer Guide explains how to design, build,
-- query, and maintain the databases that make up your data warehouse.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information and sending requests.
--
-- Use of lenses is required for constructing and manipulating types.
-- This is due to the amount of nesting of AWS types and transparency
-- regarding de/serialisation into more palatable Haskell values. The
-- provided lenses should be compatible with any of the major lens
-- libraries such as lens or lens-family-core.
--
-- See Network.AWS.Redshift or the AWS Documentation to get
-- started.
@package amazonka-redshift
@version 1.4.2
module Network.AWS.Redshift.Types
-- | API version '2012-12-01' of the Amazon Redshift SDK configuration.
redshift :: Service
-- | The request would result in the user exceeding the allowed number of
-- cluster security groups. For information about increasing your quota,
-- go to Limits in Amazon Redshift in the Amazon Redshift
-- Cluster Management Guide.
_ClusterSecurityGroupQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The string specified for the logging S3 key prefix does not comply
-- with the documented constraints.
_InvalidS3KeyPrefixFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified Amazon Redshift event source could not be found.
_SourceNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The authorization quota for the cluster security group has been
-- reached.
_AuthorizationQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Cross-region snapshot copy was temporarily disabled. Try your request
-- again.
_CopyToRegionDisabledFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The encryption key has exceeded its grant limit in AWS KMS.
_LimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The state of the cluster security group is not available.
_InvalidClusterSecurityGroupStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A cluster security group with the same name already exists.
_ClusterSecurityGroupAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The snapshot identifier does not refer to an existing cluster
-- snapshot.
_ClusterSnapshotNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The Elastic IP (EIP) is invalid or cannot be found.
_InvalidElasticIPFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified TableRestoreRequestId value was not found.
_TableRestoreNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | There is no Amazon Redshift HSM configuration with the specified
-- identifier.
_HSMConfigurationNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified CIDR block or EC2 security group is already authorized
-- for the specified cluster security group.
_AuthorizationAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The value specified for the event category was not one of the allowed
-- values, or it specified a category that does not apply to the
-- specified source type. The allowed values are Configuration,
-- Management, Monitoring, and Security.
_SubscriptionCategoryNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | There is already an existing Amazon Redshift HSM configuration with
-- the specified identifier.
_HSMConfigurationAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | An Amazon Redshift event notification subscription with the specified
-- name does not exist.
_SubscriptionNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The S3 bucket name is invalid. For more information about naming
-- rules, go to Bucket Restrictions and Limitations in the Amazon
-- Simple Storage Service (S3) Developer Guide.
_InvalidS3BucketNameFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The value specified as a snapshot identifier is already used by an
-- existing snapshot.
_ClusterSnapshotAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The requested subnet is not valid, or not all of the subnets are in
-- the same VPC.
_InvalidSubnet :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified HSM configuration is not in the available
-- state, or it is still in use by one or more Amazon Redshift clusters.
_InvalidHSMConfigurationStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster already has cross-region snapshot copy disabled.
_SnapshotCopyAlreadyDisabledFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would exceed the allowed number of cluster instances for
-- this account. For information about increasing your quota, go to
-- Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_ClusterQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The quota for HSM client certificates has been reached. For
-- information about increasing your quota, go to Limits in Amazon
-- Redshift in the Amazon Redshift Cluster Management Guide.
_HSMClientCertificateQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The parameter group name does not refer to an existing parameter
-- group.
_ClusterParameterGroupNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The AWS account has exceeded the maximum number of snapshot copy
-- grants in this region.
_SnapshotCopyGrantQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The operation would exceed the number of nodes allowed for a cluster.
_NumberOfNodesPerClusterLimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster already has cross-region snapshot copy enabled.
_SnapshotCopyAlreadyEnabledFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A cluster parameter group with the same name already exists.
_ClusterParameterGroupAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Cross-region snapshot copy was temporarily disabled. Try your request
-- again.
_SnapshotCopyDisabledFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A resize operation for the specified cluster is not found.
_ResizeNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | There is no Amazon Redshift HSM client certificate with the specified
-- identifier.
_HSMClientCertificateNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | An Amazon SNS topic with the specified Amazon Resource Name (ARN) does
-- not exist.
_SNSTopicARNNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The ClusterIdentifier parameter does not refer to an existing
-- cluster.
_ClusterNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would result in the user exceeding the allowed number of
-- cluster parameter groups. For information about increasing your quota,
-- go to Limits in Amazon Redshift in the Amazon Redshift
-- Cluster Management Guide.
_ClusterParameterGroupQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The snapshot copy grant can't be created because a grant with the same
-- name already exists.
_SnapshotCopyGrantAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | You do not have permission to publish to the specified Amazon SNS
-- topic.
_SNSNoAuthorizationFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified cluster is not in the available state.
_InvalidClusterStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The value specified for the sourceDatabaseName,
-- sourceSchemaName, or sourceTableName parameter, or a
-- combination of these, doesn't exist in the snapshot.
_InvalidTableRestoreArgumentFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified snapshot copy grant can't be found. Make sure that the
-- name is typed correctly and that the grant exists in the destination
-- region.
_SnapshotCopyGrantNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The quota for HSM configurations has been reached. For information
-- about increasing your quota, go to Limits in Amazon Redshift in
-- the Amazon Redshift Cluster Management Guide.
_HSMConfigurationQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would result in the user exceeding the allowed number of
-- cluster snapshots.
_ClusterSnapshotQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The number of nodes specified exceeds the allotted capacity of the
-- cluster.
_InsufficientClusterCapacityFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Amazon SNS has responded that there is a problem with the specified
-- Amazon SNS topic.
_SNSInvalidTopicFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A request option was specified that is not supported.
_UnsupportedOptionFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | There is already an existing event notification subscription with the
-- specified name.
_SubscriptionAlreadyExistFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster subnet group does not cover all Availability Zones.
_InvalidVPCNetworkStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster subnet group name does not refer to an existing cluster
-- subnet group.
_ClusterSubnetGroupNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Could not find the specified S3 bucket.
_BucketNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The subscription request is invalid because it is a duplicate request.
-- This subscription request is already in progress.
_InvalidSubscriptionStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request cannot be completed because a dependent service is
-- throttling requests made by Amazon Redshift on your behalf. Wait and
-- retry the request.
_DependentServiceRequestThrottlingFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified CIDR IP range or EC2 security group is not authorized
-- for the specified cluster security group.
_AuthorizationNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster subnet group cannot be deleted because it is in use.
_InvalidClusterSubnetGroupStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The requested operation isn't supported.
_UnsupportedOperationFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A ClusterSubnetGroupName is already used by an existing cluster
-- subnet group.
_ClusterSubnetGroupAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified cluster snapshot is not in the available state,
-- or other accounts are authorized to access the snapshot.
_InvalidClusterSnapshotStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster security group name does not refer to an existing cluster
-- security group.
_ClusterSecurityGroupNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified reserved compute node not found.
_ReservedNodeNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Specified offering does not exist.
_ReservedNodeOfferingNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The state of the subnet is invalid.
_InvalidClusterSubnetStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified options are incompatible.
_IncompatibleOrderableOptions :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would exceed the allowed number of event subscriptions for
-- this account. For information about increasing your quota, go to
-- Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_EventSubscriptionQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster parameter group action can not be completed because
-- another task is in progress that involves the parameter group. Wait a
-- few moments and try the operation again.
_InvalidClusterParameterGroupStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | User already has a reservation with the given identifier.
_ReservedNodeAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | You have exceeded the allowed number of table restore requests. Wait
-- for your current table restore requests to complete before making a
-- new request.
_InProgressTableRestoreQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The restore is invalid.
_InvalidRestoreFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The resource could not be found.
_ResourceNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | An Amazon Redshift event with the specified event ID does not exist.
_SubscriptionEventIdNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The snapshot copy grant can't be deleted because it is used by one or
-- more clusters.
_InvalidSnapshotCopyGrantStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified region is incorrect or does not exist.
_UnknownSnapshotCopyRegionFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Request would exceed the user's compute node quota. For information
-- about increasing your quota, go to Limits in Amazon Redshift in
-- the Amazon Redshift Cluster Management Guide.
_ReservedNodeQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would result in user exceeding the allowed number of
-- subnets in a cluster subnet groups. For information about increasing
-- your quota, go to Limits in Amazon Redshift in the Amazon
-- Redshift Cluster Management Guide.
_ClusterSubnetQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The account already has a cluster with the given identifier.
_ClusterAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The owner of the specified snapshot has not authorized your account to
-- access the snapshot.
_AccessToSnapshotDeniedFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request exceeds the limit of 10 tags for the resource.
_TagLimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The operation would exceed the number of nodes allotted to the
-- account. For information about increasing your quota, go to Limits
-- in Amazon Redshift in the Amazon Redshift Cluster Management
-- Guide.
_NumberOfNodesQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | There is already an existing Amazon Redshift HSM client certificate
-- with the specified identifier.
_HSMClientCertificateAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified HSM client certificate is not in the available
-- state, or it is still in use by one or more Amazon Redshift clusters.
_InvalidHSMClientCertificateStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A specified subnet is already in use by another cluster.
_SubnetAlreadyInUse :: AsError a => Getting (First ServiceError) a ServiceError
-- | The value specified for the event severity was not one of the allowed
-- values, or it specified a severity that does not apply to the
-- specified source type. The allowed values are ERROR and INFO.
_SubscriptionSeverityNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Your account is not authorized to perform the requested operation.
_UnauthorizedOperation :: AsError a => Getting (First ServiceError) a ServiceError
-- | The tag is invalid.
_InvalidTagFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster does not have read bucket or put object permissions on the
-- S3 bucket specified when enabling logging.
_InsufficientS3BucketPolicyFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would result in user exceeding the allowed number of
-- cluster subnet groups. For information about increasing your quota, go
-- to Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_ClusterSubnetGroupQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
data ParameterApplyType
Dynamic :: ParameterApplyType
Static :: ParameterApplyType
data SourceType
Cluster :: SourceType
ClusterParameterGroup :: SourceType
ClusterSecurityGroup :: SourceType
ClusterSnapshot :: SourceType
data TableRestoreStatusType
Canceled :: TableRestoreStatusType
Failed :: TableRestoreStatusType
InProgress :: TableRestoreStatusType
Pending :: TableRestoreStatusType
Succeeded :: TableRestoreStatusType
-- | Describes an AWS customer account authorized to restore a snapshot.
--
-- See: accountWithRestoreAccess smart constructor.
data AccountWithRestoreAccess
-- | Creates a value of AccountWithRestoreAccess with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
accountWithRestoreAccess :: AccountWithRestoreAccess
-- | The identifier of an AWS customer account authorized to restore a
-- snapshot.
awraAccountId :: Lens' AccountWithRestoreAccess (Maybe Text)
-- | Describes an availability zone.
--
-- See: availabilityZone smart constructor.
data AvailabilityZone
-- | Creates a value of AvailabilityZone with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
availabilityZone :: AvailabilityZone
-- | The name of the availability zone.
azName :: Lens' AvailabilityZone (Maybe Text)
-- | Describes a cluster.
--
-- See: cluster smart constructor.
data Cluster
-- | Creates a value of Cluster with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
cluster :: Cluster
-- | 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)
-- | Returns the destination region and retention period that are
-- configured for cross-region snapshot copy.
cClusterSnapshotCopyStatus :: Lens' Cluster (Maybe ClusterSnapshotCopyStatus)
-- | The specific revision number of the database in the cluster.
cClusterRevisionNumber :: Lens' Cluster (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
cPubliclyAccessible :: Lens' Cluster (Maybe Bool)
-- | 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 identifier of the VPC the cluster is in, if the cluster is in a
-- VPC.
cVPCId :: 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]
-- | The number of days that automatic cluster snapshots are retained.
cAutomatedSnapshotRetentionPeriod :: Lens' Cluster (Maybe Int)
-- | If true, data in the cluster is encrypted at rest.
cEncrypted :: Lens' Cluster (Maybe Bool)
-- | 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 unique identifier of the cluster.
cClusterIdentifier :: Lens' Cluster (Maybe Text)
-- | The number of compute nodes in the cluster.
cNumberOfNodes :: Lens' Cluster (Maybe Int)
-- | The public key for the cluster.
cClusterPublicKey :: Lens' Cluster (Maybe Text)
-- | The weekly time range (in UTC) during which system maintenance can
-- occur.
cPreferredMaintenanceWindow :: Lens' Cluster (Maybe Text)
-- | The status of a modify operation, if any, initiated for the cluster.
cModifyStatus :: Lens' Cluster (Maybe Text)
-- | 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 list of cluster parameter groups that are associated with this
-- cluster. Each parameter group in the list is returned with its status.
cClusterParameterGroups :: Lens' Cluster [ClusterParameterGroupStatus]
-- | The name of the Availability Zone in which the cluster is located.
cAvailabilityZone :: 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]
-- | 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)
-- | A list of AWS Identity and Access Management (IAM) roles that can be
-- used by the cluster to access other AWS services.
cIAMRoles :: Lens' Cluster [ClusterIAMRole]
-- | The status of the elastic IP (EIP) address.
cElasticIPStatus :: Lens' Cluster (Maybe ElasticIPStatus)
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
cClusterVersion :: Lens' Cluster (Maybe Text)
-- | The node type for the nodes in the cluster.
cNodeType :: Lens' Cluster (Maybe Text)
-- | The date and time that the cluster was created.
cClusterCreateTime :: Lens' Cluster (Maybe UTCTime)
-- | The connection endpoint.
cEndpoint :: Lens' Cluster (Maybe Endpoint)
-- | If true, major version upgrades will be applied automatically
-- to the cluster during the maintenance window.
cAllowVersionUpgrade :: Lens' Cluster (Maybe Bool)
-- | The current state of the cluster. Possible values are:
--
--
-- - available
-- - creating
-- - deleting
-- - 'final-snapshot'
-- - 'hardware-failure'
-- - 'incompatible-hsm'
-- - 'incompatible-network'
-- - 'incompatible-parameters'
-- - 'incompatible-restore'
-- - modifying
-- - rebooting
-- - renaming
-- - resizing
-- - 'rotating-keys'
-- - 'storage-full'
-- - 'updating-hsm'
--
cClusterStatus :: Lens' Cluster (Maybe Text)
-- | If present, changes to the cluster are pending. Specific pending
-- changes are identified by subelements.
cPendingModifiedValues :: Lens' Cluster (Maybe PendingModifiedValues)
-- | The list of tags for the cluster.
cTags :: Lens' Cluster [Tag]
-- | The nodes in a cluster.
cClusterNodes :: Lens' Cluster [ClusterNode]
-- | 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)
-- | An AWS Identity and Access Management (IAM) role that can be used by
-- the associated Amazon Redshift cluster to access other AWS services.
--
-- See: clusterIAMRole smart constructor.
data ClusterIAMRole
-- | Creates a value of ClusterIAMRole with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterIAMRole :: ClusterIAMRole
-- | The Amazon Resource Name (ARN) of the IAM role. For example,
-- 'arn:aws:iam::123456789012:role\/RedshiftCopyUnload'.
cirIAMRoleARN :: Lens' ClusterIAMRole (Maybe Text)
-- | Describes the status of the IAM role's association with an Amazon
-- Redshift cluster.
--
-- The following are possible statuses and descriptions.
--
--
-- - 'in-sync': The role is available for use by the cluster.
-- - adding: The role is in the process of being associated
-- with the cluster.
-- - removing: The role is in the process of being
-- disassociated with the cluster.
--
cirApplyStatus :: Lens' ClusterIAMRole (Maybe Text)
-- | The identifier of a node in a cluster.
--
-- See: clusterNode smart constructor.
data ClusterNode
-- | Creates a value of ClusterNode with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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)
-- | Describes a parameter group.
--
-- See: clusterParameterGroup smart constructor.
data ClusterParameterGroup
-- | Creates a value of ClusterParameterGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterParameterGroup :: ClusterParameterGroup
-- | The name of the cluster parameter group family that this cluster
-- parameter group is compatible with.
cpgParameterGroupFamily :: Lens' ClusterParameterGroup (Maybe Text)
-- | The description of the parameter group.
cpgDescription :: Lens' ClusterParameterGroup (Maybe Text)
-- | The list of tags for the cluster parameter group.
cpgTags :: Lens' ClusterParameterGroup [Tag]
-- | The name of the cluster parameter group.
cpgParameterGroupName :: Lens' ClusterParameterGroup (Maybe Text)
-- | See: clusterParameterGroupNameMessage smart constructor.
data ClusterParameterGroupNameMessage
-- | Creates a value of ClusterParameterGroupNameMessage with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | 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)
-- | The name of the cluster parameter group.
cpgnmParameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | Describes the status of a parameter group.
--
-- See: clusterParameterGroupStatus smart constructor.
data ClusterParameterGroupStatus
-- | Creates a value of ClusterParameterGroupStatus with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterParameterGroupStatus :: ClusterParameterGroupStatus
-- | The list of parameter statuses.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
cpgsClusterParameterStatusList :: Lens' ClusterParameterGroupStatus [ClusterParameterStatus]
-- | The status of parameter updates.
cpgsParameterApplyStatus :: Lens' ClusterParameterGroupStatus (Maybe Text)
-- | The name of the cluster parameter group.
cpgsParameterGroupName :: Lens' ClusterParameterGroupStatus (Maybe Text)
-- | Describes the status of a parameter group.
--
-- See: clusterParameterStatus smart constructor.
data ClusterParameterStatus
-- | Creates a value of ClusterParameterStatus with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterParameterStatus :: ClusterParameterStatus
-- | The error that prevented the parameter from being applied to the
-- database.
cpsParameterApplyErrorDescription :: Lens' ClusterParameterStatus (Maybe Text)
-- | The name of the parameter.
cpsParameterName :: Lens' ClusterParameterStatus (Maybe Text)
-- | The status of the parameter that indicates whether the parameter is in
-- sync with the database, waiting for a cluster reboot, or encountered
-- an error when being applied.
--
-- The following are possible statuses and descriptions.
--
--
-- - 'in-sync': The parameter value is in sync with the database.
-- - 'pending-reboot': The parameter value will be applied after the
-- cluster reboots.
-- - applying: The parameter value is being applied to the
-- database.
-- - 'invalid-parameter': Cannot apply the parameter value because it
-- has an invalid value or syntax.
-- - 'apply-deferred': The parameter contains static property changes.
-- The changes are deferred until the cluster reboots.
-- - 'apply-error': Cannot connect to the cluster. The parameter change
-- will be applied after the cluster reboots.
-- - 'unknown-error': Cannot apply the parameter change right now. The
-- change will be applied after the cluster reboots.
--
cpsParameterApplyStatus :: Lens' ClusterParameterStatus (Maybe Text)
-- | Describes a security group.
--
-- See: clusterSecurityGroup smart constructor.
data ClusterSecurityGroup
-- | Creates a value of ClusterSecurityGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterSecurityGroup :: ClusterSecurityGroup
-- | The name of the cluster security group to which the operation was
-- applied.
cluClusterSecurityGroupName :: Lens' ClusterSecurityGroup (Maybe Text)
-- | A list of IP ranges (CIDR blocks) that are permitted to access
-- clusters associated with this cluster security group.
cluIPRanges :: Lens' ClusterSecurityGroup [IPRange]
-- | A list of EC2 security groups that are permitted to access clusters
-- associated with this cluster security group.
cluEC2SecurityGroups :: Lens' ClusterSecurityGroup [EC2SecurityGroup]
-- | A description of the security group.
cluDescription :: Lens' ClusterSecurityGroup (Maybe Text)
-- | The list of tags for the cluster security group.
cluTags :: Lens' ClusterSecurityGroup [Tag]
-- | Describes a cluster security group.
--
-- See: clusterSecurityGroupMembership smart constructor.
data ClusterSecurityGroupMembership
-- | Creates a value of ClusterSecurityGroupMembership with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterSecurityGroupMembership :: ClusterSecurityGroupMembership
-- | The status of the cluster security group.
csgmStatus :: Lens' ClusterSecurityGroupMembership (Maybe Text)
-- | The name of the cluster security group.
csgmClusterSecurityGroupName :: Lens' ClusterSecurityGroupMembership (Maybe Text)
-- | Returns the destination region and retention period that are
-- configured for cross-region snapshot copy.
--
-- See: clusterSnapshotCopyStatus smart constructor.
data ClusterSnapshotCopyStatus
-- | Creates a value of ClusterSnapshotCopyStatus with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterSnapshotCopyStatus :: ClusterSnapshotCopyStatus
-- | 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)
-- | The destination region that snapshots are automatically copied to when
-- cross-region snapshot copy is enabled.
cscsDestinationRegion :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
-- | The name of the snapshot copy grant.
cscsSnapshotCopyGrantName :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
-- | Describes a subnet group.
--
-- See: clusterSubnetGroup smart constructor.
data ClusterSubnetGroup
-- | Creates a value of ClusterSubnetGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterSubnetGroup :: ClusterSubnetGroup
-- | The VPC ID of the cluster subnet group.
csgVPCId :: Lens' ClusterSubnetGroup (Maybe Text)
-- | A list of the VPC Subnet elements.
csgSubnets :: Lens' ClusterSubnetGroup [Subnet]
-- | The name of the cluster subnet group.
csgClusterSubnetGroupName :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The status of the cluster subnet group. Possible values are
-- Complete, Incomplete and Invalid.
csgSubnetGroupStatus :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The description of the cluster subnet group.
csgDescription :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The list of tags for the cluster subnet group.
csgTags :: Lens' ClusterSubnetGroup [Tag]
-- | Describes a cluster version, including the parameter group family and
-- description of the version.
--
-- See: clusterVersion smart constructor.
data ClusterVersion
-- | Creates a value of ClusterVersion with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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)
-- | Describes the default cluster parameters for a parameter group family.
--
-- See: defaultClusterParameters smart constructor.
data DefaultClusterParameters
-- | Creates a value of DefaultClusterParameters with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 list of cluster default parameters.
dcpParameters :: Lens' DefaultClusterParameters [Parameter]
-- | The name of the cluster parameter group family to which the engine
-- default parameters apply.
dcpParameterGroupFamily :: Lens' DefaultClusterParameters (Maybe Text)
-- | Describes an Amazon EC2 security group.
--
-- See: ec2SecurityGroup smart constructor.
data EC2SecurityGroup
-- | Creates a value of EC2SecurityGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
ec2SecurityGroup :: EC2SecurityGroup
-- | The status of the EC2 security group.
esgStatus :: Lens' EC2SecurityGroup (Maybe Text)
-- | The AWS ID of the owner of the EC2 security group specified in the
-- EC2SecurityGroupName field.
esgEC2SecurityGroupOwnerId :: Lens' EC2SecurityGroup (Maybe Text)
-- | The name of the EC2 Security Group.
esgEC2SecurityGroupName :: Lens' EC2SecurityGroup (Maybe Text)
-- | The list of tags for the EC2 security group.
esgTags :: Lens' EC2SecurityGroup [Tag]
-- | Describes the status of the elastic IP (EIP) address.
--
-- See: elasticIPStatus smart constructor.
data ElasticIPStatus
-- | Creates a value of ElasticIPStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
elasticIPStatus :: ElasticIPStatus
-- | The status of the elastic IP (EIP) address.
eisStatus :: Lens' ElasticIPStatus (Maybe Text)
-- | The elastic IP (EIP) address for the cluster.
eisElasticIP :: Lens' ElasticIPStatus (Maybe Text)
-- | Describes a connection endpoint.
--
-- See: endpoint smart constructor.
data Endpoint
-- | Creates a value of Endpoint with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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)
-- | Describes an event.
--
-- See: event smart constructor.
data Event
-- | Creates a value of Event with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
event :: Event
-- | The source type for this event.
eSourceType :: Lens' Event (Maybe SourceType)
-- | 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 date and time of the event.
eDate :: Lens' Event (Maybe UTCTime)
-- | A list of the event categories.
--
-- Values: Configuration, Management, Monitoring, Security
eEventCategories :: Lens' Event [Text]
-- | The text of this event.
eMessage :: Lens' Event (Maybe Text)
-- | The identifier of the event.
eEventId :: Lens' Event (Maybe Text)
-- | Describes event categories.
--
-- See: eventCategoriesMap smart constructor.
data EventCategoriesMap
-- | Creates a value of EventCategoriesMap with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
eventCategoriesMap :: EventCategoriesMap
-- | The source type, such as cluster or cluster-snapshot, that the
-- returned categories belong to.
ecmSourceType :: Lens' EventCategoriesMap (Maybe Text)
-- | The events in the event category.
ecmEvents :: Lens' EventCategoriesMap [EventInfoMap]
-- | Describes event information.
--
-- See: eventInfoMap smart constructor.
data EventInfoMap
-- | Creates a value of EventInfoMap with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
eventInfoMap :: EventInfoMap
-- | The description of an Amazon Redshift event.
eimEventDescription :: Lens' EventInfoMap (Maybe Text)
-- | The severity of the event.
--
-- Values: ERROR, INFO
eimSeverity :: Lens' EventInfoMap (Maybe Text)
-- | The category of an Amazon Redshift event.
eimEventCategories :: Lens' EventInfoMap [Text]
-- | The identifier of an Amazon Redshift event.
eimEventId :: Lens' EventInfoMap (Maybe Text)
-- | Describes event subscriptions.
--
-- See: eventSubscription smart constructor.
data EventSubscription
-- | Creates a value of EventSubscription with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
eventSubscription :: EventSubscription
-- | 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 AWS customer account associated with the Amazon Redshift event
-- notification subscription.
esCustomerAWSId :: Lens' EventSubscription (Maybe Text)
-- | The name of the Amazon Redshift event notification subscription.
esCustSubscriptionId :: 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 Boolean value indicating whether the subscription is enabled.
-- true indicates the subscription is enabled.
esEnabled :: Lens' EventSubscription (Maybe Bool)
-- | The source type of the events returned the Amazon Redshift event
-- notification, such as cluster, or cluster-snapshot.
esSourceType :: Lens' EventSubscription (Maybe Text)
-- | The event severity specified in the Amazon Redshift event notification
-- subscription.
--
-- Values: ERROR, INFO
esSeverity :: Lens' EventSubscription (Maybe Text)
-- | The date and time the Amazon Redshift event notification subscription
-- was created.
esSubscriptionCreationTime :: Lens' EventSubscription (Maybe UTCTime)
-- | The list of Amazon Redshift event categories specified in the event
-- notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security
esEventCategoriesList :: Lens' EventSubscription [Text]
-- | The list of tags for the event subscription.
esTags :: Lens' EventSubscription [Tag]
-- | A list of the sources that publish events to the Amazon Redshift event
-- notification subscription.
esSourceIdsList :: Lens' EventSubscription [Text]
-- | Returns information about an HSM client certificate. The certificate
-- is stored in a secure Hardware Storage Module (HSM), and used by the
-- Amazon Redshift cluster to encrypt data files.
--
-- See: hsmClientCertificate smart constructor.
data HSMClientCertificate
-- | Creates a value of HSMClientCertificate with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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]
-- | Returns information about an HSM configuration, which is an object
-- that describes to Amazon Redshift clusters the information they
-- require to connect to an HSM where they can store database encryption
-- keys.
--
-- See: hsmConfiguration smart constructor.
data HSMConfiguration
-- | Creates a value of HSMConfiguration with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
hsmConfiguration :: HSMConfiguration
-- | The name of the Amazon Redshift HSM configuration.
hcHSMConfigurationIdentifier :: 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)
-- | A text description of the HSM configuration.
hcDescription :: Lens' HSMConfiguration (Maybe Text)
-- | The list of tags for the HSM configuration.
hcTags :: Lens' HSMConfiguration [Tag]
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
hcHSMIPAddress :: Lens' HSMConfiguration (Maybe Text)
-- | Describes the status of changes to HSM settings.
--
-- See: hsmStatus smart constructor.
data HSMStatus
-- | Creates a value of HSMStatus with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
hsmStatus :: HSMStatus
-- | 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)
-- | 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)
-- | 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)
-- | Describes an IP range used in a security group.
--
-- See: ipRange smart constructor.
data IPRange
-- | Creates a value of IPRange with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
ipRange :: IPRange
-- | The status of the IP range, for example, "authorized".
irStatus :: Lens' IPRange (Maybe Text)
-- | The IP range in Classless Inter-Domain Routing (CIDR) notation.
irCIdRIP :: Lens' IPRange (Maybe Text)
-- | The list of tags for the IP range.
irTags :: Lens' IPRange [Tag]
-- | Describes the status of logging for a cluster.
--
-- See: loggingStatus smart constructor.
data LoggingStatus
-- | Creates a value of LoggingStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
loggingStatus :: LoggingStatus
-- | The last time when logs failed to be delivered.
lsLastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
lsLastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The prefix applied to the log file names.
lsS3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
-- | The name of the S3 bucket where the log files are stored.
lsBucketName :: Lens' LoggingStatus (Maybe Text)
-- | true if logging is on, false if logging is off.
lsLoggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The message indicating that logs failed to be delivered.
lsLastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | Describes an orderable cluster option.
--
-- See: orderableClusterOption smart constructor.
data OrderableClusterOption
-- | Creates a value of OrderableClusterOption with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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)
-- | Describes a parameter in a cluster parameter group.
--
-- See: parameter smart constructor.
data Parameter
-- | Creates a value of Parameter with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
parameter :: Parameter
-- | Specifies how to apply the WLM configuration parameter. Some
-- properties can be applied dynamically, while other properties require
-- that any associated clusters be rebooted for the configuration changes
-- to be applied. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
pApplyType :: Lens' Parameter (Maybe ParameterApplyType)
-- | The value of the parameter.
pParameterValue :: Lens' Parameter (Maybe Text)
-- | The earliest engine version to which the parameter can apply.
pMinimumEngineVersion :: Lens' Parameter (Maybe Text)
-- | The source of the parameter value, such as "engine-default" or "user".
pSource :: 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 data type of the parameter.
pDataType :: Lens' Parameter (Maybe Text)
-- | The valid range of values for the parameter.
pAllowedValues :: Lens' Parameter (Maybe Text)
-- | The name of the parameter.
pParameterName :: Lens' Parameter (Maybe Text)
-- | A description of the parameter.
pDescription :: Lens' Parameter (Maybe Text)
-- | Describes cluster attributes that are in a pending state. A change to
-- one or more the attributes was requested and is in progress or will be
-- applied.
--
-- See: pendingModifiedValues smart constructor.
data PendingModifiedValues
-- | Creates a value of PendingModifiedValues with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
pendingModifiedValues :: PendingModifiedValues
-- | 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 ability to connect to the
-- cluster from the public network.
pmvPubliclyAccessible :: Lens' PendingModifiedValues (Maybe Bool)
-- | 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 number of nodes in the
-- cluster.
pmvNumberOfNodes :: Lens' PendingModifiedValues (Maybe Int)
-- | 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 cluster's node type.
pmvNodeType :: Lens' PendingModifiedValues (Maybe Text)
-- | Describes a recurring charge.
--
-- See: recurringCharge smart constructor.
data RecurringCharge
-- | Creates a value of RecurringCharge with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
recurringCharge :: RecurringCharge
-- | The frequency at which the recurring charge amount is applied.
rcRecurringChargeFrequency :: Lens' RecurringCharge (Maybe Text)
-- | The amount charged per the period of time specified by the recurring
-- charge frequency.
rcRecurringChargeAmount :: Lens' RecurringCharge (Maybe Double)
-- | Describes a reserved node. You can call the
-- DescribeReservedNodeOfferings API to obtain the available
-- reserved node offerings.
--
-- See: reservedNode smart constructor.
data ReservedNode
-- | Creates a value of ReservedNode with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
reservedNode :: ReservedNode
-- | 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 currency code for the reserved cluster.
rnCurrencyCode :: 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 number of reserved compute nodes.
rnNodeCount :: Lens' ReservedNode (Maybe Int)
-- | The unique identifier for the reservation.
rnReservedNodeId :: Lens' ReservedNode (Maybe Text)
-- | The identifier for the reserved node offering.
rnReservedNodeOfferingId :: Lens' ReservedNode (Maybe Text)
-- | The recurring charges for the reserved node.
rnRecurringCharges :: Lens' ReservedNode [RecurringCharge]
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
rnOfferingType :: Lens' ReservedNode (Maybe Text)
-- | The hourly rate Amazon Redshift charges you for this reserved node.
rnUsagePrice :: Lens' ReservedNode (Maybe Double)
-- | The node type of the reserved node.
rnNodeType :: Lens' ReservedNode (Maybe Text)
-- | The fixed cost Amazon Redshift charges you for this reserved node.
rnFixedPrice :: Lens' ReservedNode (Maybe Double)
-- | The duration of the node reservation in seconds.
rnDuration :: Lens' ReservedNode (Maybe Int)
-- | Describes a reserved node offering.
--
-- See: reservedNodeOffering smart constructor.
data ReservedNodeOffering
-- | Creates a value of ReservedNodeOffering with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
reservedNodeOffering :: ReservedNodeOffering
-- | The currency code for the compute nodes offering.
rnoCurrencyCode :: Lens' ReservedNodeOffering (Maybe Text)
-- | The offering identifier.
rnoReservedNodeOfferingId :: 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 anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
rnoOfferingType :: 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)
-- | The node type offered by the reserved node offering.
rnoNodeType :: Lens' ReservedNodeOffering (Maybe Text)
-- | The upfront fixed charge you will pay to purchase the specific
-- reserved node offering.
rnoFixedPrice :: Lens' ReservedNodeOffering (Maybe Double)
-- | The duration, in seconds, for which the offering will reserve the
-- node.
rnoDuration :: Lens' ReservedNodeOffering (Maybe Int)
-- | Describes the status of a cluster restore action. Returns null if the
-- cluster was not created by restoring a snapshot.
--
-- See: restoreStatus smart constructor.
data RestoreStatus
-- | Creates a value of RestoreStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
restoreStatus :: RestoreStatus
-- | The status of the restore action. Returns starting, restoring,
-- completed, or failed.
rsStatus :: Lens' RestoreStatus (Maybe Text)
-- | 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 per second being transferred from the backup
-- storage. Returns the average rate for a completed backup.
rsCurrentRestoreRateInMegaBytesPerSecond :: Lens' RestoreStatus (Maybe Double)
-- | The number of megabytes that have been transferred from snapshot
-- storage.
rsProgressInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | 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 size of the set of snapshot data used to restore the cluster.
rsSnapshotSizeInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | Describes a snapshot.
--
-- See: snapshot smart constructor.
data Snapshot
-- | Creates a value of Snapshot with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
snapshot :: Snapshot
-- | The snapshot status. The value of the status depends on the API
-- operation used.
--
--
sStatus :: Lens' Snapshot (Maybe Text)
-- | The list of node types that this cluster snapshot is able to restore
-- into.
sRestorableNodeTypes :: Lens' Snapshot [Text]
-- | 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 snapshot identifier that is provided in the request.
sSnapshotIdentifier :: Lens' Snapshot (Maybe Text)
-- | 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 master user name for the cluster.
sMasterUsername :: Lens' Snapshot (Maybe Text)
-- | The source region from which the snapshot was copied.
sSourceRegion :: Lens' Snapshot (Maybe Text)
-- | 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)
-- | The number of megabytes that have been transferred to the snapshot
-- backup.
sBackupProgressInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | If true, the data in the snapshot is encrypted at rest.
sEncrypted :: Lens' Snapshot (Maybe Bool)
-- | The identifier of the cluster for which the snapshot was taken.
sClusterIdentifier :: Lens' Snapshot (Maybe Text)
-- | The number of nodes in the cluster.
sNumberOfNodes :: Lens' Snapshot (Maybe Int)
-- | The snapshot type. Snapshots created using
-- CreateClusterSnapshot and CopyClusterSnapshot will be of
-- type "manual".
sSnapshotType :: Lens' Snapshot (Maybe Text)
-- | 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 Availability Zone in which the cluster was created.
sAvailabilityZone :: 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 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 version ID of the Amazon Redshift engine that is running on the
-- cluster.
sClusterVersion :: Lens' Snapshot (Maybe Text)
-- | 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 node type of the nodes in the cluster.
sNodeType :: 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)
-- | The time (UTC) when the cluster was originally created.
sClusterCreateTime :: Lens' Snapshot (Maybe UTCTime)
-- | The estimate of the time remaining before the snapshot backup will
-- complete. Returns '0' for a completed backup.
sEstimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer)
-- | The size of the incremental backup.
sActualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The list of tags for the cluster snapshot.
sTags :: Lens' Snapshot [Tag]
-- | The port that the cluster is listening on.
sPort :: Lens' Snapshot (Maybe Int)
-- | The size of the complete set of backup data that would be used to
-- restore the cluster.
sTotalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The name of the database that was created when the cluster was
-- created.
sDBName :: Lens' Snapshot (Maybe Text)
-- | The snapshot copy grant that grants Amazon Redshift permission to
-- encrypt copied snapshots with the specified customer master key (CMK)
-- from AWS KMS in the destination region.
--
-- For more information about managing snapshot copy grants, go to
-- Amazon Redshift Database Encryption in the Amazon Redshift
-- Cluster Management Guide.
--
-- See: snapshotCopyGrant smart constructor.
data SnapshotCopyGrant
-- | Creates a value of SnapshotCopyGrant with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
snapshotCopyGrant :: SnapshotCopyGrant
-- | The unique identifier of the customer master key (CMK) in AWS KMS to
-- which Amazon Redshift is granted permission.
scgKMSKeyId :: Lens' SnapshotCopyGrant (Maybe Text)
-- | The name of the snapshot copy grant.
scgSnapshotCopyGrantName :: Lens' SnapshotCopyGrant (Maybe Text)
-- | A list of tag instances.
scgTags :: Lens' SnapshotCopyGrant [Tag]
-- | Describes a subnet.
--
-- See: subnet smart constructor.
data Subnet
-- | Creates a value of Subnet with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
subnet :: Subnet
-- | The status of the subnet.
sSubnetStatus :: Lens' Subnet (Maybe Text)
-- | The identifier of the subnet.
sSubnetIdentifier :: Lens' Subnet (Maybe Text)
-- | Undocumented member.
sSubnetAvailabilityZone :: Lens' Subnet (Maybe AvailabilityZone)
-- | Describes the status of a RestoreTableFromClusterSnapshot
-- operation.
--
-- See: tableRestoreStatus smart constructor.
data TableRestoreStatus
-- | Creates a value of TableRestoreStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tableRestoreStatus :: TableRestoreStatus
-- | A value that describes the current state of the table restore request.
--
-- Valid Values: SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS
trsStatus :: Lens' TableRestoreStatus (Maybe TableRestoreStatusType)
-- | The name of the schema to restore the table to.
trsTargetSchemaName :: Lens' TableRestoreStatus (Maybe Text)
-- | The identifier of the snapshot that the table is being restored from.
trsSnapshotIdentifier :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source database that contains the table being
-- restored.
trsSourceDatabaseName :: Lens' TableRestoreStatus (Maybe Text)
-- | The unique identifier for the table restore request.
trsTableRestoreRequestId :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the table to create as a result of the table restore
-- request.
trsNewTableName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the database to restore the table to.
trsTargetDatabaseName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source schema that contains the table being restored.
trsSourceSchemaName :: Lens' TableRestoreStatus (Maybe Text)
-- | The identifier of the Amazon Redshift cluster that the table is being
-- restored to.
trsClusterIdentifier :: Lens' TableRestoreStatus (Maybe Text)
-- | The time that the table restore request was made, in Universal
-- Coordinated Time (UTC).
trsRequestTime :: Lens' TableRestoreStatus (Maybe UTCTime)
-- | The name of the source table being restored.
trsSourceTableName :: Lens' TableRestoreStatus (Maybe Text)
-- | The total amount of data to restore to the new table, in megabytes
-- (MB).
trsTotalDataInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer)
-- | The amount of data restored to the new table so far, in megabytes
-- (MB).
trsProgressInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer)
-- | A description of the status of the table restore request. Status
-- values include SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS.
trsMessage :: Lens' TableRestoreStatus (Maybe Text)
-- | A tag consisting of a name/value pair for a resource.
--
-- See: tag smart constructor.
data Tag
-- | Creates a value of Tag with the minimum fields required to make
-- a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tag :: Tag
-- | The value for the resource tag.
tagValue :: Lens' Tag (Maybe Text)
-- | The key, or name, for the resource tag.
tagKey :: Lens' Tag (Maybe Text)
-- | A tag and its associated resource.
--
-- See: taggedResource smart constructor.
data TaggedResource
-- | Creates a value of TaggedResource with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
taggedResource :: TaggedResource
-- | The tag for the resource.
trTag :: Lens' TaggedResource (Maybe Tag)
-- | 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 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)
-- | Describes the members of a VPC security group.
--
-- See: vpcSecurityGroupMembership smart constructor.
data VPCSecurityGroupMembership
-- | Creates a value of VPCSecurityGroupMembership with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
vpcSecurityGroupMembership :: VPCSecurityGroupMembership
-- | The status of the VPC security group.
vsgmStatus :: Lens' VPCSecurityGroupMembership (Maybe Text)
-- | The identifier of the VPC security group.
vsgmVPCSecurityGroupId :: Lens' VPCSecurityGroupMembership (Maybe Text)
-- | Returns a list of snapshot copy grants owned by the AWS account in the
-- destination region.
--
-- For more information about managing snapshot copy grants, go to
-- Amazon Redshift Database Encryption in the Amazon Redshift
-- Cluster Management Guide.
module Network.AWS.Redshift.DescribeSnapshotCopyGrants
-- | Creates a value of DescribeSnapshotCopyGrants with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeSnapshotCopyGrants :: DescribeSnapshotCopyGrants
-- | The result of the DescribeSnapshotCopyGrants action.
--
-- See: describeSnapshotCopyGrants smart constructor.
data DescribeSnapshotCopyGrants
-- | 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.
dscgsTagValues :: Lens' DescribeSnapshotCopyGrants [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.
dscgsTagKeys :: Lens' DescribeSnapshotCopyGrants [Text]
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeSnapshotCopyGrant 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 SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
dscgsMarker :: Lens' DescribeSnapshotCopyGrants (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.
dscgsMaxRecords :: Lens' DescribeSnapshotCopyGrants (Maybe Int)
-- | The name of the snapshot copy grant.
dscgsSnapshotCopyGrantName :: Lens' DescribeSnapshotCopyGrants (Maybe Text)
-- | Creates a value of DescribeSnapshotCopyGrantsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeSnapshotCopyGrantsResponse :: Int -> DescribeSnapshotCopyGrantsResponse
-- | See: describeSnapshotCopyGrantsResponse smart
-- constructor.
data DescribeSnapshotCopyGrantsResponse
-- | The list of SnapshotCopyGrant objects.
dscgrsSnapshotCopyGrants :: Lens' DescribeSnapshotCopyGrantsResponse [SnapshotCopyGrant]
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeSnapshotCopyGrant 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 SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
dscgrsMarker :: Lens' DescribeSnapshotCopyGrantsResponse (Maybe Text)
-- | The response status code.
dscgrsResponseStatus :: Lens' DescribeSnapshotCopyGrantsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Data.Data.Data Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance GHC.Show.Show Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance GHC.Read.Read Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
-- | Rotates the encryption keys for a cluster.
module Network.AWS.Redshift.RotateEncryptionKey
-- | Creates a value of RotateEncryptionKey with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
rotateEncryptionKey :: Text -> RotateEncryptionKey
-- | See: rotateEncryptionKey smart constructor.
data 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
-- | Creates a value of RotateEncryptionKeyResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
rotateEncryptionKeyResponse :: Int -> RotateEncryptionKeyResponse
-- | See: rotateEncryptionKeyResponse smart constructor.
data RotateEncryptionKeyResponse
-- | Undocumented member.
rekrsCluster :: Lens' RotateEncryptionKeyResponse (Maybe Cluster)
-- | The response status code.
rekrsResponseStatus :: Lens' RotateEncryptionKeyResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
instance Data.Data.Data Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
instance GHC.Show.Show Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
instance GHC.Read.Read Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
instance GHC.Classes.Eq Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
instance GHC.Generics.Generic Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Data.Data.Data Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance GHC.Show.Show Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance GHC.Read.Read Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance GHC.Classes.Eq Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Control.DeepSeq.NFData Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Control.DeepSeq.NFData Network.AWS.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
-- | 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.
module Network.AWS.Redshift.ModifyClusterSubnetGroup
-- | Creates a value of ModifyClusterSubnetGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyClusterSubnetGroup :: Text -> ModifyClusterSubnetGroup
-- | See: modifyClusterSubnetGroup smart constructor.
data ModifyClusterSubnetGroup
-- | A text description of the subnet group to be modified.
mcsgDescription :: Lens' ModifyClusterSubnetGroup (Maybe Text)
-- | The name of the subnet group to be modified.
mcsgClusterSubnetGroupName :: Lens' ModifyClusterSubnetGroup Text
-- | An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
-- a single request.
mcsgSubnetIds :: Lens' ModifyClusterSubnetGroup [Text]
-- | Creates a value of ModifyClusterSubnetGroupResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyClusterSubnetGroupResponse :: Int -> ModifyClusterSubnetGroupResponse
-- | See: modifyClusterSubnetGroupResponse smart constructor.
data ModifyClusterSubnetGroupResponse
-- | Undocumented member.
mcsgrsClusterSubnetGroup :: Lens' ModifyClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
-- | The response status code.
mcsgrsResponseStatus :: Lens' ModifyClusterSubnetGroupResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
instance Data.Data.Data Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
instance GHC.Show.Show Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
instance GHC.Read.Read Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
instance GHC.Classes.Eq Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
instance GHC.Generics.Generic Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Data.Data.Data Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance GHC.Show.Show Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance GHC.Read.Read Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance GHC.Classes.Eq Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
-- | 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
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeClusterVersions
-- | Creates a value of DescribeClusterVersions with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterVersions :: DescribeClusterVersions
-- | See: describeClusterVersions smart constructor.
data 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)
-- | 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)
-- | The specific cluster version to return.
--
-- Example: '1.0'
dcvClusterVersion :: Lens' DescribeClusterVersions (Maybe Text)
-- | Creates a value of DescribeClusterVersionsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterVersionsResponse :: Int -> DescribeClusterVersionsResponse
-- | Contains the output from the DescribeClusterVersions action.
--
-- See: describeClusterVersionsResponse smart constructor.
data DescribeClusterVersionsResponse
-- | A list of Version elements.
dcvrsClusterVersions :: 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.
dcvrsMarker :: Lens' DescribeClusterVersionsResponse (Maybe Text)
-- | The response status code.
dcvrsResponseStatus :: Lens' DescribeClusterVersionsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
-- | Deletes the specified snapshot copy grant.
module Network.AWS.Redshift.DeleteSnapshotCopyGrant
-- | Creates a value of DeleteSnapshotCopyGrant with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteSnapshotCopyGrant :: Text -> DeleteSnapshotCopyGrant
-- | The result of the DeleteSnapshotCopyGrant action.
--
-- See: deleteSnapshotCopyGrant smart constructor.
data DeleteSnapshotCopyGrant
-- | The name of the snapshot copy grant to delete.
dscgSnapshotCopyGrantName :: Lens' DeleteSnapshotCopyGrant Text
-- | Creates a value of DeleteSnapshotCopyGrantResponse with the
-- minimum fields required to make a request.
deleteSnapshotCopyGrantResponse :: DeleteSnapshotCopyGrantResponse
-- | See: deleteSnapshotCopyGrantResponse smart constructor.
data DeleteSnapshotCopyGrantResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
instance Data.Data.Data Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
instance GHC.Show.Show Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
instance GHC.Read.Read Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Data.Data.Data Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance GHC.Show.Show Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance GHC.Read.Read Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
-- | Deletes the specified HSM client certificate.
module Network.AWS.Redshift.DeleteHSMClientCertificate
-- | Creates a value of DeleteHSMClientCertificate with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteHSMClientCertificate :: Text -> DeleteHSMClientCertificate
-- | See: deleteHSMClientCertificate smart constructor.
data DeleteHSMClientCertificate
-- | The identifier of the HSM client certificate to be deleted.
dhsmccHSMClientCertificateIdentifier :: Lens' DeleteHSMClientCertificate Text
-- | Creates a value of DeleteHSMClientCertificateResponse with the
-- minimum fields required to make a request.
deleteHSMClientCertificateResponse :: DeleteHSMClientCertificateResponse
-- | See: deleteHSMClientCertificateResponse smart
-- constructor.
data DeleteHSMClientCertificateResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificateResponse
instance Data.Data.Data Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificateResponse
instance GHC.Show.Show Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificateResponse
instance GHC.Read.Read Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificateResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificateResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance Data.Data.Data Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance GHC.Show.Show Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance GHC.Read.Read Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificate
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteHSMClientCertificate.DeleteHSMClientCertificateResponse
-- | Copies the specified automated cluster snapshot to a new manual
-- cluster snapshot. The source must be an automated snapshot and it must
-- be in the available state.
--
-- When you delete a cluster, Amazon Redshift deletes any automated
-- snapshots of the cluster. Also, when the retention period of the
-- snapshot expires, Amazon Redshift automatically deletes it. If you
-- want to keep an automated snapshot for a longer period, you can make a
-- manual copy of the snapshot. Manual snapshots are retained until you
-- delete them.
--
-- For more information about working with snapshots, go to Amazon
-- Redshift Snapshots in the Amazon Redshift Cluster Management
-- Guide.
module Network.AWS.Redshift.CopyClusterSnapshot
-- | Creates a value of CopyClusterSnapshot with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
copyClusterSnapshot :: Text -> Text -> CopyClusterSnapshot
-- | See: copyClusterSnapshot smart constructor.
data 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
-- | Creates a value of CopyClusterSnapshotResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
copyClusterSnapshotResponse :: Int -> CopyClusterSnapshotResponse
-- | See: copyClusterSnapshotResponse smart constructor.
data CopyClusterSnapshotResponse
-- | Undocumented member.
ccsrsSnapshot :: Lens' CopyClusterSnapshotResponse (Maybe Snapshot)
-- | The response status code.
ccsrsResponseStatus :: Lens' CopyClusterSnapshotResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
instance Data.Data.Data Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
instance GHC.Show.Show Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
instance GHC.Read.Read Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Data.Data.Data Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance GHC.Show.Show Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance GHC.Read.Read Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance GHC.Classes.Eq Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Control.DeepSeq.NFData Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Control.DeepSeq.NFData Network.AWS.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
-- | Creates a snapshot copy grant that permits Amazon Redshift to use a
-- customer master key (CMK) from AWS Key Management Service (AWS KMS) to
-- encrypt copied snapshots in a destination region.
--
-- For more information about managing snapshot copy grants, go to
-- Amazon Redshift Database Encryption in the Amazon Redshift
-- Cluster Management Guide.
module Network.AWS.Redshift.CreateSnapshotCopyGrant
-- | Creates a value of CreateSnapshotCopyGrant with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createSnapshotCopyGrant :: Text -> CreateSnapshotCopyGrant
-- | The result of the CreateSnapshotCopyGrant action.
--
-- See: createSnapshotCopyGrant smart constructor.
data CreateSnapshotCopyGrant
-- | The unique identifier of the customer master key (CMK) to which to
-- grant Amazon Redshift permission. If no key is specified, the default
-- key is used.
cscgKMSKeyId :: Lens' CreateSnapshotCopyGrant (Maybe Text)
-- | A list of tag instances.
cscgTags :: Lens' CreateSnapshotCopyGrant [Tag]
-- | The name of the snapshot copy grant. This name must be unique in the
-- region for the AWS account.
--
-- 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.
--
cscgSnapshotCopyGrantName :: Lens' CreateSnapshotCopyGrant Text
-- | Creates a value of CreateSnapshotCopyGrantResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createSnapshotCopyGrantResponse :: Int -> CreateSnapshotCopyGrantResponse
-- | See: createSnapshotCopyGrantResponse smart constructor.
data CreateSnapshotCopyGrantResponse
-- | Undocumented member.
cscgrsSnapshotCopyGrant :: Lens' CreateSnapshotCopyGrantResponse (Maybe SnapshotCopyGrant)
-- | The response status code.
cscgrsResponseStatus :: Lens' CreateSnapshotCopyGrantResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
instance Data.Data.Data Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
instance GHC.Show.Show Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
instance GHC.Read.Read Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Data.Data.Data Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance GHC.Show.Show Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance GHC.Read.Read Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance GHC.Classes.Eq Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
-- | 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.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeHSMConfigurations
-- | Creates a value of DescribeHSMConfigurations with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeHSMConfigurations :: DescribeHSMConfigurations
-- | See: describeHSMConfigurations smart constructor.
data DescribeHSMConfigurations
-- | 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.
dhsmcTagValues :: Lens' DescribeHSMConfigurations [Text]
-- | 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.
dhsmcHSMConfigurationIdentifier :: Lens' DescribeHSMConfigurations (Maybe Text)
-- | 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.
dhsmcTagKeys :: Lens' DescribeHSMConfigurations [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.
dhsmcMarker :: 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.
dhsmcMaxRecords :: Lens' DescribeHSMConfigurations (Maybe Int)
-- | Creates a value of DescribeHSMConfigurationsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeHSMConfigurationsResponse :: Int -> DescribeHSMConfigurationsResponse
-- | See: describeHSMConfigurationsResponse smart
-- constructor.
data DescribeHSMConfigurationsResponse
-- | 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.
dhcrsMarker :: Lens' DescribeHSMConfigurationsResponse (Maybe Text)
-- | A list of HsmConfiguration objects.
dhcrsHSMConfigurations :: Lens' DescribeHSMConfigurationsResponse [HSMConfiguration]
-- | The response status code.
dhcrsResponseStatus :: Lens' DescribeHSMConfigurationsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurationsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurationsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurationsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurationsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurationsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance Data.Data.Data Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance GHC.Show.Show Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance GHC.Read.Read Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurations
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeHSMConfigurations.DescribeHSMConfigurationsResponse
-- | Removes the ability of the specified AWS customer account to restore
-- the specified snapshot. If the account is currently restoring the
-- snapshot, the restore will run to completion.
--
-- For more information about working with snapshots, go to Amazon
-- Redshift Snapshots in the Amazon Redshift Cluster Management
-- Guide.
module Network.AWS.Redshift.RevokeSnapshotAccess
-- | Creates a value of RevokeSnapshotAccess with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
revokeSnapshotAccess :: Text -> Text -> RevokeSnapshotAccess
-- | See: revokeSnapshotAccess smart constructor.
data RevokeSnapshotAccess
-- | 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
-- | The identifier of the AWS customer account that can no longer restore
-- the specified snapshot.
rsaAccountWithRestoreAccess :: Lens' RevokeSnapshotAccess Text
-- | Creates a value of RevokeSnapshotAccessResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
revokeSnapshotAccessResponse :: Int -> RevokeSnapshotAccessResponse
-- | See: revokeSnapshotAccessResponse smart constructor.
data RevokeSnapshotAccessResponse
-- | Undocumented member.
rsarsSnapshot :: Lens' RevokeSnapshotAccessResponse (Maybe Snapshot)
-- | The response status code.
rsarsResponseStatus :: Lens' RevokeSnapshotAccessResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
instance Data.Data.Data Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
instance GHC.Show.Show Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
instance GHC.Read.Read Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
instance GHC.Classes.Eq Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
instance GHC.Generics.Generic Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Data.Data.Data Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance GHC.Show.Show Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance GHC.Read.Read Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance GHC.Classes.Eq Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Control.DeepSeq.NFData Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Control.DeepSeq.NFData Network.AWS.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
-- | 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 parameters and parameter groups, go to Amazon
-- Redshift Parameter Groups in the Amazon Redshift Cluster
-- Management Guide.
module Network.AWS.Redshift.CreateClusterParameterGroup
-- | Creates a value of CreateClusterParameterGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createClusterParameterGroup :: Text -> Text -> Text -> CreateClusterParameterGroup
-- | See: createClusterParameterGroup smart constructor.
data CreateClusterParameterGroup
-- | A list of tag instances.
ccpgTags :: Lens' CreateClusterParameterGroup [Tag]
-- | 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
-- | 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
-- | A description of the parameter group.
ccpgDescription :: Lens' CreateClusterParameterGroup Text
-- | Creates a value of CreateClusterParameterGroupResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createClusterParameterGroupResponse :: Int -> CreateClusterParameterGroupResponse
-- | See: createClusterParameterGroupResponse smart
-- constructor.
data CreateClusterParameterGroupResponse
-- | Undocumented member.
ccpgrsClusterParameterGroup :: Lens' CreateClusterParameterGroupResponse (Maybe ClusterParameterGroup)
-- | The response status code.
ccpgrsResponseStatus :: Lens' CreateClusterParameterGroupResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
instance Data.Data.Data Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
instance GHC.Show.Show Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
instance GHC.Read.Read Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Data.Data.Data Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance GHC.Show.Show Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance GHC.Read.Read Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance GHC.Classes.Eq Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
-- | Creates a new cluster from a snapshot. By default, 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
-- groups. 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 are using
-- a DS node type, you can also choose to change to another DS node type
-- of the same size during restore.
--
-- If you restore a cluster into a VPC, you must provide a cluster subnet
-- group where you want the cluster restored.
--
-- For more information about working with snapshots, go to Amazon
-- Redshift Snapshots in the Amazon Redshift Cluster Management
-- Guide.
module Network.AWS.Redshift.RestoreFromClusterSnapshot
-- | Creates a value of RestoreFromClusterSnapshot with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
restoreFromClusterSnapshot :: Text -> Text -> RestoreFromClusterSnapshot
-- | See: restoreFromClusterSnapshot smart constructor.
data RestoreFromClusterSnapshot
-- | Reserved.
rfcsAdditionalInfo :: 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)
-- | 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)
-- | 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 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 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)
-- | 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)
-- | The elastic IP (EIP) address for the cluster.
rfcsElasticIP :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | 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)
-- | 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 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)
-- | 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]
-- | A list of AWS Identity and Access Management (IAM) roles that can be
-- used by the cluster to access other AWS services. You must supply the
-- IAM roles in their Amazon Resource Name (ARN) format. You can supply
-- up to 10 IAM roles in a single request.
--
-- A cluster can have up to 10 IAM roles associated at any time.
rfcsIAMRoles :: Lens' RestoreFromClusterSnapshot [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 node type that the restored cluster will be provisioned with.
--
-- Default: The node type of the cluster from which the snapshot was
-- taken. You can modify this if you are using any DS node type. In that
-- case, you can choose to restore into another DS node type of the same
-- size. For example, you can restore ds1.8xlarge into ds2.8xlarge, or
-- ds2.xlarge into ds1.xlarge. If you have a DC instance type, you must
-- restore into that same instance type and size. In other words, you can
-- only restore a dc1.large instance type into another dc1.large instance
-- type. For more information about node types, see About Clusters and
-- Nodes in the Amazon Redshift Cluster Management Guide
rfcsNodeType :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | 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 name of the parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
rfcsClusterParameterGroupName :: 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 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 snapshot from which to create the new cluster. This
-- parameter isn't case sensitive.
--
-- Example: 'my-snapshot-id'
rfcsSnapshotIdentifier :: Lens' RestoreFromClusterSnapshot Text
-- | Creates a value of RestoreFromClusterSnapshotResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
restoreFromClusterSnapshotResponse :: Int -> RestoreFromClusterSnapshotResponse
-- | See: restoreFromClusterSnapshotResponse smart
-- constructor.
data RestoreFromClusterSnapshotResponse
-- | Undocumented member.
rfcsrsCluster :: Lens' RestoreFromClusterSnapshotResponse (Maybe Cluster)
-- | The response status code.
rfcsrsResponseStatus :: Lens' RestoreFromClusterSnapshotResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
instance Data.Data.Data Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
instance GHC.Show.Show Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
instance GHC.Read.Read Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
instance GHC.Classes.Eq Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
instance GHC.Generics.Generic Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Data.Data.Data Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance GHC.Show.Show Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance GHC.Read.Read Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance GHC.Classes.Eq Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Control.DeepSeq.NFData Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Control.DeepSeq.NFData Network.AWS.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
-- | 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 parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeClusterParameters
-- | Creates a value of DescribeClusterParameters with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterParameters :: Text -> DescribeClusterParameters
-- | See: describeClusterParameters smart constructor.
data 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.
dcpsMarker :: 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.
dcpsMaxRecords :: Lens' DescribeClusterParameters (Maybe Int)
-- | 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'
dcpsSource :: Lens' DescribeClusterParameters (Maybe Text)
-- | The name of a cluster parameter group for which to return details.
dcpsParameterGroupName :: Lens' DescribeClusterParameters Text
-- | Creates a value of DescribeClusterParametersResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterParametersResponse :: Int -> DescribeClusterParametersResponse
-- | Contains the output from the DescribeClusterParameters action.
--
-- See: describeClusterParametersResponse smart
-- constructor.
data 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.
dcprsMarker :: Lens' DescribeClusterParametersResponse (Maybe Text)
-- | A list of Parameter instances. Each instance lists the
-- parameters of one cluster parameter group.
dcprsParameters :: Lens' DescribeClusterParametersResponse [Parameter]
-- | The response status code.
dcprsResponseStatus :: Lens' DescribeClusterParametersResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
-- | Disables the automatic copying of snapshots from one region to another
-- region for a specified cluster.
--
-- If your cluster and its snapshots are encrypted using a customer
-- master key (CMK) from AWS KMS, use DeleteSnapshotCopyGrant to
-- delete the grant that grants Amazon Redshift permission to the CMK in
-- the destination region.
module Network.AWS.Redshift.DisableSnapshotCopy
-- | Creates a value of DisableSnapshotCopy with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
disableSnapshotCopy :: Text -> DisableSnapshotCopy
-- | See: disableSnapshotCopy smart constructor.
data 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
-- | Creates a value of DisableSnapshotCopyResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
disableSnapshotCopyResponse :: Int -> DisableSnapshotCopyResponse
-- | See: disableSnapshotCopyResponse smart constructor.
data DisableSnapshotCopyResponse
-- | Undocumented member.
dscrsCluster :: Lens' DisableSnapshotCopyResponse (Maybe Cluster)
-- | The response status code.
dscrsResponseStatus :: Lens' DisableSnapshotCopyResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
instance Data.Data.Data Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
instance GHC.Show.Show Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
instance GHC.Read.Read Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Data.Data.Data Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance GHC.Show.Show Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance GHC.Read.Read Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance GHC.Classes.Eq Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Control.DeepSeq.NFData Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Control.DeepSeq.NFData Network.AWS.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
-- | Deletes an Amazon Redshift security group.
--
-- You cannot delete a security group that is associated with any
-- clusters. You cannot delete the default security group.
--
-- For information about managing security groups, go to Amazon
-- Redshift Cluster Security Groups in the Amazon Redshift Cluster
-- Management Guide.
module Network.AWS.Redshift.DeleteClusterSecurityGroup
-- | Creates a value of DeleteClusterSecurityGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteClusterSecurityGroup :: Text -> DeleteClusterSecurityGroup
-- | See: deleteClusterSecurityGroup smart constructor.
data DeleteClusterSecurityGroup
-- | The name of the cluster security group to be deleted.
dClusterSecurityGroupName :: Lens' DeleteClusterSecurityGroup Text
-- | Creates a value of DeleteClusterSecurityGroupResponse with the
-- minimum fields required to make a request.
deleteClusterSecurityGroupResponse :: DeleteClusterSecurityGroupResponse
-- | See: deleteClusterSecurityGroupResponse smart
-- constructor.
data DeleteClusterSecurityGroupResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
instance Data.Data.Data Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
instance GHC.Show.Show Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
instance GHC.Read.Read Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Data.Data.Data Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance GHC.Show.Show Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance GHC.Read.Read Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
-- | 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.
module Network.AWS.Redshift.ModifyCluster
-- | Creates a value of ModifyCluster with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyCluster :: Text -> ModifyCluster
-- | See: modifyCluster smart constructor.
data ModifyCluster
-- | 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)
-- | If true, the cluster can be accessed from a public network.
-- Only clusters in VPCs can be set to be publicly available.
mcPubliclyAccessible :: Lens' ModifyCluster (Maybe Bool)
-- | 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)
-- | 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 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)
-- | 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)
-- | 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 Elastic IP (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. For more information
-- about provisioning clusters in EC2-VPC, go to Supported Platforms
-- to Launch Your Cluster in the Amazon Redshift Cluster Management
-- Guide.
mcElasticIP :: Lens' ModifyCluster (Maybe Text)
-- | 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]
-- | 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 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 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 parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
--
-- Example: '1.0'
mcClusterVersion :: 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: ' ds1.xlarge' | 'ds1.8xlarge' | ' ds2.xlarge' |
-- 'ds2.8xlarge' | 'dc1.large' | 'dc1.8xlarge'.
mcNodeType :: Lens' ModifyCluster (Maybe Text)
-- | If true, major version upgrades will be applied automatically
-- to the cluster during the maintenance window.
--
-- Default: false
mcAllowVersionUpgrade :: Lens' ModifyCluster (Maybe Bool)
-- | 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)
-- | The unique identifier of the cluster to be modified.
--
-- Example: examplecluster
mcClusterIdentifier :: Lens' ModifyCluster Text
-- | Creates a value of ModifyClusterResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyClusterResponse :: Int -> ModifyClusterResponse
-- | See: modifyClusterResponse smart constructor.
data ModifyClusterResponse
-- | Undocumented member.
mcrsCluster :: Lens' ModifyClusterResponse (Maybe Cluster)
-- | The response status code.
mcrsResponseStatus :: Lens' ModifyClusterResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.ModifyCluster.ModifyClusterResponse
instance Data.Data.Data Network.AWS.Redshift.ModifyCluster.ModifyClusterResponse
instance GHC.Show.Show Network.AWS.Redshift.ModifyCluster.ModifyClusterResponse
instance GHC.Read.Read Network.AWS.Redshift.ModifyCluster.ModifyClusterResponse
instance GHC.Classes.Eq Network.AWS.Redshift.ModifyCluster.ModifyClusterResponse
instance GHC.Generics.Generic Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance Data.Data.Data Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance GHC.Show.Show Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance GHC.Read.Read Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance GHC.Classes.Eq Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.ModifyCluster.ModifyCluster
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifyCluster.ModifyClusterResponse
-- | Describes whether information, such as queries and connection
-- attempts, is being logged for the specified Amazon Redshift cluster.
module Network.AWS.Redshift.DescribeLoggingStatus
-- | Creates a value of DescribeLoggingStatus with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeLoggingStatus :: Text -> DescribeLoggingStatus
-- | See: describeLoggingStatus smart constructor.
data DescribeLoggingStatus
-- | The identifier of the cluster from which to get the logging status.
--
-- Example: examplecluster
dlsClusterIdentifier :: Lens' DescribeLoggingStatus Text
-- | Creates a value of LoggingStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
loggingStatus :: LoggingStatus
-- | Describes the status of logging for a cluster.
--
-- See: loggingStatus smart constructor.
data LoggingStatus
-- | The last time when logs failed to be delivered.
lsLastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
lsLastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The prefix applied to the log file names.
lsS3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
-- | The name of the S3 bucket where the log files are stored.
lsBucketName :: Lens' LoggingStatus (Maybe Text)
-- | true if logging is on, false if logging is off.
lsLoggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The message indicating that logs failed to be delivered.
lsLastFailureMessage :: Lens' LoggingStatus (Maybe Text)
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Data.Data.Data Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance GHC.Show.Show Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance GHC.Read.Read Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
-- | 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.
module Network.AWS.Redshift.CreateHSMConfiguration
-- | Creates a value of CreateHSMConfiguration with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createHSMConfiguration :: Text -> Text -> Text -> Text -> Text -> Text -> CreateHSMConfiguration
-- | See: createHSMConfiguration smart constructor.
data CreateHSMConfiguration
-- | A list of tag instances.
chcTags :: Lens' CreateHSMConfiguration [Tag]
-- | The identifier to be assigned to the new Amazon Redshift HSM
-- configuration.
chcHSMConfigurationIdentifier :: Lens' CreateHSMConfiguration Text
-- | A text description of the HSM configuration to be created.
chcDescription :: 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
-- | Creates a value of CreateHSMConfigurationResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createHSMConfigurationResponse :: Int -> CreateHSMConfigurationResponse
-- | See: createHSMConfigurationResponse smart constructor.
data CreateHSMConfigurationResponse
-- | Undocumented member.
chcrsHSMConfiguration :: Lens' CreateHSMConfigurationResponse (Maybe HSMConfiguration)
-- | The response status code.
chcrsResponseStatus :: Lens' CreateHSMConfigurationResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfigurationResponse
instance Data.Data.Data Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfigurationResponse
instance GHC.Show.Show Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfigurationResponse
instance GHC.Read.Read Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfigurationResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfigurationResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance Data.Data.Data Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance GHC.Show.Show Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance GHC.Read.Read Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance GHC.Classes.Eq Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfiguration
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateHSMConfiguration.CreateHSMConfigurationResponse
-- | Creates a manual snapshot of the specified cluster. The cluster must
-- be in the available state.
--
-- For more information about working with snapshots, go to Amazon
-- Redshift Snapshots in the Amazon Redshift Cluster Management
-- Guide.
module Network.AWS.Redshift.CreateClusterSnapshot
-- | Creates a value of CreateClusterSnapshot with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createClusterSnapshot :: Text -> Text -> CreateClusterSnapshot
-- | See: createClusterSnapshot smart constructor.
data CreateClusterSnapshot
-- | A list of tag instances.
ccsTags :: Lens' CreateClusterSnapshot [Tag]
-- | 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
-- | The cluster identifier for which you want a snapshot.
ccsClusterIdentifier :: Lens' CreateClusterSnapshot Text
-- | Creates a value of CreateClusterSnapshotResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createClusterSnapshotResponse :: Int -> CreateClusterSnapshotResponse
-- | See: createClusterSnapshotResponse smart constructor.
data CreateClusterSnapshotResponse
-- | Undocumented member.
crersSnapshot :: Lens' CreateClusterSnapshotResponse (Maybe Snapshot)
-- | The response status code.
crersResponseStatus :: Lens' CreateClusterSnapshotResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
instance Data.Data.Data Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
instance GHC.Show.Show Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
instance GHC.Read.Read Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Data.Data.Data Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance GHC.Show.Show Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance GHC.Read.Read Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance GHC.Classes.Eq Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
-- | Lists the status of one or more table restore requests made using the
-- RestoreTableFromClusterSnapshot API action. If you don't
-- specify a value for the TableRestoreRequestId parameter, then
-- DescribeTableRestoreStatus returns the status of all table
-- restore requests ordered by the date and time of the request in
-- ascending order. Otherwise DescribeTableRestoreStatus returns
-- the status of the table specified by TableRestoreRequestId.
module Network.AWS.Redshift.DescribeTableRestoreStatus
-- | Creates a value of DescribeTableRestoreStatus with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeTableRestoreStatus :: DescribeTableRestoreStatus
-- | See: describeTableRestoreStatus smart constructor.
data DescribeTableRestoreStatus
-- | The identifier of the table restore request to return status for. If
-- you don't specify a TableRestoreRequestId value, then
-- DescribeTableRestoreStatus returns the status of all
-- in-progress table restore requests.
dtrssTableRestoreRequestId :: Lens' DescribeTableRestoreStatus (Maybe Text)
-- | The Amazon Redshift cluster that the table is being restored to.
dtrssClusterIdentifier :: Lens' DescribeTableRestoreStatus (Maybe Text)
-- | An optional pagination token provided by a previous
-- DescribeTableRestoreStatus request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
dtrssMarker :: Lens' DescribeTableRestoreStatus (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a
-- pagination token called a marker is included in the response so that
-- the remaining results can be retrieved.
dtrssMaxRecords :: Lens' DescribeTableRestoreStatus (Maybe Int)
-- | Creates a value of DescribeTableRestoreStatusResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeTableRestoreStatusResponse :: Int -> DescribeTableRestoreStatusResponse
-- | See: describeTableRestoreStatusResponse smart
-- constructor.
data DescribeTableRestoreStatusResponse
-- | A pagination token that can be used in a subsequent
-- DescribeTableRestoreStatus request.
dtrsrsMarker :: Lens' DescribeTableRestoreStatusResponse (Maybe Text)
-- | A list of status details for one or more table restore requests.
dtrsrsTableRestoreStatusDetails :: Lens' DescribeTableRestoreStatusResponse [TableRestoreStatus]
-- | The response status code.
dtrsrsResponseStatus :: Lens' DescribeTableRestoreStatusResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Data.Data.Data Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance GHC.Show.Show Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance GHC.Read.Read Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
-- | 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 Amazon EC2 instance, you can authorize inbound
-- access to either a Classless Interdomain Routing (CIDR)/Internet
-- Protocol (IP) range or to an Amazon EC2 security group. You can add as
-- many as 20 ingress rules to an Amazon Redshift security group.
--
-- If you authorize access to an Amazon EC2 security group, specify
-- EC2SecurityGroupName and EC2SecurityGroupOwnerId. The
-- Amazon EC2 security group and Amazon Redshift cluster must be in the
-- same AWS region.
--
-- If you authorize access to a CIDR/IP address range, specify
-- CIDRIP. For an overview of CIDR blocks, see the Wikipedia
-- article on Classless Inter-Domain Routing.
--
-- You must also associate the security group with a cluster so that
-- clients running on these IP addresses or the EC2 instance are
-- authorized to connect to the cluster. For information about managing
-- security groups, go to Working with Security Groups in the
-- Amazon Redshift Cluster Management Guide.
module Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress
-- | Creates a value of AuthorizeClusterSecurityGroupIngress with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
authorizeClusterSecurityGroupIngress :: Text -> AuthorizeClusterSecurityGroupIngress
-- | See: authorizeClusterSecurityGroupIngress smart
-- constructor.
data AuthorizeClusterSecurityGroupIngress
-- | 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)
-- | The EC2 security group to be added the Amazon Redshift security group.
acsgiEC2SecurityGroupName :: Lens' AuthorizeClusterSecurityGroupIngress (Maybe Text)
-- | 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
-- | Creates a value of AuthorizeClusterSecurityGroupIngressResponse
-- with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
authorizeClusterSecurityGroupIngressResponse :: Int -> AuthorizeClusterSecurityGroupIngressResponse
-- | See: authorizeClusterSecurityGroupIngressResponse smart
-- constructor.
data AuthorizeClusterSecurityGroupIngressResponse
-- | Undocumented member.
acsgirsClusterSecurityGroup :: Lens' AuthorizeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup)
-- | The response status code.
acsgirsResponseStatus :: Lens' AuthorizeClusterSecurityGroupIngressResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
instance Data.Data.Data Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
instance GHC.Show.Show Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
instance GHC.Read.Read Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
instance GHC.Classes.Eq Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
instance GHC.Generics.Generic Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Data.Data.Data Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance GHC.Show.Show Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance GHC.Read.Read Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance GHC.Classes.Eq Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Control.DeepSeq.NFData Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Control.DeepSeq.NFData Network.AWS.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
-- | Deletes the specified Amazon Redshift HSM configuration.
module Network.AWS.Redshift.DeleteHSMConfiguration
-- | Creates a value of DeleteHSMConfiguration with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteHSMConfiguration :: Text -> DeleteHSMConfiguration
-- | See: deleteHSMConfiguration smart constructor.
data DeleteHSMConfiguration
-- | The identifier of the Amazon Redshift HSM configuration to be deleted.
dhcHSMConfigurationIdentifier :: Lens' DeleteHSMConfiguration Text
-- | Creates a value of DeleteHSMConfigurationResponse with the
-- minimum fields required to make a request.
deleteHSMConfigurationResponse :: DeleteHSMConfigurationResponse
-- | See: deleteHSMConfigurationResponse smart constructor.
data DeleteHSMConfigurationResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfigurationResponse
instance Data.Data.Data Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfigurationResponse
instance GHC.Show.Show Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfigurationResponse
instance GHC.Read.Read Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfigurationResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfigurationResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance Data.Data.Data Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance GHC.Show.Show Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance GHC.Read.Read Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfiguration
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteHSMConfiguration.DeleteHSMConfigurationResponse
-- | 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.
module Network.AWS.Redshift.DescribeResize
-- | Creates a value of DescribeResize with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeResize :: Text -> DescribeResize
-- | See: describeResize smart constructor.
data 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
-- | Creates a value of DescribeResizeResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeResizeResponse :: Int -> DescribeResizeResponse
-- | Describes the result of a cluster resize operation.
--
-- See: describeResizeResponse smart constructor.
data DescribeResizeResponse
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
drrsImportTablesNotStarted :: Lens' DescribeResizeResponse [Text]
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED
drrsStatus :: Lens' DescribeResizeResponse (Maybe Text)
-- | 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.
drrsEstimatedTimeToCompletionInSeconds :: Lens' DescribeResizeResponse (Maybe Integer)
-- | 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.
drrsAvgResizeRateInMegaBytesPerSecond :: Lens' DescribeResizeResponse (Maybe Double)
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
drrsTargetNumberOfNodes :: Lens' DescribeResizeResponse (Maybe Int)
-- | The node type that the cluster will have after the resize operation is
-- complete.
drrsTargetNodeType :: Lens' DescribeResizeResponse (Maybe Text)
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
drrsImportTablesInProgress :: Lens' DescribeResizeResponse [Text]
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
drrsImportTablesCompleted :: 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).
drrsProgressInMegaBytes :: Lens' DescribeResizeResponse (Maybe Integer)
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
drrsTotalResizeDataInMegaBytes :: Lens' DescribeResizeResponse (Maybe Integer)
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: 'multi-node' | 'single-node'
drrsTargetClusterType :: Lens' DescribeResizeResponse (Maybe Text)
-- | 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.
drrsElapsedTimeInSeconds :: Lens' DescribeResizeResponse (Maybe Integer)
-- | The response status code.
drrsResponseStatus :: Lens' DescribeResizeResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeResize.DescribeResizeResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeResize.DescribeResizeResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeResize.DescribeResizeResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeResize.DescribeResizeResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeResize.DescribeResizeResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeResize.DescribeResize
instance Data.Data.Data Network.AWS.Redshift.DescribeResize.DescribeResize
instance GHC.Show.Show Network.AWS.Redshift.DescribeResize.DescribeResize
instance GHC.Read.Read Network.AWS.Redshift.DescribeResize.DescribeResize
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeResize.DescribeResize
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeResize.DescribeResize
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeResize.DescribeResize
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeResize.DescribeResize
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeResize.DescribeResize
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeResize.DescribeResize
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeResize.DescribeResize
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeResize.DescribeResizeResponse
-- | 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.
module Network.AWS.Redshift.DescribeEventCategories
-- | Creates a value of DescribeEventCategories with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeEventCategories :: DescribeEventCategories
-- | See: describeEventCategories smart constructor.
data DescribeEventCategories
-- | The source type, such as cluster or parameter group, to which the
-- described event categories apply.
--
-- Valid values: cluster, cluster-snapshot, cluster-parameter-group, and
-- cluster-security-group.
decSourceType :: Lens' DescribeEventCategories (Maybe Text)
-- | Creates a value of DescribeEventCategoriesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeEventCategoriesResponse :: Int -> DescribeEventCategoriesResponse
-- | See: describeEventCategoriesResponse smart constructor.
data DescribeEventCategoriesResponse
-- | A list of event categories descriptions.
decrsEventCategoriesMapList :: Lens' DescribeEventCategoriesResponse [EventCategoriesMap]
-- | The response status code.
decrsResponseStatus :: Lens' DescribeEventCategoriesResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance Data.Data.Data Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance GHC.Show.Show Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance GHC.Read.Read Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategories
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
-- | Creates a new Amazon Redshift security group. You use security groups
-- to control access to non-VPC clusters.
--
-- For information about managing security groups, go to Amazon
-- Redshift Cluster Security Groups in the Amazon Redshift Cluster
-- Management Guide.
module Network.AWS.Redshift.CreateClusterSecurityGroup
-- | Creates a value of CreateClusterSecurityGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createClusterSecurityGroup :: Text -> Text -> CreateClusterSecurityGroup
-- | See: createClusterSecurityGroup smart constructor.
data CreateClusterSecurityGroup
-- | A list of tag instances.
creTags :: Lens' CreateClusterSecurityGroup [Tag]
-- | 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
creClusterSecurityGroupName :: Lens' CreateClusterSecurityGroup Text
-- | A description for the security group.
creDescription :: Lens' CreateClusterSecurityGroup Text
-- | Creates a value of CreateClusterSecurityGroupResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createClusterSecurityGroupResponse :: Int -> CreateClusterSecurityGroupResponse
-- | See: createClusterSecurityGroupResponse smart
-- constructor.
data CreateClusterSecurityGroupResponse
-- | Undocumented member.
crsClusterSecurityGroup :: Lens' CreateClusterSecurityGroupResponse (Maybe ClusterSecurityGroup)
-- | The response status code.
crsResponseStatus :: Lens' CreateClusterSecurityGroupResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
instance Data.Data.Data Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
instance GHC.Show.Show Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
instance GHC.Read.Read Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Data.Data.Data Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance GHC.Show.Show Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance GHC.Read.Read Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance GHC.Classes.Eq Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
-- | Modifies the parameters of a parameter group.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
module Network.AWS.Redshift.ModifyClusterParameterGroup
-- | Creates a value of ModifyClusterParameterGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyClusterParameterGroup :: Text -> ModifyClusterParameterGroup
-- | See: modifyClusterParameterGroup smart constructor.
data 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]
-- | Creates a value of ClusterParameterGroupNameMessage with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | See: clusterParameterGroupNameMessage smart constructor.
data ClusterParameterGroupNameMessage
-- | 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)
-- | The name of the cluster parameter group.
cpgnmParameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
instance GHC.Generics.Generic Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Data.Data.Data Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance GHC.Show.Show Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance GHC.Read.Read Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance GHC.Classes.Eq Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
-- | 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.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeHSMClientCertificates
-- | Creates a value of DescribeHSMClientCertificates with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeHSMClientCertificates :: DescribeHSMClientCertificates
-- | See: describeHSMClientCertificates smart constructor.
data DescribeHSMClientCertificates
-- | 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]
-- | 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]
-- | 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)
-- | Creates a value of DescribeHSMClientCertificatesResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeHSMClientCertificatesResponse :: Int -> DescribeHSMClientCertificatesResponse
-- | See: describeHSMClientCertificatesResponse smart
-- constructor.
data DescribeHSMClientCertificatesResponse
-- | 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.
dhccrsMarker :: Lens' DescribeHSMClientCertificatesResponse (Maybe Text)
-- | 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.
dhccrsHSMClientCertificates :: Lens' DescribeHSMClientCertificatesResponse [HSMClientCertificate]
-- | The response status code.
dhccrsResponseStatus :: Lens' DescribeHSMClientCertificatesResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificatesResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificatesResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificatesResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificatesResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificatesResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance Data.Data.Data Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance GHC.Show.Show Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance GHC.Read.Read Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificates
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeHSMClientCertificates.DescribeHSMClientCertificatesResponse
-- | 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.
module Network.AWS.Redshift.RevokeClusterSecurityGroupIngress
-- | Creates a value of RevokeClusterSecurityGroupIngress with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
revokeClusterSecurityGroupIngress :: Text -> RevokeClusterSecurityGroupIngress
-- | See: revokeClusterSecurityGroupIngress smart
-- constructor.
data RevokeClusterSecurityGroupIngress
-- | 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)
-- | 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 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
-- | Creates a value of RevokeClusterSecurityGroupIngressResponse
-- with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
revokeClusterSecurityGroupIngressResponse :: Int -> RevokeClusterSecurityGroupIngressResponse
-- | See: revokeClusterSecurityGroupIngressResponse smart
-- constructor.
data RevokeClusterSecurityGroupIngressResponse
-- | Undocumented member.
rcsgirsClusterSecurityGroup :: Lens' RevokeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup)
-- | The response status code.
rcsgirsResponseStatus :: Lens' RevokeClusterSecurityGroupIngressResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
instance Data.Data.Data Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
instance GHC.Show.Show Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
instance GHC.Read.Read Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
instance GHC.Classes.Eq Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
instance GHC.Generics.Generic Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Data.Data.Data Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance GHC.Show.Show Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance GHC.Read.Read Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance GHC.Classes.Eq Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Control.DeepSeq.NFData Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Control.DeepSeq.NFData Network.AWS.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
-- | 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.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeEventSubscriptions
-- | Creates a value of DescribeEventSubscriptions with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeEventSubscriptions :: DescribeEventSubscriptions
-- | See: describeEventSubscriptions smart constructor.
data DescribeEventSubscriptions
-- | The name of the Amazon Redshift event notification subscription to be
-- described.
dessSubscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text)
-- | 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.
dessMarker :: 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.
dessMaxRecords :: Lens' DescribeEventSubscriptions (Maybe Int)
-- | Creates a value of DescribeEventSubscriptionsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeEventSubscriptionsResponse :: Int -> DescribeEventSubscriptionsResponse
-- | See: describeEventSubscriptionsResponse smart
-- constructor.
data DescribeEventSubscriptionsResponse
-- | A list of event subscriptions.
desrsEventSubscriptionsList :: 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.
desrsMarker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text)
-- | The response status code.
desrsResponseStatus :: Lens' DescribeEventSubscriptionsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Data.Data.Data Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance GHC.Show.Show Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance GHC.Read.Read Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
-- | 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.
module Network.AWS.Redshift.ResetClusterParameterGroup
-- | Creates a value of ResetClusterParameterGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
resetClusterParameterGroup :: Text -> ResetClusterParameterGroup
-- | See: resetClusterParameterGroup smart constructor.
data ResetClusterParameterGroup
-- | If true, all parameters in the specified parameter group will
-- be reset to their default values.
--
-- Default: true
rcpgResetAllParameters :: Lens' ResetClusterParameterGroup (Maybe Bool)
-- | 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]
-- | The name of the cluster parameter group to be reset.
rcpgParameterGroupName :: Lens' ResetClusterParameterGroup Text
-- | Creates a value of ClusterParameterGroupNameMessage with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | See: clusterParameterGroupNameMessage smart constructor.
data ClusterParameterGroupNameMessage
-- | 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)
-- | The name of the cluster parameter group.
cpgnmParameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
instance GHC.Generics.Generic Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Data.Data.Data Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance GHC.Show.Show Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance GHC.Read.Read Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance GHC.Classes.Eq Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
-- | Deletes an Amazon Redshift event notification subscription.
module Network.AWS.Redshift.DeleteEventSubscription
-- | Creates a value of DeleteEventSubscription with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteEventSubscription :: Text -> DeleteEventSubscription
-- | See: deleteEventSubscription smart constructor.
data DeleteEventSubscription
-- | The name of the Amazon Redshift event notification subscription to be
-- deleted.
desSubscriptionName :: Lens' DeleteEventSubscription Text
-- | Creates a value of DeleteEventSubscriptionResponse with the
-- minimum fields required to make a request.
deleteEventSubscriptionResponse :: DeleteEventSubscriptionResponse
-- | See: deleteEventSubscriptionResponse smart constructor.
data DeleteEventSubscriptionResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance Data.Data.Data Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Show.Show Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Read.Read Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Data.Data.Data Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance GHC.Show.Show Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance GHC.Read.Read Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
-- | Returns a list of parameter settings for the specified parameter group
-- family.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeDefaultClusterParameters
-- | Creates a value of DescribeDefaultClusterParameters with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeDefaultClusterParameters :: Text -> DescribeDefaultClusterParameters
-- | See: describeDefaultClusterParameters smart constructor.
data 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
-- | Creates a value of DescribeDefaultClusterParametersResponse
-- with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeDefaultClusterParametersResponse :: Int -> DefaultClusterParameters -> DescribeDefaultClusterParametersResponse
-- | See: describeDefaultClusterParametersResponse smart
-- constructor.
data DescribeDefaultClusterParametersResponse
-- | The response status code.
ddcprsResponseStatus :: Lens' DescribeDefaultClusterParametersResponse Int
-- | Undocumented member.
ddcprsDefaultClusterParameters :: Lens' DescribeDefaultClusterParametersResponse DefaultClusterParameters
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Data.Data.Data Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance GHC.Show.Show Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance GHC.Read.Read Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
-- | Creates a new table from a table in an Amazon Redshift cluster
-- snapshot. You must create the new table within the Amazon Redshift
-- cluster that the snapshot was taken from.
--
-- You cannot use RestoreTableFromClusterSnapshot to restore a
-- table with the same name as an existing table in an Amazon Redshift
-- cluster. That is, you cannot overwrite an existing table in a cluster
-- with a restored table. If you want to replace your original table with
-- a new, restored table, then rename or drop your original table before
-- you call RestoreTableFromClusterSnapshot. When you have renamed
-- your original table, then you can pass the original name of the table
-- as the NewTableName parameter value in the call to
-- RestoreTableFromClusterSnapshot. This way, you can replace the
-- original table with the table created from the snapshot.
module Network.AWS.Redshift.RestoreTableFromClusterSnapshot
-- | Creates a value of RestoreTableFromClusterSnapshot with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
restoreTableFromClusterSnapshot :: Text -> Text -> Text -> Text -> Text -> RestoreTableFromClusterSnapshot
-- | See: restoreTableFromClusterSnapshot smart constructor.
data RestoreTableFromClusterSnapshot
-- | The name of the schema to restore the table to.
rtfcsTargetSchemaName :: Lens' RestoreTableFromClusterSnapshot (Maybe Text)
-- | The name of the database to restore the table to.
rtfcsTargetDatabaseName :: Lens' RestoreTableFromClusterSnapshot (Maybe Text)
-- | The name of the source schema that contains the table to restore from.
-- If you do not specify a SourceSchemaName value, the default
-- is public.
rtfcsSourceSchemaName :: Lens' RestoreTableFromClusterSnapshot (Maybe Text)
-- | The identifier of the Amazon Redshift cluster to restore the table to.
rtfcsClusterIdentifier :: Lens' RestoreTableFromClusterSnapshot Text
-- | The identifier of the snapshot to restore the table from. This
-- snapshot must have been created from the Amazon Redshift cluster
-- specified by the ClusterIdentifier parameter.
rtfcsSnapshotIdentifier :: Lens' RestoreTableFromClusterSnapshot Text
-- | The name of the source database that contains the table to restore
-- from.
rtfcsSourceDatabaseName :: Lens' RestoreTableFromClusterSnapshot Text
-- | The name of the source table to restore from.
rtfcsSourceTableName :: Lens' RestoreTableFromClusterSnapshot Text
-- | The name of the table to create as a result of the current request.
rtfcsNewTableName :: Lens' RestoreTableFromClusterSnapshot Text
-- | Creates a value of RestoreTableFromClusterSnapshotResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
restoreTableFromClusterSnapshotResponse :: Int -> RestoreTableFromClusterSnapshotResponse
-- | See: restoreTableFromClusterSnapshotResponse smart
-- constructor.
data RestoreTableFromClusterSnapshotResponse
-- | Undocumented member.
rtfcsrsTableRestoreStatus :: Lens' RestoreTableFromClusterSnapshotResponse (Maybe TableRestoreStatus)
-- | The response status code.
rtfcsrsResponseStatus :: Lens' RestoreTableFromClusterSnapshotResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
instance Data.Data.Data Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
instance GHC.Show.Show Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
instance GHC.Read.Read Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
instance GHC.Classes.Eq Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
instance GHC.Generics.Generic Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Data.Data.Data Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance GHC.Show.Show Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance GHC.Read.Read Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance GHC.Classes.Eq Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Control.DeepSeq.NFData Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Control.DeepSeq.NFData Network.AWS.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
-- | Creates an HSM client certificate that an Amazon Redshift cluster will
-- use to connect to the client's HSM in order to store and retrieve the
-- keys used to encrypt the cluster databases.
--
-- The command returns a public key, which you must store in the HSM. In
-- addition to creating the HSM certificate, you must create an Amazon
-- Redshift HSM configuration that provides a cluster the information
-- needed to store and use encryption keys in the HSM. For more
-- information, go to Hardware Security Modules in the Amazon
-- Redshift Cluster Management Guide.
module Network.AWS.Redshift.CreateHSMClientCertificate
-- | Creates a value of CreateHSMClientCertificate with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createHSMClientCertificate :: Text -> CreateHSMClientCertificate
-- | See: createHSMClientCertificate smart constructor.
data CreateHSMClientCertificate
-- | A list of tag instances.
chccTags :: Lens' CreateHSMClientCertificate [Tag]
-- | 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
-- | Creates a value of CreateHSMClientCertificateResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createHSMClientCertificateResponse :: Int -> CreateHSMClientCertificateResponse
-- | See: createHSMClientCertificateResponse smart
-- constructor.
data CreateHSMClientCertificateResponse
-- | Undocumented member.
chccrsHSMClientCertificate :: Lens' CreateHSMClientCertificateResponse (Maybe HSMClientCertificate)
-- | The response status code.
chccrsResponseStatus :: Lens' CreateHSMClientCertificateResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificateResponse
instance Data.Data.Data Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificateResponse
instance GHC.Show.Show Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificateResponse
instance GHC.Read.Read Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificateResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificateResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance Data.Data.Data Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance GHC.Show.Show Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance GHC.Read.Read Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance GHC.Classes.Eq Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificate
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateHSMClientCertificate.CreateHSMClientCertificateResponse
-- | Creates a new cluster. To create the cluster in virtual private cloud
-- (VPC), you must provide cluster subnet group name. If you don't
-- provide a cluster subnet group name or the cluster security group
-- parameter, Amazon Redshift creates a non-VPC cluster, it associates
-- the default cluster security group with the cluster. For more
-- information about managing clusters, go to Amazon Redshift
-- Clusters in the Amazon Redshift Cluster Management Guide .
module Network.AWS.Redshift.CreateCluster
-- | Creates a value of CreateCluster with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createCluster :: Text -> Text -> Text -> Text -> CreateCluster
-- | See: createCluster smart constructor.
data CreateCluster
-- | Reserved.
ccAdditionalInfo :: Lens' CreateCluster (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
ccPubliclyAccessible :: Lens' CreateCluster (Maybe Bool)
-- | 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)
-- | 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 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)
-- | If true, the data in the cluster is encrypted at rest.
--
-- Default: false
ccEncrypted :: Lens' CreateCluster (Maybe Bool)
-- | 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)
-- | 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)
-- | The number of compute nodes in the cluster. This parameter is required
-- when the ClusterType parameter is specified as 'multi-node'.
--
-- For information about determining how many nodes you need, go to
-- Working with Clusters in the Amazon Redshift Cluster
-- Management Guide.
--
-- If you don't specify this parameter, you get a single-node cluster.
-- When requesting a multi-node cluster, you must specify the number of
-- nodes that you want in the cluster.
--
-- Default: '1'
--
-- Constraints: Value must be at least 1 and no more than 100.
ccNumberOfNodes :: Lens' CreateCluster (Maybe Int)
-- | The Elastic IP (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. For more information
-- about provisioning clusters in EC2-VPC, go to Supported Platforms
-- to Launch Your Cluster in the Amazon Redshift Cluster Management
-- Guide.
ccElasticIP :: Lens' CreateCluster (Maybe Text)
-- | 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)
-- | 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 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 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]
-- | A list of AWS Identity and Access Management (IAM) roles that can be
-- used by the cluster to access other AWS services. You must supply the
-- IAM roles in their Amazon Resource Name (ARN) format. You can supply
-- up to 10 IAM roles in a single request.
--
-- A cluster can have up to 10 IAM roles associated at any time.
ccIAMRoles :: Lens' CreateCluster [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)
-- | 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 name of the parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
ccClusterParameterGroupName :: Lens' CreateCluster (Maybe Text)
-- | A list of tag instances.
ccTags :: Lens' CreateCluster [Tag]
-- | 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 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)
-- | 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 node type to be provisioned for the cluster. For information about
-- node types, go to Working with Clusters in the Amazon
-- Redshift Cluster Management Guide.
--
-- Valid Values: 'ds1.xlarge' | 'ds1.8xlarge' | 'ds2.xlarge' |
-- 'ds2.8xlarge' | 'dc1.large' | 'dc1.8xlarge'.
ccNodeType :: 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 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
-- | Creates a value of CreateClusterResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createClusterResponse :: Int -> CreateClusterResponse
-- | See: createClusterResponse smart constructor.
data CreateClusterResponse
-- | Undocumented member.
ccrsCluster :: Lens' CreateClusterResponse (Maybe Cluster)
-- | The response status code.
ccrsResponseStatus :: Lens' CreateClusterResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.CreateCluster.CreateClusterResponse
instance Data.Data.Data Network.AWS.Redshift.CreateCluster.CreateClusterResponse
instance GHC.Show.Show Network.AWS.Redshift.CreateCluster.CreateClusterResponse
instance GHC.Read.Read Network.AWS.Redshift.CreateCluster.CreateClusterResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CreateCluster.CreateClusterResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateCluster.CreateCluster
instance Data.Data.Data Network.AWS.Redshift.CreateCluster.CreateCluster
instance GHC.Show.Show Network.AWS.Redshift.CreateCluster.CreateCluster
instance GHC.Read.Read Network.AWS.Redshift.CreateCluster.CreateCluster
instance GHC.Classes.Eq Network.AWS.Redshift.CreateCluster.CreateCluster
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CreateCluster.CreateCluster
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CreateCluster.CreateCluster
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateCluster.CreateCluster
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CreateCluster.CreateCluster
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CreateCluster.CreateCluster
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CreateCluster.CreateCluster
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateCluster.CreateClusterResponse
-- | 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
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeOrderableClusterOptions
-- | Creates a value of DescribeOrderableClusterOptions with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeOrderableClusterOptions :: DescribeOrderableClusterOptions
-- | See: describeOrderableClusterOptions smart constructor.
data DescribeOrderableClusterOptions
-- | 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 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)
-- | The node type filter value. Specify this parameter to show only the
-- available offerings matching the specified node type.
docoNodeType :: Lens' DescribeOrderableClusterOptions (Maybe Text)
-- | Creates a value of DescribeOrderableClusterOptionsResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeOrderableClusterOptionsResponse :: Int -> DescribeOrderableClusterOptionsResponse
-- | Contains the output from the DescribeOrderableClusterOptions
-- action.
--
-- See: describeOrderableClusterOptionsResponse smart
-- constructor.
data 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.
docorsMarker :: Lens' DescribeOrderableClusterOptionsResponse (Maybe Text)
-- | An OrderableClusterOption structure containing information
-- about orderable options for the cluster.
docorsOrderableClusterOptions :: Lens' DescribeOrderableClusterOptionsResponse [OrderableClusterOption]
-- | The response status code.
docorsResponseStatus :: Lens' DescribeOrderableClusterOptionsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Data.Data.Data Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance GHC.Show.Show Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance GHC.Read.Read Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
-- | 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.
module Network.AWS.Redshift.CreateEventSubscription
-- | Creates a value of CreateEventSubscription with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createEventSubscription :: Text -> Text -> CreateEventSubscription
-- | See: createEventSubscription smart constructor.
data 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)
-- | 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)
-- | Specifies the Amazon Redshift event severity to be published by the
-- event notification subscription.
--
-- Values: ERROR, INFO
cesSeverity :: Lens' CreateEventSubscription (Maybe Text)
-- | Specifies the Amazon Redshift event categories to be published by the
-- event notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security
cesEventCategories :: 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]
-- | A list of tag instances.
cesTags :: Lens' CreateEventSubscription [Tag]
-- | 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
-- | 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
-- | Creates a value of CreateEventSubscriptionResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createEventSubscriptionResponse :: Int -> CreateEventSubscriptionResponse
-- | See: createEventSubscriptionResponse smart constructor.
data CreateEventSubscriptionResponse
-- | Undocumented member.
cesrsEventSubscription :: Lens' CreateEventSubscriptionResponse (Maybe EventSubscription)
-- | The response status code.
cesrsResponseStatus :: Lens' CreateEventSubscriptionResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
instance Data.Data.Data Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Show.Show Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Read.Read Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance Data.Data.Data Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance GHC.Show.Show Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance GHC.Read.Read Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance GHC.Classes.Eq Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscription
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
-- | Deletes a previously provisioned cluster. A successful response from
-- the web service indicates that the request was received correctly. Use
-- DescribeClusters to monitor the status of the deletion. The
-- delete operation cannot be canceled or reverted once submitted. For
-- more information about managing clusters, go to Amazon Redshift
-- Clusters in the Amazon Redshift Cluster Management Guide .
--
-- If you want to shut down the cluster and retain it for future use, set
-- SkipFinalClusterSnapshot to false and specify a name
-- for FinalClusterSnapshotIdentifier. You can later restore this
-- snapshot to resume using the cluster. If a final cluster 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 .
module Network.AWS.Redshift.DeleteCluster
-- | Creates a value of DeleteCluster with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteCluster :: Text -> DeleteCluster
-- | See: deleteCluster smart constructor.
data DeleteCluster
-- | 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
delSkipFinalClusterSnapshot :: Lens' DeleteCluster (Maybe Bool)
-- | 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.
--
delFinalClusterSnapshotIdentifier :: Lens' DeleteCluster (Maybe Text)
-- | 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.
--
delClusterIdentifier :: Lens' DeleteCluster Text
-- | Creates a value of DeleteClusterResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteClusterResponse :: Int -> DeleteClusterResponse
-- | See: deleteClusterResponse smart constructor.
data DeleteClusterResponse
-- | Undocumented member.
drsCluster :: Lens' DeleteClusterResponse (Maybe Cluster)
-- | The response status code.
drsResponseStatus :: Lens' DeleteClusterResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteCluster.DeleteClusterResponse
instance Data.Data.Data Network.AWS.Redshift.DeleteCluster.DeleteClusterResponse
instance GHC.Show.Show Network.AWS.Redshift.DeleteCluster.DeleteClusterResponse
instance GHC.Read.Read Network.AWS.Redshift.DeleteCluster.DeleteClusterResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteCluster.DeleteClusterResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance Data.Data.Data Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance GHC.Show.Show Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance GHC.Read.Read Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DeleteCluster.DeleteCluster
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteCluster.DeleteClusterResponse
-- | 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
module Network.AWS.Redshift.RebootCluster
-- | Creates a value of RebootCluster with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
rebootCluster :: Text -> RebootCluster
-- | See: rebootCluster smart constructor.
data RebootCluster
-- | The cluster identifier.
rcClusterIdentifier :: Lens' RebootCluster Text
-- | Creates a value of RebootClusterResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
rebootClusterResponse :: Int -> RebootClusterResponse
-- | See: rebootClusterResponse smart constructor.
data RebootClusterResponse
-- | Undocumented member.
rcrsCluster :: Lens' RebootClusterResponse (Maybe Cluster)
-- | The response status code.
rcrsResponseStatus :: Lens' RebootClusterResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.RebootCluster.RebootClusterResponse
instance Data.Data.Data Network.AWS.Redshift.RebootCluster.RebootClusterResponse
instance GHC.Show.Show Network.AWS.Redshift.RebootCluster.RebootClusterResponse
instance GHC.Read.Read Network.AWS.Redshift.RebootCluster.RebootClusterResponse
instance GHC.Classes.Eq Network.AWS.Redshift.RebootCluster.RebootClusterResponse
instance GHC.Generics.Generic Network.AWS.Redshift.RebootCluster.RebootCluster
instance Data.Data.Data Network.AWS.Redshift.RebootCluster.RebootCluster
instance GHC.Show.Show Network.AWS.Redshift.RebootCluster.RebootCluster
instance GHC.Read.Read Network.AWS.Redshift.RebootCluster.RebootCluster
instance GHC.Classes.Eq Network.AWS.Redshift.RebootCluster.RebootCluster
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.RebootCluster.RebootCluster
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.RebootCluster.RebootCluster
instance Control.DeepSeq.NFData Network.AWS.Redshift.RebootCluster.RebootCluster
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.RebootCluster.RebootCluster
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.RebootCluster.RebootCluster
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.RebootCluster.RebootCluster
instance Control.DeepSeq.NFData Network.AWS.Redshift.RebootCluster.RebootClusterResponse
-- | Authorizes the specified AWS customer account to restore the specified
-- snapshot.
--
-- For more information about working with snapshots, go to Amazon
-- Redshift Snapshots in the Amazon Redshift Cluster Management
-- Guide.
module Network.AWS.Redshift.AuthorizeSnapshotAccess
-- | Creates a value of AuthorizeSnapshotAccess with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
authorizeSnapshotAccess :: Text -> Text -> AuthorizeSnapshotAccess
-- | See: authorizeSnapshotAccess smart constructor.
data AuthorizeSnapshotAccess
-- | 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
-- | The identifier of the AWS customer account authorized to restore the
-- specified snapshot.
asaAccountWithRestoreAccess :: Lens' AuthorizeSnapshotAccess Text
-- | Creates a value of AuthorizeSnapshotAccessResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
authorizeSnapshotAccessResponse :: Int -> AuthorizeSnapshotAccessResponse
-- | See: authorizeSnapshotAccessResponse smart constructor.
data AuthorizeSnapshotAccessResponse
-- | Undocumented member.
asarsSnapshot :: Lens' AuthorizeSnapshotAccessResponse (Maybe Snapshot)
-- | The response status code.
asarsResponseStatus :: Lens' AuthorizeSnapshotAccessResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
instance Data.Data.Data Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
instance GHC.Show.Show Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
instance GHC.Read.Read Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
instance GHC.Classes.Eq Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
instance GHC.Generics.Generic Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Data.Data.Data Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance GHC.Show.Show Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance GHC.Read.Read Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance GHC.Classes.Eq Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Control.DeepSeq.NFData Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Control.DeepSeq.NFData Network.AWS.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
-- | Modifies the list of AWS Identity and Access Management (IAM) roles
-- that can be used by the cluster to access other AWS services.
--
-- A cluster can have up to 10 IAM roles associated at any time.
module Network.AWS.Redshift.ModifyClusterIAMRoles
-- | Creates a value of ModifyClusterIAMRoles with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyClusterIAMRoles :: Text -> ModifyClusterIAMRoles
-- | See: modifyClusterIAMRoles smart constructor.
data ModifyClusterIAMRoles
-- | Zero or more IAM roles (in their ARN format) to disassociate from the
-- cluster. You can disassociate up to 10 IAM roles from a single cluster
-- in a single request.
mcirRemoveIAMRoles :: Lens' ModifyClusterIAMRoles [Text]
-- | Zero or more IAM roles (in their ARN format) to associate with the
-- cluster. You can associate up to 10 IAM roles with a single cluster in
-- a single request.
mcirAddIAMRoles :: Lens' ModifyClusterIAMRoles [Text]
-- | The unique identifier of the cluster for which you want to associate
-- or disassociate IAM roles.
mcirClusterIdentifier :: Lens' ModifyClusterIAMRoles Text
-- | Creates a value of ModifyClusterIAMRolesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyClusterIAMRolesResponse :: Int -> ModifyClusterIAMRolesResponse
-- | See: modifyClusterIAMRolesResponse smart constructor.
data ModifyClusterIAMRolesResponse
-- | Undocumented member.
mcirrsCluster :: Lens' ModifyClusterIAMRolesResponse (Maybe Cluster)
-- | The response status code.
mcirrsResponseStatus :: Lens' ModifyClusterIAMRolesResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRolesResponse
instance Data.Data.Data Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRolesResponse
instance GHC.Show.Show Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRolesResponse
instance GHC.Read.Read Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRolesResponse
instance GHC.Classes.Eq Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRolesResponse
instance GHC.Generics.Generic Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance Data.Data.Data Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance GHC.Show.Show Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance GHC.Read.Read Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance GHC.Classes.Eq Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRoles
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifyClusterIAMRoles.ModifyClusterIAMRolesResponse
-- | Modifies the number of days to retain automated snapshots in the
-- destination region after they are copied from the source region.
module Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod
-- | Creates a value of ModifySnapshotCopyRetentionPeriod with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifySnapshotCopyRetentionPeriod :: Text -> Int -> ModifySnapshotCopyRetentionPeriod
-- | See: modifySnapshotCopyRetentionPeriod smart
-- constructor.
data 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
-- | Creates a value of ModifySnapshotCopyRetentionPeriodResponse
-- with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifySnapshotCopyRetentionPeriodResponse :: Int -> ModifySnapshotCopyRetentionPeriodResponse
-- | See: modifySnapshotCopyRetentionPeriodResponse smart
-- constructor.
data ModifySnapshotCopyRetentionPeriodResponse
-- | Undocumented member.
mscrprsCluster :: Lens' ModifySnapshotCopyRetentionPeriodResponse (Maybe Cluster)
-- | The response status code.
mscrprsResponseStatus :: Lens' ModifySnapshotCopyRetentionPeriodResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
instance Data.Data.Data Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
instance GHC.Show.Show Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
instance GHC.Read.Read Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
instance GHC.Classes.Eq Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
instance GHC.Generics.Generic Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Data.Data.Data Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance GHC.Show.Show Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance GHC.Read.Read Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance GHC.Classes.Eq Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
-- | 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.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeClusterSubnetGroups
-- | Creates a value of DescribeClusterSubnetGroups with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterSubnetGroups :: DescribeClusterSubnetGroups
-- | See: describeClusterSubnetGroups smart constructor.
data DescribeClusterSubnetGroups
-- | 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.
dcsgsTagValues :: Lens' DescribeClusterSubnetGroups [Text]
-- | 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.
dcsgsTagKeys :: Lens' DescribeClusterSubnetGroups [Text]
-- | The name of the cluster subnet group for which information is
-- requested.
dcsgsClusterSubnetGroupName :: 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.
dcsgsMarker :: 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.
dcsgsMaxRecords :: Lens' DescribeClusterSubnetGroups (Maybe Int)
-- | Creates a value of DescribeClusterSubnetGroupsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterSubnetGroupsResponse :: Int -> DescribeClusterSubnetGroupsResponse
-- | Contains the output from the DescribeClusterSubnetGroups
-- action.
--
-- See: describeClusterSubnetGroupsResponse smart
-- constructor.
data DescribeClusterSubnetGroupsResponse
-- | A list of ClusterSubnetGroup instances.
dcsgrsClusterSubnetGroups :: 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.
dcsgrsMarker :: Lens' DescribeClusterSubnetGroupsResponse (Maybe Text)
-- | The response status code.
dcsgrsResponseStatus :: Lens' DescribeClusterSubnetGroupsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
-- | 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.
module Network.AWS.Redshift.DeleteTags
-- | Creates a value of DeleteTags with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteTags :: Text -> DeleteTags
-- | Contains the output from the DeleteTags action.
--
-- See: deleteTags smart constructor.
data 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'.
dtsResourceName :: Lens' DeleteTags Text
-- | The tag key that you want to delete.
dtsTagKeys :: Lens' DeleteTags [Text]
-- | Creates a value of DeleteTagsResponse with the minimum fields
-- required to make a request.
deleteTagsResponse :: DeleteTagsResponse
-- | See: deleteTagsResponse smart constructor.
data DeleteTagsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteTags.DeleteTagsResponse
instance Data.Data.Data Network.AWS.Redshift.DeleteTags.DeleteTagsResponse
instance GHC.Show.Show Network.AWS.Redshift.DeleteTags.DeleteTagsResponse
instance GHC.Read.Read Network.AWS.Redshift.DeleteTags.DeleteTagsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteTags.DeleteTagsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteTags.DeleteTags
instance Data.Data.Data Network.AWS.Redshift.DeleteTags.DeleteTags
instance GHC.Show.Show Network.AWS.Redshift.DeleteTags.DeleteTags
instance GHC.Read.Read Network.AWS.Redshift.DeleteTags.DeleteTags
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteTags.DeleteTags
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DeleteTags.DeleteTags
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DeleteTags.DeleteTags
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteTags.DeleteTags
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DeleteTags.DeleteTags
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DeleteTags.DeleteTags
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DeleteTags.DeleteTags
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteTags.DeleteTagsResponse
-- | 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.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeClusterSnapshots
-- | Creates a value of DescribeClusterSnapshots with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterSnapshots :: DescribeClusterSnapshots
-- | See: describeClusterSnapshots smart constructor.
data DescribeClusterSnapshots
-- | The snapshot identifier of the snapshot about which to return
-- information.
dSnapshotIdentifier :: Lens' DescribeClusterSnapshots (Maybe 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.
dTagValues :: Lens' DescribeClusterSnapshots [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'
dStartTime :: 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.
dTagKeys :: Lens' DescribeClusterSnapshots [Text]
-- | The identifier of the cluster for which information about snapshots is
-- requested.
dClusterIdentifier :: 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
dSnapshotType :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | 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.
dMarker :: 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.
dMaxRecords :: Lens' DescribeClusterSnapshots (Maybe Int)
-- | 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'
dEndTime :: Lens' DescribeClusterSnapshots (Maybe UTCTime)
-- | 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.
dOwnerAccount :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | Creates a value of DescribeClusterSnapshotsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterSnapshotsResponse :: Int -> DescribeClusterSnapshotsResponse
-- | Contains the output from the DescribeClusterSnapshots action.
--
-- See: describeClusterSnapshotsResponse smart constructor.
data DescribeClusterSnapshotsResponse
-- | A list of Snapshot instances.
dcssrsSnapshots :: Lens' DescribeClusterSnapshotsResponse [Snapshot]
-- | 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.
dcssrsMarker :: Lens' DescribeClusterSnapshotsResponse (Maybe Text)
-- | The response status code.
dcssrsResponseStatus :: Lens' DescribeClusterSnapshotsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
-- | Enables the automatic copy of snapshots from one region to another
-- region for a specified cluster.
module Network.AWS.Redshift.EnableSnapshotCopy
-- | Creates a value of EnableSnapshotCopy with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
enableSnapshotCopy :: Text -> Text -> EnableSnapshotCopy
-- | See: enableSnapshotCopy smart constructor.
data EnableSnapshotCopy
-- | 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)
-- | The name of the snapshot copy grant to use when snapshots of an AWS
-- KMS-encrypted cluster are copied to the destination region.
escSnapshotCopyGrantName :: Lens' EnableSnapshotCopy (Maybe Text)
-- | 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
-- | Creates a value of EnableSnapshotCopyResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
enableSnapshotCopyResponse :: Int -> EnableSnapshotCopyResponse
-- | See: enableSnapshotCopyResponse smart constructor.
data EnableSnapshotCopyResponse
-- | Undocumented member.
escrsCluster :: Lens' EnableSnapshotCopyResponse (Maybe Cluster)
-- | The response status code.
escrsResponseStatus :: Lens' EnableSnapshotCopyResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
instance Data.Data.Data Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
instance GHC.Show.Show Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
instance GHC.Read.Read Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
instance GHC.Classes.Eq Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
instance GHC.Generics.Generic Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Data.Data.Data Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance GHC.Show.Show Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance GHC.Read.Read Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance GHC.Classes.Eq Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Control.DeepSeq.NFData Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Control.DeepSeq.NFData Network.AWS.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
-- | 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.
module Network.AWS.Redshift.CreateTags
-- | Creates a value of CreateTags with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createTags :: Text -> CreateTags
-- | Contains the output from the CreateTags action.
--
-- See: createTags smart constructor.
data 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 Key and the
-- corresponding value is passed in with the parameter Value. The
-- Key and Value parameters are separated by a comma (,).
-- Separate multiple tags with a space. For example, '--tags
-- "Key"="owner","Value"="admin" "Key"="environment","Value"="test"
-- "Key"="version","Value"="1.0"'.
ctTags :: Lens' CreateTags [Tag]
-- | Creates a value of CreateTagsResponse with the minimum fields
-- required to make a request.
createTagsResponse :: CreateTagsResponse
-- | See: createTagsResponse smart constructor.
data CreateTagsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateTags.CreateTagsResponse
instance Data.Data.Data Network.AWS.Redshift.CreateTags.CreateTagsResponse
instance GHC.Show.Show Network.AWS.Redshift.CreateTags.CreateTagsResponse
instance GHC.Read.Read Network.AWS.Redshift.CreateTags.CreateTagsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CreateTags.CreateTagsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateTags.CreateTags
instance Data.Data.Data Network.AWS.Redshift.CreateTags.CreateTags
instance GHC.Show.Show Network.AWS.Redshift.CreateTags.CreateTags
instance GHC.Read.Read Network.AWS.Redshift.CreateTags.CreateTags
instance GHC.Classes.Eq Network.AWS.Redshift.CreateTags.CreateTags
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CreateTags.CreateTags
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CreateTags.CreateTags
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateTags.CreateTags
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CreateTags.CreateTags
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CreateTags.CreateTags
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CreateTags.CreateTags
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateTags.CreateTagsResponse
-- | Returns information about Amazon Redshift security groups. If the name
-- of a security group is specified, the response will contain only
-- information about only that security group.
--
-- For information about managing security groups, go to Amazon
-- Redshift Cluster Security Groups in the Amazon Redshift Cluster
-- Management Guide.
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all security groups that match any combination
-- of the specified keys and values. For example, if you have
-- owner and environment for tag keys, and
-- admin and test for tag values, all security groups
-- that have any combination of those values are returned.
--
-- If both tag keys and values are omitted from the request, security
-- groups are returned regardless of whether they have tag keys or values
-- associated with them.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeClusterSecurityGroups
-- | Creates a value of DescribeClusterSecurityGroups with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterSecurityGroups :: DescribeClusterSecurityGroups
-- | See: describeClusterSecurityGroups smart constructor.
data DescribeClusterSecurityGroups
-- | 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]
-- | 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]
-- | 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)
-- | Creates a value of DescribeClusterSecurityGroupsResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterSecurityGroupsResponse :: Int -> DescribeClusterSecurityGroupsResponse
-- | See: describeClusterSecurityGroupsResponse smart
-- constructor.
data DescribeClusterSecurityGroupsResponse
-- | A list of ClusterSecurityGroup instances.
dcsgsrsClusterSecurityGroups :: 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.
dcsgsrsMarker :: Lens' DescribeClusterSecurityGroupsResponse (Maybe Text)
-- | The response status code.
dcsgsrsResponseStatus :: Lens' DescribeClusterSecurityGroupsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
-- | Deletes a specified Amazon Redshift parameter group. You cannot delete
-- a parameter group if it is associated with a cluster.
module Network.AWS.Redshift.DeleteClusterParameterGroup
-- | Creates a value of DeleteClusterParameterGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteClusterParameterGroup :: Text -> DeleteClusterParameterGroup
-- | See: deleteClusterParameterGroup smart constructor.
data 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.
--
dParameterGroupName :: Lens' DeleteClusterParameterGroup Text
-- | Creates a value of DeleteClusterParameterGroupResponse with the
-- minimum fields required to make a request.
deleteClusterParameterGroupResponse :: DeleteClusterParameterGroupResponse
-- | See: deleteClusterParameterGroupResponse smart
-- constructor.
data DeleteClusterParameterGroupResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
instance Data.Data.Data Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
instance GHC.Show.Show Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
instance GHC.Read.Read Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Data.Data.Data Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance GHC.Show.Show Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance GHC.Read.Read Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
-- | Creates a new Amazon Redshift subnet group. You must provide a list of
-- one or more subnets in your existing Amazon Virtual Private Cloud
-- (Amazon VPC) when creating Amazon Redshift subnet group.
--
-- For information about subnet groups, go to Amazon Redshift Cluster
-- Subnet Groups in the Amazon Redshift Cluster Management
-- Guide.
module Network.AWS.Redshift.CreateClusterSubnetGroup
-- | Creates a value of CreateClusterSubnetGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createClusterSubnetGroup :: Text -> Text -> CreateClusterSubnetGroup
-- | See: createClusterSubnetGroup smart constructor.
data CreateClusterSubnetGroup
-- | A list of tag instances.
ccsgTags :: Lens' CreateClusterSubnetGroup [Tag]
-- | 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]
-- | Creates a value of CreateClusterSubnetGroupResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createClusterSubnetGroupResponse :: Int -> CreateClusterSubnetGroupResponse
-- | See: createClusterSubnetGroupResponse smart constructor.
data CreateClusterSubnetGroupResponse
-- | Undocumented member.
ccsgrsClusterSubnetGroup :: Lens' CreateClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
-- | The response status code.
ccsgrsResponseStatus :: Lens' CreateClusterSubnetGroupResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
instance Data.Data.Data Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
instance GHC.Show.Show Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
instance GHC.Read.Read Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
instance GHC.Classes.Eq Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
instance GHC.Generics.Generic Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Data.Data.Data Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance GHC.Show.Show Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance GHC.Read.Read Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance GHC.Classes.Eq Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
-- | Starts logging information, such as queries and connection attempts,
-- for the specified Amazon Redshift cluster.
module Network.AWS.Redshift.EnableLogging
-- | Creates a value of EnableLogging with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
enableLogging :: Text -> Text -> EnableLogging
-- | See: enableLogging smart constructor.
data EnableLogging
-- | 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)
-- | The identifier of the cluster on which logging is to be started.
--
-- Example: examplecluster
elClusterIdentifier :: Lens' EnableLogging Text
-- | 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
-- | Creates a value of LoggingStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
loggingStatus :: LoggingStatus
-- | Describes the status of logging for a cluster.
--
-- See: loggingStatus smart constructor.
data LoggingStatus
-- | The last time when logs failed to be delivered.
lsLastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
lsLastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The prefix applied to the log file names.
lsS3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
-- | The name of the S3 bucket where the log files are stored.
lsBucketName :: Lens' LoggingStatus (Maybe Text)
-- | true if logging is on, false if logging is off.
lsLoggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The message indicating that logs failed to be delivered.
lsLastFailureMessage :: Lens' LoggingStatus (Maybe Text)
instance GHC.Generics.Generic Network.AWS.Redshift.EnableLogging.EnableLogging
instance Data.Data.Data Network.AWS.Redshift.EnableLogging.EnableLogging
instance GHC.Show.Show Network.AWS.Redshift.EnableLogging.EnableLogging
instance GHC.Read.Read Network.AWS.Redshift.EnableLogging.EnableLogging
instance GHC.Classes.Eq Network.AWS.Redshift.EnableLogging.EnableLogging
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.EnableLogging.EnableLogging
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.EnableLogging.EnableLogging
instance Control.DeepSeq.NFData Network.AWS.Redshift.EnableLogging.EnableLogging
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.EnableLogging.EnableLogging
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.EnableLogging.EnableLogging
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.EnableLogging.EnableLogging
-- | 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 parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all parameter groups that match any
-- combination of the specified keys and values. For example, if you have
-- owner and environment for tag keys, and
-- admin and test for tag values, all parameter groups
-- that have any combination of those values are returned.
--
-- If both tag keys and values are omitted from the request, parameter
-- groups are returned regardless of whether they have tag keys or values
-- associated with them.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeClusterParameterGroups
-- | Creates a value of DescribeClusterParameterGroups with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterParameterGroups :: DescribeClusterParameterGroups
-- | See: describeClusterParameterGroups smart constructor.
data DescribeClusterParameterGroups
-- | 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]
-- | 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]
-- | 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)
-- | Creates a value of DescribeClusterParameterGroupsResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusterParameterGroupsResponse :: Int -> DescribeClusterParameterGroupsResponse
-- | Contains the output from the DescribeClusterParameterGroups
-- action.
--
-- See: describeClusterParameterGroupsResponse smart
-- constructor.
data 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.
dcpgrsMarker :: Lens' DescribeClusterParameterGroupsResponse (Maybe Text)
-- | A list of ClusterParameterGroup instances. Each instance
-- describes one cluster parameter group.
dcpgrsParameterGroups :: Lens' DescribeClusterParameterGroupsResponse [ClusterParameterGroup]
-- | The response status code.
dcpgrsResponseStatus :: Lens' DescribeClusterParameterGroupsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Data.Data.Data Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
-- | Returns the descriptions of the reserved nodes.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeReservedNodes
-- | Creates a value of DescribeReservedNodes with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeReservedNodes :: DescribeReservedNodes
-- | See: describeReservedNodes smart constructor.
data DescribeReservedNodes
-- | Identifier for the node reservation.
drnReservedNodeId :: Lens' DescribeReservedNodes (Maybe Text)
-- | 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)
-- | Creates a value of DescribeReservedNodesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeReservedNodesResponse :: Int -> DescribeReservedNodesResponse
-- | See: describeReservedNodesResponse smart constructor.
data DescribeReservedNodesResponse
-- | The list of ReservedNode objects.
drnrsReservedNodes :: Lens' DescribeReservedNodesResponse [ReservedNode]
-- | 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.
drnrsMarker :: Lens' DescribeReservedNodesResponse (Maybe Text)
-- | The response status code.
drnrsResponseStatus :: Lens' DescribeReservedNodesResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Data.Data.Data Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Show.Show Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Read.Read Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
-- | 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.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeEvents
-- | Creates a value of DescribeEvents with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeEvents :: DescribeEvents
-- | See: describeEvents smart constructor.
data DescribeEvents
-- | The beginning of the time interval to retrieve events for, specified
-- in ISO 8601 format. For more information about ISO 8601, go to the
-- ISO8601 Wikipedia page.
--
-- Example: '2009-07-08T18:00Z'
deStartTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | 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 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)
-- | 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 end of the time interval for which to retrieve events, specified
-- in ISO 8601 format. For more information about ISO 8601, go to the
-- ISO8601 Wikipedia page.
--
-- Example: '2009-07-08T18:00Z'
deEndTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | 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)
-- | Creates a value of DescribeEventsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeEventsResponse :: Int -> DescribeEventsResponse
-- | See: describeEventsResponse smart constructor.
data DescribeEventsResponse
-- | A list of Event instances.
dersEvents :: 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.
dersMarker :: Lens' DescribeEventsResponse (Maybe Text)
-- | The response status code.
dersResponseStatus :: Lens' DescribeEventsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeEvents.DescribeEventsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeEvents.DescribeEventsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeEvents.DescribeEventsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeEvents.DescribeEventsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeEvents.DescribeEventsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance Data.Data.Data Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance GHC.Show.Show Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance GHC.Read.Read Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeEvents.DescribeEvents
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeEvents.DescribeEventsResponse
-- | 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 reserved node offerings, go to
-- Purchasing Reserved Nodes in the Amazon Redshift Cluster
-- Management Guide.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeReservedNodeOfferings
-- | Creates a value of DescribeReservedNodeOfferings with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeReservedNodeOfferings :: DescribeReservedNodeOfferings
-- | See: describeReservedNodeOfferings smart constructor.
data DescribeReservedNodeOfferings
-- | The unique identifier for the offering.
drnoReservedNodeOfferingId :: Lens' DescribeReservedNodeOfferings (Maybe Text)
-- | 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)
-- | Creates a value of DescribeReservedNodeOfferingsResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeReservedNodeOfferingsResponse :: Int -> DescribeReservedNodeOfferingsResponse
-- | See: describeReservedNodeOfferingsResponse smart
-- constructor.
data DescribeReservedNodeOfferingsResponse
-- | A list of ReservedNodeOffering objects.
drnorsReservedNodeOfferings :: Lens' DescribeReservedNodeOfferingsResponse [ReservedNodeOffering]
-- | 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.
drnorsMarker :: Lens' DescribeReservedNodeOfferingsResponse (Maybe Text)
-- | The response status code.
drnorsResponseStatus :: Lens' DescribeReservedNodeOfferingsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Data.Data.Data Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance GHC.Show.Show Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance GHC.Read.Read Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
-- | Allows you to purchase reserved nodes. Amazon Redshift offers a
-- predefined set of reserved node offerings. You can purchase one or
-- more 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 reserved node offerings, go to
-- Purchasing Reserved Nodes in the Amazon Redshift Cluster
-- Management Guide.
module Network.AWS.Redshift.PurchaseReservedNodeOffering
-- | Creates a value of PurchaseReservedNodeOffering with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
purchaseReservedNodeOffering :: Text -> PurchaseReservedNodeOffering
-- | See: purchaseReservedNodeOffering smart constructor.
data PurchaseReservedNodeOffering
-- | The number of reserved nodes that 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
-- | Creates a value of PurchaseReservedNodeOfferingResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
purchaseReservedNodeOfferingResponse :: Int -> PurchaseReservedNodeOfferingResponse
-- | See: purchaseReservedNodeOfferingResponse smart
-- constructor.
data PurchaseReservedNodeOfferingResponse
-- | Undocumented member.
prnorsReservedNode :: Lens' PurchaseReservedNodeOfferingResponse (Maybe ReservedNode)
-- | The response status code.
prnorsResponseStatus :: Lens' PurchaseReservedNodeOfferingResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
instance Data.Data.Data Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
instance GHC.Show.Show Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
instance GHC.Read.Read Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
instance GHC.Classes.Eq Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
instance GHC.Generics.Generic Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Data.Data.Data Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance GHC.Show.Show Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance GHC.Read.Read Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance GHC.Classes.Eq Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Control.DeepSeq.NFData Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Control.DeepSeq.NFData Network.AWS.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
-- | 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.
module Network.AWS.Redshift.DeleteClusterSnapshot
-- | Creates a value of DeleteClusterSnapshot with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteClusterSnapshot :: Text -> DeleteClusterSnapshot
-- | See: deleteClusterSnapshot smart constructor.
data 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
-- | Creates a value of DeleteClusterSnapshotResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteClusterSnapshotResponse :: Int -> DeleteClusterSnapshotResponse
-- | See: deleteClusterSnapshotResponse smart constructor.
data DeleteClusterSnapshotResponse
-- | Undocumented member.
dcsrsSnapshot :: Lens' DeleteClusterSnapshotResponse (Maybe Snapshot)
-- | The response status code.
dcsrsResponseStatus :: Lens' DeleteClusterSnapshotResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
instance Data.Data.Data Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
instance GHC.Show.Show Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
instance GHC.Read.Read Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Data.Data.Data Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance GHC.Show.Show Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance GHC.Read.Read Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
-- | Modifies an existing Amazon Redshift event notification subscription.
module Network.AWS.Redshift.ModifyEventSubscription
-- | Creates a value of ModifyEventSubscription with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyEventSubscription :: Text -> ModifyEventSubscription
-- | See: modifyEventSubscription smart constructor.
data ModifyEventSubscription
-- | The Amazon Resource Name (ARN) of the SNS topic to be used by the
-- event notification subscription.
mesSNSTopicARN :: Lens' ModifyEventSubscription (Maybe Text)
-- | A Boolean value indicating if the subscription is enabled.
-- true indicates the subscription is enabled
mesEnabled :: Lens' ModifyEventSubscription (Maybe Bool)
-- | 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)
-- | Specifies the Amazon Redshift event severity to be published by the
-- event notification subscription.
--
-- Values: ERROR, INFO
mesSeverity :: Lens' ModifyEventSubscription (Maybe Text)
-- | Specifies the Amazon Redshift event categories to be published by the
-- event notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security
mesEventCategories :: Lens' ModifyEventSubscription [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 name of the modified Amazon Redshift event notification
-- subscription.
mesSubscriptionName :: Lens' ModifyEventSubscription Text
-- | Creates a value of ModifyEventSubscriptionResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyEventSubscriptionResponse :: Int -> ModifyEventSubscriptionResponse
-- | See: modifyEventSubscriptionResponse smart constructor.
data ModifyEventSubscriptionResponse
-- | Undocumented member.
mesrsEventSubscription :: Lens' ModifyEventSubscriptionResponse (Maybe EventSubscription)
-- | The response status code.
mesrsResponseStatus :: Lens' ModifyEventSubscriptionResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance Data.Data.Data Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Show.Show Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Read.Read Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Classes.Eq Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Generics.Generic Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Data.Data.Data Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance GHC.Show.Show Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance GHC.Read.Read Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance GHC.Classes.Eq Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Control.DeepSeq.NFData Network.AWS.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
-- | Stops logging information, such as queries and connection attempts,
-- for the specified Amazon Redshift cluster.
module Network.AWS.Redshift.DisableLogging
-- | Creates a value of DisableLogging with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
disableLogging :: Text -> DisableLogging
-- | See: disableLogging smart constructor.
data DisableLogging
-- | The identifier of the cluster on which logging is to be stopped.
--
-- Example: examplecluster
dlClusterIdentifier :: Lens' DisableLogging Text
-- | Creates a value of LoggingStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
loggingStatus :: LoggingStatus
-- | Describes the status of logging for a cluster.
--
-- See: loggingStatus smart constructor.
data LoggingStatus
-- | The last time when logs failed to be delivered.
lsLastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
lsLastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The prefix applied to the log file names.
lsS3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
-- | The name of the S3 bucket where the log files are stored.
lsBucketName :: Lens' LoggingStatus (Maybe Text)
-- | true if logging is on, false if logging is off.
lsLoggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The message indicating that logs failed to be delivered.
lsLastFailureMessage :: Lens' LoggingStatus (Maybe Text)
instance GHC.Generics.Generic Network.AWS.Redshift.DisableLogging.DisableLogging
instance Data.Data.Data Network.AWS.Redshift.DisableLogging.DisableLogging
instance GHC.Show.Show Network.AWS.Redshift.DisableLogging.DisableLogging
instance GHC.Read.Read Network.AWS.Redshift.DisableLogging.DisableLogging
instance GHC.Classes.Eq Network.AWS.Redshift.DisableLogging.DisableLogging
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DisableLogging.DisableLogging
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DisableLogging.DisableLogging
instance Control.DeepSeq.NFData Network.AWS.Redshift.DisableLogging.DisableLogging
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DisableLogging.DisableLogging
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DisableLogging.DisableLogging
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DisableLogging.DisableLogging
-- | Deletes the specified cluster subnet group.
module Network.AWS.Redshift.DeleteClusterSubnetGroup
-- | Creates a value of DeleteClusterSubnetGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteClusterSubnetGroup :: Text -> DeleteClusterSubnetGroup
-- | See: deleteClusterSubnetGroup smart constructor.
data DeleteClusterSubnetGroup
-- | The name of the cluster subnet group name to be deleted.
dcsgClusterSubnetGroupName :: Lens' DeleteClusterSubnetGroup Text
-- | Creates a value of DeleteClusterSubnetGroupResponse with the
-- minimum fields required to make a request.
deleteClusterSubnetGroupResponse :: DeleteClusterSubnetGroupResponse
-- | See: deleteClusterSubnetGroupResponse smart constructor.
data DeleteClusterSubnetGroupResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
instance Data.Data.Data Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
instance GHC.Show.Show Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
instance GHC.Read.Read Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Data.Data.Data Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance GHC.Show.Show Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance GHC.Read.Read Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance GHC.Classes.Eq Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Control.DeepSeq.NFData Network.AWS.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
-- | 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.
module Network.AWS.Redshift.DescribeTags
-- | Creates a value of DescribeTags with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeTags :: DescribeTags
-- | See: describeTags smart constructor.
data DescribeTags
-- | 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]
-- | 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
-- - Snapshot copy grant
--
--
-- 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)
-- | 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)
-- | 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 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)
-- | Creates a value of DescribeTagsResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeTagsResponse :: Int -> DescribeTagsResponse
-- | See: describeTagsResponse smart constructor.
data 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.
dtrsMarker :: Lens' DescribeTagsResponse (Maybe Text)
-- | A list of tags with their associated resources.
dtrsTaggedResources :: Lens' DescribeTagsResponse [TaggedResource]
-- | The response status code.
dtrsResponseStatus :: Lens' DescribeTagsResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeTags.DescribeTagsResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeTags.DescribeTagsResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeTags.DescribeTagsResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeTags.DescribeTagsResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeTags.DescribeTagsResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeTags.DescribeTags
instance Data.Data.Data Network.AWS.Redshift.DescribeTags.DescribeTags
instance GHC.Show.Show Network.AWS.Redshift.DescribeTags.DescribeTags
instance GHC.Read.Read Network.AWS.Redshift.DescribeTags.DescribeTags
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeTags.DescribeTags
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeTags.DescribeTags
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeTags.DescribeTags
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeTags.DescribeTags
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeTags.DescribeTags
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeTags.DescribeTags
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeTags.DescribeTags
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeTags.DescribeTagsResponse
-- | 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.
--
-- This operation returns paginated results.
module Network.AWS.Redshift.DescribeClusters
-- | Creates a value of DescribeClusters with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClusters :: DescribeClusters
-- | See: describeClusters smart constructor.
data DescribeClusters
-- | 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]
-- | 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]
-- | 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)
-- | Creates a value of DescribeClustersResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeClustersResponse :: Int -> DescribeClustersResponse
-- | Contains the output from the DescribeClusters action.
--
-- See: describeClustersResponse smart constructor.
data DescribeClustersResponse
-- | 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.
dcrsMarker :: Lens' DescribeClustersResponse (Maybe Text)
-- | A list of Cluster objects, where each object describes one
-- cluster.
dcrsClusters :: Lens' DescribeClustersResponse [Cluster]
-- | The response status code.
dcrsResponseStatus :: Lens' DescribeClustersResponse Int
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusters.DescribeClustersResponse
instance Data.Data.Data Network.AWS.Redshift.DescribeClusters.DescribeClustersResponse
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusters.DescribeClustersResponse
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusters.DescribeClustersResponse
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusters.DescribeClustersResponse
instance GHC.Generics.Generic Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance Data.Data.Data Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance GHC.Show.Show Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance GHC.Read.Read Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance GHC.Classes.Eq Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance Network.AWS.Pager.AWSPager Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance Network.AWS.Types.AWSRequest Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance Data.Hashable.Class.Hashable Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance Network.AWS.Data.Path.ToPath Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance Network.AWS.Data.Query.ToQuery Network.AWS.Redshift.DescribeClusters.DescribeClusters
instance Control.DeepSeq.NFData Network.AWS.Redshift.DescribeClusters.DescribeClustersResponse
module Network.AWS.Redshift.Waiters
-- | Polls DescribeClusters every 60 seconds until a successful
-- state is reached. An error is returned after 30 failed checks.
clusterDeleted :: Wait DescribeClusters
-- | Polls DescribeClusterSnapshots every 15 seconds until a
-- successful state is reached. An error is returned after 20 failed
-- checks.
snapshotAvailable :: Wait DescribeClusterSnapshots
-- | Polls DescribeClusters every 60 seconds until a successful
-- state is reached. An error is returned after 30 failed checks.
clusterAvailable :: Wait DescribeClusters
-- | Amazon Redshift Overview
--
-- This is an interface reference for Amazon Redshift. It contains
-- documentation for one of the programming or command line interfaces
-- you can use to manage Amazon Redshift clusters. Note that Amazon
-- Redshift is asynchronous, which means that some interfaces may require
-- techniques, such as polling or asynchronous callback handlers, to
-- determine when a command has been applied. In this reference, the
-- parameter descriptions indicate whether a change is applied
-- immediately, on the next instance reboot, or during the next
-- maintenance window. For a summary of the Amazon Redshift cluster
-- management interfaces, go to Using the Amazon Redshift Management
-- Interfaces.
--
-- Amazon Redshift manages all the work of setting up, operating, and
-- scaling a data warehouse: provisioning capacity, monitoring and
-- backing up the cluster, and applying patches and upgrades to the
-- Amazon Redshift engine. You can focus on using your data to acquire
-- new insights for your business and customers.
--
-- If you are a first-time user of Amazon Redshift, we recommend that you
-- begin by reading the The Amazon Redshift Getting Started Guide
--
-- If you are a database developer, the Amazon Redshift Database
-- Developer Guide explains how to design, build, query, and maintain
-- the databases that make up your data warehouse.
module Network.AWS.Redshift
-- | API version '2012-12-01' of the Amazon Redshift SDK configuration.
redshift :: Service
-- | The request would result in the user exceeding the allowed number of
-- cluster security groups. For information about increasing your quota,
-- go to Limits in Amazon Redshift in the Amazon Redshift
-- Cluster Management Guide.
_ClusterSecurityGroupQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The string specified for the logging S3 key prefix does not comply
-- with the documented constraints.
_InvalidS3KeyPrefixFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified Amazon Redshift event source could not be found.
_SourceNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The authorization quota for the cluster security group has been
-- reached.
_AuthorizationQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Cross-region snapshot copy was temporarily disabled. Try your request
-- again.
_CopyToRegionDisabledFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The encryption key has exceeded its grant limit in AWS KMS.
_LimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The state of the cluster security group is not available.
_InvalidClusterSecurityGroupStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A cluster security group with the same name already exists.
_ClusterSecurityGroupAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The snapshot identifier does not refer to an existing cluster
-- snapshot.
_ClusterSnapshotNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The Elastic IP (EIP) is invalid or cannot be found.
_InvalidElasticIPFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified TableRestoreRequestId value was not found.
_TableRestoreNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | There is no Amazon Redshift HSM configuration with the specified
-- identifier.
_HSMConfigurationNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified CIDR block or EC2 security group is already authorized
-- for the specified cluster security group.
_AuthorizationAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The value specified for the event category was not one of the allowed
-- values, or it specified a category that does not apply to the
-- specified source type. The allowed values are Configuration,
-- Management, Monitoring, and Security.
_SubscriptionCategoryNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | There is already an existing Amazon Redshift HSM configuration with
-- the specified identifier.
_HSMConfigurationAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | An Amazon Redshift event notification subscription with the specified
-- name does not exist.
_SubscriptionNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The S3 bucket name is invalid. For more information about naming
-- rules, go to Bucket Restrictions and Limitations in the Amazon
-- Simple Storage Service (S3) Developer Guide.
_InvalidS3BucketNameFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The value specified as a snapshot identifier is already used by an
-- existing snapshot.
_ClusterSnapshotAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The requested subnet is not valid, or not all of the subnets are in
-- the same VPC.
_InvalidSubnet :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified HSM configuration is not in the available
-- state, or it is still in use by one or more Amazon Redshift clusters.
_InvalidHSMConfigurationStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster already has cross-region snapshot copy disabled.
_SnapshotCopyAlreadyDisabledFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would exceed the allowed number of cluster instances for
-- this account. For information about increasing your quota, go to
-- Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_ClusterQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The quota for HSM client certificates has been reached. For
-- information about increasing your quota, go to Limits in Amazon
-- Redshift in the Amazon Redshift Cluster Management Guide.
_HSMClientCertificateQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The parameter group name does not refer to an existing parameter
-- group.
_ClusterParameterGroupNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The AWS account has exceeded the maximum number of snapshot copy
-- grants in this region.
_SnapshotCopyGrantQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The operation would exceed the number of nodes allowed for a cluster.
_NumberOfNodesPerClusterLimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster already has cross-region snapshot copy enabled.
_SnapshotCopyAlreadyEnabledFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A cluster parameter group with the same name already exists.
_ClusterParameterGroupAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Cross-region snapshot copy was temporarily disabled. Try your request
-- again.
_SnapshotCopyDisabledFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A resize operation for the specified cluster is not found.
_ResizeNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | There is no Amazon Redshift HSM client certificate with the specified
-- identifier.
_HSMClientCertificateNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | An Amazon SNS topic with the specified Amazon Resource Name (ARN) does
-- not exist.
_SNSTopicARNNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The ClusterIdentifier parameter does not refer to an existing
-- cluster.
_ClusterNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would result in the user exceeding the allowed number of
-- cluster parameter groups. For information about increasing your quota,
-- go to Limits in Amazon Redshift in the Amazon Redshift
-- Cluster Management Guide.
_ClusterParameterGroupQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The snapshot copy grant can't be created because a grant with the same
-- name already exists.
_SnapshotCopyGrantAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | You do not have permission to publish to the specified Amazon SNS
-- topic.
_SNSNoAuthorizationFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified cluster is not in the available state.
_InvalidClusterStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The value specified for the sourceDatabaseName,
-- sourceSchemaName, or sourceTableName parameter, or a
-- combination of these, doesn't exist in the snapshot.
_InvalidTableRestoreArgumentFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified snapshot copy grant can't be found. Make sure that the
-- name is typed correctly and that the grant exists in the destination
-- region.
_SnapshotCopyGrantNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The quota for HSM configurations has been reached. For information
-- about increasing your quota, go to Limits in Amazon Redshift in
-- the Amazon Redshift Cluster Management Guide.
_HSMConfigurationQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would result in the user exceeding the allowed number of
-- cluster snapshots.
_ClusterSnapshotQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The number of nodes specified exceeds the allotted capacity of the
-- cluster.
_InsufficientClusterCapacityFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Amazon SNS has responded that there is a problem with the specified
-- Amazon SNS topic.
_SNSInvalidTopicFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A request option was specified that is not supported.
_UnsupportedOptionFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | There is already an existing event notification subscription with the
-- specified name.
_SubscriptionAlreadyExistFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster subnet group does not cover all Availability Zones.
_InvalidVPCNetworkStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster subnet group name does not refer to an existing cluster
-- subnet group.
_ClusterSubnetGroupNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Could not find the specified S3 bucket.
_BucketNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The subscription request is invalid because it is a duplicate request.
-- This subscription request is already in progress.
_InvalidSubscriptionStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request cannot be completed because a dependent service is
-- throttling requests made by Amazon Redshift on your behalf. Wait and
-- retry the request.
_DependentServiceRequestThrottlingFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified CIDR IP range or EC2 security group is not authorized
-- for the specified cluster security group.
_AuthorizationNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster subnet group cannot be deleted because it is in use.
_InvalidClusterSubnetGroupStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The requested operation isn't supported.
_UnsupportedOperationFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A ClusterSubnetGroupName is already used by an existing cluster
-- subnet group.
_ClusterSubnetGroupAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified cluster snapshot is not in the available state,
-- or other accounts are authorized to access the snapshot.
_InvalidClusterSnapshotStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster security group name does not refer to an existing cluster
-- security group.
_ClusterSecurityGroupNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified reserved compute node not found.
_ReservedNodeNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Specified offering does not exist.
_ReservedNodeOfferingNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The state of the subnet is invalid.
_InvalidClusterSubnetStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified options are incompatible.
_IncompatibleOrderableOptions :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would exceed the allowed number of event subscriptions for
-- this account. For information about increasing your quota, go to
-- Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_EventSubscriptionQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster parameter group action can not be completed because
-- another task is in progress that involves the parameter group. Wait a
-- few moments and try the operation again.
_InvalidClusterParameterGroupStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | User already has a reservation with the given identifier.
_ReservedNodeAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | You have exceeded the allowed number of table restore requests. Wait
-- for your current table restore requests to complete before making a
-- new request.
_InProgressTableRestoreQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The restore is invalid.
_InvalidRestoreFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The resource could not be found.
_ResourceNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | An Amazon Redshift event with the specified event ID does not exist.
_SubscriptionEventIdNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The snapshot copy grant can't be deleted because it is used by one or
-- more clusters.
_InvalidSnapshotCopyGrantStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified region is incorrect or does not exist.
_UnknownSnapshotCopyRegionFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Request would exceed the user's compute node quota. For information
-- about increasing your quota, go to Limits in Amazon Redshift in
-- the Amazon Redshift Cluster Management Guide.
_ReservedNodeQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would result in user exceeding the allowed number of
-- subnets in a cluster subnet groups. For information about increasing
-- your quota, go to Limits in Amazon Redshift in the Amazon
-- Redshift Cluster Management Guide.
_ClusterSubnetQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The account already has a cluster with the given identifier.
_ClusterAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The owner of the specified snapshot has not authorized your account to
-- access the snapshot.
_AccessToSnapshotDeniedFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request exceeds the limit of 10 tags for the resource.
_TagLimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The operation would exceed the number of nodes allotted to the
-- account. For information about increasing your quota, go to Limits
-- in Amazon Redshift in the Amazon Redshift Cluster Management
-- Guide.
_NumberOfNodesQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | There is already an existing Amazon Redshift HSM client certificate
-- with the specified identifier.
_HSMClientCertificateAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified HSM client certificate is not in the available
-- state, or it is still in use by one or more Amazon Redshift clusters.
_InvalidHSMClientCertificateStateFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | A specified subnet is already in use by another cluster.
_SubnetAlreadyInUse :: AsError a => Getting (First ServiceError) a ServiceError
-- | The value specified for the event severity was not one of the allowed
-- values, or it specified a severity that does not apply to the
-- specified source type. The allowed values are ERROR and INFO.
_SubscriptionSeverityNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Your account is not authorized to perform the requested operation.
_UnauthorizedOperation :: AsError a => Getting (First ServiceError) a ServiceError
-- | The tag is invalid.
_InvalidTagFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The cluster does not have read bucket or put object permissions on the
-- S3 bucket specified when enabling logging.
_InsufficientS3BucketPolicyFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | The request would result in user exceeding the allowed number of
-- cluster subnet groups. For information about increasing your quota, go
-- to Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_ClusterSubnetGroupQuotaExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
-- | Polls DescribeClusters every 60 seconds until a successful
-- state is reached. An error is returned after 30 failed checks.
clusterDeleted :: Wait DescribeClusters
-- | Polls DescribeClusterSnapshots every 15 seconds until a
-- successful state is reached. An error is returned after 20 failed
-- checks.
snapshotAvailable :: Wait DescribeClusterSnapshots
-- | Polls DescribeClusters every 60 seconds until a successful
-- state is reached. An error is returned after 30 failed checks.
clusterAvailable :: Wait DescribeClusters
data ParameterApplyType
Dynamic :: ParameterApplyType
Static :: ParameterApplyType
data SourceType
Cluster :: SourceType
ClusterParameterGroup :: SourceType
ClusterSecurityGroup :: SourceType
ClusterSnapshot :: SourceType
data TableRestoreStatusType
Canceled :: TableRestoreStatusType
Failed :: TableRestoreStatusType
InProgress :: TableRestoreStatusType
Pending :: TableRestoreStatusType
Succeeded :: TableRestoreStatusType
-- | Describes an AWS customer account authorized to restore a snapshot.
--
-- See: accountWithRestoreAccess smart constructor.
data AccountWithRestoreAccess
-- | Creates a value of AccountWithRestoreAccess with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
accountWithRestoreAccess :: AccountWithRestoreAccess
-- | The identifier of an AWS customer account authorized to restore a
-- snapshot.
awraAccountId :: Lens' AccountWithRestoreAccess (Maybe Text)
-- | Describes an availability zone.
--
-- See: availabilityZone smart constructor.
data AvailabilityZone
-- | Creates a value of AvailabilityZone with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
availabilityZone :: AvailabilityZone
-- | The name of the availability zone.
azName :: Lens' AvailabilityZone (Maybe Text)
-- | Describes a cluster.
--
-- See: cluster smart constructor.
data Cluster
-- | Creates a value of Cluster with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
cluster :: Cluster
-- | 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)
-- | Returns the destination region and retention period that are
-- configured for cross-region snapshot copy.
cClusterSnapshotCopyStatus :: Lens' Cluster (Maybe ClusterSnapshotCopyStatus)
-- | The specific revision number of the database in the cluster.
cClusterRevisionNumber :: Lens' Cluster (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
cPubliclyAccessible :: Lens' Cluster (Maybe Bool)
-- | 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 identifier of the VPC the cluster is in, if the cluster is in a
-- VPC.
cVPCId :: 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]
-- | The number of days that automatic cluster snapshots are retained.
cAutomatedSnapshotRetentionPeriod :: Lens' Cluster (Maybe Int)
-- | If true, data in the cluster is encrypted at rest.
cEncrypted :: Lens' Cluster (Maybe Bool)
-- | 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 unique identifier of the cluster.
cClusterIdentifier :: Lens' Cluster (Maybe Text)
-- | The number of compute nodes in the cluster.
cNumberOfNodes :: Lens' Cluster (Maybe Int)
-- | The public key for the cluster.
cClusterPublicKey :: Lens' Cluster (Maybe Text)
-- | The weekly time range (in UTC) during which system maintenance can
-- occur.
cPreferredMaintenanceWindow :: Lens' Cluster (Maybe Text)
-- | The status of a modify operation, if any, initiated for the cluster.
cModifyStatus :: Lens' Cluster (Maybe Text)
-- | 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 list of cluster parameter groups that are associated with this
-- cluster. Each parameter group in the list is returned with its status.
cClusterParameterGroups :: Lens' Cluster [ClusterParameterGroupStatus]
-- | The name of the Availability Zone in which the cluster is located.
cAvailabilityZone :: 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]
-- | 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)
-- | A list of AWS Identity and Access Management (IAM) roles that can be
-- used by the cluster to access other AWS services.
cIAMRoles :: Lens' Cluster [ClusterIAMRole]
-- | The status of the elastic IP (EIP) address.
cElasticIPStatus :: Lens' Cluster (Maybe ElasticIPStatus)
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
cClusterVersion :: Lens' Cluster (Maybe Text)
-- | The node type for the nodes in the cluster.
cNodeType :: Lens' Cluster (Maybe Text)
-- | The date and time that the cluster was created.
cClusterCreateTime :: Lens' Cluster (Maybe UTCTime)
-- | The connection endpoint.
cEndpoint :: Lens' Cluster (Maybe Endpoint)
-- | If true, major version upgrades will be applied automatically
-- to the cluster during the maintenance window.
cAllowVersionUpgrade :: Lens' Cluster (Maybe Bool)
-- | The current state of the cluster. Possible values are:
--
--
-- - available
-- - creating
-- - deleting
-- - 'final-snapshot'
-- - 'hardware-failure'
-- - 'incompatible-hsm'
-- - 'incompatible-network'
-- - 'incompatible-parameters'
-- - 'incompatible-restore'
-- - modifying
-- - rebooting
-- - renaming
-- - resizing
-- - 'rotating-keys'
-- - 'storage-full'
-- - 'updating-hsm'
--
cClusterStatus :: Lens' Cluster (Maybe Text)
-- | If present, changes to the cluster are pending. Specific pending
-- changes are identified by subelements.
cPendingModifiedValues :: Lens' Cluster (Maybe PendingModifiedValues)
-- | The list of tags for the cluster.
cTags :: Lens' Cluster [Tag]
-- | The nodes in a cluster.
cClusterNodes :: Lens' Cluster [ClusterNode]
-- | 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)
-- | An AWS Identity and Access Management (IAM) role that can be used by
-- the associated Amazon Redshift cluster to access other AWS services.
--
-- See: clusterIAMRole smart constructor.
data ClusterIAMRole
-- | Creates a value of ClusterIAMRole with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterIAMRole :: ClusterIAMRole
-- | The Amazon Resource Name (ARN) of the IAM role. For example,
-- 'arn:aws:iam::123456789012:role\/RedshiftCopyUnload'.
cirIAMRoleARN :: Lens' ClusterIAMRole (Maybe Text)
-- | Describes the status of the IAM role's association with an Amazon
-- Redshift cluster.
--
-- The following are possible statuses and descriptions.
--
--
-- - 'in-sync': The role is available for use by the cluster.
-- - adding: The role is in the process of being associated
-- with the cluster.
-- - removing: The role is in the process of being
-- disassociated with the cluster.
--
cirApplyStatus :: Lens' ClusterIAMRole (Maybe Text)
-- | The identifier of a node in a cluster.
--
-- See: clusterNode smart constructor.
data ClusterNode
-- | Creates a value of ClusterNode with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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)
-- | Describes a parameter group.
--
-- See: clusterParameterGroup smart constructor.
data ClusterParameterGroup
-- | Creates a value of ClusterParameterGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterParameterGroup :: ClusterParameterGroup
-- | The name of the cluster parameter group family that this cluster
-- parameter group is compatible with.
cpgParameterGroupFamily :: Lens' ClusterParameterGroup (Maybe Text)
-- | The description of the parameter group.
cpgDescription :: Lens' ClusterParameterGroup (Maybe Text)
-- | The list of tags for the cluster parameter group.
cpgTags :: Lens' ClusterParameterGroup [Tag]
-- | The name of the cluster parameter group.
cpgParameterGroupName :: Lens' ClusterParameterGroup (Maybe Text)
-- | See: clusterParameterGroupNameMessage smart constructor.
data ClusterParameterGroupNameMessage
-- | Creates a value of ClusterParameterGroupNameMessage with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | 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)
-- | The name of the cluster parameter group.
cpgnmParameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | Describes the status of a parameter group.
--
-- See: clusterParameterGroupStatus smart constructor.
data ClusterParameterGroupStatus
-- | Creates a value of ClusterParameterGroupStatus with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterParameterGroupStatus :: ClusterParameterGroupStatus
-- | The list of parameter statuses.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
cpgsClusterParameterStatusList :: Lens' ClusterParameterGroupStatus [ClusterParameterStatus]
-- | The status of parameter updates.
cpgsParameterApplyStatus :: Lens' ClusterParameterGroupStatus (Maybe Text)
-- | The name of the cluster parameter group.
cpgsParameterGroupName :: Lens' ClusterParameterGroupStatus (Maybe Text)
-- | Describes the status of a parameter group.
--
-- See: clusterParameterStatus smart constructor.
data ClusterParameterStatus
-- | Creates a value of ClusterParameterStatus with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterParameterStatus :: ClusterParameterStatus
-- | The error that prevented the parameter from being applied to the
-- database.
cpsParameterApplyErrorDescription :: Lens' ClusterParameterStatus (Maybe Text)
-- | The name of the parameter.
cpsParameterName :: Lens' ClusterParameterStatus (Maybe Text)
-- | The status of the parameter that indicates whether the parameter is in
-- sync with the database, waiting for a cluster reboot, or encountered
-- an error when being applied.
--
-- The following are possible statuses and descriptions.
--
--
-- - 'in-sync': The parameter value is in sync with the database.
-- - 'pending-reboot': The parameter value will be applied after the
-- cluster reboots.
-- - applying: The parameter value is being applied to the
-- database.
-- - 'invalid-parameter': Cannot apply the parameter value because it
-- has an invalid value or syntax.
-- - 'apply-deferred': The parameter contains static property changes.
-- The changes are deferred until the cluster reboots.
-- - 'apply-error': Cannot connect to the cluster. The parameter change
-- will be applied after the cluster reboots.
-- - 'unknown-error': Cannot apply the parameter change right now. The
-- change will be applied after the cluster reboots.
--
cpsParameterApplyStatus :: Lens' ClusterParameterStatus (Maybe Text)
-- | Describes a security group.
--
-- See: clusterSecurityGroup smart constructor.
data ClusterSecurityGroup
-- | Creates a value of ClusterSecurityGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterSecurityGroup :: ClusterSecurityGroup
-- | The name of the cluster security group to which the operation was
-- applied.
cluClusterSecurityGroupName :: Lens' ClusterSecurityGroup (Maybe Text)
-- | A list of IP ranges (CIDR blocks) that are permitted to access
-- clusters associated with this cluster security group.
cluIPRanges :: Lens' ClusterSecurityGroup [IPRange]
-- | A list of EC2 security groups that are permitted to access clusters
-- associated with this cluster security group.
cluEC2SecurityGroups :: Lens' ClusterSecurityGroup [EC2SecurityGroup]
-- | A description of the security group.
cluDescription :: Lens' ClusterSecurityGroup (Maybe Text)
-- | The list of tags for the cluster security group.
cluTags :: Lens' ClusterSecurityGroup [Tag]
-- | Describes a cluster security group.
--
-- See: clusterSecurityGroupMembership smart constructor.
data ClusterSecurityGroupMembership
-- | Creates a value of ClusterSecurityGroupMembership with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterSecurityGroupMembership :: ClusterSecurityGroupMembership
-- | The status of the cluster security group.
csgmStatus :: Lens' ClusterSecurityGroupMembership (Maybe Text)
-- | The name of the cluster security group.
csgmClusterSecurityGroupName :: Lens' ClusterSecurityGroupMembership (Maybe Text)
-- | Returns the destination region and retention period that are
-- configured for cross-region snapshot copy.
--
-- See: clusterSnapshotCopyStatus smart constructor.
data ClusterSnapshotCopyStatus
-- | Creates a value of ClusterSnapshotCopyStatus with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterSnapshotCopyStatus :: ClusterSnapshotCopyStatus
-- | 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)
-- | The destination region that snapshots are automatically copied to when
-- cross-region snapshot copy is enabled.
cscsDestinationRegion :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
-- | The name of the snapshot copy grant.
cscsSnapshotCopyGrantName :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
-- | Describes a subnet group.
--
-- See: clusterSubnetGroup smart constructor.
data ClusterSubnetGroup
-- | Creates a value of ClusterSubnetGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
clusterSubnetGroup :: ClusterSubnetGroup
-- | The VPC ID of the cluster subnet group.
csgVPCId :: Lens' ClusterSubnetGroup (Maybe Text)
-- | A list of the VPC Subnet elements.
csgSubnets :: Lens' ClusterSubnetGroup [Subnet]
-- | The name of the cluster subnet group.
csgClusterSubnetGroupName :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The status of the cluster subnet group. Possible values are
-- Complete, Incomplete and Invalid.
csgSubnetGroupStatus :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The description of the cluster subnet group.
csgDescription :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The list of tags for the cluster subnet group.
csgTags :: Lens' ClusterSubnetGroup [Tag]
-- | Describes a cluster version, including the parameter group family and
-- description of the version.
--
-- See: clusterVersion smart constructor.
data ClusterVersion
-- | Creates a value of ClusterVersion with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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)
-- | Describes the default cluster parameters for a parameter group family.
--
-- See: defaultClusterParameters smart constructor.
data DefaultClusterParameters
-- | Creates a value of DefaultClusterParameters with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 list of cluster default parameters.
dcpParameters :: Lens' DefaultClusterParameters [Parameter]
-- | The name of the cluster parameter group family to which the engine
-- default parameters apply.
dcpParameterGroupFamily :: Lens' DefaultClusterParameters (Maybe Text)
-- | Describes an Amazon EC2 security group.
--
-- See: ec2SecurityGroup smart constructor.
data EC2SecurityGroup
-- | Creates a value of EC2SecurityGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
ec2SecurityGroup :: EC2SecurityGroup
-- | The status of the EC2 security group.
esgStatus :: Lens' EC2SecurityGroup (Maybe Text)
-- | The AWS ID of the owner of the EC2 security group specified in the
-- EC2SecurityGroupName field.
esgEC2SecurityGroupOwnerId :: Lens' EC2SecurityGroup (Maybe Text)
-- | The name of the EC2 Security Group.
esgEC2SecurityGroupName :: Lens' EC2SecurityGroup (Maybe Text)
-- | The list of tags for the EC2 security group.
esgTags :: Lens' EC2SecurityGroup [Tag]
-- | Describes the status of the elastic IP (EIP) address.
--
-- See: elasticIPStatus smart constructor.
data ElasticIPStatus
-- | Creates a value of ElasticIPStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
elasticIPStatus :: ElasticIPStatus
-- | The status of the elastic IP (EIP) address.
eisStatus :: Lens' ElasticIPStatus (Maybe Text)
-- | The elastic IP (EIP) address for the cluster.
eisElasticIP :: Lens' ElasticIPStatus (Maybe Text)
-- | Describes a connection endpoint.
--
-- See: endpoint smart constructor.
data Endpoint
-- | Creates a value of Endpoint with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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)
-- | Describes an event.
--
-- See: event smart constructor.
data Event
-- | Creates a value of Event with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
event :: Event
-- | The source type for this event.
eSourceType :: Lens' Event (Maybe SourceType)
-- | 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 date and time of the event.
eDate :: Lens' Event (Maybe UTCTime)
-- | A list of the event categories.
--
-- Values: Configuration, Management, Monitoring, Security
eEventCategories :: Lens' Event [Text]
-- | The text of this event.
eMessage :: Lens' Event (Maybe Text)
-- | The identifier of the event.
eEventId :: Lens' Event (Maybe Text)
-- | Describes event categories.
--
-- See: eventCategoriesMap smart constructor.
data EventCategoriesMap
-- | Creates a value of EventCategoriesMap with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
eventCategoriesMap :: EventCategoriesMap
-- | The source type, such as cluster or cluster-snapshot, that the
-- returned categories belong to.
ecmSourceType :: Lens' EventCategoriesMap (Maybe Text)
-- | The events in the event category.
ecmEvents :: Lens' EventCategoriesMap [EventInfoMap]
-- | Describes event information.
--
-- See: eventInfoMap smart constructor.
data EventInfoMap
-- | Creates a value of EventInfoMap with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
eventInfoMap :: EventInfoMap
-- | The description of an Amazon Redshift event.
eimEventDescription :: Lens' EventInfoMap (Maybe Text)
-- | The severity of the event.
--
-- Values: ERROR, INFO
eimSeverity :: Lens' EventInfoMap (Maybe Text)
-- | The category of an Amazon Redshift event.
eimEventCategories :: Lens' EventInfoMap [Text]
-- | The identifier of an Amazon Redshift event.
eimEventId :: Lens' EventInfoMap (Maybe Text)
-- | Describes event subscriptions.
--
-- See: eventSubscription smart constructor.
data EventSubscription
-- | Creates a value of EventSubscription with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
eventSubscription :: EventSubscription
-- | 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 AWS customer account associated with the Amazon Redshift event
-- notification subscription.
esCustomerAWSId :: Lens' EventSubscription (Maybe Text)
-- | The name of the Amazon Redshift event notification subscription.
esCustSubscriptionId :: 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 Boolean value indicating whether the subscription is enabled.
-- true indicates the subscription is enabled.
esEnabled :: Lens' EventSubscription (Maybe Bool)
-- | The source type of the events returned the Amazon Redshift event
-- notification, such as cluster, or cluster-snapshot.
esSourceType :: Lens' EventSubscription (Maybe Text)
-- | The event severity specified in the Amazon Redshift event notification
-- subscription.
--
-- Values: ERROR, INFO
esSeverity :: Lens' EventSubscription (Maybe Text)
-- | The date and time the Amazon Redshift event notification subscription
-- was created.
esSubscriptionCreationTime :: Lens' EventSubscription (Maybe UTCTime)
-- | The list of Amazon Redshift event categories specified in the event
-- notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security
esEventCategoriesList :: Lens' EventSubscription [Text]
-- | The list of tags for the event subscription.
esTags :: Lens' EventSubscription [Tag]
-- | A list of the sources that publish events to the Amazon Redshift event
-- notification subscription.
esSourceIdsList :: Lens' EventSubscription [Text]
-- | Returns information about an HSM client certificate. The certificate
-- is stored in a secure Hardware Storage Module (HSM), and used by the
-- Amazon Redshift cluster to encrypt data files.
--
-- See: hsmClientCertificate smart constructor.
data HSMClientCertificate
-- | Creates a value of HSMClientCertificate with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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]
-- | Returns information about an HSM configuration, which is an object
-- that describes to Amazon Redshift clusters the information they
-- require to connect to an HSM where they can store database encryption
-- keys.
--
-- See: hsmConfiguration smart constructor.
data HSMConfiguration
-- | Creates a value of HSMConfiguration with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
hsmConfiguration :: HSMConfiguration
-- | The name of the Amazon Redshift HSM configuration.
hcHSMConfigurationIdentifier :: 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)
-- | A text description of the HSM configuration.
hcDescription :: Lens' HSMConfiguration (Maybe Text)
-- | The list of tags for the HSM configuration.
hcTags :: Lens' HSMConfiguration [Tag]
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
hcHSMIPAddress :: Lens' HSMConfiguration (Maybe Text)
-- | Describes the status of changes to HSM settings.
--
-- See: hsmStatus smart constructor.
data HSMStatus
-- | Creates a value of HSMStatus with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
hsmStatus :: HSMStatus
-- | 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)
-- | 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)
-- | 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)
-- | Describes an IP range used in a security group.
--
-- See: ipRange smart constructor.
data IPRange
-- | Creates a value of IPRange with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
ipRange :: IPRange
-- | The status of the IP range, for example, "authorized".
irStatus :: Lens' IPRange (Maybe Text)
-- | The IP range in Classless Inter-Domain Routing (CIDR) notation.
irCIdRIP :: Lens' IPRange (Maybe Text)
-- | The list of tags for the IP range.
irTags :: Lens' IPRange [Tag]
-- | Describes the status of logging for a cluster.
--
-- See: loggingStatus smart constructor.
data LoggingStatus
-- | Creates a value of LoggingStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
loggingStatus :: LoggingStatus
-- | The last time when logs failed to be delivered.
lsLastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
lsLastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The prefix applied to the log file names.
lsS3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
-- | The name of the S3 bucket where the log files are stored.
lsBucketName :: Lens' LoggingStatus (Maybe Text)
-- | true if logging is on, false if logging is off.
lsLoggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The message indicating that logs failed to be delivered.
lsLastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | Describes an orderable cluster option.
--
-- See: orderableClusterOption smart constructor.
data OrderableClusterOption
-- | Creates a value of OrderableClusterOption with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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)
-- | Describes a parameter in a cluster parameter group.
--
-- See: parameter smart constructor.
data Parameter
-- | Creates a value of Parameter with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
parameter :: Parameter
-- | Specifies how to apply the WLM configuration parameter. Some
-- properties can be applied dynamically, while other properties require
-- that any associated clusters be rebooted for the configuration changes
-- to be applied. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
pApplyType :: Lens' Parameter (Maybe ParameterApplyType)
-- | The value of the parameter.
pParameterValue :: Lens' Parameter (Maybe Text)
-- | The earliest engine version to which the parameter can apply.
pMinimumEngineVersion :: Lens' Parameter (Maybe Text)
-- | The source of the parameter value, such as "engine-default" or "user".
pSource :: 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 data type of the parameter.
pDataType :: Lens' Parameter (Maybe Text)
-- | The valid range of values for the parameter.
pAllowedValues :: Lens' Parameter (Maybe Text)
-- | The name of the parameter.
pParameterName :: Lens' Parameter (Maybe Text)
-- | A description of the parameter.
pDescription :: Lens' Parameter (Maybe Text)
-- | Describes cluster attributes that are in a pending state. A change to
-- one or more the attributes was requested and is in progress or will be
-- applied.
--
-- See: pendingModifiedValues smart constructor.
data PendingModifiedValues
-- | Creates a value of PendingModifiedValues with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
pendingModifiedValues :: PendingModifiedValues
-- | 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 ability to connect to the
-- cluster from the public network.
pmvPubliclyAccessible :: Lens' PendingModifiedValues (Maybe Bool)
-- | 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 number of nodes in the
-- cluster.
pmvNumberOfNodes :: Lens' PendingModifiedValues (Maybe Int)
-- | 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 cluster's node type.
pmvNodeType :: Lens' PendingModifiedValues (Maybe Text)
-- | Describes a recurring charge.
--
-- See: recurringCharge smart constructor.
data RecurringCharge
-- | Creates a value of RecurringCharge with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
recurringCharge :: RecurringCharge
-- | The frequency at which the recurring charge amount is applied.
rcRecurringChargeFrequency :: Lens' RecurringCharge (Maybe Text)
-- | The amount charged per the period of time specified by the recurring
-- charge frequency.
rcRecurringChargeAmount :: Lens' RecurringCharge (Maybe Double)
-- | Describes a reserved node. You can call the
-- DescribeReservedNodeOfferings API to obtain the available
-- reserved node offerings.
--
-- See: reservedNode smart constructor.
data ReservedNode
-- | Creates a value of ReservedNode with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
reservedNode :: ReservedNode
-- | 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 currency code for the reserved cluster.
rnCurrencyCode :: 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 number of reserved compute nodes.
rnNodeCount :: Lens' ReservedNode (Maybe Int)
-- | The unique identifier for the reservation.
rnReservedNodeId :: Lens' ReservedNode (Maybe Text)
-- | The identifier for the reserved node offering.
rnReservedNodeOfferingId :: Lens' ReservedNode (Maybe Text)
-- | The recurring charges for the reserved node.
rnRecurringCharges :: Lens' ReservedNode [RecurringCharge]
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
rnOfferingType :: Lens' ReservedNode (Maybe Text)
-- | The hourly rate Amazon Redshift charges you for this reserved node.
rnUsagePrice :: Lens' ReservedNode (Maybe Double)
-- | The node type of the reserved node.
rnNodeType :: Lens' ReservedNode (Maybe Text)
-- | The fixed cost Amazon Redshift charges you for this reserved node.
rnFixedPrice :: Lens' ReservedNode (Maybe Double)
-- | The duration of the node reservation in seconds.
rnDuration :: Lens' ReservedNode (Maybe Int)
-- | Describes a reserved node offering.
--
-- See: reservedNodeOffering smart constructor.
data ReservedNodeOffering
-- | Creates a value of ReservedNodeOffering with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
reservedNodeOffering :: ReservedNodeOffering
-- | The currency code for the compute nodes offering.
rnoCurrencyCode :: Lens' ReservedNodeOffering (Maybe Text)
-- | The offering identifier.
rnoReservedNodeOfferingId :: 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 anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
rnoOfferingType :: 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)
-- | The node type offered by the reserved node offering.
rnoNodeType :: Lens' ReservedNodeOffering (Maybe Text)
-- | The upfront fixed charge you will pay to purchase the specific
-- reserved node offering.
rnoFixedPrice :: Lens' ReservedNodeOffering (Maybe Double)
-- | The duration, in seconds, for which the offering will reserve the
-- node.
rnoDuration :: Lens' ReservedNodeOffering (Maybe Int)
-- | Describes the status of a cluster restore action. Returns null if the
-- cluster was not created by restoring a snapshot.
--
-- See: restoreStatus smart constructor.
data RestoreStatus
-- | Creates a value of RestoreStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
restoreStatus :: RestoreStatus
-- | The status of the restore action. Returns starting, restoring,
-- completed, or failed.
rsStatus :: Lens' RestoreStatus (Maybe Text)
-- | 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 per second being transferred from the backup
-- storage. Returns the average rate for a completed backup.
rsCurrentRestoreRateInMegaBytesPerSecond :: Lens' RestoreStatus (Maybe Double)
-- | The number of megabytes that have been transferred from snapshot
-- storage.
rsProgressInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | 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 size of the set of snapshot data used to restore the cluster.
rsSnapshotSizeInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | Describes a snapshot.
--
-- See: snapshot smart constructor.
data Snapshot
-- | Creates a value of Snapshot with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
snapshot :: Snapshot
-- | The snapshot status. The value of the status depends on the API
-- operation used.
--
--
sStatus :: Lens' Snapshot (Maybe Text)
-- | The list of node types that this cluster snapshot is able to restore
-- into.
sRestorableNodeTypes :: Lens' Snapshot [Text]
-- | 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 snapshot identifier that is provided in the request.
sSnapshotIdentifier :: Lens' Snapshot (Maybe Text)
-- | 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 master user name for the cluster.
sMasterUsername :: Lens' Snapshot (Maybe Text)
-- | The source region from which the snapshot was copied.
sSourceRegion :: Lens' Snapshot (Maybe Text)
-- | 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)
-- | The number of megabytes that have been transferred to the snapshot
-- backup.
sBackupProgressInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | If true, the data in the snapshot is encrypted at rest.
sEncrypted :: Lens' Snapshot (Maybe Bool)
-- | The identifier of the cluster for which the snapshot was taken.
sClusterIdentifier :: Lens' Snapshot (Maybe Text)
-- | The number of nodes in the cluster.
sNumberOfNodes :: Lens' Snapshot (Maybe Int)
-- | The snapshot type. Snapshots created using
-- CreateClusterSnapshot and CopyClusterSnapshot will be of
-- type "manual".
sSnapshotType :: Lens' Snapshot (Maybe Text)
-- | 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 Availability Zone in which the cluster was created.
sAvailabilityZone :: 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 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 version ID of the Amazon Redshift engine that is running on the
-- cluster.
sClusterVersion :: Lens' Snapshot (Maybe Text)
-- | 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 node type of the nodes in the cluster.
sNodeType :: 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)
-- | The time (UTC) when the cluster was originally created.
sClusterCreateTime :: Lens' Snapshot (Maybe UTCTime)
-- | The estimate of the time remaining before the snapshot backup will
-- complete. Returns '0' for a completed backup.
sEstimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer)
-- | The size of the incremental backup.
sActualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The list of tags for the cluster snapshot.
sTags :: Lens' Snapshot [Tag]
-- | The port that the cluster is listening on.
sPort :: Lens' Snapshot (Maybe Int)
-- | The size of the complete set of backup data that would be used to
-- restore the cluster.
sTotalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The name of the database that was created when the cluster was
-- created.
sDBName :: Lens' Snapshot (Maybe Text)
-- | The snapshot copy grant that grants Amazon Redshift permission to
-- encrypt copied snapshots with the specified customer master key (CMK)
-- from AWS KMS in the destination region.
--
-- For more information about managing snapshot copy grants, go to
-- Amazon Redshift Database Encryption in the Amazon Redshift
-- Cluster Management Guide.
--
-- See: snapshotCopyGrant smart constructor.
data SnapshotCopyGrant
-- | Creates a value of SnapshotCopyGrant with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
snapshotCopyGrant :: SnapshotCopyGrant
-- | The unique identifier of the customer master key (CMK) in AWS KMS to
-- which Amazon Redshift is granted permission.
scgKMSKeyId :: Lens' SnapshotCopyGrant (Maybe Text)
-- | The name of the snapshot copy grant.
scgSnapshotCopyGrantName :: Lens' SnapshotCopyGrant (Maybe Text)
-- | A list of tag instances.
scgTags :: Lens' SnapshotCopyGrant [Tag]
-- | Describes a subnet.
--
-- See: subnet smart constructor.
data Subnet
-- | Creates a value of Subnet with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
subnet :: Subnet
-- | The status of the subnet.
sSubnetStatus :: Lens' Subnet (Maybe Text)
-- | The identifier of the subnet.
sSubnetIdentifier :: Lens' Subnet (Maybe Text)
-- | Undocumented member.
sSubnetAvailabilityZone :: Lens' Subnet (Maybe AvailabilityZone)
-- | Describes the status of a RestoreTableFromClusterSnapshot
-- operation.
--
-- See: tableRestoreStatus smart constructor.
data TableRestoreStatus
-- | Creates a value of TableRestoreStatus with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tableRestoreStatus :: TableRestoreStatus
-- | A value that describes the current state of the table restore request.
--
-- Valid Values: SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS
trsStatus :: Lens' TableRestoreStatus (Maybe TableRestoreStatusType)
-- | The name of the schema to restore the table to.
trsTargetSchemaName :: Lens' TableRestoreStatus (Maybe Text)
-- | The identifier of the snapshot that the table is being restored from.
trsSnapshotIdentifier :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source database that contains the table being
-- restored.
trsSourceDatabaseName :: Lens' TableRestoreStatus (Maybe Text)
-- | The unique identifier for the table restore request.
trsTableRestoreRequestId :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the table to create as a result of the table restore
-- request.
trsNewTableName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the database to restore the table to.
trsTargetDatabaseName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source schema that contains the table being restored.
trsSourceSchemaName :: Lens' TableRestoreStatus (Maybe Text)
-- | The identifier of the Amazon Redshift cluster that the table is being
-- restored to.
trsClusterIdentifier :: Lens' TableRestoreStatus (Maybe Text)
-- | The time that the table restore request was made, in Universal
-- Coordinated Time (UTC).
trsRequestTime :: Lens' TableRestoreStatus (Maybe UTCTime)
-- | The name of the source table being restored.
trsSourceTableName :: Lens' TableRestoreStatus (Maybe Text)
-- | The total amount of data to restore to the new table, in megabytes
-- (MB).
trsTotalDataInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer)
-- | The amount of data restored to the new table so far, in megabytes
-- (MB).
trsProgressInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer)
-- | A description of the status of the table restore request. Status
-- values include SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS.
trsMessage :: Lens' TableRestoreStatus (Maybe Text)
-- | A tag consisting of a name/value pair for a resource.
--
-- See: tag smart constructor.
data Tag
-- | Creates a value of Tag with the minimum fields required to make
-- a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tag :: Tag
-- | The value for the resource tag.
tagValue :: Lens' Tag (Maybe Text)
-- | The key, or name, for the resource tag.
tagKey :: Lens' Tag (Maybe Text)
-- | A tag and its associated resource.
--
-- See: taggedResource smart constructor.
data TaggedResource
-- | Creates a value of TaggedResource with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
taggedResource :: TaggedResource
-- | The tag for the resource.
trTag :: Lens' TaggedResource (Maybe Tag)
-- | 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 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)
-- | Describes the members of a VPC security group.
--
-- See: vpcSecurityGroupMembership smart constructor.
data VPCSecurityGroupMembership
-- | Creates a value of VPCSecurityGroupMembership with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
vpcSecurityGroupMembership :: VPCSecurityGroupMembership
-- | The status of the VPC security group.
vsgmStatus :: Lens' VPCSecurityGroupMembership (Maybe Text)
-- | The identifier of the VPC security group.
vsgmVPCSecurityGroupId :: Lens' VPCSecurityGroupMembership (Maybe Text)