-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Redshift SDK. -- @package amazonka-redshift @version 1.3.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 -- | 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 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 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 state of the cluster snapshot is not available, 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 -- | 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 -- | 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) -- | Describes 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 this cluster. Possible values include -- available, creating, deleting, -- rebooting, renaming, and resizing. 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) -- | 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) -- | Contains the output from the ModifyClusterParameterGroup and -- ResetClusterParameterGroup actions and indicate the parameter group -- involved and the status of the operation on the parameter group. -- -- 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. -- -- 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 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 -- | Describes 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) -- | 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 Amazon Redshift 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] -- | 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) -- | 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: -- -- 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) -- | 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 when 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 parameter. Supported value: -- static. 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 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: -- -- 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) -- | 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: -- -- -- -- 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 -- | Undocumented member. vsgmStatus :: Lens' VPCSecurityGroupMembership (Maybe Text) -- | Undocumented member. 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. -- -- See: AWS API Reference for DescribeSnapshotCopyGrants. 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 -- | The result of the snapshot copy grant. -- -- See: describeSnapshotCopyGrantsResponse smart -- constructor. data DescribeSnapshotCopyGrantsResponse -- | The list of snapshot copy grants. 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 Typeable DescribeSnapshotCopyGrants instance Typeable DescribeSnapshotCopyGrantsResponse instance Eq DescribeSnapshotCopyGrants instance Read DescribeSnapshotCopyGrants instance Show DescribeSnapshotCopyGrants instance Data DescribeSnapshotCopyGrants instance Generic DescribeSnapshotCopyGrants instance Eq DescribeSnapshotCopyGrantsResponse instance Read DescribeSnapshotCopyGrantsResponse instance Show DescribeSnapshotCopyGrantsResponse instance Data DescribeSnapshotCopyGrantsResponse instance Generic DescribeSnapshotCopyGrantsResponse instance Datatype D1DescribeSnapshotCopyGrants instance Constructor C1_0DescribeSnapshotCopyGrants instance Selector S1_0_0DescribeSnapshotCopyGrants instance Selector S1_0_1DescribeSnapshotCopyGrants instance Selector S1_0_2DescribeSnapshotCopyGrants instance Selector S1_0_3DescribeSnapshotCopyGrants instance Selector S1_0_4DescribeSnapshotCopyGrants instance Datatype D1DescribeSnapshotCopyGrantsResponse instance Constructor C1_0DescribeSnapshotCopyGrantsResponse instance Selector S1_0_0DescribeSnapshotCopyGrantsResponse instance Selector S1_0_1DescribeSnapshotCopyGrantsResponse instance Selector S1_0_2DescribeSnapshotCopyGrantsResponse instance ToQuery DescribeSnapshotCopyGrants instance ToPath DescribeSnapshotCopyGrants instance ToHeaders DescribeSnapshotCopyGrants instance AWSRequest DescribeSnapshotCopyGrants -- | Rotates the encryption keys for a cluster. -- -- See: AWS API Reference for RotateEncryptionKey. 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 Typeable RotateEncryptionKey instance Typeable RotateEncryptionKeyResponse instance Eq RotateEncryptionKey instance Read RotateEncryptionKey instance Show RotateEncryptionKey instance Data RotateEncryptionKey instance Generic RotateEncryptionKey instance Eq RotateEncryptionKeyResponse instance Read RotateEncryptionKeyResponse instance Show RotateEncryptionKeyResponse instance Data RotateEncryptionKeyResponse instance Generic RotateEncryptionKeyResponse instance Datatype D1RotateEncryptionKey instance Constructor C1_0RotateEncryptionKey instance Selector S1_0_0RotateEncryptionKey instance Datatype D1RotateEncryptionKeyResponse instance Constructor C1_0RotateEncryptionKeyResponse instance Selector S1_0_0RotateEncryptionKeyResponse instance Selector S1_0_1RotateEncryptionKeyResponse instance ToQuery RotateEncryptionKey instance ToPath RotateEncryptionKey instance ToHeaders RotateEncryptionKey instance AWSRequest RotateEncryptionKey -- | 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. -- -- See: AWS API Reference for ModifyClusterSubnetGroup. 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 Typeable ModifyClusterSubnetGroup instance Typeable ModifyClusterSubnetGroupResponse instance Eq ModifyClusterSubnetGroup instance Read ModifyClusterSubnetGroup instance Show ModifyClusterSubnetGroup instance Data ModifyClusterSubnetGroup instance Generic ModifyClusterSubnetGroup instance Eq ModifyClusterSubnetGroupResponse instance Read ModifyClusterSubnetGroupResponse instance Show ModifyClusterSubnetGroupResponse instance Data ModifyClusterSubnetGroupResponse instance Generic ModifyClusterSubnetGroupResponse instance Datatype D1ModifyClusterSubnetGroup instance Constructor C1_0ModifyClusterSubnetGroup instance Selector S1_0_0ModifyClusterSubnetGroup instance Selector S1_0_1ModifyClusterSubnetGroup instance Selector S1_0_2ModifyClusterSubnetGroup instance Datatype D1ModifyClusterSubnetGroupResponse instance Constructor C1_0ModifyClusterSubnetGroupResponse instance Selector S1_0_0ModifyClusterSubnetGroupResponse instance Selector S1_0_1ModifyClusterSubnetGroupResponse instance ToQuery ModifyClusterSubnetGroup instance ToPath ModifyClusterSubnetGroup instance ToHeaders ModifyClusterSubnetGroup instance AWSRequest ModifyClusterSubnetGroup -- | 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 -- -- See: AWS API Reference for DescribeClusterVersions. -- -- 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: -- -- 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 Typeable DescribeClusterVersions instance Typeable DescribeClusterVersionsResponse instance Eq DescribeClusterVersions instance Read DescribeClusterVersions instance Show DescribeClusterVersions instance Data DescribeClusterVersions instance Generic DescribeClusterVersions instance Eq DescribeClusterVersionsResponse instance Read DescribeClusterVersionsResponse instance Show DescribeClusterVersionsResponse instance Data DescribeClusterVersionsResponse instance Generic DescribeClusterVersionsResponse instance Datatype D1DescribeClusterVersions instance Constructor C1_0DescribeClusterVersions instance Selector S1_0_0DescribeClusterVersions instance Selector S1_0_1DescribeClusterVersions instance Selector S1_0_2DescribeClusterVersions instance Selector S1_0_3DescribeClusterVersions instance Datatype D1DescribeClusterVersionsResponse instance Constructor C1_0DescribeClusterVersionsResponse instance Selector S1_0_0DescribeClusterVersionsResponse instance Selector S1_0_1DescribeClusterVersionsResponse instance Selector S1_0_2DescribeClusterVersionsResponse instance ToQuery DescribeClusterVersions instance ToPath DescribeClusterVersions instance ToHeaders DescribeClusterVersions instance AWSRequest DescribeClusterVersions instance AWSPager DescribeClusterVersions -- | Deletes the specified snapshot copy grant. -- -- See: AWS API Reference for DeleteSnapshotCopyGrant. 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 Typeable DeleteSnapshotCopyGrant instance Typeable DeleteSnapshotCopyGrantResponse instance Eq DeleteSnapshotCopyGrant instance Read DeleteSnapshotCopyGrant instance Show DeleteSnapshotCopyGrant instance Data DeleteSnapshotCopyGrant instance Generic DeleteSnapshotCopyGrant instance Eq DeleteSnapshotCopyGrantResponse instance Read DeleteSnapshotCopyGrantResponse instance Show DeleteSnapshotCopyGrantResponse instance Data DeleteSnapshotCopyGrantResponse instance Generic DeleteSnapshotCopyGrantResponse instance Datatype D1DeleteSnapshotCopyGrant instance Constructor C1_0DeleteSnapshotCopyGrant instance Selector S1_0_0DeleteSnapshotCopyGrant instance Datatype D1DeleteSnapshotCopyGrantResponse instance Constructor C1_0DeleteSnapshotCopyGrantResponse instance ToQuery DeleteSnapshotCopyGrant instance ToPath DeleteSnapshotCopyGrant instance ToHeaders DeleteSnapshotCopyGrant instance AWSRequest DeleteSnapshotCopyGrant -- | Deletes the specified HSM client certificate. -- -- See: AWS API Reference for DeleteHSMClientCertificate. 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 Typeable DeleteHSMClientCertificate instance Typeable DeleteHSMClientCertificateResponse instance Eq DeleteHSMClientCertificate instance Read DeleteHSMClientCertificate instance Show DeleteHSMClientCertificate instance Data DeleteHSMClientCertificate instance Generic DeleteHSMClientCertificate instance Eq DeleteHSMClientCertificateResponse instance Read DeleteHSMClientCertificateResponse instance Show DeleteHSMClientCertificateResponse instance Data DeleteHSMClientCertificateResponse instance Generic DeleteHSMClientCertificateResponse instance Datatype D1DeleteHSMClientCertificate instance Constructor C1_0DeleteHSMClientCertificate instance Selector S1_0_0DeleteHSMClientCertificate instance Datatype D1DeleteHSMClientCertificateResponse instance Constructor C1_0DeleteHSMClientCertificateResponse instance ToQuery DeleteHSMClientCertificate instance ToPath DeleteHSMClientCertificate instance ToHeaders DeleteHSMClientCertificate instance AWSRequest DeleteHSMClientCertificate -- | 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. -- -- See: AWS API Reference for CopyClusterSnapshot. 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: -- -- ccsSourceSnapshotClusterIdentifier :: Lens' CopyClusterSnapshot (Maybe Text) -- | The identifier for the source snapshot. -- -- Constraints: -- -- ccsSourceSnapshotIdentifier :: Lens' CopyClusterSnapshot Text -- | The identifier given to the new manual snapshot. -- -- Constraints: -- -- 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 Typeable CopyClusterSnapshot instance Typeable CopyClusterSnapshotResponse instance Eq CopyClusterSnapshot instance Read CopyClusterSnapshot instance Show CopyClusterSnapshot instance Data CopyClusterSnapshot instance Generic CopyClusterSnapshot instance Eq CopyClusterSnapshotResponse instance Read CopyClusterSnapshotResponse instance Show CopyClusterSnapshotResponse instance Data CopyClusterSnapshotResponse instance Generic CopyClusterSnapshotResponse instance Datatype D1CopyClusterSnapshot instance Constructor C1_0CopyClusterSnapshot instance Selector S1_0_0CopyClusterSnapshot instance Selector S1_0_1CopyClusterSnapshot instance Selector S1_0_2CopyClusterSnapshot instance Datatype D1CopyClusterSnapshotResponse instance Constructor C1_0CopyClusterSnapshotResponse instance Selector S1_0_0CopyClusterSnapshotResponse instance Selector S1_0_1CopyClusterSnapshotResponse instance ToQuery CopyClusterSnapshot instance ToPath CopyClusterSnapshot instance ToHeaders CopyClusterSnapshot instance AWSRequest CopyClusterSnapshot -- | 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. -- -- See: AWS API Reference for CreateSnapshotCopyGrant. 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: -- -- 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 Typeable CreateSnapshotCopyGrant instance Typeable CreateSnapshotCopyGrantResponse instance Eq CreateSnapshotCopyGrant instance Read CreateSnapshotCopyGrant instance Show CreateSnapshotCopyGrant instance Data CreateSnapshotCopyGrant instance Generic CreateSnapshotCopyGrant instance Eq CreateSnapshotCopyGrantResponse instance Read CreateSnapshotCopyGrantResponse instance Show CreateSnapshotCopyGrantResponse instance Data CreateSnapshotCopyGrantResponse instance Generic CreateSnapshotCopyGrantResponse instance Datatype D1CreateSnapshotCopyGrant instance Constructor C1_0CreateSnapshotCopyGrant instance Selector S1_0_0CreateSnapshotCopyGrant instance Selector S1_0_1CreateSnapshotCopyGrant instance Selector S1_0_2CreateSnapshotCopyGrant instance Datatype D1CreateSnapshotCopyGrantResponse instance Constructor C1_0CreateSnapshotCopyGrantResponse instance Selector S1_0_0CreateSnapshotCopyGrantResponse instance Selector S1_0_1CreateSnapshotCopyGrantResponse instance ToQuery CreateSnapshotCopyGrant instance ToPath CreateSnapshotCopyGrant instance ToHeaders CreateSnapshotCopyGrant instance AWSRequest CreateSnapshotCopyGrant -- | 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. -- -- See: AWS API Reference for DescribeHSMConfigurations. -- -- 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 Amazon Redshift HSM configurations. dhcrsHSMConfigurations :: Lens' DescribeHSMConfigurationsResponse [HSMConfiguration] -- | The response status code. dhcrsResponseStatus :: Lens' DescribeHSMConfigurationsResponse Int instance Typeable DescribeHSMConfigurations instance Typeable DescribeHSMConfigurationsResponse instance Eq DescribeHSMConfigurations instance Read DescribeHSMConfigurations instance Show DescribeHSMConfigurations instance Data DescribeHSMConfigurations instance Generic DescribeHSMConfigurations instance Eq DescribeHSMConfigurationsResponse instance Read DescribeHSMConfigurationsResponse instance Show DescribeHSMConfigurationsResponse instance Data DescribeHSMConfigurationsResponse instance Generic DescribeHSMConfigurationsResponse instance Datatype D1DescribeHSMConfigurations instance Constructor C1_0DescribeHSMConfigurations instance Selector S1_0_0DescribeHSMConfigurations instance Selector S1_0_1DescribeHSMConfigurations instance Selector S1_0_2DescribeHSMConfigurations instance Selector S1_0_3DescribeHSMConfigurations instance Selector S1_0_4DescribeHSMConfigurations instance Datatype D1DescribeHSMConfigurationsResponse instance Constructor C1_0DescribeHSMConfigurationsResponse instance Selector S1_0_0DescribeHSMConfigurationsResponse instance Selector S1_0_1DescribeHSMConfigurationsResponse instance Selector S1_0_2DescribeHSMConfigurationsResponse instance ToQuery DescribeHSMConfigurations instance ToPath DescribeHSMConfigurations instance ToHeaders DescribeHSMConfigurations instance AWSRequest DescribeHSMConfigurations instance AWSPager DescribeHSMConfigurations -- | 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. -- -- See: AWS API Reference for RevokeSnapshotAccess. 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 Typeable RevokeSnapshotAccess instance Typeable RevokeSnapshotAccessResponse instance Eq RevokeSnapshotAccess instance Read RevokeSnapshotAccess instance Show RevokeSnapshotAccess instance Data RevokeSnapshotAccess instance Generic RevokeSnapshotAccess instance Eq RevokeSnapshotAccessResponse instance Read RevokeSnapshotAccessResponse instance Show RevokeSnapshotAccessResponse instance Data RevokeSnapshotAccessResponse instance Generic RevokeSnapshotAccessResponse instance Datatype D1RevokeSnapshotAccess instance Constructor C1_0RevokeSnapshotAccess instance Selector S1_0_0RevokeSnapshotAccess instance Selector S1_0_1RevokeSnapshotAccess instance Selector S1_0_2RevokeSnapshotAccess instance Datatype D1RevokeSnapshotAccessResponse instance Constructor C1_0RevokeSnapshotAccessResponse instance Selector S1_0_0RevokeSnapshotAccessResponse instance Selector S1_0_1RevokeSnapshotAccessResponse instance ToQuery RevokeSnapshotAccess instance ToPath RevokeSnapshotAccess instance ToHeaders RevokeSnapshotAccess instance AWSRequest RevokeSnapshotAccess -- | 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. -- -- See: AWS API Reference for CreateClusterParameterGroup. 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: -- -- -- -- 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 Typeable CreateClusterParameterGroup instance Typeable CreateClusterParameterGroupResponse instance Eq CreateClusterParameterGroup instance Read CreateClusterParameterGroup instance Show CreateClusterParameterGroup instance Data CreateClusterParameterGroup instance Generic CreateClusterParameterGroup instance Eq CreateClusterParameterGroupResponse instance Read CreateClusterParameterGroupResponse instance Show CreateClusterParameterGroupResponse instance Data CreateClusterParameterGroupResponse instance Generic CreateClusterParameterGroupResponse instance Datatype D1CreateClusterParameterGroup instance Constructor C1_0CreateClusterParameterGroup instance Selector S1_0_0CreateClusterParameterGroup instance Selector S1_0_1CreateClusterParameterGroup instance Selector S1_0_2CreateClusterParameterGroup instance Selector S1_0_3CreateClusterParameterGroup instance Datatype D1CreateClusterParameterGroupResponse instance Constructor C1_0CreateClusterParameterGroupResponse instance Selector S1_0_0CreateClusterParameterGroupResponse instance Selector S1_0_1CreateClusterParameterGroupResponse instance ToQuery CreateClusterParameterGroup instance ToPath CreateClusterParameterGroup instance ToHeaders CreateClusterParameterGroup instance AWSRequest CreateClusterParameterGroup -- | 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. -- -- See: AWS API Reference for RestoreFromClusterSnapshot. 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 -- | 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] -- | 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: -- -- 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: -- -- 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 Typeable RestoreFromClusterSnapshot instance Typeable RestoreFromClusterSnapshotResponse instance Eq RestoreFromClusterSnapshot instance Read RestoreFromClusterSnapshot instance Show RestoreFromClusterSnapshot instance Data RestoreFromClusterSnapshot instance Generic RestoreFromClusterSnapshot instance Eq RestoreFromClusterSnapshotResponse instance Read RestoreFromClusterSnapshotResponse instance Show RestoreFromClusterSnapshotResponse instance Data RestoreFromClusterSnapshotResponse instance Generic RestoreFromClusterSnapshotResponse instance Datatype D1RestoreFromClusterSnapshot instance Constructor C1_0RestoreFromClusterSnapshot instance Selector S1_0_0RestoreFromClusterSnapshot instance Selector S1_0_1RestoreFromClusterSnapshot instance Selector S1_0_2RestoreFromClusterSnapshot instance Selector S1_0_3RestoreFromClusterSnapshot instance Selector S1_0_4RestoreFromClusterSnapshot instance Selector S1_0_5RestoreFromClusterSnapshot instance Selector S1_0_6RestoreFromClusterSnapshot instance Selector S1_0_7RestoreFromClusterSnapshot instance Selector S1_0_8RestoreFromClusterSnapshot instance Selector S1_0_9RestoreFromClusterSnapshot instance Selector S1_0_10RestoreFromClusterSnapshot instance Selector S1_0_11RestoreFromClusterSnapshot instance Selector S1_0_12RestoreFromClusterSnapshot instance Selector S1_0_13RestoreFromClusterSnapshot instance Selector S1_0_14RestoreFromClusterSnapshot instance Selector S1_0_15RestoreFromClusterSnapshot instance Selector S1_0_16RestoreFromClusterSnapshot instance Selector S1_0_17RestoreFromClusterSnapshot instance Selector S1_0_18RestoreFromClusterSnapshot instance Datatype D1RestoreFromClusterSnapshotResponse instance Constructor C1_0RestoreFromClusterSnapshotResponse instance Selector S1_0_0RestoreFromClusterSnapshotResponse instance Selector S1_0_1RestoreFromClusterSnapshotResponse instance ToQuery RestoreFromClusterSnapshot instance ToPath RestoreFromClusterSnapshot instance ToHeaders RestoreFromClusterSnapshot instance AWSRequest RestoreFromClusterSnapshot -- | 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. -- -- See: AWS API Reference for DescribeClusterParameters. -- -- 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 Typeable DescribeClusterParameters instance Typeable DescribeClusterParametersResponse instance Eq DescribeClusterParameters instance Read DescribeClusterParameters instance Show DescribeClusterParameters instance Data DescribeClusterParameters instance Generic DescribeClusterParameters instance Eq DescribeClusterParametersResponse instance Read DescribeClusterParametersResponse instance Show DescribeClusterParametersResponse instance Data DescribeClusterParametersResponse instance Generic DescribeClusterParametersResponse instance Datatype D1DescribeClusterParameters instance Constructor C1_0DescribeClusterParameters instance Selector S1_0_0DescribeClusterParameters instance Selector S1_0_1DescribeClusterParameters instance Selector S1_0_2DescribeClusterParameters instance Selector S1_0_3DescribeClusterParameters instance Datatype D1DescribeClusterParametersResponse instance Constructor C1_0DescribeClusterParametersResponse instance Selector S1_0_0DescribeClusterParametersResponse instance Selector S1_0_1DescribeClusterParametersResponse instance Selector S1_0_2DescribeClusterParametersResponse instance ToQuery DescribeClusterParameters instance ToPath DescribeClusterParameters instance ToHeaders DescribeClusterParameters instance AWSRequest DescribeClusterParameters instance AWSPager DescribeClusterParameters -- | 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. -- -- See: AWS API Reference for DisableSnapshotCopy. 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 Typeable DisableSnapshotCopy instance Typeable DisableSnapshotCopyResponse instance Eq DisableSnapshotCopy instance Read DisableSnapshotCopy instance Show DisableSnapshotCopy instance Data DisableSnapshotCopy instance Generic DisableSnapshotCopy instance Eq DisableSnapshotCopyResponse instance Read DisableSnapshotCopyResponse instance Show DisableSnapshotCopyResponse instance Data DisableSnapshotCopyResponse instance Generic DisableSnapshotCopyResponse instance Datatype D1DisableSnapshotCopy instance Constructor C1_0DisableSnapshotCopy instance Selector S1_0_0DisableSnapshotCopy instance Datatype D1DisableSnapshotCopyResponse instance Constructor C1_0DisableSnapshotCopyResponse instance Selector S1_0_0DisableSnapshotCopyResponse instance Selector S1_0_1DisableSnapshotCopyResponse instance ToQuery DisableSnapshotCopy instance ToPath DisableSnapshotCopy instance ToHeaders DisableSnapshotCopy instance AWSRequest DisableSnapshotCopy -- | 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. -- -- See: AWS API Reference for DeleteClusterSecurityGroup. 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 Typeable DeleteClusterSecurityGroup instance Typeable DeleteClusterSecurityGroupResponse instance Eq DeleteClusterSecurityGroup instance Read DeleteClusterSecurityGroup instance Show DeleteClusterSecurityGroup instance Data DeleteClusterSecurityGroup instance Generic DeleteClusterSecurityGroup instance Eq DeleteClusterSecurityGroupResponse instance Read DeleteClusterSecurityGroupResponse instance Show DeleteClusterSecurityGroupResponse instance Data DeleteClusterSecurityGroupResponse instance Generic DeleteClusterSecurityGroupResponse instance Datatype D1DeleteClusterSecurityGroup instance Constructor C1_0DeleteClusterSecurityGroup instance Selector S1_0_0DeleteClusterSecurityGroup instance Datatype D1DeleteClusterSecurityGroupResponse instance Constructor C1_0DeleteClusterSecurityGroupResponse instance ToQuery DeleteClusterSecurityGroup instance ToPath DeleteClusterSecurityGroup instance ToHeaders DeleteClusterSecurityGroup instance AWSRequest DeleteClusterSecurityGroup -- | 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. -- -- See: AWS API Reference for ModifyCluster. 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: -- -- mcMasterUserPassword :: Lens' ModifyCluster (Maybe Text) -- | Specifies the name of the HSM configuration that contains the -- information the Amazon Redshift cluster can use to retrieve and store -- keys in an HSM. mcHSMConfigurationIdentifier :: Lens' ModifyCluster (Maybe Text) -- | 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: -- -- 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 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: -- -- -- -- 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 Typeable ModifyCluster instance Typeable ModifyClusterResponse instance Eq ModifyCluster instance Read ModifyCluster instance Show ModifyCluster instance Data ModifyCluster instance Generic ModifyCluster instance Eq ModifyClusterResponse instance Read ModifyClusterResponse instance Show ModifyClusterResponse instance Data ModifyClusterResponse instance Generic ModifyClusterResponse instance Datatype D1ModifyCluster instance Constructor C1_0ModifyCluster instance Selector S1_0_0ModifyCluster instance Selector S1_0_1ModifyCluster instance Selector S1_0_2ModifyCluster instance Selector S1_0_3ModifyCluster instance Selector S1_0_4ModifyCluster instance Selector S1_0_5ModifyCluster instance Selector S1_0_6ModifyCluster instance Selector S1_0_7ModifyCluster instance Selector S1_0_8ModifyCluster instance Selector S1_0_9ModifyCluster instance Selector S1_0_10ModifyCluster instance Selector S1_0_11ModifyCluster instance Selector S1_0_12ModifyCluster instance Selector S1_0_13ModifyCluster instance Selector S1_0_14ModifyCluster instance Datatype D1ModifyClusterResponse instance Constructor C1_0ModifyClusterResponse instance Selector S1_0_0ModifyClusterResponse instance Selector S1_0_1ModifyClusterResponse instance ToQuery ModifyCluster instance ToPath ModifyCluster instance ToHeaders ModifyCluster instance AWSRequest ModifyCluster -- | Describes whether information, such as queries and connection -- attempts, is being logged for the specified Amazon Redshift cluster. -- -- See: AWS API Reference for DescribeLoggingStatus. 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 to get the logging status from. -- -- 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 when 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 Typeable DescribeLoggingStatus instance Eq DescribeLoggingStatus instance Read DescribeLoggingStatus instance Show DescribeLoggingStatus instance Data DescribeLoggingStatus instance Generic DescribeLoggingStatus instance Datatype D1DescribeLoggingStatus instance Constructor C1_0DescribeLoggingStatus instance Selector S1_0_0DescribeLoggingStatus instance ToQuery DescribeLoggingStatus instance ToPath DescribeLoggingStatus instance ToHeaders DescribeLoggingStatus instance AWSRequest 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. -- -- See: AWS API Reference for CreateHSMConfiguration. 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 Typeable CreateHSMConfiguration instance Typeable CreateHSMConfigurationResponse instance Eq CreateHSMConfiguration instance Read CreateHSMConfiguration instance Show CreateHSMConfiguration instance Data CreateHSMConfiguration instance Generic CreateHSMConfiguration instance Eq CreateHSMConfigurationResponse instance Read CreateHSMConfigurationResponse instance Show CreateHSMConfigurationResponse instance Data CreateHSMConfigurationResponse instance Generic CreateHSMConfigurationResponse instance Datatype D1CreateHSMConfiguration instance Constructor C1_0CreateHSMConfiguration instance Selector S1_0_0CreateHSMConfiguration instance Selector S1_0_1CreateHSMConfiguration instance Selector S1_0_2CreateHSMConfiguration instance Selector S1_0_3CreateHSMConfiguration instance Selector S1_0_4CreateHSMConfiguration instance Selector S1_0_5CreateHSMConfiguration instance Selector S1_0_6CreateHSMConfiguration instance Datatype D1CreateHSMConfigurationResponse instance Constructor C1_0CreateHSMConfigurationResponse instance Selector S1_0_0CreateHSMConfigurationResponse instance Selector S1_0_1CreateHSMConfigurationResponse instance ToQuery CreateHSMConfiguration instance ToPath CreateHSMConfiguration instance ToHeaders CreateHSMConfiguration instance AWSRequest CreateHSMConfiguration -- | 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. -- -- See: AWS API Reference for CreateClusterSnapshot. 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: -- -- -- -- 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 Typeable CreateClusterSnapshot instance Typeable CreateClusterSnapshotResponse instance Eq CreateClusterSnapshot instance Read CreateClusterSnapshot instance Show CreateClusterSnapshot instance Data CreateClusterSnapshot instance Generic CreateClusterSnapshot instance Eq CreateClusterSnapshotResponse instance Read CreateClusterSnapshotResponse instance Show CreateClusterSnapshotResponse instance Data CreateClusterSnapshotResponse instance Generic CreateClusterSnapshotResponse instance Datatype D1CreateClusterSnapshot instance Constructor C1_0CreateClusterSnapshot instance Selector S1_0_0CreateClusterSnapshot instance Selector S1_0_1CreateClusterSnapshot instance Selector S1_0_2CreateClusterSnapshot instance Datatype D1CreateClusterSnapshotResponse instance Constructor C1_0CreateClusterSnapshotResponse instance Selector S1_0_0CreateClusterSnapshotResponse instance Selector S1_0_1CreateClusterSnapshotResponse instance ToQuery CreateClusterSnapshot instance ToPath CreateClusterSnapshot instance ToHeaders CreateClusterSnapshot instance AWSRequest CreateClusterSnapshot -- | Adds an inbound (ingress) rule to an Amazon Redshift security group. -- Depending on whether the application accessing your cluster is running -- on the Internet or an EC2 instance, you can authorize inbound access -- to either a Classless Interdomain Routing (CIDR) IP address range or -- an EC2 security group. You can add as many as 20 ingress rules to an -- Amazon Redshift security group. -- -- The EC2 security group must be defined in the AWS region where the -- cluster resides. -- -- For an overview of CIDR blocks, see the Wikipedia article on -- Classless Inter-Domain Routing. -- -- You must also associate the security group with a cluster so that -- clients running on these IP addresses or the EC2 instance are -- authorized to connect to the cluster. For information about managing -- security groups, go to Working with Security Groups in the -- Amazon Redshift Cluster Management Guide. -- -- See: AWS API Reference for -- AuthorizeClusterSecurityGroupIngress. 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 Typeable AuthorizeClusterSecurityGroupIngress instance Typeable AuthorizeClusterSecurityGroupIngressResponse instance Eq AuthorizeClusterSecurityGroupIngress instance Read AuthorizeClusterSecurityGroupIngress instance Show AuthorizeClusterSecurityGroupIngress instance Data AuthorizeClusterSecurityGroupIngress instance Generic AuthorizeClusterSecurityGroupIngress instance Eq AuthorizeClusterSecurityGroupIngressResponse instance Read AuthorizeClusterSecurityGroupIngressResponse instance Show AuthorizeClusterSecurityGroupIngressResponse instance Data AuthorizeClusterSecurityGroupIngressResponse instance Generic AuthorizeClusterSecurityGroupIngressResponse instance Datatype D1AuthorizeClusterSecurityGroupIngress instance Constructor C1_0AuthorizeClusterSecurityGroupIngress instance Selector S1_0_0AuthorizeClusterSecurityGroupIngress instance Selector S1_0_1AuthorizeClusterSecurityGroupIngress instance Selector S1_0_2AuthorizeClusterSecurityGroupIngress instance Selector S1_0_3AuthorizeClusterSecurityGroupIngress instance Datatype D1AuthorizeClusterSecurityGroupIngressResponse instance Constructor C1_0AuthorizeClusterSecurityGroupIngressResponse instance Selector S1_0_0AuthorizeClusterSecurityGroupIngressResponse instance Selector S1_0_1AuthorizeClusterSecurityGroupIngressResponse instance ToQuery AuthorizeClusterSecurityGroupIngress instance ToPath AuthorizeClusterSecurityGroupIngress instance ToHeaders AuthorizeClusterSecurityGroupIngress instance AWSRequest AuthorizeClusterSecurityGroupIngress -- | Deletes the specified Amazon Redshift HSM configuration. -- -- See: AWS API Reference for DeleteHSMConfiguration. 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 Typeable DeleteHSMConfiguration instance Typeable DeleteHSMConfigurationResponse instance Eq DeleteHSMConfiguration instance Read DeleteHSMConfiguration instance Show DeleteHSMConfiguration instance Data DeleteHSMConfiguration instance Generic DeleteHSMConfiguration instance Eq DeleteHSMConfigurationResponse instance Read DeleteHSMConfigurationResponse instance Show DeleteHSMConfigurationResponse instance Data DeleteHSMConfigurationResponse instance Generic DeleteHSMConfigurationResponse instance Datatype D1DeleteHSMConfiguration instance Constructor C1_0DeleteHSMConfiguration instance Selector S1_0_0DeleteHSMConfiguration instance Datatype D1DeleteHSMConfigurationResponse instance Constructor C1_0DeleteHSMConfigurationResponse instance ToQuery DeleteHSMConfiguration instance ToPath DeleteHSMConfiguration instance ToHeaders DeleteHSMConfiguration instance AWSRequest DeleteHSMConfiguration -- | 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. -- -- See: AWS API Reference for DescribeResize. 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 Typeable DescribeResize instance Typeable DescribeResizeResponse instance Eq DescribeResize instance Read DescribeResize instance Show DescribeResize instance Data DescribeResize instance Generic DescribeResize instance Eq DescribeResizeResponse instance Read DescribeResizeResponse instance Show DescribeResizeResponse instance Data DescribeResizeResponse instance Generic DescribeResizeResponse instance Datatype D1DescribeResize instance Constructor C1_0DescribeResize instance Selector S1_0_0DescribeResize instance Datatype D1DescribeResizeResponse instance Constructor C1_0DescribeResizeResponse instance Selector S1_0_0DescribeResizeResponse instance Selector S1_0_1DescribeResizeResponse instance Selector S1_0_2DescribeResizeResponse instance Selector S1_0_3DescribeResizeResponse instance Selector S1_0_4DescribeResizeResponse instance Selector S1_0_5DescribeResizeResponse instance Selector S1_0_6DescribeResizeResponse instance Selector S1_0_7DescribeResizeResponse instance Selector S1_0_8DescribeResizeResponse instance Selector S1_0_9DescribeResizeResponse instance Selector S1_0_10DescribeResizeResponse instance Selector S1_0_11DescribeResizeResponse instance Selector S1_0_12DescribeResizeResponse instance ToQuery DescribeResize instance ToPath DescribeResize instance ToHeaders DescribeResize instance AWSRequest DescribeResize -- | 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. -- -- See: AWS API Reference for DescribeEventCategories. 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, snapshot, parameter group, and 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 Typeable DescribeEventCategories instance Typeable DescribeEventCategoriesResponse instance Eq DescribeEventCategories instance Read DescribeEventCategories instance Show DescribeEventCategories instance Data DescribeEventCategories instance Generic DescribeEventCategories instance Eq DescribeEventCategoriesResponse instance Read DescribeEventCategoriesResponse instance Show DescribeEventCategoriesResponse instance Data DescribeEventCategoriesResponse instance Generic DescribeEventCategoriesResponse instance Datatype D1DescribeEventCategories instance Constructor C1_0DescribeEventCategories instance Selector S1_0_0DescribeEventCategories instance Datatype D1DescribeEventCategoriesResponse instance Constructor C1_0DescribeEventCategoriesResponse instance Selector S1_0_0DescribeEventCategoriesResponse instance Selector S1_0_1DescribeEventCategoriesResponse instance ToQuery DescribeEventCategories instance ToPath DescribeEventCategories instance ToHeaders DescribeEventCategories instance AWSRequest DescribeEventCategories -- | 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. -- -- See: AWS API Reference for CreateClusterSecurityGroup. 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: -- -- -- -- 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 Typeable CreateClusterSecurityGroup instance Typeable CreateClusterSecurityGroupResponse instance Eq CreateClusterSecurityGroup instance Read CreateClusterSecurityGroup instance Show CreateClusterSecurityGroup instance Data CreateClusterSecurityGroup instance Generic CreateClusterSecurityGroup instance Eq CreateClusterSecurityGroupResponse instance Read CreateClusterSecurityGroupResponse instance Show CreateClusterSecurityGroupResponse instance Data CreateClusterSecurityGroupResponse instance Generic CreateClusterSecurityGroupResponse instance Datatype D1CreateClusterSecurityGroup instance Constructor C1_0CreateClusterSecurityGroup instance Selector S1_0_0CreateClusterSecurityGroup instance Selector S1_0_1CreateClusterSecurityGroup instance Selector S1_0_2CreateClusterSecurityGroup instance Datatype D1CreateClusterSecurityGroupResponse instance Constructor C1_0CreateClusterSecurityGroupResponse instance Selector S1_0_0CreateClusterSecurityGroupResponse instance Selector S1_0_1CreateClusterSecurityGroupResponse instance ToQuery CreateClusterSecurityGroup instance ToPath CreateClusterSecurityGroup instance ToHeaders CreateClusterSecurityGroup instance AWSRequest CreateClusterSecurityGroup -- | 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. -- -- See: AWS API Reference for ModifyClusterParameterGroup. 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 -- | Contains the output from the ModifyClusterParameterGroup and -- ResetClusterParameterGroup actions and indicate the parameter group -- involved and the status of the operation on the parameter group. -- -- 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 Typeable ModifyClusterParameterGroup instance Eq ModifyClusterParameterGroup instance Read ModifyClusterParameterGroup instance Show ModifyClusterParameterGroup instance Data ModifyClusterParameterGroup instance Generic ModifyClusterParameterGroup instance Datatype D1ModifyClusterParameterGroup instance Constructor C1_0ModifyClusterParameterGroup instance Selector S1_0_0ModifyClusterParameterGroup instance Selector S1_0_1ModifyClusterParameterGroup instance ToQuery ModifyClusterParameterGroup instance ToPath ModifyClusterParameterGroup instance ToHeaders ModifyClusterParameterGroup instance AWSRequest 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. -- -- See: AWS API Reference for -- DescribeHSMClientCertificates. -- -- 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 Typeable DescribeHSMClientCertificates instance Typeable DescribeHSMClientCertificatesResponse instance Eq DescribeHSMClientCertificates instance Read DescribeHSMClientCertificates instance Show DescribeHSMClientCertificates instance Data DescribeHSMClientCertificates instance Generic DescribeHSMClientCertificates instance Eq DescribeHSMClientCertificatesResponse instance Read DescribeHSMClientCertificatesResponse instance Show DescribeHSMClientCertificatesResponse instance Data DescribeHSMClientCertificatesResponse instance Generic DescribeHSMClientCertificatesResponse instance Datatype D1DescribeHSMClientCertificates instance Constructor C1_0DescribeHSMClientCertificates instance Selector S1_0_0DescribeHSMClientCertificates instance Selector S1_0_1DescribeHSMClientCertificates instance Selector S1_0_2DescribeHSMClientCertificates instance Selector S1_0_3DescribeHSMClientCertificates instance Selector S1_0_4DescribeHSMClientCertificates instance Datatype D1DescribeHSMClientCertificatesResponse instance Constructor C1_0DescribeHSMClientCertificatesResponse instance Selector S1_0_0DescribeHSMClientCertificatesResponse instance Selector S1_0_1DescribeHSMClientCertificatesResponse instance Selector S1_0_2DescribeHSMClientCertificatesResponse instance ToQuery DescribeHSMClientCertificates instance ToPath DescribeHSMClientCertificates instance ToHeaders DescribeHSMClientCertificates instance AWSRequest DescribeHSMClientCertificates instance AWSPager DescribeHSMClientCertificates -- | 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. -- -- See: AWS API Reference for -- RevokeClusterSecurityGroupIngress. 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 Typeable RevokeClusterSecurityGroupIngress instance Typeable RevokeClusterSecurityGroupIngressResponse instance Eq RevokeClusterSecurityGroupIngress instance Read RevokeClusterSecurityGroupIngress instance Show RevokeClusterSecurityGroupIngress instance Data RevokeClusterSecurityGroupIngress instance Generic RevokeClusterSecurityGroupIngress instance Eq RevokeClusterSecurityGroupIngressResponse instance Read RevokeClusterSecurityGroupIngressResponse instance Show RevokeClusterSecurityGroupIngressResponse instance Data RevokeClusterSecurityGroupIngressResponse instance Generic RevokeClusterSecurityGroupIngressResponse instance Datatype D1RevokeClusterSecurityGroupIngress instance Constructor C1_0RevokeClusterSecurityGroupIngress instance Selector S1_0_0RevokeClusterSecurityGroupIngress instance Selector S1_0_1RevokeClusterSecurityGroupIngress instance Selector S1_0_2RevokeClusterSecurityGroupIngress instance Selector S1_0_3RevokeClusterSecurityGroupIngress instance Datatype D1RevokeClusterSecurityGroupIngressResponse instance Constructor C1_0RevokeClusterSecurityGroupIngressResponse instance Selector S1_0_0RevokeClusterSecurityGroupIngressResponse instance Selector S1_0_1RevokeClusterSecurityGroupIngressResponse instance ToQuery RevokeClusterSecurityGroupIngress instance ToPath RevokeClusterSecurityGroupIngress instance ToHeaders RevokeClusterSecurityGroupIngress instance AWSRequest RevokeClusterSecurityGroupIngress -- | 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. -- -- See: AWS API Reference for DescribeEventSubscriptions. -- -- 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 Typeable DescribeEventSubscriptions instance Typeable DescribeEventSubscriptionsResponse instance Eq DescribeEventSubscriptions instance Read DescribeEventSubscriptions instance Show DescribeEventSubscriptions instance Data DescribeEventSubscriptions instance Generic DescribeEventSubscriptions instance Eq DescribeEventSubscriptionsResponse instance Read DescribeEventSubscriptionsResponse instance Show DescribeEventSubscriptionsResponse instance Data DescribeEventSubscriptionsResponse instance Generic DescribeEventSubscriptionsResponse instance Datatype D1DescribeEventSubscriptions instance Constructor C1_0DescribeEventSubscriptions instance Selector S1_0_0DescribeEventSubscriptions instance Selector S1_0_1DescribeEventSubscriptions instance Selector S1_0_2DescribeEventSubscriptions instance Datatype D1DescribeEventSubscriptionsResponse instance Constructor C1_0DescribeEventSubscriptionsResponse instance Selector S1_0_0DescribeEventSubscriptionsResponse instance Selector S1_0_1DescribeEventSubscriptionsResponse instance Selector S1_0_2DescribeEventSubscriptionsResponse instance ToQuery DescribeEventSubscriptions instance ToPath DescribeEventSubscriptions instance ToHeaders DescribeEventSubscriptions instance AWSRequest DescribeEventSubscriptions instance AWSPager DescribeEventSubscriptions -- | 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. -- -- See: AWS API Reference for ResetClusterParameterGroup. 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 -- | Contains the output from the ModifyClusterParameterGroup and -- ResetClusterParameterGroup actions and indicate the parameter group -- involved and the status of the operation on the parameter group. -- -- 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 Typeable ResetClusterParameterGroup instance Eq ResetClusterParameterGroup instance Read ResetClusterParameterGroup instance Show ResetClusterParameterGroup instance Data ResetClusterParameterGroup instance Generic ResetClusterParameterGroup instance Datatype D1ResetClusterParameterGroup instance Constructor C1_0ResetClusterParameterGroup instance Selector S1_0_0ResetClusterParameterGroup instance Selector S1_0_1ResetClusterParameterGroup instance Selector S1_0_2ResetClusterParameterGroup instance ToQuery ResetClusterParameterGroup instance ToPath ResetClusterParameterGroup instance ToHeaders ResetClusterParameterGroup instance AWSRequest ResetClusterParameterGroup -- | Deletes an Amazon Redshift event notification subscription. -- -- See: AWS API Reference for DeleteEventSubscription. 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 Typeable DeleteEventSubscription instance Typeable DeleteEventSubscriptionResponse instance Eq DeleteEventSubscription instance Read DeleteEventSubscription instance Show DeleteEventSubscription instance Data DeleteEventSubscription instance Generic DeleteEventSubscription instance Eq DeleteEventSubscriptionResponse instance Read DeleteEventSubscriptionResponse instance Show DeleteEventSubscriptionResponse instance Data DeleteEventSubscriptionResponse instance Generic DeleteEventSubscriptionResponse instance Datatype D1DeleteEventSubscription instance Constructor C1_0DeleteEventSubscription instance Selector S1_0_0DeleteEventSubscription instance Datatype D1DeleteEventSubscriptionResponse instance Constructor C1_0DeleteEventSubscriptionResponse instance ToQuery DeleteEventSubscription instance ToPath DeleteEventSubscription instance ToHeaders DeleteEventSubscription instance AWSRequest DeleteEventSubscription -- | 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. -- -- See: AWS API Reference for -- DescribeDefaultClusterParameters. -- -- 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 Typeable DescribeDefaultClusterParameters instance Typeable DescribeDefaultClusterParametersResponse instance Eq DescribeDefaultClusterParameters instance Read DescribeDefaultClusterParameters instance Show DescribeDefaultClusterParameters instance Data DescribeDefaultClusterParameters instance Generic DescribeDefaultClusterParameters instance Eq DescribeDefaultClusterParametersResponse instance Read DescribeDefaultClusterParametersResponse instance Show DescribeDefaultClusterParametersResponse instance Data DescribeDefaultClusterParametersResponse instance Generic DescribeDefaultClusterParametersResponse instance Datatype D1DescribeDefaultClusterParameters instance Constructor C1_0DescribeDefaultClusterParameters instance Selector S1_0_0DescribeDefaultClusterParameters instance Selector S1_0_1DescribeDefaultClusterParameters instance Selector S1_0_2DescribeDefaultClusterParameters instance Datatype D1DescribeDefaultClusterParametersResponse instance Constructor C1_0DescribeDefaultClusterParametersResponse instance Selector S1_0_0DescribeDefaultClusterParametersResponse instance Selector S1_0_1DescribeDefaultClusterParametersResponse instance ToQuery DescribeDefaultClusterParameters instance ToPath DescribeDefaultClusterParameters instance ToHeaders DescribeDefaultClusterParameters instance AWSRequest DescribeDefaultClusterParameters instance AWSPager DescribeDefaultClusterParameters -- | 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. -- -- See: AWS API Reference for CreateHSMClientCertificate. 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 Typeable CreateHSMClientCertificate instance Typeable CreateHSMClientCertificateResponse instance Eq CreateHSMClientCertificate instance Read CreateHSMClientCertificate instance Show CreateHSMClientCertificate instance Data CreateHSMClientCertificate instance Generic CreateHSMClientCertificate instance Eq CreateHSMClientCertificateResponse instance Read CreateHSMClientCertificateResponse instance Show CreateHSMClientCertificateResponse instance Data CreateHSMClientCertificateResponse instance Generic CreateHSMClientCertificateResponse instance Datatype D1CreateHSMClientCertificate instance Constructor C1_0CreateHSMClientCertificate instance Selector S1_0_0CreateHSMClientCertificate instance Selector S1_0_1CreateHSMClientCertificate instance Datatype D1CreateHSMClientCertificateResponse instance Constructor C1_0CreateHSMClientCertificateResponse instance Selector S1_0_0CreateHSMClientCertificateResponse instance Selector S1_0_1CreateHSMClientCertificateResponse instance ToQuery CreateHSMClientCertificate instance ToPath CreateHSMClientCertificate instance ToHeaders CreateHSMClientCertificate instance AWSRequest CreateHSMClientCertificate -- | 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 . -- -- See: AWS API Reference for CreateCluster. 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 -- | 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] -- | The type of the cluster. When cluster type is specified as -- -- -- -- 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: -- -- 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: -- -- 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: -- -- -- -- 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: -- -- ccMasterUsername :: Lens' CreateCluster Text -- | The password associated with the master user account for the cluster -- that is being created. -- -- Constraints: -- -- 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 Typeable CreateCluster instance Typeable CreateClusterResponse instance Eq CreateCluster instance Read CreateCluster instance Show CreateCluster instance Data CreateCluster instance Generic CreateCluster instance Eq CreateClusterResponse instance Read CreateClusterResponse instance Show CreateClusterResponse instance Data CreateClusterResponse instance Generic CreateClusterResponse instance Datatype D1CreateCluster instance Constructor C1_0CreateCluster instance Selector S1_0_0CreateCluster instance Selector S1_0_1CreateCluster instance Selector S1_0_2CreateCluster instance Selector S1_0_3CreateCluster instance Selector S1_0_4CreateCluster instance Selector S1_0_5CreateCluster instance Selector S1_0_6CreateCluster instance Selector S1_0_7CreateCluster instance Selector S1_0_8CreateCluster instance Selector S1_0_9CreateCluster instance Selector S1_0_10CreateCluster instance Selector S1_0_11CreateCluster instance Selector S1_0_12CreateCluster instance Selector S1_0_13CreateCluster instance Selector S1_0_14CreateCluster instance Selector S1_0_15CreateCluster instance Selector S1_0_16CreateCluster instance Selector S1_0_17CreateCluster instance Selector S1_0_18CreateCluster instance Selector S1_0_19CreateCluster instance Selector S1_0_20CreateCluster instance Selector S1_0_21CreateCluster instance Selector S1_0_22CreateCluster instance Selector S1_0_23CreateCluster instance Datatype D1CreateClusterResponse instance Constructor C1_0CreateClusterResponse instance Selector S1_0_0CreateClusterResponse instance Selector S1_0_1CreateClusterResponse instance ToQuery CreateCluster instance ToPath CreateCluster instance ToHeaders CreateCluster instance AWSRequest CreateCluster -- | 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 -- -- See: AWS API Reference for -- DescribeOrderableClusterOptions. -- -- 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 Typeable DescribeOrderableClusterOptions instance Typeable DescribeOrderableClusterOptionsResponse instance Eq DescribeOrderableClusterOptions instance Read DescribeOrderableClusterOptions instance Show DescribeOrderableClusterOptions instance Data DescribeOrderableClusterOptions instance Generic DescribeOrderableClusterOptions instance Eq DescribeOrderableClusterOptionsResponse instance Read DescribeOrderableClusterOptionsResponse instance Show DescribeOrderableClusterOptionsResponse instance Data DescribeOrderableClusterOptionsResponse instance Generic DescribeOrderableClusterOptionsResponse instance Datatype D1DescribeOrderableClusterOptions instance Constructor C1_0DescribeOrderableClusterOptions instance Selector S1_0_0DescribeOrderableClusterOptions instance Selector S1_0_1DescribeOrderableClusterOptions instance Selector S1_0_2DescribeOrderableClusterOptions instance Selector S1_0_3DescribeOrderableClusterOptions instance Datatype D1DescribeOrderableClusterOptionsResponse instance Constructor C1_0DescribeOrderableClusterOptionsResponse instance Selector S1_0_0DescribeOrderableClusterOptionsResponse instance Selector S1_0_1DescribeOrderableClusterOptionsResponse instance Selector S1_0_2DescribeOrderableClusterOptionsResponse instance ToQuery DescribeOrderableClusterOptions instance ToPath DescribeOrderableClusterOptions instance ToHeaders DescribeOrderableClusterOptions instance AWSRequest DescribeOrderableClusterOptions instance AWSPager DescribeOrderableClusterOptions -- | 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. -- -- See: AWS API Reference for CreateEventSubscription. 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: -- -- 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 Typeable CreateEventSubscription instance Typeable CreateEventSubscriptionResponse instance Eq CreateEventSubscription instance Read CreateEventSubscription instance Show CreateEventSubscription instance Data CreateEventSubscription instance Generic CreateEventSubscription instance Eq CreateEventSubscriptionResponse instance Read CreateEventSubscriptionResponse instance Show CreateEventSubscriptionResponse instance Data CreateEventSubscriptionResponse instance Generic CreateEventSubscriptionResponse instance Datatype D1CreateEventSubscription instance Constructor C1_0CreateEventSubscription instance Selector S1_0_0CreateEventSubscription instance Selector S1_0_1CreateEventSubscription instance Selector S1_0_2CreateEventSubscription instance Selector S1_0_3CreateEventSubscription instance Selector S1_0_4CreateEventSubscription instance Selector S1_0_5CreateEventSubscription instance Selector S1_0_6CreateEventSubscription instance Selector S1_0_7CreateEventSubscription instance Datatype D1CreateEventSubscriptionResponse instance Constructor C1_0CreateEventSubscriptionResponse instance Selector S1_0_0CreateEventSubscriptionResponse instance Selector S1_0_1CreateEventSubscriptionResponse instance ToQuery CreateEventSubscription instance ToPath CreateEventSubscription instance ToHeaders CreateEventSubscription instance AWSRequest CreateEventSubscription -- | 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 . -- -- See: AWS API Reference for DeleteCluster. 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: -- -- delFinalClusterSnapshotIdentifier :: Lens' DeleteCluster (Maybe Text) -- | The identifier of the cluster to be deleted. -- -- Constraints: -- -- 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 Typeable DeleteCluster instance Typeable DeleteClusterResponse instance Eq DeleteCluster instance Read DeleteCluster instance Show DeleteCluster instance Data DeleteCluster instance Generic DeleteCluster instance Eq DeleteClusterResponse instance Read DeleteClusterResponse instance Show DeleteClusterResponse instance Data DeleteClusterResponse instance Generic DeleteClusterResponse instance Datatype D1DeleteCluster instance Constructor C1_0DeleteCluster instance Selector S1_0_0DeleteCluster instance Selector S1_0_1DeleteCluster instance Selector S1_0_2DeleteCluster instance Datatype D1DeleteClusterResponse instance Constructor C1_0DeleteClusterResponse instance Selector S1_0_0DeleteClusterResponse instance Selector S1_0_1DeleteClusterResponse instance ToQuery DeleteCluster instance ToPath DeleteCluster instance ToHeaders DeleteCluster instance AWSRequest DeleteCluster -- | 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 -- -- See: AWS API Reference for RebootCluster. 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 Typeable RebootCluster instance Typeable RebootClusterResponse instance Eq RebootCluster instance Read RebootCluster instance Show RebootCluster instance Data RebootCluster instance Generic RebootCluster instance Eq RebootClusterResponse instance Read RebootClusterResponse instance Show RebootClusterResponse instance Data RebootClusterResponse instance Generic RebootClusterResponse instance Datatype D1RebootCluster instance Constructor C1_0RebootCluster instance Selector S1_0_0RebootCluster instance Datatype D1RebootClusterResponse instance Constructor C1_0RebootClusterResponse instance Selector S1_0_0RebootClusterResponse instance Selector S1_0_1RebootClusterResponse instance ToQuery RebootCluster instance ToPath RebootCluster instance ToHeaders RebootCluster instance AWSRequest RebootCluster -- | 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. -- -- See: AWS API Reference for AuthorizeSnapshotAccess. 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 Typeable AuthorizeSnapshotAccess instance Typeable AuthorizeSnapshotAccessResponse instance Eq AuthorizeSnapshotAccess instance Read AuthorizeSnapshotAccess instance Show AuthorizeSnapshotAccess instance Data AuthorizeSnapshotAccess instance Generic AuthorizeSnapshotAccess instance Eq AuthorizeSnapshotAccessResponse instance Read AuthorizeSnapshotAccessResponse instance Show AuthorizeSnapshotAccessResponse instance Data AuthorizeSnapshotAccessResponse instance Generic AuthorizeSnapshotAccessResponse instance Datatype D1AuthorizeSnapshotAccess instance Constructor C1_0AuthorizeSnapshotAccess instance Selector S1_0_0AuthorizeSnapshotAccess instance Selector S1_0_1AuthorizeSnapshotAccess instance Selector S1_0_2AuthorizeSnapshotAccess instance Datatype D1AuthorizeSnapshotAccessResponse instance Constructor C1_0AuthorizeSnapshotAccessResponse instance Selector S1_0_0AuthorizeSnapshotAccessResponse instance Selector S1_0_1AuthorizeSnapshotAccessResponse instance ToQuery AuthorizeSnapshotAccess instance ToPath AuthorizeSnapshotAccess instance ToHeaders AuthorizeSnapshotAccess instance AWSRequest AuthorizeSnapshotAccess -- | Modifies the number of days to retain automated snapshots in the -- destination region after they are copied from the source region. -- -- See: AWS API Reference for -- ModifySnapshotCopyRetentionPeriod. 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 Typeable ModifySnapshotCopyRetentionPeriod instance Typeable ModifySnapshotCopyRetentionPeriodResponse instance Eq ModifySnapshotCopyRetentionPeriod instance Read ModifySnapshotCopyRetentionPeriod instance Show ModifySnapshotCopyRetentionPeriod instance Data ModifySnapshotCopyRetentionPeriod instance Generic ModifySnapshotCopyRetentionPeriod instance Eq ModifySnapshotCopyRetentionPeriodResponse instance Read ModifySnapshotCopyRetentionPeriodResponse instance Show ModifySnapshotCopyRetentionPeriodResponse instance Data ModifySnapshotCopyRetentionPeriodResponse instance Generic ModifySnapshotCopyRetentionPeriodResponse instance Datatype D1ModifySnapshotCopyRetentionPeriod instance Constructor C1_0ModifySnapshotCopyRetentionPeriod instance Selector S1_0_0ModifySnapshotCopyRetentionPeriod instance Selector S1_0_1ModifySnapshotCopyRetentionPeriod instance Datatype D1ModifySnapshotCopyRetentionPeriodResponse instance Constructor C1_0ModifySnapshotCopyRetentionPeriodResponse instance Selector S1_0_0ModifySnapshotCopyRetentionPeriodResponse instance Selector S1_0_1ModifySnapshotCopyRetentionPeriodResponse instance ToQuery ModifySnapshotCopyRetentionPeriod instance ToPath ModifySnapshotCopyRetentionPeriod instance ToHeaders ModifySnapshotCopyRetentionPeriod instance AWSRequest ModifySnapshotCopyRetentionPeriod -- | 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. -- -- See: AWS API Reference for DescribeClusterSubnetGroups. -- -- 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 Typeable DescribeClusterSubnetGroups instance Typeable DescribeClusterSubnetGroupsResponse instance Eq DescribeClusterSubnetGroups instance Read DescribeClusterSubnetGroups instance Show DescribeClusterSubnetGroups instance Data DescribeClusterSubnetGroups instance Generic DescribeClusterSubnetGroups instance Eq DescribeClusterSubnetGroupsResponse instance Read DescribeClusterSubnetGroupsResponse instance Show DescribeClusterSubnetGroupsResponse instance Data DescribeClusterSubnetGroupsResponse instance Generic DescribeClusterSubnetGroupsResponse instance Datatype D1DescribeClusterSubnetGroups instance Constructor C1_0DescribeClusterSubnetGroups instance Selector S1_0_0DescribeClusterSubnetGroups instance Selector S1_0_1DescribeClusterSubnetGroups instance Selector S1_0_2DescribeClusterSubnetGroups instance Selector S1_0_3DescribeClusterSubnetGroups instance Selector S1_0_4DescribeClusterSubnetGroups instance Datatype D1DescribeClusterSubnetGroupsResponse instance Constructor C1_0DescribeClusterSubnetGroupsResponse instance Selector S1_0_0DescribeClusterSubnetGroupsResponse instance Selector S1_0_1DescribeClusterSubnetGroupsResponse instance Selector S1_0_2DescribeClusterSubnetGroupsResponse instance ToQuery DescribeClusterSubnetGroups instance ToPath DescribeClusterSubnetGroups instance ToHeaders DescribeClusterSubnetGroups instance AWSRequest DescribeClusterSubnetGroups instance AWSPager DescribeClusterSubnetGroups -- | 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. -- -- See: AWS API Reference for DeleteTags. 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 Typeable DeleteTags instance Typeable DeleteTagsResponse instance Eq DeleteTags instance Read DeleteTags instance Show DeleteTags instance Data DeleteTags instance Generic DeleteTags instance Eq DeleteTagsResponse instance Read DeleteTagsResponse instance Show DeleteTagsResponse instance Data DeleteTagsResponse instance Generic DeleteTagsResponse instance Datatype D1DeleteTags instance Constructor C1_0DeleteTags instance Selector S1_0_0DeleteTags instance Selector S1_0_1DeleteTags instance Datatype D1DeleteTagsResponse instance Constructor C1_0DeleteTagsResponse instance ToQuery DeleteTags instance ToPath DeleteTags instance ToHeaders DeleteTags instance AWSRequest DeleteTags -- | 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. -- -- See: AWS API Reference for DescribeClusterSnapshots. -- -- 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 Typeable DescribeClusterSnapshots instance Typeable DescribeClusterSnapshotsResponse instance Eq DescribeClusterSnapshots instance Read DescribeClusterSnapshots instance Show DescribeClusterSnapshots instance Data DescribeClusterSnapshots instance Generic DescribeClusterSnapshots instance Eq DescribeClusterSnapshotsResponse instance Read DescribeClusterSnapshotsResponse instance Show DescribeClusterSnapshotsResponse instance Data DescribeClusterSnapshotsResponse instance Generic DescribeClusterSnapshotsResponse instance Datatype D1DescribeClusterSnapshots instance Constructor C1_0DescribeClusterSnapshots instance Selector S1_0_0DescribeClusterSnapshots instance Selector S1_0_1DescribeClusterSnapshots instance Selector S1_0_2DescribeClusterSnapshots instance Selector S1_0_3DescribeClusterSnapshots instance Selector S1_0_4DescribeClusterSnapshots instance Selector S1_0_5DescribeClusterSnapshots instance Selector S1_0_6DescribeClusterSnapshots instance Selector S1_0_7DescribeClusterSnapshots instance Selector S1_0_8DescribeClusterSnapshots instance Selector S1_0_9DescribeClusterSnapshots instance Datatype D1DescribeClusterSnapshotsResponse instance Constructor C1_0DescribeClusterSnapshotsResponse instance Selector S1_0_0DescribeClusterSnapshotsResponse instance Selector S1_0_1DescribeClusterSnapshotsResponse instance Selector S1_0_2DescribeClusterSnapshotsResponse instance ToQuery DescribeClusterSnapshots instance ToPath DescribeClusterSnapshots instance ToHeaders DescribeClusterSnapshots instance AWSRequest DescribeClusterSnapshots instance AWSPager DescribeClusterSnapshots -- | Enables the automatic copy of snapshots from one region to another -- region for a specified cluster. -- -- See: AWS API Reference for EnableSnapshotCopy. 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 Typeable EnableSnapshotCopy instance Typeable EnableSnapshotCopyResponse instance Eq EnableSnapshotCopy instance Read EnableSnapshotCopy instance Show EnableSnapshotCopy instance Data EnableSnapshotCopy instance Generic EnableSnapshotCopy instance Eq EnableSnapshotCopyResponse instance Read EnableSnapshotCopyResponse instance Show EnableSnapshotCopyResponse instance Data EnableSnapshotCopyResponse instance Generic EnableSnapshotCopyResponse instance Datatype D1EnableSnapshotCopy instance Constructor C1_0EnableSnapshotCopy instance Selector S1_0_0EnableSnapshotCopy instance Selector S1_0_1EnableSnapshotCopy instance Selector S1_0_2EnableSnapshotCopy instance Selector S1_0_3EnableSnapshotCopy instance Datatype D1EnableSnapshotCopyResponse instance Constructor C1_0EnableSnapshotCopyResponse instance Selector S1_0_0EnableSnapshotCopyResponse instance Selector S1_0_1EnableSnapshotCopyResponse instance ToQuery EnableSnapshotCopy instance ToPath EnableSnapshotCopy instance ToHeaders EnableSnapshotCopy instance AWSRequest EnableSnapshotCopy -- | 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. -- -- See: AWS API Reference for CreateTags. 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 Typeable CreateTags instance Typeable CreateTagsResponse instance Eq CreateTags instance Read CreateTags instance Show CreateTags instance Data CreateTags instance Generic CreateTags instance Eq CreateTagsResponse instance Read CreateTagsResponse instance Show CreateTagsResponse instance Data CreateTagsResponse instance Generic CreateTagsResponse instance Datatype D1CreateTags instance Constructor C1_0CreateTags instance Selector S1_0_0CreateTags instance Selector S1_0_1CreateTags instance Datatype D1CreateTagsResponse instance Constructor C1_0CreateTagsResponse instance ToQuery CreateTags instance ToPath CreateTags instance ToHeaders CreateTags instance AWSRequest CreateTags -- | 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. -- -- See: AWS API Reference for -- DescribeClusterSecurityGroups. -- -- 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 -- | Contains the output from the DescribeClusterSecurityGroups action. -- -- 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 Typeable DescribeClusterSecurityGroups instance Typeable DescribeClusterSecurityGroupsResponse instance Eq DescribeClusterSecurityGroups instance Read DescribeClusterSecurityGroups instance Show DescribeClusterSecurityGroups instance Data DescribeClusterSecurityGroups instance Generic DescribeClusterSecurityGroups instance Eq DescribeClusterSecurityGroupsResponse instance Read DescribeClusterSecurityGroupsResponse instance Show DescribeClusterSecurityGroupsResponse instance Data DescribeClusterSecurityGroupsResponse instance Generic DescribeClusterSecurityGroupsResponse instance Datatype D1DescribeClusterSecurityGroups instance Constructor C1_0DescribeClusterSecurityGroups instance Selector S1_0_0DescribeClusterSecurityGroups instance Selector S1_0_1DescribeClusterSecurityGroups instance Selector S1_0_2DescribeClusterSecurityGroups instance Selector S1_0_3DescribeClusterSecurityGroups instance Selector S1_0_4DescribeClusterSecurityGroups instance Datatype D1DescribeClusterSecurityGroupsResponse instance Constructor C1_0DescribeClusterSecurityGroupsResponse instance Selector S1_0_0DescribeClusterSecurityGroupsResponse instance Selector S1_0_1DescribeClusterSecurityGroupsResponse instance Selector S1_0_2DescribeClusterSecurityGroupsResponse instance ToQuery DescribeClusterSecurityGroups instance ToPath DescribeClusterSecurityGroups instance ToHeaders DescribeClusterSecurityGroups instance AWSRequest DescribeClusterSecurityGroups instance AWSPager DescribeClusterSecurityGroups -- | Deletes a specified Amazon Redshift parameter group. You cannot delete -- a parameter group if it is associated with a cluster. -- -- See: AWS API Reference for DeleteClusterParameterGroup. 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: -- -- 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 Typeable DeleteClusterParameterGroup instance Typeable DeleteClusterParameterGroupResponse instance Eq DeleteClusterParameterGroup instance Read DeleteClusterParameterGroup instance Show DeleteClusterParameterGroup instance Data DeleteClusterParameterGroup instance Generic DeleteClusterParameterGroup instance Eq DeleteClusterParameterGroupResponse instance Read DeleteClusterParameterGroupResponse instance Show DeleteClusterParameterGroupResponse instance Data DeleteClusterParameterGroupResponse instance Generic DeleteClusterParameterGroupResponse instance Datatype D1DeleteClusterParameterGroup instance Constructor C1_0DeleteClusterParameterGroup instance Selector S1_0_0DeleteClusterParameterGroup instance Datatype D1DeleteClusterParameterGroupResponse instance Constructor C1_0DeleteClusterParameterGroupResponse instance ToQuery DeleteClusterParameterGroup instance ToPath DeleteClusterParameterGroup instance ToHeaders DeleteClusterParameterGroup instance AWSRequest DeleteClusterParameterGroup -- | 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. -- -- See: AWS API Reference for CreateClusterSubnetGroup. 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: -- -- -- -- 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 Typeable CreateClusterSubnetGroup instance Typeable CreateClusterSubnetGroupResponse instance Eq CreateClusterSubnetGroup instance Read CreateClusterSubnetGroup instance Show CreateClusterSubnetGroup instance Data CreateClusterSubnetGroup instance Generic CreateClusterSubnetGroup instance Eq CreateClusterSubnetGroupResponse instance Read CreateClusterSubnetGroupResponse instance Show CreateClusterSubnetGroupResponse instance Data CreateClusterSubnetGroupResponse instance Generic CreateClusterSubnetGroupResponse instance Datatype D1CreateClusterSubnetGroup instance Constructor C1_0CreateClusterSubnetGroup instance Selector S1_0_0CreateClusterSubnetGroup instance Selector S1_0_1CreateClusterSubnetGroup instance Selector S1_0_2CreateClusterSubnetGroup instance Selector S1_0_3CreateClusterSubnetGroup instance Datatype D1CreateClusterSubnetGroupResponse instance Constructor C1_0CreateClusterSubnetGroupResponse instance Selector S1_0_0CreateClusterSubnetGroupResponse instance Selector S1_0_1CreateClusterSubnetGroupResponse instance ToQuery CreateClusterSubnetGroup instance ToPath CreateClusterSubnetGroup instance ToHeaders CreateClusterSubnetGroup instance AWSRequest CreateClusterSubnetGroup -- | Starts logging information, such as queries and connection attempts, -- for the specified Amazon Redshift cluster. -- -- See: AWS API Reference for EnableLogging. 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: -- -- 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: -- -- 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 when 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 Typeable EnableLogging instance Eq EnableLogging instance Read EnableLogging instance Show EnableLogging instance Data EnableLogging instance Generic EnableLogging instance Datatype D1EnableLogging instance Constructor C1_0EnableLogging instance Selector S1_0_0EnableLogging instance Selector S1_0_1EnableLogging instance Selector S1_0_2EnableLogging instance ToQuery EnableLogging instance ToPath EnableLogging instance ToHeaders EnableLogging instance AWSRequest 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. -- -- See: AWS API Reference for -- DescribeClusterParameterGroups. -- -- 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 Typeable DescribeClusterParameterGroups instance Typeable DescribeClusterParameterGroupsResponse instance Eq DescribeClusterParameterGroups instance Read DescribeClusterParameterGroups instance Show DescribeClusterParameterGroups instance Data DescribeClusterParameterGroups instance Generic DescribeClusterParameterGroups instance Eq DescribeClusterParameterGroupsResponse instance Read DescribeClusterParameterGroupsResponse instance Show DescribeClusterParameterGroupsResponse instance Data DescribeClusterParameterGroupsResponse instance Generic DescribeClusterParameterGroupsResponse instance Datatype D1DescribeClusterParameterGroups instance Constructor C1_0DescribeClusterParameterGroups instance Selector S1_0_0DescribeClusterParameterGroups instance Selector S1_0_1DescribeClusterParameterGroups instance Selector S1_0_2DescribeClusterParameterGroups instance Selector S1_0_3DescribeClusterParameterGroups instance Selector S1_0_4DescribeClusterParameterGroups instance Datatype D1DescribeClusterParameterGroupsResponse instance Constructor C1_0DescribeClusterParameterGroupsResponse instance Selector S1_0_0DescribeClusterParameterGroupsResponse instance Selector S1_0_1DescribeClusterParameterGroupsResponse instance Selector S1_0_2DescribeClusterParameterGroupsResponse instance ToQuery DescribeClusterParameterGroups instance ToPath DescribeClusterParameterGroups instance ToHeaders DescribeClusterParameterGroups instance AWSRequest DescribeClusterParameterGroups instance AWSPager DescribeClusterParameterGroups -- | Returns the descriptions of the reserved nodes. -- -- See: AWS API Reference for DescribeReservedNodes. -- -- 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 -- | Contains the output from the DescribeReservedNodes action. -- -- See: describeReservedNodesResponse smart constructor. data DescribeReservedNodesResponse -- | The list of reserved nodes. 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 Typeable DescribeReservedNodes instance Typeable DescribeReservedNodesResponse instance Eq DescribeReservedNodes instance Read DescribeReservedNodes instance Show DescribeReservedNodes instance Data DescribeReservedNodes instance Generic DescribeReservedNodes instance Eq DescribeReservedNodesResponse instance Read DescribeReservedNodesResponse instance Show DescribeReservedNodesResponse instance Data DescribeReservedNodesResponse instance Generic DescribeReservedNodesResponse instance Datatype D1DescribeReservedNodes instance Constructor C1_0DescribeReservedNodes instance Selector S1_0_0DescribeReservedNodes instance Selector S1_0_1DescribeReservedNodes instance Selector S1_0_2DescribeReservedNodes instance Datatype D1DescribeReservedNodesResponse instance Constructor C1_0DescribeReservedNodesResponse instance Selector S1_0_0DescribeReservedNodesResponse instance Selector S1_0_1DescribeReservedNodesResponse instance Selector S1_0_2DescribeReservedNodesResponse instance ToQuery DescribeReservedNodes instance ToPath DescribeReservedNodes instance ToHeaders DescribeReservedNodes instance AWSRequest DescribeReservedNodes instance AWSPager DescribeReservedNodes -- | 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. -- -- See: AWS API Reference for DescribeEvents. -- -- 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. -- -- 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. -- -- 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 -- | Contains the output from the DescribeEvents action. -- -- 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 Typeable DescribeEvents instance Typeable DescribeEventsResponse instance Eq DescribeEvents instance Read DescribeEvents instance Show DescribeEvents instance Data DescribeEvents instance Generic DescribeEvents instance Eq DescribeEventsResponse instance Read DescribeEventsResponse instance Show DescribeEventsResponse instance Data DescribeEventsResponse instance Generic DescribeEventsResponse instance Datatype D1DescribeEvents instance Constructor C1_0DescribeEvents instance Selector S1_0_0DescribeEvents instance Selector S1_0_1DescribeEvents instance Selector S1_0_2DescribeEvents instance Selector S1_0_3DescribeEvents instance Selector S1_0_4DescribeEvents instance Selector S1_0_5DescribeEvents instance Selector S1_0_6DescribeEvents instance Datatype D1DescribeEventsResponse instance Constructor C1_0DescribeEventsResponse instance Selector S1_0_0DescribeEventsResponse instance Selector S1_0_1DescribeEventsResponse instance Selector S1_0_2DescribeEventsResponse instance ToQuery DescribeEvents instance ToPath DescribeEvents instance ToHeaders DescribeEvents instance AWSRequest DescribeEvents instance AWSPager DescribeEvents -- | 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. -- -- See: AWS API Reference for -- DescribeReservedNodeOfferings. -- -- 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 -- | Contains the output from the DescribeReservedNodeOfferings action. -- -- See: describeReservedNodeOfferingsResponse smart -- constructor. data DescribeReservedNodeOfferingsResponse -- | A list of reserved node offerings. 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 Typeable DescribeReservedNodeOfferings instance Typeable DescribeReservedNodeOfferingsResponse instance Eq DescribeReservedNodeOfferings instance Read DescribeReservedNodeOfferings instance Show DescribeReservedNodeOfferings instance Data DescribeReservedNodeOfferings instance Generic DescribeReservedNodeOfferings instance Eq DescribeReservedNodeOfferingsResponse instance Read DescribeReservedNodeOfferingsResponse instance Show DescribeReservedNodeOfferingsResponse instance Data DescribeReservedNodeOfferingsResponse instance Generic DescribeReservedNodeOfferingsResponse instance Datatype D1DescribeReservedNodeOfferings instance Constructor C1_0DescribeReservedNodeOfferings instance Selector S1_0_0DescribeReservedNodeOfferings instance Selector S1_0_1DescribeReservedNodeOfferings instance Selector S1_0_2DescribeReservedNodeOfferings instance Datatype D1DescribeReservedNodeOfferingsResponse instance Constructor C1_0DescribeReservedNodeOfferingsResponse instance Selector S1_0_0DescribeReservedNodeOfferingsResponse instance Selector S1_0_1DescribeReservedNodeOfferingsResponse instance Selector S1_0_2DescribeReservedNodeOfferingsResponse instance ToQuery DescribeReservedNodeOfferings instance ToPath DescribeReservedNodeOfferings instance ToHeaders DescribeReservedNodeOfferings instance AWSRequest DescribeReservedNodeOfferings instance AWSPager DescribeReservedNodeOfferings -- | 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. -- -- See: AWS API Reference for PurchaseReservedNodeOffering. 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 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 Typeable PurchaseReservedNodeOffering instance Typeable PurchaseReservedNodeOfferingResponse instance Eq PurchaseReservedNodeOffering instance Read PurchaseReservedNodeOffering instance Show PurchaseReservedNodeOffering instance Data PurchaseReservedNodeOffering instance Generic PurchaseReservedNodeOffering instance Eq PurchaseReservedNodeOfferingResponse instance Read PurchaseReservedNodeOfferingResponse instance Show PurchaseReservedNodeOfferingResponse instance Data PurchaseReservedNodeOfferingResponse instance Generic PurchaseReservedNodeOfferingResponse instance Datatype D1PurchaseReservedNodeOffering instance Constructor C1_0PurchaseReservedNodeOffering instance Selector S1_0_0PurchaseReservedNodeOffering instance Selector S1_0_1PurchaseReservedNodeOffering instance Datatype D1PurchaseReservedNodeOfferingResponse instance Constructor C1_0PurchaseReservedNodeOfferingResponse instance Selector S1_0_0PurchaseReservedNodeOfferingResponse instance Selector S1_0_1PurchaseReservedNodeOfferingResponse instance ToQuery PurchaseReservedNodeOffering instance ToPath PurchaseReservedNodeOffering instance ToHeaders PurchaseReservedNodeOffering instance AWSRequest PurchaseReservedNodeOffering -- | 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. -- -- See: AWS API Reference for DeleteClusterSnapshot. 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 Typeable DeleteClusterSnapshot instance Typeable DeleteClusterSnapshotResponse instance Eq DeleteClusterSnapshot instance Read DeleteClusterSnapshot instance Show DeleteClusterSnapshot instance Data DeleteClusterSnapshot instance Generic DeleteClusterSnapshot instance Eq DeleteClusterSnapshotResponse instance Read DeleteClusterSnapshotResponse instance Show DeleteClusterSnapshotResponse instance Data DeleteClusterSnapshotResponse instance Generic DeleteClusterSnapshotResponse instance Datatype D1DeleteClusterSnapshot instance Constructor C1_0DeleteClusterSnapshot instance Selector S1_0_0DeleteClusterSnapshot instance Selector S1_0_1DeleteClusterSnapshot instance Datatype D1DeleteClusterSnapshotResponse instance Constructor C1_0DeleteClusterSnapshotResponse instance Selector S1_0_0DeleteClusterSnapshotResponse instance Selector S1_0_1DeleteClusterSnapshotResponse instance ToQuery DeleteClusterSnapshot instance ToPath DeleteClusterSnapshot instance ToHeaders DeleteClusterSnapshot instance AWSRequest DeleteClusterSnapshot -- | Modifies an existing Amazon Redshift event notification subscription. -- -- See: AWS API Reference for ModifyEventSubscription. 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 Typeable ModifyEventSubscription instance Typeable ModifyEventSubscriptionResponse instance Eq ModifyEventSubscription instance Read ModifyEventSubscription instance Show ModifyEventSubscription instance Data ModifyEventSubscription instance Generic ModifyEventSubscription instance Eq ModifyEventSubscriptionResponse instance Read ModifyEventSubscriptionResponse instance Show ModifyEventSubscriptionResponse instance Data ModifyEventSubscriptionResponse instance Generic ModifyEventSubscriptionResponse instance Datatype D1ModifyEventSubscription instance Constructor C1_0ModifyEventSubscription instance Selector S1_0_0ModifyEventSubscription instance Selector S1_0_1ModifyEventSubscription instance Selector S1_0_2ModifyEventSubscription instance Selector S1_0_3ModifyEventSubscription instance Selector S1_0_4ModifyEventSubscription instance Selector S1_0_5ModifyEventSubscription instance Selector S1_0_6ModifyEventSubscription instance Datatype D1ModifyEventSubscriptionResponse instance Constructor C1_0ModifyEventSubscriptionResponse instance Selector S1_0_0ModifyEventSubscriptionResponse instance Selector S1_0_1ModifyEventSubscriptionResponse instance ToQuery ModifyEventSubscription instance ToPath ModifyEventSubscription instance ToHeaders ModifyEventSubscription instance AWSRequest ModifyEventSubscription -- | Stops logging information, such as queries and connection attempts, -- for the specified Amazon Redshift cluster. -- -- See: AWS API Reference for DisableLogging. 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 when 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 Typeable DisableLogging instance Eq DisableLogging instance Read DisableLogging instance Show DisableLogging instance Data DisableLogging instance Generic DisableLogging instance Datatype D1DisableLogging instance Constructor C1_0DisableLogging instance Selector S1_0_0DisableLogging instance ToQuery DisableLogging instance ToPath DisableLogging instance ToHeaders DisableLogging instance AWSRequest DisableLogging -- | Deletes the specified cluster subnet group. -- -- See: AWS API Reference for DeleteClusterSubnetGroup. 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 Typeable DeleteClusterSubnetGroup instance Typeable DeleteClusterSubnetGroupResponse instance Eq DeleteClusterSubnetGroup instance Read DeleteClusterSubnetGroup instance Show DeleteClusterSubnetGroup instance Data DeleteClusterSubnetGroup instance Generic DeleteClusterSubnetGroup instance Eq DeleteClusterSubnetGroupResponse instance Read DeleteClusterSubnetGroupResponse instance Show DeleteClusterSubnetGroupResponse instance Data DeleteClusterSubnetGroupResponse instance Generic DeleteClusterSubnetGroupResponse instance Datatype D1DeleteClusterSubnetGroup instance Constructor C1_0DeleteClusterSubnetGroup instance Selector S1_0_0DeleteClusterSubnetGroup instance Datatype D1DeleteClusterSubnetGroupResponse instance Constructor C1_0DeleteClusterSubnetGroupResponse instance ToQuery DeleteClusterSubnetGroup instance ToPath DeleteClusterSubnetGroup instance ToHeaders DeleteClusterSubnetGroup instance AWSRequest DeleteClusterSubnetGroup -- | 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: -- -- -- -- 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. -- -- See: AWS API Reference for DescribeTags. 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 -- | Contains the output from the DescribeTags action. -- -- 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: -- -- -- -- 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 -- | Contains the output from the DescribeTags action. -- -- 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 Typeable DescribeTags instance Typeable DescribeTagsResponse instance Eq DescribeTags instance Read DescribeTags instance Show DescribeTags instance Data DescribeTags instance Generic DescribeTags instance Eq DescribeTagsResponse instance Read DescribeTagsResponse instance Show DescribeTagsResponse instance Data DescribeTagsResponse instance Generic DescribeTagsResponse instance Datatype D1DescribeTags instance Constructor C1_0DescribeTags instance Selector S1_0_0DescribeTags instance Selector S1_0_1DescribeTags instance Selector S1_0_2DescribeTags instance Selector S1_0_3DescribeTags instance Selector S1_0_4DescribeTags instance Selector S1_0_5DescribeTags instance Datatype D1DescribeTagsResponse instance Constructor C1_0DescribeTagsResponse instance Selector S1_0_0DescribeTagsResponse instance Selector S1_0_1DescribeTagsResponse instance Selector S1_0_2DescribeTagsResponse instance ToQuery DescribeTags instance ToPath DescribeTags instance ToHeaders DescribeTags instance AWSRequest DescribeTags -- | 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. -- -- See: AWS API Reference for DescribeClusters. -- -- 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 Typeable DescribeClusters instance Typeable DescribeClustersResponse instance Eq DescribeClusters instance Read DescribeClusters instance Show DescribeClusters instance Data DescribeClusters instance Generic DescribeClusters instance Eq DescribeClustersResponse instance Read DescribeClustersResponse instance Show DescribeClustersResponse instance Data DescribeClustersResponse instance Generic DescribeClustersResponse instance Datatype D1DescribeClusters instance Constructor C1_0DescribeClusters instance Selector S1_0_0DescribeClusters instance Selector S1_0_1DescribeClusters instance Selector S1_0_2DescribeClusters instance Selector S1_0_3DescribeClusters instance Selector S1_0_4DescribeClusters instance Datatype D1DescribeClustersResponse instance Constructor C1_0DescribeClustersResponse instance Selector S1_0_0DescribeClustersResponse instance Selector S1_0_1DescribeClustersResponse instance Selector S1_0_2DescribeClustersResponse instance ToQuery DescribeClusters instance ToPath DescribeClusters instance ToHeaders DescribeClusters instance AWSRequest DescribeClusters instance AWSPager DescribeClusters 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. -- -- See: AWS API Reference 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 -- | 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 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 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 state of the cluster snapshot is not available, 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 -- | 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 -- | 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) -- | Describes 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 this cluster. Possible values include -- available, creating, deleting, -- rebooting, renaming, and resizing. 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) -- | 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) -- | Contains the output from the ModifyClusterParameterGroup and -- ResetClusterParameterGroup actions and indicate the parameter group -- involved and the status of the operation on the parameter group. -- -- 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. -- -- 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 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 -- | Describes 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) -- | 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 Amazon Redshift 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] -- | 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) -- | 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: -- -- 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) -- | 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 when 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 parameter. Supported value: -- static. 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 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: -- -- 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) -- | 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: -- -- -- -- 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 -- | Undocumented member. vsgmStatus :: Lens' VPCSecurityGroupMembership (Maybe Text) -- | Undocumented member. vsgmVPCSecurityGroupId :: Lens' VPCSecurityGroupMembership (Maybe Text)