-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Redshift Serverless SDK. -- -- Derived from API version 2021-04-21 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information, sending requests, and receiving responses. -- -- It is recommended to use generic lenses or optics from packages such -- as generic-lens or optics to modify optional fields and -- deconstruct responses. -- -- Generated lenses can be found in -- Amazonka.RedshiftServerLess.Lens and are suitable for use with -- a lens package such as lens or lens-family-core. -- -- See Amazonka.RedshiftServerLess and the AWS -- documentation to get started. @package amazonka-redshift-serverless @version 2.0 module Amazonka.RedshiftServerLess.Types.ConfigParameter -- | An array of key-value pairs to set for advanced control over Amazon -- Redshift Serverless. -- -- See: newConfigParameter smart constructor. data ConfigParameter ConfigParameter' :: Maybe Text -> Maybe Text -> ConfigParameter -- | The key of the parameter. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. [$sel:parameterKey:ConfigParameter'] :: ConfigParameter -> Maybe Text -- | The value of the parameter to set. [$sel:parameterValue:ConfigParameter'] :: ConfigParameter -> Maybe Text -- | Create a value of ConfigParameter with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:parameterKey:ConfigParameter', -- configParameter_parameterKey - The key of the parameter. The -- options are datestyle, enable_user_activity_logging, -- query_group, search_path, and -- max_query_execution_time. -- -- $sel:parameterValue:ConfigParameter', -- configParameter_parameterValue - The value of the parameter to -- set. newConfigParameter :: ConfigParameter -- | The key of the parameter. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. configParameter_parameterKey :: Lens' ConfigParameter (Maybe Text) -- | The value of the parameter to set. configParameter_parameterValue :: Lens' ConfigParameter (Maybe Text) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.ConfigParameter.ConfigParameter instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.ConfigParameter.ConfigParameter instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.ConfigParameter.ConfigParameter instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.ConfigParameter.ConfigParameter instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.ConfigParameter.ConfigParameter instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.ConfigParameter.ConfigParameter instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.ConfigParameter.ConfigParameter instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.Types.ConfigParameter.ConfigParameter module Amazonka.RedshiftServerLess.Types.LogExport newtype LogExport LogExport' :: Text -> LogExport [fromLogExport] :: LogExport -> Text pattern LogExport_Connectionlog :: LogExport pattern LogExport_Useractivitylog :: LogExport pattern LogExport_Userlog :: LogExport instance Amazonka.Data.XML.ToXML Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Amazonka.Data.XML.FromXML Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Amazonka.Data.Headers.ToHeader Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Amazonka.Data.Log.ToLog Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Amazonka.Data.ByteString.ToByteString Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Amazonka.Data.Text.ToText Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Amazonka.Data.Text.FromText Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance GHC.Classes.Ord Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.LogExport.LogExport instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.LogExport.LogExport module Amazonka.RedshiftServerLess.Types.NamespaceStatus newtype NamespaceStatus NamespaceStatus' :: Text -> NamespaceStatus [fromNamespaceStatus] :: NamespaceStatus -> Text pattern NamespaceStatus_AVAILABLE :: NamespaceStatus pattern NamespaceStatus_DELETING :: NamespaceStatus pattern NamespaceStatus_MODIFYING :: NamespaceStatus instance Amazonka.Data.XML.ToXML Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Amazonka.Data.XML.FromXML Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Amazonka.Data.Headers.ToHeader Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Amazonka.Data.Log.ToLog Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Amazonka.Data.Text.ToText Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Amazonka.Data.Text.FromText Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance GHC.Classes.Ord Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.NamespaceStatus.NamespaceStatus module Amazonka.RedshiftServerLess.Types.Namespace -- | A collection of database objects and users. -- -- See: newNamespace smart constructor. data Namespace Namespace' :: Maybe (Sensitive Text) -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe [LogExport] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NamespaceStatus -> Namespace -- | The username of the administrator for the first database created in -- the namespace. [$sel:adminUsername:Namespace'] :: Namespace -> Maybe (Sensitive Text) -- | The date of when the namespace was created. [$sel:creationDate:Namespace'] :: Namespace -> Maybe ISO8601 -- | The name of the first database created in the namespace. [$sel:dbName:Namespace'] :: Namespace -> Maybe Text -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. [$sel:defaultIamRoleArn:Namespace'] :: Namespace -> Maybe Text -- | A list of IAM roles to associate with the namespace. [$sel:iamRoles:Namespace'] :: Namespace -> Maybe [Text] -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. [$sel:kmsKeyId:Namespace'] :: Namespace -> Maybe Text -- | The types of logs the namespace can export. Available export types are -- User log, Connection log, and User activity log. [$sel:logExports:Namespace'] :: Namespace -> Maybe [LogExport] -- | The Amazon Resource Name (ARN) associated with a namespace. [$sel:namespaceArn:Namespace'] :: Namespace -> Maybe Text -- | The unique identifier of a namespace. [$sel:namespaceId:Namespace'] :: Namespace -> Maybe Text -- | The name of the namespace. Must be between 3-64 alphanumeric -- characters in lowercase, and it cannot be a reserved word. A list of -- reserved words can be found in Reserved Words in the Amazon -- Redshift Database Developer Guide. [$sel:namespaceName:Namespace'] :: Namespace -> Maybe Text -- | The status of the namespace. [$sel:status:Namespace'] :: Namespace -> Maybe NamespaceStatus -- | Create a value of Namespace with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:adminUsername:Namespace', namespace_adminUsername - -- The username of the administrator for the first database created in -- the namespace. -- -- $sel:creationDate:Namespace', namespace_creationDate - -- The date of when the namespace was created. -- -- $sel:dbName:Namespace', namespace_dbName - The name of -- the first database created in the namespace. -- -- $sel:defaultIamRoleArn:Namespace', -- namespace_defaultIamRoleArn - The Amazon Resource Name (ARN) of -- the IAM role to set as a default in the namespace. -- -- $sel:iamRoles:Namespace', namespace_iamRoles - A list of -- IAM roles to associate with the namespace. -- -- $sel:kmsKeyId:Namespace', namespace_kmsKeyId - The ID of -- the Amazon Web Services Key Management Service key used to encrypt -- your data. -- -- $sel:logExports:Namespace', namespace_logExports - The -- types of logs the namespace can export. Available export types are -- User log, Connection log, and User activity log. -- -- $sel:namespaceArn:Namespace', namespace_namespaceArn - -- The Amazon Resource Name (ARN) associated with a namespace. -- -- $sel:namespaceId:Namespace', namespace_namespaceId - The -- unique identifier of a namespace. -- -- $sel:namespaceName:Namespace', namespace_namespaceName - -- The name of the namespace. Must be between 3-64 alphanumeric -- characters in lowercase, and it cannot be a reserved word. A list of -- reserved words can be found in Reserved Words in the Amazon -- Redshift Database Developer Guide. -- -- $sel:status:Namespace', namespace_status - The status of -- the namespace. newNamespace :: Namespace -- | The username of the administrator for the first database created in -- the namespace. namespace_adminUsername :: Lens' Namespace (Maybe Text) -- | The date of when the namespace was created. namespace_creationDate :: Lens' Namespace (Maybe UTCTime) -- | The name of the first database created in the namespace. namespace_dbName :: Lens' Namespace (Maybe Text) -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. namespace_defaultIamRoleArn :: Lens' Namespace (Maybe Text) -- | A list of IAM roles to associate with the namespace. namespace_iamRoles :: Lens' Namespace (Maybe [Text]) -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. namespace_kmsKeyId :: Lens' Namespace (Maybe Text) -- | The types of logs the namespace can export. Available export types are -- User log, Connection log, and User activity log. namespace_logExports :: Lens' Namespace (Maybe [LogExport]) -- | The Amazon Resource Name (ARN) associated with a namespace. namespace_namespaceArn :: Lens' Namespace (Maybe Text) -- | The unique identifier of a namespace. namespace_namespaceId :: Lens' Namespace (Maybe Text) -- | The name of the namespace. Must be between 3-64 alphanumeric -- characters in lowercase, and it cannot be a reserved word. A list of -- reserved words can be found in Reserved Words in the Amazon -- Redshift Database Developer Guide. namespace_namespaceName :: Lens' Namespace (Maybe Text) -- | The status of the namespace. namespace_status :: Lens' Namespace (Maybe NamespaceStatus) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.Namespace.Namespace instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.Namespace.Namespace instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.Namespace.Namespace instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.Namespace.Namespace instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.Namespace.Namespace instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.Namespace.Namespace module Amazonka.RedshiftServerLess.Types.NetworkInterface -- | Contains information about a network interface in an Amazon Redshift -- Serverless managed VPC endpoint. -- -- See: newNetworkInterface smart constructor. data NetworkInterface NetworkInterface' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> NetworkInterface -- | The availability Zone. [$sel:availabilityZone:NetworkInterface'] :: NetworkInterface -> Maybe Text -- | The unique identifier of the network interface. [$sel:networkInterfaceId:NetworkInterface'] :: NetworkInterface -> Maybe Text -- | The IPv4 address of the network interface within the subnet. [$sel:privateIpAddress:NetworkInterface'] :: NetworkInterface -> Maybe Text -- | The unique identifier of the subnet. [$sel:subnetId:NetworkInterface'] :: NetworkInterface -> Maybe Text -- | Create a value of NetworkInterface with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:availabilityZone:NetworkInterface', -- networkInterface_availabilityZone - The availability Zone. -- -- $sel:networkInterfaceId:NetworkInterface', -- networkInterface_networkInterfaceId - The unique identifier of -- the network interface. -- -- $sel:privateIpAddress:NetworkInterface', -- networkInterface_privateIpAddress - The IPv4 address of the -- network interface within the subnet. -- -- $sel:subnetId:NetworkInterface', -- networkInterface_subnetId - The unique identifier of the -- subnet. newNetworkInterface :: NetworkInterface -- | The availability Zone. networkInterface_availabilityZone :: Lens' NetworkInterface (Maybe Text) -- | The unique identifier of the network interface. networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text) -- | The IPv4 address of the network interface within the subnet. networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text) -- | The unique identifier of the subnet. networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.NetworkInterface.NetworkInterface instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.NetworkInterface.NetworkInterface instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.NetworkInterface.NetworkInterface instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.NetworkInterface.NetworkInterface instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.NetworkInterface.NetworkInterface instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.NetworkInterface.NetworkInterface instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.NetworkInterface.NetworkInterface module Amazonka.RedshiftServerLess.Types.RecoveryPoint -- | The automatically created recovery point of a namespace. Recovery -- points are created every 30 minutes and kept for 24 hours. -- -- See: newRecoveryPoint smart constructor. data RecoveryPoint RecoveryPoint' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Double -> Maybe Text -> RecoveryPoint -- | The Amazon Resource Name (ARN) of the namespace the recovery point is -- associated with. [$sel:namespaceArn:RecoveryPoint'] :: RecoveryPoint -> Maybe Text -- | The name of the namespace the recovery point is associated with. [$sel:namespaceName:RecoveryPoint'] :: RecoveryPoint -> Maybe Text -- | The time the recovery point is created. [$sel:recoveryPointCreateTime:RecoveryPoint'] :: RecoveryPoint -> Maybe ISO8601 -- | The unique identifier of the recovery point. [$sel:recoveryPointId:RecoveryPoint'] :: RecoveryPoint -> Maybe Text -- | The total size of the data in the recovery point in megabytes. [$sel:totalSizeInMegaBytes:RecoveryPoint'] :: RecoveryPoint -> Maybe Double -- | The name of the workgroup the recovery point is associated with. [$sel:workgroupName:RecoveryPoint'] :: RecoveryPoint -> Maybe Text -- | Create a value of RecoveryPoint with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:namespaceArn:RecoveryPoint', -- recoveryPoint_namespaceArn - The Amazon Resource Name (ARN) of -- the namespace the recovery point is associated with. -- -- $sel:namespaceName:RecoveryPoint', -- recoveryPoint_namespaceName - The name of the namespace the -- recovery point is associated with. -- -- $sel:recoveryPointCreateTime:RecoveryPoint', -- recoveryPoint_recoveryPointCreateTime - The time the recovery -- point is created. -- -- $sel:recoveryPointId:RecoveryPoint', -- recoveryPoint_recoveryPointId - The unique identifier of the -- recovery point. -- -- $sel:totalSizeInMegaBytes:RecoveryPoint', -- recoveryPoint_totalSizeInMegaBytes - The total size of the data -- in the recovery point in megabytes. -- -- $sel:workgroupName:RecoveryPoint', -- recoveryPoint_workgroupName - The name of the workgroup the -- recovery point is associated with. newRecoveryPoint :: RecoveryPoint -- | The Amazon Resource Name (ARN) of the namespace the recovery point is -- associated with. recoveryPoint_namespaceArn :: Lens' RecoveryPoint (Maybe Text) -- | The name of the namespace the recovery point is associated with. recoveryPoint_namespaceName :: Lens' RecoveryPoint (Maybe Text) -- | The time the recovery point is created. recoveryPoint_recoveryPointCreateTime :: Lens' RecoveryPoint (Maybe UTCTime) -- | The unique identifier of the recovery point. recoveryPoint_recoveryPointId :: Lens' RecoveryPoint (Maybe Text) -- | The total size of the data in the recovery point in megabytes. recoveryPoint_totalSizeInMegaBytes :: Lens' RecoveryPoint (Maybe Double) -- | The name of the workgroup the recovery point is associated with. recoveryPoint_workgroupName :: Lens' RecoveryPoint (Maybe Text) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.RecoveryPoint.RecoveryPoint instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.RecoveryPoint.RecoveryPoint instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.RecoveryPoint.RecoveryPoint instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.RecoveryPoint.RecoveryPoint instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.RecoveryPoint.RecoveryPoint instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.RecoveryPoint.RecoveryPoint instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.RecoveryPoint.RecoveryPoint module Amazonka.RedshiftServerLess.Types.ResourcePolicy -- | The resource policy object. Currently, you can use policies to share -- snapshots across Amazon Web Services accounts. -- -- See: newResourcePolicy smart constructor. data ResourcePolicy ResourcePolicy' :: Maybe Text -> Maybe Text -> ResourcePolicy -- | The resource policy. [$sel:policy:ResourcePolicy'] :: ResourcePolicy -> Maybe Text -- | The Amazon Resource Name (ARN) of the policy. [$sel:resourceArn:ResourcePolicy'] :: ResourcePolicy -> Maybe Text -- | Create a value of ResourcePolicy with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:policy:ResourcePolicy', resourcePolicy_policy - The -- resource policy. -- -- $sel:resourceArn:ResourcePolicy', -- resourcePolicy_resourceArn - The Amazon Resource Name (ARN) of -- the policy. newResourcePolicy :: ResourcePolicy -- | The resource policy. resourcePolicy_policy :: Lens' ResourcePolicy (Maybe Text) -- | The Amazon Resource Name (ARN) of the policy. resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.ResourcePolicy.ResourcePolicy instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.ResourcePolicy.ResourcePolicy instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.ResourcePolicy.ResourcePolicy instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.ResourcePolicy.ResourcePolicy instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.ResourcePolicy.ResourcePolicy instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.ResourcePolicy.ResourcePolicy instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.ResourcePolicy.ResourcePolicy module Amazonka.RedshiftServerLess.Types.SnapshotStatus newtype SnapshotStatus SnapshotStatus' :: Text -> SnapshotStatus [fromSnapshotStatus] :: SnapshotStatus -> Text pattern SnapshotStatus_AVAILABLE :: SnapshotStatus pattern SnapshotStatus_CANCELLED :: SnapshotStatus pattern SnapshotStatus_COPYING :: SnapshotStatus pattern SnapshotStatus_CREATING :: SnapshotStatus pattern SnapshotStatus_DELETED :: SnapshotStatus pattern SnapshotStatus_FAILED :: SnapshotStatus instance Amazonka.Data.XML.ToXML Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Amazonka.Data.XML.FromXML Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Amazonka.Data.Headers.ToHeader Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Amazonka.Data.Log.ToLog Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Amazonka.Data.Text.ToText Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Amazonka.Data.Text.FromText Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance GHC.Classes.Ord Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.SnapshotStatus.SnapshotStatus module Amazonka.RedshiftServerLess.Types.Snapshot -- | A snapshot object that contains databases. -- -- See: newSnapshot smart constructor. data Snapshot Snapshot' :: Maybe [Text] -> Maybe [Text] -> Maybe Double -> Maybe Text -> Maybe Double -> Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe ISO8601 -> Maybe SnapshotStatus -> Maybe Double -> Snapshot -- | All of the Amazon Web Services accounts that have access to restore a -- snapshot to a provisioned cluster. [$sel:accountsWithProvisionedRestoreAccess:Snapshot'] :: Snapshot -> Maybe [Text] -- | All of the Amazon Web Services accounts that have access to restore a -- snapshot to a namespace. [$sel:accountsWithRestoreAccess:Snapshot'] :: Snapshot -> Maybe [Text] -- | The size of the incremental backup in megabytes. [$sel:actualIncrementalBackupSizeInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double -- | The username of the database within a snapshot. [$sel:adminUsername:Snapshot'] :: Snapshot -> Maybe Text -- | The size in megabytes of the data that has been backed up to a -- snapshot. [$sel:backupProgressInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double -- | The rate at which data is backed up into a snapshot in megabytes per -- second. [$sel:currentBackupRateInMegaBytesPerSecond:Snapshot'] :: Snapshot -> Maybe Double -- | The amount of time it took to back up data into a snapshot. [$sel:elapsedTimeInSeconds:Snapshot'] :: Snapshot -> Maybe Integer -- | The estimated amount of seconds until the snapshot completes backup. [$sel:estimatedSecondsToCompletion:Snapshot'] :: Snapshot -> Maybe Integer -- | The unique identifier of the KMS key used to encrypt the snapshot. [$sel:kmsKeyId:Snapshot'] :: Snapshot -> Maybe Text -- | The Amazon Resource Name (ARN) of the namespace the snapshot was -- created from. [$sel:namespaceArn:Snapshot'] :: Snapshot -> Maybe Text -- | The name of the namepsace. [$sel:namespaceName:Snapshot'] :: Snapshot -> Maybe Text -- | The owner Amazon Web Services; account of the snapshot. [$sel:ownerAccount:Snapshot'] :: Snapshot -> Maybe Text -- | The Amazon Resource Name (ARN) of the snapshot. [$sel:snapshotArn:Snapshot'] :: Snapshot -> Maybe Text -- | The timestamp of when the snapshot was created. [$sel:snapshotCreateTime:Snapshot'] :: Snapshot -> Maybe ISO8601 -- | The name of the snapshot. [$sel:snapshotName:Snapshot'] :: Snapshot -> Maybe Text -- | The amount of days until the snapshot is deleted. [$sel:snapshotRemainingDays:Snapshot'] :: Snapshot -> Maybe Int -- | The period of time, in days, of how long the snapshot is retained. [$sel:snapshotRetentionPeriod:Snapshot'] :: Snapshot -> Maybe Int -- | The timestamp of when data within the snapshot started getting -- retained. [$sel:snapshotRetentionStartTime:Snapshot'] :: Snapshot -> Maybe ISO8601 -- | The status of the snapshot. [$sel:status:Snapshot'] :: Snapshot -> Maybe SnapshotStatus -- | The total size, in megabytes, of how big the snapshot is. [$sel:totalBackupSizeInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double -- | Create a value of Snapshot with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:accountsWithProvisionedRestoreAccess:Snapshot', -- snapshot_accountsWithProvisionedRestoreAccess - All of the -- Amazon Web Services accounts that have access to restore a snapshot to -- a provisioned cluster. -- -- $sel:accountsWithRestoreAccess:Snapshot', -- snapshot_accountsWithRestoreAccess - All of the Amazon Web -- Services accounts that have access to restore a snapshot to a -- namespace. -- -- $sel:actualIncrementalBackupSizeInMegaBytes:Snapshot', -- snapshot_actualIncrementalBackupSizeInMegaBytes - The size of -- the incremental backup in megabytes. -- -- $sel:adminUsername:Snapshot', snapshot_adminUsername - -- The username of the database within a snapshot. -- -- $sel:backupProgressInMegaBytes:Snapshot', -- snapshot_backupProgressInMegaBytes - The size in megabytes of -- the data that has been backed up to a snapshot. -- -- $sel:currentBackupRateInMegaBytesPerSecond:Snapshot', -- snapshot_currentBackupRateInMegaBytesPerSecond - The rate at -- which data is backed up into a snapshot in megabytes per second. -- -- $sel:elapsedTimeInSeconds:Snapshot', -- snapshot_elapsedTimeInSeconds - The amount of time it took to -- back up data into a snapshot. -- -- $sel:estimatedSecondsToCompletion:Snapshot', -- snapshot_estimatedSecondsToCompletion - The estimated amount of -- seconds until the snapshot completes backup. -- -- $sel:kmsKeyId:Snapshot', snapshot_kmsKeyId - The unique -- identifier of the KMS key used to encrypt the snapshot. -- -- $sel:namespaceArn:Snapshot', snapshot_namespaceArn - The -- Amazon Resource Name (ARN) of the namespace the snapshot was created -- from. -- -- $sel:namespaceName:Snapshot', snapshot_namespaceName - -- The name of the namepsace. -- -- $sel:ownerAccount:Snapshot', snapshot_ownerAccount - The -- owner Amazon Web Services; account of the snapshot. -- -- $sel:snapshotArn:Snapshot', snapshot_snapshotArn - The -- Amazon Resource Name (ARN) of the snapshot. -- -- $sel:snapshotCreateTime:Snapshot', -- snapshot_snapshotCreateTime - The timestamp of when the -- snapshot was created. -- -- $sel:snapshotName:Snapshot', snapshot_snapshotName - The -- name of the snapshot. -- -- $sel:snapshotRemainingDays:Snapshot', -- snapshot_snapshotRemainingDays - The amount of days until the -- snapshot is deleted. -- -- $sel:snapshotRetentionPeriod:Snapshot', -- snapshot_snapshotRetentionPeriod - The period of time, in days, -- of how long the snapshot is retained. -- -- $sel:snapshotRetentionStartTime:Snapshot', -- snapshot_snapshotRetentionStartTime - The timestamp of when -- data within the snapshot started getting retained. -- -- $sel:status:Snapshot', snapshot_status - The status of -- the snapshot. -- -- $sel:totalBackupSizeInMegaBytes:Snapshot', -- snapshot_totalBackupSizeInMegaBytes - The total size, in -- megabytes, of how big the snapshot is. newSnapshot :: Snapshot -- | All of the Amazon Web Services accounts that have access to restore a -- snapshot to a provisioned cluster. snapshot_accountsWithProvisionedRestoreAccess :: Lens' Snapshot (Maybe [Text]) -- | All of the Amazon Web Services accounts that have access to restore a -- snapshot to a namespace. snapshot_accountsWithRestoreAccess :: Lens' Snapshot (Maybe [Text]) -- | The size of the incremental backup in megabytes. snapshot_actualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double) -- | The username of the database within a snapshot. snapshot_adminUsername :: Lens' Snapshot (Maybe Text) -- | The size in megabytes of the data that has been backed up to a -- snapshot. snapshot_backupProgressInMegaBytes :: Lens' Snapshot (Maybe Double) -- | The rate at which data is backed up into a snapshot in megabytes per -- second. snapshot_currentBackupRateInMegaBytesPerSecond :: Lens' Snapshot (Maybe Double) -- | The amount of time it took to back up data into a snapshot. snapshot_elapsedTimeInSeconds :: Lens' Snapshot (Maybe Integer) -- | The estimated amount of seconds until the snapshot completes backup. snapshot_estimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer) -- | The unique identifier of the KMS key used to encrypt the snapshot. snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text) -- | The Amazon Resource Name (ARN) of the namespace the snapshot was -- created from. snapshot_namespaceArn :: Lens' Snapshot (Maybe Text) -- | The name of the namepsace. snapshot_namespaceName :: Lens' Snapshot (Maybe Text) -- | The owner Amazon Web Services; account of the snapshot. snapshot_ownerAccount :: Lens' Snapshot (Maybe Text) -- | The Amazon Resource Name (ARN) of the snapshot. snapshot_snapshotArn :: Lens' Snapshot (Maybe Text) -- | The timestamp of when the snapshot was created. snapshot_snapshotCreateTime :: Lens' Snapshot (Maybe UTCTime) -- | The name of the snapshot. snapshot_snapshotName :: Lens' Snapshot (Maybe Text) -- | The amount of days until the snapshot is deleted. snapshot_snapshotRemainingDays :: Lens' Snapshot (Maybe Int) -- | The period of time, in days, of how long the snapshot is retained. snapshot_snapshotRetentionPeriod :: Lens' Snapshot (Maybe Int) -- | The timestamp of when data within the snapshot started getting -- retained. snapshot_snapshotRetentionStartTime :: Lens' Snapshot (Maybe UTCTime) -- | The status of the snapshot. snapshot_status :: Lens' Snapshot (Maybe SnapshotStatus) -- | The total size, in megabytes, of how big the snapshot is. snapshot_totalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.Snapshot.Snapshot instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.Snapshot.Snapshot instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.Snapshot.Snapshot instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.Snapshot.Snapshot instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.Snapshot.Snapshot instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.Snapshot.Snapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.Snapshot.Snapshot module Amazonka.RedshiftServerLess.Types.TableRestoreStatus -- | Contains information about a table restore request. -- -- See: newTableRestoreStatus smart constructor. data TableRestoreStatus TableRestoreStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> TableRestoreStatus -- | A description of the status of the table restore request. Status -- values include SUCCEEDED, FAILED, CANCELED, -- PENDING, IN_PROGRESS. [$sel:message:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The namespace of the table being restored from. [$sel:namespaceName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the table to create from the restore operation. [$sel:newTableName':TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The amount of data restored to the new table so far, in megabytes -- (MB). [$sel:progressInMegaBytes:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Integer -- | The time that the table restore request was made, in Universal -- Coordinated Time (UTC). [$sel:requestTime:TableRestoreStatus'] :: TableRestoreStatus -> Maybe POSIX -- | The name of the snapshot being restored from. [$sel:snapshotName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the source database being restored from. [$sel:sourceDatabaseName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the source schema being restored from. [$sel:sourceSchemaName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the source table being restored from. [$sel:sourceTableName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | A value that describes the current state of the table restore request. -- Possible values include SUCCEEDED, FAILED, -- CANCELED, PENDING, IN_PROGRESS. [$sel:status:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The ID of the RestoreTableFromSnapshot request. [$sel:tableRestoreRequestId:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the database to restore to. [$sel:targetDatabaseName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the schema to restore to. [$sel:targetSchemaName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The total amount of data to restore to the new table, in megabytes -- (MB). [$sel:totalDataInMegaBytes:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Integer -- | The name of the workgroup being restored from. [$sel:workgroupName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | Create a value of TableRestoreStatus with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:message:TableRestoreStatus', -- tableRestoreStatus_message - A description of the status of the -- table restore request. Status values include SUCCEEDED, -- FAILED, CANCELED, PENDING, -- IN_PROGRESS. -- -- $sel:namespaceName:TableRestoreStatus', -- tableRestoreStatus_namespaceName - The namespace of the table -- being restored from. -- -- $sel:newTableName':TableRestoreStatus', -- tableRestoreStatus_newTableName - The name of the table to -- create from the restore operation. -- -- $sel:progressInMegaBytes:TableRestoreStatus', -- tableRestoreStatus_progressInMegaBytes - The amount of data -- restored to the new table so far, in megabytes (MB). -- -- $sel:requestTime:TableRestoreStatus', -- tableRestoreStatus_requestTime - The time that the table -- restore request was made, in Universal Coordinated Time (UTC). -- -- $sel:snapshotName:TableRestoreStatus', -- tableRestoreStatus_snapshotName - The name of the snapshot -- being restored from. -- -- $sel:sourceDatabaseName:TableRestoreStatus', -- tableRestoreStatus_sourceDatabaseName - The name of the source -- database being restored from. -- -- $sel:sourceSchemaName:TableRestoreStatus', -- tableRestoreStatus_sourceSchemaName - The name of the source -- schema being restored from. -- -- $sel:sourceTableName:TableRestoreStatus', -- tableRestoreStatus_sourceTableName - The name of the source -- table being restored from. -- -- $sel:status:TableRestoreStatus', -- tableRestoreStatus_status - A value that describes the current -- state of the table restore request. Possible values include -- SUCCEEDED, FAILED, CANCELED, -- PENDING, IN_PROGRESS. -- -- $sel:tableRestoreRequestId:TableRestoreStatus', -- tableRestoreStatus_tableRestoreRequestId - The ID of the -- RestoreTableFromSnapshot request. -- -- $sel:targetDatabaseName:TableRestoreStatus', -- tableRestoreStatus_targetDatabaseName - The name of the -- database to restore to. -- -- $sel:targetSchemaName:TableRestoreStatus', -- tableRestoreStatus_targetSchemaName - The name of the schema to -- restore to. -- -- $sel:totalDataInMegaBytes:TableRestoreStatus', -- tableRestoreStatus_totalDataInMegaBytes - The total amount of -- data to restore to the new table, in megabytes (MB). -- -- $sel:workgroupName:TableRestoreStatus', -- tableRestoreStatus_workgroupName - The name of the workgroup -- being restored from. newTableRestoreStatus :: TableRestoreStatus -- | A description of the status of the table restore request. Status -- values include SUCCEEDED, FAILED, CANCELED, -- PENDING, IN_PROGRESS. tableRestoreStatus_message :: Lens' TableRestoreStatus (Maybe Text) -- | The namespace of the table being restored from. tableRestoreStatus_namespaceName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the table to create from the restore operation. tableRestoreStatus_newTableName :: Lens' TableRestoreStatus (Maybe Text) -- | The amount of data restored to the new table so far, in megabytes -- (MB). tableRestoreStatus_progressInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer) -- | The time that the table restore request was made, in Universal -- Coordinated Time (UTC). tableRestoreStatus_requestTime :: Lens' TableRestoreStatus (Maybe UTCTime) -- | The name of the snapshot being restored from. tableRestoreStatus_snapshotName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the source database being restored from. tableRestoreStatus_sourceDatabaseName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the source schema being restored from. tableRestoreStatus_sourceSchemaName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the source table being restored from. tableRestoreStatus_sourceTableName :: Lens' TableRestoreStatus (Maybe Text) -- | A value that describes the current state of the table restore request. -- Possible values include SUCCEEDED, FAILED, -- CANCELED, PENDING, IN_PROGRESS. tableRestoreStatus_status :: Lens' TableRestoreStatus (Maybe Text) -- | The ID of the RestoreTableFromSnapshot request. tableRestoreStatus_tableRestoreRequestId :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the database to restore to. tableRestoreStatus_targetDatabaseName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the schema to restore to. tableRestoreStatus_targetSchemaName :: Lens' TableRestoreStatus (Maybe Text) -- | The total amount of data to restore to the new table, in megabytes -- (MB). tableRestoreStatus_totalDataInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer) -- | The name of the workgroup being restored from. tableRestoreStatus_workgroupName :: Lens' TableRestoreStatus (Maybe Text) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.TableRestoreStatus.TableRestoreStatus instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.TableRestoreStatus.TableRestoreStatus instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.TableRestoreStatus.TableRestoreStatus instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.TableRestoreStatus.TableRestoreStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.TableRestoreStatus.TableRestoreStatus instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.TableRestoreStatus.TableRestoreStatus instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.TableRestoreStatus.TableRestoreStatus module Amazonka.RedshiftServerLess.Types.Tag -- | A map of key-value pairs. -- -- See: newTag smart constructor. data Tag Tag' :: Text -> Text -> Tag -- | The key to use in the tag. [$sel:key:Tag'] :: Tag -> Text -- | The value of the tag. [$sel:value:Tag'] :: Tag -> Text -- | Create a value of Tag with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:key:Tag', tag_key - The key to use in the tag. -- -- $sel:value:Tag', tag_value - The value of the tag. newTag :: Text -> Text -> Tag -- | The key to use in the tag. tag_key :: Lens' Tag Text -- | The value of the tag. tag_value :: Lens' Tag Text instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.Tag.Tag instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.Tag.Tag instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.Tag.Tag instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.Tag.Tag instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.Tag.Tag instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.Tag.Tag instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.Tag.Tag instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.Types.Tag.Tag module Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction newtype UsageLimitBreachAction UsageLimitBreachAction' :: Text -> UsageLimitBreachAction [fromUsageLimitBreachAction] :: UsageLimitBreachAction -> Text pattern UsageLimitBreachAction_Deactivate :: UsageLimitBreachAction pattern UsageLimitBreachAction_Emit_metric :: UsageLimitBreachAction pattern UsageLimitBreachAction_Log :: UsageLimitBreachAction instance Amazonka.Data.XML.ToXML Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Amazonka.Data.XML.FromXML Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Amazonka.Data.Headers.ToHeader Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Amazonka.Data.Log.ToLog Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Amazonka.Data.ByteString.ToByteString Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Amazonka.Data.Text.ToText Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Amazonka.Data.Text.FromText Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance GHC.Classes.Ord Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.UsageLimitBreachAction.UsageLimitBreachAction module Amazonka.RedshiftServerLess.Types.UsageLimitPeriod newtype UsageLimitPeriod UsageLimitPeriod' :: Text -> UsageLimitPeriod [fromUsageLimitPeriod] :: UsageLimitPeriod -> Text pattern UsageLimitPeriod_Daily :: UsageLimitPeriod pattern UsageLimitPeriod_Monthly :: UsageLimitPeriod pattern UsageLimitPeriod_Weekly :: UsageLimitPeriod instance Amazonka.Data.XML.ToXML Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Amazonka.Data.XML.FromXML Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Amazonka.Data.Headers.ToHeader Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Amazonka.Data.Log.ToLog Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Amazonka.Data.ByteString.ToByteString Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Amazonka.Data.Text.ToText Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Amazonka.Data.Text.FromText Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance GHC.Classes.Ord Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.UsageLimitPeriod.UsageLimitPeriod module Amazonka.RedshiftServerLess.Types.UsageLimitUsageType newtype UsageLimitUsageType UsageLimitUsageType' :: Text -> UsageLimitUsageType [fromUsageLimitUsageType] :: UsageLimitUsageType -> Text pattern UsageLimitUsageType_Cross_region_datasharing :: UsageLimitUsageType pattern UsageLimitUsageType_Serverless_compute :: UsageLimitUsageType instance Amazonka.Data.XML.ToXML Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Amazonka.Data.XML.FromXML Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Amazonka.Data.Headers.ToHeader Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Amazonka.Data.Log.ToLog Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Amazonka.Data.ByteString.ToByteString Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Amazonka.Data.Text.ToText Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Amazonka.Data.Text.FromText Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance GHC.Classes.Ord Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.UsageLimitUsageType.UsageLimitUsageType module Amazonka.RedshiftServerLess.Types.UsageLimit -- | The usage limit object. -- -- See: newUsageLimit smart constructor. data UsageLimit UsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Maybe UsageLimitPeriod -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe UsageLimitUsageType -> UsageLimit -- | The limit amount. If time-based, this amount is in RPUs consumed per -- hour. If data-based, this amount is in terabytes (TB). The value must -- be a positive number. [$sel:amount:UsageLimit'] :: UsageLimit -> Maybe Integer -- | The action that Amazon Redshift Serverless takes when the limit is -- reached. [$sel:breachAction:UsageLimit'] :: UsageLimit -> Maybe UsageLimitBreachAction -- | The time period that the amount applies to. A weekly period begins on -- Sunday. The default is monthly. [$sel:period:UsageLimit'] :: UsageLimit -> Maybe UsageLimitPeriod -- | The Amazon Resource Name (ARN) that identifies the Amazon Redshift -- Serverless resource. [$sel:resourceArn:UsageLimit'] :: UsageLimit -> Maybe Text -- | The Amazon Resource Name (ARN) of the resource associated with the -- usage limit. [$sel:usageLimitArn:UsageLimit'] :: UsageLimit -> Maybe Text -- | The identifier of the usage limit. [$sel:usageLimitId:UsageLimit'] :: UsageLimit -> Maybe Text -- | The Amazon Redshift Serverless feature to limit. [$sel:usageType:UsageLimit'] :: UsageLimit -> Maybe UsageLimitUsageType -- | Create a value of UsageLimit with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:amount:UsageLimit', usageLimit_amount - The limit -- amount. If time-based, this amount is in RPUs consumed per hour. If -- data-based, this amount is in terabytes (TB). The value must be a -- positive number. -- -- $sel:breachAction:UsageLimit', usageLimit_breachAction - -- The action that Amazon Redshift Serverless takes when the limit is -- reached. -- -- $sel:period:UsageLimit', usageLimit_period - The time -- period that the amount applies to. A weekly period begins on Sunday. -- The default is monthly. -- -- $sel:resourceArn:UsageLimit', usageLimit_resourceArn - -- The Amazon Resource Name (ARN) that identifies the Amazon Redshift -- Serverless resource. -- -- $sel:usageLimitArn:UsageLimit', usageLimit_usageLimitArn -- - The Amazon Resource Name (ARN) of the resource associated with the -- usage limit. -- -- $sel:usageLimitId:UsageLimit', usageLimit_usageLimitId - -- The identifier of the usage limit. -- -- $sel:usageType:UsageLimit', usageLimit_usageType - The -- Amazon Redshift Serverless feature to limit. newUsageLimit :: UsageLimit -- | The limit amount. If time-based, this amount is in RPUs consumed per -- hour. If data-based, this amount is in terabytes (TB). The value must -- be a positive number. usageLimit_amount :: Lens' UsageLimit (Maybe Integer) -- | The action that Amazon Redshift Serverless takes when the limit is -- reached. usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction) -- | The time period that the amount applies to. A weekly period begins on -- Sunday. The default is monthly. usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod) -- | The Amazon Resource Name (ARN) that identifies the Amazon Redshift -- Serverless resource. usageLimit_resourceArn :: Lens' UsageLimit (Maybe Text) -- | The Amazon Resource Name (ARN) of the resource associated with the -- usage limit. usageLimit_usageLimitArn :: Lens' UsageLimit (Maybe Text) -- | The identifier of the usage limit. usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text) -- | The Amazon Redshift Serverless feature to limit. usageLimit_usageType :: Lens' UsageLimit (Maybe UsageLimitUsageType) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.UsageLimit.UsageLimit instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.UsageLimit.UsageLimit instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.UsageLimit.UsageLimit instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.UsageLimit.UsageLimit instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.UsageLimit.UsageLimit instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.UsageLimit.UsageLimit instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.UsageLimit.UsageLimit module Amazonka.RedshiftServerLess.Types.VpcEndpoint -- | The connection endpoint for connecting to Amazon Redshift Serverless -- through the proxy. -- -- See: newVpcEndpoint smart constructor. data VpcEndpoint VpcEndpoint' :: Maybe [NetworkInterface] -> Maybe Text -> Maybe Text -> VpcEndpoint -- | One or more network interfaces of the endpoint. Also known as an -- interface endpoint. [$sel:networkInterfaces:VpcEndpoint'] :: VpcEndpoint -> Maybe [NetworkInterface] -- | The connection endpoint ID for connecting to Amazon Redshift -- Serverless. [$sel:vpcEndpointId:VpcEndpoint'] :: VpcEndpoint -> Maybe Text -- | The VPC identifier that the endpoint is associated with. [$sel:vpcId:VpcEndpoint'] :: VpcEndpoint -> Maybe Text -- | Create a value of VpcEndpoint with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:networkInterfaces:VpcEndpoint', -- vpcEndpoint_networkInterfaces - One or more network interfaces -- of the endpoint. Also known as an interface endpoint. -- -- $sel:vpcEndpointId:VpcEndpoint', -- vpcEndpoint_vpcEndpointId - The connection endpoint ID for -- connecting to Amazon Redshift Serverless. -- -- $sel:vpcId:VpcEndpoint', vpcEndpoint_vpcId - The VPC -- identifier that the endpoint is associated with. newVpcEndpoint :: VpcEndpoint -- | One or more network interfaces of the endpoint. Also known as an -- interface endpoint. vpcEndpoint_networkInterfaces :: Lens' VpcEndpoint (Maybe [NetworkInterface]) -- | The connection endpoint ID for connecting to Amazon Redshift -- Serverless. vpcEndpoint_vpcEndpointId :: Lens' VpcEndpoint (Maybe Text) -- | The VPC identifier that the endpoint is associated with. vpcEndpoint_vpcId :: Lens' VpcEndpoint (Maybe Text) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.VpcEndpoint.VpcEndpoint instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.VpcEndpoint.VpcEndpoint instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.VpcEndpoint.VpcEndpoint instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.VpcEndpoint.VpcEndpoint instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.VpcEndpoint.VpcEndpoint instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.VpcEndpoint.VpcEndpoint instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.VpcEndpoint.VpcEndpoint module Amazonka.RedshiftServerLess.Types.Endpoint -- | The VPC endpoint object. -- -- See: newEndpoint smart constructor. data Endpoint Endpoint' :: Maybe Text -> Maybe Int -> Maybe [VpcEndpoint] -> Endpoint -- | The DNS address of the VPC endpoint. [$sel:address:Endpoint'] :: Endpoint -> Maybe Text -- | The port that Amazon Redshift Serverless listens on. [$sel:port:Endpoint'] :: Endpoint -> Maybe Int -- | An array of VpcEndpoint objects. [$sel:vpcEndpoints:Endpoint'] :: Endpoint -> Maybe [VpcEndpoint] -- | Create a value of Endpoint with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:address:Endpoint', endpoint_address - The DNS -- address of the VPC endpoint. -- -- $sel:port:Endpoint', endpoint_port - The port that -- Amazon Redshift Serverless listens on. -- -- $sel:vpcEndpoints:Endpoint', endpoint_vpcEndpoints - An -- array of VpcEndpoint objects. newEndpoint :: Endpoint -- | The DNS address of the VPC endpoint. endpoint_address :: Lens' Endpoint (Maybe Text) -- | The port that Amazon Redshift Serverless listens on. endpoint_port :: Lens' Endpoint (Maybe Int) -- | An array of VpcEndpoint objects. endpoint_vpcEndpoints :: Lens' Endpoint (Maybe [VpcEndpoint]) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.Endpoint.Endpoint instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.Endpoint.Endpoint instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.Endpoint.Endpoint instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.Endpoint.Endpoint instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.Endpoint.Endpoint instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.Endpoint.Endpoint instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.Endpoint.Endpoint module Amazonka.RedshiftServerLess.Types.VpcSecurityGroupMembership -- | Describes the members of a VPC security group. -- -- See: newVpcSecurityGroupMembership smart constructor. data VpcSecurityGroupMembership VpcSecurityGroupMembership' :: Maybe Text -> Maybe Text -> VpcSecurityGroupMembership -- | The status of the VPC security group. [$sel:status:VpcSecurityGroupMembership'] :: VpcSecurityGroupMembership -> Maybe Text -- | The unique identifier of the VPC security group. [$sel:vpcSecurityGroupId:VpcSecurityGroupMembership'] :: VpcSecurityGroupMembership -> Maybe Text -- | Create a value of VpcSecurityGroupMembership with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:status:VpcSecurityGroupMembership', -- vpcSecurityGroupMembership_status - The status of the VPC -- security group. -- -- $sel:vpcSecurityGroupId:VpcSecurityGroupMembership', -- vpcSecurityGroupMembership_vpcSecurityGroupId - The unique -- identifier of the VPC security group. newVpcSecurityGroupMembership :: VpcSecurityGroupMembership -- | The status of the VPC security group. vpcSecurityGroupMembership_status :: Lens' VpcSecurityGroupMembership (Maybe Text) -- | The unique identifier of the VPC security group. vpcSecurityGroupMembership_vpcSecurityGroupId :: Lens' VpcSecurityGroupMembership (Maybe Text) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership module Amazonka.RedshiftServerLess.Types.EndpointAccess -- | Information about an Amazon Redshift Serverless VPC endpoint. -- -- See: newEndpointAccess smart constructor. data EndpointAccess EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> Maybe Text -> EndpointAccess -- | The DNS address of the endpoint. [$sel:address:EndpointAccess'] :: EndpointAccess -> Maybe Text -- | The Amazon Resource Name (ARN) of the VPC endpoint. [$sel:endpointArn:EndpointAccess'] :: EndpointAccess -> Maybe Text -- | The time that the endpoint was created. [$sel:endpointCreateTime:EndpointAccess'] :: EndpointAccess -> Maybe ISO8601 -- | The name of the VPC endpoint. [$sel:endpointName:EndpointAccess'] :: EndpointAccess -> Maybe Text -- | The status of the VPC endpoint. [$sel:endpointStatus:EndpointAccess'] :: EndpointAccess -> Maybe Text -- | The port number on which Amazon Redshift Serverless accepts incoming -- connections. [$sel:port:EndpointAccess'] :: EndpointAccess -> Maybe Int -- | The unique identifier of subnets where Amazon Redshift Serverless -- choose to deploy the VPC endpoint. [$sel:subnetIds:EndpointAccess'] :: EndpointAccess -> Maybe [Text] -- | The connection endpoint for connecting to Amazon Redshift Serverless. [$sel:vpcEndpoint:EndpointAccess'] :: EndpointAccess -> Maybe VpcEndpoint -- | The security groups associated with the endpoint. [$sel:vpcSecurityGroups:EndpointAccess'] :: EndpointAccess -> Maybe [VpcSecurityGroupMembership] -- | The name of the workgroup associated with the endpoint. [$sel:workgroupName:EndpointAccess'] :: EndpointAccess -> Maybe Text -- | Create a value of EndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:address:EndpointAccess', endpointAccess_address - -- The DNS address of the endpoint. -- -- $sel:endpointArn:EndpointAccess', -- endpointAccess_endpointArn - The Amazon Resource Name (ARN) of -- the VPC endpoint. -- -- $sel:endpointCreateTime:EndpointAccess', -- endpointAccess_endpointCreateTime - The time that the endpoint -- was created. -- -- $sel:endpointName:EndpointAccess', -- endpointAccess_endpointName - The name of the VPC endpoint. -- -- $sel:endpointStatus:EndpointAccess', -- endpointAccess_endpointStatus - The status of the VPC endpoint. -- -- $sel:port:EndpointAccess', endpointAccess_port - The -- port number on which Amazon Redshift Serverless accepts incoming -- connections. -- -- $sel:subnetIds:EndpointAccess', endpointAccess_subnetIds -- - The unique identifier of subnets where Amazon Redshift Serverless -- choose to deploy the VPC endpoint. -- -- $sel:vpcEndpoint:EndpointAccess', -- endpointAccess_vpcEndpoint - The connection endpoint for -- connecting to Amazon Redshift Serverless. -- -- $sel:vpcSecurityGroups:EndpointAccess', -- endpointAccess_vpcSecurityGroups - The security groups -- associated with the endpoint. -- -- $sel:workgroupName:EndpointAccess', -- endpointAccess_workgroupName - The name of the workgroup -- associated with the endpoint. newEndpointAccess :: EndpointAccess -- | The DNS address of the endpoint. endpointAccess_address :: Lens' EndpointAccess (Maybe Text) -- | The Amazon Resource Name (ARN) of the VPC endpoint. endpointAccess_endpointArn :: Lens' EndpointAccess (Maybe Text) -- | The time that the endpoint was created. endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime) -- | The name of the VPC endpoint. endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text) -- | The status of the VPC endpoint. endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text) -- | The port number on which Amazon Redshift Serverless accepts incoming -- connections. endpointAccess_port :: Lens' EndpointAccess (Maybe Int) -- | The unique identifier of subnets where Amazon Redshift Serverless -- choose to deploy the VPC endpoint. endpointAccess_subnetIds :: Lens' EndpointAccess (Maybe [Text]) -- | The connection endpoint for connecting to Amazon Redshift Serverless. endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint) -- | The security groups associated with the endpoint. endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership]) -- | The name of the workgroup associated with the endpoint. endpointAccess_workgroupName :: Lens' EndpointAccess (Maybe Text) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.EndpointAccess.EndpointAccess instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.EndpointAccess.EndpointAccess instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.EndpointAccess.EndpointAccess instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.EndpointAccess.EndpointAccess instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.EndpointAccess.EndpointAccess instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.EndpointAccess.EndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.EndpointAccess.EndpointAccess module Amazonka.RedshiftServerLess.Types.WorkgroupStatus newtype WorkgroupStatus WorkgroupStatus' :: Text -> WorkgroupStatus [fromWorkgroupStatus] :: WorkgroupStatus -> Text pattern WorkgroupStatus_AVAILABLE :: WorkgroupStatus pattern WorkgroupStatus_CREATING :: WorkgroupStatus pattern WorkgroupStatus_DELETING :: WorkgroupStatus pattern WorkgroupStatus_MODIFYING :: WorkgroupStatus instance Amazonka.Data.XML.ToXML Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Amazonka.Data.XML.FromXML Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Amazonka.Data.Headers.ToHeader Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Amazonka.Data.Log.ToLog Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Amazonka.Data.Text.ToText Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Amazonka.Data.Text.FromText Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance GHC.Classes.Ord Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.WorkgroupStatus.WorkgroupStatus module Amazonka.RedshiftServerLess.Types.Workgroup -- | The collection of computing resources from which an endpoint is -- created. -- -- See: newWorkgroup smart constructor. data Workgroup Workgroup' :: Maybe Int -> Maybe [ConfigParameter] -> Maybe ISO8601 -> Maybe Endpoint -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Bool -> Maybe [Text] -> Maybe WorkgroupStatus -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Workgroup -- | The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). [$sel:baseCapacity:Workgroup'] :: Workgroup -> Maybe Int -- | An array of parameters to set for finer control over a database. The -- options are datestyle, enable_user_activity_logging, -- query_group, search_path, and -- max_query_execution_time. [$sel:configParameters:Workgroup'] :: Workgroup -> Maybe [ConfigParameter] -- | The creation date of the workgroup. [$sel:creationDate:Workgroup'] :: Workgroup -> Maybe ISO8601 -- | The endpoint that is created from the workgroup. [$sel:endpoint:Workgroup'] :: Workgroup -> Maybe Endpoint -- | The value that specifies whether to enable enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC. [$sel:enhancedVpcRouting:Workgroup'] :: Workgroup -> Maybe Bool -- | The namespace the workgroup is associated with. [$sel:namespaceName:Workgroup'] :: Workgroup -> Maybe Text -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. [$sel:port:Workgroup'] :: Workgroup -> Maybe Int -- | A value that specifies whether the workgroup can be accessible from a -- public network [$sel:publiclyAccessible:Workgroup'] :: Workgroup -> Maybe Bool -- | An array of security group IDs to associate with the workgroup. [$sel:securityGroupIds:Workgroup'] :: Workgroup -> Maybe [Text] -- | The status of the workgroup. [$sel:status:Workgroup'] :: Workgroup -> Maybe WorkgroupStatus -- | An array of subnet IDs the workgroup is associated with. [$sel:subnetIds:Workgroup'] :: Workgroup -> Maybe [Text] -- | The Amazon Resource Name (ARN) that links to the workgroup. [$sel:workgroupArn:Workgroup'] :: Workgroup -> Maybe Text -- | The unique identifier of the workgroup. [$sel:workgroupId:Workgroup'] :: Workgroup -> Maybe Text -- | The name of the workgroup. [$sel:workgroupName:Workgroup'] :: Workgroup -> Maybe Text -- | Create a value of Workgroup with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:baseCapacity:Workgroup', workgroup_baseCapacity - -- The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). -- -- $sel:configParameters:Workgroup', -- workgroup_configParameters - An array of parameters to set for -- finer control over a database. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. -- -- $sel:creationDate:Workgroup', workgroup_creationDate - -- The creation date of the workgroup. -- -- $sel:endpoint:Workgroup', workgroup_endpoint - The -- endpoint that is created from the workgroup. -- -- $sel:enhancedVpcRouting:Workgroup', -- workgroup_enhancedVpcRouting - The value that specifies whether -- to enable enhanced virtual private cloud (VPC) routing, which forces -- Amazon Redshift Serverless to route traffic through your VPC. -- -- $sel:namespaceName:Workgroup', workgroup_namespaceName - -- The namespace the workgroup is associated with. -- -- Workgroup, workgroup_port - The custom port to use when -- connecting to a workgroup. Valid port ranges are 5431-5455 and -- 8191-8215. The default is 5439. -- -- $sel:publiclyAccessible:Workgroup', -- workgroup_publiclyAccessible - A value that specifies whether -- the workgroup can be accessible from a public network -- -- $sel:securityGroupIds:Workgroup', -- workgroup_securityGroupIds - An array of security group IDs to -- associate with the workgroup. -- -- $sel:status:Workgroup', workgroup_status - The status of -- the workgroup. -- -- $sel:subnetIds:Workgroup', workgroup_subnetIds - An -- array of subnet IDs the workgroup is associated with. -- -- $sel:workgroupArn:Workgroup', workgroup_workgroupArn - -- The Amazon Resource Name (ARN) that links to the workgroup. -- -- $sel:workgroupId:Workgroup', workgroup_workgroupId - The -- unique identifier of the workgroup. -- -- $sel:workgroupName:Workgroup', workgroup_workgroupName - -- The name of the workgroup. newWorkgroup :: Workgroup -- | The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). workgroup_baseCapacity :: Lens' Workgroup (Maybe Int) -- | An array of parameters to set for finer control over a database. The -- options are datestyle, enable_user_activity_logging, -- query_group, search_path, and -- max_query_execution_time. workgroup_configParameters :: Lens' Workgroup (Maybe [ConfigParameter]) -- | The creation date of the workgroup. workgroup_creationDate :: Lens' Workgroup (Maybe UTCTime) -- | The endpoint that is created from the workgroup. workgroup_endpoint :: Lens' Workgroup (Maybe Endpoint) -- | The value that specifies whether to enable enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC. workgroup_enhancedVpcRouting :: Lens' Workgroup (Maybe Bool) -- | The namespace the workgroup is associated with. workgroup_namespaceName :: Lens' Workgroup (Maybe Text) -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. workgroup_port :: Lens' Workgroup (Maybe Int) -- | A value that specifies whether the workgroup can be accessible from a -- public network workgroup_publiclyAccessible :: Lens' Workgroup (Maybe Bool) -- | An array of security group IDs to associate with the workgroup. workgroup_securityGroupIds :: Lens' Workgroup (Maybe [Text]) -- | The status of the workgroup. workgroup_status :: Lens' Workgroup (Maybe WorkgroupStatus) -- | An array of subnet IDs the workgroup is associated with. workgroup_subnetIds :: Lens' Workgroup (Maybe [Text]) -- | The Amazon Resource Name (ARN) that links to the workgroup. workgroup_workgroupArn :: Lens' Workgroup (Maybe Text) -- | The unique identifier of the workgroup. workgroup_workgroupId :: Lens' Workgroup (Maybe Text) -- | The name of the workgroup. workgroup_workgroupName :: Lens' Workgroup (Maybe Text) instance GHC.Generics.Generic Amazonka.RedshiftServerLess.Types.Workgroup.Workgroup instance GHC.Show.Show Amazonka.RedshiftServerLess.Types.Workgroup.Workgroup instance GHC.Read.Read Amazonka.RedshiftServerLess.Types.Workgroup.Workgroup instance GHC.Classes.Eq Amazonka.RedshiftServerLess.Types.Workgroup.Workgroup instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.RedshiftServerLess.Types.Workgroup.Workgroup instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.Types.Workgroup.Workgroup instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.Types.Workgroup.Workgroup module Amazonka.RedshiftServerLess.Types -- | API version 2021-04-21 of the Amazon Redshift Serverless SDK -- configuration. defaultService :: Service -- | You do not have sufficient access to perform this action. _AccessDeniedException :: AsError a => Fold a ServiceError -- | The submitted action has conflicts. _ConflictException :: AsError a => Fold a ServiceError -- | There is an insufficient capacity to perform the action. _InsufficientCapacityException :: AsError a => Fold a ServiceError -- | The request processing has failed because of an unknown error, -- exception or failure. _InternalServerException :: AsError a => Fold a ServiceError -- | The provided pagination token is invalid. _InvalidPaginationException :: AsError a => Fold a ServiceError -- | The resource could not be found. _ResourceNotFoundException :: AsError a => Fold a ServiceError -- | The service limit was exceeded. _ServiceQuotaExceededException :: AsError a => Fold a ServiceError -- | The request was denied due to request throttling. _ThrottlingException :: AsError a => Fold a ServiceError -- | The request exceeded the number of tags allowed for a resource. _TooManyTagsException :: AsError a => Fold a ServiceError -- | The input failed to satisfy the constraints specified by an AWS -- service. _ValidationException :: AsError a => Fold a ServiceError newtype LogExport LogExport' :: Text -> LogExport [fromLogExport] :: LogExport -> Text pattern LogExport_Connectionlog :: LogExport pattern LogExport_Useractivitylog :: LogExport pattern LogExport_Userlog :: LogExport newtype NamespaceStatus NamespaceStatus' :: Text -> NamespaceStatus [fromNamespaceStatus] :: NamespaceStatus -> Text pattern NamespaceStatus_AVAILABLE :: NamespaceStatus pattern NamespaceStatus_DELETING :: NamespaceStatus pattern NamespaceStatus_MODIFYING :: NamespaceStatus newtype SnapshotStatus SnapshotStatus' :: Text -> SnapshotStatus [fromSnapshotStatus] :: SnapshotStatus -> Text pattern SnapshotStatus_AVAILABLE :: SnapshotStatus pattern SnapshotStatus_CANCELLED :: SnapshotStatus pattern SnapshotStatus_COPYING :: SnapshotStatus pattern SnapshotStatus_CREATING :: SnapshotStatus pattern SnapshotStatus_DELETED :: SnapshotStatus pattern SnapshotStatus_FAILED :: SnapshotStatus newtype UsageLimitBreachAction UsageLimitBreachAction' :: Text -> UsageLimitBreachAction [fromUsageLimitBreachAction] :: UsageLimitBreachAction -> Text pattern UsageLimitBreachAction_Deactivate :: UsageLimitBreachAction pattern UsageLimitBreachAction_Emit_metric :: UsageLimitBreachAction pattern UsageLimitBreachAction_Log :: UsageLimitBreachAction newtype UsageLimitPeriod UsageLimitPeriod' :: Text -> UsageLimitPeriod [fromUsageLimitPeriod] :: UsageLimitPeriod -> Text pattern UsageLimitPeriod_Daily :: UsageLimitPeriod pattern UsageLimitPeriod_Monthly :: UsageLimitPeriod pattern UsageLimitPeriod_Weekly :: UsageLimitPeriod newtype UsageLimitUsageType UsageLimitUsageType' :: Text -> UsageLimitUsageType [fromUsageLimitUsageType] :: UsageLimitUsageType -> Text pattern UsageLimitUsageType_Cross_region_datasharing :: UsageLimitUsageType pattern UsageLimitUsageType_Serverless_compute :: UsageLimitUsageType newtype WorkgroupStatus WorkgroupStatus' :: Text -> WorkgroupStatus [fromWorkgroupStatus] :: WorkgroupStatus -> Text pattern WorkgroupStatus_AVAILABLE :: WorkgroupStatus pattern WorkgroupStatus_CREATING :: WorkgroupStatus pattern WorkgroupStatus_DELETING :: WorkgroupStatus pattern WorkgroupStatus_MODIFYING :: WorkgroupStatus -- | An array of key-value pairs to set for advanced control over Amazon -- Redshift Serverless. -- -- See: newConfigParameter smart constructor. data ConfigParameter ConfigParameter' :: Maybe Text -> Maybe Text -> ConfigParameter -- | The key of the parameter. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. [$sel:parameterKey:ConfigParameter'] :: ConfigParameter -> Maybe Text -- | The value of the parameter to set. [$sel:parameterValue:ConfigParameter'] :: ConfigParameter -> Maybe Text -- | Create a value of ConfigParameter with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:parameterKey:ConfigParameter', -- configParameter_parameterKey - The key of the parameter. The -- options are datestyle, enable_user_activity_logging, -- query_group, search_path, and -- max_query_execution_time. -- -- $sel:parameterValue:ConfigParameter', -- configParameter_parameterValue - The value of the parameter to -- set. newConfigParameter :: ConfigParameter -- | The key of the parameter. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. configParameter_parameterKey :: Lens' ConfigParameter (Maybe Text) -- | The value of the parameter to set. configParameter_parameterValue :: Lens' ConfigParameter (Maybe Text) -- | The VPC endpoint object. -- -- See: newEndpoint smart constructor. data Endpoint Endpoint' :: Maybe Text -> Maybe Int -> Maybe [VpcEndpoint] -> Endpoint -- | The DNS address of the VPC endpoint. [$sel:address:Endpoint'] :: Endpoint -> Maybe Text -- | The port that Amazon Redshift Serverless listens on. [$sel:port:Endpoint'] :: Endpoint -> Maybe Int -- | An array of VpcEndpoint objects. [$sel:vpcEndpoints:Endpoint'] :: Endpoint -> Maybe [VpcEndpoint] -- | Create a value of Endpoint with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:address:Endpoint', endpoint_address - The DNS -- address of the VPC endpoint. -- -- $sel:port:Endpoint', endpoint_port - The port that -- Amazon Redshift Serverless listens on. -- -- $sel:vpcEndpoints:Endpoint', endpoint_vpcEndpoints - An -- array of VpcEndpoint objects. newEndpoint :: Endpoint -- | The DNS address of the VPC endpoint. endpoint_address :: Lens' Endpoint (Maybe Text) -- | The port that Amazon Redshift Serverless listens on. endpoint_port :: Lens' Endpoint (Maybe Int) -- | An array of VpcEndpoint objects. endpoint_vpcEndpoints :: Lens' Endpoint (Maybe [VpcEndpoint]) -- | Information about an Amazon Redshift Serverless VPC endpoint. -- -- See: newEndpointAccess smart constructor. data EndpointAccess EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> Maybe Text -> EndpointAccess -- | The DNS address of the endpoint. [$sel:address:EndpointAccess'] :: EndpointAccess -> Maybe Text -- | The Amazon Resource Name (ARN) of the VPC endpoint. [$sel:endpointArn:EndpointAccess'] :: EndpointAccess -> Maybe Text -- | The time that the endpoint was created. [$sel:endpointCreateTime:EndpointAccess'] :: EndpointAccess -> Maybe ISO8601 -- | The name of the VPC endpoint. [$sel:endpointName:EndpointAccess'] :: EndpointAccess -> Maybe Text -- | The status of the VPC endpoint. [$sel:endpointStatus:EndpointAccess'] :: EndpointAccess -> Maybe Text -- | The port number on which Amazon Redshift Serverless accepts incoming -- connections. [$sel:port:EndpointAccess'] :: EndpointAccess -> Maybe Int -- | The unique identifier of subnets where Amazon Redshift Serverless -- choose to deploy the VPC endpoint. [$sel:subnetIds:EndpointAccess'] :: EndpointAccess -> Maybe [Text] -- | The connection endpoint for connecting to Amazon Redshift Serverless. [$sel:vpcEndpoint:EndpointAccess'] :: EndpointAccess -> Maybe VpcEndpoint -- | The security groups associated with the endpoint. [$sel:vpcSecurityGroups:EndpointAccess'] :: EndpointAccess -> Maybe [VpcSecurityGroupMembership] -- | The name of the workgroup associated with the endpoint. [$sel:workgroupName:EndpointAccess'] :: EndpointAccess -> Maybe Text -- | Create a value of EndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:address:EndpointAccess', endpointAccess_address - -- The DNS address of the endpoint. -- -- $sel:endpointArn:EndpointAccess', -- endpointAccess_endpointArn - The Amazon Resource Name (ARN) of -- the VPC endpoint. -- -- $sel:endpointCreateTime:EndpointAccess', -- endpointAccess_endpointCreateTime - The time that the endpoint -- was created. -- -- $sel:endpointName:EndpointAccess', -- endpointAccess_endpointName - The name of the VPC endpoint. -- -- $sel:endpointStatus:EndpointAccess', -- endpointAccess_endpointStatus - The status of the VPC endpoint. -- -- $sel:port:EndpointAccess', endpointAccess_port - The -- port number on which Amazon Redshift Serverless accepts incoming -- connections. -- -- $sel:subnetIds:EndpointAccess', endpointAccess_subnetIds -- - The unique identifier of subnets where Amazon Redshift Serverless -- choose to deploy the VPC endpoint. -- -- $sel:vpcEndpoint:EndpointAccess', -- endpointAccess_vpcEndpoint - The connection endpoint for -- connecting to Amazon Redshift Serverless. -- -- $sel:vpcSecurityGroups:EndpointAccess', -- endpointAccess_vpcSecurityGroups - The security groups -- associated with the endpoint. -- -- $sel:workgroupName:EndpointAccess', -- endpointAccess_workgroupName - The name of the workgroup -- associated with the endpoint. newEndpointAccess :: EndpointAccess -- | The DNS address of the endpoint. endpointAccess_address :: Lens' EndpointAccess (Maybe Text) -- | The Amazon Resource Name (ARN) of the VPC endpoint. endpointAccess_endpointArn :: Lens' EndpointAccess (Maybe Text) -- | The time that the endpoint was created. endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime) -- | The name of the VPC endpoint. endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text) -- | The status of the VPC endpoint. endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text) -- | The port number on which Amazon Redshift Serverless accepts incoming -- connections. endpointAccess_port :: Lens' EndpointAccess (Maybe Int) -- | The unique identifier of subnets where Amazon Redshift Serverless -- choose to deploy the VPC endpoint. endpointAccess_subnetIds :: Lens' EndpointAccess (Maybe [Text]) -- | The connection endpoint for connecting to Amazon Redshift Serverless. endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint) -- | The security groups associated with the endpoint. endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership]) -- | The name of the workgroup associated with the endpoint. endpointAccess_workgroupName :: Lens' EndpointAccess (Maybe Text) -- | A collection of database objects and users. -- -- See: newNamespace smart constructor. data Namespace Namespace' :: Maybe (Sensitive Text) -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe [LogExport] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NamespaceStatus -> Namespace -- | The username of the administrator for the first database created in -- the namespace. [$sel:adminUsername:Namespace'] :: Namespace -> Maybe (Sensitive Text) -- | The date of when the namespace was created. [$sel:creationDate:Namespace'] :: Namespace -> Maybe ISO8601 -- | The name of the first database created in the namespace. [$sel:dbName:Namespace'] :: Namespace -> Maybe Text -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. [$sel:defaultIamRoleArn:Namespace'] :: Namespace -> Maybe Text -- | A list of IAM roles to associate with the namespace. [$sel:iamRoles:Namespace'] :: Namespace -> Maybe [Text] -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. [$sel:kmsKeyId:Namespace'] :: Namespace -> Maybe Text -- | The types of logs the namespace can export. Available export types are -- User log, Connection log, and User activity log. [$sel:logExports:Namespace'] :: Namespace -> Maybe [LogExport] -- | The Amazon Resource Name (ARN) associated with a namespace. [$sel:namespaceArn:Namespace'] :: Namespace -> Maybe Text -- | The unique identifier of a namespace. [$sel:namespaceId:Namespace'] :: Namespace -> Maybe Text -- | The name of the namespace. Must be between 3-64 alphanumeric -- characters in lowercase, and it cannot be a reserved word. A list of -- reserved words can be found in Reserved Words in the Amazon -- Redshift Database Developer Guide. [$sel:namespaceName:Namespace'] :: Namespace -> Maybe Text -- | The status of the namespace. [$sel:status:Namespace'] :: Namespace -> Maybe NamespaceStatus -- | Create a value of Namespace with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:adminUsername:Namespace', namespace_adminUsername - -- The username of the administrator for the first database created in -- the namespace. -- -- $sel:creationDate:Namespace', namespace_creationDate - -- The date of when the namespace was created. -- -- $sel:dbName:Namespace', namespace_dbName - The name of -- the first database created in the namespace. -- -- $sel:defaultIamRoleArn:Namespace', -- namespace_defaultIamRoleArn - The Amazon Resource Name (ARN) of -- the IAM role to set as a default in the namespace. -- -- $sel:iamRoles:Namespace', namespace_iamRoles - A list of -- IAM roles to associate with the namespace. -- -- $sel:kmsKeyId:Namespace', namespace_kmsKeyId - The ID of -- the Amazon Web Services Key Management Service key used to encrypt -- your data. -- -- $sel:logExports:Namespace', namespace_logExports - The -- types of logs the namespace can export. Available export types are -- User log, Connection log, and User activity log. -- -- $sel:namespaceArn:Namespace', namespace_namespaceArn - -- The Amazon Resource Name (ARN) associated with a namespace. -- -- $sel:namespaceId:Namespace', namespace_namespaceId - The -- unique identifier of a namespace. -- -- $sel:namespaceName:Namespace', namespace_namespaceName - -- The name of the namespace. Must be between 3-64 alphanumeric -- characters in lowercase, and it cannot be a reserved word. A list of -- reserved words can be found in Reserved Words in the Amazon -- Redshift Database Developer Guide. -- -- $sel:status:Namespace', namespace_status - The status of -- the namespace. newNamespace :: Namespace -- | The username of the administrator for the first database created in -- the namespace. namespace_adminUsername :: Lens' Namespace (Maybe Text) -- | The date of when the namespace was created. namespace_creationDate :: Lens' Namespace (Maybe UTCTime) -- | The name of the first database created in the namespace. namespace_dbName :: Lens' Namespace (Maybe Text) -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. namespace_defaultIamRoleArn :: Lens' Namespace (Maybe Text) -- | A list of IAM roles to associate with the namespace. namespace_iamRoles :: Lens' Namespace (Maybe [Text]) -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. namespace_kmsKeyId :: Lens' Namespace (Maybe Text) -- | The types of logs the namespace can export. Available export types are -- User log, Connection log, and User activity log. namespace_logExports :: Lens' Namespace (Maybe [LogExport]) -- | The Amazon Resource Name (ARN) associated with a namespace. namespace_namespaceArn :: Lens' Namespace (Maybe Text) -- | The unique identifier of a namespace. namespace_namespaceId :: Lens' Namespace (Maybe Text) -- | The name of the namespace. Must be between 3-64 alphanumeric -- characters in lowercase, and it cannot be a reserved word. A list of -- reserved words can be found in Reserved Words in the Amazon -- Redshift Database Developer Guide. namespace_namespaceName :: Lens' Namespace (Maybe Text) -- | The status of the namespace. namespace_status :: Lens' Namespace (Maybe NamespaceStatus) -- | Contains information about a network interface in an Amazon Redshift -- Serverless managed VPC endpoint. -- -- See: newNetworkInterface smart constructor. data NetworkInterface NetworkInterface' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> NetworkInterface -- | The availability Zone. [$sel:availabilityZone:NetworkInterface'] :: NetworkInterface -> Maybe Text -- | The unique identifier of the network interface. [$sel:networkInterfaceId:NetworkInterface'] :: NetworkInterface -> Maybe Text -- | The IPv4 address of the network interface within the subnet. [$sel:privateIpAddress:NetworkInterface'] :: NetworkInterface -> Maybe Text -- | The unique identifier of the subnet. [$sel:subnetId:NetworkInterface'] :: NetworkInterface -> Maybe Text -- | Create a value of NetworkInterface with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:availabilityZone:NetworkInterface', -- networkInterface_availabilityZone - The availability Zone. -- -- $sel:networkInterfaceId:NetworkInterface', -- networkInterface_networkInterfaceId - The unique identifier of -- the network interface. -- -- $sel:privateIpAddress:NetworkInterface', -- networkInterface_privateIpAddress - The IPv4 address of the -- network interface within the subnet. -- -- $sel:subnetId:NetworkInterface', -- networkInterface_subnetId - The unique identifier of the -- subnet. newNetworkInterface :: NetworkInterface -- | The availability Zone. networkInterface_availabilityZone :: Lens' NetworkInterface (Maybe Text) -- | The unique identifier of the network interface. networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text) -- | The IPv4 address of the network interface within the subnet. networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text) -- | The unique identifier of the subnet. networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text) -- | The automatically created recovery point of a namespace. Recovery -- points are created every 30 minutes and kept for 24 hours. -- -- See: newRecoveryPoint smart constructor. data RecoveryPoint RecoveryPoint' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Double -> Maybe Text -> RecoveryPoint -- | The Amazon Resource Name (ARN) of the namespace the recovery point is -- associated with. [$sel:namespaceArn:RecoveryPoint'] :: RecoveryPoint -> Maybe Text -- | The name of the namespace the recovery point is associated with. [$sel:namespaceName:RecoveryPoint'] :: RecoveryPoint -> Maybe Text -- | The time the recovery point is created. [$sel:recoveryPointCreateTime:RecoveryPoint'] :: RecoveryPoint -> Maybe ISO8601 -- | The unique identifier of the recovery point. [$sel:recoveryPointId:RecoveryPoint'] :: RecoveryPoint -> Maybe Text -- | The total size of the data in the recovery point in megabytes. [$sel:totalSizeInMegaBytes:RecoveryPoint'] :: RecoveryPoint -> Maybe Double -- | The name of the workgroup the recovery point is associated with. [$sel:workgroupName:RecoveryPoint'] :: RecoveryPoint -> Maybe Text -- | Create a value of RecoveryPoint with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:namespaceArn:RecoveryPoint', -- recoveryPoint_namespaceArn - The Amazon Resource Name (ARN) of -- the namespace the recovery point is associated with. -- -- $sel:namespaceName:RecoveryPoint', -- recoveryPoint_namespaceName - The name of the namespace the -- recovery point is associated with. -- -- $sel:recoveryPointCreateTime:RecoveryPoint', -- recoveryPoint_recoveryPointCreateTime - The time the recovery -- point is created. -- -- $sel:recoveryPointId:RecoveryPoint', -- recoveryPoint_recoveryPointId - The unique identifier of the -- recovery point. -- -- $sel:totalSizeInMegaBytes:RecoveryPoint', -- recoveryPoint_totalSizeInMegaBytes - The total size of the data -- in the recovery point in megabytes. -- -- $sel:workgroupName:RecoveryPoint', -- recoveryPoint_workgroupName - The name of the workgroup the -- recovery point is associated with. newRecoveryPoint :: RecoveryPoint -- | The Amazon Resource Name (ARN) of the namespace the recovery point is -- associated with. recoveryPoint_namespaceArn :: Lens' RecoveryPoint (Maybe Text) -- | The name of the namespace the recovery point is associated with. recoveryPoint_namespaceName :: Lens' RecoveryPoint (Maybe Text) -- | The time the recovery point is created. recoveryPoint_recoveryPointCreateTime :: Lens' RecoveryPoint (Maybe UTCTime) -- | The unique identifier of the recovery point. recoveryPoint_recoveryPointId :: Lens' RecoveryPoint (Maybe Text) -- | The total size of the data in the recovery point in megabytes. recoveryPoint_totalSizeInMegaBytes :: Lens' RecoveryPoint (Maybe Double) -- | The name of the workgroup the recovery point is associated with. recoveryPoint_workgroupName :: Lens' RecoveryPoint (Maybe Text) -- | The resource policy object. Currently, you can use policies to share -- snapshots across Amazon Web Services accounts. -- -- See: newResourcePolicy smart constructor. data ResourcePolicy ResourcePolicy' :: Maybe Text -> Maybe Text -> ResourcePolicy -- | The resource policy. [$sel:policy:ResourcePolicy'] :: ResourcePolicy -> Maybe Text -- | The Amazon Resource Name (ARN) of the policy. [$sel:resourceArn:ResourcePolicy'] :: ResourcePolicy -> Maybe Text -- | Create a value of ResourcePolicy with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:policy:ResourcePolicy', resourcePolicy_policy - The -- resource policy. -- -- $sel:resourceArn:ResourcePolicy', -- resourcePolicy_resourceArn - The Amazon Resource Name (ARN) of -- the policy. newResourcePolicy :: ResourcePolicy -- | The resource policy. resourcePolicy_policy :: Lens' ResourcePolicy (Maybe Text) -- | The Amazon Resource Name (ARN) of the policy. resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text) -- | A snapshot object that contains databases. -- -- See: newSnapshot smart constructor. data Snapshot Snapshot' :: Maybe [Text] -> Maybe [Text] -> Maybe Double -> Maybe Text -> Maybe Double -> Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe ISO8601 -> Maybe SnapshotStatus -> Maybe Double -> Snapshot -- | All of the Amazon Web Services accounts that have access to restore a -- snapshot to a provisioned cluster. [$sel:accountsWithProvisionedRestoreAccess:Snapshot'] :: Snapshot -> Maybe [Text] -- | All of the Amazon Web Services accounts that have access to restore a -- snapshot to a namespace. [$sel:accountsWithRestoreAccess:Snapshot'] :: Snapshot -> Maybe [Text] -- | The size of the incremental backup in megabytes. [$sel:actualIncrementalBackupSizeInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double -- | The username of the database within a snapshot. [$sel:adminUsername:Snapshot'] :: Snapshot -> Maybe Text -- | The size in megabytes of the data that has been backed up to a -- snapshot. [$sel:backupProgressInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double -- | The rate at which data is backed up into a snapshot in megabytes per -- second. [$sel:currentBackupRateInMegaBytesPerSecond:Snapshot'] :: Snapshot -> Maybe Double -- | The amount of time it took to back up data into a snapshot. [$sel:elapsedTimeInSeconds:Snapshot'] :: Snapshot -> Maybe Integer -- | The estimated amount of seconds until the snapshot completes backup. [$sel:estimatedSecondsToCompletion:Snapshot'] :: Snapshot -> Maybe Integer -- | The unique identifier of the KMS key used to encrypt the snapshot. [$sel:kmsKeyId:Snapshot'] :: Snapshot -> Maybe Text -- | The Amazon Resource Name (ARN) of the namespace the snapshot was -- created from. [$sel:namespaceArn:Snapshot'] :: Snapshot -> Maybe Text -- | The name of the namepsace. [$sel:namespaceName:Snapshot'] :: Snapshot -> Maybe Text -- | The owner Amazon Web Services; account of the snapshot. [$sel:ownerAccount:Snapshot'] :: Snapshot -> Maybe Text -- | The Amazon Resource Name (ARN) of the snapshot. [$sel:snapshotArn:Snapshot'] :: Snapshot -> Maybe Text -- | The timestamp of when the snapshot was created. [$sel:snapshotCreateTime:Snapshot'] :: Snapshot -> Maybe ISO8601 -- | The name of the snapshot. [$sel:snapshotName:Snapshot'] :: Snapshot -> Maybe Text -- | The amount of days until the snapshot is deleted. [$sel:snapshotRemainingDays:Snapshot'] :: Snapshot -> Maybe Int -- | The period of time, in days, of how long the snapshot is retained. [$sel:snapshotRetentionPeriod:Snapshot'] :: Snapshot -> Maybe Int -- | The timestamp of when data within the snapshot started getting -- retained. [$sel:snapshotRetentionStartTime:Snapshot'] :: Snapshot -> Maybe ISO8601 -- | The status of the snapshot. [$sel:status:Snapshot'] :: Snapshot -> Maybe SnapshotStatus -- | The total size, in megabytes, of how big the snapshot is. [$sel:totalBackupSizeInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double -- | Create a value of Snapshot with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:accountsWithProvisionedRestoreAccess:Snapshot', -- snapshot_accountsWithProvisionedRestoreAccess - All of the -- Amazon Web Services accounts that have access to restore a snapshot to -- a provisioned cluster. -- -- $sel:accountsWithRestoreAccess:Snapshot', -- snapshot_accountsWithRestoreAccess - All of the Amazon Web -- Services accounts that have access to restore a snapshot to a -- namespace. -- -- $sel:actualIncrementalBackupSizeInMegaBytes:Snapshot', -- snapshot_actualIncrementalBackupSizeInMegaBytes - The size of -- the incremental backup in megabytes. -- -- $sel:adminUsername:Snapshot', snapshot_adminUsername - -- The username of the database within a snapshot. -- -- $sel:backupProgressInMegaBytes:Snapshot', -- snapshot_backupProgressInMegaBytes - The size in megabytes of -- the data that has been backed up to a snapshot. -- -- $sel:currentBackupRateInMegaBytesPerSecond:Snapshot', -- snapshot_currentBackupRateInMegaBytesPerSecond - The rate at -- which data is backed up into a snapshot in megabytes per second. -- -- $sel:elapsedTimeInSeconds:Snapshot', -- snapshot_elapsedTimeInSeconds - The amount of time it took to -- back up data into a snapshot. -- -- $sel:estimatedSecondsToCompletion:Snapshot', -- snapshot_estimatedSecondsToCompletion - The estimated amount of -- seconds until the snapshot completes backup. -- -- $sel:kmsKeyId:Snapshot', snapshot_kmsKeyId - The unique -- identifier of the KMS key used to encrypt the snapshot. -- -- $sel:namespaceArn:Snapshot', snapshot_namespaceArn - The -- Amazon Resource Name (ARN) of the namespace the snapshot was created -- from. -- -- $sel:namespaceName:Snapshot', snapshot_namespaceName - -- The name of the namepsace. -- -- $sel:ownerAccount:Snapshot', snapshot_ownerAccount - The -- owner Amazon Web Services; account of the snapshot. -- -- $sel:snapshotArn:Snapshot', snapshot_snapshotArn - The -- Amazon Resource Name (ARN) of the snapshot. -- -- $sel:snapshotCreateTime:Snapshot', -- snapshot_snapshotCreateTime - The timestamp of when the -- snapshot was created. -- -- $sel:snapshotName:Snapshot', snapshot_snapshotName - The -- name of the snapshot. -- -- $sel:snapshotRemainingDays:Snapshot', -- snapshot_snapshotRemainingDays - The amount of days until the -- snapshot is deleted. -- -- $sel:snapshotRetentionPeriod:Snapshot', -- snapshot_snapshotRetentionPeriod - The period of time, in days, -- of how long the snapshot is retained. -- -- $sel:snapshotRetentionStartTime:Snapshot', -- snapshot_snapshotRetentionStartTime - The timestamp of when -- data within the snapshot started getting retained. -- -- $sel:status:Snapshot', snapshot_status - The status of -- the snapshot. -- -- $sel:totalBackupSizeInMegaBytes:Snapshot', -- snapshot_totalBackupSizeInMegaBytes - The total size, in -- megabytes, of how big the snapshot is. newSnapshot :: Snapshot -- | All of the Amazon Web Services accounts that have access to restore a -- snapshot to a provisioned cluster. snapshot_accountsWithProvisionedRestoreAccess :: Lens' Snapshot (Maybe [Text]) -- | All of the Amazon Web Services accounts that have access to restore a -- snapshot to a namespace. snapshot_accountsWithRestoreAccess :: Lens' Snapshot (Maybe [Text]) -- | The size of the incremental backup in megabytes. snapshot_actualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double) -- | The username of the database within a snapshot. snapshot_adminUsername :: Lens' Snapshot (Maybe Text) -- | The size in megabytes of the data that has been backed up to a -- snapshot. snapshot_backupProgressInMegaBytes :: Lens' Snapshot (Maybe Double) -- | The rate at which data is backed up into a snapshot in megabytes per -- second. snapshot_currentBackupRateInMegaBytesPerSecond :: Lens' Snapshot (Maybe Double) -- | The amount of time it took to back up data into a snapshot. snapshot_elapsedTimeInSeconds :: Lens' Snapshot (Maybe Integer) -- | The estimated amount of seconds until the snapshot completes backup. snapshot_estimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer) -- | The unique identifier of the KMS key used to encrypt the snapshot. snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text) -- | The Amazon Resource Name (ARN) of the namespace the snapshot was -- created from. snapshot_namespaceArn :: Lens' Snapshot (Maybe Text) -- | The name of the namepsace. snapshot_namespaceName :: Lens' Snapshot (Maybe Text) -- | The owner Amazon Web Services; account of the snapshot. snapshot_ownerAccount :: Lens' Snapshot (Maybe Text) -- | The Amazon Resource Name (ARN) of the snapshot. snapshot_snapshotArn :: Lens' Snapshot (Maybe Text) -- | The timestamp of when the snapshot was created. snapshot_snapshotCreateTime :: Lens' Snapshot (Maybe UTCTime) -- | The name of the snapshot. snapshot_snapshotName :: Lens' Snapshot (Maybe Text) -- | The amount of days until the snapshot is deleted. snapshot_snapshotRemainingDays :: Lens' Snapshot (Maybe Int) -- | The period of time, in days, of how long the snapshot is retained. snapshot_snapshotRetentionPeriod :: Lens' Snapshot (Maybe Int) -- | The timestamp of when data within the snapshot started getting -- retained. snapshot_snapshotRetentionStartTime :: Lens' Snapshot (Maybe UTCTime) -- | The status of the snapshot. snapshot_status :: Lens' Snapshot (Maybe SnapshotStatus) -- | The total size, in megabytes, of how big the snapshot is. snapshot_totalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double) -- | Contains information about a table restore request. -- -- See: newTableRestoreStatus smart constructor. data TableRestoreStatus TableRestoreStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> TableRestoreStatus -- | A description of the status of the table restore request. Status -- values include SUCCEEDED, FAILED, CANCELED, -- PENDING, IN_PROGRESS. [$sel:message:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The namespace of the table being restored from. [$sel:namespaceName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the table to create from the restore operation. [$sel:newTableName':TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The amount of data restored to the new table so far, in megabytes -- (MB). [$sel:progressInMegaBytes:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Integer -- | The time that the table restore request was made, in Universal -- Coordinated Time (UTC). [$sel:requestTime:TableRestoreStatus'] :: TableRestoreStatus -> Maybe POSIX -- | The name of the snapshot being restored from. [$sel:snapshotName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the source database being restored from. [$sel:sourceDatabaseName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the source schema being restored from. [$sel:sourceSchemaName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the source table being restored from. [$sel:sourceTableName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | A value that describes the current state of the table restore request. -- Possible values include SUCCEEDED, FAILED, -- CANCELED, PENDING, IN_PROGRESS. [$sel:status:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The ID of the RestoreTableFromSnapshot request. [$sel:tableRestoreRequestId:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the database to restore to. [$sel:targetDatabaseName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The name of the schema to restore to. [$sel:targetSchemaName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | The total amount of data to restore to the new table, in megabytes -- (MB). [$sel:totalDataInMegaBytes:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Integer -- | The name of the workgroup being restored from. [$sel:workgroupName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text -- | Create a value of TableRestoreStatus with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:message:TableRestoreStatus', -- tableRestoreStatus_message - A description of the status of the -- table restore request. Status values include SUCCEEDED, -- FAILED, CANCELED, PENDING, -- IN_PROGRESS. -- -- $sel:namespaceName:TableRestoreStatus', -- tableRestoreStatus_namespaceName - The namespace of the table -- being restored from. -- -- $sel:newTableName':TableRestoreStatus', -- tableRestoreStatus_newTableName - The name of the table to -- create from the restore operation. -- -- $sel:progressInMegaBytes:TableRestoreStatus', -- tableRestoreStatus_progressInMegaBytes - The amount of data -- restored to the new table so far, in megabytes (MB). -- -- $sel:requestTime:TableRestoreStatus', -- tableRestoreStatus_requestTime - The time that the table -- restore request was made, in Universal Coordinated Time (UTC). -- -- $sel:snapshotName:TableRestoreStatus', -- tableRestoreStatus_snapshotName - The name of the snapshot -- being restored from. -- -- $sel:sourceDatabaseName:TableRestoreStatus', -- tableRestoreStatus_sourceDatabaseName - The name of the source -- database being restored from. -- -- $sel:sourceSchemaName:TableRestoreStatus', -- tableRestoreStatus_sourceSchemaName - The name of the source -- schema being restored from. -- -- $sel:sourceTableName:TableRestoreStatus', -- tableRestoreStatus_sourceTableName - The name of the source -- table being restored from. -- -- $sel:status:TableRestoreStatus', -- tableRestoreStatus_status - A value that describes the current -- state of the table restore request. Possible values include -- SUCCEEDED, FAILED, CANCELED, -- PENDING, IN_PROGRESS. -- -- $sel:tableRestoreRequestId:TableRestoreStatus', -- tableRestoreStatus_tableRestoreRequestId - The ID of the -- RestoreTableFromSnapshot request. -- -- $sel:targetDatabaseName:TableRestoreStatus', -- tableRestoreStatus_targetDatabaseName - The name of the -- database to restore to. -- -- $sel:targetSchemaName:TableRestoreStatus', -- tableRestoreStatus_targetSchemaName - The name of the schema to -- restore to. -- -- $sel:totalDataInMegaBytes:TableRestoreStatus', -- tableRestoreStatus_totalDataInMegaBytes - The total amount of -- data to restore to the new table, in megabytes (MB). -- -- $sel:workgroupName:TableRestoreStatus', -- tableRestoreStatus_workgroupName - The name of the workgroup -- being restored from. newTableRestoreStatus :: TableRestoreStatus -- | A description of the status of the table restore request. Status -- values include SUCCEEDED, FAILED, CANCELED, -- PENDING, IN_PROGRESS. tableRestoreStatus_message :: Lens' TableRestoreStatus (Maybe Text) -- | The namespace of the table being restored from. tableRestoreStatus_namespaceName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the table to create from the restore operation. tableRestoreStatus_newTableName :: Lens' TableRestoreStatus (Maybe Text) -- | The amount of data restored to the new table so far, in megabytes -- (MB). tableRestoreStatus_progressInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer) -- | The time that the table restore request was made, in Universal -- Coordinated Time (UTC). tableRestoreStatus_requestTime :: Lens' TableRestoreStatus (Maybe UTCTime) -- | The name of the snapshot being restored from. tableRestoreStatus_snapshotName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the source database being restored from. tableRestoreStatus_sourceDatabaseName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the source schema being restored from. tableRestoreStatus_sourceSchemaName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the source table being restored from. tableRestoreStatus_sourceTableName :: Lens' TableRestoreStatus (Maybe Text) -- | A value that describes the current state of the table restore request. -- Possible values include SUCCEEDED, FAILED, -- CANCELED, PENDING, IN_PROGRESS. tableRestoreStatus_status :: Lens' TableRestoreStatus (Maybe Text) -- | The ID of the RestoreTableFromSnapshot request. tableRestoreStatus_tableRestoreRequestId :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the database to restore to. tableRestoreStatus_targetDatabaseName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the schema to restore to. tableRestoreStatus_targetSchemaName :: Lens' TableRestoreStatus (Maybe Text) -- | The total amount of data to restore to the new table, in megabytes -- (MB). tableRestoreStatus_totalDataInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer) -- | The name of the workgroup being restored from. tableRestoreStatus_workgroupName :: Lens' TableRestoreStatus (Maybe Text) -- | A map of key-value pairs. -- -- See: newTag smart constructor. data Tag Tag' :: Text -> Text -> Tag -- | The key to use in the tag. [$sel:key:Tag'] :: Tag -> Text -- | The value of the tag. [$sel:value:Tag'] :: Tag -> Text -- | Create a value of Tag with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:key:Tag', tag_key - The key to use in the tag. -- -- $sel:value:Tag', tag_value - The value of the tag. newTag :: Text -> Text -> Tag -- | The key to use in the tag. tag_key :: Lens' Tag Text -- | The value of the tag. tag_value :: Lens' Tag Text -- | The usage limit object. -- -- See: newUsageLimit smart constructor. data UsageLimit UsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Maybe UsageLimitPeriod -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe UsageLimitUsageType -> UsageLimit -- | The limit amount. If time-based, this amount is in RPUs consumed per -- hour. If data-based, this amount is in terabytes (TB). The value must -- be a positive number. [$sel:amount:UsageLimit'] :: UsageLimit -> Maybe Integer -- | The action that Amazon Redshift Serverless takes when the limit is -- reached. [$sel:breachAction:UsageLimit'] :: UsageLimit -> Maybe UsageLimitBreachAction -- | The time period that the amount applies to. A weekly period begins on -- Sunday. The default is monthly. [$sel:period:UsageLimit'] :: UsageLimit -> Maybe UsageLimitPeriod -- | The Amazon Resource Name (ARN) that identifies the Amazon Redshift -- Serverless resource. [$sel:resourceArn:UsageLimit'] :: UsageLimit -> Maybe Text -- | The Amazon Resource Name (ARN) of the resource associated with the -- usage limit. [$sel:usageLimitArn:UsageLimit'] :: UsageLimit -> Maybe Text -- | The identifier of the usage limit. [$sel:usageLimitId:UsageLimit'] :: UsageLimit -> Maybe Text -- | The Amazon Redshift Serverless feature to limit. [$sel:usageType:UsageLimit'] :: UsageLimit -> Maybe UsageLimitUsageType -- | Create a value of UsageLimit with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:amount:UsageLimit', usageLimit_amount - The limit -- amount. If time-based, this amount is in RPUs consumed per hour. If -- data-based, this amount is in terabytes (TB). The value must be a -- positive number. -- -- $sel:breachAction:UsageLimit', usageLimit_breachAction - -- The action that Amazon Redshift Serverless takes when the limit is -- reached. -- -- $sel:period:UsageLimit', usageLimit_period - The time -- period that the amount applies to. A weekly period begins on Sunday. -- The default is monthly. -- -- $sel:resourceArn:UsageLimit', usageLimit_resourceArn - -- The Amazon Resource Name (ARN) that identifies the Amazon Redshift -- Serverless resource. -- -- $sel:usageLimitArn:UsageLimit', usageLimit_usageLimitArn -- - The Amazon Resource Name (ARN) of the resource associated with the -- usage limit. -- -- $sel:usageLimitId:UsageLimit', usageLimit_usageLimitId - -- The identifier of the usage limit. -- -- $sel:usageType:UsageLimit', usageLimit_usageType - The -- Amazon Redshift Serverless feature to limit. newUsageLimit :: UsageLimit -- | The limit amount. If time-based, this amount is in RPUs consumed per -- hour. If data-based, this amount is in terabytes (TB). The value must -- be a positive number. usageLimit_amount :: Lens' UsageLimit (Maybe Integer) -- | The action that Amazon Redshift Serverless takes when the limit is -- reached. usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction) -- | The time period that the amount applies to. A weekly period begins on -- Sunday. The default is monthly. usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod) -- | The Amazon Resource Name (ARN) that identifies the Amazon Redshift -- Serverless resource. usageLimit_resourceArn :: Lens' UsageLimit (Maybe Text) -- | The Amazon Resource Name (ARN) of the resource associated with the -- usage limit. usageLimit_usageLimitArn :: Lens' UsageLimit (Maybe Text) -- | The identifier of the usage limit. usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text) -- | The Amazon Redshift Serverless feature to limit. usageLimit_usageType :: Lens' UsageLimit (Maybe UsageLimitUsageType) -- | The connection endpoint for connecting to Amazon Redshift Serverless -- through the proxy. -- -- See: newVpcEndpoint smart constructor. data VpcEndpoint VpcEndpoint' :: Maybe [NetworkInterface] -> Maybe Text -> Maybe Text -> VpcEndpoint -- | One or more network interfaces of the endpoint. Also known as an -- interface endpoint. [$sel:networkInterfaces:VpcEndpoint'] :: VpcEndpoint -> Maybe [NetworkInterface] -- | The connection endpoint ID for connecting to Amazon Redshift -- Serverless. [$sel:vpcEndpointId:VpcEndpoint'] :: VpcEndpoint -> Maybe Text -- | The VPC identifier that the endpoint is associated with. [$sel:vpcId:VpcEndpoint'] :: VpcEndpoint -> Maybe Text -- | Create a value of VpcEndpoint with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:networkInterfaces:VpcEndpoint', -- vpcEndpoint_networkInterfaces - One or more network interfaces -- of the endpoint. Also known as an interface endpoint. -- -- $sel:vpcEndpointId:VpcEndpoint', -- vpcEndpoint_vpcEndpointId - The connection endpoint ID for -- connecting to Amazon Redshift Serverless. -- -- $sel:vpcId:VpcEndpoint', vpcEndpoint_vpcId - The VPC -- identifier that the endpoint is associated with. newVpcEndpoint :: VpcEndpoint -- | One or more network interfaces of the endpoint. Also known as an -- interface endpoint. vpcEndpoint_networkInterfaces :: Lens' VpcEndpoint (Maybe [NetworkInterface]) -- | The connection endpoint ID for connecting to Amazon Redshift -- Serverless. vpcEndpoint_vpcEndpointId :: Lens' VpcEndpoint (Maybe Text) -- | The VPC identifier that the endpoint is associated with. vpcEndpoint_vpcId :: Lens' VpcEndpoint (Maybe Text) -- | Describes the members of a VPC security group. -- -- See: newVpcSecurityGroupMembership smart constructor. data VpcSecurityGroupMembership VpcSecurityGroupMembership' :: Maybe Text -> Maybe Text -> VpcSecurityGroupMembership -- | The status of the VPC security group. [$sel:status:VpcSecurityGroupMembership'] :: VpcSecurityGroupMembership -> Maybe Text -- | The unique identifier of the VPC security group. [$sel:vpcSecurityGroupId:VpcSecurityGroupMembership'] :: VpcSecurityGroupMembership -> Maybe Text -- | Create a value of VpcSecurityGroupMembership with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:status:VpcSecurityGroupMembership', -- vpcSecurityGroupMembership_status - The status of the VPC -- security group. -- -- $sel:vpcSecurityGroupId:VpcSecurityGroupMembership', -- vpcSecurityGroupMembership_vpcSecurityGroupId - The unique -- identifier of the VPC security group. newVpcSecurityGroupMembership :: VpcSecurityGroupMembership -- | The status of the VPC security group. vpcSecurityGroupMembership_status :: Lens' VpcSecurityGroupMembership (Maybe Text) -- | The unique identifier of the VPC security group. vpcSecurityGroupMembership_vpcSecurityGroupId :: Lens' VpcSecurityGroupMembership (Maybe Text) -- | The collection of computing resources from which an endpoint is -- created. -- -- See: newWorkgroup smart constructor. data Workgroup Workgroup' :: Maybe Int -> Maybe [ConfigParameter] -> Maybe ISO8601 -> Maybe Endpoint -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Bool -> Maybe [Text] -> Maybe WorkgroupStatus -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Workgroup -- | The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). [$sel:baseCapacity:Workgroup'] :: Workgroup -> Maybe Int -- | An array of parameters to set for finer control over a database. The -- options are datestyle, enable_user_activity_logging, -- query_group, search_path, and -- max_query_execution_time. [$sel:configParameters:Workgroup'] :: Workgroup -> Maybe [ConfigParameter] -- | The creation date of the workgroup. [$sel:creationDate:Workgroup'] :: Workgroup -> Maybe ISO8601 -- | The endpoint that is created from the workgroup. [$sel:endpoint:Workgroup'] :: Workgroup -> Maybe Endpoint -- | The value that specifies whether to enable enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC. [$sel:enhancedVpcRouting:Workgroup'] :: Workgroup -> Maybe Bool -- | The namespace the workgroup is associated with. [$sel:namespaceName:Workgroup'] :: Workgroup -> Maybe Text -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. [$sel:port:Workgroup'] :: Workgroup -> Maybe Int -- | A value that specifies whether the workgroup can be accessible from a -- public network [$sel:publiclyAccessible:Workgroup'] :: Workgroup -> Maybe Bool -- | An array of security group IDs to associate with the workgroup. [$sel:securityGroupIds:Workgroup'] :: Workgroup -> Maybe [Text] -- | The status of the workgroup. [$sel:status:Workgroup'] :: Workgroup -> Maybe WorkgroupStatus -- | An array of subnet IDs the workgroup is associated with. [$sel:subnetIds:Workgroup'] :: Workgroup -> Maybe [Text] -- | The Amazon Resource Name (ARN) that links to the workgroup. [$sel:workgroupArn:Workgroup'] :: Workgroup -> Maybe Text -- | The unique identifier of the workgroup. [$sel:workgroupId:Workgroup'] :: Workgroup -> Maybe Text -- | The name of the workgroup. [$sel:workgroupName:Workgroup'] :: Workgroup -> Maybe Text -- | Create a value of Workgroup with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:baseCapacity:Workgroup', workgroup_baseCapacity - -- The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). -- -- $sel:configParameters:Workgroup', -- workgroup_configParameters - An array of parameters to set for -- finer control over a database. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. -- -- $sel:creationDate:Workgroup', workgroup_creationDate - -- The creation date of the workgroup. -- -- $sel:endpoint:Workgroup', workgroup_endpoint - The -- endpoint that is created from the workgroup. -- -- $sel:enhancedVpcRouting:Workgroup', -- workgroup_enhancedVpcRouting - The value that specifies whether -- to enable enhanced virtual private cloud (VPC) routing, which forces -- Amazon Redshift Serverless to route traffic through your VPC. -- -- $sel:namespaceName:Workgroup', workgroup_namespaceName - -- The namespace the workgroup is associated with. -- -- Workgroup, workgroup_port - The custom port to use when -- connecting to a workgroup. Valid port ranges are 5431-5455 and -- 8191-8215. The default is 5439. -- -- $sel:publiclyAccessible:Workgroup', -- workgroup_publiclyAccessible - A value that specifies whether -- the workgroup can be accessible from a public network -- -- $sel:securityGroupIds:Workgroup', -- workgroup_securityGroupIds - An array of security group IDs to -- associate with the workgroup. -- -- $sel:status:Workgroup', workgroup_status - The status of -- the workgroup. -- -- $sel:subnetIds:Workgroup', workgroup_subnetIds - An -- array of subnet IDs the workgroup is associated with. -- -- $sel:workgroupArn:Workgroup', workgroup_workgroupArn - -- The Amazon Resource Name (ARN) that links to the workgroup. -- -- $sel:workgroupId:Workgroup', workgroup_workgroupId - The -- unique identifier of the workgroup. -- -- $sel:workgroupName:Workgroup', workgroup_workgroupName - -- The name of the workgroup. newWorkgroup :: Workgroup -- | The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). workgroup_baseCapacity :: Lens' Workgroup (Maybe Int) -- | An array of parameters to set for finer control over a database. The -- options are datestyle, enable_user_activity_logging, -- query_group, search_path, and -- max_query_execution_time. workgroup_configParameters :: Lens' Workgroup (Maybe [ConfigParameter]) -- | The creation date of the workgroup. workgroup_creationDate :: Lens' Workgroup (Maybe UTCTime) -- | The endpoint that is created from the workgroup. workgroup_endpoint :: Lens' Workgroup (Maybe Endpoint) -- | The value that specifies whether to enable enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC. workgroup_enhancedVpcRouting :: Lens' Workgroup (Maybe Bool) -- | The namespace the workgroup is associated with. workgroup_namespaceName :: Lens' Workgroup (Maybe Text) -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. workgroup_port :: Lens' Workgroup (Maybe Int) -- | A value that specifies whether the workgroup can be accessible from a -- public network workgroup_publiclyAccessible :: Lens' Workgroup (Maybe Bool) -- | An array of security group IDs to associate with the workgroup. workgroup_securityGroupIds :: Lens' Workgroup (Maybe [Text]) -- | The status of the workgroup. workgroup_status :: Lens' Workgroup (Maybe WorkgroupStatus) -- | An array of subnet IDs the workgroup is associated with. workgroup_subnetIds :: Lens' Workgroup (Maybe [Text]) -- | The Amazon Resource Name (ARN) that links to the workgroup. workgroup_workgroupArn :: Lens' Workgroup (Maybe Text) -- | The unique identifier of the workgroup. workgroup_workgroupId :: Lens' Workgroup (Maybe Text) -- | The name of the workgroup. workgroup_workgroupName :: Lens' Workgroup (Maybe Text) -- | Assigns one or more tags to a resource. module Amazonka.RedshiftServerLess.TagResource -- | See: newTagResource smart constructor. data TagResource TagResource' :: Text -> [Tag] -> TagResource -- | The Amazon Resource Name (ARN) of the resource to tag. [$sel:resourceArn:TagResource'] :: TagResource -> Text -- | The map of the key-value pairs used to tag the resource. [$sel:tags:TagResource'] :: TagResource -> [Tag] -- | Create a value of TagResource with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- TagResource, tagResource_resourceArn - The Amazon -- Resource Name (ARN) of the resource to tag. -- -- $sel:tags:TagResource', tagResource_tags - The map of -- the key-value pairs used to tag the resource. newTagResource :: Text -> TagResource -- | The Amazon Resource Name (ARN) of the resource to tag. tagResource_resourceArn :: Lens' TagResource Text -- | The map of the key-value pairs used to tag the resource. tagResource_tags :: Lens' TagResource [Tag] -- | See: newTagResourceResponse smart constructor. data TagResourceResponse TagResourceResponse' :: Int -> TagResourceResponse -- | The response's http status code. [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int -- | Create a value of TagResourceResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:TagResourceResponse', -- tagResourceResponse_httpStatus - The response's http status -- code. newTagResourceResponse :: Int -> TagResourceResponse -- | The response's http status code. tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.TagResource.TagResource instance GHC.Show.Show Amazonka.RedshiftServerLess.TagResource.TagResource instance GHC.Read.Read Amazonka.RedshiftServerLess.TagResource.TagResource instance GHC.Classes.Eq Amazonka.RedshiftServerLess.TagResource.TagResource instance GHC.Generics.Generic Amazonka.RedshiftServerLess.TagResource.TagResourceResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.TagResource.TagResourceResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.TagResource.TagResourceResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.TagResource.TagResourceResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.TagResource.TagResource instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.TagResource.TagResourceResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.TagResource.TagResource instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.TagResource.TagResource instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.TagResource.TagResource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.TagResource.TagResource instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.TagResource.TagResource instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.TagResource.TagResource -- | Restores a table from a snapshot to your Amazon Redshift Serverless -- instance. module Amazonka.RedshiftServerLess.RestoreTableFromSnapshot -- | See: newRestoreTableFromSnapshot smart constructor. data RestoreTableFromSnapshot RestoreTableFromSnapshot' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> Text -> Text -> Text -> RestoreTableFromSnapshot -- | Indicates whether name identifiers for database, schema, and table are -- case sensitive. If true, the names are case sensitive. If false, the -- names are not case sensitive. The default is false. [$sel:activateCaseSensitiveIdentifier:RestoreTableFromSnapshot'] :: RestoreTableFromSnapshot -> Maybe Bool -- | The name of the source schema that contains the table being restored. [$sel:sourceSchemaName:RestoreTableFromSnapshot'] :: RestoreTableFromSnapshot -> Maybe Text -- | The name of the database to restore the table to. [$sel:targetDatabaseName:RestoreTableFromSnapshot'] :: RestoreTableFromSnapshot -> Maybe Text -- | The name of the schema to restore the table to. [$sel:targetSchemaName:RestoreTableFromSnapshot'] :: RestoreTableFromSnapshot -> Maybe Text -- | The namespace of the snapshot to restore from. [$sel:namespaceName:RestoreTableFromSnapshot'] :: RestoreTableFromSnapshot -> Text -- | The name of the table to create from the restore operation. [$sel:newTableName':RestoreTableFromSnapshot'] :: RestoreTableFromSnapshot -> Text -- | The name of the snapshot to restore the table from. [$sel:snapshotName:RestoreTableFromSnapshot'] :: RestoreTableFromSnapshot -> Text -- | The name of the source database that contains the table being -- restored. [$sel:sourceDatabaseName:RestoreTableFromSnapshot'] :: RestoreTableFromSnapshot -> Text -- | The name of the source table being restored. [$sel:sourceTableName:RestoreTableFromSnapshot'] :: RestoreTableFromSnapshot -> Text -- | The workgroup to restore the table to. [$sel:workgroupName:RestoreTableFromSnapshot'] :: RestoreTableFromSnapshot -> Text -- | Create a value of RestoreTableFromSnapshot with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:activateCaseSensitiveIdentifier:RestoreTableFromSnapshot', -- restoreTableFromSnapshot_activateCaseSensitiveIdentifier - -- Indicates whether name identifiers for database, schema, and table are -- case sensitive. If true, the names are case sensitive. If false, the -- names are not case sensitive. The default is false. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_sourceSchemaName - The name of the -- source schema that contains the table being restored. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_targetDatabaseName - The name of the -- database to restore the table to. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_targetSchemaName - The name of the -- schema to restore the table to. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_namespaceName - The namespace of the -- snapshot to restore from. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_newTableName - The name of the table -- to create from the restore operation. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_snapshotName - The name of the -- snapshot to restore the table from. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_sourceDatabaseName - The name of the -- source database that contains the table being restored. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_sourceTableName - The name of the -- source table being restored. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_workgroupName - The workgroup to -- restore the table to. newRestoreTableFromSnapshot :: Text -> Text -> Text -> Text -> Text -> Text -> RestoreTableFromSnapshot -- | Indicates whether name identifiers for database, schema, and table are -- case sensitive. If true, the names are case sensitive. If false, the -- names are not case sensitive. The default is false. restoreTableFromSnapshot_activateCaseSensitiveIdentifier :: Lens' RestoreTableFromSnapshot (Maybe Bool) -- | The name of the source schema that contains the table being restored. restoreTableFromSnapshot_sourceSchemaName :: Lens' RestoreTableFromSnapshot (Maybe Text) -- | The name of the database to restore the table to. restoreTableFromSnapshot_targetDatabaseName :: Lens' RestoreTableFromSnapshot (Maybe Text) -- | The name of the schema to restore the table to. restoreTableFromSnapshot_targetSchemaName :: Lens' RestoreTableFromSnapshot (Maybe Text) -- | The namespace of the snapshot to restore from. restoreTableFromSnapshot_namespaceName :: Lens' RestoreTableFromSnapshot Text -- | The name of the table to create from the restore operation. restoreTableFromSnapshot_newTableName :: Lens' RestoreTableFromSnapshot Text -- | The name of the snapshot to restore the table from. restoreTableFromSnapshot_snapshotName :: Lens' RestoreTableFromSnapshot Text -- | The name of the source database that contains the table being -- restored. restoreTableFromSnapshot_sourceDatabaseName :: Lens' RestoreTableFromSnapshot Text -- | The name of the source table being restored. restoreTableFromSnapshot_sourceTableName :: Lens' RestoreTableFromSnapshot Text -- | The workgroup to restore the table to. restoreTableFromSnapshot_workgroupName :: Lens' RestoreTableFromSnapshot Text -- | See: newRestoreTableFromSnapshotResponse smart -- constructor. data RestoreTableFromSnapshotResponse RestoreTableFromSnapshotResponse' :: Maybe TableRestoreStatus -> Int -> RestoreTableFromSnapshotResponse -- | The TableRestoreStatus object that contains the status of the restore -- operation. [$sel:tableRestoreStatus:RestoreTableFromSnapshotResponse'] :: RestoreTableFromSnapshotResponse -> Maybe TableRestoreStatus -- | The response's http status code. [$sel:httpStatus:RestoreTableFromSnapshotResponse'] :: RestoreTableFromSnapshotResponse -> Int -- | Create a value of RestoreTableFromSnapshotResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:tableRestoreStatus:RestoreTableFromSnapshotResponse', -- restoreTableFromSnapshotResponse_tableRestoreStatus - The -- TableRestoreStatus object that contains the status of the restore -- operation. -- -- $sel:httpStatus:RestoreTableFromSnapshotResponse', -- restoreTableFromSnapshotResponse_httpStatus - The response's -- http status code. newRestoreTableFromSnapshotResponse :: Int -> RestoreTableFromSnapshotResponse -- | The TableRestoreStatus object that contains the status of the restore -- operation. restoreTableFromSnapshotResponse_tableRestoreStatus :: Lens' RestoreTableFromSnapshotResponse (Maybe TableRestoreStatus) -- | The response's http status code. restoreTableFromSnapshotResponse_httpStatus :: Lens' RestoreTableFromSnapshotResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot instance GHC.Show.Show Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot instance GHC.Read.Read Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot instance GHC.Classes.Eq Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot instance GHC.Generics.Generic Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshotResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshotResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshotResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshotResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshotResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.RestoreTableFromSnapshot.RestoreTableFromSnapshot -- | Restores a namespace from a snapshot. module Amazonka.RedshiftServerLess.RestoreFromSnapshot -- | See: newRestoreFromSnapshot smart constructor. data RestoreFromSnapshot RestoreFromSnapshot' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> RestoreFromSnapshot -- | The Amazon Web Services account that owns the snapshot. [$sel:ownerAccount:RestoreFromSnapshot'] :: RestoreFromSnapshot -> Maybe Text -- | The Amazon Resource Name (ARN) of the snapshot to restore from. -- Required if restoring from Amazon Redshift Serverless to a provisioned -- cluster. Must not be specified at the same time as -- snapshotName. -- -- The format of the ARN is -- arn:aws:redshift:<region>:<account_id>:snapshot:<cluster_identifier>/<snapshot_identifier>. [$sel:snapshotArn:RestoreFromSnapshot'] :: RestoreFromSnapshot -> Maybe Text -- | The name of the snapshot to restore from. Must not be specified at the -- same time as snapshotArn. [$sel:snapshotName:RestoreFromSnapshot'] :: RestoreFromSnapshot -> Maybe Text -- | The name of the namespace to restore the snapshot to. [$sel:namespaceName:RestoreFromSnapshot'] :: RestoreFromSnapshot -> Text -- | The name of the workgroup used to restore the snapshot. [$sel:workgroupName:RestoreFromSnapshot'] :: RestoreFromSnapshot -> Text -- | Create a value of RestoreFromSnapshot with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- RestoreFromSnapshot, restoreFromSnapshot_ownerAccount - -- The Amazon Web Services account that owns the snapshot. -- -- RestoreFromSnapshot, restoreFromSnapshot_snapshotArn - -- The Amazon Resource Name (ARN) of the snapshot to restore from. -- Required if restoring from Amazon Redshift Serverless to a provisioned -- cluster. Must not be specified at the same time as -- snapshotName. -- -- The format of the ARN is -- arn:aws:redshift:<region>:<account_id>:snapshot:<cluster_identifier>/<snapshot_identifier>. -- -- RestoreFromSnapshot, restoreFromSnapshot_snapshotName - -- The name of the snapshot to restore from. Must not be specified at the -- same time as snapshotArn. -- -- RestoreFromSnapshot, restoreFromSnapshot_namespaceName - -- The name of the namespace to restore the snapshot to. -- -- RestoreFromSnapshot, restoreFromSnapshot_workgroupName - -- The name of the workgroup used to restore the snapshot. newRestoreFromSnapshot :: Text -> Text -> RestoreFromSnapshot -- | The Amazon Web Services account that owns the snapshot. restoreFromSnapshot_ownerAccount :: Lens' RestoreFromSnapshot (Maybe Text) -- | The Amazon Resource Name (ARN) of the snapshot to restore from. -- Required if restoring from Amazon Redshift Serverless to a provisioned -- cluster. Must not be specified at the same time as -- snapshotName. -- -- The format of the ARN is -- arn:aws:redshift:<region>:<account_id>:snapshot:<cluster_identifier>/<snapshot_identifier>. restoreFromSnapshot_snapshotArn :: Lens' RestoreFromSnapshot (Maybe Text) -- | The name of the snapshot to restore from. Must not be specified at the -- same time as snapshotArn. restoreFromSnapshot_snapshotName :: Lens' RestoreFromSnapshot (Maybe Text) -- | The name of the namespace to restore the snapshot to. restoreFromSnapshot_namespaceName :: Lens' RestoreFromSnapshot Text -- | The name of the workgroup used to restore the snapshot. restoreFromSnapshot_workgroupName :: Lens' RestoreFromSnapshot Text -- | See: newRestoreFromSnapshotResponse smart constructor. data RestoreFromSnapshotResponse RestoreFromSnapshotResponse' :: Maybe Namespace -> Maybe Text -> Maybe Text -> Int -> RestoreFromSnapshotResponse [$sel:namespace:RestoreFromSnapshotResponse'] :: RestoreFromSnapshotResponse -> Maybe Namespace -- | The owner Amazon Web Services; account of the snapshot that was -- restored. [$sel:ownerAccount:RestoreFromSnapshotResponse'] :: RestoreFromSnapshotResponse -> Maybe Text -- | The name of the snapshot used to restore the namespace. [$sel:snapshotName:RestoreFromSnapshotResponse'] :: RestoreFromSnapshotResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:RestoreFromSnapshotResponse'] :: RestoreFromSnapshotResponse -> Int -- | Create a value of RestoreFromSnapshotResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:namespace:RestoreFromSnapshotResponse', -- restoreFromSnapshotResponse_namespace - Undocumented member. -- -- RestoreFromSnapshot, -- restoreFromSnapshotResponse_ownerAccount - The owner Amazon Web -- Services; account of the snapshot that was restored. -- -- RestoreFromSnapshot, -- restoreFromSnapshotResponse_snapshotName - The name of the -- snapshot used to restore the namespace. -- -- $sel:httpStatus:RestoreFromSnapshotResponse', -- restoreFromSnapshotResponse_httpStatus - The response's http -- status code. newRestoreFromSnapshotResponse :: Int -> RestoreFromSnapshotResponse -- | Undocumented member. restoreFromSnapshotResponse_namespace :: Lens' RestoreFromSnapshotResponse (Maybe Namespace) -- | The owner Amazon Web Services; account of the snapshot that was -- restored. restoreFromSnapshotResponse_ownerAccount :: Lens' RestoreFromSnapshotResponse (Maybe Text) -- | The name of the snapshot used to restore the namespace. restoreFromSnapshotResponse_snapshotName :: Lens' RestoreFromSnapshotResponse (Maybe Text) -- | The response's http status code. restoreFromSnapshotResponse_httpStatus :: Lens' RestoreFromSnapshotResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot instance GHC.Show.Show Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot instance GHC.Read.Read Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot instance GHC.Classes.Eq Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot instance GHC.Generics.Generic Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshotResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshotResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshotResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshotResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.RestoreFromSnapshot.RestoreFromSnapshot -- | Restore the data from a recovery point. module Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint -- | See: newRestoreFromRecoveryPoint smart constructor. data RestoreFromRecoveryPoint RestoreFromRecoveryPoint' :: Text -> Text -> Text -> RestoreFromRecoveryPoint -- | The name of the namespace to restore data into. [$sel:namespaceName:RestoreFromRecoveryPoint'] :: RestoreFromRecoveryPoint -> Text -- | The unique identifier of the recovery point to restore from. [$sel:recoveryPointId:RestoreFromRecoveryPoint'] :: RestoreFromRecoveryPoint -> Text -- | The name of the workgroup used to restore data. [$sel:workgroupName:RestoreFromRecoveryPoint'] :: RestoreFromRecoveryPoint -> Text -- | Create a value of RestoreFromRecoveryPoint with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- RestoreFromRecoveryPoint, -- restoreFromRecoveryPoint_namespaceName - The name of the -- namespace to restore data into. -- -- RestoreFromRecoveryPoint, -- restoreFromRecoveryPoint_recoveryPointId - The unique -- identifier of the recovery point to restore from. -- -- RestoreFromRecoveryPoint, -- restoreFromRecoveryPoint_workgroupName - The name of the -- workgroup used to restore data. newRestoreFromRecoveryPoint :: Text -> Text -> Text -> RestoreFromRecoveryPoint -- | The name of the namespace to restore data into. restoreFromRecoveryPoint_namespaceName :: Lens' RestoreFromRecoveryPoint Text -- | The unique identifier of the recovery point to restore from. restoreFromRecoveryPoint_recoveryPointId :: Lens' RestoreFromRecoveryPoint Text -- | The name of the workgroup used to restore data. restoreFromRecoveryPoint_workgroupName :: Lens' RestoreFromRecoveryPoint Text -- | See: newRestoreFromRecoveryPointResponse smart -- constructor. data RestoreFromRecoveryPointResponse RestoreFromRecoveryPointResponse' :: Maybe Namespace -> Maybe Text -> Int -> RestoreFromRecoveryPointResponse -- | The namespace that data was restored into. [$sel:namespace:RestoreFromRecoveryPointResponse'] :: RestoreFromRecoveryPointResponse -> Maybe Namespace -- | The unique identifier of the recovery point used for the restore. [$sel:recoveryPointId:RestoreFromRecoveryPointResponse'] :: RestoreFromRecoveryPointResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:RestoreFromRecoveryPointResponse'] :: RestoreFromRecoveryPointResponse -> Int -- | Create a value of RestoreFromRecoveryPointResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:namespace:RestoreFromRecoveryPointResponse', -- restoreFromRecoveryPointResponse_namespace - The namespace that -- data was restored into. -- -- RestoreFromRecoveryPoint, -- restoreFromRecoveryPointResponse_recoveryPointId - The unique -- identifier of the recovery point used for the restore. -- -- $sel:httpStatus:RestoreFromRecoveryPointResponse', -- restoreFromRecoveryPointResponse_httpStatus - The response's -- http status code. newRestoreFromRecoveryPointResponse :: Int -> RestoreFromRecoveryPointResponse -- | The namespace that data was restored into. restoreFromRecoveryPointResponse_namespace :: Lens' RestoreFromRecoveryPointResponse (Maybe Namespace) -- | The unique identifier of the recovery point used for the restore. restoreFromRecoveryPointResponse_recoveryPointId :: Lens' RestoreFromRecoveryPointResponse (Maybe Text) -- | The response's http status code. restoreFromRecoveryPointResponse_httpStatus :: Lens' RestoreFromRecoveryPointResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint instance GHC.Show.Show Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint instance GHC.Read.Read Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint instance GHC.Classes.Eq Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint instance GHC.Generics.Generic Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPointResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPointResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPointResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPointResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint.RestoreFromRecoveryPoint -- | Creates or updates a resource policy. Currently, you can use policies -- to share snapshots across Amazon Web Services accounts. module Amazonka.RedshiftServerLess.PutResourcePolicy -- | See: newPutResourcePolicy smart constructor. data PutResourcePolicy PutResourcePolicy' :: Text -> Text -> PutResourcePolicy -- | The policy to create or update. For example, the following policy -- grants a user authorization to restore a snapshot. -- --
--   "{\"Version\": \"2012-10-17\", \"Statement\" : [{ \"Sid\": \"AllowUserRestoreFromSnapshot\", \"Principal\":{\"AWS\": [\"739247239426\"]}, \"Action\": [\"redshift-serverless:RestoreFromSnapshot\"] , \"Effect\": \"Allow\" }]}"
--   
[$sel:policy:PutResourcePolicy'] :: PutResourcePolicy -> Text -- | The Amazon Resource Name (ARN) of the account to create or update a -- resource policy for. [$sel:resourceArn:PutResourcePolicy'] :: PutResourcePolicy -> Text -- | Create a value of PutResourcePolicy with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutResourcePolicy, putResourcePolicy_policy - The policy -- to create or update. For example, the following policy grants a user -- authorization to restore a snapshot. -- --
--   "{\"Version\": \"2012-10-17\", \"Statement\" : [{ \"Sid\": \"AllowUserRestoreFromSnapshot\", \"Principal\":{\"AWS\": [\"739247239426\"]}, \"Action\": [\"redshift-serverless:RestoreFromSnapshot\"] , \"Effect\": \"Allow\" }]}"
--   
-- -- PutResourcePolicy, putResourcePolicy_resourceArn - The -- Amazon Resource Name (ARN) of the account to create or update a -- resource policy for. newPutResourcePolicy :: Text -> Text -> PutResourcePolicy -- | The policy to create or update. For example, the following policy -- grants a user authorization to restore a snapshot. -- --
--   "{\"Version\": \"2012-10-17\", \"Statement\" : [{ \"Sid\": \"AllowUserRestoreFromSnapshot\", \"Principal\":{\"AWS\": [\"739247239426\"]}, \"Action\": [\"redshift-serverless:RestoreFromSnapshot\"] , \"Effect\": \"Allow\" }]}"
--   
putResourcePolicy_policy :: Lens' PutResourcePolicy Text -- | The Amazon Resource Name (ARN) of the account to create or update a -- resource policy for. putResourcePolicy_resourceArn :: Lens' PutResourcePolicy Text -- | See: newPutResourcePolicyResponse smart constructor. data PutResourcePolicyResponse PutResourcePolicyResponse' :: Maybe ResourcePolicy -> Int -> PutResourcePolicyResponse -- | The policy that was created or updated. [$sel:resourcePolicy:PutResourcePolicyResponse'] :: PutResourcePolicyResponse -> Maybe ResourcePolicy -- | The response's http status code. [$sel:httpStatus:PutResourcePolicyResponse'] :: PutResourcePolicyResponse -> Int -- | Create a value of PutResourcePolicyResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resourcePolicy:PutResourcePolicyResponse', -- putResourcePolicyResponse_resourcePolicy - The policy that was -- created or updated. -- -- $sel:httpStatus:PutResourcePolicyResponse', -- putResourcePolicyResponse_httpStatus - The response's http -- status code. newPutResourcePolicyResponse :: Int -> PutResourcePolicyResponse -- | The policy that was created or updated. putResourcePolicyResponse_resourcePolicy :: Lens' PutResourcePolicyResponse (Maybe ResourcePolicy) -- | The response's http status code. putResourcePolicyResponse_httpStatus :: Lens' PutResourcePolicyResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy instance GHC.Show.Show Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy instance GHC.Read.Read Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy instance GHC.Classes.Eq Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy instance GHC.Generics.Generic Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicyResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicyResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicyResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicyResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicyResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.PutResourcePolicy.PutResourcePolicy -- | Returns information about a list of specified workgroups. -- -- This operation returns paginated results. module Amazonka.RedshiftServerLess.ListWorkgroups -- | See: newListWorkgroups smart constructor. data ListWorkgroups ListWorkgroups' :: Maybe Natural -> Maybe Text -> ListWorkgroups -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. [$sel:maxResults:ListWorkgroups'] :: ListWorkgroups -> Maybe Natural -- | If your initial ListWorkgroups operation returns a nextToken, -- you can include the returned nextToken in following -- ListNamespaces operations, which returns results in the next page. [$sel:nextToken:ListWorkgroups'] :: ListWorkgroups -> Maybe Text -- | Create a value of ListWorkgroups with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:maxResults:ListWorkgroups', -- listWorkgroups_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to display the next page of results. -- -- ListWorkgroups, listWorkgroups_nextToken - If your -- initial ListWorkgroups operation returns a nextToken, you can -- include the returned nextToken in following ListNamespaces -- operations, which returns results in the next page. newListWorkgroups :: ListWorkgroups -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. listWorkgroups_maxResults :: Lens' ListWorkgroups (Maybe Natural) -- | If your initial ListWorkgroups operation returns a nextToken, -- you can include the returned nextToken in following -- ListNamespaces operations, which returns results in the next page. listWorkgroups_nextToken :: Lens' ListWorkgroups (Maybe Text) -- | See: newListWorkgroupsResponse smart constructor. data ListWorkgroupsResponse ListWorkgroupsResponse' :: Maybe Text -> Int -> [Workgroup] -> ListWorkgroupsResponse -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. To retrieve the next page, make the call again using the -- returned token. [$sel:nextToken:ListWorkgroupsResponse'] :: ListWorkgroupsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListWorkgroupsResponse'] :: ListWorkgroupsResponse -> Int -- | The returned array of workgroups. [$sel:workgroups:ListWorkgroupsResponse'] :: ListWorkgroupsResponse -> [Workgroup] -- | Create a value of ListWorkgroupsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListWorkgroups, listWorkgroupsResponse_nextToken - If -- nextToken is returned, there are more results available. The -- value of nextToken is a unique pagination token for each -- page. To retrieve the next page, make the call again using the -- returned token. -- -- $sel:httpStatus:ListWorkgroupsResponse', -- listWorkgroupsResponse_httpStatus - The response's http status -- code. -- -- $sel:workgroups:ListWorkgroupsResponse', -- listWorkgroupsResponse_workgroups - The returned array of -- workgroups. newListWorkgroupsResponse :: Int -> ListWorkgroupsResponse -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. To retrieve the next page, make the call again using the -- returned token. listWorkgroupsResponse_nextToken :: Lens' ListWorkgroupsResponse (Maybe Text) -- | The response's http status code. listWorkgroupsResponse_httpStatus :: Lens' ListWorkgroupsResponse Int -- | The returned array of workgroups. listWorkgroupsResponse_workgroups :: Lens' ListWorkgroupsResponse [Workgroup] instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance GHC.Show.Show Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance GHC.Read.Read Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroupsResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroupsResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroupsResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroupsResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroupsResponse instance Amazonka.Pager.AWSPager Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.ListWorkgroups.ListWorkgroups -- | Lists all usage limits within Amazon Redshift Serverless. -- -- This operation returns paginated results. module Amazonka.RedshiftServerLess.ListUsageLimits -- | See: newListUsageLimits smart constructor. data ListUsageLimits ListUsageLimits' :: Maybe Natural -> Maybe Text -> Maybe Text -> Maybe UsageLimitUsageType -> ListUsageLimits -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to get the next page of -- results. The default is 100. [$sel:maxResults:ListUsageLimits'] :: ListUsageLimits -> Maybe Natural -- | If your initial ListUsageLimits operation returns a -- nextToken, you can include the returned nextToken in -- following ListUsageLimits operations, which returns results -- in the next page. [$sel:nextToken:ListUsageLimits'] :: ListUsageLimits -> Maybe Text -- | The Amazon Resource Name (ARN) associated with the resource whose -- usage limits you want to list. [$sel:resourceArn:ListUsageLimits'] :: ListUsageLimits -> Maybe Text -- | The Amazon Redshift Serverless feature whose limits you want to see. [$sel:usageType:ListUsageLimits'] :: ListUsageLimits -> Maybe UsageLimitUsageType -- | Create a value of ListUsageLimits with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:maxResults:ListUsageLimits', -- listUsageLimits_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to get the next page of results. The default is -- 100. -- -- ListUsageLimits, listUsageLimits_nextToken - If your -- initial ListUsageLimits operation returns a -- nextToken, you can include the returned nextToken in -- following ListUsageLimits operations, which returns results -- in the next page. -- -- ListUsageLimits, listUsageLimits_resourceArn - The -- Amazon Resource Name (ARN) associated with the resource whose usage -- limits you want to list. -- -- ListUsageLimits, listUsageLimits_usageType - The Amazon -- Redshift Serverless feature whose limits you want to see. newListUsageLimits :: ListUsageLimits -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to get the next page of -- results. The default is 100. listUsageLimits_maxResults :: Lens' ListUsageLimits (Maybe Natural) -- | If your initial ListUsageLimits operation returns a -- nextToken, you can include the returned nextToken in -- following ListUsageLimits operations, which returns results -- in the next page. listUsageLimits_nextToken :: Lens' ListUsageLimits (Maybe Text) -- | The Amazon Resource Name (ARN) associated with the resource whose -- usage limits you want to list. listUsageLimits_resourceArn :: Lens' ListUsageLimits (Maybe Text) -- | The Amazon Redshift Serverless feature whose limits you want to see. listUsageLimits_usageType :: Lens' ListUsageLimits (Maybe UsageLimitUsageType) -- | See: newListUsageLimitsResponse smart constructor. data ListUsageLimitsResponse ListUsageLimitsResponse' :: Maybe Text -> Maybe (NonEmpty UsageLimit) -> Int -> ListUsageLimitsResponse -- | When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. [$sel:nextToken:ListUsageLimitsResponse'] :: ListUsageLimitsResponse -> Maybe Text -- | An array of returned usage limit objects. [$sel:usageLimits:ListUsageLimitsResponse'] :: ListUsageLimitsResponse -> Maybe (NonEmpty UsageLimit) -- | The response's http status code. [$sel:httpStatus:ListUsageLimitsResponse'] :: ListUsageLimitsResponse -> Int -- | Create a value of ListUsageLimitsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListUsageLimits, listUsageLimitsResponse_nextToken - -- When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. -- -- $sel:usageLimits:ListUsageLimitsResponse', -- listUsageLimitsResponse_usageLimits - An array of returned -- usage limit objects. -- -- $sel:httpStatus:ListUsageLimitsResponse', -- listUsageLimitsResponse_httpStatus - The response's http status -- code. newListUsageLimitsResponse :: Int -> ListUsageLimitsResponse -- | When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listUsageLimitsResponse_nextToken :: Lens' ListUsageLimitsResponse (Maybe Text) -- | An array of returned usage limit objects. listUsageLimitsResponse_usageLimits :: Lens' ListUsageLimitsResponse (Maybe (NonEmpty UsageLimit)) -- | The response's http status code. listUsageLimitsResponse_httpStatus :: Lens' ListUsageLimitsResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance GHC.Show.Show Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance GHC.Read.Read Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimitsResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimitsResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimitsResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimitsResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimitsResponse instance Amazonka.Pager.AWSPager Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.ListUsageLimits.ListUsageLimits -- | Lists the tags assigned to a resource. module Amazonka.RedshiftServerLess.ListTagsForResource -- | See: newListTagsForResource smart constructor. data ListTagsForResource ListTagsForResource' :: Text -> ListTagsForResource -- | The Amazon Resource Name (ARN) of the resource to list tags for. [$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text -- | Create a value of ListTagsForResource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListTagsForResource, listTagsForResource_resourceArn - -- The Amazon Resource Name (ARN) of the resource to list tags for. newListTagsForResource :: Text -> ListTagsForResource -- | The Amazon Resource Name (ARN) of the resource to list tags for. listTagsForResource_resourceArn :: Lens' ListTagsForResource Text -- | See: newListTagsForResourceResponse smart constructor. data ListTagsForResourceResponse ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse -- | A map of the key-value pairs assigned to the resource. [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag] -- | The response's http status code. [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int -- | Create a value of ListTagsForResourceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:tags:ListTagsForResourceResponse', -- listTagsForResourceResponse_tags - A map of the key-value pairs -- assigned to the resource. -- -- $sel:httpStatus:ListTagsForResourceResponse', -- listTagsForResourceResponse_httpStatus - The response's http -- status code. newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse -- | A map of the key-value pairs assigned to the resource. listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) -- | The response's http status code. listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource instance GHC.Show.Show Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource instance GHC.Read.Read Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResourceResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResourceResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResourceResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResourceResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResourceResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.ListTagsForResource.ListTagsForResource -- | Returns information about an array of TableRestoreStatus -- objects. -- -- This operation returns paginated results. module Amazonka.RedshiftServerLess.ListTableRestoreStatus -- | See: newListTableRestoreStatus smart constructor. data ListTableRestoreStatus ListTableRestoreStatus' :: Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> ListTableRestoreStatus -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of results. [$sel:maxResults:ListTableRestoreStatus'] :: ListTableRestoreStatus -> Maybe Natural -- | The namespace from which to list all of the statuses of -- RestoreTableFromSnapshot operations . [$sel:namespaceName:ListTableRestoreStatus'] :: ListTableRestoreStatus -> Maybe Text -- | If your initial ListTableRestoreStatus operation returns a -- nextToken, you can include the returned nextToken in -- following ListTableRestoreStatus operations. This will return -- results on the next page. [$sel:nextToken:ListTableRestoreStatus'] :: ListTableRestoreStatus -> Maybe Text -- | The workgroup from which to list all of the statuses of -- RestoreTableFromSnapshot operations. [$sel:workgroupName:ListTableRestoreStatus'] :: ListTableRestoreStatus -> Maybe Text -- | Create a value of ListTableRestoreStatus with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:maxResults:ListTableRestoreStatus', -- listTableRestoreStatus_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to display the next page of results. -- -- ListTableRestoreStatus, -- listTableRestoreStatus_namespaceName - The namespace from which -- to list all of the statuses of RestoreTableFromSnapshot -- operations . -- -- ListTableRestoreStatus, listTableRestoreStatus_nextToken -- - If your initial ListTableRestoreStatus operation returns a -- nextToken, you can include the returned nextToken in -- following ListTableRestoreStatus operations. This will return -- results on the next page. -- -- ListTableRestoreStatus, -- listTableRestoreStatus_workgroupName - The workgroup from which -- to list all of the statuses of RestoreTableFromSnapshot -- operations. newListTableRestoreStatus :: ListTableRestoreStatus -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of results. listTableRestoreStatus_maxResults :: Lens' ListTableRestoreStatus (Maybe Natural) -- | The namespace from which to list all of the statuses of -- RestoreTableFromSnapshot operations . listTableRestoreStatus_namespaceName :: Lens' ListTableRestoreStatus (Maybe Text) -- | If your initial ListTableRestoreStatus operation returns a -- nextToken, you can include the returned nextToken in -- following ListTableRestoreStatus operations. This will return -- results on the next page. listTableRestoreStatus_nextToken :: Lens' ListTableRestoreStatus (Maybe Text) -- | The workgroup from which to list all of the statuses of -- RestoreTableFromSnapshot operations. listTableRestoreStatus_workgroupName :: Lens' ListTableRestoreStatus (Maybe Text) -- | See: newListTableRestoreStatusResponse smart -- constructor. data ListTableRestoreStatusResponse ListTableRestoreStatusResponse' :: Maybe Text -> Maybe [TableRestoreStatus] -> Int -> ListTableRestoreStatusResponse -- | If your initial ListTableRestoreStatus operation returns a -- nextToken, you can include the returned nextToken in -- following ListTableRestoreStatus operations. This will -- returns results on the next page. [$sel:nextToken:ListTableRestoreStatusResponse'] :: ListTableRestoreStatusResponse -> Maybe Text -- | The array of returned TableRestoreStatus objects. [$sel:tableRestoreStatuses:ListTableRestoreStatusResponse'] :: ListTableRestoreStatusResponse -> Maybe [TableRestoreStatus] -- | The response's http status code. [$sel:httpStatus:ListTableRestoreStatusResponse'] :: ListTableRestoreStatusResponse -> Int -- | Create a value of ListTableRestoreStatusResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListTableRestoreStatus, -- listTableRestoreStatusResponse_nextToken - If your initial -- ListTableRestoreStatus operation returns a -- nextToken, you can include the returned nextToken in -- following ListTableRestoreStatus operations. This will -- returns results on the next page. -- -- $sel:tableRestoreStatuses:ListTableRestoreStatusResponse', -- listTableRestoreStatusResponse_tableRestoreStatuses - The array -- of returned TableRestoreStatus objects. -- -- $sel:httpStatus:ListTableRestoreStatusResponse', -- listTableRestoreStatusResponse_httpStatus - The response's http -- status code. newListTableRestoreStatusResponse :: Int -> ListTableRestoreStatusResponse -- | If your initial ListTableRestoreStatus operation returns a -- nextToken, you can include the returned nextToken in -- following ListTableRestoreStatus operations. This will -- returns results on the next page. listTableRestoreStatusResponse_nextToken :: Lens' ListTableRestoreStatusResponse (Maybe Text) -- | The array of returned TableRestoreStatus objects. listTableRestoreStatusResponse_tableRestoreStatuses :: Lens' ListTableRestoreStatusResponse (Maybe [TableRestoreStatus]) -- | The response's http status code. listTableRestoreStatusResponse_httpStatus :: Lens' ListTableRestoreStatusResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance GHC.Show.Show Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance GHC.Read.Read Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatusResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatusResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatusResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatusResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatusResponse instance Amazonka.Pager.AWSPager Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.ListTableRestoreStatus.ListTableRestoreStatus -- | Returns a list of snapshots. -- -- This operation returns paginated results. module Amazonka.RedshiftServerLess.ListSnapshots -- | See: newListSnapshots smart constructor. data ListSnapshots ListSnapshots' :: Maybe POSIX -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> ListSnapshots -- | The timestamp showing when the snapshot creation finished. [$sel:endTime:ListSnapshots'] :: ListSnapshots -> Maybe POSIX -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. [$sel:maxResults:ListSnapshots'] :: ListSnapshots -> Maybe Natural -- | The Amazon Resource Name (ARN) of the namespace from which to list all -- snapshots. [$sel:namespaceArn:ListSnapshots'] :: ListSnapshots -> Maybe Text -- | The namespace from which to list all snapshots. [$sel:namespaceName:ListSnapshots'] :: ListSnapshots -> Maybe Text -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. [$sel:nextToken:ListSnapshots'] :: ListSnapshots -> Maybe Text -- | The owner Amazon Web Services account of the snapshot. [$sel:ownerAccount:ListSnapshots'] :: ListSnapshots -> Maybe Text -- | The time when the creation of the snapshot was initiated. [$sel:startTime:ListSnapshots'] :: ListSnapshots -> Maybe POSIX -- | Create a value of ListSnapshots with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:endTime:ListSnapshots', listSnapshots_endTime - The -- timestamp showing when the snapshot creation finished. -- -- $sel:maxResults:ListSnapshots', listSnapshots_maxResults -- - An optional parameter that specifies the maximum number of results -- to return. You can use nextToken to display the next page of -- results. -- -- ListSnapshots, listSnapshots_namespaceArn - The Amazon -- Resource Name (ARN) of the namespace from which to list all snapshots. -- -- ListSnapshots, listSnapshots_namespaceName - The -- namespace from which to list all snapshots. -- -- ListSnapshots, listSnapshots_nextToken - If -- nextToken is returned, there are more results available. The -- value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. -- -- ListSnapshots, listSnapshots_ownerAccount - The owner -- Amazon Web Services account of the snapshot. -- -- $sel:startTime:ListSnapshots', listSnapshots_startTime - -- The time when the creation of the snapshot was initiated. newListSnapshots :: ListSnapshots -- | The timestamp showing when the snapshot creation finished. listSnapshots_endTime :: Lens' ListSnapshots (Maybe UTCTime) -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. listSnapshots_maxResults :: Lens' ListSnapshots (Maybe Natural) -- | The Amazon Resource Name (ARN) of the namespace from which to list all -- snapshots. listSnapshots_namespaceArn :: Lens' ListSnapshots (Maybe Text) -- | The namespace from which to list all snapshots. listSnapshots_namespaceName :: Lens' ListSnapshots (Maybe Text) -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listSnapshots_nextToken :: Lens' ListSnapshots (Maybe Text) -- | The owner Amazon Web Services account of the snapshot. listSnapshots_ownerAccount :: Lens' ListSnapshots (Maybe Text) -- | The time when the creation of the snapshot was initiated. listSnapshots_startTime :: Lens' ListSnapshots (Maybe UTCTime) -- | See: newListSnapshotsResponse smart constructor. data ListSnapshotsResponse ListSnapshotsResponse' :: Maybe Text -> Maybe [Snapshot] -> Int -> ListSnapshotsResponse -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. [$sel:nextToken:ListSnapshotsResponse'] :: ListSnapshotsResponse -> Maybe Text -- | All of the returned snapshot objects. [$sel:snapshots:ListSnapshotsResponse'] :: ListSnapshotsResponse -> Maybe [Snapshot] -- | The response's http status code. [$sel:httpStatus:ListSnapshotsResponse'] :: ListSnapshotsResponse -> Int -- | Create a value of ListSnapshotsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListSnapshots, listSnapshotsResponse_nextToken - If -- nextToken is returned, there are more results available. The -- value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. -- -- $sel:snapshots:ListSnapshotsResponse', -- listSnapshotsResponse_snapshots - All of the returned snapshot -- objects. -- -- $sel:httpStatus:ListSnapshotsResponse', -- listSnapshotsResponse_httpStatus - The response's http status -- code. newListSnapshotsResponse :: Int -> ListSnapshotsResponse -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listSnapshotsResponse_nextToken :: Lens' ListSnapshotsResponse (Maybe Text) -- | All of the returned snapshot objects. listSnapshotsResponse_snapshots :: Lens' ListSnapshotsResponse (Maybe [Snapshot]) -- | The response's http status code. listSnapshotsResponse_httpStatus :: Lens' ListSnapshotsResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance GHC.Show.Show Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance GHC.Read.Read Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshotsResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshotsResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshotsResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshotsResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshotsResponse instance Amazonka.Pager.AWSPager Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.ListSnapshots.ListSnapshots -- | Returns an array of recovery points. -- -- This operation returns paginated results. module Amazonka.RedshiftServerLess.ListRecoveryPoints -- | See: newListRecoveryPoints smart constructor. data ListRecoveryPoints ListRecoveryPoints' :: Maybe POSIX -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> ListRecoveryPoints -- | The time when creation of the recovery point finished. [$sel:endTime:ListRecoveryPoints'] :: ListRecoveryPoints -> Maybe POSIX -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. [$sel:maxResults:ListRecoveryPoints'] :: ListRecoveryPoints -> Maybe Natural -- | The Amazon Resource Name (ARN) of the namespace from which to list -- recovery points. [$sel:namespaceArn:ListRecoveryPoints'] :: ListRecoveryPoints -> Maybe Text -- | The name of the namespace to list recovery points for. [$sel:namespaceName:ListRecoveryPoints'] :: ListRecoveryPoints -> Maybe Text -- | If your initial ListRecoveryPoints operation returns a -- nextToken, you can include the returned nextToken in -- following ListRecoveryPoints operations, which returns -- results in the next page. [$sel:nextToken:ListRecoveryPoints'] :: ListRecoveryPoints -> Maybe Text -- | The time when the recovery point's creation was initiated. [$sel:startTime:ListRecoveryPoints'] :: ListRecoveryPoints -> Maybe POSIX -- | Create a value of ListRecoveryPoints with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:endTime:ListRecoveryPoints', -- listRecoveryPoints_endTime - The time when creation of the -- recovery point finished. -- -- $sel:maxResults:ListRecoveryPoints', -- listRecoveryPoints_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to display the next page of results. -- -- ListRecoveryPoints, listRecoveryPoints_namespaceArn - -- The Amazon Resource Name (ARN) of the namespace from which to list -- recovery points. -- -- ListRecoveryPoints, listRecoveryPoints_namespaceName - -- The name of the namespace to list recovery points for. -- -- ListRecoveryPoints, listRecoveryPoints_nextToken - If -- your initial ListRecoveryPoints operation returns a -- nextToken, you can include the returned nextToken in -- following ListRecoveryPoints operations, which returns -- results in the next page. -- -- $sel:startTime:ListRecoveryPoints', -- listRecoveryPoints_startTime - The time when the recovery -- point's creation was initiated. newListRecoveryPoints :: ListRecoveryPoints -- | The time when creation of the recovery point finished. listRecoveryPoints_endTime :: Lens' ListRecoveryPoints (Maybe UTCTime) -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. listRecoveryPoints_maxResults :: Lens' ListRecoveryPoints (Maybe Natural) -- | The Amazon Resource Name (ARN) of the namespace from which to list -- recovery points. listRecoveryPoints_namespaceArn :: Lens' ListRecoveryPoints (Maybe Text) -- | The name of the namespace to list recovery points for. listRecoveryPoints_namespaceName :: Lens' ListRecoveryPoints (Maybe Text) -- | If your initial ListRecoveryPoints operation returns a -- nextToken, you can include the returned nextToken in -- following ListRecoveryPoints operations, which returns -- results in the next page. listRecoveryPoints_nextToken :: Lens' ListRecoveryPoints (Maybe Text) -- | The time when the recovery point's creation was initiated. listRecoveryPoints_startTime :: Lens' ListRecoveryPoints (Maybe UTCTime) -- | See: newListRecoveryPointsResponse smart constructor. data ListRecoveryPointsResponse ListRecoveryPointsResponse' :: Maybe Text -> Maybe [RecoveryPoint] -> Int -> ListRecoveryPointsResponse -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. [$sel:nextToken:ListRecoveryPointsResponse'] :: ListRecoveryPointsResponse -> Maybe Text -- | The returned recovery point objects. [$sel:recoveryPoints:ListRecoveryPointsResponse'] :: ListRecoveryPointsResponse -> Maybe [RecoveryPoint] -- | The response's http status code. [$sel:httpStatus:ListRecoveryPointsResponse'] :: ListRecoveryPointsResponse -> Int -- | Create a value of ListRecoveryPointsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListRecoveryPoints, listRecoveryPointsResponse_nextToken -- - If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. -- -- $sel:recoveryPoints:ListRecoveryPointsResponse', -- listRecoveryPointsResponse_recoveryPoints - The returned -- recovery point objects. -- -- $sel:httpStatus:ListRecoveryPointsResponse', -- listRecoveryPointsResponse_httpStatus - The response's http -- status code. newListRecoveryPointsResponse :: Int -> ListRecoveryPointsResponse -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listRecoveryPointsResponse_nextToken :: Lens' ListRecoveryPointsResponse (Maybe Text) -- | The returned recovery point objects. listRecoveryPointsResponse_recoveryPoints :: Lens' ListRecoveryPointsResponse (Maybe [RecoveryPoint]) -- | The response's http status code. listRecoveryPointsResponse_httpStatus :: Lens' ListRecoveryPointsResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance GHC.Show.Show Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance GHC.Read.Read Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPointsResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPointsResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPointsResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPointsResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPointsResponse instance Amazonka.Pager.AWSPager Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.ListRecoveryPoints.ListRecoveryPoints -- | Returns information about a list of specified namespaces. -- -- This operation returns paginated results. module Amazonka.RedshiftServerLess.ListNamespaces -- | See: newListNamespaces smart constructor. data ListNamespaces ListNamespaces' :: Maybe Natural -> Maybe Text -> ListNamespaces -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. [$sel:maxResults:ListNamespaces'] :: ListNamespaces -> Maybe Natural -- | If your initial ListNamespaces operation returns a -- nextToken, you can include the returned nextToken in -- following ListNamespaces operations, which returns results in -- the next page. [$sel:nextToken:ListNamespaces'] :: ListNamespaces -> Maybe Text -- | Create a value of ListNamespaces with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:maxResults:ListNamespaces', -- listNamespaces_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to display the next page of results. -- -- ListNamespaces, listNamespaces_nextToken - If your -- initial ListNamespaces operation returns a -- nextToken, you can include the returned nextToken in -- following ListNamespaces operations, which returns results in -- the next page. newListNamespaces :: ListNamespaces -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. listNamespaces_maxResults :: Lens' ListNamespaces (Maybe Natural) -- | If your initial ListNamespaces operation returns a -- nextToken, you can include the returned nextToken in -- following ListNamespaces operations, which returns results in -- the next page. listNamespaces_nextToken :: Lens' ListNamespaces (Maybe Text) -- | See: newListNamespacesResponse smart constructor. data ListNamespacesResponse ListNamespacesResponse' :: Maybe Text -> Int -> [Namespace] -> ListNamespacesResponse -- | When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. [$sel:nextToken:ListNamespacesResponse'] :: ListNamespacesResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListNamespacesResponse'] :: ListNamespacesResponse -> Int -- | The list of returned namespaces. [$sel:namespaces:ListNamespacesResponse'] :: ListNamespacesResponse -> [Namespace] -- | Create a value of ListNamespacesResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListNamespaces, listNamespacesResponse_nextToken - When -- nextToken is returned, there are more results available. The -- value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. -- -- $sel:httpStatus:ListNamespacesResponse', -- listNamespacesResponse_httpStatus - The response's http status -- code. -- -- $sel:namespaces:ListNamespacesResponse', -- listNamespacesResponse_namespaces - The list of returned -- namespaces. newListNamespacesResponse :: Int -> ListNamespacesResponse -- | When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listNamespacesResponse_nextToken :: Lens' ListNamespacesResponse (Maybe Text) -- | The response's http status code. listNamespacesResponse_httpStatus :: Lens' ListNamespacesResponse Int -- | The list of returned namespaces. listNamespacesResponse_namespaces :: Lens' ListNamespacesResponse [Namespace] instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance GHC.Show.Show Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance GHC.Read.Read Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListNamespaces.ListNamespacesResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.ListNamespaces.ListNamespacesResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListNamespaces.ListNamespacesResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListNamespaces.ListNamespacesResponse instance Amazonka.Pager.AWSPager Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.ListNamespaces.ListNamespaces -- | Returns an array of EndpointAccess objects and relevant -- information. -- -- This operation returns paginated results. module Amazonka.RedshiftServerLess.ListEndpointAccess -- | See: newListEndpointAccess smart constructor. data ListEndpointAccess ListEndpointAccess' :: Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> ListEndpointAccess -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. [$sel:maxResults:ListEndpointAccess'] :: ListEndpointAccess -> Maybe Natural -- | If your initial ListEndpointAccess operation returns a -- nextToken, you can include the returned nextToken in -- following ListEndpointAccess operations, which returns -- results in the next page. [$sel:nextToken:ListEndpointAccess'] :: ListEndpointAccess -> Maybe Text -- | The unique identifier of the virtual private cloud with access to -- Amazon Redshift Serverless. [$sel:vpcId:ListEndpointAccess'] :: ListEndpointAccess -> Maybe Text -- | The name of the workgroup associated with the VPC endpoint to return. [$sel:workgroupName:ListEndpointAccess'] :: ListEndpointAccess -> Maybe Text -- | Create a value of ListEndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:maxResults:ListEndpointAccess', -- listEndpointAccess_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to display the next page of results. -- -- ListEndpointAccess, listEndpointAccess_nextToken - If -- your initial ListEndpointAccess operation returns a -- nextToken, you can include the returned nextToken in -- following ListEndpointAccess operations, which returns -- results in the next page. -- -- ListEndpointAccess, listEndpointAccess_vpcId - The -- unique identifier of the virtual private cloud with access to Amazon -- Redshift Serverless. -- -- ListEndpointAccess, listEndpointAccess_workgroupName - -- The name of the workgroup associated with the VPC endpoint to return. newListEndpointAccess :: ListEndpointAccess -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. listEndpointAccess_maxResults :: Lens' ListEndpointAccess (Maybe Natural) -- | If your initial ListEndpointAccess operation returns a -- nextToken, you can include the returned nextToken in -- following ListEndpointAccess operations, which returns -- results in the next page. listEndpointAccess_nextToken :: Lens' ListEndpointAccess (Maybe Text) -- | The unique identifier of the virtual private cloud with access to -- Amazon Redshift Serverless. listEndpointAccess_vpcId :: Lens' ListEndpointAccess (Maybe Text) -- | The name of the workgroup associated with the VPC endpoint to return. listEndpointAccess_workgroupName :: Lens' ListEndpointAccess (Maybe Text) -- | See: newListEndpointAccessResponse smart constructor. data ListEndpointAccessResponse ListEndpointAccessResponse' :: Maybe Text -> Int -> [EndpointAccess] -> ListEndpointAccessResponse -- | When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. [$sel:nextToken:ListEndpointAccessResponse'] :: ListEndpointAccessResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListEndpointAccessResponse'] :: ListEndpointAccessResponse -> Int -- | The returned VPC endpoints. [$sel:endpoints:ListEndpointAccessResponse'] :: ListEndpointAccessResponse -> [EndpointAccess] -- | Create a value of ListEndpointAccessResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListEndpointAccess, listEndpointAccessResponse_nextToken -- - When nextToken is returned, there are more results -- available. The value of nextToken is a unique pagination -- token for each page. Make the call again using the returned token to -- retrieve the next page. -- -- $sel:httpStatus:ListEndpointAccessResponse', -- listEndpointAccessResponse_httpStatus - The response's http -- status code. -- -- $sel:endpoints:ListEndpointAccessResponse', -- listEndpointAccessResponse_endpoints - The returned VPC -- endpoints. newListEndpointAccessResponse :: Int -> ListEndpointAccessResponse -- | When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listEndpointAccessResponse_nextToken :: Lens' ListEndpointAccessResponse (Maybe Text) -- | The response's http status code. listEndpointAccessResponse_httpStatus :: Lens' ListEndpointAccessResponse Int -- | The returned VPC endpoints. listEndpointAccessResponse_endpoints :: Lens' ListEndpointAccessResponse [EndpointAccess] instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance GHC.Show.Show Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance GHC.Read.Read Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccessResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccessResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccessResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccessResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccessResponse instance Amazonka.Pager.AWSPager Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.ListEndpointAccess.ListEndpointAccess -- | Returns information about a specific workgroup. module Amazonka.RedshiftServerLess.GetWorkgroup -- | See: newGetWorkgroup smart constructor. data GetWorkgroup GetWorkgroup' :: Text -> GetWorkgroup -- | The name of the workgroup to return information for. [$sel:workgroupName:GetWorkgroup'] :: GetWorkgroup -> Text -- | Create a value of GetWorkgroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetWorkgroup, getWorkgroup_workgroupName - The name of -- the workgroup to return information for. newGetWorkgroup :: Text -> GetWorkgroup -- | The name of the workgroup to return information for. getWorkgroup_workgroupName :: Lens' GetWorkgroup Text -- | See: newGetWorkgroupResponse smart constructor. data GetWorkgroupResponse GetWorkgroupResponse' :: Int -> Workgroup -> GetWorkgroupResponse -- | The response's http status code. [$sel:httpStatus:GetWorkgroupResponse'] :: GetWorkgroupResponse -> Int -- | The returned workgroup object. [$sel:workgroup:GetWorkgroupResponse'] :: GetWorkgroupResponse -> Workgroup -- | Create a value of GetWorkgroupResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:GetWorkgroupResponse', -- getWorkgroupResponse_httpStatus - The response's http status -- code. -- -- $sel:workgroup:GetWorkgroupResponse', -- getWorkgroupResponse_workgroup - The returned workgroup object. newGetWorkgroupResponse :: Int -> Workgroup -> GetWorkgroupResponse -- | The response's http status code. getWorkgroupResponse_httpStatus :: Lens' GetWorkgroupResponse Int -- | The returned workgroup object. getWorkgroupResponse_workgroup :: Lens' GetWorkgroupResponse Workgroup instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup instance GHC.Show.Show Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup instance GHC.Read.Read Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroupResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroupResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroupResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroupResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroupResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.GetWorkgroup.GetWorkgroup -- | Returns information about a usage limit. module Amazonka.RedshiftServerLess.GetUsageLimit -- | See: newGetUsageLimit smart constructor. data GetUsageLimit GetUsageLimit' :: Text -> GetUsageLimit -- | The unique identifier of the usage limit to return information for. [$sel:usageLimitId:GetUsageLimit'] :: GetUsageLimit -> Text -- | Create a value of GetUsageLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetUsageLimit, getUsageLimit_usageLimitId - The unique -- identifier of the usage limit to return information for. newGetUsageLimit :: Text -> GetUsageLimit -- | The unique identifier of the usage limit to return information for. getUsageLimit_usageLimitId :: Lens' GetUsageLimit Text -- | See: newGetUsageLimitResponse smart constructor. data GetUsageLimitResponse GetUsageLimitResponse' :: Maybe UsageLimit -> Int -> GetUsageLimitResponse -- | The returned usage limit object. [$sel:usageLimit:GetUsageLimitResponse'] :: GetUsageLimitResponse -> Maybe UsageLimit -- | The response's http status code. [$sel:httpStatus:GetUsageLimitResponse'] :: GetUsageLimitResponse -> Int -- | Create a value of GetUsageLimitResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:usageLimit:GetUsageLimitResponse', -- getUsageLimitResponse_usageLimit - The returned usage limit -- object. -- -- $sel:httpStatus:GetUsageLimitResponse', -- getUsageLimitResponse_httpStatus - The response's http status -- code. newGetUsageLimitResponse :: Int -> GetUsageLimitResponse -- | The returned usage limit object. getUsageLimitResponse_usageLimit :: Lens' GetUsageLimitResponse (Maybe UsageLimit) -- | The response's http status code. getUsageLimitResponse_httpStatus :: Lens' GetUsageLimitResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit instance GHC.Show.Show Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit instance GHC.Read.Read Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimitResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimitResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimitResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimitResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimitResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.GetUsageLimit.GetUsageLimit -- | Returns information about a TableRestoreStatus object. module Amazonka.RedshiftServerLess.GetTableRestoreStatus -- | See: newGetTableRestoreStatus smart constructor. data GetTableRestoreStatus GetTableRestoreStatus' :: Text -> GetTableRestoreStatus -- | The ID of the RestoreTableFromSnapshot request to return -- status for. [$sel:tableRestoreRequestId:GetTableRestoreStatus'] :: GetTableRestoreStatus -> Text -- | Create a value of GetTableRestoreStatus with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetTableRestoreStatus, -- getTableRestoreStatus_tableRestoreRequestId - The ID of the -- RestoreTableFromSnapshot request to return status for. newGetTableRestoreStatus :: Text -> GetTableRestoreStatus -- | The ID of the RestoreTableFromSnapshot request to return -- status for. getTableRestoreStatus_tableRestoreRequestId :: Lens' GetTableRestoreStatus Text -- | See: newGetTableRestoreStatusResponse smart constructor. data GetTableRestoreStatusResponse GetTableRestoreStatusResponse' :: Maybe TableRestoreStatus -> Int -> GetTableRestoreStatusResponse -- | The returned TableRestoreStatus object that contains -- information about the status of your RestoreTableFromSnapshot -- request. [$sel:tableRestoreStatus:GetTableRestoreStatusResponse'] :: GetTableRestoreStatusResponse -> Maybe TableRestoreStatus -- | The response's http status code. [$sel:httpStatus:GetTableRestoreStatusResponse'] :: GetTableRestoreStatusResponse -> Int -- | Create a value of GetTableRestoreStatusResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:tableRestoreStatus:GetTableRestoreStatusResponse', -- getTableRestoreStatusResponse_tableRestoreStatus - The returned -- TableRestoreStatus object that contains information about the -- status of your RestoreTableFromSnapshot request. -- -- $sel:httpStatus:GetTableRestoreStatusResponse', -- getTableRestoreStatusResponse_httpStatus - The response's http -- status code. newGetTableRestoreStatusResponse :: Int -> GetTableRestoreStatusResponse -- | The returned TableRestoreStatus object that contains -- information about the status of your RestoreTableFromSnapshot -- request. getTableRestoreStatusResponse_tableRestoreStatus :: Lens' GetTableRestoreStatusResponse (Maybe TableRestoreStatus) -- | The response's http status code. getTableRestoreStatusResponse_httpStatus :: Lens' GetTableRestoreStatusResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus instance GHC.Show.Show Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus instance GHC.Read.Read Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatusResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatusResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatusResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatusResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatusResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.GetTableRestoreStatus.GetTableRestoreStatus -- | Returns information about a specific snapshot. module Amazonka.RedshiftServerLess.GetSnapshot -- | See: newGetSnapshot smart constructor. data GetSnapshot GetSnapshot' :: Maybe Text -> Maybe Text -> Maybe Text -> GetSnapshot -- | The owner Amazon Web Services account of a snapshot shared with -- another user. [$sel:ownerAccount:GetSnapshot'] :: GetSnapshot -> Maybe Text -- | The Amazon Resource Name (ARN) of the snapshot to return. [$sel:snapshotArn:GetSnapshot'] :: GetSnapshot -> Maybe Text -- | The name of the snapshot to return. [$sel:snapshotName:GetSnapshot'] :: GetSnapshot -> Maybe Text -- | Create a value of GetSnapshot with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetSnapshot, getSnapshot_ownerAccount - The owner Amazon -- Web Services account of a snapshot shared with another user. -- -- GetSnapshot, getSnapshot_snapshotArn - The Amazon -- Resource Name (ARN) of the snapshot to return. -- -- GetSnapshot, getSnapshot_snapshotName - The name of the -- snapshot to return. newGetSnapshot :: GetSnapshot -- | The owner Amazon Web Services account of a snapshot shared with -- another user. getSnapshot_ownerAccount :: Lens' GetSnapshot (Maybe Text) -- | The Amazon Resource Name (ARN) of the snapshot to return. getSnapshot_snapshotArn :: Lens' GetSnapshot (Maybe Text) -- | The name of the snapshot to return. getSnapshot_snapshotName :: Lens' GetSnapshot (Maybe Text) -- | See: newGetSnapshotResponse smart constructor. data GetSnapshotResponse GetSnapshotResponse' :: Maybe Snapshot -> Int -> GetSnapshotResponse -- | The returned snapshot object. [$sel:snapshot:GetSnapshotResponse'] :: GetSnapshotResponse -> Maybe Snapshot -- | The response's http status code. [$sel:httpStatus:GetSnapshotResponse'] :: GetSnapshotResponse -> Int -- | Create a value of GetSnapshotResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:snapshot:GetSnapshotResponse', -- getSnapshotResponse_snapshot - The returned snapshot object. -- -- $sel:httpStatus:GetSnapshotResponse', -- getSnapshotResponse_httpStatus - The response's http status -- code. newGetSnapshotResponse :: Int -> GetSnapshotResponse -- | The returned snapshot object. getSnapshotResponse_snapshot :: Lens' GetSnapshotResponse (Maybe Snapshot) -- | The response's http status code. getSnapshotResponse_httpStatus :: Lens' GetSnapshotResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot instance GHC.Show.Show Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot instance GHC.Read.Read Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshotResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshotResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshotResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshotResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshotResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.GetSnapshot.GetSnapshot -- | Returns a resource policy. module Amazonka.RedshiftServerLess.GetResourcePolicy -- | See: newGetResourcePolicy smart constructor. data GetResourcePolicy GetResourcePolicy' :: Text -> GetResourcePolicy -- | The Amazon Resource Name (ARN) of the resource to return. [$sel:resourceArn:GetResourcePolicy'] :: GetResourcePolicy -> Text -- | Create a value of GetResourcePolicy with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetResourcePolicy, getResourcePolicy_resourceArn - The -- Amazon Resource Name (ARN) of the resource to return. newGetResourcePolicy :: Text -> GetResourcePolicy -- | The Amazon Resource Name (ARN) of the resource to return. getResourcePolicy_resourceArn :: Lens' GetResourcePolicy Text -- | See: newGetResourcePolicyResponse smart constructor. data GetResourcePolicyResponse GetResourcePolicyResponse' :: Maybe ResourcePolicy -> Int -> GetResourcePolicyResponse -- | The returned resource policy. [$sel:resourcePolicy:GetResourcePolicyResponse'] :: GetResourcePolicyResponse -> Maybe ResourcePolicy -- | The response's http status code. [$sel:httpStatus:GetResourcePolicyResponse'] :: GetResourcePolicyResponse -> Int -- | Create a value of GetResourcePolicyResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resourcePolicy:GetResourcePolicyResponse', -- getResourcePolicyResponse_resourcePolicy - The returned -- resource policy. -- -- $sel:httpStatus:GetResourcePolicyResponse', -- getResourcePolicyResponse_httpStatus - The response's http -- status code. newGetResourcePolicyResponse :: Int -> GetResourcePolicyResponse -- | The returned resource policy. getResourcePolicyResponse_resourcePolicy :: Lens' GetResourcePolicyResponse (Maybe ResourcePolicy) -- | The response's http status code. getResourcePolicyResponse_httpStatus :: Lens' GetResourcePolicyResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy instance GHC.Show.Show Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy instance GHC.Read.Read Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicyResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicyResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicyResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicyResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicyResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.GetResourcePolicy.GetResourcePolicy -- | Returns information about a recovery point. module Amazonka.RedshiftServerLess.GetRecoveryPoint -- | See: newGetRecoveryPoint smart constructor. data GetRecoveryPoint GetRecoveryPoint' :: Text -> GetRecoveryPoint -- | The unique identifier of the recovery point to return information for. [$sel:recoveryPointId:GetRecoveryPoint'] :: GetRecoveryPoint -> Text -- | Create a value of GetRecoveryPoint with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetRecoveryPoint, getRecoveryPoint_recoveryPointId - The -- unique identifier of the recovery point to return information for. newGetRecoveryPoint :: Text -> GetRecoveryPoint -- | The unique identifier of the recovery point to return information for. getRecoveryPoint_recoveryPointId :: Lens' GetRecoveryPoint Text -- | See: newGetRecoveryPointResponse smart constructor. data GetRecoveryPointResponse GetRecoveryPointResponse' :: Maybe RecoveryPoint -> Int -> GetRecoveryPointResponse -- | The returned recovery point object. [$sel:recoveryPoint:GetRecoveryPointResponse'] :: GetRecoveryPointResponse -> Maybe RecoveryPoint -- | The response's http status code. [$sel:httpStatus:GetRecoveryPointResponse'] :: GetRecoveryPointResponse -> Int -- | Create a value of GetRecoveryPointResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:recoveryPoint:GetRecoveryPointResponse', -- getRecoveryPointResponse_recoveryPoint - The returned recovery -- point object. -- -- $sel:httpStatus:GetRecoveryPointResponse', -- getRecoveryPointResponse_httpStatus - The response's http -- status code. newGetRecoveryPointResponse :: Int -> GetRecoveryPointResponse -- | The returned recovery point object. getRecoveryPointResponse_recoveryPoint :: Lens' GetRecoveryPointResponse (Maybe RecoveryPoint) -- | The response's http status code. getRecoveryPointResponse_httpStatus :: Lens' GetRecoveryPointResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint instance GHC.Show.Show Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint instance GHC.Read.Read Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPointResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPointResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPointResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPointResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPointResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.GetRecoveryPoint.GetRecoveryPoint -- | Returns information about a namespace in Amazon Redshift Serverless. module Amazonka.RedshiftServerLess.GetNamespace -- | See: newGetNamespace smart constructor. data GetNamespace GetNamespace' :: Text -> GetNamespace -- | The name of the namespace to retrieve information for. [$sel:namespaceName:GetNamespace'] :: GetNamespace -> Text -- | Create a value of GetNamespace with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetNamespace, getNamespace_namespaceName - The name of -- the namespace to retrieve information for. newGetNamespace :: Text -> GetNamespace -- | The name of the namespace to retrieve information for. getNamespace_namespaceName :: Lens' GetNamespace Text -- | See: newGetNamespaceResponse smart constructor. data GetNamespaceResponse GetNamespaceResponse' :: Int -> Namespace -> GetNamespaceResponse -- | The response's http status code. [$sel:httpStatus:GetNamespaceResponse'] :: GetNamespaceResponse -> Int -- | The returned namespace object. [$sel:namespace:GetNamespaceResponse'] :: GetNamespaceResponse -> Namespace -- | Create a value of GetNamespaceResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:GetNamespaceResponse', -- getNamespaceResponse_httpStatus - The response's http status -- code. -- -- $sel:namespace:GetNamespaceResponse', -- getNamespaceResponse_namespace - The returned namespace object. newGetNamespaceResponse :: Int -> Namespace -> GetNamespaceResponse -- | The response's http status code. getNamespaceResponse_httpStatus :: Lens' GetNamespaceResponse Int -- | The returned namespace object. getNamespaceResponse_namespace :: Lens' GetNamespaceResponse Namespace instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetNamespace.GetNamespace instance GHC.Show.Show Amazonka.RedshiftServerLess.GetNamespace.GetNamespace instance GHC.Read.Read Amazonka.RedshiftServerLess.GetNamespace.GetNamespace instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetNamespace.GetNamespace instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetNamespace.GetNamespaceResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.GetNamespace.GetNamespaceResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetNamespace.GetNamespaceResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.GetNamespace.GetNamespace instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetNamespace.GetNamespaceResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.GetNamespace.GetNamespace instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetNamespace.GetNamespace instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.GetNamespace.GetNamespace instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.GetNamespace.GetNamespace instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.GetNamespace.GetNamespace instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.GetNamespace.GetNamespace -- | Returns information, such as the name, about a VPC endpoint. module Amazonka.RedshiftServerLess.GetEndpointAccess -- | See: newGetEndpointAccess smart constructor. data GetEndpointAccess GetEndpointAccess' :: Text -> GetEndpointAccess -- | The name of the VPC endpoint to return information for. [$sel:endpointName:GetEndpointAccess'] :: GetEndpointAccess -> Text -- | Create a value of GetEndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetEndpointAccess, getEndpointAccess_endpointName - The -- name of the VPC endpoint to return information for. newGetEndpointAccess :: Text -> GetEndpointAccess -- | The name of the VPC endpoint to return information for. getEndpointAccess_endpointName :: Lens' GetEndpointAccess Text -- | See: newGetEndpointAccessResponse smart constructor. data GetEndpointAccessResponse GetEndpointAccessResponse' :: Maybe EndpointAccess -> Int -> GetEndpointAccessResponse -- | The returned VPC endpoint. [$sel:endpoint:GetEndpointAccessResponse'] :: GetEndpointAccessResponse -> Maybe EndpointAccess -- | The response's http status code. [$sel:httpStatus:GetEndpointAccessResponse'] :: GetEndpointAccessResponse -> Int -- | Create a value of GetEndpointAccessResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetEndpointAccessResponse, -- getEndpointAccessResponse_endpoint - The returned VPC endpoint. -- -- $sel:httpStatus:GetEndpointAccessResponse', -- getEndpointAccessResponse_httpStatus - The response's http -- status code. newGetEndpointAccessResponse :: Int -> GetEndpointAccessResponse -- | The returned VPC endpoint. getEndpointAccessResponse_endpoint :: Lens' GetEndpointAccessResponse (Maybe EndpointAccess) -- | The response's http status code. getEndpointAccessResponse_httpStatus :: Lens' GetEndpointAccessResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess instance GHC.Show.Show Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess instance GHC.Read.Read Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccessResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccessResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccessResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccessResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccessResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.GetEndpointAccess.GetEndpointAccess -- | Returns a database user name and temporary password with temporary -- authorization to log in to Amazon Redshift Serverless. -- -- By default, the temporary credentials expire in 900 seconds. You can -- optionally specify a duration between 900 seconds (15 minutes) and -- 3600 seconds (60 minutes). -- --
--   <p>The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources.</p> <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p>
--   
module Amazonka.RedshiftServerLess.GetCredentials -- | See: newGetCredentials smart constructor. data GetCredentials GetCredentials' :: Maybe Text -> Maybe Int -> Text -> GetCredentials -- | The name of the database to get temporary authorization to log on to. -- -- Constraints: -- -- [$sel:dbName:GetCredentials'] :: GetCredentials -> Maybe Text -- | The number of seconds until the returned temporary password expires. -- The minimum is 900 seconds, and the maximum is 3600 seconds. [$sel:durationSeconds:GetCredentials'] :: GetCredentials -> Maybe Int -- | The name of the workgroup associated with the database. [$sel:workgroupName:GetCredentials'] :: GetCredentials -> Text -- | Create a value of GetCredentials with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetCredentials, getCredentials_dbName - The name of the -- database to get temporary authorization to log on to. -- -- Constraints: -- -- -- -- $sel:durationSeconds:GetCredentials', -- getCredentials_durationSeconds - The number of seconds until -- the returned temporary password expires. The minimum is 900 seconds, -- and the maximum is 3600 seconds. -- -- GetCredentials, getCredentials_workgroupName - The name -- of the workgroup associated with the database. newGetCredentials :: Text -> GetCredentials -- | The name of the database to get temporary authorization to log on to. -- -- Constraints: -- -- getCredentials_dbName :: Lens' GetCredentials (Maybe Text) -- | The number of seconds until the returned temporary password expires. -- The minimum is 900 seconds, and the maximum is 3600 seconds. getCredentials_durationSeconds :: Lens' GetCredentials (Maybe Int) -- | The name of the workgroup associated with the database. getCredentials_workgroupName :: Lens' GetCredentials Text -- | See: newGetCredentialsResponse smart constructor. data GetCredentialsResponse GetCredentialsResponse' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe POSIX -> Maybe POSIX -> Int -> GetCredentialsResponse -- | A temporary password that authorizes the user name returned by -- DbUser to log on to the database DbName. [$sel:dbPassword:GetCredentialsResponse'] :: GetCredentialsResponse -> Maybe (Sensitive Text) -- | A database user name that is authorized to log on to the database -- DbName using the password DbPassword. If the -- specified DbUser exists in the database, the new user name -- has the same database privileges as the the user named in -- DbUser. By default, the user is added to PUBLIC. [$sel:dbUser:GetCredentialsResponse'] :: GetCredentialsResponse -> Maybe (Sensitive Text) -- | The date and time the password in DbPassword expires. [$sel:expiration:GetCredentialsResponse'] :: GetCredentialsResponse -> Maybe POSIX -- | The date and time of when the DbUser and DbPassword -- authorization refreshes. [$sel:nextRefreshTime:GetCredentialsResponse'] :: GetCredentialsResponse -> Maybe POSIX -- | The response's http status code. [$sel:httpStatus:GetCredentialsResponse'] :: GetCredentialsResponse -> Int -- | Create a value of GetCredentialsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:dbPassword:GetCredentialsResponse', -- getCredentialsResponse_dbPassword - A temporary password that -- authorizes the user name returned by DbUser to log on to the -- database DbName. -- -- $sel:dbUser:GetCredentialsResponse', -- getCredentialsResponse_dbUser - A database user name that is -- authorized to log on to the database DbName using the -- password DbPassword. If the specified DbUser exists -- in the database, the new user name has the same database privileges as -- the the user named in DbUser. By default, the user is added -- to PUBLIC. -- -- $sel:expiration:GetCredentialsResponse', -- getCredentialsResponse_expiration - The date and time the -- password in DbPassword expires. -- -- $sel:nextRefreshTime:GetCredentialsResponse', -- getCredentialsResponse_nextRefreshTime - The date and time of -- when the DbUser and DbPassword authorization -- refreshes. -- -- $sel:httpStatus:GetCredentialsResponse', -- getCredentialsResponse_httpStatus - The response's http status -- code. newGetCredentialsResponse :: Int -> GetCredentialsResponse -- | A temporary password that authorizes the user name returned by -- DbUser to log on to the database DbName. getCredentialsResponse_dbPassword :: Lens' GetCredentialsResponse (Maybe Text) -- | A database user name that is authorized to log on to the database -- DbName using the password DbPassword. If the -- specified DbUser exists in the database, the new user name -- has the same database privileges as the the user named in -- DbUser. By default, the user is added to PUBLIC. getCredentialsResponse_dbUser :: Lens' GetCredentialsResponse (Maybe Text) -- | The date and time the password in DbPassword expires. getCredentialsResponse_expiration :: Lens' GetCredentialsResponse (Maybe UTCTime) -- | The date and time of when the DbUser and DbPassword -- authorization refreshes. getCredentialsResponse_nextRefreshTime :: Lens' GetCredentialsResponse (Maybe UTCTime) -- | The response's http status code. getCredentialsResponse_httpStatus :: Lens' GetCredentialsResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetCredentials.GetCredentials instance GHC.Show.Show Amazonka.RedshiftServerLess.GetCredentials.GetCredentials instance GHC.Read.Read Amazonka.RedshiftServerLess.GetCredentials.GetCredentials instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetCredentials.GetCredentials instance GHC.Generics.Generic Amazonka.RedshiftServerLess.GetCredentials.GetCredentialsResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.GetCredentials.GetCredentialsResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.GetCredentials.GetCredentialsResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.GetCredentials.GetCredentials instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetCredentials.GetCredentialsResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.GetCredentials.GetCredentials instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.GetCredentials.GetCredentials instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.GetCredentials.GetCredentials instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.GetCredentials.GetCredentials instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.GetCredentials.GetCredentials instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.GetCredentials.GetCredentials -- | Deletes a workgroup. module Amazonka.RedshiftServerLess.DeleteWorkgroup -- | See: newDeleteWorkgroup smart constructor. data DeleteWorkgroup DeleteWorkgroup' :: Text -> DeleteWorkgroup -- | The name of the workgroup to be deleted. [$sel:workgroupName:DeleteWorkgroup'] :: DeleteWorkgroup -> Text -- | Create a value of DeleteWorkgroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteWorkgroup, deleteWorkgroup_workgroupName - The -- name of the workgroup to be deleted. newDeleteWorkgroup :: Text -> DeleteWorkgroup -- | The name of the workgroup to be deleted. deleteWorkgroup_workgroupName :: Lens' DeleteWorkgroup Text -- | See: newDeleteWorkgroupResponse smart constructor. data DeleteWorkgroupResponse DeleteWorkgroupResponse' :: Int -> Workgroup -> DeleteWorkgroupResponse -- | The response's http status code. [$sel:httpStatus:DeleteWorkgroupResponse'] :: DeleteWorkgroupResponse -> Int -- | The deleted workgroup object. [$sel:workgroup:DeleteWorkgroupResponse'] :: DeleteWorkgroupResponse -> Workgroup -- | Create a value of DeleteWorkgroupResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeleteWorkgroupResponse', -- deleteWorkgroupResponse_httpStatus - The response's http status -- code. -- -- $sel:workgroup:DeleteWorkgroupResponse', -- deleteWorkgroupResponse_workgroup - The deleted workgroup -- object. newDeleteWorkgroupResponse :: Int -> Workgroup -> DeleteWorkgroupResponse -- | The response's http status code. deleteWorkgroupResponse_httpStatus :: Lens' DeleteWorkgroupResponse Int -- | The deleted workgroup object. deleteWorkgroupResponse_workgroup :: Lens' DeleteWorkgroupResponse Workgroup instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroupResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroupResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroupResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroupResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroupResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.DeleteWorkgroup.DeleteWorkgroup -- | Deletes a usage limit from Amazon Redshift Serverless. module Amazonka.RedshiftServerLess.DeleteUsageLimit -- | See: newDeleteUsageLimit smart constructor. data DeleteUsageLimit DeleteUsageLimit' :: Text -> DeleteUsageLimit -- | The unique identifier of the usage limit to delete. [$sel:usageLimitId:DeleteUsageLimit'] :: DeleteUsageLimit -> Text -- | Create a value of DeleteUsageLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteUsageLimit, deleteUsageLimit_usageLimitId - The -- unique identifier of the usage limit to delete. newDeleteUsageLimit :: Text -> DeleteUsageLimit -- | The unique identifier of the usage limit to delete. deleteUsageLimit_usageLimitId :: Lens' DeleteUsageLimit Text -- | See: newDeleteUsageLimitResponse smart constructor. data DeleteUsageLimitResponse DeleteUsageLimitResponse' :: Maybe UsageLimit -> Int -> DeleteUsageLimitResponse -- | The deleted usage limit object. [$sel:usageLimit:DeleteUsageLimitResponse'] :: DeleteUsageLimitResponse -> Maybe UsageLimit -- | The response's http status code. [$sel:httpStatus:DeleteUsageLimitResponse'] :: DeleteUsageLimitResponse -> Int -- | Create a value of DeleteUsageLimitResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:usageLimit:DeleteUsageLimitResponse', -- deleteUsageLimitResponse_usageLimit - The deleted usage limit -- object. -- -- $sel:httpStatus:DeleteUsageLimitResponse', -- deleteUsageLimitResponse_httpStatus - The response's http -- status code. newDeleteUsageLimitResponse :: Int -> DeleteUsageLimitResponse -- | The deleted usage limit object. deleteUsageLimitResponse_usageLimit :: Lens' DeleteUsageLimitResponse (Maybe UsageLimit) -- | The response's http status code. deleteUsageLimitResponse_httpStatus :: Lens' DeleteUsageLimitResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimitResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimitResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimitResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimitResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimitResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.DeleteUsageLimit.DeleteUsageLimit -- | Deletes a snapshot from Amazon Redshift Serverless. module Amazonka.RedshiftServerLess.DeleteSnapshot -- | See: newDeleteSnapshot smart constructor. data DeleteSnapshot DeleteSnapshot' :: Text -> DeleteSnapshot -- | The name of the snapshot to be deleted. [$sel:snapshotName:DeleteSnapshot'] :: DeleteSnapshot -> Text -- | Create a value of DeleteSnapshot with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteSnapshot, deleteSnapshot_snapshotName - The name -- of the snapshot to be deleted. newDeleteSnapshot :: Text -> DeleteSnapshot -- | The name of the snapshot to be deleted. deleteSnapshot_snapshotName :: Lens' DeleteSnapshot Text -- | See: newDeleteSnapshotResponse smart constructor. data DeleteSnapshotResponse DeleteSnapshotResponse' :: Maybe Snapshot -> Int -> DeleteSnapshotResponse -- | The deleted snapshot object. [$sel:snapshot:DeleteSnapshotResponse'] :: DeleteSnapshotResponse -> Maybe Snapshot -- | The response's http status code. [$sel:httpStatus:DeleteSnapshotResponse'] :: DeleteSnapshotResponse -> Int -- | Create a value of DeleteSnapshotResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:snapshot:DeleteSnapshotResponse', -- deleteSnapshotResponse_snapshot - The deleted snapshot object. -- -- $sel:httpStatus:DeleteSnapshotResponse', -- deleteSnapshotResponse_httpStatus - The response's http status -- code. newDeleteSnapshotResponse :: Int -> DeleteSnapshotResponse -- | The deleted snapshot object. deleteSnapshotResponse_snapshot :: Lens' DeleteSnapshotResponse (Maybe Snapshot) -- | The response's http status code. deleteSnapshotResponse_httpStatus :: Lens' DeleteSnapshotResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshotResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshotResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshotResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshotResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshotResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.DeleteSnapshot.DeleteSnapshot -- | Deletes the specified resource policy. module Amazonka.RedshiftServerLess.DeleteResourcePolicy -- | See: newDeleteResourcePolicy smart constructor. data DeleteResourcePolicy DeleteResourcePolicy' :: Text -> DeleteResourcePolicy -- | The Amazon Resource Name (ARN) of the policy to delete. [$sel:resourceArn:DeleteResourcePolicy'] :: DeleteResourcePolicy -> Text -- | Create a value of DeleteResourcePolicy with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteResourcePolicy, deleteResourcePolicy_resourceArn - -- The Amazon Resource Name (ARN) of the policy to delete. newDeleteResourcePolicy :: Text -> DeleteResourcePolicy -- | The Amazon Resource Name (ARN) of the policy to delete. deleteResourcePolicy_resourceArn :: Lens' DeleteResourcePolicy Text -- | See: newDeleteResourcePolicyResponse smart constructor. data DeleteResourcePolicyResponse DeleteResourcePolicyResponse' :: Int -> DeleteResourcePolicyResponse -- | The response's http status code. [$sel:httpStatus:DeleteResourcePolicyResponse'] :: DeleteResourcePolicyResponse -> Int -- | Create a value of DeleteResourcePolicyResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeleteResourcePolicyResponse', -- deleteResourcePolicyResponse_httpStatus - The response's http -- status code. newDeleteResourcePolicyResponse :: Int -> DeleteResourcePolicyResponse -- | The response's http status code. deleteResourcePolicyResponse_httpStatus :: Lens' DeleteResourcePolicyResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicyResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicyResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicyResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicyResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicyResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.DeleteResourcePolicy.DeleteResourcePolicy -- | Deletes a namespace from Amazon Redshift Serverless. Before you delete -- the namespace, you can create a final snapshot that has all of the -- data within the namespace. module Amazonka.RedshiftServerLess.DeleteNamespace -- | See: newDeleteNamespace smart constructor. data DeleteNamespace DeleteNamespace' :: Maybe Text -> Maybe Int -> Text -> DeleteNamespace -- | The name of the snapshot to be created before the namespace is -- deleted. [$sel:finalSnapshotName:DeleteNamespace'] :: DeleteNamespace -> Maybe Text -- | How long to retain the final snapshot. [$sel:finalSnapshotRetentionPeriod:DeleteNamespace'] :: DeleteNamespace -> Maybe Int -- | The name of the namespace to delete. [$sel:namespaceName:DeleteNamespace'] :: DeleteNamespace -> Text -- | Create a value of DeleteNamespace with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:finalSnapshotName:DeleteNamespace', -- deleteNamespace_finalSnapshotName - The name of the snapshot to -- be created before the namespace is deleted. -- -- $sel:finalSnapshotRetentionPeriod:DeleteNamespace', -- deleteNamespace_finalSnapshotRetentionPeriod - How long to -- retain the final snapshot. -- -- DeleteNamespace, deleteNamespace_namespaceName - The -- name of the namespace to delete. newDeleteNamespace :: Text -> DeleteNamespace -- | The name of the snapshot to be created before the namespace is -- deleted. deleteNamespace_finalSnapshotName :: Lens' DeleteNamespace (Maybe Text) -- | How long to retain the final snapshot. deleteNamespace_finalSnapshotRetentionPeriod :: Lens' DeleteNamespace (Maybe Int) -- | The name of the namespace to delete. deleteNamespace_namespaceName :: Lens' DeleteNamespace Text -- | See: newDeleteNamespaceResponse smart constructor. data DeleteNamespaceResponse DeleteNamespaceResponse' :: Int -> Namespace -> DeleteNamespaceResponse -- | The response's http status code. [$sel:httpStatus:DeleteNamespaceResponse'] :: DeleteNamespaceResponse -> Int -- | The deleted namespace object. [$sel:namespace:DeleteNamespaceResponse'] :: DeleteNamespaceResponse -> Namespace -- | Create a value of DeleteNamespaceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeleteNamespaceResponse', -- deleteNamespaceResponse_httpStatus - The response's http status -- code. -- -- $sel:namespace:DeleteNamespaceResponse', -- deleteNamespaceResponse_namespace - The deleted namespace -- object. newDeleteNamespaceResponse :: Int -> Namespace -> DeleteNamespaceResponse -- | The response's http status code. deleteNamespaceResponse_httpStatus :: Lens' DeleteNamespaceResponse Int -- | The deleted namespace object. deleteNamespaceResponse_namespace :: Lens' DeleteNamespaceResponse Namespace instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespaceResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespaceResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespaceResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespaceResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.DeleteNamespace.DeleteNamespace -- | Deletes an Amazon Redshift Serverless managed VPC endpoint. module Amazonka.RedshiftServerLess.DeleteEndpointAccess -- | See: newDeleteEndpointAccess smart constructor. data DeleteEndpointAccess DeleteEndpointAccess' :: Text -> DeleteEndpointAccess -- | The name of the VPC endpoint to delete. [$sel:endpointName:DeleteEndpointAccess'] :: DeleteEndpointAccess -> Text -- | Create a value of DeleteEndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteEndpointAccess, deleteEndpointAccess_endpointName -- - The name of the VPC endpoint to delete. newDeleteEndpointAccess :: Text -> DeleteEndpointAccess -- | The name of the VPC endpoint to delete. deleteEndpointAccess_endpointName :: Lens' DeleteEndpointAccess Text -- | See: newDeleteEndpointAccessResponse smart constructor. data DeleteEndpointAccessResponse DeleteEndpointAccessResponse' :: Maybe EndpointAccess -> Int -> DeleteEndpointAccessResponse -- | The deleted VPC endpoint. [$sel:endpoint:DeleteEndpointAccessResponse'] :: DeleteEndpointAccessResponse -> Maybe EndpointAccess -- | The response's http status code. [$sel:httpStatus:DeleteEndpointAccessResponse'] :: DeleteEndpointAccessResponse -> Int -- | Create a value of DeleteEndpointAccessResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteEndpointAccessResponse, -- deleteEndpointAccessResponse_endpoint - The deleted VPC -- endpoint. -- -- $sel:httpStatus:DeleteEndpointAccessResponse', -- deleteEndpointAccessResponse_httpStatus - The response's http -- status code. newDeleteEndpointAccessResponse :: Int -> DeleteEndpointAccessResponse -- | The deleted VPC endpoint. deleteEndpointAccessResponse_endpoint :: Lens' DeleteEndpointAccessResponse (Maybe EndpointAccess) -- | The response's http status code. deleteEndpointAccessResponse_httpStatus :: Lens' DeleteEndpointAccessResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess instance GHC.Generics.Generic Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccessResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccessResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccessResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccessResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccessResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.DeleteEndpointAccess.DeleteEndpointAccess -- | Creates an workgroup in Amazon Redshift Serverless. module Amazonka.RedshiftServerLess.CreateWorkgroup -- | See: newCreateWorkgroup smart constructor. data CreateWorkgroup CreateWorkgroup' :: Maybe Int -> Maybe [ConfigParameter] -> Maybe Bool -> Maybe Int -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Tag] -> Text -> Text -> CreateWorkgroup -- | The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). [$sel:baseCapacity:CreateWorkgroup'] :: CreateWorkgroup -> Maybe Int -- | An array of parameters to set for more control over a serverless -- database. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. [$sel:configParameters:CreateWorkgroup'] :: CreateWorkgroup -> Maybe [ConfigParameter] -- | The value that specifies whether to turn on enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC instead of over the internet. [$sel:enhancedVpcRouting:CreateWorkgroup'] :: CreateWorkgroup -> Maybe Bool -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. [$sel:port:CreateWorkgroup'] :: CreateWorkgroup -> Maybe Int -- | A value that specifies whether the workgroup can be accessed from a -- public network. [$sel:publiclyAccessible:CreateWorkgroup'] :: CreateWorkgroup -> Maybe Bool -- | An array of security group IDs to associate with the workgroup. [$sel:securityGroupIds:CreateWorkgroup'] :: CreateWorkgroup -> Maybe [Text] -- | An array of VPC subnet IDs to associate with the workgroup. [$sel:subnetIds:CreateWorkgroup'] :: CreateWorkgroup -> Maybe [Text] -- | A array of tag instances. [$sel:tags:CreateWorkgroup'] :: CreateWorkgroup -> Maybe [Tag] -- | The name of the namespace to associate with the workgroup. [$sel:namespaceName:CreateWorkgroup'] :: CreateWorkgroup -> Text -- | The name of the created workgroup. [$sel:workgroupName:CreateWorkgroup'] :: CreateWorkgroup -> Text -- | Create a value of CreateWorkgroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateWorkgroup, createWorkgroup_baseCapacity - The base -- data warehouse capacity of the workgroup in Redshift Processing Units -- (RPUs). -- -- CreateWorkgroup, createWorkgroup_configParameters - An -- array of parameters to set for more control over a serverless -- database. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. -- -- CreateWorkgroup, createWorkgroup_enhancedVpcRouting - -- The value that specifies whether to turn on enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC instead of over the internet. -- -- CreateWorkgroup, createWorkgroup_port - The custom port -- to use when connecting to a workgroup. Valid port ranges are 5431-5455 -- and 8191-8215. The default is 5439. -- -- CreateWorkgroup, createWorkgroup_publiclyAccessible - A -- value that specifies whether the workgroup can be accessed from a -- public network. -- -- CreateWorkgroup, createWorkgroup_securityGroupIds - An -- array of security group IDs to associate with the workgroup. -- -- CreateWorkgroup, createWorkgroup_subnetIds - An array of -- VPC subnet IDs to associate with the workgroup. -- -- $sel:tags:CreateWorkgroup', createWorkgroup_tags - A -- array of tag instances. -- -- CreateWorkgroup, createWorkgroup_namespaceName - The -- name of the namespace to associate with the workgroup. -- -- CreateWorkgroup, createWorkgroup_workgroupName - The -- name of the created workgroup. newCreateWorkgroup :: Text -> Text -> CreateWorkgroup -- | The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). createWorkgroup_baseCapacity :: Lens' CreateWorkgroup (Maybe Int) -- | An array of parameters to set for more control over a serverless -- database. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. createWorkgroup_configParameters :: Lens' CreateWorkgroup (Maybe [ConfigParameter]) -- | The value that specifies whether to turn on enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC instead of over the internet. createWorkgroup_enhancedVpcRouting :: Lens' CreateWorkgroup (Maybe Bool) -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. createWorkgroup_port :: Lens' CreateWorkgroup (Maybe Int) -- | A value that specifies whether the workgroup can be accessed from a -- public network. createWorkgroup_publiclyAccessible :: Lens' CreateWorkgroup (Maybe Bool) -- | An array of security group IDs to associate with the workgroup. createWorkgroup_securityGroupIds :: Lens' CreateWorkgroup (Maybe [Text]) -- | An array of VPC subnet IDs to associate with the workgroup. createWorkgroup_subnetIds :: Lens' CreateWorkgroup (Maybe [Text]) -- | A array of tag instances. createWorkgroup_tags :: Lens' CreateWorkgroup (Maybe [Tag]) -- | The name of the namespace to associate with the workgroup. createWorkgroup_namespaceName :: Lens' CreateWorkgroup Text -- | The name of the created workgroup. createWorkgroup_workgroupName :: Lens' CreateWorkgroup Text -- | See: newCreateWorkgroupResponse smart constructor. data CreateWorkgroupResponse CreateWorkgroupResponse' :: Maybe Workgroup -> Int -> CreateWorkgroupResponse -- | The created workgroup object. [$sel:workgroup:CreateWorkgroupResponse'] :: CreateWorkgroupResponse -> Maybe Workgroup -- | The response's http status code. [$sel:httpStatus:CreateWorkgroupResponse'] :: CreateWorkgroupResponse -> Int -- | Create a value of CreateWorkgroupResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:workgroup:CreateWorkgroupResponse', -- createWorkgroupResponse_workgroup - The created workgroup -- object. -- -- $sel:httpStatus:CreateWorkgroupResponse', -- createWorkgroupResponse_httpStatus - The response's http status -- code. newCreateWorkgroupResponse :: Int -> CreateWorkgroupResponse -- | The created workgroup object. createWorkgroupResponse_workgroup :: Lens' CreateWorkgroupResponse (Maybe Workgroup) -- | The response's http status code. createWorkgroupResponse_httpStatus :: Lens' CreateWorkgroupResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup instance GHC.Show.Show Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup instance GHC.Read.Read Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup instance GHC.Classes.Eq Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup instance GHC.Generics.Generic Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroupResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroupResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroupResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroupResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroupResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.CreateWorkgroup.CreateWorkgroup -- | Creates a usage limit for a specified Amazon Redshift Serverless usage -- type. The usage limit is identified by the returned usage limit -- identifier. module Amazonka.RedshiftServerLess.CreateUsageLimit -- | See: newCreateUsageLimit smart constructor. data CreateUsageLimit CreateUsageLimit' :: Maybe UsageLimitBreachAction -> Maybe UsageLimitPeriod -> Integer -> Text -> UsageLimitUsageType -> CreateUsageLimit -- | The action that Amazon Redshift Serverless takes when the limit is -- reached. The default is log. [$sel:breachAction:CreateUsageLimit'] :: CreateUsageLimit -> Maybe UsageLimitBreachAction -- | The time period that the amount applies to. A weekly period begins on -- Sunday. The default is monthly. [$sel:period:CreateUsageLimit'] :: CreateUsageLimit -> Maybe UsageLimitPeriod -- | The limit amount. If time-based, this amount is in Redshift Processing -- Units (RPU) consumed per hour. If data-based, this amount is in -- terabytes (TB) of data transferred between Regions in cross-account -- sharing. The value must be a positive number. [$sel:amount:CreateUsageLimit'] :: CreateUsageLimit -> Integer -- | The Amazon Resource Name (ARN) of the Amazon Redshift Serverless -- resource to create the usage limit for. [$sel:resourceArn:CreateUsageLimit'] :: CreateUsageLimit -> Text -- | The type of Amazon Redshift Serverless usage to create a usage limit -- for. [$sel:usageType:CreateUsageLimit'] :: CreateUsageLimit -> UsageLimitUsageType -- | Create a value of CreateUsageLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateUsageLimit, createUsageLimit_breachAction - The -- action that Amazon Redshift Serverless takes when the limit is -- reached. The default is log. -- -- CreateUsageLimit, createUsageLimit_period - The time -- period that the amount applies to. A weekly period begins on Sunday. -- The default is monthly. -- -- CreateUsageLimit, createUsageLimit_amount - The limit -- amount. If time-based, this amount is in Redshift Processing Units -- (RPU) consumed per hour. If data-based, this amount is in terabytes -- (TB) of data transferred between Regions in cross-account sharing. The -- value must be a positive number. -- -- CreateUsageLimit, createUsageLimit_resourceArn - The -- Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource -- to create the usage limit for. -- -- CreateUsageLimit, createUsageLimit_usageType - The type -- of Amazon Redshift Serverless usage to create a usage limit for. newCreateUsageLimit :: Integer -> Text -> UsageLimitUsageType -> CreateUsageLimit -- | The action that Amazon Redshift Serverless takes when the limit is -- reached. The default is log. createUsageLimit_breachAction :: Lens' CreateUsageLimit (Maybe UsageLimitBreachAction) -- | The time period that the amount applies to. A weekly period begins on -- Sunday. The default is monthly. createUsageLimit_period :: Lens' CreateUsageLimit (Maybe UsageLimitPeriod) -- | The limit amount. If time-based, this amount is in Redshift Processing -- Units (RPU) consumed per hour. If data-based, this amount is in -- terabytes (TB) of data transferred between Regions in cross-account -- sharing. The value must be a positive number. createUsageLimit_amount :: Lens' CreateUsageLimit Integer -- | The Amazon Resource Name (ARN) of the Amazon Redshift Serverless -- resource to create the usage limit for. createUsageLimit_resourceArn :: Lens' CreateUsageLimit Text -- | The type of Amazon Redshift Serverless usage to create a usage limit -- for. createUsageLimit_usageType :: Lens' CreateUsageLimit UsageLimitUsageType -- | See: newCreateUsageLimitResponse smart constructor. data CreateUsageLimitResponse CreateUsageLimitResponse' :: Maybe UsageLimit -> Int -> CreateUsageLimitResponse -- | The returned usage limit object. [$sel:usageLimit:CreateUsageLimitResponse'] :: CreateUsageLimitResponse -> Maybe UsageLimit -- | The response's http status code. [$sel:httpStatus:CreateUsageLimitResponse'] :: CreateUsageLimitResponse -> Int -- | Create a value of CreateUsageLimitResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:usageLimit:CreateUsageLimitResponse', -- createUsageLimitResponse_usageLimit - The returned usage limit -- object. -- -- $sel:httpStatus:CreateUsageLimitResponse', -- createUsageLimitResponse_httpStatus - The response's http -- status code. newCreateUsageLimitResponse :: Int -> CreateUsageLimitResponse -- | The returned usage limit object. createUsageLimitResponse_usageLimit :: Lens' CreateUsageLimitResponse (Maybe UsageLimit) -- | The response's http status code. createUsageLimitResponse_httpStatus :: Lens' CreateUsageLimitResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit instance GHC.Show.Show Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit instance GHC.Read.Read Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit instance GHC.Classes.Eq Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit instance GHC.Generics.Generic Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimitResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimitResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimitResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimitResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimitResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.CreateUsageLimit.CreateUsageLimit -- | Creates a snapshot of all databases in a namespace. For more -- information about snapshots, see Working with snapshots and -- recovery points. module Amazonka.RedshiftServerLess.CreateSnapshot -- | See: newCreateSnapshot smart constructor. data CreateSnapshot CreateSnapshot' :: Maybe Int -> Maybe [Tag] -> Text -> Text -> CreateSnapshot -- | How long to retain the created snapshot. [$sel:retentionPeriod:CreateSnapshot'] :: CreateSnapshot -> Maybe Int -- | An array of Tag objects to associate with the snapshot. [$sel:tags:CreateSnapshot'] :: CreateSnapshot -> Maybe [Tag] -- | The namespace to create a snapshot for. [$sel:namespaceName:CreateSnapshot'] :: CreateSnapshot -> Text -- | The name of the snapshot. [$sel:snapshotName:CreateSnapshot'] :: CreateSnapshot -> Text -- | Create a value of CreateSnapshot with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:retentionPeriod:CreateSnapshot', -- createSnapshot_retentionPeriod - How long to retain the created -- snapshot. -- -- $sel:tags:CreateSnapshot', createSnapshot_tags - An -- array of Tag objects to associate with the snapshot. -- -- CreateSnapshot, createSnapshot_namespaceName - The -- namespace to create a snapshot for. -- -- CreateSnapshot, createSnapshot_snapshotName - The name -- of the snapshot. newCreateSnapshot :: Text -> Text -> CreateSnapshot -- | How long to retain the created snapshot. createSnapshot_retentionPeriod :: Lens' CreateSnapshot (Maybe Int) -- | An array of Tag objects to associate with the snapshot. createSnapshot_tags :: Lens' CreateSnapshot (Maybe [Tag]) -- | The namespace to create a snapshot for. createSnapshot_namespaceName :: Lens' CreateSnapshot Text -- | The name of the snapshot. createSnapshot_snapshotName :: Lens' CreateSnapshot Text -- | See: newCreateSnapshotResponse smart constructor. data CreateSnapshotResponse CreateSnapshotResponse' :: Maybe Snapshot -> Int -> CreateSnapshotResponse -- | The created snapshot object. [$sel:snapshot:CreateSnapshotResponse'] :: CreateSnapshotResponse -> Maybe Snapshot -- | The response's http status code. [$sel:httpStatus:CreateSnapshotResponse'] :: CreateSnapshotResponse -> Int -- | Create a value of CreateSnapshotResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:snapshot:CreateSnapshotResponse', -- createSnapshotResponse_snapshot - The created snapshot object. -- -- $sel:httpStatus:CreateSnapshotResponse', -- createSnapshotResponse_httpStatus - The response's http status -- code. newCreateSnapshotResponse :: Int -> CreateSnapshotResponse -- | The created snapshot object. createSnapshotResponse_snapshot :: Lens' CreateSnapshotResponse (Maybe Snapshot) -- | The response's http status code. createSnapshotResponse_httpStatus :: Lens' CreateSnapshotResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot instance GHC.Show.Show Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot instance GHC.Read.Read Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot instance GHC.Classes.Eq Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot instance GHC.Generics.Generic Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshotResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshotResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshotResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshotResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshotResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.CreateSnapshot.CreateSnapshot -- | Creates a namespace in Amazon Redshift Serverless. module Amazonka.RedshiftServerLess.CreateNamespace -- | See: newCreateNamespace smart constructor. data CreateNamespace CreateNamespace' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe [LogExport] -> Maybe [Tag] -> Text -> CreateNamespace -- | The password of the administrator for the first database created in -- the namespace. [$sel:adminUserPassword:CreateNamespace'] :: CreateNamespace -> Maybe (Sensitive Text) -- | The username of the administrator for the first database created in -- the namespace. [$sel:adminUsername:CreateNamespace'] :: CreateNamespace -> Maybe (Sensitive Text) -- | The name of the first database created in the namespace. [$sel:dbName:CreateNamespace'] :: CreateNamespace -> Maybe Text -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. [$sel:defaultIamRoleArn:CreateNamespace'] :: CreateNamespace -> Maybe Text -- | A list of IAM roles to associate with the namespace. [$sel:iamRoles:CreateNamespace'] :: CreateNamespace -> Maybe [Text] -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. [$sel:kmsKeyId:CreateNamespace'] :: CreateNamespace -> Maybe Text -- | The types of logs the namespace can export. Available export types are -- userlog, connectionlog, and -- useractivitylog. [$sel:logExports:CreateNamespace'] :: CreateNamespace -> Maybe [LogExport] -- | A list of tag instances. [$sel:tags:CreateNamespace'] :: CreateNamespace -> Maybe [Tag] -- | The name of the namespace. [$sel:namespaceName:CreateNamespace'] :: CreateNamespace -> Text -- | Create a value of CreateNamespace with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:adminUserPassword:CreateNamespace', -- createNamespace_adminUserPassword - The password of the -- administrator for the first database created in the namespace. -- -- CreateNamespace, createNamespace_adminUsername - The -- username of the administrator for the first database created in the -- namespace. -- -- CreateNamespace, createNamespace_dbName - The name of -- the first database created in the namespace. -- -- CreateNamespace, createNamespace_defaultIamRoleArn - The -- Amazon Resource Name (ARN) of the IAM role to set as a default in the -- namespace. -- -- CreateNamespace, createNamespace_iamRoles - A list of -- IAM roles to associate with the namespace. -- -- CreateNamespace, createNamespace_kmsKeyId - The ID of -- the Amazon Web Services Key Management Service key used to encrypt -- your data. -- -- CreateNamespace, createNamespace_logExports - The types -- of logs the namespace can export. Available export types are -- userlog, connectionlog, and -- useractivitylog. -- -- $sel:tags:CreateNamespace', createNamespace_tags - A -- list of tag instances. -- -- CreateNamespace, createNamespace_namespaceName - The -- name of the namespace. newCreateNamespace :: Text -> CreateNamespace -- | The password of the administrator for the first database created in -- the namespace. createNamespace_adminUserPassword :: Lens' CreateNamespace (Maybe Text) -- | The username of the administrator for the first database created in -- the namespace. createNamespace_adminUsername :: Lens' CreateNamespace (Maybe Text) -- | The name of the first database created in the namespace. createNamespace_dbName :: Lens' CreateNamespace (Maybe Text) -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. createNamespace_defaultIamRoleArn :: Lens' CreateNamespace (Maybe Text) -- | A list of IAM roles to associate with the namespace. createNamespace_iamRoles :: Lens' CreateNamespace (Maybe [Text]) -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. createNamespace_kmsKeyId :: Lens' CreateNamespace (Maybe Text) -- | The types of logs the namespace can export. Available export types are -- userlog, connectionlog, and -- useractivitylog. createNamespace_logExports :: Lens' CreateNamespace (Maybe [LogExport]) -- | A list of tag instances. createNamespace_tags :: Lens' CreateNamespace (Maybe [Tag]) -- | The name of the namespace. createNamespace_namespaceName :: Lens' CreateNamespace Text -- | See: newCreateNamespaceResponse smart constructor. data CreateNamespaceResponse CreateNamespaceResponse' :: Maybe Namespace -> Int -> CreateNamespaceResponse -- | The created namespace object. [$sel:namespace:CreateNamespaceResponse'] :: CreateNamespaceResponse -> Maybe Namespace -- | The response's http status code. [$sel:httpStatus:CreateNamespaceResponse'] :: CreateNamespaceResponse -> Int -- | Create a value of CreateNamespaceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:namespace:CreateNamespaceResponse', -- createNamespaceResponse_namespace - The created namespace -- object. -- -- $sel:httpStatus:CreateNamespaceResponse', -- createNamespaceResponse_httpStatus - The response's http status -- code. newCreateNamespaceResponse :: Int -> CreateNamespaceResponse -- | The created namespace object. createNamespaceResponse_namespace :: Lens' CreateNamespaceResponse (Maybe Namespace) -- | The response's http status code. createNamespaceResponse_httpStatus :: Lens' CreateNamespaceResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespace instance GHC.Show.Show Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespace instance GHC.Classes.Eq Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespace instance GHC.Generics.Generic Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespaceResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespaceResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespaceResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespace instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespaceResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespace instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespace instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespace instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespace instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespace instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.CreateNamespace.CreateNamespace -- | Creates an Amazon Redshift Serverless managed VPC endpoint. module Amazonka.RedshiftServerLess.CreateEndpointAccess -- | See: newCreateEndpointAccess smart constructor. data CreateEndpointAccess CreateEndpointAccess' :: Maybe [Text] -> Text -> [Text] -> Text -> CreateEndpointAccess -- | The unique identifiers of the security group that defines the ports, -- protocols, and sources for inbound traffic that you are authorizing -- into your endpoint. [$sel:vpcSecurityGroupIds:CreateEndpointAccess'] :: CreateEndpointAccess -> Maybe [Text] -- | The name of the VPC endpoint. An endpoint name must contain 1-30 -- characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The -- first character must be a letter. The name can't contain two -- consecutive hyphens or end with a hyphen. [$sel:endpointName:CreateEndpointAccess'] :: CreateEndpointAccess -> Text -- | The unique identifers of subnets from which Amazon Redshift Serverless -- chooses one to deploy a VPC endpoint. [$sel:subnetIds:CreateEndpointAccess'] :: CreateEndpointAccess -> [Text] -- | The name of the workgroup to associate with the VPC endpoint. [$sel:workgroupName:CreateEndpointAccess'] :: CreateEndpointAccess -> Text -- | Create a value of CreateEndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:vpcSecurityGroupIds:CreateEndpointAccess', -- createEndpointAccess_vpcSecurityGroupIds - The unique -- identifiers of the security group that defines the ports, protocols, -- and sources for inbound traffic that you are authorizing into your -- endpoint. -- -- CreateEndpointAccess, createEndpointAccess_endpointName -- - The name of the VPC endpoint. An endpoint name must contain 1-30 -- characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The -- first character must be a letter. The name can't contain two -- consecutive hyphens or end with a hyphen. -- -- CreateEndpointAccess, createEndpointAccess_subnetIds - -- The unique identifers of subnets from which Amazon Redshift Serverless -- chooses one to deploy a VPC endpoint. -- -- CreateEndpointAccess, createEndpointAccess_workgroupName -- - The name of the workgroup to associate with the VPC endpoint. newCreateEndpointAccess :: Text -> Text -> CreateEndpointAccess -- | The unique identifiers of the security group that defines the ports, -- protocols, and sources for inbound traffic that you are authorizing -- into your endpoint. createEndpointAccess_vpcSecurityGroupIds :: Lens' CreateEndpointAccess (Maybe [Text]) -- | The name of the VPC endpoint. An endpoint name must contain 1-30 -- characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The -- first character must be a letter. The name can't contain two -- consecutive hyphens or end with a hyphen. createEndpointAccess_endpointName :: Lens' CreateEndpointAccess Text -- | The unique identifers of subnets from which Amazon Redshift Serverless -- chooses one to deploy a VPC endpoint. createEndpointAccess_subnetIds :: Lens' CreateEndpointAccess [Text] -- | The name of the workgroup to associate with the VPC endpoint. createEndpointAccess_workgroupName :: Lens' CreateEndpointAccess Text -- | See: newCreateEndpointAccessResponse smart constructor. data CreateEndpointAccessResponse CreateEndpointAccessResponse' :: Maybe EndpointAccess -> Int -> CreateEndpointAccessResponse -- | The created VPC endpoint. [$sel:endpoint:CreateEndpointAccessResponse'] :: CreateEndpointAccessResponse -> Maybe EndpointAccess -- | The response's http status code. [$sel:httpStatus:CreateEndpointAccessResponse'] :: CreateEndpointAccessResponse -> Int -- | Create a value of CreateEndpointAccessResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateEndpointAccessResponse, -- createEndpointAccessResponse_endpoint - The created VPC -- endpoint. -- -- $sel:httpStatus:CreateEndpointAccessResponse', -- createEndpointAccessResponse_httpStatus - The response's http -- status code. newCreateEndpointAccessResponse :: Int -> CreateEndpointAccessResponse -- | The created VPC endpoint. createEndpointAccessResponse_endpoint :: Lens' CreateEndpointAccessResponse (Maybe EndpointAccess) -- | The response's http status code. createEndpointAccessResponse_httpStatus :: Lens' CreateEndpointAccessResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess instance GHC.Show.Show Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess instance GHC.Read.Read Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess instance GHC.Classes.Eq Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess instance GHC.Generics.Generic Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccessResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccessResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccessResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccessResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccessResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.CreateEndpointAccess.CreateEndpointAccess -- | Converts a recovery point to a snapshot. For more information about -- recovery points and snapshots, see Working with snapshots and -- recovery points. module Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot -- | See: newConvertRecoveryPointToSnapshot smart -- constructor. data ConvertRecoveryPointToSnapshot ConvertRecoveryPointToSnapshot' :: Maybe Int -> Maybe [Tag] -> Text -> Text -> ConvertRecoveryPointToSnapshot -- | How long to retain the snapshot. [$sel:retentionPeriod:ConvertRecoveryPointToSnapshot'] :: ConvertRecoveryPointToSnapshot -> Maybe Int -- | An array of Tag objects to associate with the created snapshot. [$sel:tags:ConvertRecoveryPointToSnapshot'] :: ConvertRecoveryPointToSnapshot -> Maybe [Tag] -- | The unique identifier of the recovery point. [$sel:recoveryPointId:ConvertRecoveryPointToSnapshot'] :: ConvertRecoveryPointToSnapshot -> Text -- | The name of the snapshot. [$sel:snapshotName:ConvertRecoveryPointToSnapshot'] :: ConvertRecoveryPointToSnapshot -> Text -- | Create a value of ConvertRecoveryPointToSnapshot with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:retentionPeriod:ConvertRecoveryPointToSnapshot', -- convertRecoveryPointToSnapshot_retentionPeriod - How long to -- retain the snapshot. -- -- $sel:tags:ConvertRecoveryPointToSnapshot', -- convertRecoveryPointToSnapshot_tags - An array of Tag -- objects to associate with the created snapshot. -- -- ConvertRecoveryPointToSnapshot, -- convertRecoveryPointToSnapshot_recoveryPointId - The unique -- identifier of the recovery point. -- -- ConvertRecoveryPointToSnapshot, -- convertRecoveryPointToSnapshot_snapshotName - The name of the -- snapshot. newConvertRecoveryPointToSnapshot :: Text -> Text -> ConvertRecoveryPointToSnapshot -- | How long to retain the snapshot. convertRecoveryPointToSnapshot_retentionPeriod :: Lens' ConvertRecoveryPointToSnapshot (Maybe Int) -- | An array of Tag objects to associate with the created snapshot. convertRecoveryPointToSnapshot_tags :: Lens' ConvertRecoveryPointToSnapshot (Maybe [Tag]) -- | The unique identifier of the recovery point. convertRecoveryPointToSnapshot_recoveryPointId :: Lens' ConvertRecoveryPointToSnapshot Text -- | The name of the snapshot. convertRecoveryPointToSnapshot_snapshotName :: Lens' ConvertRecoveryPointToSnapshot Text -- | See: newConvertRecoveryPointToSnapshotResponse smart -- constructor. data ConvertRecoveryPointToSnapshotResponse ConvertRecoveryPointToSnapshotResponse' :: Maybe Snapshot -> Int -> ConvertRecoveryPointToSnapshotResponse -- | The snapshot converted from the recovery point. [$sel:snapshot:ConvertRecoveryPointToSnapshotResponse'] :: ConvertRecoveryPointToSnapshotResponse -> Maybe Snapshot -- | The response's http status code. [$sel:httpStatus:ConvertRecoveryPointToSnapshotResponse'] :: ConvertRecoveryPointToSnapshotResponse -> Int -- | Create a value of ConvertRecoveryPointToSnapshotResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:snapshot:ConvertRecoveryPointToSnapshotResponse', -- convertRecoveryPointToSnapshotResponse_snapshot - The snapshot -- converted from the recovery point. -- -- $sel:httpStatus:ConvertRecoveryPointToSnapshotResponse', -- convertRecoveryPointToSnapshotResponse_httpStatus - The -- response's http status code. newConvertRecoveryPointToSnapshotResponse :: Int -> ConvertRecoveryPointToSnapshotResponse -- | The snapshot converted from the recovery point. convertRecoveryPointToSnapshotResponse_snapshot :: Lens' ConvertRecoveryPointToSnapshotResponse (Maybe Snapshot) -- | The response's http status code. convertRecoveryPointToSnapshotResponse_httpStatus :: Lens' ConvertRecoveryPointToSnapshotResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot instance GHC.Show.Show Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot instance GHC.Read.Read Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot instance GHC.Generics.Generic Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshotResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshotResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshotResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshotResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshotResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot.ConvertRecoveryPointToSnapshot -- | Removes a tag or set of tags from a resource. module Amazonka.RedshiftServerLess.UntagResource -- | See: newUntagResource smart constructor. data UntagResource UntagResource' :: Text -> [Text] -> UntagResource -- | The Amazon Resource Name (ARN) of the resource to remove tags from. [$sel:resourceArn:UntagResource'] :: UntagResource -> Text -- | The tag or set of tags to remove from the resource. [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text] -- | Create a value of UntagResource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UntagResource, untagResource_resourceArn - The Amazon -- Resource Name (ARN) of the resource to remove tags from. -- -- $sel:tagKeys:UntagResource', untagResource_tagKeys - The -- tag or set of tags to remove from the resource. newUntagResource :: Text -> UntagResource -- | The Amazon Resource Name (ARN) of the resource to remove tags from. untagResource_resourceArn :: Lens' UntagResource Text -- | The tag or set of tags to remove from the resource. untagResource_tagKeys :: Lens' UntagResource [Text] -- | See: newUntagResourceResponse smart constructor. data UntagResourceResponse UntagResourceResponse' :: Int -> UntagResourceResponse -- | The response's http status code. [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int -- | Create a value of UntagResourceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:UntagResourceResponse', -- untagResourceResponse_httpStatus - The response's http status -- code. newUntagResourceResponse :: Int -> UntagResourceResponse -- | The response's http status code. untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UntagResource.UntagResource instance GHC.Show.Show Amazonka.RedshiftServerLess.UntagResource.UntagResource instance GHC.Read.Read Amazonka.RedshiftServerLess.UntagResource.UntagResource instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UntagResource.UntagResource instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UntagResource.UntagResourceResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.UntagResource.UntagResourceResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.UntagResource.UntagResourceResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UntagResource.UntagResourceResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.UntagResource.UntagResource instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UntagResource.UntagResourceResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.UntagResource.UntagResource instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UntagResource.UntagResource instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.UntagResource.UntagResource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.UntagResource.UntagResource instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.UntagResource.UntagResource instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.UntagResource.UntagResource -- | Updates an Amazon Redshift Serverless managed endpoint. module Amazonka.RedshiftServerLess.UpdateEndpointAccess -- | See: newUpdateEndpointAccess smart constructor. data UpdateEndpointAccess UpdateEndpointAccess' :: Maybe [Text] -> Text -> UpdateEndpointAccess -- | The list of VPC security groups associated with the endpoint after the -- endpoint is modified. [$sel:vpcSecurityGroupIds:UpdateEndpointAccess'] :: UpdateEndpointAccess -> Maybe [Text] -- | The name of the VPC endpoint to update. [$sel:endpointName:UpdateEndpointAccess'] :: UpdateEndpointAccess -> Text -- | Create a value of UpdateEndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:vpcSecurityGroupIds:UpdateEndpointAccess', -- updateEndpointAccess_vpcSecurityGroupIds - The list of VPC -- security groups associated with the endpoint after the endpoint is -- modified. -- -- UpdateEndpointAccess, updateEndpointAccess_endpointName -- - The name of the VPC endpoint to update. newUpdateEndpointAccess :: Text -> UpdateEndpointAccess -- | The list of VPC security groups associated with the endpoint after the -- endpoint is modified. updateEndpointAccess_vpcSecurityGroupIds :: Lens' UpdateEndpointAccess (Maybe [Text]) -- | The name of the VPC endpoint to update. updateEndpointAccess_endpointName :: Lens' UpdateEndpointAccess Text -- | See: newUpdateEndpointAccessResponse smart constructor. data UpdateEndpointAccessResponse UpdateEndpointAccessResponse' :: Maybe EndpointAccess -> Int -> UpdateEndpointAccessResponse -- | The updated VPC endpoint. [$sel:endpoint:UpdateEndpointAccessResponse'] :: UpdateEndpointAccessResponse -> Maybe EndpointAccess -- | The response's http status code. [$sel:httpStatus:UpdateEndpointAccessResponse'] :: UpdateEndpointAccessResponse -> Int -- | Create a value of UpdateEndpointAccessResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateEndpointAccessResponse, -- updateEndpointAccessResponse_endpoint - The updated VPC -- endpoint. -- -- $sel:httpStatus:UpdateEndpointAccessResponse', -- updateEndpointAccessResponse_httpStatus - The response's http -- status code. newUpdateEndpointAccessResponse :: Int -> UpdateEndpointAccessResponse -- | The updated VPC endpoint. updateEndpointAccessResponse_endpoint :: Lens' UpdateEndpointAccessResponse (Maybe EndpointAccess) -- | The response's http status code. updateEndpointAccessResponse_httpStatus :: Lens' UpdateEndpointAccessResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess instance GHC.Show.Show Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess instance GHC.Read.Read Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccessResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccessResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccessResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccessResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccessResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.UpdateEndpointAccess.UpdateEndpointAccess -- | Updates a namespace with the specified settings. module Amazonka.RedshiftServerLess.UpdateNamespace -- | See: newUpdateNamespace smart constructor. data UpdateNamespace UpdateNamespace' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe [LogExport] -> Text -> UpdateNamespace -- | The password of the administrator for the first database created in -- the namespace. [$sel:adminUserPassword:UpdateNamespace'] :: UpdateNamespace -> Maybe (Sensitive Text) -- | The username of the administrator for the first database created in -- the namespace. [$sel:adminUsername:UpdateNamespace'] :: UpdateNamespace -> Maybe (Sensitive Text) -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. [$sel:defaultIamRoleArn:UpdateNamespace'] :: UpdateNamespace -> Maybe Text -- | A list of IAM roles to associate with the namespace. [$sel:iamRoles:UpdateNamespace'] :: UpdateNamespace -> Maybe [Text] -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. [$sel:kmsKeyId:UpdateNamespace'] :: UpdateNamespace -> Maybe Text -- | The types of logs the namespace can export. The export types are -- userlog, connectionlog, and -- useractivitylog. [$sel:logExports:UpdateNamespace'] :: UpdateNamespace -> Maybe [LogExport] -- | The name of the namespace. [$sel:namespaceName:UpdateNamespace'] :: UpdateNamespace -> Text -- | Create a value of UpdateNamespace with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:adminUserPassword:UpdateNamespace', -- updateNamespace_adminUserPassword - The password of the -- administrator for the first database created in the namespace. -- -- UpdateNamespace, updateNamespace_adminUsername - The -- username of the administrator for the first database created in the -- namespace. -- -- UpdateNamespace, updateNamespace_defaultIamRoleArn - The -- Amazon Resource Name (ARN) of the IAM role to set as a default in the -- namespace. -- -- UpdateNamespace, updateNamespace_iamRoles - A list of -- IAM roles to associate with the namespace. -- -- UpdateNamespace, updateNamespace_kmsKeyId - The ID of -- the Amazon Web Services Key Management Service key used to encrypt -- your data. -- -- UpdateNamespace, updateNamespace_logExports - The types -- of logs the namespace can export. The export types are -- userlog, connectionlog, and -- useractivitylog. -- -- UpdateNamespace, updateNamespace_namespaceName - The -- name of the namespace. newUpdateNamespace :: Text -> UpdateNamespace -- | The password of the administrator for the first database created in -- the namespace. updateNamespace_adminUserPassword :: Lens' UpdateNamespace (Maybe Text) -- | The username of the administrator for the first database created in -- the namespace. updateNamespace_adminUsername :: Lens' UpdateNamespace (Maybe Text) -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. updateNamespace_defaultIamRoleArn :: Lens' UpdateNamespace (Maybe Text) -- | A list of IAM roles to associate with the namespace. updateNamespace_iamRoles :: Lens' UpdateNamespace (Maybe [Text]) -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. updateNamespace_kmsKeyId :: Lens' UpdateNamespace (Maybe Text) -- | The types of logs the namespace can export. The export types are -- userlog, connectionlog, and -- useractivitylog. updateNamespace_logExports :: Lens' UpdateNamespace (Maybe [LogExport]) -- | The name of the namespace. updateNamespace_namespaceName :: Lens' UpdateNamespace Text -- | See: newUpdateNamespaceResponse smart constructor. data UpdateNamespaceResponse UpdateNamespaceResponse' :: Int -> Namespace -> UpdateNamespaceResponse -- | The response's http status code. [$sel:httpStatus:UpdateNamespaceResponse'] :: UpdateNamespaceResponse -> Int -- | A list of tag instances. [$sel:namespace:UpdateNamespaceResponse'] :: UpdateNamespaceResponse -> Namespace -- | Create a value of UpdateNamespaceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:UpdateNamespaceResponse', -- updateNamespaceResponse_httpStatus - The response's http status -- code. -- -- $sel:namespace:UpdateNamespaceResponse', -- updateNamespaceResponse_namespace - A list of tag instances. newUpdateNamespaceResponse :: Int -> Namespace -> UpdateNamespaceResponse -- | The response's http status code. updateNamespaceResponse_httpStatus :: Lens' UpdateNamespaceResponse Int -- | A list of tag instances. updateNamespaceResponse_namespace :: Lens' UpdateNamespaceResponse Namespace instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespace instance GHC.Show.Show Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespace instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespace instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespaceResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespaceResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespaceResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespace instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespaceResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespace instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespace instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespace instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespace instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespace instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.UpdateNamespace.UpdateNamespace -- | Updates a snapshot. module Amazonka.RedshiftServerLess.UpdateSnapshot -- | See: newUpdateSnapshot smart constructor. data UpdateSnapshot UpdateSnapshot' :: Maybe Int -> Text -> UpdateSnapshot -- | The new retention period of the snapshot. [$sel:retentionPeriod:UpdateSnapshot'] :: UpdateSnapshot -> Maybe Int -- | The name of the snapshot. [$sel:snapshotName:UpdateSnapshot'] :: UpdateSnapshot -> Text -- | Create a value of UpdateSnapshot with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:retentionPeriod:UpdateSnapshot', -- updateSnapshot_retentionPeriod - The new retention period of -- the snapshot. -- -- UpdateSnapshot, updateSnapshot_snapshotName - The name -- of the snapshot. newUpdateSnapshot :: Text -> UpdateSnapshot -- | The new retention period of the snapshot. updateSnapshot_retentionPeriod :: Lens' UpdateSnapshot (Maybe Int) -- | The name of the snapshot. updateSnapshot_snapshotName :: Lens' UpdateSnapshot Text -- | See: newUpdateSnapshotResponse smart constructor. data UpdateSnapshotResponse UpdateSnapshotResponse' :: Maybe Snapshot -> Int -> UpdateSnapshotResponse -- | The updated snapshot object. [$sel:snapshot:UpdateSnapshotResponse'] :: UpdateSnapshotResponse -> Maybe Snapshot -- | The response's http status code. [$sel:httpStatus:UpdateSnapshotResponse'] :: UpdateSnapshotResponse -> Int -- | Create a value of UpdateSnapshotResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:snapshot:UpdateSnapshotResponse', -- updateSnapshotResponse_snapshot - The updated snapshot object. -- -- $sel:httpStatus:UpdateSnapshotResponse', -- updateSnapshotResponse_httpStatus - The response's http status -- code. newUpdateSnapshotResponse :: Int -> UpdateSnapshotResponse -- | The updated snapshot object. updateSnapshotResponse_snapshot :: Lens' UpdateSnapshotResponse (Maybe Snapshot) -- | The response's http status code. updateSnapshotResponse_httpStatus :: Lens' UpdateSnapshotResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot instance GHC.Show.Show Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot instance GHC.Read.Read Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshotResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshotResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshotResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshotResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshotResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.UpdateSnapshot.UpdateSnapshot -- | Update a usage limit in Amazon Redshift Serverless. You can't update -- the usage type or period of a usage limit. module Amazonka.RedshiftServerLess.UpdateUsageLimit -- | See: newUpdateUsageLimit smart constructor. data UpdateUsageLimit UpdateUsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Text -> UpdateUsageLimit -- | The new limit amount. If time-based, this amount is in Redshift -- Processing Units (RPU) consumed per hour. If data-based, this amount -- is in terabytes (TB) of data transferred between Regions in -- cross-account sharing. The value must be a positive number. [$sel:amount:UpdateUsageLimit'] :: UpdateUsageLimit -> Maybe Integer -- | The new action that Amazon Redshift Serverless takes when the limit is -- reached. [$sel:breachAction:UpdateUsageLimit'] :: UpdateUsageLimit -> Maybe UsageLimitBreachAction -- | The identifier of the usage limit to update. [$sel:usageLimitId:UpdateUsageLimit'] :: UpdateUsageLimit -> Text -- | Create a value of UpdateUsageLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateUsageLimit, updateUsageLimit_amount - The new -- limit amount. If time-based, this amount is in Redshift Processing -- Units (RPU) consumed per hour. If data-based, this amount is in -- terabytes (TB) of data transferred between Regions in cross-account -- sharing. The value must be a positive number. -- -- UpdateUsageLimit, updateUsageLimit_breachAction - The -- new action that Amazon Redshift Serverless takes when the limit is -- reached. -- -- UpdateUsageLimit, updateUsageLimit_usageLimitId - The -- identifier of the usage limit to update. newUpdateUsageLimit :: Text -> UpdateUsageLimit -- | The new limit amount. If time-based, this amount is in Redshift -- Processing Units (RPU) consumed per hour. If data-based, this amount -- is in terabytes (TB) of data transferred between Regions in -- cross-account sharing. The value must be a positive number. updateUsageLimit_amount :: Lens' UpdateUsageLimit (Maybe Integer) -- | The new action that Amazon Redshift Serverless takes when the limit is -- reached. updateUsageLimit_breachAction :: Lens' UpdateUsageLimit (Maybe UsageLimitBreachAction) -- | The identifier of the usage limit to update. updateUsageLimit_usageLimitId :: Lens' UpdateUsageLimit Text -- | See: newUpdateUsageLimitResponse smart constructor. data UpdateUsageLimitResponse UpdateUsageLimitResponse' :: Maybe UsageLimit -> Int -> UpdateUsageLimitResponse -- | The updated usage limit object. [$sel:usageLimit:UpdateUsageLimitResponse'] :: UpdateUsageLimitResponse -> Maybe UsageLimit -- | The response's http status code. [$sel:httpStatus:UpdateUsageLimitResponse'] :: UpdateUsageLimitResponse -> Int -- | Create a value of UpdateUsageLimitResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:usageLimit:UpdateUsageLimitResponse', -- updateUsageLimitResponse_usageLimit - The updated usage limit -- object. -- -- $sel:httpStatus:UpdateUsageLimitResponse', -- updateUsageLimitResponse_httpStatus - The response's http -- status code. newUpdateUsageLimitResponse :: Int -> UpdateUsageLimitResponse -- | The updated usage limit object. updateUsageLimitResponse_usageLimit :: Lens' UpdateUsageLimitResponse (Maybe UsageLimit) -- | The response's http status code. updateUsageLimitResponse_httpStatus :: Lens' UpdateUsageLimitResponse Int instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit instance GHC.Show.Show Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit instance GHC.Read.Read Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimitResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimitResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimitResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimitResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimitResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.UpdateUsageLimit.UpdateUsageLimit -- | Updates a workgroup with the specified configuration settings. module Amazonka.RedshiftServerLess.UpdateWorkgroup -- | See: newUpdateWorkgroup smart constructor. data UpdateWorkgroup UpdateWorkgroup' :: Maybe Int -> Maybe [ConfigParameter] -> Maybe Bool -> Maybe Int -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Text -> UpdateWorkgroup -- | The new base data warehouse capacity in Redshift Processing Units -- (RPUs). [$sel:baseCapacity:UpdateWorkgroup'] :: UpdateWorkgroup -> Maybe Int -- | An array of parameters to set for advanced control over a database. -- The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. [$sel:configParameters:UpdateWorkgroup'] :: UpdateWorkgroup -> Maybe [ConfigParameter] -- | The value that specifies whether to turn on enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC. [$sel:enhancedVpcRouting:UpdateWorkgroup'] :: UpdateWorkgroup -> Maybe Bool -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. [$sel:port:UpdateWorkgroup'] :: UpdateWorkgroup -> Maybe Int -- | A value that specifies whether the workgroup can be accessible from a -- public network. [$sel:publiclyAccessible:UpdateWorkgroup'] :: UpdateWorkgroup -> Maybe Bool -- | An array of security group IDs to associate with the workgroup. [$sel:securityGroupIds:UpdateWorkgroup'] :: UpdateWorkgroup -> Maybe [Text] -- | An array of VPC subnet IDs to associate with the workgroup. [$sel:subnetIds:UpdateWorkgroup'] :: UpdateWorkgroup -> Maybe [Text] -- | The name of the workgroup to update. [$sel:workgroupName:UpdateWorkgroup'] :: UpdateWorkgroup -> Text -- | Create a value of UpdateWorkgroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateWorkgroup, updateWorkgroup_baseCapacity - The new -- base data warehouse capacity in Redshift Processing Units (RPUs). -- -- UpdateWorkgroup, updateWorkgroup_configParameters - An -- array of parameters to set for advanced control over a database. The -- options are datestyle, enable_user_activity_logging, -- query_group, search_path, and -- max_query_execution_time. -- -- UpdateWorkgroup, updateWorkgroup_enhancedVpcRouting - -- The value that specifies whether to turn on enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC. -- -- UpdateWorkgroup, updateWorkgroup_port - The custom port -- to use when connecting to a workgroup. Valid port ranges are 5431-5455 -- and 8191-8215. The default is 5439. -- -- UpdateWorkgroup, updateWorkgroup_publiclyAccessible - A -- value that specifies whether the workgroup can be accessible from a -- public network. -- -- UpdateWorkgroup, updateWorkgroup_securityGroupIds - An -- array of security group IDs to associate with the workgroup. -- -- UpdateWorkgroup, updateWorkgroup_subnetIds - An array of -- VPC subnet IDs to associate with the workgroup. -- -- UpdateWorkgroup, updateWorkgroup_workgroupName - The -- name of the workgroup to update. newUpdateWorkgroup :: Text -> UpdateWorkgroup -- | The new base data warehouse capacity in Redshift Processing Units -- (RPUs). updateWorkgroup_baseCapacity :: Lens' UpdateWorkgroup (Maybe Int) -- | An array of parameters to set for advanced control over a database. -- The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. updateWorkgroup_configParameters :: Lens' UpdateWorkgroup (Maybe [ConfigParameter]) -- | The value that specifies whether to turn on enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC. updateWorkgroup_enhancedVpcRouting :: Lens' UpdateWorkgroup (Maybe Bool) -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. updateWorkgroup_port :: Lens' UpdateWorkgroup (Maybe Int) -- | A value that specifies whether the workgroup can be accessible from a -- public network. updateWorkgroup_publiclyAccessible :: Lens' UpdateWorkgroup (Maybe Bool) -- | An array of security group IDs to associate with the workgroup. updateWorkgroup_securityGroupIds :: Lens' UpdateWorkgroup (Maybe [Text]) -- | An array of VPC subnet IDs to associate with the workgroup. updateWorkgroup_subnetIds :: Lens' UpdateWorkgroup (Maybe [Text]) -- | The name of the workgroup to update. updateWorkgroup_workgroupName :: Lens' UpdateWorkgroup Text -- | See: newUpdateWorkgroupResponse smart constructor. data UpdateWorkgroupResponse UpdateWorkgroupResponse' :: Int -> Workgroup -> UpdateWorkgroupResponse -- | The response's http status code. [$sel:httpStatus:UpdateWorkgroupResponse'] :: UpdateWorkgroupResponse -> Int -- | The updated workgroup object. [$sel:workgroup:UpdateWorkgroupResponse'] :: UpdateWorkgroupResponse -> Workgroup -- | Create a value of UpdateWorkgroupResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:UpdateWorkgroupResponse', -- updateWorkgroupResponse_httpStatus - The response's http status -- code. -- -- $sel:workgroup:UpdateWorkgroupResponse', -- updateWorkgroupResponse_workgroup - The updated workgroup -- object. newUpdateWorkgroupResponse :: Int -> Workgroup -> UpdateWorkgroupResponse -- | The response's http status code. updateWorkgroupResponse_httpStatus :: Lens' UpdateWorkgroupResponse Int -- | The updated workgroup object. updateWorkgroupResponse_workgroup :: Lens' UpdateWorkgroupResponse Workgroup instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup instance GHC.Show.Show Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup instance GHC.Read.Read Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup instance GHC.Generics.Generic Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroupResponse instance GHC.Show.Show Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroupResponse instance GHC.Read.Read Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroupResponse instance GHC.Classes.Eq Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroupResponse instance Amazonka.Types.AWSRequest Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroupResponse instance Data.Hashable.Class.Hashable Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup instance Control.DeepSeq.NFData Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup instance Amazonka.Data.Headers.ToHeaders Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup instance Amazonka.Data.Path.ToPath Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup instance Amazonka.Data.Query.ToQuery Amazonka.RedshiftServerLess.UpdateWorkgroup.UpdateWorkgroup module Amazonka.RedshiftServerLess.Lens -- | How long to retain the snapshot. convertRecoveryPointToSnapshot_retentionPeriod :: Lens' ConvertRecoveryPointToSnapshot (Maybe Int) -- | An array of Tag objects to associate with the created snapshot. convertRecoveryPointToSnapshot_tags :: Lens' ConvertRecoveryPointToSnapshot (Maybe [Tag]) -- | The unique identifier of the recovery point. convertRecoveryPointToSnapshot_recoveryPointId :: Lens' ConvertRecoveryPointToSnapshot Text -- | The name of the snapshot. convertRecoveryPointToSnapshot_snapshotName :: Lens' ConvertRecoveryPointToSnapshot Text -- | The snapshot converted from the recovery point. convertRecoveryPointToSnapshotResponse_snapshot :: Lens' ConvertRecoveryPointToSnapshotResponse (Maybe Snapshot) -- | The response's http status code. convertRecoveryPointToSnapshotResponse_httpStatus :: Lens' ConvertRecoveryPointToSnapshotResponse Int -- | The unique identifiers of the security group that defines the ports, -- protocols, and sources for inbound traffic that you are authorizing -- into your endpoint. createEndpointAccess_vpcSecurityGroupIds :: Lens' CreateEndpointAccess (Maybe [Text]) -- | The name of the VPC endpoint. An endpoint name must contain 1-30 -- characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The -- first character must be a letter. The name can't contain two -- consecutive hyphens or end with a hyphen. createEndpointAccess_endpointName :: Lens' CreateEndpointAccess Text -- | The unique identifers of subnets from which Amazon Redshift Serverless -- chooses one to deploy a VPC endpoint. createEndpointAccess_subnetIds :: Lens' CreateEndpointAccess [Text] -- | The name of the workgroup to associate with the VPC endpoint. createEndpointAccess_workgroupName :: Lens' CreateEndpointAccess Text -- | The created VPC endpoint. createEndpointAccessResponse_endpoint :: Lens' CreateEndpointAccessResponse (Maybe EndpointAccess) -- | The response's http status code. createEndpointAccessResponse_httpStatus :: Lens' CreateEndpointAccessResponse Int -- | The password of the administrator for the first database created in -- the namespace. createNamespace_adminUserPassword :: Lens' CreateNamespace (Maybe Text) -- | The username of the administrator for the first database created in -- the namespace. createNamespace_adminUsername :: Lens' CreateNamespace (Maybe Text) -- | The name of the first database created in the namespace. createNamespace_dbName :: Lens' CreateNamespace (Maybe Text) -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. createNamespace_defaultIamRoleArn :: Lens' CreateNamespace (Maybe Text) -- | A list of IAM roles to associate with the namespace. createNamespace_iamRoles :: Lens' CreateNamespace (Maybe [Text]) -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. createNamespace_kmsKeyId :: Lens' CreateNamespace (Maybe Text) -- | The types of logs the namespace can export. Available export types are -- userlog, connectionlog, and -- useractivitylog. createNamespace_logExports :: Lens' CreateNamespace (Maybe [LogExport]) -- | A list of tag instances. createNamespace_tags :: Lens' CreateNamespace (Maybe [Tag]) -- | The name of the namespace. createNamespace_namespaceName :: Lens' CreateNamespace Text -- | The created namespace object. createNamespaceResponse_namespace :: Lens' CreateNamespaceResponse (Maybe Namespace) -- | The response's http status code. createNamespaceResponse_httpStatus :: Lens' CreateNamespaceResponse Int -- | How long to retain the created snapshot. createSnapshot_retentionPeriod :: Lens' CreateSnapshot (Maybe Int) -- | An array of Tag objects to associate with the snapshot. createSnapshot_tags :: Lens' CreateSnapshot (Maybe [Tag]) -- | The namespace to create a snapshot for. createSnapshot_namespaceName :: Lens' CreateSnapshot Text -- | The name of the snapshot. createSnapshot_snapshotName :: Lens' CreateSnapshot Text -- | The created snapshot object. createSnapshotResponse_snapshot :: Lens' CreateSnapshotResponse (Maybe Snapshot) -- | The response's http status code. createSnapshotResponse_httpStatus :: Lens' CreateSnapshotResponse Int -- | The action that Amazon Redshift Serverless takes when the limit is -- reached. The default is log. createUsageLimit_breachAction :: Lens' CreateUsageLimit (Maybe UsageLimitBreachAction) -- | The time period that the amount applies to. A weekly period begins on -- Sunday. The default is monthly. createUsageLimit_period :: Lens' CreateUsageLimit (Maybe UsageLimitPeriod) -- | The limit amount. If time-based, this amount is in Redshift Processing -- Units (RPU) consumed per hour. If data-based, this amount is in -- terabytes (TB) of data transferred between Regions in cross-account -- sharing. The value must be a positive number. createUsageLimit_amount :: Lens' CreateUsageLimit Integer -- | The Amazon Resource Name (ARN) of the Amazon Redshift Serverless -- resource to create the usage limit for. createUsageLimit_resourceArn :: Lens' CreateUsageLimit Text -- | The type of Amazon Redshift Serverless usage to create a usage limit -- for. createUsageLimit_usageType :: Lens' CreateUsageLimit UsageLimitUsageType -- | The returned usage limit object. createUsageLimitResponse_usageLimit :: Lens' CreateUsageLimitResponse (Maybe UsageLimit) -- | The response's http status code. createUsageLimitResponse_httpStatus :: Lens' CreateUsageLimitResponse Int -- | The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). createWorkgroup_baseCapacity :: Lens' CreateWorkgroup (Maybe Int) -- | An array of parameters to set for more control over a serverless -- database. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. createWorkgroup_configParameters :: Lens' CreateWorkgroup (Maybe [ConfigParameter]) -- | The value that specifies whether to turn on enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC instead of over the internet. createWorkgroup_enhancedVpcRouting :: Lens' CreateWorkgroup (Maybe Bool) -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. createWorkgroup_port :: Lens' CreateWorkgroup (Maybe Int) -- | A value that specifies whether the workgroup can be accessed from a -- public network. createWorkgroup_publiclyAccessible :: Lens' CreateWorkgroup (Maybe Bool) -- | An array of security group IDs to associate with the workgroup. createWorkgroup_securityGroupIds :: Lens' CreateWorkgroup (Maybe [Text]) -- | An array of VPC subnet IDs to associate with the workgroup. createWorkgroup_subnetIds :: Lens' CreateWorkgroup (Maybe [Text]) -- | A array of tag instances. createWorkgroup_tags :: Lens' CreateWorkgroup (Maybe [Tag]) -- | The name of the namespace to associate with the workgroup. createWorkgroup_namespaceName :: Lens' CreateWorkgroup Text -- | The name of the created workgroup. createWorkgroup_workgroupName :: Lens' CreateWorkgroup Text -- | The created workgroup object. createWorkgroupResponse_workgroup :: Lens' CreateWorkgroupResponse (Maybe Workgroup) -- | The response's http status code. createWorkgroupResponse_httpStatus :: Lens' CreateWorkgroupResponse Int -- | The name of the VPC endpoint to delete. deleteEndpointAccess_endpointName :: Lens' DeleteEndpointAccess Text -- | The deleted VPC endpoint. deleteEndpointAccessResponse_endpoint :: Lens' DeleteEndpointAccessResponse (Maybe EndpointAccess) -- | The response's http status code. deleteEndpointAccessResponse_httpStatus :: Lens' DeleteEndpointAccessResponse Int -- | The name of the snapshot to be created before the namespace is -- deleted. deleteNamespace_finalSnapshotName :: Lens' DeleteNamespace (Maybe Text) -- | How long to retain the final snapshot. deleteNamespace_finalSnapshotRetentionPeriod :: Lens' DeleteNamespace (Maybe Int) -- | The name of the namespace to delete. deleteNamespace_namespaceName :: Lens' DeleteNamespace Text -- | The response's http status code. deleteNamespaceResponse_httpStatus :: Lens' DeleteNamespaceResponse Int -- | The deleted namespace object. deleteNamespaceResponse_namespace :: Lens' DeleteNamespaceResponse Namespace -- | The Amazon Resource Name (ARN) of the policy to delete. deleteResourcePolicy_resourceArn :: Lens' DeleteResourcePolicy Text -- | The response's http status code. deleteResourcePolicyResponse_httpStatus :: Lens' DeleteResourcePolicyResponse Int -- | The name of the snapshot to be deleted. deleteSnapshot_snapshotName :: Lens' DeleteSnapshot Text -- | The deleted snapshot object. deleteSnapshotResponse_snapshot :: Lens' DeleteSnapshotResponse (Maybe Snapshot) -- | The response's http status code. deleteSnapshotResponse_httpStatus :: Lens' DeleteSnapshotResponse Int -- | The unique identifier of the usage limit to delete. deleteUsageLimit_usageLimitId :: Lens' DeleteUsageLimit Text -- | The deleted usage limit object. deleteUsageLimitResponse_usageLimit :: Lens' DeleteUsageLimitResponse (Maybe UsageLimit) -- | The response's http status code. deleteUsageLimitResponse_httpStatus :: Lens' DeleteUsageLimitResponse Int -- | The name of the workgroup to be deleted. deleteWorkgroup_workgroupName :: Lens' DeleteWorkgroup Text -- | The response's http status code. deleteWorkgroupResponse_httpStatus :: Lens' DeleteWorkgroupResponse Int -- | The deleted workgroup object. deleteWorkgroupResponse_workgroup :: Lens' DeleteWorkgroupResponse Workgroup -- | The name of the database to get temporary authorization to log on to. -- -- Constraints: -- -- getCredentials_dbName :: Lens' GetCredentials (Maybe Text) -- | The number of seconds until the returned temporary password expires. -- The minimum is 900 seconds, and the maximum is 3600 seconds. getCredentials_durationSeconds :: Lens' GetCredentials (Maybe Int) -- | The name of the workgroup associated with the database. getCredentials_workgroupName :: Lens' GetCredentials Text -- | A temporary password that authorizes the user name returned by -- DbUser to log on to the database DbName. getCredentialsResponse_dbPassword :: Lens' GetCredentialsResponse (Maybe Text) -- | A database user name that is authorized to log on to the database -- DbName using the password DbPassword. If the -- specified DbUser exists in the database, the new user name -- has the same database privileges as the the user named in -- DbUser. By default, the user is added to PUBLIC. getCredentialsResponse_dbUser :: Lens' GetCredentialsResponse (Maybe Text) -- | The date and time the password in DbPassword expires. getCredentialsResponse_expiration :: Lens' GetCredentialsResponse (Maybe UTCTime) -- | The date and time of when the DbUser and DbPassword -- authorization refreshes. getCredentialsResponse_nextRefreshTime :: Lens' GetCredentialsResponse (Maybe UTCTime) -- | The response's http status code. getCredentialsResponse_httpStatus :: Lens' GetCredentialsResponse Int -- | The name of the VPC endpoint to return information for. getEndpointAccess_endpointName :: Lens' GetEndpointAccess Text -- | The returned VPC endpoint. getEndpointAccessResponse_endpoint :: Lens' GetEndpointAccessResponse (Maybe EndpointAccess) -- | The response's http status code. getEndpointAccessResponse_httpStatus :: Lens' GetEndpointAccessResponse Int -- | The name of the namespace to retrieve information for. getNamespace_namespaceName :: Lens' GetNamespace Text -- | The response's http status code. getNamespaceResponse_httpStatus :: Lens' GetNamespaceResponse Int -- | The returned namespace object. getNamespaceResponse_namespace :: Lens' GetNamespaceResponse Namespace -- | The unique identifier of the recovery point to return information for. getRecoveryPoint_recoveryPointId :: Lens' GetRecoveryPoint Text -- | The returned recovery point object. getRecoveryPointResponse_recoveryPoint :: Lens' GetRecoveryPointResponse (Maybe RecoveryPoint) -- | The response's http status code. getRecoveryPointResponse_httpStatus :: Lens' GetRecoveryPointResponse Int -- | The Amazon Resource Name (ARN) of the resource to return. getResourcePolicy_resourceArn :: Lens' GetResourcePolicy Text -- | The returned resource policy. getResourcePolicyResponse_resourcePolicy :: Lens' GetResourcePolicyResponse (Maybe ResourcePolicy) -- | The response's http status code. getResourcePolicyResponse_httpStatus :: Lens' GetResourcePolicyResponse Int -- | The owner Amazon Web Services account of a snapshot shared with -- another user. getSnapshot_ownerAccount :: Lens' GetSnapshot (Maybe Text) -- | The Amazon Resource Name (ARN) of the snapshot to return. getSnapshot_snapshotArn :: Lens' GetSnapshot (Maybe Text) -- | The name of the snapshot to return. getSnapshot_snapshotName :: Lens' GetSnapshot (Maybe Text) -- | The returned snapshot object. getSnapshotResponse_snapshot :: Lens' GetSnapshotResponse (Maybe Snapshot) -- | The response's http status code. getSnapshotResponse_httpStatus :: Lens' GetSnapshotResponse Int -- | The ID of the RestoreTableFromSnapshot request to return -- status for. getTableRestoreStatus_tableRestoreRequestId :: Lens' GetTableRestoreStatus Text -- | The returned TableRestoreStatus object that contains -- information about the status of your RestoreTableFromSnapshot -- request. getTableRestoreStatusResponse_tableRestoreStatus :: Lens' GetTableRestoreStatusResponse (Maybe TableRestoreStatus) -- | The response's http status code. getTableRestoreStatusResponse_httpStatus :: Lens' GetTableRestoreStatusResponse Int -- | The unique identifier of the usage limit to return information for. getUsageLimit_usageLimitId :: Lens' GetUsageLimit Text -- | The returned usage limit object. getUsageLimitResponse_usageLimit :: Lens' GetUsageLimitResponse (Maybe UsageLimit) -- | The response's http status code. getUsageLimitResponse_httpStatus :: Lens' GetUsageLimitResponse Int -- | The name of the workgroup to return information for. getWorkgroup_workgroupName :: Lens' GetWorkgroup Text -- | The response's http status code. getWorkgroupResponse_httpStatus :: Lens' GetWorkgroupResponse Int -- | The returned workgroup object. getWorkgroupResponse_workgroup :: Lens' GetWorkgroupResponse Workgroup -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. listEndpointAccess_maxResults :: Lens' ListEndpointAccess (Maybe Natural) -- | If your initial ListEndpointAccess operation returns a -- nextToken, you can include the returned nextToken in -- following ListEndpointAccess operations, which returns -- results in the next page. listEndpointAccess_nextToken :: Lens' ListEndpointAccess (Maybe Text) -- | The unique identifier of the virtual private cloud with access to -- Amazon Redshift Serverless. listEndpointAccess_vpcId :: Lens' ListEndpointAccess (Maybe Text) -- | The name of the workgroup associated with the VPC endpoint to return. listEndpointAccess_workgroupName :: Lens' ListEndpointAccess (Maybe Text) -- | When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listEndpointAccessResponse_nextToken :: Lens' ListEndpointAccessResponse (Maybe Text) -- | The response's http status code. listEndpointAccessResponse_httpStatus :: Lens' ListEndpointAccessResponse Int -- | The returned VPC endpoints. listEndpointAccessResponse_endpoints :: Lens' ListEndpointAccessResponse [EndpointAccess] -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. listNamespaces_maxResults :: Lens' ListNamespaces (Maybe Natural) -- | If your initial ListNamespaces operation returns a -- nextToken, you can include the returned nextToken in -- following ListNamespaces operations, which returns results in -- the next page. listNamespaces_nextToken :: Lens' ListNamespaces (Maybe Text) -- | When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listNamespacesResponse_nextToken :: Lens' ListNamespacesResponse (Maybe Text) -- | The response's http status code. listNamespacesResponse_httpStatus :: Lens' ListNamespacesResponse Int -- | The list of returned namespaces. listNamespacesResponse_namespaces :: Lens' ListNamespacesResponse [Namespace] -- | The time when creation of the recovery point finished. listRecoveryPoints_endTime :: Lens' ListRecoveryPoints (Maybe UTCTime) -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. listRecoveryPoints_maxResults :: Lens' ListRecoveryPoints (Maybe Natural) -- | The Amazon Resource Name (ARN) of the namespace from which to list -- recovery points. listRecoveryPoints_namespaceArn :: Lens' ListRecoveryPoints (Maybe Text) -- | The name of the namespace to list recovery points for. listRecoveryPoints_namespaceName :: Lens' ListRecoveryPoints (Maybe Text) -- | If your initial ListRecoveryPoints operation returns a -- nextToken, you can include the returned nextToken in -- following ListRecoveryPoints operations, which returns -- results in the next page. listRecoveryPoints_nextToken :: Lens' ListRecoveryPoints (Maybe Text) -- | The time when the recovery point's creation was initiated. listRecoveryPoints_startTime :: Lens' ListRecoveryPoints (Maybe UTCTime) -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listRecoveryPointsResponse_nextToken :: Lens' ListRecoveryPointsResponse (Maybe Text) -- | The returned recovery point objects. listRecoveryPointsResponse_recoveryPoints :: Lens' ListRecoveryPointsResponse (Maybe [RecoveryPoint]) -- | The response's http status code. listRecoveryPointsResponse_httpStatus :: Lens' ListRecoveryPointsResponse Int -- | The timestamp showing when the snapshot creation finished. listSnapshots_endTime :: Lens' ListSnapshots (Maybe UTCTime) -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. listSnapshots_maxResults :: Lens' ListSnapshots (Maybe Natural) -- | The Amazon Resource Name (ARN) of the namespace from which to list all -- snapshots. listSnapshots_namespaceArn :: Lens' ListSnapshots (Maybe Text) -- | The namespace from which to list all snapshots. listSnapshots_namespaceName :: Lens' ListSnapshots (Maybe Text) -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listSnapshots_nextToken :: Lens' ListSnapshots (Maybe Text) -- | The owner Amazon Web Services account of the snapshot. listSnapshots_ownerAccount :: Lens' ListSnapshots (Maybe Text) -- | The time when the creation of the snapshot was initiated. listSnapshots_startTime :: Lens' ListSnapshots (Maybe UTCTime) -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listSnapshotsResponse_nextToken :: Lens' ListSnapshotsResponse (Maybe Text) -- | All of the returned snapshot objects. listSnapshotsResponse_snapshots :: Lens' ListSnapshotsResponse (Maybe [Snapshot]) -- | The response's http status code. listSnapshotsResponse_httpStatus :: Lens' ListSnapshotsResponse Int -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of results. listTableRestoreStatus_maxResults :: Lens' ListTableRestoreStatus (Maybe Natural) -- | The namespace from which to list all of the statuses of -- RestoreTableFromSnapshot operations . listTableRestoreStatus_namespaceName :: Lens' ListTableRestoreStatus (Maybe Text) -- | If your initial ListTableRestoreStatus operation returns a -- nextToken, you can include the returned nextToken in -- following ListTableRestoreStatus operations. This will return -- results on the next page. listTableRestoreStatus_nextToken :: Lens' ListTableRestoreStatus (Maybe Text) -- | The workgroup from which to list all of the statuses of -- RestoreTableFromSnapshot operations. listTableRestoreStatus_workgroupName :: Lens' ListTableRestoreStatus (Maybe Text) -- | If your initial ListTableRestoreStatus operation returns a -- nextToken, you can include the returned nextToken in -- following ListTableRestoreStatus operations. This will -- returns results on the next page. listTableRestoreStatusResponse_nextToken :: Lens' ListTableRestoreStatusResponse (Maybe Text) -- | The array of returned TableRestoreStatus objects. listTableRestoreStatusResponse_tableRestoreStatuses :: Lens' ListTableRestoreStatusResponse (Maybe [TableRestoreStatus]) -- | The response's http status code. listTableRestoreStatusResponse_httpStatus :: Lens' ListTableRestoreStatusResponse Int -- | The Amazon Resource Name (ARN) of the resource to list tags for. listTagsForResource_resourceArn :: Lens' ListTagsForResource Text -- | A map of the key-value pairs assigned to the resource. listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) -- | The response's http status code. listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to get the next page of -- results. The default is 100. listUsageLimits_maxResults :: Lens' ListUsageLimits (Maybe Natural) -- | If your initial ListUsageLimits operation returns a -- nextToken, you can include the returned nextToken in -- following ListUsageLimits operations, which returns results -- in the next page. listUsageLimits_nextToken :: Lens' ListUsageLimits (Maybe Text) -- | The Amazon Resource Name (ARN) associated with the resource whose -- usage limits you want to list. listUsageLimits_resourceArn :: Lens' ListUsageLimits (Maybe Text) -- | The Amazon Redshift Serverless feature whose limits you want to see. listUsageLimits_usageType :: Lens' ListUsageLimits (Maybe UsageLimitUsageType) -- | When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. listUsageLimitsResponse_nextToken :: Lens' ListUsageLimitsResponse (Maybe Text) -- | An array of returned usage limit objects. listUsageLimitsResponse_usageLimits :: Lens' ListUsageLimitsResponse (Maybe (NonEmpty UsageLimit)) -- | The response's http status code. listUsageLimitsResponse_httpStatus :: Lens' ListUsageLimitsResponse Int -- | An optional parameter that specifies the maximum number of results to -- return. You can use nextToken to display the next page of -- results. listWorkgroups_maxResults :: Lens' ListWorkgroups (Maybe Natural) -- | If your initial ListWorkgroups operation returns a nextToken, -- you can include the returned nextToken in following -- ListNamespaces operations, which returns results in the next page. listWorkgroups_nextToken :: Lens' ListWorkgroups (Maybe Text) -- | If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. To retrieve the next page, make the call again using the -- returned token. listWorkgroupsResponse_nextToken :: Lens' ListWorkgroupsResponse (Maybe Text) -- | The response's http status code. listWorkgroupsResponse_httpStatus :: Lens' ListWorkgroupsResponse Int -- | The returned array of workgroups. listWorkgroupsResponse_workgroups :: Lens' ListWorkgroupsResponse [Workgroup] -- | The policy to create or update. For example, the following policy -- grants a user authorization to restore a snapshot. -- --
--   "{\"Version\": \"2012-10-17\", \"Statement\" : [{ \"Sid\": \"AllowUserRestoreFromSnapshot\", \"Principal\":{\"AWS\": [\"739247239426\"]}, \"Action\": [\"redshift-serverless:RestoreFromSnapshot\"] , \"Effect\": \"Allow\" }]}"
--   
putResourcePolicy_policy :: Lens' PutResourcePolicy Text -- | The Amazon Resource Name (ARN) of the account to create or update a -- resource policy for. putResourcePolicy_resourceArn :: Lens' PutResourcePolicy Text -- | The policy that was created or updated. putResourcePolicyResponse_resourcePolicy :: Lens' PutResourcePolicyResponse (Maybe ResourcePolicy) -- | The response's http status code. putResourcePolicyResponse_httpStatus :: Lens' PutResourcePolicyResponse Int -- | The name of the namespace to restore data into. restoreFromRecoveryPoint_namespaceName :: Lens' RestoreFromRecoveryPoint Text -- | The unique identifier of the recovery point to restore from. restoreFromRecoveryPoint_recoveryPointId :: Lens' RestoreFromRecoveryPoint Text -- | The name of the workgroup used to restore data. restoreFromRecoveryPoint_workgroupName :: Lens' RestoreFromRecoveryPoint Text -- | The namespace that data was restored into. restoreFromRecoveryPointResponse_namespace :: Lens' RestoreFromRecoveryPointResponse (Maybe Namespace) -- | The unique identifier of the recovery point used for the restore. restoreFromRecoveryPointResponse_recoveryPointId :: Lens' RestoreFromRecoveryPointResponse (Maybe Text) -- | The response's http status code. restoreFromRecoveryPointResponse_httpStatus :: Lens' RestoreFromRecoveryPointResponse Int -- | The Amazon Web Services account that owns the snapshot. restoreFromSnapshot_ownerAccount :: Lens' RestoreFromSnapshot (Maybe Text) -- | The Amazon Resource Name (ARN) of the snapshot to restore from. -- Required if restoring from Amazon Redshift Serverless to a provisioned -- cluster. Must not be specified at the same time as -- snapshotName. -- -- The format of the ARN is -- arn:aws:redshift:<region>:<account_id>:snapshot:<cluster_identifier>/<snapshot_identifier>. restoreFromSnapshot_snapshotArn :: Lens' RestoreFromSnapshot (Maybe Text) -- | The name of the snapshot to restore from. Must not be specified at the -- same time as snapshotArn. restoreFromSnapshot_snapshotName :: Lens' RestoreFromSnapshot (Maybe Text) -- | The name of the namespace to restore the snapshot to. restoreFromSnapshot_namespaceName :: Lens' RestoreFromSnapshot Text -- | The name of the workgroup used to restore the snapshot. restoreFromSnapshot_workgroupName :: Lens' RestoreFromSnapshot Text -- | Undocumented member. restoreFromSnapshotResponse_namespace :: Lens' RestoreFromSnapshotResponse (Maybe Namespace) -- | The owner Amazon Web Services; account of the snapshot that was -- restored. restoreFromSnapshotResponse_ownerAccount :: Lens' RestoreFromSnapshotResponse (Maybe Text) -- | The name of the snapshot used to restore the namespace. restoreFromSnapshotResponse_snapshotName :: Lens' RestoreFromSnapshotResponse (Maybe Text) -- | The response's http status code. restoreFromSnapshotResponse_httpStatus :: Lens' RestoreFromSnapshotResponse Int -- | Indicates whether name identifiers for database, schema, and table are -- case sensitive. If true, the names are case sensitive. If false, the -- names are not case sensitive. The default is false. restoreTableFromSnapshot_activateCaseSensitiveIdentifier :: Lens' RestoreTableFromSnapshot (Maybe Bool) -- | The name of the source schema that contains the table being restored. restoreTableFromSnapshot_sourceSchemaName :: Lens' RestoreTableFromSnapshot (Maybe Text) -- | The name of the database to restore the table to. restoreTableFromSnapshot_targetDatabaseName :: Lens' RestoreTableFromSnapshot (Maybe Text) -- | The name of the schema to restore the table to. restoreTableFromSnapshot_targetSchemaName :: Lens' RestoreTableFromSnapshot (Maybe Text) -- | The namespace of the snapshot to restore from. restoreTableFromSnapshot_namespaceName :: Lens' RestoreTableFromSnapshot Text -- | The name of the table to create from the restore operation. restoreTableFromSnapshot_newTableName :: Lens' RestoreTableFromSnapshot Text -- | The name of the snapshot to restore the table from. restoreTableFromSnapshot_snapshotName :: Lens' RestoreTableFromSnapshot Text -- | The name of the source database that contains the table being -- restored. restoreTableFromSnapshot_sourceDatabaseName :: Lens' RestoreTableFromSnapshot Text -- | The name of the source table being restored. restoreTableFromSnapshot_sourceTableName :: Lens' RestoreTableFromSnapshot Text -- | The workgroup to restore the table to. restoreTableFromSnapshot_workgroupName :: Lens' RestoreTableFromSnapshot Text -- | The TableRestoreStatus object that contains the status of the restore -- operation. restoreTableFromSnapshotResponse_tableRestoreStatus :: Lens' RestoreTableFromSnapshotResponse (Maybe TableRestoreStatus) -- | The response's http status code. restoreTableFromSnapshotResponse_httpStatus :: Lens' RestoreTableFromSnapshotResponse Int -- | The Amazon Resource Name (ARN) of the resource to tag. tagResource_resourceArn :: Lens' TagResource Text -- | The map of the key-value pairs used to tag the resource. tagResource_tags :: Lens' TagResource [Tag] -- | The response's http status code. tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int -- | The Amazon Resource Name (ARN) of the resource to remove tags from. untagResource_resourceArn :: Lens' UntagResource Text -- | The tag or set of tags to remove from the resource. untagResource_tagKeys :: Lens' UntagResource [Text] -- | The response's http status code. untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int -- | The list of VPC security groups associated with the endpoint after the -- endpoint is modified. updateEndpointAccess_vpcSecurityGroupIds :: Lens' UpdateEndpointAccess (Maybe [Text]) -- | The name of the VPC endpoint to update. updateEndpointAccess_endpointName :: Lens' UpdateEndpointAccess Text -- | The updated VPC endpoint. updateEndpointAccessResponse_endpoint :: Lens' UpdateEndpointAccessResponse (Maybe EndpointAccess) -- | The response's http status code. updateEndpointAccessResponse_httpStatus :: Lens' UpdateEndpointAccessResponse Int -- | The password of the administrator for the first database created in -- the namespace. updateNamespace_adminUserPassword :: Lens' UpdateNamespace (Maybe Text) -- | The username of the administrator for the first database created in -- the namespace. updateNamespace_adminUsername :: Lens' UpdateNamespace (Maybe Text) -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. updateNamespace_defaultIamRoleArn :: Lens' UpdateNamespace (Maybe Text) -- | A list of IAM roles to associate with the namespace. updateNamespace_iamRoles :: Lens' UpdateNamespace (Maybe [Text]) -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. updateNamespace_kmsKeyId :: Lens' UpdateNamespace (Maybe Text) -- | The types of logs the namespace can export. The export types are -- userlog, connectionlog, and -- useractivitylog. updateNamespace_logExports :: Lens' UpdateNamespace (Maybe [LogExport]) -- | The name of the namespace. updateNamespace_namespaceName :: Lens' UpdateNamespace Text -- | The response's http status code. updateNamespaceResponse_httpStatus :: Lens' UpdateNamespaceResponse Int -- | A list of tag instances. updateNamespaceResponse_namespace :: Lens' UpdateNamespaceResponse Namespace -- | The new retention period of the snapshot. updateSnapshot_retentionPeriod :: Lens' UpdateSnapshot (Maybe Int) -- | The name of the snapshot. updateSnapshot_snapshotName :: Lens' UpdateSnapshot Text -- | The updated snapshot object. updateSnapshotResponse_snapshot :: Lens' UpdateSnapshotResponse (Maybe Snapshot) -- | The response's http status code. updateSnapshotResponse_httpStatus :: Lens' UpdateSnapshotResponse Int -- | The new limit amount. If time-based, this amount is in Redshift -- Processing Units (RPU) consumed per hour. If data-based, this amount -- is in terabytes (TB) of data transferred between Regions in -- cross-account sharing. The value must be a positive number. updateUsageLimit_amount :: Lens' UpdateUsageLimit (Maybe Integer) -- | The new action that Amazon Redshift Serverless takes when the limit is -- reached. updateUsageLimit_breachAction :: Lens' UpdateUsageLimit (Maybe UsageLimitBreachAction) -- | The identifier of the usage limit to update. updateUsageLimit_usageLimitId :: Lens' UpdateUsageLimit Text -- | The updated usage limit object. updateUsageLimitResponse_usageLimit :: Lens' UpdateUsageLimitResponse (Maybe UsageLimit) -- | The response's http status code. updateUsageLimitResponse_httpStatus :: Lens' UpdateUsageLimitResponse Int -- | The new base data warehouse capacity in Redshift Processing Units -- (RPUs). updateWorkgroup_baseCapacity :: Lens' UpdateWorkgroup (Maybe Int) -- | An array of parameters to set for advanced control over a database. -- The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. updateWorkgroup_configParameters :: Lens' UpdateWorkgroup (Maybe [ConfigParameter]) -- | The value that specifies whether to turn on enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC. updateWorkgroup_enhancedVpcRouting :: Lens' UpdateWorkgroup (Maybe Bool) -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. updateWorkgroup_port :: Lens' UpdateWorkgroup (Maybe Int) -- | A value that specifies whether the workgroup can be accessible from a -- public network. updateWorkgroup_publiclyAccessible :: Lens' UpdateWorkgroup (Maybe Bool) -- | An array of security group IDs to associate with the workgroup. updateWorkgroup_securityGroupIds :: Lens' UpdateWorkgroup (Maybe [Text]) -- | An array of VPC subnet IDs to associate with the workgroup. updateWorkgroup_subnetIds :: Lens' UpdateWorkgroup (Maybe [Text]) -- | The name of the workgroup to update. updateWorkgroup_workgroupName :: Lens' UpdateWorkgroup Text -- | The response's http status code. updateWorkgroupResponse_httpStatus :: Lens' UpdateWorkgroupResponse Int -- | The updated workgroup object. updateWorkgroupResponse_workgroup :: Lens' UpdateWorkgroupResponse Workgroup -- | The key of the parameter. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. configParameter_parameterKey :: Lens' ConfigParameter (Maybe Text) -- | The value of the parameter to set. configParameter_parameterValue :: Lens' ConfigParameter (Maybe Text) -- | The DNS address of the VPC endpoint. endpoint_address :: Lens' Endpoint (Maybe Text) -- | The port that Amazon Redshift Serverless listens on. endpoint_port :: Lens' Endpoint (Maybe Int) -- | An array of VpcEndpoint objects. endpoint_vpcEndpoints :: Lens' Endpoint (Maybe [VpcEndpoint]) -- | The DNS address of the endpoint. endpointAccess_address :: Lens' EndpointAccess (Maybe Text) -- | The Amazon Resource Name (ARN) of the VPC endpoint. endpointAccess_endpointArn :: Lens' EndpointAccess (Maybe Text) -- | The time that the endpoint was created. endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime) -- | The name of the VPC endpoint. endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text) -- | The status of the VPC endpoint. endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text) -- | The port number on which Amazon Redshift Serverless accepts incoming -- connections. endpointAccess_port :: Lens' EndpointAccess (Maybe Int) -- | The unique identifier of subnets where Amazon Redshift Serverless -- choose to deploy the VPC endpoint. endpointAccess_subnetIds :: Lens' EndpointAccess (Maybe [Text]) -- | The connection endpoint for connecting to Amazon Redshift Serverless. endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint) -- | The security groups associated with the endpoint. endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership]) -- | The name of the workgroup associated with the endpoint. endpointAccess_workgroupName :: Lens' EndpointAccess (Maybe Text) -- | The username of the administrator for the first database created in -- the namespace. namespace_adminUsername :: Lens' Namespace (Maybe Text) -- | The date of when the namespace was created. namespace_creationDate :: Lens' Namespace (Maybe UTCTime) -- | The name of the first database created in the namespace. namespace_dbName :: Lens' Namespace (Maybe Text) -- | The Amazon Resource Name (ARN) of the IAM role to set as a default in -- the namespace. namespace_defaultIamRoleArn :: Lens' Namespace (Maybe Text) -- | A list of IAM roles to associate with the namespace. namespace_iamRoles :: Lens' Namespace (Maybe [Text]) -- | The ID of the Amazon Web Services Key Management Service key used to -- encrypt your data. namespace_kmsKeyId :: Lens' Namespace (Maybe Text) -- | The types of logs the namespace can export. Available export types are -- User log, Connection log, and User activity log. namespace_logExports :: Lens' Namespace (Maybe [LogExport]) -- | The Amazon Resource Name (ARN) associated with a namespace. namespace_namespaceArn :: Lens' Namespace (Maybe Text) -- | The unique identifier of a namespace. namespace_namespaceId :: Lens' Namespace (Maybe Text) -- | The name of the namespace. Must be between 3-64 alphanumeric -- characters in lowercase, and it cannot be a reserved word. A list of -- reserved words can be found in Reserved Words in the Amazon -- Redshift Database Developer Guide. namespace_namespaceName :: Lens' Namespace (Maybe Text) -- | The status of the namespace. namespace_status :: Lens' Namespace (Maybe NamespaceStatus) -- | The availability Zone. networkInterface_availabilityZone :: Lens' NetworkInterface (Maybe Text) -- | The unique identifier of the network interface. networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text) -- | The IPv4 address of the network interface within the subnet. networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text) -- | The unique identifier of the subnet. networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text) -- | The Amazon Resource Name (ARN) of the namespace the recovery point is -- associated with. recoveryPoint_namespaceArn :: Lens' RecoveryPoint (Maybe Text) -- | The name of the namespace the recovery point is associated with. recoveryPoint_namespaceName :: Lens' RecoveryPoint (Maybe Text) -- | The time the recovery point is created. recoveryPoint_recoveryPointCreateTime :: Lens' RecoveryPoint (Maybe UTCTime) -- | The unique identifier of the recovery point. recoveryPoint_recoveryPointId :: Lens' RecoveryPoint (Maybe Text) -- | The total size of the data in the recovery point in megabytes. recoveryPoint_totalSizeInMegaBytes :: Lens' RecoveryPoint (Maybe Double) -- | The name of the workgroup the recovery point is associated with. recoveryPoint_workgroupName :: Lens' RecoveryPoint (Maybe Text) -- | The resource policy. resourcePolicy_policy :: Lens' ResourcePolicy (Maybe Text) -- | The Amazon Resource Name (ARN) of the policy. resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text) -- | All of the Amazon Web Services accounts that have access to restore a -- snapshot to a provisioned cluster. snapshot_accountsWithProvisionedRestoreAccess :: Lens' Snapshot (Maybe [Text]) -- | All of the Amazon Web Services accounts that have access to restore a -- snapshot to a namespace. snapshot_accountsWithRestoreAccess :: Lens' Snapshot (Maybe [Text]) -- | The size of the incremental backup in megabytes. snapshot_actualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double) -- | The username of the database within a snapshot. snapshot_adminUsername :: Lens' Snapshot (Maybe Text) -- | The size in megabytes of the data that has been backed up to a -- snapshot. snapshot_backupProgressInMegaBytes :: Lens' Snapshot (Maybe Double) -- | The rate at which data is backed up into a snapshot in megabytes per -- second. snapshot_currentBackupRateInMegaBytesPerSecond :: Lens' Snapshot (Maybe Double) -- | The amount of time it took to back up data into a snapshot. snapshot_elapsedTimeInSeconds :: Lens' Snapshot (Maybe Integer) -- | The estimated amount of seconds until the snapshot completes backup. snapshot_estimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer) -- | The unique identifier of the KMS key used to encrypt the snapshot. snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text) -- | The Amazon Resource Name (ARN) of the namespace the snapshot was -- created from. snapshot_namespaceArn :: Lens' Snapshot (Maybe Text) -- | The name of the namepsace. snapshot_namespaceName :: Lens' Snapshot (Maybe Text) -- | The owner Amazon Web Services; account of the snapshot. snapshot_ownerAccount :: Lens' Snapshot (Maybe Text) -- | The Amazon Resource Name (ARN) of the snapshot. snapshot_snapshotArn :: Lens' Snapshot (Maybe Text) -- | The timestamp of when the snapshot was created. snapshot_snapshotCreateTime :: Lens' Snapshot (Maybe UTCTime) -- | The name of the snapshot. snapshot_snapshotName :: Lens' Snapshot (Maybe Text) -- | The amount of days until the snapshot is deleted. snapshot_snapshotRemainingDays :: Lens' Snapshot (Maybe Int) -- | The period of time, in days, of how long the snapshot is retained. snapshot_snapshotRetentionPeriod :: Lens' Snapshot (Maybe Int) -- | The timestamp of when data within the snapshot started getting -- retained. snapshot_snapshotRetentionStartTime :: Lens' Snapshot (Maybe UTCTime) -- | The status of the snapshot. snapshot_status :: Lens' Snapshot (Maybe SnapshotStatus) -- | The total size, in megabytes, of how big the snapshot is. snapshot_totalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double) -- | A description of the status of the table restore request. Status -- values include SUCCEEDED, FAILED, CANCELED, -- PENDING, IN_PROGRESS. tableRestoreStatus_message :: Lens' TableRestoreStatus (Maybe Text) -- | The namespace of the table being restored from. tableRestoreStatus_namespaceName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the table to create from the restore operation. tableRestoreStatus_newTableName :: Lens' TableRestoreStatus (Maybe Text) -- | The amount of data restored to the new table so far, in megabytes -- (MB). tableRestoreStatus_progressInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer) -- | The time that the table restore request was made, in Universal -- Coordinated Time (UTC). tableRestoreStatus_requestTime :: Lens' TableRestoreStatus (Maybe UTCTime) -- | The name of the snapshot being restored from. tableRestoreStatus_snapshotName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the source database being restored from. tableRestoreStatus_sourceDatabaseName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the source schema being restored from. tableRestoreStatus_sourceSchemaName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the source table being restored from. tableRestoreStatus_sourceTableName :: Lens' TableRestoreStatus (Maybe Text) -- | A value that describes the current state of the table restore request. -- Possible values include SUCCEEDED, FAILED, -- CANCELED, PENDING, IN_PROGRESS. tableRestoreStatus_status :: Lens' TableRestoreStatus (Maybe Text) -- | The ID of the RestoreTableFromSnapshot request. tableRestoreStatus_tableRestoreRequestId :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the database to restore to. tableRestoreStatus_targetDatabaseName :: Lens' TableRestoreStatus (Maybe Text) -- | The name of the schema to restore to. tableRestoreStatus_targetSchemaName :: Lens' TableRestoreStatus (Maybe Text) -- | The total amount of data to restore to the new table, in megabytes -- (MB). tableRestoreStatus_totalDataInMegaBytes :: Lens' TableRestoreStatus (Maybe Integer) -- | The name of the workgroup being restored from. tableRestoreStatus_workgroupName :: Lens' TableRestoreStatus (Maybe Text) -- | The key to use in the tag. tag_key :: Lens' Tag Text -- | The value of the tag. tag_value :: Lens' Tag Text -- | The limit amount. If time-based, this amount is in RPUs consumed per -- hour. If data-based, this amount is in terabytes (TB). The value must -- be a positive number. usageLimit_amount :: Lens' UsageLimit (Maybe Integer) -- | The action that Amazon Redshift Serverless takes when the limit is -- reached. usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction) -- | The time period that the amount applies to. A weekly period begins on -- Sunday. The default is monthly. usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod) -- | The Amazon Resource Name (ARN) that identifies the Amazon Redshift -- Serverless resource. usageLimit_resourceArn :: Lens' UsageLimit (Maybe Text) -- | The Amazon Resource Name (ARN) of the resource associated with the -- usage limit. usageLimit_usageLimitArn :: Lens' UsageLimit (Maybe Text) -- | The identifier of the usage limit. usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text) -- | The Amazon Redshift Serverless feature to limit. usageLimit_usageType :: Lens' UsageLimit (Maybe UsageLimitUsageType) -- | One or more network interfaces of the endpoint. Also known as an -- interface endpoint. vpcEndpoint_networkInterfaces :: Lens' VpcEndpoint (Maybe [NetworkInterface]) -- | The connection endpoint ID for connecting to Amazon Redshift -- Serverless. vpcEndpoint_vpcEndpointId :: Lens' VpcEndpoint (Maybe Text) -- | The VPC identifier that the endpoint is associated with. vpcEndpoint_vpcId :: Lens' VpcEndpoint (Maybe Text) -- | The status of the VPC security group. vpcSecurityGroupMembership_status :: Lens' VpcSecurityGroupMembership (Maybe Text) -- | The unique identifier of the VPC security group. vpcSecurityGroupMembership_vpcSecurityGroupId :: Lens' VpcSecurityGroupMembership (Maybe Text) -- | The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). workgroup_baseCapacity :: Lens' Workgroup (Maybe Int) -- | An array of parameters to set for finer control over a database. The -- options are datestyle, enable_user_activity_logging, -- query_group, search_path, and -- max_query_execution_time. workgroup_configParameters :: Lens' Workgroup (Maybe [ConfigParameter]) -- | The creation date of the workgroup. workgroup_creationDate :: Lens' Workgroup (Maybe UTCTime) -- | The endpoint that is created from the workgroup. workgroup_endpoint :: Lens' Workgroup (Maybe Endpoint) -- | The value that specifies whether to enable enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC. workgroup_enhancedVpcRouting :: Lens' Workgroup (Maybe Bool) -- | The namespace the workgroup is associated with. workgroup_namespaceName :: Lens' Workgroup (Maybe Text) -- | The custom port to use when connecting to a workgroup. Valid port -- ranges are 5431-5455 and 8191-8215. The default is 5439. workgroup_port :: Lens' Workgroup (Maybe Int) -- | A value that specifies whether the workgroup can be accessible from a -- public network workgroup_publiclyAccessible :: Lens' Workgroup (Maybe Bool) -- | An array of security group IDs to associate with the workgroup. workgroup_securityGroupIds :: Lens' Workgroup (Maybe [Text]) -- | The status of the workgroup. workgroup_status :: Lens' Workgroup (Maybe WorkgroupStatus) -- | An array of subnet IDs the workgroup is associated with. workgroup_subnetIds :: Lens' Workgroup (Maybe [Text]) -- | The Amazon Resource Name (ARN) that links to the workgroup. workgroup_workgroupArn :: Lens' Workgroup (Maybe Text) -- | The unique identifier of the workgroup. workgroup_workgroupId :: Lens' Workgroup (Maybe Text) -- | The name of the workgroup. workgroup_workgroupName :: Lens' Workgroup (Maybe Text) module Amazonka.RedshiftServerLess.Waiters -- | Derived from API version 2021-04-21 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- This is an interface reference for Amazon Redshift Serverless. It -- contains documentation for one of the programming or command line -- interfaces you can use to manage Amazon Redshift Serverless. -- -- Amazon Redshift Serverless automatically provisions data warehouse -- capacity and intelligently scales the underlying resources based on -- workload demands. Amazon Redshift Serverless adjusts capacity in -- seconds to deliver consistently high performance and simplified -- operations for even the most demanding and volatile workloads. Amazon -- Redshift Serverless lets you focus on using your data to acquire new -- insights for your business and customers. -- -- To learn more about Amazon Redshift Serverless, see What is Amazon -- Redshift Serverless. module Amazonka.RedshiftServerLess -- | API version 2021-04-21 of the Amazon Redshift Serverless SDK -- configuration. defaultService :: Service -- | You do not have sufficient access to perform this action. _AccessDeniedException :: AsError a => Fold a ServiceError -- | The submitted action has conflicts. _ConflictException :: AsError a => Fold a ServiceError -- | There is an insufficient capacity to perform the action. _InsufficientCapacityException :: AsError a => Fold a ServiceError -- | The request processing has failed because of an unknown error, -- exception or failure. _InternalServerException :: AsError a => Fold a ServiceError -- | The provided pagination token is invalid. _InvalidPaginationException :: AsError a => Fold a ServiceError -- | The resource could not be found. _ResourceNotFoundException :: AsError a => Fold a ServiceError -- | The service limit was exceeded. _ServiceQuotaExceededException :: AsError a => Fold a ServiceError -- | The request was denied due to request throttling. _ThrottlingException :: AsError a => Fold a ServiceError -- | The request exceeded the number of tags allowed for a resource. _TooManyTagsException :: AsError a => Fold a ServiceError -- | The input failed to satisfy the constraints specified by an AWS -- service. _ValidationException :: AsError a => Fold a ServiceError -- | See: newConvertRecoveryPointToSnapshot smart -- constructor. data ConvertRecoveryPointToSnapshot ConvertRecoveryPointToSnapshot' :: Maybe Int -> Maybe [Tag] -> Text -> Text -> ConvertRecoveryPointToSnapshot -- | Create a value of ConvertRecoveryPointToSnapshot with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:retentionPeriod:ConvertRecoveryPointToSnapshot', -- convertRecoveryPointToSnapshot_retentionPeriod - How long to -- retain the snapshot. -- -- $sel:tags:ConvertRecoveryPointToSnapshot', -- convertRecoveryPointToSnapshot_tags - An array of Tag -- objects to associate with the created snapshot. -- -- ConvertRecoveryPointToSnapshot, -- convertRecoveryPointToSnapshot_recoveryPointId - The unique -- identifier of the recovery point. -- -- ConvertRecoveryPointToSnapshot, -- convertRecoveryPointToSnapshot_snapshotName - The name of the -- snapshot. newConvertRecoveryPointToSnapshot :: Text -> Text -> ConvertRecoveryPointToSnapshot -- | See: newConvertRecoveryPointToSnapshotResponse smart -- constructor. data ConvertRecoveryPointToSnapshotResponse ConvertRecoveryPointToSnapshotResponse' :: Maybe Snapshot -> Int -> ConvertRecoveryPointToSnapshotResponse -- | Create a value of ConvertRecoveryPointToSnapshotResponse with -- all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:snapshot:ConvertRecoveryPointToSnapshotResponse', -- convertRecoveryPointToSnapshotResponse_snapshot - The snapshot -- converted from the recovery point. -- -- $sel:httpStatus:ConvertRecoveryPointToSnapshotResponse', -- convertRecoveryPointToSnapshotResponse_httpStatus - The -- response's http status code. newConvertRecoveryPointToSnapshotResponse :: Int -> ConvertRecoveryPointToSnapshotResponse -- | See: newCreateEndpointAccess smart constructor. data CreateEndpointAccess CreateEndpointAccess' :: Maybe [Text] -> Text -> [Text] -> Text -> CreateEndpointAccess -- | Create a value of CreateEndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:vpcSecurityGroupIds:CreateEndpointAccess', -- createEndpointAccess_vpcSecurityGroupIds - The unique -- identifiers of the security group that defines the ports, protocols, -- and sources for inbound traffic that you are authorizing into your -- endpoint. -- -- CreateEndpointAccess, createEndpointAccess_endpointName -- - The name of the VPC endpoint. An endpoint name must contain 1-30 -- characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The -- first character must be a letter. The name can't contain two -- consecutive hyphens or end with a hyphen. -- -- CreateEndpointAccess, createEndpointAccess_subnetIds - -- The unique identifers of subnets from which Amazon Redshift Serverless -- chooses one to deploy a VPC endpoint. -- -- CreateEndpointAccess, createEndpointAccess_workgroupName -- - The name of the workgroup to associate with the VPC endpoint. newCreateEndpointAccess :: Text -> Text -> CreateEndpointAccess -- | See: newCreateEndpointAccessResponse smart constructor. data CreateEndpointAccessResponse CreateEndpointAccessResponse' :: Maybe EndpointAccess -> Int -> CreateEndpointAccessResponse -- | Create a value of CreateEndpointAccessResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateEndpointAccessResponse, -- createEndpointAccessResponse_endpoint - The created VPC -- endpoint. -- -- $sel:httpStatus:CreateEndpointAccessResponse', -- createEndpointAccessResponse_httpStatus - The response's http -- status code. newCreateEndpointAccessResponse :: Int -> CreateEndpointAccessResponse -- | See: newCreateNamespace smart constructor. data CreateNamespace CreateNamespace' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe [LogExport] -> Maybe [Tag] -> Text -> CreateNamespace -- | Create a value of CreateNamespace with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:adminUserPassword:CreateNamespace', -- createNamespace_adminUserPassword - The password of the -- administrator for the first database created in the namespace. -- -- CreateNamespace, createNamespace_adminUsername - The -- username of the administrator for the first database created in the -- namespace. -- -- CreateNamespace, createNamespace_dbName - The name of -- the first database created in the namespace. -- -- CreateNamespace, createNamespace_defaultIamRoleArn - The -- Amazon Resource Name (ARN) of the IAM role to set as a default in the -- namespace. -- -- CreateNamespace, createNamespace_iamRoles - A list of -- IAM roles to associate with the namespace. -- -- CreateNamespace, createNamespace_kmsKeyId - The ID of -- the Amazon Web Services Key Management Service key used to encrypt -- your data. -- -- CreateNamespace, createNamespace_logExports - The types -- of logs the namespace can export. Available export types are -- userlog, connectionlog, and -- useractivitylog. -- -- $sel:tags:CreateNamespace', createNamespace_tags - A -- list of tag instances. -- -- CreateNamespace, createNamespace_namespaceName - The -- name of the namespace. newCreateNamespace :: Text -> CreateNamespace -- | See: newCreateNamespaceResponse smart constructor. data CreateNamespaceResponse CreateNamespaceResponse' :: Maybe Namespace -> Int -> CreateNamespaceResponse -- | Create a value of CreateNamespaceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:namespace:CreateNamespaceResponse', -- createNamespaceResponse_namespace - The created namespace -- object. -- -- $sel:httpStatus:CreateNamespaceResponse', -- createNamespaceResponse_httpStatus - The response's http status -- code. newCreateNamespaceResponse :: Int -> CreateNamespaceResponse -- | See: newCreateSnapshot smart constructor. data CreateSnapshot CreateSnapshot' :: Maybe Int -> Maybe [Tag] -> Text -> Text -> CreateSnapshot -- | Create a value of CreateSnapshot with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:retentionPeriod:CreateSnapshot', -- createSnapshot_retentionPeriod - How long to retain the created -- snapshot. -- -- $sel:tags:CreateSnapshot', createSnapshot_tags - An -- array of Tag objects to associate with the snapshot. -- -- CreateSnapshot, createSnapshot_namespaceName - The -- namespace to create a snapshot for. -- -- CreateSnapshot, createSnapshot_snapshotName - The name -- of the snapshot. newCreateSnapshot :: Text -> Text -> CreateSnapshot -- | See: newCreateSnapshotResponse smart constructor. data CreateSnapshotResponse CreateSnapshotResponse' :: Maybe Snapshot -> Int -> CreateSnapshotResponse -- | Create a value of CreateSnapshotResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:snapshot:CreateSnapshotResponse', -- createSnapshotResponse_snapshot - The created snapshot object. -- -- $sel:httpStatus:CreateSnapshotResponse', -- createSnapshotResponse_httpStatus - The response's http status -- code. newCreateSnapshotResponse :: Int -> CreateSnapshotResponse -- | See: newCreateUsageLimit smart constructor. data CreateUsageLimit CreateUsageLimit' :: Maybe UsageLimitBreachAction -> Maybe UsageLimitPeriod -> Integer -> Text -> UsageLimitUsageType -> CreateUsageLimit -- | Create a value of CreateUsageLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateUsageLimit, createUsageLimit_breachAction - The -- action that Amazon Redshift Serverless takes when the limit is -- reached. The default is log. -- -- CreateUsageLimit, createUsageLimit_period - The time -- period that the amount applies to. A weekly period begins on Sunday. -- The default is monthly. -- -- CreateUsageLimit, createUsageLimit_amount - The limit -- amount. If time-based, this amount is in Redshift Processing Units -- (RPU) consumed per hour. If data-based, this amount is in terabytes -- (TB) of data transferred between Regions in cross-account sharing. The -- value must be a positive number. -- -- CreateUsageLimit, createUsageLimit_resourceArn - The -- Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource -- to create the usage limit for. -- -- CreateUsageLimit, createUsageLimit_usageType - The type -- of Amazon Redshift Serverless usage to create a usage limit for. newCreateUsageLimit :: Integer -> Text -> UsageLimitUsageType -> CreateUsageLimit -- | See: newCreateUsageLimitResponse smart constructor. data CreateUsageLimitResponse CreateUsageLimitResponse' :: Maybe UsageLimit -> Int -> CreateUsageLimitResponse -- | Create a value of CreateUsageLimitResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:usageLimit:CreateUsageLimitResponse', -- createUsageLimitResponse_usageLimit - The returned usage limit -- object. -- -- $sel:httpStatus:CreateUsageLimitResponse', -- createUsageLimitResponse_httpStatus - The response's http -- status code. newCreateUsageLimitResponse :: Int -> CreateUsageLimitResponse -- | See: newCreateWorkgroup smart constructor. data CreateWorkgroup CreateWorkgroup' :: Maybe Int -> Maybe [ConfigParameter] -> Maybe Bool -> Maybe Int -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Tag] -> Text -> Text -> CreateWorkgroup -- | Create a value of CreateWorkgroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateWorkgroup, createWorkgroup_baseCapacity - The base -- data warehouse capacity of the workgroup in Redshift Processing Units -- (RPUs). -- -- CreateWorkgroup, createWorkgroup_configParameters - An -- array of parameters to set for more control over a serverless -- database. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. -- -- CreateWorkgroup, createWorkgroup_enhancedVpcRouting - -- The value that specifies whether to turn on enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC instead of over the internet. -- -- CreateWorkgroup, createWorkgroup_port - The custom port -- to use when connecting to a workgroup. Valid port ranges are 5431-5455 -- and 8191-8215. The default is 5439. -- -- CreateWorkgroup, createWorkgroup_publiclyAccessible - A -- value that specifies whether the workgroup can be accessed from a -- public network. -- -- CreateWorkgroup, createWorkgroup_securityGroupIds - An -- array of security group IDs to associate with the workgroup. -- -- CreateWorkgroup, createWorkgroup_subnetIds - An array of -- VPC subnet IDs to associate with the workgroup. -- -- $sel:tags:CreateWorkgroup', createWorkgroup_tags - A -- array of tag instances. -- -- CreateWorkgroup, createWorkgroup_namespaceName - The -- name of the namespace to associate with the workgroup. -- -- CreateWorkgroup, createWorkgroup_workgroupName - The -- name of the created workgroup. newCreateWorkgroup :: Text -> Text -> CreateWorkgroup -- | See: newCreateWorkgroupResponse smart constructor. data CreateWorkgroupResponse CreateWorkgroupResponse' :: Maybe Workgroup -> Int -> CreateWorkgroupResponse -- | Create a value of CreateWorkgroupResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:workgroup:CreateWorkgroupResponse', -- createWorkgroupResponse_workgroup - The created workgroup -- object. -- -- $sel:httpStatus:CreateWorkgroupResponse', -- createWorkgroupResponse_httpStatus - The response's http status -- code. newCreateWorkgroupResponse :: Int -> CreateWorkgroupResponse -- | See: newDeleteEndpointAccess smart constructor. data DeleteEndpointAccess DeleteEndpointAccess' :: Text -> DeleteEndpointAccess -- | Create a value of DeleteEndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteEndpointAccess, deleteEndpointAccess_endpointName -- - The name of the VPC endpoint to delete. newDeleteEndpointAccess :: Text -> DeleteEndpointAccess -- | See: newDeleteEndpointAccessResponse smart constructor. data DeleteEndpointAccessResponse DeleteEndpointAccessResponse' :: Maybe EndpointAccess -> Int -> DeleteEndpointAccessResponse -- | Create a value of DeleteEndpointAccessResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteEndpointAccessResponse, -- deleteEndpointAccessResponse_endpoint - The deleted VPC -- endpoint. -- -- $sel:httpStatus:DeleteEndpointAccessResponse', -- deleteEndpointAccessResponse_httpStatus - The response's http -- status code. newDeleteEndpointAccessResponse :: Int -> DeleteEndpointAccessResponse -- | See: newDeleteNamespace smart constructor. data DeleteNamespace DeleteNamespace' :: Maybe Text -> Maybe Int -> Text -> DeleteNamespace -- | Create a value of DeleteNamespace with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:finalSnapshotName:DeleteNamespace', -- deleteNamespace_finalSnapshotName - The name of the snapshot to -- be created before the namespace is deleted. -- -- $sel:finalSnapshotRetentionPeriod:DeleteNamespace', -- deleteNamespace_finalSnapshotRetentionPeriod - How long to -- retain the final snapshot. -- -- DeleteNamespace, deleteNamespace_namespaceName - The -- name of the namespace to delete. newDeleteNamespace :: Text -> DeleteNamespace -- | See: newDeleteNamespaceResponse smart constructor. data DeleteNamespaceResponse DeleteNamespaceResponse' :: Int -> Namespace -> DeleteNamespaceResponse -- | Create a value of DeleteNamespaceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeleteNamespaceResponse', -- deleteNamespaceResponse_httpStatus - The response's http status -- code. -- -- $sel:namespace:DeleteNamespaceResponse', -- deleteNamespaceResponse_namespace - The deleted namespace -- object. newDeleteNamespaceResponse :: Int -> Namespace -> DeleteNamespaceResponse -- | See: newDeleteResourcePolicy smart constructor. data DeleteResourcePolicy DeleteResourcePolicy' :: Text -> DeleteResourcePolicy -- | Create a value of DeleteResourcePolicy with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteResourcePolicy, deleteResourcePolicy_resourceArn - -- The Amazon Resource Name (ARN) of the policy to delete. newDeleteResourcePolicy :: Text -> DeleteResourcePolicy -- | See: newDeleteResourcePolicyResponse smart constructor. data DeleteResourcePolicyResponse DeleteResourcePolicyResponse' :: Int -> DeleteResourcePolicyResponse -- | Create a value of DeleteResourcePolicyResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeleteResourcePolicyResponse', -- deleteResourcePolicyResponse_httpStatus - The response's http -- status code. newDeleteResourcePolicyResponse :: Int -> DeleteResourcePolicyResponse -- | See: newDeleteSnapshot smart constructor. data DeleteSnapshot DeleteSnapshot' :: Text -> DeleteSnapshot -- | Create a value of DeleteSnapshot with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteSnapshot, deleteSnapshot_snapshotName - The name -- of the snapshot to be deleted. newDeleteSnapshot :: Text -> DeleteSnapshot -- | See: newDeleteSnapshotResponse smart constructor. data DeleteSnapshotResponse DeleteSnapshotResponse' :: Maybe Snapshot -> Int -> DeleteSnapshotResponse -- | Create a value of DeleteSnapshotResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:snapshot:DeleteSnapshotResponse', -- deleteSnapshotResponse_snapshot - The deleted snapshot object. -- -- $sel:httpStatus:DeleteSnapshotResponse', -- deleteSnapshotResponse_httpStatus - The response's http status -- code. newDeleteSnapshotResponse :: Int -> DeleteSnapshotResponse -- | See: newDeleteUsageLimit smart constructor. data DeleteUsageLimit DeleteUsageLimit' :: Text -> DeleteUsageLimit -- | Create a value of DeleteUsageLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteUsageLimit, deleteUsageLimit_usageLimitId - The -- unique identifier of the usage limit to delete. newDeleteUsageLimit :: Text -> DeleteUsageLimit -- | See: newDeleteUsageLimitResponse smart constructor. data DeleteUsageLimitResponse DeleteUsageLimitResponse' :: Maybe UsageLimit -> Int -> DeleteUsageLimitResponse -- | Create a value of DeleteUsageLimitResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:usageLimit:DeleteUsageLimitResponse', -- deleteUsageLimitResponse_usageLimit - The deleted usage limit -- object. -- -- $sel:httpStatus:DeleteUsageLimitResponse', -- deleteUsageLimitResponse_httpStatus - The response's http -- status code. newDeleteUsageLimitResponse :: Int -> DeleteUsageLimitResponse -- | See: newDeleteWorkgroup smart constructor. data DeleteWorkgroup DeleteWorkgroup' :: Text -> DeleteWorkgroup -- | Create a value of DeleteWorkgroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeleteWorkgroup, deleteWorkgroup_workgroupName - The -- name of the workgroup to be deleted. newDeleteWorkgroup :: Text -> DeleteWorkgroup -- | See: newDeleteWorkgroupResponse smart constructor. data DeleteWorkgroupResponse DeleteWorkgroupResponse' :: Int -> Workgroup -> DeleteWorkgroupResponse -- | Create a value of DeleteWorkgroupResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeleteWorkgroupResponse', -- deleteWorkgroupResponse_httpStatus - The response's http status -- code. -- -- $sel:workgroup:DeleteWorkgroupResponse', -- deleteWorkgroupResponse_workgroup - The deleted workgroup -- object. newDeleteWorkgroupResponse :: Int -> Workgroup -> DeleteWorkgroupResponse -- | See: newGetCredentials smart constructor. data GetCredentials GetCredentials' :: Maybe Text -> Maybe Int -> Text -> GetCredentials -- | Create a value of GetCredentials with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetCredentials, getCredentials_dbName - The name of the -- database to get temporary authorization to log on to. -- -- Constraints: -- -- -- -- $sel:durationSeconds:GetCredentials', -- getCredentials_durationSeconds - The number of seconds until -- the returned temporary password expires. The minimum is 900 seconds, -- and the maximum is 3600 seconds. -- -- GetCredentials, getCredentials_workgroupName - The name -- of the workgroup associated with the database. newGetCredentials :: Text -> GetCredentials -- | See: newGetCredentialsResponse smart constructor. data GetCredentialsResponse GetCredentialsResponse' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe POSIX -> Maybe POSIX -> Int -> GetCredentialsResponse -- | Create a value of GetCredentialsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:dbPassword:GetCredentialsResponse', -- getCredentialsResponse_dbPassword - A temporary password that -- authorizes the user name returned by DbUser to log on to the -- database DbName. -- -- $sel:dbUser:GetCredentialsResponse', -- getCredentialsResponse_dbUser - A database user name that is -- authorized to log on to the database DbName using the -- password DbPassword. If the specified DbUser exists -- in the database, the new user name has the same database privileges as -- the the user named in DbUser. By default, the user is added -- to PUBLIC. -- -- $sel:expiration:GetCredentialsResponse', -- getCredentialsResponse_expiration - The date and time the -- password in DbPassword expires. -- -- $sel:nextRefreshTime:GetCredentialsResponse', -- getCredentialsResponse_nextRefreshTime - The date and time of -- when the DbUser and DbPassword authorization -- refreshes. -- -- $sel:httpStatus:GetCredentialsResponse', -- getCredentialsResponse_httpStatus - The response's http status -- code. newGetCredentialsResponse :: Int -> GetCredentialsResponse -- | See: newGetEndpointAccess smart constructor. data GetEndpointAccess GetEndpointAccess' :: Text -> GetEndpointAccess -- | Create a value of GetEndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetEndpointAccess, getEndpointAccess_endpointName - The -- name of the VPC endpoint to return information for. newGetEndpointAccess :: Text -> GetEndpointAccess -- | See: newGetEndpointAccessResponse smart constructor. data GetEndpointAccessResponse GetEndpointAccessResponse' :: Maybe EndpointAccess -> Int -> GetEndpointAccessResponse -- | Create a value of GetEndpointAccessResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetEndpointAccessResponse, -- getEndpointAccessResponse_endpoint - The returned VPC endpoint. -- -- $sel:httpStatus:GetEndpointAccessResponse', -- getEndpointAccessResponse_httpStatus - The response's http -- status code. newGetEndpointAccessResponse :: Int -> GetEndpointAccessResponse -- | See: newGetNamespace smart constructor. data GetNamespace GetNamespace' :: Text -> GetNamespace -- | Create a value of GetNamespace with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetNamespace, getNamespace_namespaceName - The name of -- the namespace to retrieve information for. newGetNamespace :: Text -> GetNamespace -- | See: newGetNamespaceResponse smart constructor. data GetNamespaceResponse GetNamespaceResponse' :: Int -> Namespace -> GetNamespaceResponse -- | Create a value of GetNamespaceResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:GetNamespaceResponse', -- getNamespaceResponse_httpStatus - The response's http status -- code. -- -- $sel:namespace:GetNamespaceResponse', -- getNamespaceResponse_namespace - The returned namespace object. newGetNamespaceResponse :: Int -> Namespace -> GetNamespaceResponse -- | See: newGetRecoveryPoint smart constructor. data GetRecoveryPoint GetRecoveryPoint' :: Text -> GetRecoveryPoint -- | Create a value of GetRecoveryPoint with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetRecoveryPoint, getRecoveryPoint_recoveryPointId - The -- unique identifier of the recovery point to return information for. newGetRecoveryPoint :: Text -> GetRecoveryPoint -- | See: newGetRecoveryPointResponse smart constructor. data GetRecoveryPointResponse GetRecoveryPointResponse' :: Maybe RecoveryPoint -> Int -> GetRecoveryPointResponse -- | Create a value of GetRecoveryPointResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:recoveryPoint:GetRecoveryPointResponse', -- getRecoveryPointResponse_recoveryPoint - The returned recovery -- point object. -- -- $sel:httpStatus:GetRecoveryPointResponse', -- getRecoveryPointResponse_httpStatus - The response's http -- status code. newGetRecoveryPointResponse :: Int -> GetRecoveryPointResponse -- | See: newGetResourcePolicy smart constructor. data GetResourcePolicy GetResourcePolicy' :: Text -> GetResourcePolicy -- | Create a value of GetResourcePolicy with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetResourcePolicy, getResourcePolicy_resourceArn - The -- Amazon Resource Name (ARN) of the resource to return. newGetResourcePolicy :: Text -> GetResourcePolicy -- | See: newGetResourcePolicyResponse smart constructor. data GetResourcePolicyResponse GetResourcePolicyResponse' :: Maybe ResourcePolicy -> Int -> GetResourcePolicyResponse -- | Create a value of GetResourcePolicyResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resourcePolicy:GetResourcePolicyResponse', -- getResourcePolicyResponse_resourcePolicy - The returned -- resource policy. -- -- $sel:httpStatus:GetResourcePolicyResponse', -- getResourcePolicyResponse_httpStatus - The response's http -- status code. newGetResourcePolicyResponse :: Int -> GetResourcePolicyResponse -- | See: newGetSnapshot smart constructor. data GetSnapshot GetSnapshot' :: Maybe Text -> Maybe Text -> Maybe Text -> GetSnapshot -- | Create a value of GetSnapshot with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetSnapshot, getSnapshot_ownerAccount - The owner Amazon -- Web Services account of a snapshot shared with another user. -- -- GetSnapshot, getSnapshot_snapshotArn - The Amazon -- Resource Name (ARN) of the snapshot to return. -- -- GetSnapshot, getSnapshot_snapshotName - The name of the -- snapshot to return. newGetSnapshot :: GetSnapshot -- | See: newGetSnapshotResponse smart constructor. data GetSnapshotResponse GetSnapshotResponse' :: Maybe Snapshot -> Int -> GetSnapshotResponse -- | Create a value of GetSnapshotResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:snapshot:GetSnapshotResponse', -- getSnapshotResponse_snapshot - The returned snapshot object. -- -- $sel:httpStatus:GetSnapshotResponse', -- getSnapshotResponse_httpStatus - The response's http status -- code. newGetSnapshotResponse :: Int -> GetSnapshotResponse -- | See: newGetTableRestoreStatus smart constructor. data GetTableRestoreStatus GetTableRestoreStatus' :: Text -> GetTableRestoreStatus -- | Create a value of GetTableRestoreStatus with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetTableRestoreStatus, -- getTableRestoreStatus_tableRestoreRequestId - The ID of the -- RestoreTableFromSnapshot request to return status for. newGetTableRestoreStatus :: Text -> GetTableRestoreStatus -- | See: newGetTableRestoreStatusResponse smart constructor. data GetTableRestoreStatusResponse GetTableRestoreStatusResponse' :: Maybe TableRestoreStatus -> Int -> GetTableRestoreStatusResponse -- | Create a value of GetTableRestoreStatusResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:tableRestoreStatus:GetTableRestoreStatusResponse', -- getTableRestoreStatusResponse_tableRestoreStatus - The returned -- TableRestoreStatus object that contains information about the -- status of your RestoreTableFromSnapshot request. -- -- $sel:httpStatus:GetTableRestoreStatusResponse', -- getTableRestoreStatusResponse_httpStatus - The response's http -- status code. newGetTableRestoreStatusResponse :: Int -> GetTableRestoreStatusResponse -- | See: newGetUsageLimit smart constructor. data GetUsageLimit GetUsageLimit' :: Text -> GetUsageLimit -- | Create a value of GetUsageLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetUsageLimit, getUsageLimit_usageLimitId - The unique -- identifier of the usage limit to return information for. newGetUsageLimit :: Text -> GetUsageLimit -- | See: newGetUsageLimitResponse smart constructor. data GetUsageLimitResponse GetUsageLimitResponse' :: Maybe UsageLimit -> Int -> GetUsageLimitResponse -- | Create a value of GetUsageLimitResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:usageLimit:GetUsageLimitResponse', -- getUsageLimitResponse_usageLimit - The returned usage limit -- object. -- -- $sel:httpStatus:GetUsageLimitResponse', -- getUsageLimitResponse_httpStatus - The response's http status -- code. newGetUsageLimitResponse :: Int -> GetUsageLimitResponse -- | See: newGetWorkgroup smart constructor. data GetWorkgroup GetWorkgroup' :: Text -> GetWorkgroup -- | Create a value of GetWorkgroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- GetWorkgroup, getWorkgroup_workgroupName - The name of -- the workgroup to return information for. newGetWorkgroup :: Text -> GetWorkgroup -- | See: newGetWorkgroupResponse smart constructor. data GetWorkgroupResponse GetWorkgroupResponse' :: Int -> Workgroup -> GetWorkgroupResponse -- | Create a value of GetWorkgroupResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:GetWorkgroupResponse', -- getWorkgroupResponse_httpStatus - The response's http status -- code. -- -- $sel:workgroup:GetWorkgroupResponse', -- getWorkgroupResponse_workgroup - The returned workgroup object. newGetWorkgroupResponse :: Int -> Workgroup -> GetWorkgroupResponse -- | See: newListEndpointAccess smart constructor. data ListEndpointAccess ListEndpointAccess' :: Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> ListEndpointAccess -- | Create a value of ListEndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:maxResults:ListEndpointAccess', -- listEndpointAccess_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to display the next page of results. -- -- ListEndpointAccess, listEndpointAccess_nextToken - If -- your initial ListEndpointAccess operation returns a -- nextToken, you can include the returned nextToken in -- following ListEndpointAccess operations, which returns -- results in the next page. -- -- ListEndpointAccess, listEndpointAccess_vpcId - The -- unique identifier of the virtual private cloud with access to Amazon -- Redshift Serverless. -- -- ListEndpointAccess, listEndpointAccess_workgroupName - -- The name of the workgroup associated with the VPC endpoint to return. newListEndpointAccess :: ListEndpointAccess -- | See: newListEndpointAccessResponse smart constructor. data ListEndpointAccessResponse ListEndpointAccessResponse' :: Maybe Text -> Int -> [EndpointAccess] -> ListEndpointAccessResponse -- | Create a value of ListEndpointAccessResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListEndpointAccess, listEndpointAccessResponse_nextToken -- - When nextToken is returned, there are more results -- available. The value of nextToken is a unique pagination -- token for each page. Make the call again using the returned token to -- retrieve the next page. -- -- $sel:httpStatus:ListEndpointAccessResponse', -- listEndpointAccessResponse_httpStatus - The response's http -- status code. -- -- $sel:endpoints:ListEndpointAccessResponse', -- listEndpointAccessResponse_endpoints - The returned VPC -- endpoints. newListEndpointAccessResponse :: Int -> ListEndpointAccessResponse -- | See: newListNamespaces smart constructor. data ListNamespaces ListNamespaces' :: Maybe Natural -> Maybe Text -> ListNamespaces -- | Create a value of ListNamespaces with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:maxResults:ListNamespaces', -- listNamespaces_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to display the next page of results. -- -- ListNamespaces, listNamespaces_nextToken - If your -- initial ListNamespaces operation returns a -- nextToken, you can include the returned nextToken in -- following ListNamespaces operations, which returns results in -- the next page. newListNamespaces :: ListNamespaces -- | See: newListNamespacesResponse smart constructor. data ListNamespacesResponse ListNamespacesResponse' :: Maybe Text -> Int -> [Namespace] -> ListNamespacesResponse -- | Create a value of ListNamespacesResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListNamespaces, listNamespacesResponse_nextToken - When -- nextToken is returned, there are more results available. The -- value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. -- -- $sel:httpStatus:ListNamespacesResponse', -- listNamespacesResponse_httpStatus - The response's http status -- code. -- -- $sel:namespaces:ListNamespacesResponse', -- listNamespacesResponse_namespaces - The list of returned -- namespaces. newListNamespacesResponse :: Int -> ListNamespacesResponse -- | See: newListRecoveryPoints smart constructor. data ListRecoveryPoints ListRecoveryPoints' :: Maybe POSIX -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> ListRecoveryPoints -- | Create a value of ListRecoveryPoints with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:endTime:ListRecoveryPoints', -- listRecoveryPoints_endTime - The time when creation of the -- recovery point finished. -- -- $sel:maxResults:ListRecoveryPoints', -- listRecoveryPoints_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to display the next page of results. -- -- ListRecoveryPoints, listRecoveryPoints_namespaceArn - -- The Amazon Resource Name (ARN) of the namespace from which to list -- recovery points. -- -- ListRecoveryPoints, listRecoveryPoints_namespaceName - -- The name of the namespace to list recovery points for. -- -- ListRecoveryPoints, listRecoveryPoints_nextToken - If -- your initial ListRecoveryPoints operation returns a -- nextToken, you can include the returned nextToken in -- following ListRecoveryPoints operations, which returns -- results in the next page. -- -- $sel:startTime:ListRecoveryPoints', -- listRecoveryPoints_startTime - The time when the recovery -- point's creation was initiated. newListRecoveryPoints :: ListRecoveryPoints -- | See: newListRecoveryPointsResponse smart constructor. data ListRecoveryPointsResponse ListRecoveryPointsResponse' :: Maybe Text -> Maybe [RecoveryPoint] -> Int -> ListRecoveryPointsResponse -- | Create a value of ListRecoveryPointsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListRecoveryPoints, listRecoveryPointsResponse_nextToken -- - If nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. -- -- $sel:recoveryPoints:ListRecoveryPointsResponse', -- listRecoveryPointsResponse_recoveryPoints - The returned -- recovery point objects. -- -- $sel:httpStatus:ListRecoveryPointsResponse', -- listRecoveryPointsResponse_httpStatus - The response's http -- status code. newListRecoveryPointsResponse :: Int -> ListRecoveryPointsResponse -- | See: newListSnapshots smart constructor. data ListSnapshots ListSnapshots' :: Maybe POSIX -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> ListSnapshots -- | Create a value of ListSnapshots with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:endTime:ListSnapshots', listSnapshots_endTime - The -- timestamp showing when the snapshot creation finished. -- -- $sel:maxResults:ListSnapshots', listSnapshots_maxResults -- - An optional parameter that specifies the maximum number of results -- to return. You can use nextToken to display the next page of -- results. -- -- ListSnapshots, listSnapshots_namespaceArn - The Amazon -- Resource Name (ARN) of the namespace from which to list all snapshots. -- -- ListSnapshots, listSnapshots_namespaceName - The -- namespace from which to list all snapshots. -- -- ListSnapshots, listSnapshots_nextToken - If -- nextToken is returned, there are more results available. The -- value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. -- -- ListSnapshots, listSnapshots_ownerAccount - The owner -- Amazon Web Services account of the snapshot. -- -- $sel:startTime:ListSnapshots', listSnapshots_startTime - -- The time when the creation of the snapshot was initiated. newListSnapshots :: ListSnapshots -- | See: newListSnapshotsResponse smart constructor. data ListSnapshotsResponse ListSnapshotsResponse' :: Maybe Text -> Maybe [Snapshot] -> Int -> ListSnapshotsResponse -- | Create a value of ListSnapshotsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListSnapshots, listSnapshotsResponse_nextToken - If -- nextToken is returned, there are more results available. The -- value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. -- -- $sel:snapshots:ListSnapshotsResponse', -- listSnapshotsResponse_snapshots - All of the returned snapshot -- objects. -- -- $sel:httpStatus:ListSnapshotsResponse', -- listSnapshotsResponse_httpStatus - The response's http status -- code. newListSnapshotsResponse :: Int -> ListSnapshotsResponse -- | See: newListTableRestoreStatus smart constructor. data ListTableRestoreStatus ListTableRestoreStatus' :: Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> ListTableRestoreStatus -- | Create a value of ListTableRestoreStatus with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:maxResults:ListTableRestoreStatus', -- listTableRestoreStatus_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to display the next page of results. -- -- ListTableRestoreStatus, -- listTableRestoreStatus_namespaceName - The namespace from which -- to list all of the statuses of RestoreTableFromSnapshot -- operations . -- -- ListTableRestoreStatus, listTableRestoreStatus_nextToken -- - If your initial ListTableRestoreStatus operation returns a -- nextToken, you can include the returned nextToken in -- following ListTableRestoreStatus operations. This will return -- results on the next page. -- -- ListTableRestoreStatus, -- listTableRestoreStatus_workgroupName - The workgroup from which -- to list all of the statuses of RestoreTableFromSnapshot -- operations. newListTableRestoreStatus :: ListTableRestoreStatus -- | See: newListTableRestoreStatusResponse smart -- constructor. data ListTableRestoreStatusResponse ListTableRestoreStatusResponse' :: Maybe Text -> Maybe [TableRestoreStatus] -> Int -> ListTableRestoreStatusResponse -- | Create a value of ListTableRestoreStatusResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListTableRestoreStatus, -- listTableRestoreStatusResponse_nextToken - If your initial -- ListTableRestoreStatus operation returns a -- nextToken, you can include the returned nextToken in -- following ListTableRestoreStatus operations. This will -- returns results on the next page. -- -- $sel:tableRestoreStatuses:ListTableRestoreStatusResponse', -- listTableRestoreStatusResponse_tableRestoreStatuses - The array -- of returned TableRestoreStatus objects. -- -- $sel:httpStatus:ListTableRestoreStatusResponse', -- listTableRestoreStatusResponse_httpStatus - The response's http -- status code. newListTableRestoreStatusResponse :: Int -> ListTableRestoreStatusResponse -- | See: newListTagsForResource smart constructor. data ListTagsForResource ListTagsForResource' :: Text -> ListTagsForResource -- | Create a value of ListTagsForResource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListTagsForResource, listTagsForResource_resourceArn - -- The Amazon Resource Name (ARN) of the resource to list tags for. newListTagsForResource :: Text -> ListTagsForResource -- | See: newListTagsForResourceResponse smart constructor. data ListTagsForResourceResponse ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse -- | Create a value of ListTagsForResourceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:tags:ListTagsForResourceResponse', -- listTagsForResourceResponse_tags - A map of the key-value pairs -- assigned to the resource. -- -- $sel:httpStatus:ListTagsForResourceResponse', -- listTagsForResourceResponse_httpStatus - The response's http -- status code. newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse -- | See: newListUsageLimits smart constructor. data ListUsageLimits ListUsageLimits' :: Maybe Natural -> Maybe Text -> Maybe Text -> Maybe UsageLimitUsageType -> ListUsageLimits -- | Create a value of ListUsageLimits with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:maxResults:ListUsageLimits', -- listUsageLimits_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to get the next page of results. The default is -- 100. -- -- ListUsageLimits, listUsageLimits_nextToken - If your -- initial ListUsageLimits operation returns a -- nextToken, you can include the returned nextToken in -- following ListUsageLimits operations, which returns results -- in the next page. -- -- ListUsageLimits, listUsageLimits_resourceArn - The -- Amazon Resource Name (ARN) associated with the resource whose usage -- limits you want to list. -- -- ListUsageLimits, listUsageLimits_usageType - The Amazon -- Redshift Serverless feature whose limits you want to see. newListUsageLimits :: ListUsageLimits -- | See: newListUsageLimitsResponse smart constructor. data ListUsageLimitsResponse ListUsageLimitsResponse' :: Maybe Text -> Maybe (NonEmpty UsageLimit) -> Int -> ListUsageLimitsResponse -- | Create a value of ListUsageLimitsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListUsageLimits, listUsageLimitsResponse_nextToken - -- When nextToken is returned, there are more results available. -- The value of nextToken is a unique pagination token for each -- page. Make the call again using the returned token to retrieve the -- next page. -- -- $sel:usageLimits:ListUsageLimitsResponse', -- listUsageLimitsResponse_usageLimits - An array of returned -- usage limit objects. -- -- $sel:httpStatus:ListUsageLimitsResponse', -- listUsageLimitsResponse_httpStatus - The response's http status -- code. newListUsageLimitsResponse :: Int -> ListUsageLimitsResponse -- | See: newListWorkgroups smart constructor. data ListWorkgroups ListWorkgroups' :: Maybe Natural -> Maybe Text -> ListWorkgroups -- | Create a value of ListWorkgroups with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:maxResults:ListWorkgroups', -- listWorkgroups_maxResults - An optional parameter that -- specifies the maximum number of results to return. You can use -- nextToken to display the next page of results. -- -- ListWorkgroups, listWorkgroups_nextToken - If your -- initial ListWorkgroups operation returns a nextToken, you can -- include the returned nextToken in following ListNamespaces -- operations, which returns results in the next page. newListWorkgroups :: ListWorkgroups -- | See: newListWorkgroupsResponse smart constructor. data ListWorkgroupsResponse ListWorkgroupsResponse' :: Maybe Text -> Int -> [Workgroup] -> ListWorkgroupsResponse -- | Create a value of ListWorkgroupsResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ListWorkgroups, listWorkgroupsResponse_nextToken - If -- nextToken is returned, there are more results available. The -- value of nextToken is a unique pagination token for each -- page. To retrieve the next page, make the call again using the -- returned token. -- -- $sel:httpStatus:ListWorkgroupsResponse', -- listWorkgroupsResponse_httpStatus - The response's http status -- code. -- -- $sel:workgroups:ListWorkgroupsResponse', -- listWorkgroupsResponse_workgroups - The returned array of -- workgroups. newListWorkgroupsResponse :: Int -> ListWorkgroupsResponse -- | See: newPutResourcePolicy smart constructor. data PutResourcePolicy PutResourcePolicy' :: Text -> Text -> PutResourcePolicy -- | Create a value of PutResourcePolicy with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- PutResourcePolicy, putResourcePolicy_policy - The policy -- to create or update. For example, the following policy grants a user -- authorization to restore a snapshot. -- --
--   "{\"Version\": \"2012-10-17\", \"Statement\" : [{ \"Sid\": \"AllowUserRestoreFromSnapshot\", \"Principal\":{\"AWS\": [\"739247239426\"]}, \"Action\": [\"redshift-serverless:RestoreFromSnapshot\"] , \"Effect\": \"Allow\" }]}"
--   
-- -- PutResourcePolicy, putResourcePolicy_resourceArn - The -- Amazon Resource Name (ARN) of the account to create or update a -- resource policy for. newPutResourcePolicy :: Text -> Text -> PutResourcePolicy -- | See: newPutResourcePolicyResponse smart constructor. data PutResourcePolicyResponse PutResourcePolicyResponse' :: Maybe ResourcePolicy -> Int -> PutResourcePolicyResponse -- | Create a value of PutResourcePolicyResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:resourcePolicy:PutResourcePolicyResponse', -- putResourcePolicyResponse_resourcePolicy - The policy that was -- created or updated. -- -- $sel:httpStatus:PutResourcePolicyResponse', -- putResourcePolicyResponse_httpStatus - The response's http -- status code. newPutResourcePolicyResponse :: Int -> PutResourcePolicyResponse -- | See: newRestoreFromRecoveryPoint smart constructor. data RestoreFromRecoveryPoint RestoreFromRecoveryPoint' :: Text -> Text -> Text -> RestoreFromRecoveryPoint -- | Create a value of RestoreFromRecoveryPoint with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- RestoreFromRecoveryPoint, -- restoreFromRecoveryPoint_namespaceName - The name of the -- namespace to restore data into. -- -- RestoreFromRecoveryPoint, -- restoreFromRecoveryPoint_recoveryPointId - The unique -- identifier of the recovery point to restore from. -- -- RestoreFromRecoveryPoint, -- restoreFromRecoveryPoint_workgroupName - The name of the -- workgroup used to restore data. newRestoreFromRecoveryPoint :: Text -> Text -> Text -> RestoreFromRecoveryPoint -- | See: newRestoreFromRecoveryPointResponse smart -- constructor. data RestoreFromRecoveryPointResponse RestoreFromRecoveryPointResponse' :: Maybe Namespace -> Maybe Text -> Int -> RestoreFromRecoveryPointResponse -- | Create a value of RestoreFromRecoveryPointResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:namespace:RestoreFromRecoveryPointResponse', -- restoreFromRecoveryPointResponse_namespace - The namespace that -- data was restored into. -- -- RestoreFromRecoveryPoint, -- restoreFromRecoveryPointResponse_recoveryPointId - The unique -- identifier of the recovery point used for the restore. -- -- $sel:httpStatus:RestoreFromRecoveryPointResponse', -- restoreFromRecoveryPointResponse_httpStatus - The response's -- http status code. newRestoreFromRecoveryPointResponse :: Int -> RestoreFromRecoveryPointResponse -- | See: newRestoreFromSnapshot smart constructor. data RestoreFromSnapshot RestoreFromSnapshot' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> RestoreFromSnapshot -- | Create a value of RestoreFromSnapshot with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- RestoreFromSnapshot, restoreFromSnapshot_ownerAccount - -- The Amazon Web Services account that owns the snapshot. -- -- RestoreFromSnapshot, restoreFromSnapshot_snapshotArn - -- The Amazon Resource Name (ARN) of the snapshot to restore from. -- Required if restoring from Amazon Redshift Serverless to a provisioned -- cluster. Must not be specified at the same time as -- snapshotName. -- -- The format of the ARN is -- arn:aws:redshift:<region>:<account_id>:snapshot:<cluster_identifier>/<snapshot_identifier>. -- -- RestoreFromSnapshot, restoreFromSnapshot_snapshotName - -- The name of the snapshot to restore from. Must not be specified at the -- same time as snapshotArn. -- -- RestoreFromSnapshot, restoreFromSnapshot_namespaceName - -- The name of the namespace to restore the snapshot to. -- -- RestoreFromSnapshot, restoreFromSnapshot_workgroupName - -- The name of the workgroup used to restore the snapshot. newRestoreFromSnapshot :: Text -> Text -> RestoreFromSnapshot -- | See: newRestoreFromSnapshotResponse smart constructor. data RestoreFromSnapshotResponse RestoreFromSnapshotResponse' :: Maybe Namespace -> Maybe Text -> Maybe Text -> Int -> RestoreFromSnapshotResponse -- | Create a value of RestoreFromSnapshotResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:namespace:RestoreFromSnapshotResponse', -- restoreFromSnapshotResponse_namespace - Undocumented member. -- -- RestoreFromSnapshot, -- restoreFromSnapshotResponse_ownerAccount - The owner Amazon Web -- Services; account of the snapshot that was restored. -- -- RestoreFromSnapshot, -- restoreFromSnapshotResponse_snapshotName - The name of the -- snapshot used to restore the namespace. -- -- $sel:httpStatus:RestoreFromSnapshotResponse', -- restoreFromSnapshotResponse_httpStatus - The response's http -- status code. newRestoreFromSnapshotResponse :: Int -> RestoreFromSnapshotResponse -- | See: newRestoreTableFromSnapshot smart constructor. data RestoreTableFromSnapshot RestoreTableFromSnapshot' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> Text -> Text -> Text -> RestoreTableFromSnapshot -- | Create a value of RestoreTableFromSnapshot with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:activateCaseSensitiveIdentifier:RestoreTableFromSnapshot', -- restoreTableFromSnapshot_activateCaseSensitiveIdentifier - -- Indicates whether name identifiers for database, schema, and table are -- case sensitive. If true, the names are case sensitive. If false, the -- names are not case sensitive. The default is false. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_sourceSchemaName - The name of the -- source schema that contains the table being restored. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_targetDatabaseName - The name of the -- database to restore the table to. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_targetSchemaName - The name of the -- schema to restore the table to. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_namespaceName - The namespace of the -- snapshot to restore from. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_newTableName - The name of the table -- to create from the restore operation. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_snapshotName - The name of the -- snapshot to restore the table from. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_sourceDatabaseName - The name of the -- source database that contains the table being restored. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_sourceTableName - The name of the -- source table being restored. -- -- RestoreTableFromSnapshot, -- restoreTableFromSnapshot_workgroupName - The workgroup to -- restore the table to. newRestoreTableFromSnapshot :: Text -> Text -> Text -> Text -> Text -> Text -> RestoreTableFromSnapshot -- | See: newRestoreTableFromSnapshotResponse smart -- constructor. data RestoreTableFromSnapshotResponse RestoreTableFromSnapshotResponse' :: Maybe TableRestoreStatus -> Int -> RestoreTableFromSnapshotResponse -- | Create a value of RestoreTableFromSnapshotResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:tableRestoreStatus:RestoreTableFromSnapshotResponse', -- restoreTableFromSnapshotResponse_tableRestoreStatus - The -- TableRestoreStatus object that contains the status of the restore -- operation. -- -- $sel:httpStatus:RestoreTableFromSnapshotResponse', -- restoreTableFromSnapshotResponse_httpStatus - The response's -- http status code. newRestoreTableFromSnapshotResponse :: Int -> RestoreTableFromSnapshotResponse -- | See: newTagResource smart constructor. data TagResource TagResource' :: Text -> [Tag] -> TagResource -- | Create a value of TagResource with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- TagResource, tagResource_resourceArn - The Amazon -- Resource Name (ARN) of the resource to tag. -- -- $sel:tags:TagResource', tagResource_tags - The map of -- the key-value pairs used to tag the resource. newTagResource :: Text -> TagResource -- | See: newTagResourceResponse smart constructor. data TagResourceResponse TagResourceResponse' :: Int -> TagResourceResponse -- | Create a value of TagResourceResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:TagResourceResponse', -- tagResourceResponse_httpStatus - The response's http status -- code. newTagResourceResponse :: Int -> TagResourceResponse -- | See: newUntagResource smart constructor. data UntagResource UntagResource' :: Text -> [Text] -> UntagResource -- | Create a value of UntagResource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UntagResource, untagResource_resourceArn - The Amazon -- Resource Name (ARN) of the resource to remove tags from. -- -- $sel:tagKeys:UntagResource', untagResource_tagKeys - The -- tag or set of tags to remove from the resource. newUntagResource :: Text -> UntagResource -- | See: newUntagResourceResponse smart constructor. data UntagResourceResponse UntagResourceResponse' :: Int -> UntagResourceResponse -- | Create a value of UntagResourceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:UntagResourceResponse', -- untagResourceResponse_httpStatus - The response's http status -- code. newUntagResourceResponse :: Int -> UntagResourceResponse -- | See: newUpdateEndpointAccess smart constructor. data UpdateEndpointAccess UpdateEndpointAccess' :: Maybe [Text] -> Text -> UpdateEndpointAccess -- | Create a value of UpdateEndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:vpcSecurityGroupIds:UpdateEndpointAccess', -- updateEndpointAccess_vpcSecurityGroupIds - The list of VPC -- security groups associated with the endpoint after the endpoint is -- modified. -- -- UpdateEndpointAccess, updateEndpointAccess_endpointName -- - The name of the VPC endpoint to update. newUpdateEndpointAccess :: Text -> UpdateEndpointAccess -- | See: newUpdateEndpointAccessResponse smart constructor. data UpdateEndpointAccessResponse UpdateEndpointAccessResponse' :: Maybe EndpointAccess -> Int -> UpdateEndpointAccessResponse -- | Create a value of UpdateEndpointAccessResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateEndpointAccessResponse, -- updateEndpointAccessResponse_endpoint - The updated VPC -- endpoint. -- -- $sel:httpStatus:UpdateEndpointAccessResponse', -- updateEndpointAccessResponse_httpStatus - The response's http -- status code. newUpdateEndpointAccessResponse :: Int -> UpdateEndpointAccessResponse -- | See: newUpdateNamespace smart constructor. data UpdateNamespace UpdateNamespace' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe [LogExport] -> Text -> UpdateNamespace -- | Create a value of UpdateNamespace with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:adminUserPassword:UpdateNamespace', -- updateNamespace_adminUserPassword - The password of the -- administrator for the first database created in the namespace. -- -- UpdateNamespace, updateNamespace_adminUsername - The -- username of the administrator for the first database created in the -- namespace. -- -- UpdateNamespace, updateNamespace_defaultIamRoleArn - The -- Amazon Resource Name (ARN) of the IAM role to set as a default in the -- namespace. -- -- UpdateNamespace, updateNamespace_iamRoles - A list of -- IAM roles to associate with the namespace. -- -- UpdateNamespace, updateNamespace_kmsKeyId - The ID of -- the Amazon Web Services Key Management Service key used to encrypt -- your data. -- -- UpdateNamespace, updateNamespace_logExports - The types -- of logs the namespace can export. The export types are -- userlog, connectionlog, and -- useractivitylog. -- -- UpdateNamespace, updateNamespace_namespaceName - The -- name of the namespace. newUpdateNamespace :: Text -> UpdateNamespace -- | See: newUpdateNamespaceResponse smart constructor. data UpdateNamespaceResponse UpdateNamespaceResponse' :: Int -> Namespace -> UpdateNamespaceResponse -- | Create a value of UpdateNamespaceResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:UpdateNamespaceResponse', -- updateNamespaceResponse_httpStatus - The response's http status -- code. -- -- $sel:namespace:UpdateNamespaceResponse', -- updateNamespaceResponse_namespace - A list of tag instances. newUpdateNamespaceResponse :: Int -> Namespace -> UpdateNamespaceResponse -- | See: newUpdateSnapshot smart constructor. data UpdateSnapshot UpdateSnapshot' :: Maybe Int -> Text -> UpdateSnapshot -- | Create a value of UpdateSnapshot with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:retentionPeriod:UpdateSnapshot', -- updateSnapshot_retentionPeriod - The new retention period of -- the snapshot. -- -- UpdateSnapshot, updateSnapshot_snapshotName - The name -- of the snapshot. newUpdateSnapshot :: Text -> UpdateSnapshot -- | See: newUpdateSnapshotResponse smart constructor. data UpdateSnapshotResponse UpdateSnapshotResponse' :: Maybe Snapshot -> Int -> UpdateSnapshotResponse -- | Create a value of UpdateSnapshotResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:snapshot:UpdateSnapshotResponse', -- updateSnapshotResponse_snapshot - The updated snapshot object. -- -- $sel:httpStatus:UpdateSnapshotResponse', -- updateSnapshotResponse_httpStatus - The response's http status -- code. newUpdateSnapshotResponse :: Int -> UpdateSnapshotResponse -- | See: newUpdateUsageLimit smart constructor. data UpdateUsageLimit UpdateUsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Text -> UpdateUsageLimit -- | Create a value of UpdateUsageLimit with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateUsageLimit, updateUsageLimit_amount - The new -- limit amount. If time-based, this amount is in Redshift Processing -- Units (RPU) consumed per hour. If data-based, this amount is in -- terabytes (TB) of data transferred between Regions in cross-account -- sharing. The value must be a positive number. -- -- UpdateUsageLimit, updateUsageLimit_breachAction - The -- new action that Amazon Redshift Serverless takes when the limit is -- reached. -- -- UpdateUsageLimit, updateUsageLimit_usageLimitId - The -- identifier of the usage limit to update. newUpdateUsageLimit :: Text -> UpdateUsageLimit -- | See: newUpdateUsageLimitResponse smart constructor. data UpdateUsageLimitResponse UpdateUsageLimitResponse' :: Maybe UsageLimit -> Int -> UpdateUsageLimitResponse -- | Create a value of UpdateUsageLimitResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:usageLimit:UpdateUsageLimitResponse', -- updateUsageLimitResponse_usageLimit - The updated usage limit -- object. -- -- $sel:httpStatus:UpdateUsageLimitResponse', -- updateUsageLimitResponse_httpStatus - The response's http -- status code. newUpdateUsageLimitResponse :: Int -> UpdateUsageLimitResponse -- | See: newUpdateWorkgroup smart constructor. data UpdateWorkgroup UpdateWorkgroup' :: Maybe Int -> Maybe [ConfigParameter] -> Maybe Bool -> Maybe Int -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Text -> UpdateWorkgroup -- | Create a value of UpdateWorkgroup with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdateWorkgroup, updateWorkgroup_baseCapacity - The new -- base data warehouse capacity in Redshift Processing Units (RPUs). -- -- UpdateWorkgroup, updateWorkgroup_configParameters - An -- array of parameters to set for advanced control over a database. The -- options are datestyle, enable_user_activity_logging, -- query_group, search_path, and -- max_query_execution_time. -- -- UpdateWorkgroup, updateWorkgroup_enhancedVpcRouting - -- The value that specifies whether to turn on enhanced virtual private -- cloud (VPC) routing, which forces Amazon Redshift Serverless to route -- traffic through your VPC. -- -- UpdateWorkgroup, updateWorkgroup_port - The custom port -- to use when connecting to a workgroup. Valid port ranges are 5431-5455 -- and 8191-8215. The default is 5439. -- -- UpdateWorkgroup, updateWorkgroup_publiclyAccessible - A -- value that specifies whether the workgroup can be accessible from a -- public network. -- -- UpdateWorkgroup, updateWorkgroup_securityGroupIds - An -- array of security group IDs to associate with the workgroup. -- -- UpdateWorkgroup, updateWorkgroup_subnetIds - An array of -- VPC subnet IDs to associate with the workgroup. -- -- UpdateWorkgroup, updateWorkgroup_workgroupName - The -- name of the workgroup to update. newUpdateWorkgroup :: Text -> UpdateWorkgroup -- | See: newUpdateWorkgroupResponse smart constructor. data UpdateWorkgroupResponse UpdateWorkgroupResponse' :: Int -> Workgroup -> UpdateWorkgroupResponse -- | Create a value of UpdateWorkgroupResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:UpdateWorkgroupResponse', -- updateWorkgroupResponse_httpStatus - The response's http status -- code. -- -- $sel:workgroup:UpdateWorkgroupResponse', -- updateWorkgroupResponse_workgroup - The updated workgroup -- object. newUpdateWorkgroupResponse :: Int -> Workgroup -> UpdateWorkgroupResponse newtype LogExport LogExport' :: Text -> LogExport [fromLogExport] :: LogExport -> Text pattern LogExport_Connectionlog :: LogExport pattern LogExport_Useractivitylog :: LogExport pattern LogExport_Userlog :: LogExport newtype NamespaceStatus NamespaceStatus' :: Text -> NamespaceStatus [fromNamespaceStatus] :: NamespaceStatus -> Text pattern NamespaceStatus_AVAILABLE :: NamespaceStatus pattern NamespaceStatus_DELETING :: NamespaceStatus pattern NamespaceStatus_MODIFYING :: NamespaceStatus newtype SnapshotStatus SnapshotStatus' :: Text -> SnapshotStatus [fromSnapshotStatus] :: SnapshotStatus -> Text pattern SnapshotStatus_AVAILABLE :: SnapshotStatus pattern SnapshotStatus_CANCELLED :: SnapshotStatus pattern SnapshotStatus_COPYING :: SnapshotStatus pattern SnapshotStatus_CREATING :: SnapshotStatus pattern SnapshotStatus_DELETED :: SnapshotStatus pattern SnapshotStatus_FAILED :: SnapshotStatus newtype UsageLimitBreachAction UsageLimitBreachAction' :: Text -> UsageLimitBreachAction [fromUsageLimitBreachAction] :: UsageLimitBreachAction -> Text pattern UsageLimitBreachAction_Deactivate :: UsageLimitBreachAction pattern UsageLimitBreachAction_Emit_metric :: UsageLimitBreachAction pattern UsageLimitBreachAction_Log :: UsageLimitBreachAction newtype UsageLimitPeriod UsageLimitPeriod' :: Text -> UsageLimitPeriod [fromUsageLimitPeriod] :: UsageLimitPeriod -> Text pattern UsageLimitPeriod_Daily :: UsageLimitPeriod pattern UsageLimitPeriod_Monthly :: UsageLimitPeriod pattern UsageLimitPeriod_Weekly :: UsageLimitPeriod newtype UsageLimitUsageType UsageLimitUsageType' :: Text -> UsageLimitUsageType [fromUsageLimitUsageType] :: UsageLimitUsageType -> Text pattern UsageLimitUsageType_Cross_region_datasharing :: UsageLimitUsageType pattern UsageLimitUsageType_Serverless_compute :: UsageLimitUsageType newtype WorkgroupStatus WorkgroupStatus' :: Text -> WorkgroupStatus [fromWorkgroupStatus] :: WorkgroupStatus -> Text pattern WorkgroupStatus_AVAILABLE :: WorkgroupStatus pattern WorkgroupStatus_CREATING :: WorkgroupStatus pattern WorkgroupStatus_DELETING :: WorkgroupStatus pattern WorkgroupStatus_MODIFYING :: WorkgroupStatus -- | An array of key-value pairs to set for advanced control over Amazon -- Redshift Serverless. -- -- See: newConfigParameter smart constructor. data ConfigParameter ConfigParameter' :: Maybe Text -> Maybe Text -> ConfigParameter -- | Create a value of ConfigParameter with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:parameterKey:ConfigParameter', -- configParameter_parameterKey - The key of the parameter. The -- options are datestyle, enable_user_activity_logging, -- query_group, search_path, and -- max_query_execution_time. -- -- $sel:parameterValue:ConfigParameter', -- configParameter_parameterValue - The value of the parameter to -- set. newConfigParameter :: ConfigParameter -- | The VPC endpoint object. -- -- See: newEndpoint smart constructor. data Endpoint Endpoint' :: Maybe Text -> Maybe Int -> Maybe [VpcEndpoint] -> Endpoint -- | Create a value of Endpoint with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:address:Endpoint', endpoint_address - The DNS -- address of the VPC endpoint. -- -- $sel:port:Endpoint', endpoint_port - The port that -- Amazon Redshift Serverless listens on. -- -- $sel:vpcEndpoints:Endpoint', endpoint_vpcEndpoints - An -- array of VpcEndpoint objects. newEndpoint :: Endpoint -- | Information about an Amazon Redshift Serverless VPC endpoint. -- -- See: newEndpointAccess smart constructor. data EndpointAccess EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> Maybe Text -> EndpointAccess -- | Create a value of EndpointAccess with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:address:EndpointAccess', endpointAccess_address - -- The DNS address of the endpoint. -- -- $sel:endpointArn:EndpointAccess', -- endpointAccess_endpointArn - The Amazon Resource Name (ARN) of -- the VPC endpoint. -- -- $sel:endpointCreateTime:EndpointAccess', -- endpointAccess_endpointCreateTime - The time that the endpoint -- was created. -- -- $sel:endpointName:EndpointAccess', -- endpointAccess_endpointName - The name of the VPC endpoint. -- -- $sel:endpointStatus:EndpointAccess', -- endpointAccess_endpointStatus - The status of the VPC endpoint. -- -- $sel:port:EndpointAccess', endpointAccess_port - The -- port number on which Amazon Redshift Serverless accepts incoming -- connections. -- -- $sel:subnetIds:EndpointAccess', endpointAccess_subnetIds -- - The unique identifier of subnets where Amazon Redshift Serverless -- choose to deploy the VPC endpoint. -- -- $sel:vpcEndpoint:EndpointAccess', -- endpointAccess_vpcEndpoint - The connection endpoint for -- connecting to Amazon Redshift Serverless. -- -- $sel:vpcSecurityGroups:EndpointAccess', -- endpointAccess_vpcSecurityGroups - The security groups -- associated with the endpoint. -- -- $sel:workgroupName:EndpointAccess', -- endpointAccess_workgroupName - The name of the workgroup -- associated with the endpoint. newEndpointAccess :: EndpointAccess -- | A collection of database objects and users. -- -- See: newNamespace smart constructor. data Namespace Namespace' :: Maybe (Sensitive Text) -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe [LogExport] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NamespaceStatus -> Namespace -- | Create a value of Namespace with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:adminUsername:Namespace', namespace_adminUsername - -- The username of the administrator for the first database created in -- the namespace. -- -- $sel:creationDate:Namespace', namespace_creationDate - -- The date of when the namespace was created. -- -- $sel:dbName:Namespace', namespace_dbName - The name of -- the first database created in the namespace. -- -- $sel:defaultIamRoleArn:Namespace', -- namespace_defaultIamRoleArn - The Amazon Resource Name (ARN) of -- the IAM role to set as a default in the namespace. -- -- $sel:iamRoles:Namespace', namespace_iamRoles - A list of -- IAM roles to associate with the namespace. -- -- $sel:kmsKeyId:Namespace', namespace_kmsKeyId - The ID of -- the Amazon Web Services Key Management Service key used to encrypt -- your data. -- -- $sel:logExports:Namespace', namespace_logExports - The -- types of logs the namespace can export. Available export types are -- User log, Connection log, and User activity log. -- -- $sel:namespaceArn:Namespace', namespace_namespaceArn - -- The Amazon Resource Name (ARN) associated with a namespace. -- -- $sel:namespaceId:Namespace', namespace_namespaceId - The -- unique identifier of a namespace. -- -- $sel:namespaceName:Namespace', namespace_namespaceName - -- The name of the namespace. Must be between 3-64 alphanumeric -- characters in lowercase, and it cannot be a reserved word. A list of -- reserved words can be found in Reserved Words in the Amazon -- Redshift Database Developer Guide. -- -- $sel:status:Namespace', namespace_status - The status of -- the namespace. newNamespace :: Namespace -- | Contains information about a network interface in an Amazon Redshift -- Serverless managed VPC endpoint. -- -- See: newNetworkInterface smart constructor. data NetworkInterface NetworkInterface' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> NetworkInterface -- | Create a value of NetworkInterface with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:availabilityZone:NetworkInterface', -- networkInterface_availabilityZone - The availability Zone. -- -- $sel:networkInterfaceId:NetworkInterface', -- networkInterface_networkInterfaceId - The unique identifier of -- the network interface. -- -- $sel:privateIpAddress:NetworkInterface', -- networkInterface_privateIpAddress - The IPv4 address of the -- network interface within the subnet. -- -- $sel:subnetId:NetworkInterface', -- networkInterface_subnetId - The unique identifier of the -- subnet. newNetworkInterface :: NetworkInterface -- | The automatically created recovery point of a namespace. Recovery -- points are created every 30 minutes and kept for 24 hours. -- -- See: newRecoveryPoint smart constructor. data RecoveryPoint RecoveryPoint' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Double -> Maybe Text -> RecoveryPoint -- | Create a value of RecoveryPoint with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:namespaceArn:RecoveryPoint', -- recoveryPoint_namespaceArn - The Amazon Resource Name (ARN) of -- the namespace the recovery point is associated with. -- -- $sel:namespaceName:RecoveryPoint', -- recoveryPoint_namespaceName - The name of the namespace the -- recovery point is associated with. -- -- $sel:recoveryPointCreateTime:RecoveryPoint', -- recoveryPoint_recoveryPointCreateTime - The time the recovery -- point is created. -- -- $sel:recoveryPointId:RecoveryPoint', -- recoveryPoint_recoveryPointId - The unique identifier of the -- recovery point. -- -- $sel:totalSizeInMegaBytes:RecoveryPoint', -- recoveryPoint_totalSizeInMegaBytes - The total size of the data -- in the recovery point in megabytes. -- -- $sel:workgroupName:RecoveryPoint', -- recoveryPoint_workgroupName - The name of the workgroup the -- recovery point is associated with. newRecoveryPoint :: RecoveryPoint -- | The resource policy object. Currently, you can use policies to share -- snapshots across Amazon Web Services accounts. -- -- See: newResourcePolicy smart constructor. data ResourcePolicy ResourcePolicy' :: Maybe Text -> Maybe Text -> ResourcePolicy -- | Create a value of ResourcePolicy with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:policy:ResourcePolicy', resourcePolicy_policy - The -- resource policy. -- -- $sel:resourceArn:ResourcePolicy', -- resourcePolicy_resourceArn - The Amazon Resource Name (ARN) of -- the policy. newResourcePolicy :: ResourcePolicy -- | A snapshot object that contains databases. -- -- See: newSnapshot smart constructor. data Snapshot Snapshot' :: Maybe [Text] -> Maybe [Text] -> Maybe Double -> Maybe Text -> Maybe Double -> Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe ISO8601 -> Maybe SnapshotStatus -> Maybe Double -> Snapshot -- | Create a value of Snapshot with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:accountsWithProvisionedRestoreAccess:Snapshot', -- snapshot_accountsWithProvisionedRestoreAccess - All of the -- Amazon Web Services accounts that have access to restore a snapshot to -- a provisioned cluster. -- -- $sel:accountsWithRestoreAccess:Snapshot', -- snapshot_accountsWithRestoreAccess - All of the Amazon Web -- Services accounts that have access to restore a snapshot to a -- namespace. -- -- $sel:actualIncrementalBackupSizeInMegaBytes:Snapshot', -- snapshot_actualIncrementalBackupSizeInMegaBytes - The size of -- the incremental backup in megabytes. -- -- $sel:adminUsername:Snapshot', snapshot_adminUsername - -- The username of the database within a snapshot. -- -- $sel:backupProgressInMegaBytes:Snapshot', -- snapshot_backupProgressInMegaBytes - The size in megabytes of -- the data that has been backed up to a snapshot. -- -- $sel:currentBackupRateInMegaBytesPerSecond:Snapshot', -- snapshot_currentBackupRateInMegaBytesPerSecond - The rate at -- which data is backed up into a snapshot in megabytes per second. -- -- $sel:elapsedTimeInSeconds:Snapshot', -- snapshot_elapsedTimeInSeconds - The amount of time it took to -- back up data into a snapshot. -- -- $sel:estimatedSecondsToCompletion:Snapshot', -- snapshot_estimatedSecondsToCompletion - The estimated amount of -- seconds until the snapshot completes backup. -- -- $sel:kmsKeyId:Snapshot', snapshot_kmsKeyId - The unique -- identifier of the KMS key used to encrypt the snapshot. -- -- $sel:namespaceArn:Snapshot', snapshot_namespaceArn - The -- Amazon Resource Name (ARN) of the namespace the snapshot was created -- from. -- -- $sel:namespaceName:Snapshot', snapshot_namespaceName - -- The name of the namepsace. -- -- $sel:ownerAccount:Snapshot', snapshot_ownerAccount - The -- owner Amazon Web Services; account of the snapshot. -- -- $sel:snapshotArn:Snapshot', snapshot_snapshotArn - The -- Amazon Resource Name (ARN) of the snapshot. -- -- $sel:snapshotCreateTime:Snapshot', -- snapshot_snapshotCreateTime - The timestamp of when the -- snapshot was created. -- -- $sel:snapshotName:Snapshot', snapshot_snapshotName - The -- name of the snapshot. -- -- $sel:snapshotRemainingDays:Snapshot', -- snapshot_snapshotRemainingDays - The amount of days until the -- snapshot is deleted. -- -- $sel:snapshotRetentionPeriod:Snapshot', -- snapshot_snapshotRetentionPeriod - The period of time, in days, -- of how long the snapshot is retained. -- -- $sel:snapshotRetentionStartTime:Snapshot', -- snapshot_snapshotRetentionStartTime - The timestamp of when -- data within the snapshot started getting retained. -- -- $sel:status:Snapshot', snapshot_status - The status of -- the snapshot. -- -- $sel:totalBackupSizeInMegaBytes:Snapshot', -- snapshot_totalBackupSizeInMegaBytes - The total size, in -- megabytes, of how big the snapshot is. newSnapshot :: Snapshot -- | Contains information about a table restore request. -- -- See: newTableRestoreStatus smart constructor. data TableRestoreStatus TableRestoreStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> TableRestoreStatus -- | Create a value of TableRestoreStatus with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:message:TableRestoreStatus', -- tableRestoreStatus_message - A description of the status of the -- table restore request. Status values include SUCCEEDED, -- FAILED, CANCELED, PENDING, -- IN_PROGRESS. -- -- $sel:namespaceName:TableRestoreStatus', -- tableRestoreStatus_namespaceName - The namespace of the table -- being restored from. -- -- $sel:newTableName':TableRestoreStatus', -- tableRestoreStatus_newTableName - The name of the table to -- create from the restore operation. -- -- $sel:progressInMegaBytes:TableRestoreStatus', -- tableRestoreStatus_progressInMegaBytes - The amount of data -- restored to the new table so far, in megabytes (MB). -- -- $sel:requestTime:TableRestoreStatus', -- tableRestoreStatus_requestTime - The time that the table -- restore request was made, in Universal Coordinated Time (UTC). -- -- $sel:snapshotName:TableRestoreStatus', -- tableRestoreStatus_snapshotName - The name of the snapshot -- being restored from. -- -- $sel:sourceDatabaseName:TableRestoreStatus', -- tableRestoreStatus_sourceDatabaseName - The name of the source -- database being restored from. -- -- $sel:sourceSchemaName:TableRestoreStatus', -- tableRestoreStatus_sourceSchemaName - The name of the source -- schema being restored from. -- -- $sel:sourceTableName:TableRestoreStatus', -- tableRestoreStatus_sourceTableName - The name of the source -- table being restored from. -- -- $sel:status:TableRestoreStatus', -- tableRestoreStatus_status - A value that describes the current -- state of the table restore request. Possible values include -- SUCCEEDED, FAILED, CANCELED, -- PENDING, IN_PROGRESS. -- -- $sel:tableRestoreRequestId:TableRestoreStatus', -- tableRestoreStatus_tableRestoreRequestId - The ID of the -- RestoreTableFromSnapshot request. -- -- $sel:targetDatabaseName:TableRestoreStatus', -- tableRestoreStatus_targetDatabaseName - The name of the -- database to restore to. -- -- $sel:targetSchemaName:TableRestoreStatus', -- tableRestoreStatus_targetSchemaName - The name of the schema to -- restore to. -- -- $sel:totalDataInMegaBytes:TableRestoreStatus', -- tableRestoreStatus_totalDataInMegaBytes - The total amount of -- data to restore to the new table, in megabytes (MB). -- -- $sel:workgroupName:TableRestoreStatus', -- tableRestoreStatus_workgroupName - The name of the workgroup -- being restored from. newTableRestoreStatus :: TableRestoreStatus -- | A map of key-value pairs. -- -- See: newTag smart constructor. data Tag Tag' :: Text -> Text -> Tag -- | Create a value of Tag with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:key:Tag', tag_key - The key to use in the tag. -- -- $sel:value:Tag', tag_value - The value of the tag. newTag :: Text -> Text -> Tag -- | The usage limit object. -- -- See: newUsageLimit smart constructor. data UsageLimit UsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Maybe UsageLimitPeriod -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe UsageLimitUsageType -> UsageLimit -- | Create a value of UsageLimit with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:amount:UsageLimit', usageLimit_amount - The limit -- amount. If time-based, this amount is in RPUs consumed per hour. If -- data-based, this amount is in terabytes (TB). The value must be a -- positive number. -- -- $sel:breachAction:UsageLimit', usageLimit_breachAction - -- The action that Amazon Redshift Serverless takes when the limit is -- reached. -- -- $sel:period:UsageLimit', usageLimit_period - The time -- period that the amount applies to. A weekly period begins on Sunday. -- The default is monthly. -- -- $sel:resourceArn:UsageLimit', usageLimit_resourceArn - -- The Amazon Resource Name (ARN) that identifies the Amazon Redshift -- Serverless resource. -- -- $sel:usageLimitArn:UsageLimit', usageLimit_usageLimitArn -- - The Amazon Resource Name (ARN) of the resource associated with the -- usage limit. -- -- $sel:usageLimitId:UsageLimit', usageLimit_usageLimitId - -- The identifier of the usage limit. -- -- $sel:usageType:UsageLimit', usageLimit_usageType - The -- Amazon Redshift Serverless feature to limit. newUsageLimit :: UsageLimit -- | The connection endpoint for connecting to Amazon Redshift Serverless -- through the proxy. -- -- See: newVpcEndpoint smart constructor. data VpcEndpoint VpcEndpoint' :: Maybe [NetworkInterface] -> Maybe Text -> Maybe Text -> VpcEndpoint -- | Create a value of VpcEndpoint with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:networkInterfaces:VpcEndpoint', -- vpcEndpoint_networkInterfaces - One or more network interfaces -- of the endpoint. Also known as an interface endpoint. -- -- $sel:vpcEndpointId:VpcEndpoint', -- vpcEndpoint_vpcEndpointId - The connection endpoint ID for -- connecting to Amazon Redshift Serverless. -- -- $sel:vpcId:VpcEndpoint', vpcEndpoint_vpcId - The VPC -- identifier that the endpoint is associated with. newVpcEndpoint :: VpcEndpoint -- | Describes the members of a VPC security group. -- -- See: newVpcSecurityGroupMembership smart constructor. data VpcSecurityGroupMembership VpcSecurityGroupMembership' :: Maybe Text -> Maybe Text -> VpcSecurityGroupMembership -- | Create a value of VpcSecurityGroupMembership with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:status:VpcSecurityGroupMembership', -- vpcSecurityGroupMembership_status - The status of the VPC -- security group. -- -- $sel:vpcSecurityGroupId:VpcSecurityGroupMembership', -- vpcSecurityGroupMembership_vpcSecurityGroupId - The unique -- identifier of the VPC security group. newVpcSecurityGroupMembership :: VpcSecurityGroupMembership -- | The collection of computing resources from which an endpoint is -- created. -- -- See: newWorkgroup smart constructor. data Workgroup Workgroup' :: Maybe Int -> Maybe [ConfigParameter] -> Maybe ISO8601 -> Maybe Endpoint -> Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Bool -> Maybe [Text] -> Maybe WorkgroupStatus -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Workgroup -- | Create a value of Workgroup with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:baseCapacity:Workgroup', workgroup_baseCapacity - -- The base data warehouse capacity of the workgroup in Redshift -- Processing Units (RPUs). -- -- $sel:configParameters:Workgroup', -- workgroup_configParameters - An array of parameters to set for -- finer control over a database. The options are datestyle, -- enable_user_activity_logging, query_group, -- search_path, and max_query_execution_time. -- -- $sel:creationDate:Workgroup', workgroup_creationDate - -- The creation date of the workgroup. -- -- $sel:endpoint:Workgroup', workgroup_endpoint - The -- endpoint that is created from the workgroup. -- -- $sel:enhancedVpcRouting:Workgroup', -- workgroup_enhancedVpcRouting - The value that specifies whether -- to enable enhanced virtual private cloud (VPC) routing, which forces -- Amazon Redshift Serverless to route traffic through your VPC. -- -- $sel:namespaceName:Workgroup', workgroup_namespaceName - -- The namespace the workgroup is associated with. -- -- Workgroup, workgroup_port - The custom port to use when -- connecting to a workgroup. Valid port ranges are 5431-5455 and -- 8191-8215. The default is 5439. -- -- $sel:publiclyAccessible:Workgroup', -- workgroup_publiclyAccessible - A value that specifies whether -- the workgroup can be accessible from a public network -- -- $sel:securityGroupIds:Workgroup', -- workgroup_securityGroupIds - An array of security group IDs to -- associate with the workgroup. -- -- $sel:status:Workgroup', workgroup_status - The status of -- the workgroup. -- -- $sel:subnetIds:Workgroup', workgroup_subnetIds - An -- array of subnet IDs the workgroup is associated with. -- -- $sel:workgroupArn:Workgroup', workgroup_workgroupArn - -- The Amazon Resource Name (ARN) that links to the workgroup. -- -- $sel:workgroupId:Workgroup', workgroup_workgroupId - The -- unique identifier of the workgroup. -- -- $sel:workgroupName:Workgroup', workgroup_workgroupName - -- The name of the workgroup. newWorkgroup :: Workgroup