-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon Redshift SDK.
--
-- Derived from API version 2012-12-01 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.Redshift.Lens and are
-- suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.Redshift and the AWS documentation to get
-- started.
@package amazonka-redshift
@version 2.0
module Amazonka.Redshift.Internal
-- | This account identifier used to be used when attaching a policy to
-- your S3 bucket, allowing Redshift to upload and write database audit
-- logs.
--
-- This function should no longer be used, because Redshift now uses
-- service-principal credentials to deliver logs to S3.
--
-- See: Bucket permissions for Amazon Redshift audit
-- logging.
-- | Deprecated: Redshift now delivers logs using service-principal
-- credentials. See the haddocks for more information.
getAccountId :: Region -> Maybe Text
-- | This account identifier is used when Redshift calls other AWS services
-- for you, and may appear in your CloudTrail logs.
--
-- See: Amazon Redshift account IDs in AWS CloudTrail logs
getCloudTrailAccountId :: Region -> Maybe Text
module Amazonka.Redshift.Types.AccountWithRestoreAccess
-- | Describes an Amazon Web Services account authorized to restore a
-- snapshot.
--
-- See: newAccountWithRestoreAccess smart constructor.
data AccountWithRestoreAccess
AccountWithRestoreAccess' :: Maybe Text -> Maybe Text -> AccountWithRestoreAccess
-- | The identifier of an Amazon Web Services support account authorized to
-- restore a snapshot. For Amazon Web Services Support, the identifier is
-- amazon-redshift-support.
[$sel:accountAlias:AccountWithRestoreAccess'] :: AccountWithRestoreAccess -> Maybe Text
-- | The identifier of an Amazon Web Services account authorized to restore
-- a snapshot.
[$sel:accountId:AccountWithRestoreAccess'] :: AccountWithRestoreAccess -> Maybe Text
-- | Create a value of AccountWithRestoreAccess 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:accountAlias:AccountWithRestoreAccess',
-- accountWithRestoreAccess_accountAlias - The identifier of an
-- Amazon Web Services support account authorized to restore a snapshot.
-- For Amazon Web Services Support, the identifier is
-- amazon-redshift-support.
--
-- $sel:accountId:AccountWithRestoreAccess',
-- accountWithRestoreAccess_accountId - The identifier of an
-- Amazon Web Services account authorized to restore a snapshot.
newAccountWithRestoreAccess :: AccountWithRestoreAccess
-- | The identifier of an Amazon Web Services support account authorized to
-- restore a snapshot. For Amazon Web Services Support, the identifier is
-- amazon-redshift-support.
accountWithRestoreAccess_accountAlias :: Lens' AccountWithRestoreAccess (Maybe Text)
-- | The identifier of an Amazon Web Services account authorized to restore
-- a snapshot.
accountWithRestoreAccess_accountId :: Lens' AccountWithRestoreAccess (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.AccountWithRestoreAccess.AccountWithRestoreAccess
instance GHC.Show.Show Amazonka.Redshift.Types.AccountWithRestoreAccess.AccountWithRestoreAccess
instance GHC.Read.Read Amazonka.Redshift.Types.AccountWithRestoreAccess.AccountWithRestoreAccess
instance GHC.Classes.Eq Amazonka.Redshift.Types.AccountWithRestoreAccess.AccountWithRestoreAccess
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.AccountWithRestoreAccess.AccountWithRestoreAccess
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.AccountWithRestoreAccess.AccountWithRestoreAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.AccountWithRestoreAccess.AccountWithRestoreAccess
module Amazonka.Redshift.Types.ActionType
newtype ActionType
ActionType' :: Text -> ActionType
[fromActionType] :: ActionType -> Text
pattern ActionType_Recommend_node_config :: ActionType
pattern ActionType_Resize_cluster :: ActionType
pattern ActionType_Restore_cluster :: ActionType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.ActionType.ActionType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ActionType.ActionType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.ActionType.ActionType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.ActionType.ActionType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.ActionType.ActionType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.ActionType.ActionType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ActionType.ActionType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.ActionType.ActionType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.ActionType.ActionType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.ActionType.ActionType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.ActionType.ActionType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.ActionType.ActionType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ActionType.ActionType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ActionType.ActionType
instance GHC.Generics.Generic Amazonka.Redshift.Types.ActionType.ActionType
instance GHC.Classes.Ord Amazonka.Redshift.Types.ActionType.ActionType
instance GHC.Classes.Eq Amazonka.Redshift.Types.ActionType.ActionType
instance GHC.Read.Read Amazonka.Redshift.Types.ActionType.ActionType
instance GHC.Show.Show Amazonka.Redshift.Types.ActionType.ActionType
module Amazonka.Redshift.Types.AquaConfigurationStatus
newtype AquaConfigurationStatus
AquaConfigurationStatus' :: Text -> AquaConfigurationStatus
[fromAquaConfigurationStatus] :: AquaConfigurationStatus -> Text
pattern AquaConfigurationStatus_Auto :: AquaConfigurationStatus
pattern AquaConfigurationStatus_Disabled :: AquaConfigurationStatus
pattern AquaConfigurationStatus_Enabled :: AquaConfigurationStatus
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance GHC.Generics.Generic Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance GHC.Classes.Ord Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance GHC.Read.Read Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
instance GHC.Show.Show Amazonka.Redshift.Types.AquaConfigurationStatus.AquaConfigurationStatus
module Amazonka.Redshift.Types.AquaStatus
newtype AquaStatus
AquaStatus' :: Text -> AquaStatus
[fromAquaStatus] :: AquaStatus -> Text
pattern AquaStatus_Applying :: AquaStatus
pattern AquaStatus_Disabled :: AquaStatus
pattern AquaStatus_Enabled :: AquaStatus
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance GHC.Generics.Generic Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance GHC.Classes.Ord Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance GHC.Read.Read Amazonka.Redshift.Types.AquaStatus.AquaStatus
instance GHC.Show.Show Amazonka.Redshift.Types.AquaStatus.AquaStatus
module Amazonka.Redshift.Types.AquaConfiguration
-- | The operation that uses this structure is retired. Amazon Redshift
-- automatically determines whether to use AQUA (Advanced Query
-- Accelerator).
--
-- See: newAquaConfiguration smart constructor.
data AquaConfiguration
AquaConfiguration' :: Maybe AquaConfigurationStatus -> Maybe AquaStatus -> AquaConfiguration
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
[$sel:aquaConfigurationStatus:AquaConfiguration'] :: AquaConfiguration -> Maybe AquaConfigurationStatus
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
[$sel:aquaStatus:AquaConfiguration'] :: AquaConfiguration -> Maybe AquaStatus
-- | Create a value of AquaConfiguration 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:aquaConfigurationStatus:AquaConfiguration',
-- aquaConfiguration_aquaConfigurationStatus - This field is
-- retired. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
--
-- $sel:aquaStatus:AquaConfiguration',
-- aquaConfiguration_aquaStatus - This field is retired. Amazon
-- Redshift automatically determines whether to use AQUA (Advanced Query
-- Accelerator).
newAquaConfiguration :: AquaConfiguration
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
aquaConfiguration_aquaConfigurationStatus :: Lens' AquaConfiguration (Maybe AquaConfigurationStatus)
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
aquaConfiguration_aquaStatus :: Lens' AquaConfiguration (Maybe AquaStatus)
instance GHC.Generics.Generic Amazonka.Redshift.Types.AquaConfiguration.AquaConfiguration
instance GHC.Show.Show Amazonka.Redshift.Types.AquaConfiguration.AquaConfiguration
instance GHC.Read.Read Amazonka.Redshift.Types.AquaConfiguration.AquaConfiguration
instance GHC.Classes.Eq Amazonka.Redshift.Types.AquaConfiguration.AquaConfiguration
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.AquaConfiguration.AquaConfiguration
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.AquaConfiguration.AquaConfiguration
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.AquaConfiguration.AquaConfiguration
module Amazonka.Redshift.Types.AttributeValueTarget
-- | Describes an attribute value.
--
-- See: newAttributeValueTarget smart constructor.
data AttributeValueTarget
AttributeValueTarget' :: Maybe Text -> AttributeValueTarget
-- | The value of the attribute.
[$sel:attributeValue:AttributeValueTarget'] :: AttributeValueTarget -> Maybe Text
-- | Create a value of AttributeValueTarget 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:attributeValue:AttributeValueTarget',
-- attributeValueTarget_attributeValue - The value of the
-- attribute.
newAttributeValueTarget :: AttributeValueTarget
-- | The value of the attribute.
attributeValueTarget_attributeValue :: Lens' AttributeValueTarget (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.AttributeValueTarget.AttributeValueTarget
instance GHC.Show.Show Amazonka.Redshift.Types.AttributeValueTarget.AttributeValueTarget
instance GHC.Read.Read Amazonka.Redshift.Types.AttributeValueTarget.AttributeValueTarget
instance GHC.Classes.Eq Amazonka.Redshift.Types.AttributeValueTarget.AttributeValueTarget
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.AttributeValueTarget.AttributeValueTarget
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.AttributeValueTarget.AttributeValueTarget
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.AttributeValueTarget.AttributeValueTarget
module Amazonka.Redshift.Types.AccountAttribute
-- | A name value pair that describes an aspect of an account.
--
-- See: newAccountAttribute smart constructor.
data AccountAttribute
AccountAttribute' :: Maybe Text -> Maybe [AttributeValueTarget] -> AccountAttribute
-- | The name of the attribute.
[$sel:attributeName:AccountAttribute'] :: AccountAttribute -> Maybe Text
-- | A list of attribute values.
[$sel:attributeValues:AccountAttribute'] :: AccountAttribute -> Maybe [AttributeValueTarget]
-- | Create a value of AccountAttribute 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:attributeName:AccountAttribute',
-- accountAttribute_attributeName - The name of the attribute.
--
-- $sel:attributeValues:AccountAttribute',
-- accountAttribute_attributeValues - A list of attribute values.
newAccountAttribute :: AccountAttribute
-- | The name of the attribute.
accountAttribute_attributeName :: Lens' AccountAttribute (Maybe Text)
-- | A list of attribute values.
accountAttribute_attributeValues :: Lens' AccountAttribute (Maybe [AttributeValueTarget])
instance GHC.Generics.Generic Amazonka.Redshift.Types.AccountAttribute.AccountAttribute
instance GHC.Show.Show Amazonka.Redshift.Types.AccountAttribute.AccountAttribute
instance GHC.Read.Read Amazonka.Redshift.Types.AccountAttribute.AccountAttribute
instance GHC.Classes.Eq Amazonka.Redshift.Types.AccountAttribute.AccountAttribute
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.AccountAttribute.AccountAttribute
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.AccountAttribute.AccountAttribute
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.AccountAttribute.AccountAttribute
module Amazonka.Redshift.Types.AuthenticationProfile
-- | Describes an authentication profile.
--
-- See: newAuthenticationProfile smart constructor.
data AuthenticationProfile
AuthenticationProfile' :: Maybe Text -> Maybe Text -> AuthenticationProfile
-- | The content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
[$sel:authenticationProfileContent:AuthenticationProfile'] :: AuthenticationProfile -> Maybe Text
-- | The name of the authentication profile.
[$sel:authenticationProfileName:AuthenticationProfile'] :: AuthenticationProfile -> Maybe Text
-- | Create a value of AuthenticationProfile 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:authenticationProfileContent:AuthenticationProfile',
-- authenticationProfile_authenticationProfileContent - The
-- content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
--
-- $sel:authenticationProfileName:AuthenticationProfile',
-- authenticationProfile_authenticationProfileName - The name of
-- the authentication profile.
newAuthenticationProfile :: AuthenticationProfile
-- | The content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
authenticationProfile_authenticationProfileContent :: Lens' AuthenticationProfile (Maybe Text)
-- | The name of the authentication profile.
authenticationProfile_authenticationProfileName :: Lens' AuthenticationProfile (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.AuthenticationProfile.AuthenticationProfile
instance GHC.Show.Show Amazonka.Redshift.Types.AuthenticationProfile.AuthenticationProfile
instance GHC.Read.Read Amazonka.Redshift.Types.AuthenticationProfile.AuthenticationProfile
instance GHC.Classes.Eq Amazonka.Redshift.Types.AuthenticationProfile.AuthenticationProfile
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.AuthenticationProfile.AuthenticationProfile
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.AuthenticationProfile.AuthenticationProfile
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.AuthenticationProfile.AuthenticationProfile
module Amazonka.Redshift.Types.AuthorizationStatus
newtype AuthorizationStatus
AuthorizationStatus' :: Text -> AuthorizationStatus
[fromAuthorizationStatus] :: AuthorizationStatus -> Text
pattern AuthorizationStatus_Authorized :: AuthorizationStatus
pattern AuthorizationStatus_Revoking :: AuthorizationStatus
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance GHC.Generics.Generic Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance GHC.Classes.Ord Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance GHC.Read.Read Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
instance GHC.Show.Show Amazonka.Redshift.Types.AuthorizationStatus.AuthorizationStatus
module Amazonka.Redshift.Types.ClusterIamRole
-- | An Identity and Access Management (IAM) role that can be used by the
-- associated Amazon Redshift cluster to access other Amazon Web Services
-- services.
--
-- See: newClusterIamRole smart constructor.
data ClusterIamRole
ClusterIamRole' :: Maybe Text -> Maybe Text -> ClusterIamRole
-- | A value that describes the status of the IAM role's association with
-- an Amazon Redshift cluster.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The role is available for use by the
-- cluster.
-- - adding: The role is in the process of being associated
-- with the cluster.
-- - removing: The role is in the process of being
-- disassociated with the cluster.
--
[$sel:applyStatus:ClusterIamRole'] :: ClusterIamRole -> Maybe Text
-- | The Amazon Resource Name (ARN) of the IAM role, for example,
-- arn:aws:iam::123456789012:role/RedshiftCopyUnload.
[$sel:iamRoleArn:ClusterIamRole'] :: ClusterIamRole -> Maybe Text
-- | Create a value of ClusterIamRole 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:applyStatus:ClusterIamRole',
-- clusterIamRole_applyStatus - A value that describes the status
-- of the IAM role's association with an Amazon Redshift cluster.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The role is available for use by the
-- cluster.
-- - adding: The role is in the process of being associated
-- with the cluster.
-- - removing: The role is in the process of being
-- disassociated with the cluster.
--
--
-- $sel:iamRoleArn:ClusterIamRole',
-- clusterIamRole_iamRoleArn - The Amazon Resource Name (ARN) of
-- the IAM role, for example,
-- arn:aws:iam::123456789012:role/RedshiftCopyUnload.
newClusterIamRole :: ClusterIamRole
-- | A value that describes the status of the IAM role's association with
-- an Amazon Redshift cluster.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The role is available for use by the
-- cluster.
-- - adding: The role is in the process of being associated
-- with the cluster.
-- - removing: The role is in the process of being
-- disassociated with the cluster.
--
clusterIamRole_applyStatus :: Lens' ClusterIamRole (Maybe Text)
-- | The Amazon Resource Name (ARN) of the IAM role, for example,
-- arn:aws:iam::123456789012:role/RedshiftCopyUnload.
clusterIamRole_iamRoleArn :: Lens' ClusterIamRole (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterIamRole.ClusterIamRole
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterIamRole.ClusterIamRole
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterIamRole.ClusterIamRole
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterIamRole.ClusterIamRole
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterIamRole.ClusterIamRole
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterIamRole.ClusterIamRole
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterIamRole.ClusterIamRole
module Amazonka.Redshift.Types.ClusterNode
-- | The identifier of a node in a cluster.
--
-- See: newClusterNode smart constructor.
data ClusterNode
ClusterNode' :: Maybe Text -> Maybe Text -> Maybe Text -> ClusterNode
-- | Whether the node is a leader node or a compute node.
[$sel:nodeRole:ClusterNode'] :: ClusterNode -> Maybe Text
-- | The private IP address of a node within a cluster.
[$sel:privateIPAddress:ClusterNode'] :: ClusterNode -> Maybe Text
-- | The public IP address of a node within a cluster.
[$sel:publicIPAddress:ClusterNode'] :: ClusterNode -> Maybe Text
-- | Create a value of ClusterNode 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:nodeRole:ClusterNode', clusterNode_nodeRole -
-- Whether the node is a leader node or a compute node.
--
-- $sel:privateIPAddress:ClusterNode',
-- clusterNode_privateIPAddress - The private IP address of a node
-- within a cluster.
--
-- $sel:publicIPAddress:ClusterNode',
-- clusterNode_publicIPAddress - The public IP address of a node
-- within a cluster.
newClusterNode :: ClusterNode
-- | Whether the node is a leader node or a compute node.
clusterNode_nodeRole :: Lens' ClusterNode (Maybe Text)
-- | The private IP address of a node within a cluster.
clusterNode_privateIPAddress :: Lens' ClusterNode (Maybe Text)
-- | The public IP address of a node within a cluster.
clusterNode_publicIPAddress :: Lens' ClusterNode (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterNode.ClusterNode
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterNode.ClusterNode
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterNode.ClusterNode
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterNode.ClusterNode
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterNode.ClusterNode
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterNode.ClusterNode
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterNode.ClusterNode
module Amazonka.Redshift.Types.ClusterParameterGroupNameMessage
-- | See: newClusterParameterGroupNameMessage smart
-- constructor.
data ClusterParameterGroupNameMessage
ClusterParameterGroupNameMessage' :: Maybe Text -> Maybe Text -> ClusterParameterGroupNameMessage
-- | The name of the cluster parameter group.
[$sel:parameterGroupName:ClusterParameterGroupNameMessage'] :: ClusterParameterGroupNameMessage -> Maybe Text
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
[$sel:parameterGroupStatus:ClusterParameterGroupNameMessage'] :: ClusterParameterGroupNameMessage -> Maybe Text
-- | Create a value of ClusterParameterGroupNameMessage 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:parameterGroupName:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupName - The name
-- of the cluster parameter group.
--
-- $sel:parameterGroupStatus:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupStatus - The
-- status of the parameter group. For example, if you made a change to a
-- parameter group name-value pair, then the change could be pending a
-- reboot of an associated cluster.
newClusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | The name of the cluster parameter group.
clusterParameterGroupNameMessage_parameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
clusterParameterGroupNameMessage_parameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterParameterGroupNameMessage.ClusterParameterGroupNameMessage
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterParameterGroupNameMessage.ClusterParameterGroupNameMessage
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterParameterGroupNameMessage.ClusterParameterGroupNameMessage
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterParameterGroupNameMessage.ClusterParameterGroupNameMessage
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterParameterGroupNameMessage.ClusterParameterGroupNameMessage
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterParameterGroupNameMessage.ClusterParameterGroupNameMessage
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterParameterGroupNameMessage.ClusterParameterGroupNameMessage
module Amazonka.Redshift.Types.ClusterParameterStatus
-- | Describes the status of a parameter group.
--
-- See: newClusterParameterStatus smart constructor.
data ClusterParameterStatus
ClusterParameterStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> ClusterParameterStatus
-- | The error that prevented the parameter from being applied to the
-- database.
[$sel:parameterApplyErrorDescription:ClusterParameterStatus'] :: ClusterParameterStatus -> Maybe Text
-- | The status of the parameter that indicates whether the parameter is in
-- sync with the database, waiting for a cluster reboot, or encountered
-- an error when being applied.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The parameter value is in sync with the
-- database.
-- - pending-reboot: The parameter value will be applied after
-- the cluster reboots.
-- - applying: The parameter value is being applied to the
-- database.
-- - invalid-parameter: Cannot apply the parameter value
-- because it has an invalid value or syntax.
-- - apply-deferred: The parameter contains static property
-- changes. The changes are deferred until the cluster reboots.
-- - apply-error: Cannot connect to the cluster. The parameter
-- change will be applied after the cluster reboots.
-- - unknown-error: Cannot apply the parameter change right
-- now. The change will be applied after the cluster reboots.
--
[$sel:parameterApplyStatus:ClusterParameterStatus'] :: ClusterParameterStatus -> Maybe Text
-- | The name of the parameter.
[$sel:parameterName:ClusterParameterStatus'] :: ClusterParameterStatus -> Maybe Text
-- | Create a value of ClusterParameterStatus 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:parameterApplyErrorDescription:ClusterParameterStatus',
-- clusterParameterStatus_parameterApplyErrorDescription - The
-- error that prevented the parameter from being applied to the database.
--
-- $sel:parameterApplyStatus:ClusterParameterStatus',
-- clusterParameterStatus_parameterApplyStatus - The status of the
-- parameter that indicates whether the parameter is in sync with the
-- database, waiting for a cluster reboot, or encountered an error when
-- being applied.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The parameter value is in sync with the
-- database.
-- - pending-reboot: The parameter value will be applied after
-- the cluster reboots.
-- - applying: The parameter value is being applied to the
-- database.
-- - invalid-parameter: Cannot apply the parameter value
-- because it has an invalid value or syntax.
-- - apply-deferred: The parameter contains static property
-- changes. The changes are deferred until the cluster reboots.
-- - apply-error: Cannot connect to the cluster. The parameter
-- change will be applied after the cluster reboots.
-- - unknown-error: Cannot apply the parameter change right
-- now. The change will be applied after the cluster reboots.
--
--
-- $sel:parameterName:ClusterParameterStatus',
-- clusterParameterStatus_parameterName - The name of the
-- parameter.
newClusterParameterStatus :: ClusterParameterStatus
-- | The error that prevented the parameter from being applied to the
-- database.
clusterParameterStatus_parameterApplyErrorDescription :: Lens' ClusterParameterStatus (Maybe Text)
-- | The status of the parameter that indicates whether the parameter is in
-- sync with the database, waiting for a cluster reboot, or encountered
-- an error when being applied.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The parameter value is in sync with the
-- database.
-- - pending-reboot: The parameter value will be applied after
-- the cluster reboots.
-- - applying: The parameter value is being applied to the
-- database.
-- - invalid-parameter: Cannot apply the parameter value
-- because it has an invalid value or syntax.
-- - apply-deferred: The parameter contains static property
-- changes. The changes are deferred until the cluster reboots.
-- - apply-error: Cannot connect to the cluster. The parameter
-- change will be applied after the cluster reboots.
-- - unknown-error: Cannot apply the parameter change right
-- now. The change will be applied after the cluster reboots.
--
clusterParameterStatus_parameterApplyStatus :: Lens' ClusterParameterStatus (Maybe Text)
-- | The name of the parameter.
clusterParameterStatus_parameterName :: Lens' ClusterParameterStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterParameterStatus.ClusterParameterStatus
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterParameterStatus.ClusterParameterStatus
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterParameterStatus.ClusterParameterStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterParameterStatus.ClusterParameterStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterParameterStatus.ClusterParameterStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterParameterStatus.ClusterParameterStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterParameterStatus.ClusterParameterStatus
module Amazonka.Redshift.Types.ClusterParameterGroupStatus
-- | Describes the status of a parameter group.
--
-- See: newClusterParameterGroupStatus smart constructor.
data ClusterParameterGroupStatus
ClusterParameterGroupStatus' :: Maybe [ClusterParameterStatus] -> Maybe Text -> Maybe Text -> ClusterParameterGroupStatus
-- | The list of parameter statuses.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
[$sel:clusterParameterStatusList:ClusterParameterGroupStatus'] :: ClusterParameterGroupStatus -> Maybe [ClusterParameterStatus]
-- | The status of parameter updates.
[$sel:parameterApplyStatus:ClusterParameterGroupStatus'] :: ClusterParameterGroupStatus -> Maybe Text
-- | The name of the cluster parameter group.
[$sel:parameterGroupName:ClusterParameterGroupStatus'] :: ClusterParameterGroupStatus -> Maybe Text
-- | Create a value of ClusterParameterGroupStatus 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:clusterParameterStatusList:ClusterParameterGroupStatus',
-- clusterParameterGroupStatus_clusterParameterStatusList - The
-- list of parameter statuses.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
--
-- ClusterParameterGroupStatus,
-- clusterParameterGroupStatus_parameterApplyStatus - The status
-- of parameter updates.
--
-- $sel:parameterGroupName:ClusterParameterGroupStatus',
-- clusterParameterGroupStatus_parameterGroupName - The name of
-- the cluster parameter group.
newClusterParameterGroupStatus :: ClusterParameterGroupStatus
-- | The list of parameter statuses.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
clusterParameterGroupStatus_clusterParameterStatusList :: Lens' ClusterParameterGroupStatus (Maybe [ClusterParameterStatus])
-- | The status of parameter updates.
clusterParameterGroupStatus_parameterApplyStatus :: Lens' ClusterParameterGroupStatus (Maybe Text)
-- | The name of the cluster parameter group.
clusterParameterGroupStatus_parameterGroupName :: Lens' ClusterParameterGroupStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterParameterGroupStatus.ClusterParameterGroupStatus
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterParameterGroupStatus.ClusterParameterGroupStatus
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterParameterGroupStatus.ClusterParameterGroupStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterParameterGroupStatus.ClusterParameterGroupStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterParameterGroupStatus.ClusterParameterGroupStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterParameterGroupStatus.ClusterParameterGroupStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterParameterGroupStatus.ClusterParameterGroupStatus
module Amazonka.Redshift.Types.ClusterSecurityGroupMembership
-- | Describes a cluster security group.
--
-- See: newClusterSecurityGroupMembership smart
-- constructor.
data ClusterSecurityGroupMembership
ClusterSecurityGroupMembership' :: Maybe Text -> Maybe Text -> ClusterSecurityGroupMembership
-- | The name of the cluster security group.
[$sel:clusterSecurityGroupName:ClusterSecurityGroupMembership'] :: ClusterSecurityGroupMembership -> Maybe Text
-- | The status of the cluster security group.
[$sel:status:ClusterSecurityGroupMembership'] :: ClusterSecurityGroupMembership -> Maybe Text
-- | Create a value of ClusterSecurityGroupMembership 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:clusterSecurityGroupName:ClusterSecurityGroupMembership',
-- clusterSecurityGroupMembership_clusterSecurityGroupName - The
-- name of the cluster security group.
--
-- $sel:status:ClusterSecurityGroupMembership',
-- clusterSecurityGroupMembership_status - The status of the
-- cluster security group.
newClusterSecurityGroupMembership :: ClusterSecurityGroupMembership
-- | The name of the cluster security group.
clusterSecurityGroupMembership_clusterSecurityGroupName :: Lens' ClusterSecurityGroupMembership (Maybe Text)
-- | The status of the cluster security group.
clusterSecurityGroupMembership_status :: Lens' ClusterSecurityGroupMembership (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterSecurityGroupMembership.ClusterSecurityGroupMembership
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterSecurityGroupMembership.ClusterSecurityGroupMembership
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterSecurityGroupMembership.ClusterSecurityGroupMembership
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterSecurityGroupMembership.ClusterSecurityGroupMembership
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterSecurityGroupMembership.ClusterSecurityGroupMembership
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterSecurityGroupMembership.ClusterSecurityGroupMembership
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterSecurityGroupMembership.ClusterSecurityGroupMembership
module Amazonka.Redshift.Types.ClusterSnapshotCopyStatus
-- | Returns the destination region and retention period that are
-- configured for cross-region snapshot copy.
--
-- See: newClusterSnapshotCopyStatus smart constructor.
data ClusterSnapshotCopyStatus
ClusterSnapshotCopyStatus' :: Maybe Text -> Maybe Int -> Maybe Integer -> Maybe Text -> ClusterSnapshotCopyStatus
-- | The destination region that snapshots are automatically copied to when
-- cross-region snapshot copy is enabled.
[$sel:destinationRegion:ClusterSnapshotCopyStatus'] :: ClusterSnapshotCopyStatus -> Maybe Text
-- | The number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region. If the
-- value is -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
[$sel:manualSnapshotRetentionPeriod:ClusterSnapshotCopyStatus'] :: ClusterSnapshotCopyStatus -> Maybe Int
-- | The number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region.
[$sel:retentionPeriod:ClusterSnapshotCopyStatus'] :: ClusterSnapshotCopyStatus -> Maybe Integer
-- | The name of the snapshot copy grant.
[$sel:snapshotCopyGrantName:ClusterSnapshotCopyStatus'] :: ClusterSnapshotCopyStatus -> Maybe Text
-- | Create a value of ClusterSnapshotCopyStatus 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:destinationRegion:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_destinationRegion - The destination
-- region that snapshots are automatically copied to when cross-region
-- snapshot copy is enabled.
--
-- $sel:manualSnapshotRetentionPeriod:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_manualSnapshotRetentionPeriod - The
-- number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region. If the
-- value is -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- $sel:retentionPeriod:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_retentionPeriod - The number of days
-- that automated snapshots are retained in the destination region after
-- they are copied from a source region.
--
-- $sel:snapshotCopyGrantName:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_snapshotCopyGrantName - The name of
-- the snapshot copy grant.
newClusterSnapshotCopyStatus :: ClusterSnapshotCopyStatus
-- | The destination region that snapshots are automatically copied to when
-- cross-region snapshot copy is enabled.
clusterSnapshotCopyStatus_destinationRegion :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
-- | The number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region. If the
-- value is -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
clusterSnapshotCopyStatus_manualSnapshotRetentionPeriod :: Lens' ClusterSnapshotCopyStatus (Maybe Int)
-- | The number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region.
clusterSnapshotCopyStatus_retentionPeriod :: Lens' ClusterSnapshotCopyStatus (Maybe Integer)
-- | The name of the snapshot copy grant.
clusterSnapshotCopyStatus_snapshotCopyGrantName :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterSnapshotCopyStatus.ClusterSnapshotCopyStatus
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterSnapshotCopyStatus.ClusterSnapshotCopyStatus
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterSnapshotCopyStatus.ClusterSnapshotCopyStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterSnapshotCopyStatus.ClusterSnapshotCopyStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterSnapshotCopyStatus.ClusterSnapshotCopyStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterSnapshotCopyStatus.ClusterSnapshotCopyStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterSnapshotCopyStatus.ClusterSnapshotCopyStatus
module Amazonka.Redshift.Types.ClusterVersion
-- | Describes a cluster version, including the parameter group family and
-- description of the version.
--
-- See: newClusterVersion smart constructor.
data ClusterVersion
ClusterVersion' :: Maybe Text -> Maybe Text -> Maybe Text -> ClusterVersion
-- | The name of the cluster parameter group family for the cluster.
[$sel:clusterParameterGroupFamily:ClusterVersion'] :: ClusterVersion -> Maybe Text
-- | The version number used by the cluster.
[$sel:clusterVersion:ClusterVersion'] :: ClusterVersion -> Maybe Text
-- | The description of the cluster version.
[$sel:description:ClusterVersion'] :: ClusterVersion -> Maybe Text
-- | Create a value of ClusterVersion 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:clusterParameterGroupFamily:ClusterVersion',
-- clusterVersion_clusterParameterGroupFamily - The name of the
-- cluster parameter group family for the cluster.
--
-- $sel:clusterVersion:ClusterVersion',
-- clusterVersion_clusterVersion - The version number used by the
-- cluster.
--
-- $sel:description:ClusterVersion',
-- clusterVersion_description - The description of the cluster
-- version.
newClusterVersion :: ClusterVersion
-- | The name of the cluster parameter group family for the cluster.
clusterVersion_clusterParameterGroupFamily :: Lens' ClusterVersion (Maybe Text)
-- | The version number used by the cluster.
clusterVersion_clusterVersion :: Lens' ClusterVersion (Maybe Text)
-- | The description of the cluster version.
clusterVersion_description :: Lens' ClusterVersion (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterVersion.ClusterVersion
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterVersion.ClusterVersion
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterVersion.ClusterVersion
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterVersion.ClusterVersion
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterVersion.ClusterVersion
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterVersion.ClusterVersion
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterVersion.ClusterVersion
module Amazonka.Redshift.Types.DataShareStatus
newtype DataShareStatus
DataShareStatus' :: Text -> DataShareStatus
[fromDataShareStatus] :: DataShareStatus -> Text
pattern DataShareStatus_ACTIVE :: DataShareStatus
pattern DataShareStatus_AUTHORIZED :: DataShareStatus
pattern DataShareStatus_AVAILABLE :: DataShareStatus
pattern DataShareStatus_DEAUTHORIZED :: DataShareStatus
pattern DataShareStatus_PENDING_AUTHORIZATION :: DataShareStatus
pattern DataShareStatus_REJECTED :: DataShareStatus
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance GHC.Generics.Generic Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance GHC.Classes.Ord Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance GHC.Read.Read Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
instance GHC.Show.Show Amazonka.Redshift.Types.DataShareStatus.DataShareStatus
module Amazonka.Redshift.Types.DataShareAssociation
-- | The association of a datashare from a producer account with a data
-- consumer.
--
-- See: newDataShareAssociation smart constructor.
data DataShareAssociation
DataShareAssociation' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe DataShareStatus -> Maybe ISO8601 -> DataShareAssociation
-- | The name of the consumer accounts that have an association with a
-- producer datashare.
[$sel:consumerIdentifier:DataShareAssociation'] :: DataShareAssociation -> Maybe Text
-- | The Amazon Web Services Region of the consumer accounts that have an
-- association with a producer datashare.
[$sel:consumerRegion:DataShareAssociation'] :: DataShareAssociation -> Maybe Text
-- | The creation date of the datashare that is associated.
[$sel:createdDate:DataShareAssociation'] :: DataShareAssociation -> Maybe ISO8601
-- | The status of the datashare that is associated.
[$sel:status:DataShareAssociation'] :: DataShareAssociation -> Maybe DataShareStatus
-- | The status change data of the datashare that is associated.
[$sel:statusChangeDate:DataShareAssociation'] :: DataShareAssociation -> Maybe ISO8601
-- | Create a value of DataShareAssociation 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:consumerIdentifier:DataShareAssociation',
-- dataShareAssociation_consumerIdentifier - The name of the
-- consumer accounts that have an association with a producer datashare.
--
-- $sel:consumerRegion:DataShareAssociation',
-- dataShareAssociation_consumerRegion - The Amazon Web Services
-- Region of the consumer accounts that have an association with a
-- producer datashare.
--
-- $sel:createdDate:DataShareAssociation',
-- dataShareAssociation_createdDate - The creation date of the
-- datashare that is associated.
--
-- $sel:status:DataShareAssociation',
-- dataShareAssociation_status - The status of the datashare that
-- is associated.
--
-- $sel:statusChangeDate:DataShareAssociation',
-- dataShareAssociation_statusChangeDate - The status change data
-- of the datashare that is associated.
newDataShareAssociation :: DataShareAssociation
-- | The name of the consumer accounts that have an association with a
-- producer datashare.
dataShareAssociation_consumerIdentifier :: Lens' DataShareAssociation (Maybe Text)
-- | The Amazon Web Services Region of the consumer accounts that have an
-- association with a producer datashare.
dataShareAssociation_consumerRegion :: Lens' DataShareAssociation (Maybe Text)
-- | The creation date of the datashare that is associated.
dataShareAssociation_createdDate :: Lens' DataShareAssociation (Maybe UTCTime)
-- | The status of the datashare that is associated.
dataShareAssociation_status :: Lens' DataShareAssociation (Maybe DataShareStatus)
-- | The status change data of the datashare that is associated.
dataShareAssociation_statusChangeDate :: Lens' DataShareAssociation (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.Redshift.Types.DataShareAssociation.DataShareAssociation
instance GHC.Show.Show Amazonka.Redshift.Types.DataShareAssociation.DataShareAssociation
instance GHC.Read.Read Amazonka.Redshift.Types.DataShareAssociation.DataShareAssociation
instance GHC.Classes.Eq Amazonka.Redshift.Types.DataShareAssociation.DataShareAssociation
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.DataShareAssociation.DataShareAssociation
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.DataShareAssociation.DataShareAssociation
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.DataShareAssociation.DataShareAssociation
module Amazonka.Redshift.Types.DataShare
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
[$sel:allowPubliclyAccessibleConsumers:DataShare'] :: DataShare -> Maybe Bool
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
[$sel:dataShareArn:DataShare'] :: DataShare -> Maybe Text
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
[$sel:dataShareAssociations:DataShare'] :: DataShare -> Maybe [DataShareAssociation]
-- | The identifier of a datashare to show its managing entity.
[$sel:managedBy:DataShare'] :: DataShare -> Maybe Text
-- | The Amazon Resource Name (ARN) of the producer.
[$sel:producerArn:DataShare'] :: DataShare -> Maybe Text
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.DataShare.DataShare
instance GHC.Show.Show Amazonka.Redshift.Types.DataShare.DataShare
instance GHC.Read.Read Amazonka.Redshift.Types.DataShare.DataShare
instance GHC.Classes.Eq Amazonka.Redshift.Types.DataShare.DataShare
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.DataShare.DataShare
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.DataShare.DataShare
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.DataShare.DataShare
module Amazonka.Redshift.Types.DataShareStatusForConsumer
newtype DataShareStatusForConsumer
DataShareStatusForConsumer' :: Text -> DataShareStatusForConsumer
[fromDataShareStatusForConsumer] :: DataShareStatusForConsumer -> Text
pattern DataShareStatusForConsumer_ACTIVE :: DataShareStatusForConsumer
pattern DataShareStatusForConsumer_AVAILABLE :: DataShareStatusForConsumer
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance GHC.Generics.Generic Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance GHC.Classes.Ord Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance GHC.Classes.Eq Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance GHC.Read.Read Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
instance GHC.Show.Show Amazonka.Redshift.Types.DataShareStatusForConsumer.DataShareStatusForConsumer
module Amazonka.Redshift.Types.DataShareStatusForProducer
newtype DataShareStatusForProducer
DataShareStatusForProducer' :: Text -> DataShareStatusForProducer
[fromDataShareStatusForProducer] :: DataShareStatusForProducer -> Text
pattern DataShareStatusForProducer_ACTIVE :: DataShareStatusForProducer
pattern DataShareStatusForProducer_AUTHORIZED :: DataShareStatusForProducer
pattern DataShareStatusForProducer_DEAUTHORIZED :: DataShareStatusForProducer
pattern DataShareStatusForProducer_PENDING_AUTHORIZATION :: DataShareStatusForProducer
pattern DataShareStatusForProducer_REJECTED :: DataShareStatusForProducer
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance GHC.Generics.Generic Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance GHC.Classes.Ord Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance GHC.Classes.Eq Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance GHC.Read.Read Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
instance GHC.Show.Show Amazonka.Redshift.Types.DataShareStatusForProducer.DataShareStatusForProducer
module Amazonka.Redshift.Types.DataTransferProgress
-- | Describes the status of a cluster while it is in the process of
-- resizing with an incremental resize.
--
-- See: newDataTransferProgress smart constructor.
data DataTransferProgress
DataTransferProgress' :: Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Integer -> DataTransferProgress
-- | Describes the data transfer rate in MB's per second.
[$sel:currentRateInMegaBytesPerSecond:DataTransferProgress'] :: DataTransferProgress -> Maybe Double
-- | Describes the total amount of data that has been transfered in MB's.
[$sel:dataTransferredInMegaBytes:DataTransferProgress'] :: DataTransferProgress -> Maybe Integer
-- | Describes the number of seconds that have elapsed during the data
-- transfer.
[$sel:elapsedTimeInSeconds:DataTransferProgress'] :: DataTransferProgress -> Maybe Integer
-- | Describes the estimated number of seconds remaining to complete the
-- transfer.
[$sel:estimatedTimeToCompletionInSeconds:DataTransferProgress'] :: DataTransferProgress -> Maybe Integer
-- | Describes the status of the cluster. While the transfer is in progress
-- the status is transferringdata.
[$sel:status:DataTransferProgress'] :: DataTransferProgress -> Maybe Text
-- | Describes the total amount of data to be transfered in megabytes.
[$sel:totalDataInMegaBytes:DataTransferProgress'] :: DataTransferProgress -> Maybe Integer
-- | Create a value of DataTransferProgress 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:currentRateInMegaBytesPerSecond:DataTransferProgress',
-- dataTransferProgress_currentRateInMegaBytesPerSecond -
-- Describes the data transfer rate in MB's per second.
--
-- $sel:dataTransferredInMegaBytes:DataTransferProgress',
-- dataTransferProgress_dataTransferredInMegaBytes - Describes the
-- total amount of data that has been transfered in MB's.
--
-- $sel:elapsedTimeInSeconds:DataTransferProgress',
-- dataTransferProgress_elapsedTimeInSeconds - Describes the
-- number of seconds that have elapsed during the data transfer.
--
-- $sel:estimatedTimeToCompletionInSeconds:DataTransferProgress',
-- dataTransferProgress_estimatedTimeToCompletionInSeconds -
-- Describes the estimated number of seconds remaining to complete the
-- transfer.
--
-- $sel:status:DataTransferProgress',
-- dataTransferProgress_status - Describes the status of the
-- cluster. While the transfer is in progress the status is
-- transferringdata.
--
-- $sel:totalDataInMegaBytes:DataTransferProgress',
-- dataTransferProgress_totalDataInMegaBytes - Describes the total
-- amount of data to be transfered in megabytes.
newDataTransferProgress :: DataTransferProgress
-- | Describes the data transfer rate in MB's per second.
dataTransferProgress_currentRateInMegaBytesPerSecond :: Lens' DataTransferProgress (Maybe Double)
-- | Describes the total amount of data that has been transfered in MB's.
dataTransferProgress_dataTransferredInMegaBytes :: Lens' DataTransferProgress (Maybe Integer)
-- | Describes the number of seconds that have elapsed during the data
-- transfer.
dataTransferProgress_elapsedTimeInSeconds :: Lens' DataTransferProgress (Maybe Integer)
-- | Describes the estimated number of seconds remaining to complete the
-- transfer.
dataTransferProgress_estimatedTimeToCompletionInSeconds :: Lens' DataTransferProgress (Maybe Integer)
-- | Describes the status of the cluster. While the transfer is in progress
-- the status is transferringdata.
dataTransferProgress_status :: Lens' DataTransferProgress (Maybe Text)
-- | Describes the total amount of data to be transfered in megabytes.
dataTransferProgress_totalDataInMegaBytes :: Lens' DataTransferProgress (Maybe Integer)
instance GHC.Generics.Generic Amazonka.Redshift.Types.DataTransferProgress.DataTransferProgress
instance GHC.Show.Show Amazonka.Redshift.Types.DataTransferProgress.DataTransferProgress
instance GHC.Read.Read Amazonka.Redshift.Types.DataTransferProgress.DataTransferProgress
instance GHC.Classes.Eq Amazonka.Redshift.Types.DataTransferProgress.DataTransferProgress
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.DataTransferProgress.DataTransferProgress
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.DataTransferProgress.DataTransferProgress
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.DataTransferProgress.DataTransferProgress
module Amazonka.Redshift.Types.DeferredMaintenanceWindow
-- | Describes a deferred maintenance window
--
-- See: newDeferredMaintenanceWindow smart constructor.
data DeferredMaintenanceWindow
DeferredMaintenanceWindow' :: Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> DeferredMaintenanceWindow
-- | A timestamp for the end of the time period when we defer maintenance.
[$sel:deferMaintenanceEndTime:DeferredMaintenanceWindow'] :: DeferredMaintenanceWindow -> Maybe ISO8601
-- | A unique identifier for the maintenance window.
[$sel:deferMaintenanceIdentifier:DeferredMaintenanceWindow'] :: DeferredMaintenanceWindow -> Maybe Text
-- | A timestamp for the beginning of the time period when we defer
-- maintenance.
[$sel:deferMaintenanceStartTime:DeferredMaintenanceWindow'] :: DeferredMaintenanceWindow -> Maybe ISO8601
-- | Create a value of DeferredMaintenanceWindow 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:deferMaintenanceEndTime:DeferredMaintenanceWindow',
-- deferredMaintenanceWindow_deferMaintenanceEndTime - A timestamp
-- for the end of the time period when we defer maintenance.
--
-- $sel:deferMaintenanceIdentifier:DeferredMaintenanceWindow',
-- deferredMaintenanceWindow_deferMaintenanceIdentifier - A unique
-- identifier for the maintenance window.
--
-- $sel:deferMaintenanceStartTime:DeferredMaintenanceWindow',
-- deferredMaintenanceWindow_deferMaintenanceStartTime - A
-- timestamp for the beginning of the time period when we defer
-- maintenance.
newDeferredMaintenanceWindow :: DeferredMaintenanceWindow
-- | A timestamp for the end of the time period when we defer maintenance.
deferredMaintenanceWindow_deferMaintenanceEndTime :: Lens' DeferredMaintenanceWindow (Maybe UTCTime)
-- | A unique identifier for the maintenance window.
deferredMaintenanceWindow_deferMaintenanceIdentifier :: Lens' DeferredMaintenanceWindow (Maybe Text)
-- | A timestamp for the beginning of the time period when we defer
-- maintenance.
deferredMaintenanceWindow_deferMaintenanceStartTime :: Lens' DeferredMaintenanceWindow (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.Redshift.Types.DeferredMaintenanceWindow.DeferredMaintenanceWindow
instance GHC.Show.Show Amazonka.Redshift.Types.DeferredMaintenanceWindow.DeferredMaintenanceWindow
instance GHC.Read.Read Amazonka.Redshift.Types.DeferredMaintenanceWindow.DeferredMaintenanceWindow
instance GHC.Classes.Eq Amazonka.Redshift.Types.DeferredMaintenanceWindow.DeferredMaintenanceWindow
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.DeferredMaintenanceWindow.DeferredMaintenanceWindow
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.DeferredMaintenanceWindow.DeferredMaintenanceWindow
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.DeferredMaintenanceWindow.DeferredMaintenanceWindow
module Amazonka.Redshift.Types.DeleteClusterSnapshotMessage
-- | See: newDeleteClusterSnapshotMessage smart constructor.
data DeleteClusterSnapshotMessage
DeleteClusterSnapshotMessage' :: Maybe Text -> Text -> DeleteClusterSnapshotMessage
-- | The unique identifier of the cluster the snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
[$sel:snapshotClusterIdentifier:DeleteClusterSnapshotMessage'] :: DeleteClusterSnapshotMessage -> Maybe Text
-- | The unique identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
[$sel:snapshotIdentifier:DeleteClusterSnapshotMessage'] :: DeleteClusterSnapshotMessage -> Text
-- | Create a value of DeleteClusterSnapshotMessage 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:snapshotClusterIdentifier:DeleteClusterSnapshotMessage',
-- deleteClusterSnapshotMessage_snapshotClusterIdentifier - The
-- unique identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
--
-- $sel:snapshotIdentifier:DeleteClusterSnapshotMessage',
-- deleteClusterSnapshotMessage_snapshotIdentifier - The unique
-- identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
newDeleteClusterSnapshotMessage :: Text -> DeleteClusterSnapshotMessage
-- | The unique identifier of the cluster the snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
deleteClusterSnapshotMessage_snapshotClusterIdentifier :: Lens' DeleteClusterSnapshotMessage (Maybe Text)
-- | The unique identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
deleteClusterSnapshotMessage_snapshotIdentifier :: Lens' DeleteClusterSnapshotMessage Text
instance GHC.Generics.Generic Amazonka.Redshift.Types.DeleteClusterSnapshotMessage.DeleteClusterSnapshotMessage
instance GHC.Show.Show Amazonka.Redshift.Types.DeleteClusterSnapshotMessage.DeleteClusterSnapshotMessage
instance GHC.Read.Read Amazonka.Redshift.Types.DeleteClusterSnapshotMessage.DeleteClusterSnapshotMessage
instance GHC.Classes.Eq Amazonka.Redshift.Types.DeleteClusterSnapshotMessage.DeleteClusterSnapshotMessage
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.DeleteClusterSnapshotMessage.DeleteClusterSnapshotMessage
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.DeleteClusterSnapshotMessage.DeleteClusterSnapshotMessage
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.DeleteClusterSnapshotMessage.DeleteClusterSnapshotMessage
module Amazonka.Redshift.Types.ElasticIpStatus
-- | Describes the status of the elastic IP (EIP) address.
--
-- See: newElasticIpStatus smart constructor.
data ElasticIpStatus
ElasticIpStatus' :: Maybe Text -> Maybe Text -> ElasticIpStatus
-- | The elastic IP (EIP) address for the cluster.
[$sel:elasticIp:ElasticIpStatus'] :: ElasticIpStatus -> Maybe Text
-- | The status of the elastic IP (EIP) address.
[$sel:status:ElasticIpStatus'] :: ElasticIpStatus -> Maybe Text
-- | Create a value of ElasticIpStatus 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:elasticIp:ElasticIpStatus',
-- elasticIpStatus_elasticIp - The elastic IP (EIP) address for
-- the cluster.
--
-- $sel:status:ElasticIpStatus', elasticIpStatus_status -
-- The status of the elastic IP (EIP) address.
newElasticIpStatus :: ElasticIpStatus
-- | The elastic IP (EIP) address for the cluster.
elasticIpStatus_elasticIp :: Lens' ElasticIpStatus (Maybe Text)
-- | The status of the elastic IP (EIP) address.
elasticIpStatus_status :: Lens' ElasticIpStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ElasticIpStatus.ElasticIpStatus
instance GHC.Show.Show Amazonka.Redshift.Types.ElasticIpStatus.ElasticIpStatus
instance GHC.Read.Read Amazonka.Redshift.Types.ElasticIpStatus.ElasticIpStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.ElasticIpStatus.ElasticIpStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ElasticIpStatus.ElasticIpStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ElasticIpStatus.ElasticIpStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ElasticIpStatus.ElasticIpStatus
module Amazonka.Redshift.Types.EndpointAuthorization
-- | Describes an endpoint authorization for authorizing Redshift-managed
-- VPC endpoint access to a cluster across Amazon Web Services accounts.
--
-- See: newEndpointAuthorization smart constructor.
data EndpointAuthorization
EndpointAuthorization' :: Maybe Bool -> Maybe [Text] -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe AuthorizationStatus -> EndpointAuthorization
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
[$sel:allowedAllVPCs:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Bool
-- | The VPCs allowed access to the cluster.
[$sel:allowedVPCs:EndpointAuthorization'] :: EndpointAuthorization -> Maybe [Text]
-- | The time (UTC) when the authorization was created.
[$sel:authorizeTime:EndpointAuthorization'] :: EndpointAuthorization -> Maybe ISO8601
-- | The cluster identifier.
[$sel:clusterIdentifier:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The status of the cluster.
[$sel:clusterStatus:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
[$sel:endpointCount:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Int
-- | The Amazon Web Services account ID of the grantee of the cluster.
[$sel:grantee:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The Amazon Web Services account ID of the cluster owner.
[$sel:grantor:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The status of the authorization action.
[$sel:status:EndpointAuthorization'] :: EndpointAuthorization -> Maybe AuthorizationStatus
-- | Create a value of EndpointAuthorization 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:allowedAllVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedAllVPCs - Indicates whether all
-- VPCs in the grantee account are allowed access to the cluster.
--
-- $sel:allowedVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedVPCs - The VPCs allowed access to
-- the cluster.
--
-- $sel:authorizeTime:EndpointAuthorization',
-- endpointAuthorization_authorizeTime - The time (UTC) when the
-- authorization was created.
--
-- $sel:clusterIdentifier:EndpointAuthorization',
-- endpointAuthorization_clusterIdentifier - The cluster
-- identifier.
--
-- $sel:clusterStatus:EndpointAuthorization',
-- endpointAuthorization_clusterStatus - The status of the
-- cluster.
--
-- $sel:endpointCount:EndpointAuthorization',
-- endpointAuthorization_endpointCount - The number of
-- Redshift-managed VPC endpoints created for the authorization.
--
-- $sel:grantee:EndpointAuthorization',
-- endpointAuthorization_grantee - The Amazon Web Services account
-- ID of the grantee of the cluster.
--
-- $sel:grantor:EndpointAuthorization',
-- endpointAuthorization_grantor - The Amazon Web Services account
-- ID of the cluster owner.
--
-- $sel:status:EndpointAuthorization',
-- endpointAuthorization_status - The status of the authorization
-- action.
newEndpointAuthorization :: EndpointAuthorization
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool)
-- | The VPCs allowed access to the cluster.
endpointAuthorization_allowedVPCs :: Lens' EndpointAuthorization (Maybe [Text])
-- | The time (UTC) when the authorization was created.
endpointAuthorization_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime)
-- | The cluster identifier.
endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the cluster.
endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text)
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int)
-- | The Amazon Web Services account ID of the grantee of the cluster.
endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text)
-- | The Amazon Web Services account ID of the cluster owner.
endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the authorization action.
endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus)
instance GHC.Generics.Generic Amazonka.Redshift.Types.EndpointAuthorization.EndpointAuthorization
instance GHC.Show.Show Amazonka.Redshift.Types.EndpointAuthorization.EndpointAuthorization
instance GHC.Read.Read Amazonka.Redshift.Types.EndpointAuthorization.EndpointAuthorization
instance GHC.Classes.Eq Amazonka.Redshift.Types.EndpointAuthorization.EndpointAuthorization
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.EndpointAuthorization.EndpointAuthorization
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.EndpointAuthorization.EndpointAuthorization
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.EndpointAuthorization.EndpointAuthorization
module Amazonka.Redshift.Types.EventInfoMap
-- | Describes event information.
--
-- See: newEventInfoMap smart constructor.
data EventInfoMap
EventInfoMap' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> EventInfoMap
-- | The category of an Amazon Redshift event.
[$sel:eventCategories:EventInfoMap'] :: EventInfoMap -> Maybe [Text]
-- | The description of an Amazon Redshift event.
[$sel:eventDescription:EventInfoMap'] :: EventInfoMap -> Maybe Text
-- | The identifier of an Amazon Redshift event.
[$sel:eventId:EventInfoMap'] :: EventInfoMap -> Maybe Text
-- | The severity of the event.
--
-- Values: ERROR, INFO
[$sel:severity:EventInfoMap'] :: EventInfoMap -> Maybe Text
-- | Create a value of EventInfoMap 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:eventCategories:EventInfoMap',
-- eventInfoMap_eventCategories - The category of an Amazon
-- Redshift event.
--
-- $sel:eventDescription:EventInfoMap',
-- eventInfoMap_eventDescription - The description of an Amazon
-- Redshift event.
--
-- $sel:eventId:EventInfoMap', eventInfoMap_eventId - The
-- identifier of an Amazon Redshift event.
--
-- $sel:severity:EventInfoMap', eventInfoMap_severity - The
-- severity of the event.
--
-- Values: ERROR, INFO
newEventInfoMap :: EventInfoMap
-- | The category of an Amazon Redshift event.
eventInfoMap_eventCategories :: Lens' EventInfoMap (Maybe [Text])
-- | The description of an Amazon Redshift event.
eventInfoMap_eventDescription :: Lens' EventInfoMap (Maybe Text)
-- | The identifier of an Amazon Redshift event.
eventInfoMap_eventId :: Lens' EventInfoMap (Maybe Text)
-- | The severity of the event.
--
-- Values: ERROR, INFO
eventInfoMap_severity :: Lens' EventInfoMap (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.EventInfoMap.EventInfoMap
instance GHC.Show.Show Amazonka.Redshift.Types.EventInfoMap.EventInfoMap
instance GHC.Read.Read Amazonka.Redshift.Types.EventInfoMap.EventInfoMap
instance GHC.Classes.Eq Amazonka.Redshift.Types.EventInfoMap.EventInfoMap
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.EventInfoMap.EventInfoMap
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.EventInfoMap.EventInfoMap
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.EventInfoMap.EventInfoMap
module Amazonka.Redshift.Types.EventCategoriesMap
-- | Describes event categories.
--
-- See: newEventCategoriesMap smart constructor.
data EventCategoriesMap
EventCategoriesMap' :: Maybe [EventInfoMap] -> Maybe Text -> EventCategoriesMap
-- | The events in the event category.
[$sel:events:EventCategoriesMap'] :: EventCategoriesMap -> Maybe [EventInfoMap]
-- | The source type, such as cluster or cluster-snapshot, that the
-- returned categories belong to.
[$sel:sourceType:EventCategoriesMap'] :: EventCategoriesMap -> Maybe Text
-- | Create a value of EventCategoriesMap 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:events:EventCategoriesMap',
-- eventCategoriesMap_events - The events in the event category.
--
-- $sel:sourceType:EventCategoriesMap',
-- eventCategoriesMap_sourceType - The source type, such as
-- cluster or cluster-snapshot, that the returned categories belong to.
newEventCategoriesMap :: EventCategoriesMap
-- | The events in the event category.
eventCategoriesMap_events :: Lens' EventCategoriesMap (Maybe [EventInfoMap])
-- | The source type, such as cluster or cluster-snapshot, that the
-- returned categories belong to.
eventCategoriesMap_sourceType :: Lens' EventCategoriesMap (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.EventCategoriesMap.EventCategoriesMap
instance GHC.Show.Show Amazonka.Redshift.Types.EventCategoriesMap.EventCategoriesMap
instance GHC.Read.Read Amazonka.Redshift.Types.EventCategoriesMap.EventCategoriesMap
instance GHC.Classes.Eq Amazonka.Redshift.Types.EventCategoriesMap.EventCategoriesMap
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.EventCategoriesMap.EventCategoriesMap
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.EventCategoriesMap.EventCategoriesMap
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.EventCategoriesMap.EventCategoriesMap
module Amazonka.Redshift.Types.HsmStatus
-- | Describes the status of changes to HSM settings.
--
-- See: newHsmStatus smart constructor.
data HsmStatus
HsmStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> HsmStatus
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
[$sel:hsmClientCertificateIdentifier:HsmStatus'] :: HsmStatus -> Maybe Text
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
[$sel:hsmConfigurationIdentifier:HsmStatus'] :: HsmStatus -> Maybe Text
-- | Reports whether the Amazon Redshift cluster has finished applying any
-- HSM settings changes specified in a modify cluster command.
--
-- Values: active, applying
[$sel:status:HsmStatus'] :: HsmStatus -> Maybe Text
-- | Create a value of HsmStatus 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:hsmClientCertificateIdentifier:HsmStatus',
-- hsmStatus_hsmClientCertificateIdentifier - Specifies the name
-- of the HSM client certificate the Amazon Redshift cluster uses to
-- retrieve the data encryption keys stored in an HSM.
--
-- $sel:hsmConfigurationIdentifier:HsmStatus',
-- hsmStatus_hsmConfigurationIdentifier - Specifies the name of
-- the HSM configuration that contains the information the Amazon
-- Redshift cluster can use to retrieve and store keys in an HSM.
--
-- $sel:status:HsmStatus', hsmStatus_status - Reports
-- whether the Amazon Redshift cluster has finished applying any HSM
-- settings changes specified in a modify cluster command.
--
-- Values: active, applying
newHsmStatus :: HsmStatus
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
hsmStatus_hsmClientCertificateIdentifier :: Lens' HsmStatus (Maybe Text)
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
hsmStatus_hsmConfigurationIdentifier :: Lens' HsmStatus (Maybe Text)
-- | Reports whether the Amazon Redshift cluster has finished applying any
-- HSM settings changes specified in a modify cluster command.
--
-- Values: active, applying
hsmStatus_status :: Lens' HsmStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.HsmStatus.HsmStatus
instance GHC.Show.Show Amazonka.Redshift.Types.HsmStatus.HsmStatus
instance GHC.Read.Read Amazonka.Redshift.Types.HsmStatus.HsmStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.HsmStatus.HsmStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.HsmStatus.HsmStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.HsmStatus.HsmStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.HsmStatus.HsmStatus
module Amazonka.Redshift.Types.LogDestinationType
newtype LogDestinationType
LogDestinationType' :: Text -> LogDestinationType
[fromLogDestinationType] :: LogDestinationType -> Text
pattern LogDestinationType_Cloudwatch :: LogDestinationType
pattern LogDestinationType_S3 :: LogDestinationType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance GHC.Generics.Generic Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance GHC.Classes.Ord Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance GHC.Classes.Eq Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance GHC.Read.Read Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
instance GHC.Show.Show Amazonka.Redshift.Types.LogDestinationType.LogDestinationType
module Amazonka.Redshift.Types.LoggingStatus
-- | Describes the status of logging for a cluster.
--
-- See: newLoggingStatus smart constructor.
data LoggingStatus
LoggingStatus' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Bool -> Maybe Text -> LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
[$sel:bucketName:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | The message indicating that logs failed to be delivered.
[$sel:lastFailureMessage:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | The last time when logs failed to be delivered.
[$sel:lastFailureTime:LoggingStatus'] :: LoggingStatus -> Maybe ISO8601
-- | The last time that logs were delivered.
[$sel:lastSuccessfulDeliveryTime:LoggingStatus'] :: LoggingStatus -> Maybe ISO8601
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
[$sel:logDestinationType:LoggingStatus'] :: LoggingStatus -> Maybe LogDestinationType
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
[$sel:logExports:LoggingStatus'] :: LoggingStatus -> Maybe [Text]
-- | true if logging is on, false if logging is off.
[$sel:loggingEnabled:LoggingStatus'] :: LoggingStatus -> Maybe Bool
-- | The prefix applied to the log file names.
[$sel:s3KeyPrefix:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | Create a value of LoggingStatus 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:bucketName:LoggingStatus', loggingStatus_bucketName
-- - The name of the S3 bucket where the log files are stored.
--
-- $sel:lastFailureMessage:LoggingStatus',
-- loggingStatus_lastFailureMessage - The message indicating that
-- logs failed to be delivered.
--
-- $sel:lastFailureTime:LoggingStatus',
-- loggingStatus_lastFailureTime - The last time when logs failed
-- to be delivered.
--
-- $sel:lastSuccessfulDeliveryTime:LoggingStatus',
-- loggingStatus_lastSuccessfulDeliveryTime - The last time that
-- logs were delivered.
--
-- $sel:logDestinationType:LoggingStatus',
-- loggingStatus_logDestinationType - The log destination type. An
-- enum with possible values of s3 and cloudwatch.
--
-- $sel:logExports:LoggingStatus', loggingStatus_logExports
-- - The collection of exported log types. Log types include the
-- connection log, user log and user activity log.
--
-- $sel:loggingEnabled:LoggingStatus',
-- loggingStatus_loggingEnabled - true if logging is on,
-- false if logging is off.
--
-- $sel:s3KeyPrefix:LoggingStatus',
-- loggingStatus_s3KeyPrefix - The prefix applied to the log file
-- names.
newLoggingStatus :: LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text)
-- | The message indicating that logs failed to be delivered.
loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | The last time when logs failed to be delivered.
loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
loggingStatus_logDestinationType :: Lens' LoggingStatus (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
loggingStatus_logExports :: Lens' LoggingStatus (Maybe [Text])
-- | true if logging is on, false if logging is off.
loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The prefix applied to the log file names.
loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.LoggingStatus.LoggingStatus
instance GHC.Show.Show Amazonka.Redshift.Types.LoggingStatus.LoggingStatus
instance GHC.Read.Read Amazonka.Redshift.Types.LoggingStatus.LoggingStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.LoggingStatus.LoggingStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.LoggingStatus.LoggingStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.LoggingStatus.LoggingStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.LoggingStatus.LoggingStatus
module Amazonka.Redshift.Types.Mode
newtype Mode
Mode' :: Text -> Mode
[fromMode] :: Mode -> Text
pattern Mode_High_performance :: Mode
pattern Mode_Standard :: Mode
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.Mode.Mode
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.Mode.Mode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.Mode.Mode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.Mode.Mode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.Mode.Mode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.Mode.Mode
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.Mode.Mode
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.Mode.Mode
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.Mode.Mode
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.Mode.Mode
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.Mode.Mode
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.Mode.Mode
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.Mode.Mode
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.Mode.Mode
instance GHC.Generics.Generic Amazonka.Redshift.Types.Mode.Mode
instance GHC.Classes.Ord Amazonka.Redshift.Types.Mode.Mode
instance GHC.Classes.Eq Amazonka.Redshift.Types.Mode.Mode
instance GHC.Read.Read Amazonka.Redshift.Types.Mode.Mode
instance GHC.Show.Show Amazonka.Redshift.Types.Mode.Mode
module Amazonka.Redshift.Types.NetworkInterface
-- | Describes a network interface.
--
-- 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 network interface identifier.
[$sel:networkInterfaceId:NetworkInterface'] :: NetworkInterface -> Maybe Text
-- | The IPv4 address of the network interface within the subnet.
[$sel:privateIpAddress:NetworkInterface'] :: NetworkInterface -> Maybe Text
-- | The subnet identifier.
[$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 network interface
-- identifier.
--
-- $sel:privateIpAddress:NetworkInterface',
-- networkInterface_privateIpAddress - The IPv4 address of the
-- network interface within the subnet.
--
-- $sel:subnetId:NetworkInterface',
-- networkInterface_subnetId - The subnet identifier.
newNetworkInterface :: NetworkInterface
-- | The Availability Zone.
networkInterface_availabilityZone :: Lens' NetworkInterface (Maybe Text)
-- | The network interface identifier.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
-- | The IPv4 address of the network interface within the subnet.
networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text)
-- | The subnet identifier.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.NetworkInterface.NetworkInterface
instance GHC.Show.Show Amazonka.Redshift.Types.NetworkInterface.NetworkInterface
instance GHC.Read.Read Amazonka.Redshift.Types.NetworkInterface.NetworkInterface
instance GHC.Classes.Eq Amazonka.Redshift.Types.NetworkInterface.NetworkInterface
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.NetworkInterface.NetworkInterface
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.NetworkInterface.NetworkInterface
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.NetworkInterface.NetworkInterface
module Amazonka.Redshift.Types.NodeConfigurationOption
-- | A list of node configurations.
--
-- See: newNodeConfigurationOption smart constructor.
data NodeConfigurationOption
NodeConfigurationOption' :: Maybe Double -> Maybe Mode -> Maybe Text -> Maybe Int -> NodeConfigurationOption
-- | The estimated disk utilizaton percentage.
[$sel:estimatedDiskUtilizationPercent:NodeConfigurationOption'] :: NodeConfigurationOption -> Maybe Double
-- | The category of the node configuration recommendation.
[$sel:mode:NodeConfigurationOption'] :: NodeConfigurationOption -> Maybe Mode
-- | The node type, such as, "ds2.8xlarge".
[$sel:nodeType:NodeConfigurationOption'] :: NodeConfigurationOption -> Maybe Text
-- | The number of nodes.
[$sel:numberOfNodes:NodeConfigurationOption'] :: NodeConfigurationOption -> Maybe Int
-- | Create a value of NodeConfigurationOption 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:estimatedDiskUtilizationPercent:NodeConfigurationOption',
-- nodeConfigurationOption_estimatedDiskUtilizationPercent - The
-- estimated disk utilizaton percentage.
--
-- $sel:mode:NodeConfigurationOption',
-- nodeConfigurationOption_mode - The category of the node
-- configuration recommendation.
--
-- $sel:nodeType:NodeConfigurationOption',
-- nodeConfigurationOption_nodeType - The node type, such as,
-- "ds2.8xlarge".
--
-- $sel:numberOfNodes:NodeConfigurationOption',
-- nodeConfigurationOption_numberOfNodes - The number of nodes.
newNodeConfigurationOption :: NodeConfigurationOption
-- | The estimated disk utilizaton percentage.
nodeConfigurationOption_estimatedDiskUtilizationPercent :: Lens' NodeConfigurationOption (Maybe Double)
-- | The category of the node configuration recommendation.
nodeConfigurationOption_mode :: Lens' NodeConfigurationOption (Maybe Mode)
-- | The node type, such as, "ds2.8xlarge".
nodeConfigurationOption_nodeType :: Lens' NodeConfigurationOption (Maybe Text)
-- | The number of nodes.
nodeConfigurationOption_numberOfNodes :: Lens' NodeConfigurationOption (Maybe Int)
instance GHC.Generics.Generic Amazonka.Redshift.Types.NodeConfigurationOption.NodeConfigurationOption
instance GHC.Show.Show Amazonka.Redshift.Types.NodeConfigurationOption.NodeConfigurationOption
instance GHC.Read.Read Amazonka.Redshift.Types.NodeConfigurationOption.NodeConfigurationOption
instance GHC.Classes.Eq Amazonka.Redshift.Types.NodeConfigurationOption.NodeConfigurationOption
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.NodeConfigurationOption.NodeConfigurationOption
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.NodeConfigurationOption.NodeConfigurationOption
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.NodeConfigurationOption.NodeConfigurationOption
module Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName
newtype NodeConfigurationOptionsFilterName
NodeConfigurationOptionsFilterName' :: Text -> NodeConfigurationOptionsFilterName
[fromNodeConfigurationOptionsFilterName] :: NodeConfigurationOptionsFilterName -> Text
pattern NodeConfigurationOptionsFilterName_EstimatedDiskUtilizationPercent :: NodeConfigurationOptionsFilterName
pattern NodeConfigurationOptionsFilterName_Mode :: NodeConfigurationOptionsFilterName
pattern NodeConfigurationOptionsFilterName_NodeType :: NodeConfigurationOptionsFilterName
pattern NodeConfigurationOptionsFilterName_NumberOfNodes :: NodeConfigurationOptionsFilterName
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance GHC.Generics.Generic Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance GHC.Classes.Ord Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance GHC.Classes.Eq Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance GHC.Read.Read Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
instance GHC.Show.Show Amazonka.Redshift.Types.NodeConfigurationOptionsFilterName.NodeConfigurationOptionsFilterName
module Amazonka.Redshift.Types.OperatorType
newtype OperatorType
OperatorType' :: Text -> OperatorType
[fromOperatorType] :: OperatorType -> Text
pattern OperatorType_Between :: OperatorType
pattern OperatorType_Eq :: OperatorType
pattern OperatorType_Ge :: OperatorType
pattern OperatorType_Gt :: OperatorType
pattern OperatorType_In :: OperatorType
pattern OperatorType_Le :: OperatorType
pattern OperatorType_Lt :: OperatorType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.OperatorType.OperatorType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.OperatorType.OperatorType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.OperatorType.OperatorType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.OperatorType.OperatorType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.OperatorType.OperatorType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.OperatorType.OperatorType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.OperatorType.OperatorType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.OperatorType.OperatorType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.OperatorType.OperatorType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.OperatorType.OperatorType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.OperatorType.OperatorType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.OperatorType.OperatorType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.OperatorType.OperatorType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.OperatorType.OperatorType
instance GHC.Generics.Generic Amazonka.Redshift.Types.OperatorType.OperatorType
instance GHC.Classes.Ord Amazonka.Redshift.Types.OperatorType.OperatorType
instance GHC.Classes.Eq Amazonka.Redshift.Types.OperatorType.OperatorType
instance GHC.Read.Read Amazonka.Redshift.Types.OperatorType.OperatorType
instance GHC.Show.Show Amazonka.Redshift.Types.OperatorType.OperatorType
module Amazonka.Redshift.Types.NodeConfigurationOptionsFilter
-- | A set of elements to filter the returned node configurations.
--
-- See: newNodeConfigurationOptionsFilter smart
-- constructor.
data NodeConfigurationOptionsFilter
NodeConfigurationOptionsFilter' :: Maybe NodeConfigurationOptionsFilterName -> Maybe OperatorType -> Maybe [Text] -> NodeConfigurationOptionsFilter
-- | The name of the element to filter.
[$sel:name:NodeConfigurationOptionsFilter'] :: NodeConfigurationOptionsFilter -> Maybe NodeConfigurationOptionsFilterName
-- | The filter operator. If filter Name is NodeType only the 'in' operator
-- is supported. Provide one value to evaluate for 'eq', 'lt', 'le',
-- 'gt', and 'ge'. Provide two values to evaluate for 'between'. Provide
-- a list of values for 'in'.
[$sel:operator:NodeConfigurationOptionsFilter'] :: NodeConfigurationOptionsFilter -> Maybe OperatorType
-- | List of values. Compare Name using Operator to Values. If filter Name
-- is NumberOfNodes, then values can range from 0 to 200. If filter Name
-- is EstimatedDiskUtilizationPercent, then values can range from 0 to
-- 100. For example, filter NumberOfNodes (name) GT (operator) 3
-- (values).
[$sel:values:NodeConfigurationOptionsFilter'] :: NodeConfigurationOptionsFilter -> Maybe [Text]
-- | Create a value of NodeConfigurationOptionsFilter 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:name:NodeConfigurationOptionsFilter',
-- nodeConfigurationOptionsFilter_name - The name of the element
-- to filter.
--
-- $sel:operator:NodeConfigurationOptionsFilter',
-- nodeConfigurationOptionsFilter_operator - The filter operator.
-- If filter Name is NodeType only the 'in' operator is supported.
-- Provide one value to evaluate for 'eq', 'lt', 'le', 'gt', and 'ge'.
-- Provide two values to evaluate for 'between'. Provide a list of values
-- for 'in'.
--
-- $sel:values:NodeConfigurationOptionsFilter',
-- nodeConfigurationOptionsFilter_values - List of values. Compare
-- Name using Operator to Values. If filter Name is NumberOfNodes, then
-- values can range from 0 to 200. If filter Name is
-- EstimatedDiskUtilizationPercent, then values can range from 0 to 100.
-- For example, filter NumberOfNodes (name) GT (operator) 3 (values).
newNodeConfigurationOptionsFilter :: NodeConfigurationOptionsFilter
-- | The name of the element to filter.
nodeConfigurationOptionsFilter_name :: Lens' NodeConfigurationOptionsFilter (Maybe NodeConfigurationOptionsFilterName)
-- | The filter operator. If filter Name is NodeType only the 'in' operator
-- is supported. Provide one value to evaluate for 'eq', 'lt', 'le',
-- 'gt', and 'ge'. Provide two values to evaluate for 'between'. Provide
-- a list of values for 'in'.
nodeConfigurationOptionsFilter_operator :: Lens' NodeConfigurationOptionsFilter (Maybe OperatorType)
-- | List of values. Compare Name using Operator to Values. If filter Name
-- is NumberOfNodes, then values can range from 0 to 200. If filter Name
-- is EstimatedDiskUtilizationPercent, then values can range from 0 to
-- 100. For example, filter NumberOfNodes (name) GT (operator) 3
-- (values).
nodeConfigurationOptionsFilter_values :: Lens' NodeConfigurationOptionsFilter (Maybe [Text])
instance GHC.Generics.Generic Amazonka.Redshift.Types.NodeConfigurationOptionsFilter.NodeConfigurationOptionsFilter
instance GHC.Show.Show Amazonka.Redshift.Types.NodeConfigurationOptionsFilter.NodeConfigurationOptionsFilter
instance GHC.Read.Read Amazonka.Redshift.Types.NodeConfigurationOptionsFilter.NodeConfigurationOptionsFilter
instance GHC.Classes.Eq Amazonka.Redshift.Types.NodeConfigurationOptionsFilter.NodeConfigurationOptionsFilter
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.NodeConfigurationOptionsFilter.NodeConfigurationOptionsFilter
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.NodeConfigurationOptionsFilter.NodeConfigurationOptionsFilter
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.NodeConfigurationOptionsFilter.NodeConfigurationOptionsFilter
module Amazonka.Redshift.Types.ParameterApplyType
newtype ParameterApplyType
ParameterApplyType' :: Text -> ParameterApplyType
[fromParameterApplyType] :: ParameterApplyType -> Text
pattern ParameterApplyType_Dynamic :: ParameterApplyType
pattern ParameterApplyType_Static :: ParameterApplyType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance GHC.Generics.Generic Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance GHC.Classes.Ord Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance GHC.Classes.Eq Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance GHC.Read.Read Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
instance GHC.Show.Show Amazonka.Redshift.Types.ParameterApplyType.ParameterApplyType
module Amazonka.Redshift.Types.Parameter
-- | Describes a parameter in a cluster parameter group.
--
-- See: newParameter smart constructor.
data Parameter
Parameter' :: Maybe Text -> Maybe ParameterApplyType -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Parameter
-- | The valid range of values for the parameter.
[$sel:allowedValues:Parameter'] :: Parameter -> Maybe Text
-- | Specifies how to apply the WLM configuration parameter. Some
-- properties can be applied dynamically, while other properties require
-- that any associated clusters be rebooted for the configuration changes
-- to be applied. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
[$sel:applyType:Parameter'] :: Parameter -> Maybe ParameterApplyType
-- | The data type of the parameter.
[$sel:dataType:Parameter'] :: Parameter -> Maybe Text
-- | A description of the parameter.
[$sel:description:Parameter'] :: Parameter -> Maybe Text
-- | If true, the parameter can be modified. Some parameters have
-- security or operational implications that prevent them from being
-- changed.
[$sel:isModifiable:Parameter'] :: Parameter -> Maybe Bool
-- | The earliest engine version to which the parameter can apply.
[$sel:minimumEngineVersion:Parameter'] :: Parameter -> Maybe Text
-- | The name of the parameter.
[$sel:parameterName:Parameter'] :: Parameter -> Maybe Text
-- | The value of the parameter. If ParameterName is
-- wlm_json_configuration, then the maximum size of
-- ParameterValue is 8000 characters.
[$sel:parameterValue:Parameter'] :: Parameter -> Maybe Text
-- | The source of the parameter value, such as "engine-default" or "user".
[$sel:source:Parameter'] :: Parameter -> Maybe Text
-- | Create a value of Parameter 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:allowedValues:Parameter', parameter_allowedValues -
-- The valid range of values for the parameter.
--
-- $sel:applyType:Parameter', parameter_applyType -
-- Specifies how to apply the WLM configuration parameter. Some
-- properties can be applied dynamically, while other properties require
-- that any associated clusters be rebooted for the configuration changes
-- to be applied. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
--
-- $sel:dataType:Parameter', parameter_dataType - The data
-- type of the parameter.
--
-- $sel:description:Parameter', parameter_description - A
-- description of the parameter.
--
-- $sel:isModifiable:Parameter', parameter_isModifiable -
-- If true, the parameter can be modified. Some parameters have
-- security or operational implications that prevent them from being
-- changed.
--
-- $sel:minimumEngineVersion:Parameter',
-- parameter_minimumEngineVersion - The earliest engine version to
-- which the parameter can apply.
--
-- $sel:parameterName:Parameter', parameter_parameterName -
-- The name of the parameter.
--
-- $sel:parameterValue:Parameter', parameter_parameterValue
-- - The value of the parameter. If ParameterName is
-- wlm_json_configuration, then the maximum size of
-- ParameterValue is 8000 characters.
--
-- $sel:source:Parameter', parameter_source - The source of
-- the parameter value, such as "engine-default" or "user".
newParameter :: Parameter
-- | The valid range of values for the parameter.
parameter_allowedValues :: Lens' Parameter (Maybe Text)
-- | Specifies how to apply the WLM configuration parameter. Some
-- properties can be applied dynamically, while other properties require
-- that any associated clusters be rebooted for the configuration changes
-- to be applied. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
parameter_applyType :: Lens' Parameter (Maybe ParameterApplyType)
-- | The data type of the parameter.
parameter_dataType :: Lens' Parameter (Maybe Text)
-- | A description of the parameter.
parameter_description :: Lens' Parameter (Maybe Text)
-- | If true, the parameter can be modified. Some parameters have
-- security or operational implications that prevent them from being
-- changed.
parameter_isModifiable :: Lens' Parameter (Maybe Bool)
-- | The earliest engine version to which the parameter can apply.
parameter_minimumEngineVersion :: Lens' Parameter (Maybe Text)
-- | The name of the parameter.
parameter_parameterName :: Lens' Parameter (Maybe Text)
-- | The value of the parameter. If ParameterName is
-- wlm_json_configuration, then the maximum size of
-- ParameterValue is 8000 characters.
parameter_parameterValue :: Lens' Parameter (Maybe Text)
-- | The source of the parameter value, such as "engine-default" or "user".
parameter_source :: Lens' Parameter (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.Parameter.Parameter
instance GHC.Show.Show Amazonka.Redshift.Types.Parameter.Parameter
instance GHC.Read.Read Amazonka.Redshift.Types.Parameter.Parameter
instance GHC.Classes.Eq Amazonka.Redshift.Types.Parameter.Parameter
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.Parameter.Parameter
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.Parameter.Parameter
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.Parameter.Parameter
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.Parameter.Parameter
module Amazonka.Redshift.Types.DefaultClusterParameters
-- | Describes the default cluster parameters for a parameter group family.
--
-- See: newDefaultClusterParameters smart constructor.
data DefaultClusterParameters
DefaultClusterParameters' :: Maybe Text -> Maybe Text -> Maybe [Parameter] -> DefaultClusterParameters
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DefaultClusterParameters'] :: DefaultClusterParameters -> Maybe Text
-- | The name of the cluster parameter group family to which the engine
-- default parameters apply.
[$sel:parameterGroupFamily:DefaultClusterParameters'] :: DefaultClusterParameters -> Maybe Text
-- | The list of cluster default parameters.
[$sel:parameters:DefaultClusterParameters'] :: DefaultClusterParameters -> Maybe [Parameter]
-- | Create a value of DefaultClusterParameters 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:marker:DefaultClusterParameters',
-- defaultClusterParameters_marker - A value that indicates the
-- starting point for the next set of response records in a subsequent
-- request. If a value is returned in a response, you can retrieve the
-- next set of records by providing this returned marker value in the
-- Marker parameter and retrying the command. If the
-- Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:parameterGroupFamily:DefaultClusterParameters',
-- defaultClusterParameters_parameterGroupFamily - The name of the
-- cluster parameter group family to which the engine default parameters
-- apply.
--
-- $sel:parameters:DefaultClusterParameters',
-- defaultClusterParameters_parameters - The list of cluster
-- default parameters.
newDefaultClusterParameters :: DefaultClusterParameters
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
defaultClusterParameters_marker :: Lens' DefaultClusterParameters (Maybe Text)
-- | The name of the cluster parameter group family to which the engine
-- default parameters apply.
defaultClusterParameters_parameterGroupFamily :: Lens' DefaultClusterParameters (Maybe Text)
-- | The list of cluster default parameters.
defaultClusterParameters_parameters :: Lens' DefaultClusterParameters (Maybe [Parameter])
instance GHC.Generics.Generic Amazonka.Redshift.Types.DefaultClusterParameters.DefaultClusterParameters
instance GHC.Show.Show Amazonka.Redshift.Types.DefaultClusterParameters.DefaultClusterParameters
instance GHC.Read.Read Amazonka.Redshift.Types.DefaultClusterParameters.DefaultClusterParameters
instance GHC.Classes.Eq Amazonka.Redshift.Types.DefaultClusterParameters.DefaultClusterParameters
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.DefaultClusterParameters.DefaultClusterParameters
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.DefaultClusterParameters.DefaultClusterParameters
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.DefaultClusterParameters.DefaultClusterParameters
module Amazonka.Redshift.Types.PartnerIntegrationInputMessage
-- | See: newPartnerIntegrationInputMessage smart
-- constructor.
data PartnerIntegrationInputMessage
PartnerIntegrationInputMessage' :: Text -> Text -> Text -> Text -> PartnerIntegrationInputMessage
-- | The Amazon Web Services account ID that owns the cluster.
[$sel:accountId:PartnerIntegrationInputMessage'] :: PartnerIntegrationInputMessage -> Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
[$sel:clusterIdentifier:PartnerIntegrationInputMessage'] :: PartnerIntegrationInputMessage -> Text
-- | The name of the database that receives data from the partner.
[$sel:databaseName:PartnerIntegrationInputMessage'] :: PartnerIntegrationInputMessage -> Text
-- | The name of the partner that is authorized to send data.
[$sel:partnerName:PartnerIntegrationInputMessage'] :: PartnerIntegrationInputMessage -> Text
-- | Create a value of PartnerIntegrationInputMessage 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:accountId:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_accountId - The Amazon Web
-- Services account ID that owns the cluster.
--
-- $sel:clusterIdentifier:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_clusterIdentifier - The cluster
-- identifier of the cluster that receives data from the partner.
--
-- $sel:databaseName:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationInputMessage :: Text -> Text -> Text -> Text -> PartnerIntegrationInputMessage
-- | The Amazon Web Services account ID that owns the cluster.
partnerIntegrationInputMessage_accountId :: Lens' PartnerIntegrationInputMessage Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
partnerIntegrationInputMessage_clusterIdentifier :: Lens' PartnerIntegrationInputMessage Text
-- | The name of the database that receives data from the partner.
partnerIntegrationInputMessage_databaseName :: Lens' PartnerIntegrationInputMessage Text
-- | The name of the partner that is authorized to send data.
partnerIntegrationInputMessage_partnerName :: Lens' PartnerIntegrationInputMessage Text
instance GHC.Generics.Generic Amazonka.Redshift.Types.PartnerIntegrationInputMessage.PartnerIntegrationInputMessage
instance GHC.Show.Show Amazonka.Redshift.Types.PartnerIntegrationInputMessage.PartnerIntegrationInputMessage
instance GHC.Read.Read Amazonka.Redshift.Types.PartnerIntegrationInputMessage.PartnerIntegrationInputMessage
instance GHC.Classes.Eq Amazonka.Redshift.Types.PartnerIntegrationInputMessage.PartnerIntegrationInputMessage
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.PartnerIntegrationInputMessage.PartnerIntegrationInputMessage
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.PartnerIntegrationInputMessage.PartnerIntegrationInputMessage
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.PartnerIntegrationInputMessage.PartnerIntegrationInputMessage
module Amazonka.Redshift.Types.PartnerIntegrationOutputMessage
-- | See: newPartnerIntegrationOutputMessage smart
-- constructor.
data PartnerIntegrationOutputMessage
PartnerIntegrationOutputMessage' :: Maybe Text -> Maybe Text -> PartnerIntegrationOutputMessage
-- | The name of the database that receives data from the partner.
[$sel:databaseName:PartnerIntegrationOutputMessage'] :: PartnerIntegrationOutputMessage -> Maybe Text
-- | The name of the partner that is authorized to send data.
[$sel:partnerName:PartnerIntegrationOutputMessage'] :: PartnerIntegrationOutputMessage -> Maybe Text
-- | Create a value of PartnerIntegrationOutputMessage 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:databaseName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage
-- | The name of the database that receives data from the partner.
partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the partner that is authorized to send data.
partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.PartnerIntegrationOutputMessage.PartnerIntegrationOutputMessage
instance GHC.Show.Show Amazonka.Redshift.Types.PartnerIntegrationOutputMessage.PartnerIntegrationOutputMessage
instance GHC.Read.Read Amazonka.Redshift.Types.PartnerIntegrationOutputMessage.PartnerIntegrationOutputMessage
instance GHC.Classes.Eq Amazonka.Redshift.Types.PartnerIntegrationOutputMessage.PartnerIntegrationOutputMessage
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.PartnerIntegrationOutputMessage.PartnerIntegrationOutputMessage
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.PartnerIntegrationOutputMessage.PartnerIntegrationOutputMessage
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.PartnerIntegrationOutputMessage.PartnerIntegrationOutputMessage
module Amazonka.Redshift.Types.PartnerIntegrationStatus
newtype PartnerIntegrationStatus
PartnerIntegrationStatus' :: Text -> PartnerIntegrationStatus
[fromPartnerIntegrationStatus] :: PartnerIntegrationStatus -> Text
pattern PartnerIntegrationStatus_Active :: PartnerIntegrationStatus
pattern PartnerIntegrationStatus_ConnectionFailure :: PartnerIntegrationStatus
pattern PartnerIntegrationStatus_Inactive :: PartnerIntegrationStatus
pattern PartnerIntegrationStatus_RuntimeFailure :: PartnerIntegrationStatus
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance GHC.Generics.Generic Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance GHC.Classes.Ord Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance GHC.Read.Read Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
instance GHC.Show.Show Amazonka.Redshift.Types.PartnerIntegrationStatus.PartnerIntegrationStatus
module Amazonka.Redshift.Types.PartnerIntegrationInfo
-- | Describes a partner integration.
--
-- See: newPartnerIntegrationInfo smart constructor.
data PartnerIntegrationInfo
PartnerIntegrationInfo' :: Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe PartnerIntegrationStatus -> Maybe Text -> Maybe ISO8601 -> PartnerIntegrationInfo
-- | The date (UTC) that the partner integration was created.
[$sel:createdAt:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe ISO8601
-- | The name of the database that receives data from a partner.
[$sel:databaseName:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe Text
-- | The name of the partner.
[$sel:partnerName:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe Text
-- | The partner integration status.
[$sel:status:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe PartnerIntegrationStatus
-- | The status message provided by the partner.
[$sel:statusMessage:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe Text
-- | The date (UTC) that the partner integration status was last updated by
-- the partner.
[$sel:updatedAt:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe ISO8601
-- | Create a value of PartnerIntegrationInfo 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:createdAt:PartnerIntegrationInfo',
-- partnerIntegrationInfo_createdAt - The date (UTC) that the
-- partner integration was created.
--
-- $sel:databaseName:PartnerIntegrationInfo',
-- partnerIntegrationInfo_databaseName - The name of the database
-- that receives data from a partner.
--
-- $sel:partnerName:PartnerIntegrationInfo',
-- partnerIntegrationInfo_partnerName - The name of the partner.
--
-- $sel:status:PartnerIntegrationInfo',
-- partnerIntegrationInfo_status - The partner integration status.
--
-- $sel:statusMessage:PartnerIntegrationInfo',
-- partnerIntegrationInfo_statusMessage - The status message
-- provided by the partner.
--
-- $sel:updatedAt:PartnerIntegrationInfo',
-- partnerIntegrationInfo_updatedAt - The date (UTC) that the
-- partner integration status was last updated by the partner.
newPartnerIntegrationInfo :: PartnerIntegrationInfo
-- | The date (UTC) that the partner integration was created.
partnerIntegrationInfo_createdAt :: Lens' PartnerIntegrationInfo (Maybe UTCTime)
-- | The name of the database that receives data from a partner.
partnerIntegrationInfo_databaseName :: Lens' PartnerIntegrationInfo (Maybe Text)
-- | The name of the partner.
partnerIntegrationInfo_partnerName :: Lens' PartnerIntegrationInfo (Maybe Text)
-- | The partner integration status.
partnerIntegrationInfo_status :: Lens' PartnerIntegrationInfo (Maybe PartnerIntegrationStatus)
-- | The status message provided by the partner.
partnerIntegrationInfo_statusMessage :: Lens' PartnerIntegrationInfo (Maybe Text)
-- | The date (UTC) that the partner integration status was last updated by
-- the partner.
partnerIntegrationInfo_updatedAt :: Lens' PartnerIntegrationInfo (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.Redshift.Types.PartnerIntegrationInfo.PartnerIntegrationInfo
instance GHC.Show.Show Amazonka.Redshift.Types.PartnerIntegrationInfo.PartnerIntegrationInfo
instance GHC.Read.Read Amazonka.Redshift.Types.PartnerIntegrationInfo.PartnerIntegrationInfo
instance GHC.Classes.Eq Amazonka.Redshift.Types.PartnerIntegrationInfo.PartnerIntegrationInfo
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.PartnerIntegrationInfo.PartnerIntegrationInfo
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.PartnerIntegrationInfo.PartnerIntegrationInfo
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.PartnerIntegrationInfo.PartnerIntegrationInfo
module Amazonka.Redshift.Types.PauseClusterMessage
-- | Describes a pause cluster operation. For example, a scheduled action
-- to run the PauseCluster API operation.
--
-- See: newPauseClusterMessage smart constructor.
data PauseClusterMessage
PauseClusterMessage' :: Text -> PauseClusterMessage
-- | The identifier of the cluster to be paused.
[$sel:clusterIdentifier:PauseClusterMessage'] :: PauseClusterMessage -> Text
-- | Create a value of PauseClusterMessage 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:clusterIdentifier:PauseClusterMessage',
-- pauseClusterMessage_clusterIdentifier - The identifier of the
-- cluster to be paused.
newPauseClusterMessage :: Text -> PauseClusterMessage
-- | The identifier of the cluster to be paused.
pauseClusterMessage_clusterIdentifier :: Lens' PauseClusterMessage Text
instance GHC.Generics.Generic Amazonka.Redshift.Types.PauseClusterMessage.PauseClusterMessage
instance GHC.Show.Show Amazonka.Redshift.Types.PauseClusterMessage.PauseClusterMessage
instance GHC.Read.Read Amazonka.Redshift.Types.PauseClusterMessage.PauseClusterMessage
instance GHC.Classes.Eq Amazonka.Redshift.Types.PauseClusterMessage.PauseClusterMessage
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.PauseClusterMessage.PauseClusterMessage
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.PauseClusterMessage.PauseClusterMessage
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.PauseClusterMessage.PauseClusterMessage
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.PauseClusterMessage.PauseClusterMessage
module Amazonka.Redshift.Types.PendingModifiedValues
-- | Describes cluster attributes that are in a pending state. A change to
-- one or more the attributes was requested and is in progress or will be
-- applied.
--
-- See: newPendingModifiedValues smart constructor.
data PendingModifiedValues
PendingModifiedValues' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Bool -> PendingModifiedValues
-- | The pending or in-progress change of the automated snapshot retention
-- period.
[$sel:automatedSnapshotRetentionPeriod:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Int
-- | The pending or in-progress change of the new identifier for the
-- cluster.
[$sel:clusterIdentifier:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The pending or in-progress change of the cluster type.
[$sel:clusterType:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The pending or in-progress change of the service version.
[$sel:clusterVersion:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The encryption type for a cluster. Possible values are: KMS and None.
[$sel:encryptionType:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
[$sel:enhancedVpcRouting:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Bool
-- | The name of the maintenance track that the cluster will change to
-- during the next maintenance window.
[$sel:maintenanceTrackName:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The pending or in-progress change of the admin user password for the
-- cluster.
[$sel:masterUserPassword:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The pending or in-progress change of the cluster's node type.
[$sel:nodeType:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The pending or in-progress change of the number of nodes in the
-- cluster.
[$sel:numberOfNodes:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Int
-- | The pending or in-progress change of the ability to connect to the
-- cluster from the public network.
[$sel:publiclyAccessible:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Bool
-- | Create a value of PendingModifiedValues 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:automatedSnapshotRetentionPeriod:PendingModifiedValues',
-- pendingModifiedValues_automatedSnapshotRetentionPeriod - The
-- pending or in-progress change of the automated snapshot retention
-- period.
--
-- $sel:clusterIdentifier:PendingModifiedValues',
-- pendingModifiedValues_clusterIdentifier - The pending or
-- in-progress change of the new identifier for the cluster.
--
-- $sel:clusterType:PendingModifiedValues',
-- pendingModifiedValues_clusterType - The pending or in-progress
-- change of the cluster type.
--
-- $sel:clusterVersion:PendingModifiedValues',
-- pendingModifiedValues_clusterVersion - The pending or
-- in-progress change of the service version.
--
-- $sel:encryptionType:PendingModifiedValues',
-- pendingModifiedValues_encryptionType - The encryption type for
-- a cluster. Possible values are: KMS and None.
--
-- $sel:enhancedVpcRouting:PendingModifiedValues',
-- pendingModifiedValues_enhancedVpcRouting - An option that
-- specifies whether to create the cluster with enhanced VPC routing
-- enabled. To create a cluster that uses enhanced VPC routing, the
-- cluster must be in a VPC. For more information, see Enhanced VPC
-- Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- $sel:maintenanceTrackName:PendingModifiedValues',
-- pendingModifiedValues_maintenanceTrackName - The name of the
-- maintenance track that the cluster will change to during the next
-- maintenance window.
--
-- $sel:masterUserPassword:PendingModifiedValues',
-- pendingModifiedValues_masterUserPassword - The pending or
-- in-progress change of the admin user password for the cluster.
--
-- $sel:nodeType:PendingModifiedValues',
-- pendingModifiedValues_nodeType - The pending or in-progress
-- change of the cluster's node type.
--
-- $sel:numberOfNodes:PendingModifiedValues',
-- pendingModifiedValues_numberOfNodes - The pending or
-- in-progress change of the number of nodes in the cluster.
--
-- $sel:publiclyAccessible:PendingModifiedValues',
-- pendingModifiedValues_publiclyAccessible - The pending or
-- in-progress change of the ability to connect to the cluster from the
-- public network.
newPendingModifiedValues :: PendingModifiedValues
-- | The pending or in-progress change of the automated snapshot retention
-- period.
pendingModifiedValues_automatedSnapshotRetentionPeriod :: Lens' PendingModifiedValues (Maybe Int)
-- | The pending or in-progress change of the new identifier for the
-- cluster.
pendingModifiedValues_clusterIdentifier :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the cluster type.
pendingModifiedValues_clusterType :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the service version.
pendingModifiedValues_clusterVersion :: Lens' PendingModifiedValues (Maybe Text)
-- | The encryption type for a cluster. Possible values are: KMS and None.
pendingModifiedValues_encryptionType :: Lens' PendingModifiedValues (Maybe Text)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
pendingModifiedValues_enhancedVpcRouting :: Lens' PendingModifiedValues (Maybe Bool)
-- | The name of the maintenance track that the cluster will change to
-- during the next maintenance window.
pendingModifiedValues_maintenanceTrackName :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the admin user password for the
-- cluster.
pendingModifiedValues_masterUserPassword :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the cluster's node type.
pendingModifiedValues_nodeType :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the number of nodes in the
-- cluster.
pendingModifiedValues_numberOfNodes :: Lens' PendingModifiedValues (Maybe Int)
-- | The pending or in-progress change of the ability to connect to the
-- cluster from the public network.
pendingModifiedValues_publiclyAccessible :: Lens' PendingModifiedValues (Maybe Bool)
instance GHC.Generics.Generic Amazonka.Redshift.Types.PendingModifiedValues.PendingModifiedValues
instance GHC.Show.Show Amazonka.Redshift.Types.PendingModifiedValues.PendingModifiedValues
instance GHC.Read.Read Amazonka.Redshift.Types.PendingModifiedValues.PendingModifiedValues
instance GHC.Classes.Eq Amazonka.Redshift.Types.PendingModifiedValues.PendingModifiedValues
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.PendingModifiedValues.PendingModifiedValues
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.PendingModifiedValues.PendingModifiedValues
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.PendingModifiedValues.PendingModifiedValues
module Amazonka.Redshift.Types.RecurringCharge
-- | Describes a recurring charge.
--
-- See: newRecurringCharge smart constructor.
data RecurringCharge
RecurringCharge' :: Maybe Double -> Maybe Text -> RecurringCharge
-- | The amount charged per the period of time specified by the recurring
-- charge frequency.
[$sel:recurringChargeAmount:RecurringCharge'] :: RecurringCharge -> Maybe Double
-- | The frequency at which the recurring charge amount is applied.
[$sel:recurringChargeFrequency:RecurringCharge'] :: RecurringCharge -> Maybe Text
-- | Create a value of RecurringCharge 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:recurringChargeAmount:RecurringCharge',
-- recurringCharge_recurringChargeAmount - The amount charged per
-- the period of time specified by the recurring charge frequency.
--
-- $sel:recurringChargeFrequency:RecurringCharge',
-- recurringCharge_recurringChargeFrequency - The frequency at
-- which the recurring charge amount is applied.
newRecurringCharge :: RecurringCharge
-- | The amount charged per the period of time specified by the recurring
-- charge frequency.
recurringCharge_recurringChargeAmount :: Lens' RecurringCharge (Maybe Double)
-- | The frequency at which the recurring charge amount is applied.
recurringCharge_recurringChargeFrequency :: Lens' RecurringCharge (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.RecurringCharge.RecurringCharge
instance GHC.Show.Show Amazonka.Redshift.Types.RecurringCharge.RecurringCharge
instance GHC.Read.Read Amazonka.Redshift.Types.RecurringCharge.RecurringCharge
instance GHC.Classes.Eq Amazonka.Redshift.Types.RecurringCharge.RecurringCharge
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.RecurringCharge.RecurringCharge
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.RecurringCharge.RecurringCharge
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.RecurringCharge.RecurringCharge
module Amazonka.Redshift.Types.ReservedNodeExchangeActionType
newtype ReservedNodeExchangeActionType
ReservedNodeExchangeActionType' :: Text -> ReservedNodeExchangeActionType
[fromReservedNodeExchangeActionType] :: ReservedNodeExchangeActionType -> Text
pattern ReservedNodeExchangeActionType_Resize_cluster :: ReservedNodeExchangeActionType
pattern ReservedNodeExchangeActionType_Restore_cluster :: ReservedNodeExchangeActionType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance GHC.Generics.Generic Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance GHC.Classes.Ord Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance GHC.Classes.Eq Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance GHC.Read.Read Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
instance GHC.Show.Show Amazonka.Redshift.Types.ReservedNodeExchangeActionType.ReservedNodeExchangeActionType
module Amazonka.Redshift.Types.ReservedNodeExchangeStatusType
newtype ReservedNodeExchangeStatusType
ReservedNodeExchangeStatusType' :: Text -> ReservedNodeExchangeStatusType
[fromReservedNodeExchangeStatusType] :: ReservedNodeExchangeStatusType -> Text
pattern ReservedNodeExchangeStatusType_FAILED :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_IN_PROGRESS :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_PENDING :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_REQUESTED :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_RETRYING :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_SUCCEEDED :: ReservedNodeExchangeStatusType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance GHC.Generics.Generic Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance GHC.Classes.Ord Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance GHC.Classes.Eq Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance GHC.Read.Read Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
instance GHC.Show.Show Amazonka.Redshift.Types.ReservedNodeExchangeStatusType.ReservedNodeExchangeStatusType
module Amazonka.Redshift.Types.ReservedNodeExchangeStatus
-- | Reserved-node status details, such as the source reserved-node
-- identifier, the target reserved-node identifier, the node type, the
-- node count, and other details.
--
-- See: newReservedNodeExchangeStatus smart constructor.
data ReservedNodeExchangeStatus
ReservedNodeExchangeStatus' :: Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ReservedNodeExchangeStatusType -> Maybe Int -> Maybe Text -> Maybe Text -> ReservedNodeExchangeStatus
-- | A date and time that indicate when the reserved-node exchange was
-- requested.
[$sel:requestTime:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe ISO8601
-- | The identifier of the reserved-node exchange request.
[$sel:reservedNodeExchangeRequestId:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Text
-- | The source reserved-node count in the cluster.
[$sel:sourceReservedNodeCount:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Int
-- | The identifier of the source reserved node.
[$sel:sourceReservedNodeId:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Text
-- | The source reserved-node type, for example ds2.xlarge.
[$sel:sourceReservedNodeType:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Text
-- | The status of the reserved-node exchange request. Statuses include
-- in-progress and requested.
[$sel:status:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe ReservedNodeExchangeStatusType
-- | The count of target reserved nodes in the cluster.
[$sel:targetReservedNodeCount:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Int
-- | The identifier of the target reserved node offering.
[$sel:targetReservedNodeOfferingId:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Text
-- | The node type of the target reserved node, for example ra3.4xlarge.
[$sel:targetReservedNodeType:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Text
-- | Create a value of ReservedNodeExchangeStatus 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:requestTime:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_requestTime - A date and time that
-- indicate when the reserved-node exchange was requested.
--
-- $sel:reservedNodeExchangeRequestId:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_reservedNodeExchangeRequestId - The
-- identifier of the reserved-node exchange request.
--
-- $sel:sourceReservedNodeCount:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_sourceReservedNodeCount - The source
-- reserved-node count in the cluster.
--
-- $sel:sourceReservedNodeId:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_sourceReservedNodeId - The
-- identifier of the source reserved node.
--
-- $sel:sourceReservedNodeType:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_sourceReservedNodeType - The source
-- reserved-node type, for example ds2.xlarge.
--
-- $sel:status:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_status - The status of the
-- reserved-node exchange request. Statuses include in-progress and
-- requested.
--
-- $sel:targetReservedNodeCount:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_targetReservedNodeCount - The count
-- of target reserved nodes in the cluster.
--
-- $sel:targetReservedNodeOfferingId:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_targetReservedNodeOfferingId - The
-- identifier of the target reserved node offering.
--
-- $sel:targetReservedNodeType:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_targetReservedNodeType - The node
-- type of the target reserved node, for example ra3.4xlarge.
newReservedNodeExchangeStatus :: ReservedNodeExchangeStatus
-- | A date and time that indicate when the reserved-node exchange was
-- requested.
reservedNodeExchangeStatus_requestTime :: Lens' ReservedNodeExchangeStatus (Maybe UTCTime)
-- | The identifier of the reserved-node exchange request.
reservedNodeExchangeStatus_reservedNodeExchangeRequestId :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The source reserved-node count in the cluster.
reservedNodeExchangeStatus_sourceReservedNodeCount :: Lens' ReservedNodeExchangeStatus (Maybe Int)
-- | The identifier of the source reserved node.
reservedNodeExchangeStatus_sourceReservedNodeId :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The source reserved-node type, for example ds2.xlarge.
reservedNodeExchangeStatus_sourceReservedNodeType :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The status of the reserved-node exchange request. Statuses include
-- in-progress and requested.
reservedNodeExchangeStatus_status :: Lens' ReservedNodeExchangeStatus (Maybe ReservedNodeExchangeStatusType)
-- | The count of target reserved nodes in the cluster.
reservedNodeExchangeStatus_targetReservedNodeCount :: Lens' ReservedNodeExchangeStatus (Maybe Int)
-- | The identifier of the target reserved node offering.
reservedNodeExchangeStatus_targetReservedNodeOfferingId :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The node type of the target reserved node, for example ra3.4xlarge.
reservedNodeExchangeStatus_targetReservedNodeType :: Lens' ReservedNodeExchangeStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ReservedNodeExchangeStatus.ReservedNodeExchangeStatus
instance GHC.Show.Show Amazonka.Redshift.Types.ReservedNodeExchangeStatus.ReservedNodeExchangeStatus
instance GHC.Read.Read Amazonka.Redshift.Types.ReservedNodeExchangeStatus.ReservedNodeExchangeStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.ReservedNodeExchangeStatus.ReservedNodeExchangeStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ReservedNodeExchangeStatus.ReservedNodeExchangeStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ReservedNodeExchangeStatus.ReservedNodeExchangeStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ReservedNodeExchangeStatus.ReservedNodeExchangeStatus
module Amazonka.Redshift.Types.ReservedNodeOfferingType
newtype ReservedNodeOfferingType
ReservedNodeOfferingType' :: Text -> ReservedNodeOfferingType
[fromReservedNodeOfferingType] :: ReservedNodeOfferingType -> Text
pattern ReservedNodeOfferingType_Regular :: ReservedNodeOfferingType
pattern ReservedNodeOfferingType_Upgradable :: ReservedNodeOfferingType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance GHC.Generics.Generic Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance GHC.Classes.Ord Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance GHC.Classes.Eq Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance GHC.Read.Read Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
instance GHC.Show.Show Amazonka.Redshift.Types.ReservedNodeOfferingType.ReservedNodeOfferingType
module Amazonka.Redshift.Types.ReservedNodeOffering
-- | Describes a reserved node offering.
--
-- See: newReservedNodeOffering smart constructor.
data ReservedNodeOffering
ReservedNodeOffering' :: Maybe Text -> Maybe Int -> Maybe Double -> Maybe Text -> Maybe Text -> Maybe [RecurringCharge] -> Maybe Text -> Maybe ReservedNodeOfferingType -> Maybe Double -> ReservedNodeOffering
-- | The currency code for the compute nodes offering.
[$sel:currencyCode:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Text
-- | The duration, in seconds, for which the offering will reserve the
-- node.
[$sel:duration:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Int
-- | The upfront fixed charge you will pay to purchase the specific
-- reserved node offering.
[$sel:fixedPrice:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Double
-- | The node type offered by the reserved node offering.
[$sel:nodeType:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Text
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
[$sel:offeringType:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Text
-- | The charge to your account regardless of whether you are creating any
-- clusters using the node offering. Recurring charges are only in effect
-- for heavy-utilization reserved nodes.
[$sel:recurringCharges:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe [RecurringCharge]
-- | The offering identifier.
[$sel:reservedNodeOfferingId:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Text
[$sel:reservedNodeOfferingType:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe ReservedNodeOfferingType
-- | The rate you are charged for each hour the cluster that is using the
-- offering is running.
[$sel:usagePrice:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Double
-- | Create a value of ReservedNodeOffering 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:currencyCode:ReservedNodeOffering',
-- reservedNodeOffering_currencyCode - The currency code for the
-- compute nodes offering.
--
-- $sel:duration:ReservedNodeOffering',
-- reservedNodeOffering_duration - The duration, in seconds, for
-- which the offering will reserve the node.
--
-- $sel:fixedPrice:ReservedNodeOffering',
-- reservedNodeOffering_fixedPrice - The upfront fixed charge you
-- will pay to purchase the specific reserved node offering.
--
-- $sel:nodeType:ReservedNodeOffering',
-- reservedNodeOffering_nodeType - The node type offered by the
-- reserved node offering.
--
-- $sel:offeringType:ReservedNodeOffering',
-- reservedNodeOffering_offeringType - The anticipated utilization
-- of the reserved node, as defined in the reserved node offering.
--
-- $sel:recurringCharges:ReservedNodeOffering',
-- reservedNodeOffering_recurringCharges - The charge to your
-- account regardless of whether you are creating any clusters using the
-- node offering. Recurring charges are only in effect for
-- heavy-utilization reserved nodes.
--
-- $sel:reservedNodeOfferingId:ReservedNodeOffering',
-- reservedNodeOffering_reservedNodeOfferingId - The offering
-- identifier.
--
-- $sel:reservedNodeOfferingType:ReservedNodeOffering',
-- reservedNodeOffering_reservedNodeOfferingType -
--
-- $sel:usagePrice:ReservedNodeOffering',
-- reservedNodeOffering_usagePrice - The rate you are charged for
-- each hour the cluster that is using the offering is running.
newReservedNodeOffering :: ReservedNodeOffering
-- | The currency code for the compute nodes offering.
reservedNodeOffering_currencyCode :: Lens' ReservedNodeOffering (Maybe Text)
-- | The duration, in seconds, for which the offering will reserve the
-- node.
reservedNodeOffering_duration :: Lens' ReservedNodeOffering (Maybe Int)
-- | The upfront fixed charge you will pay to purchase the specific
-- reserved node offering.
reservedNodeOffering_fixedPrice :: Lens' ReservedNodeOffering (Maybe Double)
-- | The node type offered by the reserved node offering.
reservedNodeOffering_nodeType :: Lens' ReservedNodeOffering (Maybe Text)
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
reservedNodeOffering_offeringType :: Lens' ReservedNodeOffering (Maybe Text)
-- | The charge to your account regardless of whether you are creating any
-- clusters using the node offering. Recurring charges are only in effect
-- for heavy-utilization reserved nodes.
reservedNodeOffering_recurringCharges :: Lens' ReservedNodeOffering (Maybe [RecurringCharge])
-- | The offering identifier.
reservedNodeOffering_reservedNodeOfferingId :: Lens' ReservedNodeOffering (Maybe Text)
reservedNodeOffering_reservedNodeOfferingType :: Lens' ReservedNodeOffering (Maybe ReservedNodeOfferingType)
-- | The rate you are charged for each hour the cluster that is using the
-- offering is running.
reservedNodeOffering_usagePrice :: Lens' ReservedNodeOffering (Maybe Double)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ReservedNodeOffering.ReservedNodeOffering
instance GHC.Show.Show Amazonka.Redshift.Types.ReservedNodeOffering.ReservedNodeOffering
instance GHC.Read.Read Amazonka.Redshift.Types.ReservedNodeOffering.ReservedNodeOffering
instance GHC.Classes.Eq Amazonka.Redshift.Types.ReservedNodeOffering.ReservedNodeOffering
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ReservedNodeOffering.ReservedNodeOffering
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ReservedNodeOffering.ReservedNodeOffering
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ReservedNodeOffering.ReservedNodeOffering
module Amazonka.Redshift.Types.ReservedNode
-- | Describes a reserved node. You can call the
-- DescribeReservedNodeOfferings API to obtain the available reserved
-- node offerings.
--
-- See: newReservedNode smart constructor.
data ReservedNode
ReservedNode' :: Maybe Text -> Maybe Int -> Maybe Double -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [RecurringCharge] -> Maybe Text -> Maybe Text -> Maybe ReservedNodeOfferingType -> Maybe ISO8601 -> Maybe Text -> Maybe Double -> ReservedNode
-- | The currency code for the reserved cluster.
[$sel:currencyCode:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The duration of the node reservation in seconds.
[$sel:duration:ReservedNode'] :: ReservedNode -> Maybe Int
-- | The fixed cost Amazon Redshift charges you for this reserved node.
[$sel:fixedPrice:ReservedNode'] :: ReservedNode -> Maybe Double
-- | The number of reserved compute nodes.
[$sel:nodeCount:ReservedNode'] :: ReservedNode -> Maybe Int
-- | The node type of the reserved node.
[$sel:nodeType:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
[$sel:offeringType:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The recurring charges for the reserved node.
[$sel:recurringCharges:ReservedNode'] :: ReservedNode -> Maybe [RecurringCharge]
-- | The unique identifier for the reservation.
[$sel:reservedNodeId:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The identifier for the reserved node offering.
[$sel:reservedNodeOfferingId:ReservedNode'] :: ReservedNode -> Maybe Text
[$sel:reservedNodeOfferingType:ReservedNode'] :: ReservedNode -> Maybe ReservedNodeOfferingType
-- | The time the reservation started. You purchase a reserved node
-- offering for a duration. This is the start time of that duration.
[$sel:startTime:ReservedNode'] :: ReservedNode -> Maybe ISO8601
-- | The state of the reserved compute node.
--
-- Possible Values:
--
--
-- - pending-payment-This reserved node has recently been purchased,
-- and the sale has been approved, but payment has not yet been
-- confirmed.
-- - active-This reserved node is owned by the caller and is available
-- for use.
-- - payment-failed-Payment failed for the purchase attempt.
-- - retired-The reserved node is no longer available.
-- - exchanging-The owner is exchanging the reserved node for another
-- reserved node.
--
[$sel:state:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The hourly rate Amazon Redshift charges you for this reserved node.
[$sel:usagePrice:ReservedNode'] :: ReservedNode -> Maybe Double
-- | Create a value of ReservedNode 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:currencyCode:ReservedNode',
-- reservedNode_currencyCode - The currency code for the reserved
-- cluster.
--
-- $sel:duration:ReservedNode', reservedNode_duration - The
-- duration of the node reservation in seconds.
--
-- $sel:fixedPrice:ReservedNode', reservedNode_fixedPrice -
-- The fixed cost Amazon Redshift charges you for this reserved node.
--
-- $sel:nodeCount:ReservedNode', reservedNode_nodeCount -
-- The number of reserved compute nodes.
--
-- $sel:nodeType:ReservedNode', reservedNode_nodeType - The
-- node type of the reserved node.
--
-- $sel:offeringType:ReservedNode',
-- reservedNode_offeringType - The anticipated utilization of the
-- reserved node, as defined in the reserved node offering.
--
-- $sel:recurringCharges:ReservedNode',
-- reservedNode_recurringCharges - The recurring charges for the
-- reserved node.
--
-- $sel:reservedNodeId:ReservedNode',
-- reservedNode_reservedNodeId - The unique identifier for the
-- reservation.
--
-- $sel:reservedNodeOfferingId:ReservedNode',
-- reservedNode_reservedNodeOfferingId - The identifier for the
-- reserved node offering.
--
-- $sel:reservedNodeOfferingType:ReservedNode',
-- reservedNode_reservedNodeOfferingType -
--
-- $sel:startTime:ReservedNode', reservedNode_startTime -
-- The time the reservation started. You purchase a reserved node
-- offering for a duration. This is the start time of that duration.
--
-- $sel:state:ReservedNode', reservedNode_state - The state
-- of the reserved compute node.
--
-- Possible Values:
--
--
-- - pending-payment-This reserved node has recently been purchased,
-- and the sale has been approved, but payment has not yet been
-- confirmed.
-- - active-This reserved node is owned by the caller and is available
-- for use.
-- - payment-failed-Payment failed for the purchase attempt.
-- - retired-The reserved node is no longer available.
-- - exchanging-The owner is exchanging the reserved node for another
-- reserved node.
--
--
-- $sel:usagePrice:ReservedNode', reservedNode_usagePrice -
-- The hourly rate Amazon Redshift charges you for this reserved node.
newReservedNode :: ReservedNode
-- | The currency code for the reserved cluster.
reservedNode_currencyCode :: Lens' ReservedNode (Maybe Text)
-- | The duration of the node reservation in seconds.
reservedNode_duration :: Lens' ReservedNode (Maybe Int)
-- | The fixed cost Amazon Redshift charges you for this reserved node.
reservedNode_fixedPrice :: Lens' ReservedNode (Maybe Double)
-- | The number of reserved compute nodes.
reservedNode_nodeCount :: Lens' ReservedNode (Maybe Int)
-- | The node type of the reserved node.
reservedNode_nodeType :: Lens' ReservedNode (Maybe Text)
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
reservedNode_offeringType :: Lens' ReservedNode (Maybe Text)
-- | The recurring charges for the reserved node.
reservedNode_recurringCharges :: Lens' ReservedNode (Maybe [RecurringCharge])
-- | The unique identifier for the reservation.
reservedNode_reservedNodeId :: Lens' ReservedNode (Maybe Text)
-- | The identifier for the reserved node offering.
reservedNode_reservedNodeOfferingId :: Lens' ReservedNode (Maybe Text)
reservedNode_reservedNodeOfferingType :: Lens' ReservedNode (Maybe ReservedNodeOfferingType)
-- | The time the reservation started. You purchase a reserved node
-- offering for a duration. This is the start time of that duration.
reservedNode_startTime :: Lens' ReservedNode (Maybe UTCTime)
-- | The state of the reserved compute node.
--
-- Possible Values:
--
--
-- - pending-payment-This reserved node has recently been purchased,
-- and the sale has been approved, but payment has not yet been
-- confirmed.
-- - active-This reserved node is owned by the caller and is available
-- for use.
-- - payment-failed-Payment failed for the purchase attempt.
-- - retired-The reserved node is no longer available.
-- - exchanging-The owner is exchanging the reserved node for another
-- reserved node.
--
reservedNode_state :: Lens' ReservedNode (Maybe Text)
-- | The hourly rate Amazon Redshift charges you for this reserved node.
reservedNode_usagePrice :: Lens' ReservedNode (Maybe Double)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ReservedNode.ReservedNode
instance GHC.Show.Show Amazonka.Redshift.Types.ReservedNode.ReservedNode
instance GHC.Read.Read Amazonka.Redshift.Types.ReservedNode.ReservedNode
instance GHC.Classes.Eq Amazonka.Redshift.Types.ReservedNode.ReservedNode
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ReservedNode.ReservedNode
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ReservedNode.ReservedNode
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ReservedNode.ReservedNode
module Amazonka.Redshift.Types.ReservedNodeConfigurationOption
-- | Details for a reserved-node exchange. Examples include the node type
-- for a reserved node, the price for a node, the node's state, and other
-- details.
--
-- See: newReservedNodeConfigurationOption smart
-- constructor.
data ReservedNodeConfigurationOption
ReservedNodeConfigurationOption' :: Maybe ReservedNode -> Maybe Int -> Maybe ReservedNodeOffering -> ReservedNodeConfigurationOption
[$sel:sourceReservedNode:ReservedNodeConfigurationOption'] :: ReservedNodeConfigurationOption -> Maybe ReservedNode
-- | The target reserved-node count.
[$sel:targetReservedNodeCount:ReservedNodeConfigurationOption'] :: ReservedNodeConfigurationOption -> Maybe Int
[$sel:targetReservedNodeOffering:ReservedNodeConfigurationOption'] :: ReservedNodeConfigurationOption -> Maybe ReservedNodeOffering
-- | Create a value of ReservedNodeConfigurationOption 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:sourceReservedNode:ReservedNodeConfigurationOption',
-- reservedNodeConfigurationOption_sourceReservedNode -
-- Undocumented member.
--
-- $sel:targetReservedNodeCount:ReservedNodeConfigurationOption',
-- reservedNodeConfigurationOption_targetReservedNodeCount - The
-- target reserved-node count.
--
--
-- $sel:targetReservedNodeOffering:ReservedNodeConfigurationOption',
-- reservedNodeConfigurationOption_targetReservedNodeOffering -
-- Undocumented member.
newReservedNodeConfigurationOption :: ReservedNodeConfigurationOption
-- | Undocumented member.
reservedNodeConfigurationOption_sourceReservedNode :: Lens' ReservedNodeConfigurationOption (Maybe ReservedNode)
-- | The target reserved-node count.
reservedNodeConfigurationOption_targetReservedNodeCount :: Lens' ReservedNodeConfigurationOption (Maybe Int)
-- | Undocumented member.
reservedNodeConfigurationOption_targetReservedNodeOffering :: Lens' ReservedNodeConfigurationOption (Maybe ReservedNodeOffering)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ReservedNodeConfigurationOption.ReservedNodeConfigurationOption
instance GHC.Show.Show Amazonka.Redshift.Types.ReservedNodeConfigurationOption.ReservedNodeConfigurationOption
instance GHC.Read.Read Amazonka.Redshift.Types.ReservedNodeConfigurationOption.ReservedNodeConfigurationOption
instance GHC.Classes.Eq Amazonka.Redshift.Types.ReservedNodeConfigurationOption.ReservedNodeConfigurationOption
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ReservedNodeConfigurationOption.ReservedNodeConfigurationOption
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ReservedNodeConfigurationOption.ReservedNodeConfigurationOption
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ReservedNodeConfigurationOption.ReservedNodeConfigurationOption
module Amazonka.Redshift.Types.ResizeClusterMessage
-- | Describes a resize cluster operation. For example, a scheduled action
-- to run the ResizeCluster API operation.
--
-- See: newResizeClusterMessage smart constructor.
data ResizeClusterMessage
ResizeClusterMessage' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Text -> ResizeClusterMessage
-- | A boolean value indicating whether the resize operation is using the
-- classic resize process. If you don't provide this parameter or set the
-- value to false, the resize type is elastic.
[$sel:classic:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Bool
-- | The new cluster type for the specified cluster.
[$sel:clusterType:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Text
-- | The new node type for the nodes you are adding. If not specified, the
-- cluster's current node type is used.
[$sel:nodeType:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Text
-- | The new number of nodes for the cluster. If not specified, the
-- cluster's current number of nodes is used.
[$sel:numberOfNodes:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Int
-- | The identifier of the reserved node.
[$sel:reservedNodeId:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Text
-- | The identifier of the target reserved node offering.
[$sel:targetReservedNodeOfferingId:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Text
-- | The unique identifier for the cluster to resize.
[$sel:clusterIdentifier:ResizeClusterMessage'] :: ResizeClusterMessage -> Text
-- | Create a value of ResizeClusterMessage 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:classic:ResizeClusterMessage',
-- resizeClusterMessage_classic - A boolean value indicating
-- whether the resize operation is using the classic resize process. If
-- you don't provide this parameter or set the value to false,
-- the resize type is elastic.
--
-- $sel:clusterType:ResizeClusterMessage',
-- resizeClusterMessage_clusterType - The new cluster type for the
-- specified cluster.
--
-- $sel:nodeType:ResizeClusterMessage',
-- resizeClusterMessage_nodeType - The new node type for the nodes
-- you are adding. If not specified, the cluster's current node type is
-- used.
--
-- $sel:numberOfNodes:ResizeClusterMessage',
-- resizeClusterMessage_numberOfNodes - The new number of nodes
-- for the cluster. If not specified, the cluster's current number of
-- nodes is used.
--
-- $sel:reservedNodeId:ResizeClusterMessage',
-- resizeClusterMessage_reservedNodeId - The identifier of the
-- reserved node.
--
-- $sel:targetReservedNodeOfferingId:ResizeClusterMessage',
-- resizeClusterMessage_targetReservedNodeOfferingId - The
-- identifier of the target reserved node offering.
--
-- $sel:clusterIdentifier:ResizeClusterMessage',
-- resizeClusterMessage_clusterIdentifier - The unique identifier
-- for the cluster to resize.
newResizeClusterMessage :: Text -> ResizeClusterMessage
-- | A boolean value indicating whether the resize operation is using the
-- classic resize process. If you don't provide this parameter or set the
-- value to false, the resize type is elastic.
resizeClusterMessage_classic :: Lens' ResizeClusterMessage (Maybe Bool)
-- | The new cluster type for the specified cluster.
resizeClusterMessage_clusterType :: Lens' ResizeClusterMessage (Maybe Text)
-- | The new node type for the nodes you are adding. If not specified, the
-- cluster's current node type is used.
resizeClusterMessage_nodeType :: Lens' ResizeClusterMessage (Maybe Text)
-- | The new number of nodes for the cluster. If not specified, the
-- cluster's current number of nodes is used.
resizeClusterMessage_numberOfNodes :: Lens' ResizeClusterMessage (Maybe Int)
-- | The identifier of the reserved node.
resizeClusterMessage_reservedNodeId :: Lens' ResizeClusterMessage (Maybe Text)
-- | The identifier of the target reserved node offering.
resizeClusterMessage_targetReservedNodeOfferingId :: Lens' ResizeClusterMessage (Maybe Text)
-- | The unique identifier for the cluster to resize.
resizeClusterMessage_clusterIdentifier :: Lens' ResizeClusterMessage Text
instance GHC.Generics.Generic Amazonka.Redshift.Types.ResizeClusterMessage.ResizeClusterMessage
instance GHC.Show.Show Amazonka.Redshift.Types.ResizeClusterMessage.ResizeClusterMessage
instance GHC.Read.Read Amazonka.Redshift.Types.ResizeClusterMessage.ResizeClusterMessage
instance GHC.Classes.Eq Amazonka.Redshift.Types.ResizeClusterMessage.ResizeClusterMessage
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ResizeClusterMessage.ResizeClusterMessage
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ResizeClusterMessage.ResizeClusterMessage
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ResizeClusterMessage.ResizeClusterMessage
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ResizeClusterMessage.ResizeClusterMessage
module Amazonka.Redshift.Types.ResizeInfo
-- | Describes a resize operation.
--
-- See: newResizeInfo smart constructor.
data ResizeInfo
ResizeInfo' :: Maybe Bool -> Maybe Text -> ResizeInfo
-- | A boolean value indicating if the resize operation can be cancelled.
[$sel:allowCancelResize:ResizeInfo'] :: ResizeInfo -> Maybe Bool
-- | Returns the value ClassicResize.
[$sel:resizeType:ResizeInfo'] :: ResizeInfo -> Maybe Text
-- | Create a value of ResizeInfo 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:allowCancelResize:ResizeInfo',
-- resizeInfo_allowCancelResize - A boolean value indicating if
-- the resize operation can be cancelled.
--
-- $sel:resizeType:ResizeInfo', resizeInfo_resizeType -
-- Returns the value ClassicResize.
newResizeInfo :: ResizeInfo
-- | A boolean value indicating if the resize operation can be cancelled.
resizeInfo_allowCancelResize :: Lens' ResizeInfo (Maybe Bool)
-- | Returns the value ClassicResize.
resizeInfo_resizeType :: Lens' ResizeInfo (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ResizeInfo.ResizeInfo
instance GHC.Show.Show Amazonka.Redshift.Types.ResizeInfo.ResizeInfo
instance GHC.Read.Read Amazonka.Redshift.Types.ResizeInfo.ResizeInfo
instance GHC.Classes.Eq Amazonka.Redshift.Types.ResizeInfo.ResizeInfo
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ResizeInfo.ResizeInfo
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ResizeInfo.ResizeInfo
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ResizeInfo.ResizeInfo
module Amazonka.Redshift.Types.ResizeProgressMessage
-- | Describes the result of a cluster resize operation.
--
-- See: newResizeProgressMessage smart constructor.
data ResizeProgressMessage
ResizeProgressMessage' :: Maybe Double -> Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Integer -> ResizeProgressMessage
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
[$sel:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Double
-- | The percent of data transferred from source cluster to target cluster.
[$sel:dataTransferProgressPercent:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Double
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
[$sel:elapsedTimeInSeconds:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
[$sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
[$sel:importTablesCompleted:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
[$sel:importTablesInProgress:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
[$sel:importTablesNotStarted:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | An optional string to provide additional details about the resize
-- action.
[$sel:message:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
[$sel:progressInMegaBytes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
[$sel:resizeType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
[$sel:status:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
[$sel:targetClusterType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
[$sel:targetEncryptionType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The node type that the cluster will have after the resize operation is
-- complete.
[$sel:targetNodeType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
[$sel:targetNumberOfNodes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Int
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
[$sel:totalResizeDataInMegaBytes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | Create a value of ResizeProgressMessage 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:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage',
-- resizeProgressMessage_avgResizeRateInMegaBytesPerSecond - The
-- average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
--
-- $sel:dataTransferProgressPercent:ResizeProgressMessage',
-- resizeProgressMessage_dataTransferProgressPercent - The percent
-- of data transferred from source cluster to target cluster.
--
-- $sel:elapsedTimeInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_elapsedTimeInSeconds - The amount of
-- seconds that have elapsed since the resize operation began. After the
-- resize operation completes, this value shows the total actual time, in
-- seconds, for the resize operation.
--
-- $sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_estimatedTimeToCompletionInSeconds - The
-- estimated time remaining, in seconds, until the resize operation is
-- complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
--
-- $sel:importTablesCompleted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesCompleted - The names of
-- tables that have been completely imported .
--
-- Valid Values: List of table names.
--
-- $sel:importTablesInProgress:ResizeProgressMessage',
-- resizeProgressMessage_importTablesInProgress - The names of
-- tables that are being currently imported.
--
-- Valid Values: List of table names.
--
-- $sel:importTablesNotStarted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesNotStarted - The names of
-- tables that have not been yet imported.
--
-- Valid Values: List of table names
--
-- $sel:message:ResizeProgressMessage',
-- resizeProgressMessage_message - An optional string to provide
-- additional details about the resize action.
--
-- $sel:progressInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_progressInMegaBytes - While the resize
-- operation is in progress, this value shows the current amount of data,
-- in megabytes, that has been processed so far. When the resize
-- operation is complete, this value shows the total amount of data, in
-- megabytes, on the cluster, which may be more or less than
-- TotalResizeDataInMegaBytes (the estimated total amount of data before
-- resize).
--
-- $sel:resizeType:ResizeProgressMessage',
-- resizeProgressMessage_resizeType - An enum with possible values
-- of ClassicResize and ElasticResize. These values
-- describe the type of resize operation being performed.
--
-- $sel:status:ResizeProgressMessage',
-- resizeProgressMessage_status - The status of the resize
-- operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
--
-- $sel:targetClusterType:ResizeProgressMessage',
-- resizeProgressMessage_targetClusterType - The cluster type
-- after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
--
-- $sel:targetEncryptionType:ResizeProgressMessage',
-- resizeProgressMessage_targetEncryptionType - The type of
-- encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
--
-- $sel:targetNodeType:ResizeProgressMessage',
-- resizeProgressMessage_targetNodeType - The node type that the
-- cluster will have after the resize operation is complete.
--
-- $sel:targetNumberOfNodes:ResizeProgressMessage',
-- resizeProgressMessage_targetNumberOfNodes - The number of nodes
-- that the cluster will have after the resize operation is complete.
--
-- $sel:totalResizeDataInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_totalResizeDataInMegaBytes - The
-- estimated total amount of data, in megabytes, on the cluster before
-- the resize operation began.
newResizeProgressMessage :: ResizeProgressMessage
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
resizeProgressMessage_avgResizeRateInMegaBytesPerSecond :: Lens' ResizeProgressMessage (Maybe Double)
-- | The percent of data transferred from source cluster to target cluster.
resizeProgressMessage_dataTransferProgressPercent :: Lens' ResizeProgressMessage (Maybe Double)
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
resizeProgressMessage_elapsedTimeInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
resizeProgressMessage_estimatedTimeToCompletionInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesCompleted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesInProgress :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
resizeProgressMessage_importTablesNotStarted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | An optional string to provide additional details about the resize
-- action.
resizeProgressMessage_message :: Lens' ResizeProgressMessage (Maybe Text)
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
resizeProgressMessage_progressInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
resizeProgressMessage_resizeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
resizeProgressMessage_status :: Lens' ResizeProgressMessage (Maybe Text)
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
resizeProgressMessage_targetClusterType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
resizeProgressMessage_targetEncryptionType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The node type that the cluster will have after the resize operation is
-- complete.
resizeProgressMessage_targetNodeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
resizeProgressMessage_targetNumberOfNodes :: Lens' ResizeProgressMessage (Maybe Int)
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
resizeProgressMessage_totalResizeDataInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ResizeProgressMessage.ResizeProgressMessage
instance GHC.Show.Show Amazonka.Redshift.Types.ResizeProgressMessage.ResizeProgressMessage
instance GHC.Read.Read Amazonka.Redshift.Types.ResizeProgressMessage.ResizeProgressMessage
instance GHC.Classes.Eq Amazonka.Redshift.Types.ResizeProgressMessage.ResizeProgressMessage
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ResizeProgressMessage.ResizeProgressMessage
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ResizeProgressMessage.ResizeProgressMessage
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ResizeProgressMessage.ResizeProgressMessage
module Amazonka.Redshift.Types.RestoreStatus
-- | Describes the status of a cluster restore action. Returns null if the
-- cluster was not created by restoring a snapshot.
--
-- See: newRestoreStatus smart constructor.
data RestoreStatus
RestoreStatus' :: Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Text -> RestoreStatus
-- | The number of megabytes per second being transferred from the backup
-- storage. Returns the average rate for a completed backup. This field
-- is only updated when you restore to DC2 and DS2 node types.
[$sel:currentRestoreRateInMegaBytesPerSecond:RestoreStatus'] :: RestoreStatus -> Maybe Double
-- | The amount of time an in-progress restore has been running, or the
-- amount of time it took a completed restore to finish. This field is
-- only updated when you restore to DC2 and DS2 node types.
[$sel:elapsedTimeInSeconds:RestoreStatus'] :: RestoreStatus -> Maybe Integer
-- | The estimate of the time remaining before the restore will complete.
-- Returns 0 for a completed restore. This field is only updated when you
-- restore to DC2 and DS2 node types.
[$sel:estimatedTimeToCompletionInSeconds:RestoreStatus'] :: RestoreStatus -> Maybe Integer
-- | The number of megabytes that have been transferred from snapshot
-- storage. This field is only updated when you restore to DC2 and DS2
-- node types.
[$sel:progressInMegaBytes:RestoreStatus'] :: RestoreStatus -> Maybe Integer
-- | The size of the set of snapshot data used to restore the cluster. This
-- field is only updated when you restore to DC2 and DS2 node types.
[$sel:snapshotSizeInMegaBytes:RestoreStatus'] :: RestoreStatus -> Maybe Integer
-- | The status of the restore action. Returns starting, restoring,
-- completed, or failed.
[$sel:status:RestoreStatus'] :: RestoreStatus -> Maybe Text
-- | Create a value of RestoreStatus 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:currentRestoreRateInMegaBytesPerSecond:RestoreStatus',
-- restoreStatus_currentRestoreRateInMegaBytesPerSecond - The
-- number of megabytes per second being transferred from the backup
-- storage. Returns the average rate for a completed backup. This field
-- is only updated when you restore to DC2 and DS2 node types.
--
-- $sel:elapsedTimeInSeconds:RestoreStatus',
-- restoreStatus_elapsedTimeInSeconds - The amount of time an
-- in-progress restore has been running, or the amount of time it took a
-- completed restore to finish. This field is only updated when you
-- restore to DC2 and DS2 node types.
--
-- $sel:estimatedTimeToCompletionInSeconds:RestoreStatus',
-- restoreStatus_estimatedTimeToCompletionInSeconds - The estimate
-- of the time remaining before the restore will complete. Returns 0 for
-- a completed restore. This field is only updated when you restore to
-- DC2 and DS2 node types.
--
-- $sel:progressInMegaBytes:RestoreStatus',
-- restoreStatus_progressInMegaBytes - The number of megabytes
-- that have been transferred from snapshot storage. This field is only
-- updated when you restore to DC2 and DS2 node types.
--
-- $sel:snapshotSizeInMegaBytes:RestoreStatus',
-- restoreStatus_snapshotSizeInMegaBytes - The size of the set of
-- snapshot data used to restore the cluster. This field is only updated
-- when you restore to DC2 and DS2 node types.
--
-- $sel:status:RestoreStatus', restoreStatus_status - The
-- status of the restore action. Returns starting, restoring, completed,
-- or failed.
newRestoreStatus :: RestoreStatus
-- | The number of megabytes per second being transferred from the backup
-- storage. Returns the average rate for a completed backup. This field
-- is only updated when you restore to DC2 and DS2 node types.
restoreStatus_currentRestoreRateInMegaBytesPerSecond :: Lens' RestoreStatus (Maybe Double)
-- | The amount of time an in-progress restore has been running, or the
-- amount of time it took a completed restore to finish. This field is
-- only updated when you restore to DC2 and DS2 node types.
restoreStatus_elapsedTimeInSeconds :: Lens' RestoreStatus (Maybe Integer)
-- | The estimate of the time remaining before the restore will complete.
-- Returns 0 for a completed restore. This field is only updated when you
-- restore to DC2 and DS2 node types.
restoreStatus_estimatedTimeToCompletionInSeconds :: Lens' RestoreStatus (Maybe Integer)
-- | The number of megabytes that have been transferred from snapshot
-- storage. This field is only updated when you restore to DC2 and DS2
-- node types.
restoreStatus_progressInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | The size of the set of snapshot data used to restore the cluster. This
-- field is only updated when you restore to DC2 and DS2 node types.
restoreStatus_snapshotSizeInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | The status of the restore action. Returns starting, restoring,
-- completed, or failed.
restoreStatus_status :: Lens' RestoreStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.RestoreStatus.RestoreStatus
instance GHC.Show.Show Amazonka.Redshift.Types.RestoreStatus.RestoreStatus
instance GHC.Read.Read Amazonka.Redshift.Types.RestoreStatus.RestoreStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.RestoreStatus.RestoreStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.RestoreStatus.RestoreStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.RestoreStatus.RestoreStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.RestoreStatus.RestoreStatus
module Amazonka.Redshift.Types.ResumeClusterMessage
-- | Describes a resume cluster operation. For example, a scheduled action
-- to run the ResumeCluster API operation.
--
-- See: newResumeClusterMessage smart constructor.
data ResumeClusterMessage
ResumeClusterMessage' :: Text -> ResumeClusterMessage
-- | The identifier of the cluster to be resumed.
[$sel:clusterIdentifier:ResumeClusterMessage'] :: ResumeClusterMessage -> Text
-- | Create a value of ResumeClusterMessage 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:clusterIdentifier:ResumeClusterMessage',
-- resumeClusterMessage_clusterIdentifier - The identifier of the
-- cluster to be resumed.
newResumeClusterMessage :: Text -> ResumeClusterMessage
-- | The identifier of the cluster to be resumed.
resumeClusterMessage_clusterIdentifier :: Lens' ResumeClusterMessage Text
instance GHC.Generics.Generic Amazonka.Redshift.Types.ResumeClusterMessage.ResumeClusterMessage
instance GHC.Show.Show Amazonka.Redshift.Types.ResumeClusterMessage.ResumeClusterMessage
instance GHC.Read.Read Amazonka.Redshift.Types.ResumeClusterMessage.ResumeClusterMessage
instance GHC.Classes.Eq Amazonka.Redshift.Types.ResumeClusterMessage.ResumeClusterMessage
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ResumeClusterMessage.ResumeClusterMessage
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ResumeClusterMessage.ResumeClusterMessage
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ResumeClusterMessage.ResumeClusterMessage
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ResumeClusterMessage.ResumeClusterMessage
module Amazonka.Redshift.Types.RevisionTarget
-- | Describes a RevisionTarget.
--
-- See: newRevisionTarget smart constructor.
data RevisionTarget
RevisionTarget' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> RevisionTarget
-- | A unique string that identifies the version to update the cluster to.
-- You can use this value in ModifyClusterDbRevision.
[$sel:databaseRevision:RevisionTarget'] :: RevisionTarget -> Maybe Text
-- | The date on which the database revision was released.
[$sel:databaseRevisionReleaseDate:RevisionTarget'] :: RevisionTarget -> Maybe ISO8601
-- | A string that describes the changes and features that will be applied
-- to the cluster when it is updated to the corresponding
-- ClusterDbRevision.
[$sel:description:RevisionTarget'] :: RevisionTarget -> Maybe Text
-- | Create a value of RevisionTarget 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:databaseRevision:RevisionTarget',
-- revisionTarget_databaseRevision - A unique string that
-- identifies the version to update the cluster to. You can use this
-- value in ModifyClusterDbRevision.
--
-- $sel:databaseRevisionReleaseDate:RevisionTarget',
-- revisionTarget_databaseRevisionReleaseDate - The date on which
-- the database revision was released.
--
-- $sel:description:RevisionTarget',
-- revisionTarget_description - A string that describes the
-- changes and features that will be applied to the cluster when it is
-- updated to the corresponding ClusterDbRevision.
newRevisionTarget :: RevisionTarget
-- | A unique string that identifies the version to update the cluster to.
-- You can use this value in ModifyClusterDbRevision.
revisionTarget_databaseRevision :: Lens' RevisionTarget (Maybe Text)
-- | The date on which the database revision was released.
revisionTarget_databaseRevisionReleaseDate :: Lens' RevisionTarget (Maybe UTCTime)
-- | A string that describes the changes and features that will be applied
-- to the cluster when it is updated to the corresponding
-- ClusterDbRevision.
revisionTarget_description :: Lens' RevisionTarget (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.RevisionTarget.RevisionTarget
instance GHC.Show.Show Amazonka.Redshift.Types.RevisionTarget.RevisionTarget
instance GHC.Read.Read Amazonka.Redshift.Types.RevisionTarget.RevisionTarget
instance GHC.Classes.Eq Amazonka.Redshift.Types.RevisionTarget.RevisionTarget
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.RevisionTarget.RevisionTarget
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.RevisionTarget.RevisionTarget
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.RevisionTarget.RevisionTarget
module Amazonka.Redshift.Types.ClusterDbRevision
-- | Describes a ClusterDbRevision.
--
-- See: newClusterDbRevision smart constructor.
data ClusterDbRevision
ClusterDbRevision' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe [RevisionTarget] -> ClusterDbRevision
-- | The unique identifier of the cluster.
[$sel:clusterIdentifier:ClusterDbRevision'] :: ClusterDbRevision -> Maybe Text
-- | A string representing the current cluster version.
[$sel:currentDatabaseRevision:ClusterDbRevision'] :: ClusterDbRevision -> Maybe Text
-- | The date on which the database revision was released.
[$sel:databaseRevisionReleaseDate:ClusterDbRevision'] :: ClusterDbRevision -> Maybe ISO8601
-- | A list of RevisionTarget objects, where each object describes
-- the database revision that a cluster can be updated to.
[$sel:revisionTargets:ClusterDbRevision'] :: ClusterDbRevision -> Maybe [RevisionTarget]
-- | Create a value of ClusterDbRevision 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:clusterIdentifier:ClusterDbRevision',
-- clusterDbRevision_clusterIdentifier - The unique identifier of
-- the cluster.
--
-- $sel:currentDatabaseRevision:ClusterDbRevision',
-- clusterDbRevision_currentDatabaseRevision - A string
-- representing the current cluster version.
--
-- ClusterDbRevision,
-- clusterDbRevision_databaseRevisionReleaseDate - The date on
-- which the database revision was released.
--
-- $sel:revisionTargets:ClusterDbRevision',
-- clusterDbRevision_revisionTargets - A list of
-- RevisionTarget objects, where each object describes the
-- database revision that a cluster can be updated to.
newClusterDbRevision :: ClusterDbRevision
-- | The unique identifier of the cluster.
clusterDbRevision_clusterIdentifier :: Lens' ClusterDbRevision (Maybe Text)
-- | A string representing the current cluster version.
clusterDbRevision_currentDatabaseRevision :: Lens' ClusterDbRevision (Maybe Text)
-- | The date on which the database revision was released.
clusterDbRevision_databaseRevisionReleaseDate :: Lens' ClusterDbRevision (Maybe UTCTime)
-- | A list of RevisionTarget objects, where each object describes
-- the database revision that a cluster can be updated to.
clusterDbRevision_revisionTargets :: Lens' ClusterDbRevision (Maybe [RevisionTarget])
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterDbRevision.ClusterDbRevision
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterDbRevision.ClusterDbRevision
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterDbRevision.ClusterDbRevision
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterDbRevision.ClusterDbRevision
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterDbRevision.ClusterDbRevision
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterDbRevision.ClusterDbRevision
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterDbRevision.ClusterDbRevision
module Amazonka.Redshift.Types.ScheduleState
newtype ScheduleState
ScheduleState' :: Text -> ScheduleState
[fromScheduleState] :: ScheduleState -> Text
pattern ScheduleState_ACTIVE :: ScheduleState
pattern ScheduleState_FAILED :: ScheduleState
pattern ScheduleState_MODIFYING :: ScheduleState
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance GHC.Generics.Generic Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance GHC.Classes.Ord Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance GHC.Classes.Eq Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance GHC.Read.Read Amazonka.Redshift.Types.ScheduleState.ScheduleState
instance GHC.Show.Show Amazonka.Redshift.Types.ScheduleState.ScheduleState
module Amazonka.Redshift.Types.ClusterAssociatedToSchedule
-- | See: newClusterAssociatedToSchedule smart constructor.
data ClusterAssociatedToSchedule
ClusterAssociatedToSchedule' :: Maybe Text -> Maybe ScheduleState -> ClusterAssociatedToSchedule
[$sel:clusterIdentifier:ClusterAssociatedToSchedule'] :: ClusterAssociatedToSchedule -> Maybe Text
[$sel:scheduleAssociationState:ClusterAssociatedToSchedule'] :: ClusterAssociatedToSchedule -> Maybe ScheduleState
-- | Create a value of ClusterAssociatedToSchedule 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:clusterIdentifier:ClusterAssociatedToSchedule',
-- clusterAssociatedToSchedule_clusterIdentifier -
--
-- $sel:scheduleAssociationState:ClusterAssociatedToSchedule',
-- clusterAssociatedToSchedule_scheduleAssociationState -
newClusterAssociatedToSchedule :: ClusterAssociatedToSchedule
clusterAssociatedToSchedule_clusterIdentifier :: Lens' ClusterAssociatedToSchedule (Maybe Text)
clusterAssociatedToSchedule_scheduleAssociationState :: Lens' ClusterAssociatedToSchedule (Maybe ScheduleState)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterAssociatedToSchedule.ClusterAssociatedToSchedule
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterAssociatedToSchedule.ClusterAssociatedToSchedule
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterAssociatedToSchedule.ClusterAssociatedToSchedule
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterAssociatedToSchedule.ClusterAssociatedToSchedule
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterAssociatedToSchedule.ClusterAssociatedToSchedule
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterAssociatedToSchedule.ClusterAssociatedToSchedule
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterAssociatedToSchedule.ClusterAssociatedToSchedule
module Amazonka.Redshift.Types.ScheduledActionFilterName
newtype ScheduledActionFilterName
ScheduledActionFilterName' :: Text -> ScheduledActionFilterName
[fromScheduledActionFilterName] :: ScheduledActionFilterName -> Text
pattern ScheduledActionFilterName_Cluster_identifier :: ScheduledActionFilterName
pattern ScheduledActionFilterName_Iam_role :: ScheduledActionFilterName
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance GHC.Generics.Generic Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance GHC.Classes.Ord Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance GHC.Classes.Eq Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance GHC.Read.Read Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
instance GHC.Show.Show Amazonka.Redshift.Types.ScheduledActionFilterName.ScheduledActionFilterName
module Amazonka.Redshift.Types.ScheduledActionFilter
-- | A set of elements to filter the returned scheduled actions.
--
-- See: newScheduledActionFilter smart constructor.
data ScheduledActionFilter
ScheduledActionFilter' :: ScheduledActionFilterName -> [Text] -> ScheduledActionFilter
-- | The type of element to filter.
[$sel:name:ScheduledActionFilter'] :: ScheduledActionFilter -> ScheduledActionFilterName
-- | List of values. Compare if the value (of type defined by
-- Name) equals an item in the list of scheduled actions.
[$sel:values:ScheduledActionFilter'] :: ScheduledActionFilter -> [Text]
-- | Create a value of ScheduledActionFilter 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:name:ScheduledActionFilter',
-- scheduledActionFilter_name - The type of element to filter.
--
-- $sel:values:ScheduledActionFilter',
-- scheduledActionFilter_values - List of values. Compare if the
-- value (of type defined by Name) equals an item in the list of
-- scheduled actions.
newScheduledActionFilter :: ScheduledActionFilterName -> ScheduledActionFilter
-- | The type of element to filter.
scheduledActionFilter_name :: Lens' ScheduledActionFilter ScheduledActionFilterName
-- | List of values. Compare if the value (of type defined by
-- Name) equals an item in the list of scheduled actions.
scheduledActionFilter_values :: Lens' ScheduledActionFilter [Text]
instance GHC.Generics.Generic Amazonka.Redshift.Types.ScheduledActionFilter.ScheduledActionFilter
instance GHC.Show.Show Amazonka.Redshift.Types.ScheduledActionFilter.ScheduledActionFilter
instance GHC.Read.Read Amazonka.Redshift.Types.ScheduledActionFilter.ScheduledActionFilter
instance GHC.Classes.Eq Amazonka.Redshift.Types.ScheduledActionFilter.ScheduledActionFilter
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ScheduledActionFilter.ScheduledActionFilter
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ScheduledActionFilter.ScheduledActionFilter
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ScheduledActionFilter.ScheduledActionFilter
module Amazonka.Redshift.Types.ScheduledActionState
newtype ScheduledActionState
ScheduledActionState' :: Text -> ScheduledActionState
[fromScheduledActionState] :: ScheduledActionState -> Text
pattern ScheduledActionState_ACTIVE :: ScheduledActionState
pattern ScheduledActionState_DISABLED :: ScheduledActionState
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance GHC.Generics.Generic Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance GHC.Classes.Ord Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance GHC.Classes.Eq Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance GHC.Read.Read Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
instance GHC.Show.Show Amazonka.Redshift.Types.ScheduledActionState.ScheduledActionState
module Amazonka.Redshift.Types.ScheduledActionType
-- | The action type that specifies an Amazon Redshift API operation that
-- is supported by the Amazon Redshift scheduler.
--
-- See: newScheduledActionType smart constructor.
data ScheduledActionType
ScheduledActionType' :: Maybe PauseClusterMessage -> Maybe ResizeClusterMessage -> Maybe ResumeClusterMessage -> ScheduledActionType
-- | An action that runs a PauseCluster API operation.
[$sel:pauseCluster:ScheduledActionType'] :: ScheduledActionType -> Maybe PauseClusterMessage
-- | An action that runs a ResizeCluster API operation.
[$sel:resizeCluster:ScheduledActionType'] :: ScheduledActionType -> Maybe ResizeClusterMessage
-- | An action that runs a ResumeCluster API operation.
[$sel:resumeCluster:ScheduledActionType'] :: ScheduledActionType -> Maybe ResumeClusterMessage
-- | Create a value of ScheduledActionType 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:pauseCluster:ScheduledActionType',
-- scheduledActionType_pauseCluster - An action that runs a
-- PauseCluster API operation.
--
-- $sel:resizeCluster:ScheduledActionType',
-- scheduledActionType_resizeCluster - An action that runs a
-- ResizeCluster API operation.
--
-- $sel:resumeCluster:ScheduledActionType',
-- scheduledActionType_resumeCluster - An action that runs a
-- ResumeCluster API operation.
newScheduledActionType :: ScheduledActionType
-- | An action that runs a PauseCluster API operation.
scheduledActionType_pauseCluster :: Lens' ScheduledActionType (Maybe PauseClusterMessage)
-- | An action that runs a ResizeCluster API operation.
scheduledActionType_resizeCluster :: Lens' ScheduledActionType (Maybe ResizeClusterMessage)
-- | An action that runs a ResumeCluster API operation.
scheduledActionType_resumeCluster :: Lens' ScheduledActionType (Maybe ResumeClusterMessage)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ScheduledActionType.ScheduledActionType
instance GHC.Show.Show Amazonka.Redshift.Types.ScheduledActionType.ScheduledActionType
instance GHC.Read.Read Amazonka.Redshift.Types.ScheduledActionType.ScheduledActionType
instance GHC.Classes.Eq Amazonka.Redshift.Types.ScheduledActionType.ScheduledActionType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ScheduledActionType.ScheduledActionType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ScheduledActionType.ScheduledActionType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ScheduledActionType.ScheduledActionType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ScheduledActionType.ScheduledActionType
module Amazonka.Redshift.Types.ScheduledAction
-- | Describes a scheduled action. You can use a scheduled action to
-- trigger some Amazon Redshift API operations on a schedule. For
-- information about which API operations can be scheduled, see
-- ScheduledActionType.
--
-- See: newScheduledAction smart constructor.
data ScheduledAction
ScheduledAction' :: Maybe ISO8601 -> Maybe Text -> Maybe [ISO8601] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionState -> Maybe ScheduledActionType -> ScheduledAction
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
[$sel:endTime:ScheduledAction'] :: ScheduledAction -> Maybe ISO8601
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
[$sel:iamRole:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | List of times when the scheduled action will run.
[$sel:nextInvocations:ScheduledAction'] :: ScheduledAction -> Maybe [ISO8601]
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
[$sel:schedule:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The description of the scheduled action.
[$sel:scheduledActionDescription:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The name of the scheduled action.
[$sel:scheduledActionName:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
[$sel:startTime:ScheduledAction'] :: ScheduledAction -> Maybe ISO8601
-- | The state of the scheduled action. For example, DISABLED.
[$sel:state:ScheduledAction'] :: ScheduledAction -> Maybe ScheduledActionState
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
[$sel:targetAction:ScheduledAction'] :: ScheduledAction -> Maybe ScheduledActionType
-- | Create a value of ScheduledAction 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:ScheduledAction', scheduledAction_endTime -
-- The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
--
-- $sel:iamRole:ScheduledAction', scheduledAction_iamRole -
-- The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- $sel:nextInvocations:ScheduledAction',
-- scheduledAction_nextInvocations - List of times when the
-- scheduled action will run.
--
-- $sel:schedule:ScheduledAction', scheduledAction_schedule
-- - The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
--
-- $sel:scheduledActionDescription:ScheduledAction',
-- scheduledAction_scheduledActionDescription - The description of
-- the scheduled action.
--
-- $sel:scheduledActionName:ScheduledAction',
-- scheduledAction_scheduledActionName - The name of the scheduled
-- action.
--
-- $sel:startTime:ScheduledAction',
-- scheduledAction_startTime - The start time in UTC when the
-- schedule is active. Before this time, the scheduled action does not
-- trigger.
--
-- $sel:state:ScheduledAction', scheduledAction_state - The
-- state of the scheduled action. For example, DISABLED.
--
-- $sel:targetAction:ScheduledAction',
-- scheduledAction_targetAction - A JSON format string of the
-- Amazon Redshift API operation with input parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
newScheduledAction :: ScheduledAction
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
scheduledAction_endTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
scheduledAction_iamRole :: Lens' ScheduledAction (Maybe Text)
-- | List of times when the scheduled action will run.
scheduledAction_nextInvocations :: Lens' ScheduledAction (Maybe [UTCTime])
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
scheduledAction_schedule :: Lens' ScheduledAction (Maybe Text)
-- | The description of the scheduled action.
scheduledAction_scheduledActionDescription :: Lens' ScheduledAction (Maybe Text)
-- | The name of the scheduled action.
scheduledAction_scheduledActionName :: Lens' ScheduledAction (Maybe Text)
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
scheduledAction_startTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The state of the scheduled action. For example, DISABLED.
scheduledAction_state :: Lens' ScheduledAction (Maybe ScheduledActionState)
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
scheduledAction_targetAction :: Lens' ScheduledAction (Maybe ScheduledActionType)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ScheduledAction.ScheduledAction
instance GHC.Show.Show Amazonka.Redshift.Types.ScheduledAction.ScheduledAction
instance GHC.Read.Read Amazonka.Redshift.Types.ScheduledAction.ScheduledAction
instance GHC.Classes.Eq Amazonka.Redshift.Types.ScheduledAction.ScheduledAction
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ScheduledAction.ScheduledAction
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ScheduledAction.ScheduledAction
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ScheduledAction.ScheduledAction
module Amazonka.Redshift.Types.ScheduledActionTypeValues
newtype ScheduledActionTypeValues
ScheduledActionTypeValues' :: Text -> ScheduledActionTypeValues
[fromScheduledActionTypeValues] :: ScheduledActionTypeValues -> Text
pattern ScheduledActionTypeValues_PauseCluster :: ScheduledActionTypeValues
pattern ScheduledActionTypeValues_ResizeCluster :: ScheduledActionTypeValues
pattern ScheduledActionTypeValues_ResumeCluster :: ScheduledActionTypeValues
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance GHC.Generics.Generic Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance GHC.Classes.Ord Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance GHC.Classes.Eq Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance GHC.Read.Read Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
instance GHC.Show.Show Amazonka.Redshift.Types.ScheduledActionTypeValues.ScheduledActionTypeValues
module Amazonka.Redshift.Types.SnapshotAttributeToSortBy
newtype SnapshotAttributeToSortBy
SnapshotAttributeToSortBy' :: Text -> SnapshotAttributeToSortBy
[fromSnapshotAttributeToSortBy] :: SnapshotAttributeToSortBy -> Text
pattern SnapshotAttributeToSortBy_CREATE_TIME :: SnapshotAttributeToSortBy
pattern SnapshotAttributeToSortBy_SOURCE_TYPE :: SnapshotAttributeToSortBy
pattern SnapshotAttributeToSortBy_TOTAL_SIZE :: SnapshotAttributeToSortBy
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance GHC.Generics.Generic Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance GHC.Classes.Ord Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance GHC.Classes.Eq Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance GHC.Read.Read Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
instance GHC.Show.Show Amazonka.Redshift.Types.SnapshotAttributeToSortBy.SnapshotAttributeToSortBy
module Amazonka.Redshift.Types.SnapshotErrorMessage
-- | Describes the errors returned by a snapshot.
--
-- See: newSnapshotErrorMessage smart constructor.
data SnapshotErrorMessage
SnapshotErrorMessage' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SnapshotErrorMessage
-- | The failure code for the error.
[$sel:failureCode:SnapshotErrorMessage'] :: SnapshotErrorMessage -> Maybe Text
-- | The text message describing the error.
[$sel:failureReason:SnapshotErrorMessage'] :: SnapshotErrorMessage -> Maybe Text
-- | A unique identifier for the cluster.
[$sel:snapshotClusterIdentifier:SnapshotErrorMessage'] :: SnapshotErrorMessage -> Maybe Text
-- | A unique identifier for the snapshot returning the error.
[$sel:snapshotIdentifier:SnapshotErrorMessage'] :: SnapshotErrorMessage -> Maybe Text
-- | Create a value of SnapshotErrorMessage 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:failureCode:SnapshotErrorMessage',
-- snapshotErrorMessage_failureCode - The failure code for the
-- error.
--
-- $sel:failureReason:SnapshotErrorMessage',
-- snapshotErrorMessage_failureReason - The text message
-- describing the error.
--
-- $sel:snapshotClusterIdentifier:SnapshotErrorMessage',
-- snapshotErrorMessage_snapshotClusterIdentifier - A unique
-- identifier for the cluster.
--
-- $sel:snapshotIdentifier:SnapshotErrorMessage',
-- snapshotErrorMessage_snapshotIdentifier - A unique identifier
-- for the snapshot returning the error.
newSnapshotErrorMessage :: SnapshotErrorMessage
-- | The failure code for the error.
snapshotErrorMessage_failureCode :: Lens' SnapshotErrorMessage (Maybe Text)
-- | The text message describing the error.
snapshotErrorMessage_failureReason :: Lens' SnapshotErrorMessage (Maybe Text)
-- | A unique identifier for the cluster.
snapshotErrorMessage_snapshotClusterIdentifier :: Lens' SnapshotErrorMessage (Maybe Text)
-- | A unique identifier for the snapshot returning the error.
snapshotErrorMessage_snapshotIdentifier :: Lens' SnapshotErrorMessage (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.SnapshotErrorMessage.SnapshotErrorMessage
instance GHC.Show.Show Amazonka.Redshift.Types.SnapshotErrorMessage.SnapshotErrorMessage
instance GHC.Read.Read Amazonka.Redshift.Types.SnapshotErrorMessage.SnapshotErrorMessage
instance GHC.Classes.Eq Amazonka.Redshift.Types.SnapshotErrorMessage.SnapshotErrorMessage
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.SnapshotErrorMessage.SnapshotErrorMessage
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.SnapshotErrorMessage.SnapshotErrorMessage
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.SnapshotErrorMessage.SnapshotErrorMessage
module Amazonka.Redshift.Types.SortByOrder
newtype SortByOrder
SortByOrder' :: Text -> SortByOrder
[fromSortByOrder] :: SortByOrder -> Text
pattern SortByOrder_ASC :: SortByOrder
pattern SortByOrder_DESC :: SortByOrder
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance GHC.Generics.Generic Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance GHC.Classes.Ord Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance GHC.Classes.Eq Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance GHC.Read.Read Amazonka.Redshift.Types.SortByOrder.SortByOrder
instance GHC.Show.Show Amazonka.Redshift.Types.SortByOrder.SortByOrder
module Amazonka.Redshift.Types.SnapshotSortingEntity
-- | Describes a sorting entity
--
-- See: newSnapshotSortingEntity smart constructor.
data SnapshotSortingEntity
SnapshotSortingEntity' :: Maybe SortByOrder -> SnapshotAttributeToSortBy -> SnapshotSortingEntity
-- | The order for listing the attributes.
[$sel:sortOrder:SnapshotSortingEntity'] :: SnapshotSortingEntity -> Maybe SortByOrder
-- | The category for sorting the snapshots.
[$sel:attribute:SnapshotSortingEntity'] :: SnapshotSortingEntity -> SnapshotAttributeToSortBy
-- | Create a value of SnapshotSortingEntity 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:sortOrder:SnapshotSortingEntity',
-- snapshotSortingEntity_sortOrder - The order for listing the
-- attributes.
--
-- $sel:attribute:SnapshotSortingEntity',
-- snapshotSortingEntity_attribute - The category for sorting the
-- snapshots.
newSnapshotSortingEntity :: SnapshotAttributeToSortBy -> SnapshotSortingEntity
-- | The order for listing the attributes.
snapshotSortingEntity_sortOrder :: Lens' SnapshotSortingEntity (Maybe SortByOrder)
-- | The category for sorting the snapshots.
snapshotSortingEntity_attribute :: Lens' SnapshotSortingEntity SnapshotAttributeToSortBy
instance GHC.Generics.Generic Amazonka.Redshift.Types.SnapshotSortingEntity.SnapshotSortingEntity
instance GHC.Show.Show Amazonka.Redshift.Types.SnapshotSortingEntity.SnapshotSortingEntity
instance GHC.Read.Read Amazonka.Redshift.Types.SnapshotSortingEntity.SnapshotSortingEntity
instance GHC.Classes.Eq Amazonka.Redshift.Types.SnapshotSortingEntity.SnapshotSortingEntity
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.SnapshotSortingEntity.SnapshotSortingEntity
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.SnapshotSortingEntity.SnapshotSortingEntity
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.SnapshotSortingEntity.SnapshotSortingEntity
module Amazonka.Redshift.Types.SourceType
newtype SourceType
SourceType' :: Text -> SourceType
[fromSourceType] :: SourceType -> Text
pattern SourceType_Cluster :: SourceType
pattern SourceType_Cluster_parameter_group :: SourceType
pattern SourceType_Cluster_security_group :: SourceType
pattern SourceType_Cluster_snapshot :: SourceType
pattern SourceType_Scheduled_action :: SourceType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.SourceType.SourceType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.SourceType.SourceType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.SourceType.SourceType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.SourceType.SourceType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.SourceType.SourceType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.SourceType.SourceType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.SourceType.SourceType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.SourceType.SourceType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.SourceType.SourceType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.SourceType.SourceType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.SourceType.SourceType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.SourceType.SourceType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.SourceType.SourceType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.SourceType.SourceType
instance GHC.Generics.Generic Amazonka.Redshift.Types.SourceType.SourceType
instance GHC.Classes.Ord Amazonka.Redshift.Types.SourceType.SourceType
instance GHC.Classes.Eq Amazonka.Redshift.Types.SourceType.SourceType
instance GHC.Read.Read Amazonka.Redshift.Types.SourceType.SourceType
instance GHC.Show.Show Amazonka.Redshift.Types.SourceType.SourceType
module Amazonka.Redshift.Types.Event
-- | Describes an event.
--
-- See: newEvent smart constructor.
data Event
Event' :: Maybe ISO8601 -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceType -> Event
-- | The date and time of the event.
[$sel:date:Event'] :: Event -> Maybe ISO8601
-- | A list of the event categories.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
[$sel:eventCategories:Event'] :: Event -> Maybe [Text]
-- | The identifier of the event.
[$sel:eventId:Event'] :: Event -> Maybe Text
-- | The text of this event.
[$sel:message:Event'] :: Event -> Maybe Text
-- | The severity of the event.
--
-- Values: ERROR, INFO
[$sel:severity:Event'] :: Event -> Maybe Text
-- | The identifier for the source of the event.
[$sel:sourceIdentifier:Event'] :: Event -> Maybe Text
-- | The source type for this event.
[$sel:sourceType:Event'] :: Event -> Maybe SourceType
-- | Create a value of Event 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:date:Event', event_date - The date and time of the
-- event.
--
-- $sel:eventCategories:Event', event_eventCategories - A
-- list of the event categories.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
--
-- $sel:eventId:Event', event_eventId - The identifier of
-- the event.
--
-- $sel:message:Event', event_message - The text of this
-- event.
--
-- $sel:severity:Event', event_severity - The severity of
-- the event.
--
-- Values: ERROR, INFO
--
-- $sel:sourceIdentifier:Event', event_sourceIdentifier -
-- The identifier for the source of the event.
--
-- $sel:sourceType:Event', event_sourceType - The source
-- type for this event.
newEvent :: Event
-- | The date and time of the event.
event_date :: Lens' Event (Maybe UTCTime)
-- | A list of the event categories.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
event_eventCategories :: Lens' Event (Maybe [Text])
-- | The identifier of the event.
event_eventId :: Lens' Event (Maybe Text)
-- | The text of this event.
event_message :: Lens' Event (Maybe Text)
-- | The severity of the event.
--
-- Values: ERROR, INFO
event_severity :: Lens' Event (Maybe Text)
-- | The identifier for the source of the event.
event_sourceIdentifier :: Lens' Event (Maybe Text)
-- | The source type for this event.
event_sourceType :: Lens' Event (Maybe SourceType)
instance GHC.Generics.Generic Amazonka.Redshift.Types.Event.Event
instance GHC.Show.Show Amazonka.Redshift.Types.Event.Event
instance GHC.Read.Read Amazonka.Redshift.Types.Event.Event
instance GHC.Classes.Eq Amazonka.Redshift.Types.Event.Event
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.Event.Event
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.Event.Event
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.Event.Event
module Amazonka.Redshift.Types.SupportedOperation
-- | Describes the operations that are allowed on a maintenance track.
--
-- See: newSupportedOperation smart constructor.
data SupportedOperation
SupportedOperation' :: Maybe Text -> SupportedOperation
-- | A list of the supported operations.
[$sel:operationName:SupportedOperation'] :: SupportedOperation -> Maybe Text
-- | Create a value of SupportedOperation 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:operationName:SupportedOperation',
-- supportedOperation_operationName - A list of the supported
-- operations.
newSupportedOperation :: SupportedOperation
-- | A list of the supported operations.
supportedOperation_operationName :: Lens' SupportedOperation (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.SupportedOperation.SupportedOperation
instance GHC.Show.Show Amazonka.Redshift.Types.SupportedOperation.SupportedOperation
instance GHC.Read.Read Amazonka.Redshift.Types.SupportedOperation.SupportedOperation
instance GHC.Classes.Eq Amazonka.Redshift.Types.SupportedOperation.SupportedOperation
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.SupportedOperation.SupportedOperation
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.SupportedOperation.SupportedOperation
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.SupportedOperation.SupportedOperation
module Amazonka.Redshift.Types.SupportedPlatform
-- | A list of supported platforms for orderable clusters.
--
-- See: newSupportedPlatform smart constructor.
data SupportedPlatform
SupportedPlatform' :: Maybe Text -> SupportedPlatform
[$sel:name:SupportedPlatform'] :: SupportedPlatform -> Maybe Text
-- | Create a value of SupportedPlatform 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:name:SupportedPlatform', supportedPlatform_name -
newSupportedPlatform :: SupportedPlatform
supportedPlatform_name :: Lens' SupportedPlatform (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.SupportedPlatform.SupportedPlatform
instance GHC.Show.Show Amazonka.Redshift.Types.SupportedPlatform.SupportedPlatform
instance GHC.Read.Read Amazonka.Redshift.Types.SupportedPlatform.SupportedPlatform
instance GHC.Classes.Eq Amazonka.Redshift.Types.SupportedPlatform.SupportedPlatform
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.SupportedPlatform.SupportedPlatform
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.SupportedPlatform.SupportedPlatform
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.SupportedPlatform.SupportedPlatform
module Amazonka.Redshift.Types.AvailabilityZone
-- | Describes an availability zone.
--
-- See: newAvailabilityZone smart constructor.
data AvailabilityZone
AvailabilityZone' :: Maybe Text -> Maybe [SupportedPlatform] -> AvailabilityZone
-- | The name of the availability zone.
[$sel:name:AvailabilityZone'] :: AvailabilityZone -> Maybe Text
[$sel:supportedPlatforms:AvailabilityZone'] :: AvailabilityZone -> Maybe [SupportedPlatform]
-- | Create a value of AvailabilityZone 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:
--
-- AvailabilityZone, availabilityZone_name - The name of
-- the availability zone.
--
-- $sel:supportedPlatforms:AvailabilityZone',
-- availabilityZone_supportedPlatforms -
newAvailabilityZone :: AvailabilityZone
-- | The name of the availability zone.
availabilityZone_name :: Lens' AvailabilityZone (Maybe Text)
availabilityZone_supportedPlatforms :: Lens' AvailabilityZone (Maybe [SupportedPlatform])
instance GHC.Generics.Generic Amazonka.Redshift.Types.AvailabilityZone.AvailabilityZone
instance GHC.Show.Show Amazonka.Redshift.Types.AvailabilityZone.AvailabilityZone
instance GHC.Read.Read Amazonka.Redshift.Types.AvailabilityZone.AvailabilityZone
instance GHC.Classes.Eq Amazonka.Redshift.Types.AvailabilityZone.AvailabilityZone
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.AvailabilityZone.AvailabilityZone
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.AvailabilityZone.AvailabilityZone
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.AvailabilityZone.AvailabilityZone
module Amazonka.Redshift.Types.Subnet
-- | Describes a subnet.
--
-- See: newSubnet smart constructor.
data Subnet
Subnet' :: Maybe AvailabilityZone -> Maybe Text -> Maybe Text -> Subnet
[$sel:subnetAvailabilityZone:Subnet'] :: Subnet -> Maybe AvailabilityZone
-- | The identifier of the subnet.
[$sel:subnetIdentifier:Subnet'] :: Subnet -> Maybe Text
-- | The status of the subnet.
[$sel:subnetStatus:Subnet'] :: Subnet -> Maybe Text
-- | Create a value of Subnet 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:subnetAvailabilityZone:Subnet',
-- subnet_subnetAvailabilityZone -
--
-- $sel:subnetIdentifier:Subnet', subnet_subnetIdentifier -
-- The identifier of the subnet.
--
-- $sel:subnetStatus:Subnet', subnet_subnetStatus - The
-- status of the subnet.
newSubnet :: Subnet
subnet_subnetAvailabilityZone :: Lens' Subnet (Maybe AvailabilityZone)
-- | The identifier of the subnet.
subnet_subnetIdentifier :: Lens' Subnet (Maybe Text)
-- | The status of the subnet.
subnet_subnetStatus :: Lens' Subnet (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.Subnet.Subnet
instance GHC.Show.Show Amazonka.Redshift.Types.Subnet.Subnet
instance GHC.Read.Read Amazonka.Redshift.Types.Subnet.Subnet
instance GHC.Classes.Eq Amazonka.Redshift.Types.Subnet.Subnet
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.Subnet.Subnet
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.Subnet.Subnet
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.Subnet.Subnet
module Amazonka.Redshift.Types.OrderableClusterOption
-- | Describes an orderable cluster option.
--
-- See: newOrderableClusterOption smart constructor.
data OrderableClusterOption
OrderableClusterOption' :: Maybe [AvailabilityZone] -> Maybe Text -> Maybe Text -> Maybe Text -> OrderableClusterOption
-- | A list of availability zones for the orderable cluster.
[$sel:availabilityZones:OrderableClusterOption'] :: OrderableClusterOption -> Maybe [AvailabilityZone]
-- | The cluster type, for example multi-node.
[$sel:clusterType:OrderableClusterOption'] :: OrderableClusterOption -> Maybe Text
-- | The version of the orderable cluster.
[$sel:clusterVersion:OrderableClusterOption'] :: OrderableClusterOption -> Maybe Text
-- | The node type for the orderable cluster.
[$sel:nodeType:OrderableClusterOption'] :: OrderableClusterOption -> Maybe Text
-- | Create a value of OrderableClusterOption 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:availabilityZones:OrderableClusterOption',
-- orderableClusterOption_availabilityZones - A list of
-- availability zones for the orderable cluster.
--
-- $sel:clusterType:OrderableClusterOption',
-- orderableClusterOption_clusterType - The cluster type, for
-- example multi-node.
--
-- $sel:clusterVersion:OrderableClusterOption',
-- orderableClusterOption_clusterVersion - The version of the
-- orderable cluster.
--
-- $sel:nodeType:OrderableClusterOption',
-- orderableClusterOption_nodeType - The node type for the
-- orderable cluster.
newOrderableClusterOption :: OrderableClusterOption
-- | A list of availability zones for the orderable cluster.
orderableClusterOption_availabilityZones :: Lens' OrderableClusterOption (Maybe [AvailabilityZone])
-- | The cluster type, for example multi-node.
orderableClusterOption_clusterType :: Lens' OrderableClusterOption (Maybe Text)
-- | The version of the orderable cluster.
orderableClusterOption_clusterVersion :: Lens' OrderableClusterOption (Maybe Text)
-- | The node type for the orderable cluster.
orderableClusterOption_nodeType :: Lens' OrderableClusterOption (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.OrderableClusterOption.OrderableClusterOption
instance GHC.Show.Show Amazonka.Redshift.Types.OrderableClusterOption.OrderableClusterOption
instance GHC.Read.Read Amazonka.Redshift.Types.OrderableClusterOption.OrderableClusterOption
instance GHC.Classes.Eq Amazonka.Redshift.Types.OrderableClusterOption.OrderableClusterOption
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.OrderableClusterOption.OrderableClusterOption
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.OrderableClusterOption.OrderableClusterOption
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.OrderableClusterOption.OrderableClusterOption
module Amazonka.Redshift.Types.TableRestoreStatusType
newtype TableRestoreStatusType
TableRestoreStatusType' :: Text -> TableRestoreStatusType
[fromTableRestoreStatusType] :: TableRestoreStatusType -> Text
pattern TableRestoreStatusType_CANCELED :: TableRestoreStatusType
pattern TableRestoreStatusType_FAILED :: TableRestoreStatusType
pattern TableRestoreStatusType_IN_PROGRESS :: TableRestoreStatusType
pattern TableRestoreStatusType_PENDING :: TableRestoreStatusType
pattern TableRestoreStatusType_SUCCEEDED :: TableRestoreStatusType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance GHC.Generics.Generic Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance GHC.Classes.Ord Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance GHC.Classes.Eq Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance GHC.Read.Read Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
instance GHC.Show.Show Amazonka.Redshift.Types.TableRestoreStatusType.TableRestoreStatusType
module Amazonka.Redshift.Types.TableRestoreStatus
-- | Describes the status of a RestoreTableFromClusterSnapshot operation.
--
-- See: newTableRestoreStatus smart constructor.
data TableRestoreStatus
TableRestoreStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe TableRestoreStatusType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> TableRestoreStatus
-- | The identifier of the Amazon Redshift cluster that the table is being
-- restored to.
[$sel:clusterIdentifier:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | 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 name of the table to create as a result of the table restore
-- request.
[$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 ISO8601
-- | The identifier of the snapshot that the table is being restored from.
[$sel:snapshotIdentifier:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | The name of the source database that contains the table being
-- restored.
[$sel:sourceDatabaseName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | The name of the source schema that contains the table being restored.
[$sel:sourceSchemaName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | The name of the source table being restored.
[$sel:sourceTableName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | A value that describes the current state of the table restore request.
--
-- Valid Values: SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS
[$sel:status:TableRestoreStatus'] :: TableRestoreStatus -> Maybe TableRestoreStatusType
-- | The unique identifier for the table restore request.
[$sel:tableRestoreRequestId:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | The name of the database to restore the table to.
[$sel:targetDatabaseName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | The name of the schema to restore the table 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
-- | 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:clusterIdentifier:TableRestoreStatus',
-- tableRestoreStatus_clusterIdentifier - The identifier of the
-- Amazon Redshift cluster that the table is being restored to.
--
-- $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:newTableName':TableRestoreStatus',
-- tableRestoreStatus_newTableName - The name of the table to
-- create as a result of the table restore request.
--
-- $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:snapshotIdentifier:TableRestoreStatus',
-- tableRestoreStatus_snapshotIdentifier - The identifier of the
-- snapshot that the table is being restored from.
--
-- $sel:sourceDatabaseName:TableRestoreStatus',
-- tableRestoreStatus_sourceDatabaseName - The name of the source
-- database that contains the table being restored.
--
-- $sel:sourceSchemaName:TableRestoreStatus',
-- tableRestoreStatus_sourceSchemaName - The name of the source
-- schema that contains the table being restored.
--
-- $sel:sourceTableName:TableRestoreStatus',
-- tableRestoreStatus_sourceTableName - The name of the source
-- table being restored.
--
-- $sel:status:TableRestoreStatus',
-- tableRestoreStatus_status - A value that describes the current
-- state of the table restore request.
--
-- Valid Values: SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS
--
-- $sel:tableRestoreRequestId:TableRestoreStatus',
-- tableRestoreStatus_tableRestoreRequestId - The unique
-- identifier for the table restore request.
--
-- $sel:targetDatabaseName:TableRestoreStatus',
-- tableRestoreStatus_targetDatabaseName - The name of the
-- database to restore the table to.
--
-- $sel:targetSchemaName:TableRestoreStatus',
-- tableRestoreStatus_targetSchemaName - The name of the schema to
-- restore the table to.
--
-- $sel:totalDataInMegaBytes:TableRestoreStatus',
-- tableRestoreStatus_totalDataInMegaBytes - The total amount of
-- data to restore to the new table, in megabytes (MB).
newTableRestoreStatus :: TableRestoreStatus
-- | The identifier of the Amazon Redshift cluster that the table is being
-- restored to.
tableRestoreStatus_clusterIdentifier :: Lens' TableRestoreStatus (Maybe Text)
-- | 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 name of the table to create as a result of the table restore
-- request.
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 identifier of the snapshot that the table is being restored from.
tableRestoreStatus_snapshotIdentifier :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source database that contains the table being
-- restored.
tableRestoreStatus_sourceDatabaseName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source schema that contains the table being restored.
tableRestoreStatus_sourceSchemaName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source table being restored.
tableRestoreStatus_sourceTableName :: Lens' TableRestoreStatus (Maybe Text)
-- | A value that describes the current state of the table restore request.
--
-- Valid Values: SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS
tableRestoreStatus_status :: Lens' TableRestoreStatus (Maybe TableRestoreStatusType)
-- | The unique identifier for the table restore request.
tableRestoreStatus_tableRestoreRequestId :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the database to restore the table to.
tableRestoreStatus_targetDatabaseName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the schema to restore the table 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)
instance GHC.Generics.Generic Amazonka.Redshift.Types.TableRestoreStatus.TableRestoreStatus
instance GHC.Show.Show Amazonka.Redshift.Types.TableRestoreStatus.TableRestoreStatus
instance GHC.Read.Read Amazonka.Redshift.Types.TableRestoreStatus.TableRestoreStatus
instance GHC.Classes.Eq Amazonka.Redshift.Types.TableRestoreStatus.TableRestoreStatus
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.TableRestoreStatus.TableRestoreStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.TableRestoreStatus.TableRestoreStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.TableRestoreStatus.TableRestoreStatus
module Amazonka.Redshift.Types.Tag
-- | A tag consisting of a name/value pair for a resource.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | The key, or name, for the resource tag.
[$sel:key:Tag'] :: Tag -> Maybe Text
-- | The value for the resource tag.
[$sel:value:Tag'] :: Tag -> Maybe 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, or name, for the
-- resource tag.
--
-- $sel:value:Tag', tag_value - The value for the resource
-- tag.
newTag :: Tag
-- | The key, or name, for the resource tag.
tag_key :: Lens' Tag (Maybe Text)
-- | The value for the resource tag.
tag_value :: Lens' Tag (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.Tag.Tag
instance GHC.Show.Show Amazonka.Redshift.Types.Tag.Tag
instance GHC.Read.Read Amazonka.Redshift.Types.Tag.Tag
instance GHC.Classes.Eq Amazonka.Redshift.Types.Tag.Tag
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.Tag.Tag
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.Tag.Tag
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.Tag.Tag
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.Tag.Tag
module Amazonka.Redshift.Types.SnapshotSchedule
-- | Describes a snapshot schedule. You can set a regular interval for
-- creating snapshots of a cluster. You can also schedule snapshots for
-- specific dates.
--
-- See: newSnapshotSchedule smart constructor.
data SnapshotSchedule
SnapshotSchedule' :: Maybe Int -> Maybe [ClusterAssociatedToSchedule] -> Maybe [ISO8601] -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Tag] -> SnapshotSchedule
-- | The number of clusters associated with the schedule.
[$sel:associatedClusterCount:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Int
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
[$sel:associatedClusters:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [ClusterAssociatedToSchedule]
[$sel:nextInvocations:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [ISO8601]
-- | A list of ScheduleDefinitions.
[$sel:scheduleDefinitions:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [Text]
-- | The description of the schedule.
[$sel:scheduleDescription:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Text
-- | A unique identifier for the schedule.
[$sel:scheduleIdentifier:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Text
-- | An optional set of tags describing the schedule.
[$sel:tags:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [Tag]
-- | Create a value of SnapshotSchedule 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:associatedClusterCount:SnapshotSchedule',
-- snapshotSchedule_associatedClusterCount - The number of
-- clusters associated with the schedule.
--
-- $sel:associatedClusters:SnapshotSchedule',
-- snapshotSchedule_associatedClusters - A list of clusters
-- associated with the schedule. A maximum of 100 clusters is returned.
--
-- $sel:nextInvocations:SnapshotSchedule',
-- snapshotSchedule_nextInvocations -
--
-- $sel:scheduleDefinitions:SnapshotSchedule',
-- snapshotSchedule_scheduleDefinitions - A list of
-- ScheduleDefinitions.
--
-- $sel:scheduleDescription:SnapshotSchedule',
-- snapshotSchedule_scheduleDescription - The description of the
-- schedule.
--
-- $sel:scheduleIdentifier:SnapshotSchedule',
-- snapshotSchedule_scheduleIdentifier - A unique identifier for
-- the schedule.
--
-- $sel:tags:SnapshotSchedule', snapshotSchedule_tags - An
-- optional set of tags describing the schedule.
newSnapshotSchedule :: SnapshotSchedule
-- | The number of clusters associated with the schedule.
snapshotSchedule_associatedClusterCount :: Lens' SnapshotSchedule (Maybe Int)
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
snapshotSchedule_associatedClusters :: Lens' SnapshotSchedule (Maybe [ClusterAssociatedToSchedule])
snapshotSchedule_nextInvocations :: Lens' SnapshotSchedule (Maybe [UTCTime])
-- | A list of ScheduleDefinitions.
snapshotSchedule_scheduleDefinitions :: Lens' SnapshotSchedule (Maybe [Text])
-- | The description of the schedule.
snapshotSchedule_scheduleDescription :: Lens' SnapshotSchedule (Maybe Text)
-- | A unique identifier for the schedule.
snapshotSchedule_scheduleIdentifier :: Lens' SnapshotSchedule (Maybe Text)
-- | An optional set of tags describing the schedule.
snapshotSchedule_tags :: Lens' SnapshotSchedule (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.Types.SnapshotSchedule.SnapshotSchedule
instance GHC.Show.Show Amazonka.Redshift.Types.SnapshotSchedule.SnapshotSchedule
instance GHC.Read.Read Amazonka.Redshift.Types.SnapshotSchedule.SnapshotSchedule
instance GHC.Classes.Eq Amazonka.Redshift.Types.SnapshotSchedule.SnapshotSchedule
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.SnapshotSchedule.SnapshotSchedule
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.SnapshotSchedule.SnapshotSchedule
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.SnapshotSchedule.SnapshotSchedule
module Amazonka.Redshift.Types.SnapshotCopyGrant
-- | The snapshot copy grant that grants Amazon Redshift permission to
-- encrypt copied snapshots with the specified encrypted symmetric key
-- from Amazon Web Services KMS in the destination region.
--
-- For more information about managing snapshot copy grants, go to
-- Amazon Redshift Database Encryption in the Amazon Redshift
-- Cluster Management Guide.
--
-- See: newSnapshotCopyGrant smart constructor.
data SnapshotCopyGrant
SnapshotCopyGrant' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> SnapshotCopyGrant
-- | The unique identifier of the encrypted symmetric key in Amazon Web
-- Services KMS to which Amazon Redshift is granted permission.
[$sel:kmsKeyId:SnapshotCopyGrant'] :: SnapshotCopyGrant -> Maybe Text
-- | The name of the snapshot copy grant.
[$sel:snapshotCopyGrantName:SnapshotCopyGrant'] :: SnapshotCopyGrant -> Maybe Text
-- | A list of tag instances.
[$sel:tags:SnapshotCopyGrant'] :: SnapshotCopyGrant -> Maybe [Tag]
-- | Create a value of SnapshotCopyGrant 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:kmsKeyId:SnapshotCopyGrant',
-- snapshotCopyGrant_kmsKeyId - The unique identifier of the
-- encrypted symmetric key in Amazon Web Services KMS to which Amazon
-- Redshift is granted permission.
--
-- $sel:snapshotCopyGrantName:SnapshotCopyGrant',
-- snapshotCopyGrant_snapshotCopyGrantName - The name of the
-- snapshot copy grant.
--
-- $sel:tags:SnapshotCopyGrant', snapshotCopyGrant_tags - A
-- list of tag instances.
newSnapshotCopyGrant :: SnapshotCopyGrant
-- | The unique identifier of the encrypted symmetric key in Amazon Web
-- Services KMS to which Amazon Redshift is granted permission.
snapshotCopyGrant_kmsKeyId :: Lens' SnapshotCopyGrant (Maybe Text)
-- | The name of the snapshot copy grant.
snapshotCopyGrant_snapshotCopyGrantName :: Lens' SnapshotCopyGrant (Maybe Text)
-- | A list of tag instances.
snapshotCopyGrant_tags :: Lens' SnapshotCopyGrant (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.Types.SnapshotCopyGrant.SnapshotCopyGrant
instance GHC.Show.Show Amazonka.Redshift.Types.SnapshotCopyGrant.SnapshotCopyGrant
instance GHC.Read.Read Amazonka.Redshift.Types.SnapshotCopyGrant.SnapshotCopyGrant
instance GHC.Classes.Eq Amazonka.Redshift.Types.SnapshotCopyGrant.SnapshotCopyGrant
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.SnapshotCopyGrant.SnapshotCopyGrant
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.SnapshotCopyGrant.SnapshotCopyGrant
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.SnapshotCopyGrant.SnapshotCopyGrant
module Amazonka.Redshift.Types.Snapshot
-- | Describes a snapshot.
--
-- See: newSnapshot smart constructor.
data Snapshot
Snapshot' :: Maybe [AccountWithRestoreAccess] -> Maybe Double -> Maybe Text -> Maybe Double -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe Text -> Maybe Integer -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe Double -> Maybe Text -> Snapshot
-- | A list of the Amazon Web Services accounts authorized to restore the
-- snapshot. Returns null if no accounts are authorized. Visible
-- only to the snapshot owner.
[$sel:accountsWithRestoreAccess:Snapshot'] :: Snapshot -> Maybe [AccountWithRestoreAccess]
-- | The size of the incremental backup.
[$sel:actualIncrementalBackupSizeInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double
-- | The Availability Zone in which the cluster was created.
[$sel:availabilityZone:Snapshot'] :: Snapshot -> Maybe Text
-- | The number of megabytes that have been transferred to the snapshot
-- backup.
[$sel:backupProgressInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double
-- | The time (UTC) when the cluster was originally created.
[$sel:clusterCreateTime:Snapshot'] :: Snapshot -> Maybe ISO8601
-- | The identifier of the cluster for which the snapshot was taken.
[$sel:clusterIdentifier:Snapshot'] :: Snapshot -> Maybe Text
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
[$sel:clusterVersion:Snapshot'] :: Snapshot -> Maybe Text
-- | The number of megabytes per second being transferred to the snapshot
-- backup. Returns 0 for a completed backup.
[$sel:currentBackupRateInMegaBytesPerSecond:Snapshot'] :: Snapshot -> Maybe Double
-- | The name of the database that was created when the cluster was
-- created.
[$sel:dbName:Snapshot'] :: Snapshot -> Maybe Text
-- | The amount of time an in-progress snapshot backup has been running, or
-- the amount of time it took a completed backup to finish.
[$sel:elapsedTimeInSeconds:Snapshot'] :: Snapshot -> Maybe Integer
-- | If true, the data in the snapshot is encrypted at rest.
[$sel:encrypted:Snapshot'] :: Snapshot -> Maybe Bool
-- | A boolean that indicates whether the snapshot data is encrypted using
-- the HSM keys of the source cluster. true indicates that the
-- data is encrypted using HSM keys.
[$sel:encryptedWithHSM:Snapshot'] :: Snapshot -> Maybe Bool
-- | The cluster version of the cluster used to create the snapshot. For
-- example, 1.0.15503.
[$sel:engineFullVersion:Snapshot'] :: Snapshot -> Maybe Text
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
[$sel:enhancedVpcRouting:Snapshot'] :: Snapshot -> Maybe Bool
-- | The estimate of the time remaining before the snapshot backup will
-- complete. Returns 0 for a completed backup.
[$sel:estimatedSecondsToCompletion:Snapshot'] :: Snapshot -> Maybe Integer
-- | The Key Management Service (KMS) key ID of the encryption key that was
-- used to encrypt data in the cluster from which the snapshot was taken.
[$sel:kmsKeyId:Snapshot'] :: Snapshot -> Maybe Text
-- | The name of the maintenance track for the snapshot.
[$sel:maintenanceTrackName:Snapshot'] :: Snapshot -> Maybe Text
-- | The number of days until a manual snapshot will pass its retention
-- period.
[$sel:manualSnapshotRemainingDays:Snapshot'] :: Snapshot -> Maybe Int
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
[$sel:manualSnapshotRetentionPeriod:Snapshot'] :: Snapshot -> Maybe Int
-- | The admin user name for the cluster.
[$sel:masterUsername:Snapshot'] :: Snapshot -> Maybe Text
-- | The node type of the nodes in the cluster.
[$sel:nodeType:Snapshot'] :: Snapshot -> Maybe Text
-- | The number of nodes in the cluster.
[$sel:numberOfNodes:Snapshot'] :: Snapshot -> Maybe Int
-- | For manual snapshots, the Amazon Web Services account used to create
-- or copy the snapshot. For automatic snapshots, the owner of the
-- cluster. The owner can perform all snapshot actions, such as sharing a
-- manual snapshot.
[$sel:ownerAccount:Snapshot'] :: Snapshot -> Maybe Text
-- | The port that the cluster is listening on.
[$sel:port:Snapshot'] :: Snapshot -> Maybe Int
-- | The list of node types that this cluster snapshot is able to restore
-- into.
[$sel:restorableNodeTypes:Snapshot'] :: Snapshot -> Maybe [Text]
-- | The time (in UTC format) when Amazon Redshift began the snapshot. A
-- snapshot contains a copy of the cluster data as of this exact time.
[$sel:snapshotCreateTime:Snapshot'] :: Snapshot -> Maybe ISO8601
-- | The snapshot identifier that is provided in the request.
[$sel:snapshotIdentifier:Snapshot'] :: Snapshot -> Maybe Text
-- | A timestamp representing the start of the retention period for the
-- snapshot.
[$sel:snapshotRetentionStartTime:Snapshot'] :: Snapshot -> Maybe ISO8601
-- | The snapshot type. Snapshots created using CreateClusterSnapshot and
-- CopyClusterSnapshot are of type "manual".
[$sel:snapshotType:Snapshot'] :: Snapshot -> Maybe Text
-- | The source region from which the snapshot was copied.
[$sel:sourceRegion:Snapshot'] :: Snapshot -> Maybe Text
-- | The snapshot status. The value of the status depends on the API
-- operation used:
--
--
-- - CreateClusterSnapshot and CopyClusterSnapshot returns status as
-- "creating".
-- - DescribeClusterSnapshots returns status as "creating",
-- "available", "final snapshot", or "failed".
-- - DeleteClusterSnapshot returns status as "deleted".
--
[$sel:status:Snapshot'] :: Snapshot -> Maybe Text
-- | The list of tags for the cluster snapshot.
[$sel:tags:Snapshot'] :: Snapshot -> Maybe [Tag]
-- | The size of the complete set of backup data that would be used to
-- restore the cluster.
[$sel:totalBackupSizeInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double
-- | The VPC identifier of the cluster if the snapshot is from a cluster in
-- a VPC. Otherwise, this field is not in the output.
[$sel:vpcId:Snapshot'] :: Snapshot -> Maybe Text
-- | 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:accountsWithRestoreAccess:Snapshot',
-- snapshot_accountsWithRestoreAccess - A list of the Amazon Web
-- Services accounts authorized to restore the snapshot. Returns
-- null if no accounts are authorized. Visible only to the
-- snapshot owner.
--
-- $sel:actualIncrementalBackupSizeInMegaBytes:Snapshot',
-- snapshot_actualIncrementalBackupSizeInMegaBytes - The size of
-- the incremental backup.
--
-- $sel:availabilityZone:Snapshot',
-- snapshot_availabilityZone - The Availability Zone in which the
-- cluster was created.
--
-- $sel:backupProgressInMegaBytes:Snapshot',
-- snapshot_backupProgressInMegaBytes - The number of megabytes
-- that have been transferred to the snapshot backup.
--
-- $sel:clusterCreateTime:Snapshot',
-- snapshot_clusterCreateTime - The time (UTC) when the cluster
-- was originally created.
--
-- $sel:clusterIdentifier:Snapshot',
-- snapshot_clusterIdentifier - The identifier of the cluster for
-- which the snapshot was taken.
--
-- $sel:clusterVersion:Snapshot', snapshot_clusterVersion -
-- The version ID of the Amazon Redshift engine that is running on the
-- cluster.
--
-- $sel:currentBackupRateInMegaBytesPerSecond:Snapshot',
-- snapshot_currentBackupRateInMegaBytesPerSecond - The number of
-- megabytes per second being transferred to the snapshot backup. Returns
-- 0 for a completed backup.
--
-- $sel:dbName:Snapshot', snapshot_dbName - The name of the
-- database that was created when the cluster was created.
--
-- $sel:elapsedTimeInSeconds:Snapshot',
-- snapshot_elapsedTimeInSeconds - The amount of time an
-- in-progress snapshot backup has been running, or the amount of time it
-- took a completed backup to finish.
--
-- $sel:encrypted:Snapshot', snapshot_encrypted - If
-- true, the data in the snapshot is encrypted at rest.
--
-- $sel:encryptedWithHSM:Snapshot',
-- snapshot_encryptedWithHSM - A boolean that indicates whether
-- the snapshot data is encrypted using the HSM keys of the source
-- cluster. true indicates that the data is encrypted using HSM
-- keys.
--
-- $sel:engineFullVersion:Snapshot',
-- snapshot_engineFullVersion - The cluster version of the cluster
-- used to create the snapshot. For example, 1.0.15503.
--
-- $sel:enhancedVpcRouting:Snapshot',
-- snapshot_enhancedVpcRouting - An option that specifies whether
-- to create the cluster with enhanced VPC routing enabled. To create a
-- cluster that uses enhanced VPC routing, the cluster must be in a VPC.
-- For more information, see Enhanced VPC Routing in the Amazon
-- Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- $sel:estimatedSecondsToCompletion:Snapshot',
-- snapshot_estimatedSecondsToCompletion - The estimate of the
-- time remaining before the snapshot backup will complete. Returns
-- 0 for a completed backup.
--
-- $sel:kmsKeyId:Snapshot', snapshot_kmsKeyId - The Key
-- Management Service (KMS) key ID of the encryption key that was used to
-- encrypt data in the cluster from which the snapshot was taken.
--
-- $sel:maintenanceTrackName:Snapshot',
-- snapshot_maintenanceTrackName - The name of the maintenance
-- track for the snapshot.
--
-- $sel:manualSnapshotRemainingDays:Snapshot',
-- snapshot_manualSnapshotRemainingDays - The number of days until
-- a manual snapshot will pass its retention period.
--
-- $sel:manualSnapshotRetentionPeriod:Snapshot',
-- snapshot_manualSnapshotRetentionPeriod - The number of days
-- that a manual snapshot is retained. If the value is -1, the manual
-- snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- $sel:masterUsername:Snapshot', snapshot_masterUsername -
-- The admin user name for the cluster.
--
-- $sel:nodeType:Snapshot', snapshot_nodeType - The node
-- type of the nodes in the cluster.
--
-- $sel:numberOfNodes:Snapshot', snapshot_numberOfNodes -
-- The number of nodes in the cluster.
--
-- $sel:ownerAccount:Snapshot', snapshot_ownerAccount - For
-- manual snapshots, the Amazon Web Services account used to create or
-- copy the snapshot. For automatic snapshots, the owner of the cluster.
-- The owner can perform all snapshot actions, such as sharing a manual
-- snapshot.
--
-- $sel:port:Snapshot', snapshot_port - The port that the
-- cluster is listening on.
--
-- $sel:restorableNodeTypes:Snapshot',
-- snapshot_restorableNodeTypes - The list of node types that this
-- cluster snapshot is able to restore into.
--
-- $sel:snapshotCreateTime:Snapshot',
-- snapshot_snapshotCreateTime - The time (in UTC format) when
-- Amazon Redshift began the snapshot. A snapshot contains a copy of the
-- cluster data as of this exact time.
--
-- $sel:snapshotIdentifier:Snapshot',
-- snapshot_snapshotIdentifier - The snapshot identifier that is
-- provided in the request.
--
-- $sel:snapshotRetentionStartTime:Snapshot',
-- snapshot_snapshotRetentionStartTime - A timestamp representing
-- the start of the retention period for the snapshot.
--
-- $sel:snapshotType:Snapshot', snapshot_snapshotType - The
-- snapshot type. Snapshots created using CreateClusterSnapshot and
-- CopyClusterSnapshot are of type "manual".
--
-- $sel:sourceRegion:Snapshot', snapshot_sourceRegion - The
-- source region from which the snapshot was copied.
--
-- $sel:status:Snapshot', snapshot_status - The snapshot
-- status. The value of the status depends on the API operation used:
--
--
-- - CreateClusterSnapshot and CopyClusterSnapshot returns status as
-- "creating".
-- - DescribeClusterSnapshots returns status as "creating",
-- "available", "final snapshot", or "failed".
-- - DeleteClusterSnapshot returns status as "deleted".
--
--
-- $sel:tags:Snapshot', snapshot_tags - The list of tags
-- for the cluster snapshot.
--
-- $sel:totalBackupSizeInMegaBytes:Snapshot',
-- snapshot_totalBackupSizeInMegaBytes - The size of the complete
-- set of backup data that would be used to restore the cluster.
--
-- $sel:vpcId:Snapshot', snapshot_vpcId - The VPC
-- identifier of the cluster if the snapshot is from a cluster in a VPC.
-- Otherwise, this field is not in the output.
newSnapshot :: Snapshot
-- | A list of the Amazon Web Services accounts authorized to restore the
-- snapshot. Returns null if no accounts are authorized. Visible
-- only to the snapshot owner.
snapshot_accountsWithRestoreAccess :: Lens' Snapshot (Maybe [AccountWithRestoreAccess])
-- | The size of the incremental backup.
snapshot_actualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The Availability Zone in which the cluster was created.
snapshot_availabilityZone :: Lens' Snapshot (Maybe Text)
-- | The number of megabytes that have been transferred to the snapshot
-- backup.
snapshot_backupProgressInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The time (UTC) when the cluster was originally created.
snapshot_clusterCreateTime :: Lens' Snapshot (Maybe UTCTime)
-- | The identifier of the cluster for which the snapshot was taken.
snapshot_clusterIdentifier :: Lens' Snapshot (Maybe Text)
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
snapshot_clusterVersion :: Lens' Snapshot (Maybe Text)
-- | The number of megabytes per second being transferred to the snapshot
-- backup. Returns 0 for a completed backup.
snapshot_currentBackupRateInMegaBytesPerSecond :: Lens' Snapshot (Maybe Double)
-- | The name of the database that was created when the cluster was
-- created.
snapshot_dbName :: Lens' Snapshot (Maybe Text)
-- | The amount of time an in-progress snapshot backup has been running, or
-- the amount of time it took a completed backup to finish.
snapshot_elapsedTimeInSeconds :: Lens' Snapshot (Maybe Integer)
-- | If true, the data in the snapshot is encrypted at rest.
snapshot_encrypted :: Lens' Snapshot (Maybe Bool)
-- | A boolean that indicates whether the snapshot data is encrypted using
-- the HSM keys of the source cluster. true indicates that the
-- data is encrypted using HSM keys.
snapshot_encryptedWithHSM :: Lens' Snapshot (Maybe Bool)
-- | The cluster version of the cluster used to create the snapshot. For
-- example, 1.0.15503.
snapshot_engineFullVersion :: Lens' Snapshot (Maybe Text)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
snapshot_enhancedVpcRouting :: Lens' Snapshot (Maybe Bool)
-- | The estimate of the time remaining before the snapshot backup will
-- complete. Returns 0 for a completed backup.
snapshot_estimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer)
-- | The Key Management Service (KMS) key ID of the encryption key that was
-- used to encrypt data in the cluster from which the snapshot was taken.
snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text)
-- | The name of the maintenance track for the snapshot.
snapshot_maintenanceTrackName :: Lens' Snapshot (Maybe Text)
-- | The number of days until a manual snapshot will pass its retention
-- period.
snapshot_manualSnapshotRemainingDays :: Lens' Snapshot (Maybe Int)
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
snapshot_manualSnapshotRetentionPeriod :: Lens' Snapshot (Maybe Int)
-- | The admin user name for the cluster.
snapshot_masterUsername :: Lens' Snapshot (Maybe Text)
-- | The node type of the nodes in the cluster.
snapshot_nodeType :: Lens' Snapshot (Maybe Text)
-- | The number of nodes in the cluster.
snapshot_numberOfNodes :: Lens' Snapshot (Maybe Int)
-- | For manual snapshots, the Amazon Web Services account used to create
-- or copy the snapshot. For automatic snapshots, the owner of the
-- cluster. The owner can perform all snapshot actions, such as sharing a
-- manual snapshot.
snapshot_ownerAccount :: Lens' Snapshot (Maybe Text)
-- | The port that the cluster is listening on.
snapshot_port :: Lens' Snapshot (Maybe Int)
-- | The list of node types that this cluster snapshot is able to restore
-- into.
snapshot_restorableNodeTypes :: Lens' Snapshot (Maybe [Text])
-- | The time (in UTC format) when Amazon Redshift began the snapshot. A
-- snapshot contains a copy of the cluster data as of this exact time.
snapshot_snapshotCreateTime :: Lens' Snapshot (Maybe UTCTime)
-- | The snapshot identifier that is provided in the request.
snapshot_snapshotIdentifier :: Lens' Snapshot (Maybe Text)
-- | A timestamp representing the start of the retention period for the
-- snapshot.
snapshot_snapshotRetentionStartTime :: Lens' Snapshot (Maybe UTCTime)
-- | The snapshot type. Snapshots created using CreateClusterSnapshot and
-- CopyClusterSnapshot are of type "manual".
snapshot_snapshotType :: Lens' Snapshot (Maybe Text)
-- | The source region from which the snapshot was copied.
snapshot_sourceRegion :: Lens' Snapshot (Maybe Text)
-- | The snapshot status. The value of the status depends on the API
-- operation used:
--
--
-- - CreateClusterSnapshot and CopyClusterSnapshot returns status as
-- "creating".
-- - DescribeClusterSnapshots returns status as "creating",
-- "available", "final snapshot", or "failed".
-- - DeleteClusterSnapshot returns status as "deleted".
--
snapshot_status :: Lens' Snapshot (Maybe Text)
-- | The list of tags for the cluster snapshot.
snapshot_tags :: Lens' Snapshot (Maybe [Tag])
-- | The size of the complete set of backup data that would be used to
-- restore the cluster.
snapshot_totalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The VPC identifier of the cluster if the snapshot is from a cluster in
-- a VPC. Otherwise, this field is not in the output.
snapshot_vpcId :: Lens' Snapshot (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.Snapshot.Snapshot
instance GHC.Show.Show Amazonka.Redshift.Types.Snapshot.Snapshot
instance GHC.Read.Read Amazonka.Redshift.Types.Snapshot.Snapshot
instance GHC.Classes.Eq Amazonka.Redshift.Types.Snapshot.Snapshot
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.Snapshot.Snapshot
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.Snapshot.Snapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.Snapshot.Snapshot
module Amazonka.Redshift.Types.IPRange
-- | Describes an IP range used in a security group.
--
-- See: newIPRange smart constructor.
data IPRange
IPRange' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> IPRange
-- | The IP range in Classless Inter-Domain Routing (CIDR) notation.
[$sel:cidrip:IPRange'] :: IPRange -> Maybe Text
-- | The status of the IP range, for example, "authorized".
[$sel:status:IPRange'] :: IPRange -> Maybe Text
-- | The list of tags for the IP range.
[$sel:tags:IPRange'] :: IPRange -> Maybe [Tag]
-- | Create a value of IPRange 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:cidrip:IPRange', iPRange_cidrip - The IP range in
-- Classless Inter-Domain Routing (CIDR) notation.
--
-- $sel:status:IPRange', iPRange_status - The status of the
-- IP range, for example, "authorized".
--
-- $sel:tags:IPRange', iPRange_tags - The list of tags for
-- the IP range.
newIPRange :: IPRange
-- | The IP range in Classless Inter-Domain Routing (CIDR) notation.
iPRange_cidrip :: Lens' IPRange (Maybe Text)
-- | The status of the IP range, for example, "authorized".
iPRange_status :: Lens' IPRange (Maybe Text)
-- | The list of tags for the IP range.
iPRange_tags :: Lens' IPRange (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.Types.IPRange.IPRange
instance GHC.Show.Show Amazonka.Redshift.Types.IPRange.IPRange
instance GHC.Read.Read Amazonka.Redshift.Types.IPRange.IPRange
instance GHC.Classes.Eq Amazonka.Redshift.Types.IPRange.IPRange
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.IPRange.IPRange
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.IPRange.IPRange
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.IPRange.IPRange
module Amazonka.Redshift.Types.HsmConfiguration
-- | Returns information about an HSM configuration, which is an object
-- that describes to Amazon Redshift clusters the information they
-- require to connect to an HSM where they can store database encryption
-- keys.
--
-- See: newHsmConfiguration smart constructor.
data HsmConfiguration
HsmConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> HsmConfiguration
-- | A text description of the HSM configuration.
[$sel:description:HsmConfiguration'] :: HsmConfiguration -> Maybe Text
-- | The name of the Amazon Redshift HSM configuration.
[$sel:hsmConfigurationIdentifier:HsmConfiguration'] :: HsmConfiguration -> Maybe Text
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
[$sel:hsmIpAddress:HsmConfiguration'] :: HsmConfiguration -> Maybe Text
-- | The name of the partition in the HSM where the Amazon Redshift
-- clusters will store their database encryption keys.
[$sel:hsmPartitionName:HsmConfiguration'] :: HsmConfiguration -> Maybe Text
-- | The list of tags for the HSM configuration.
[$sel:tags:HsmConfiguration'] :: HsmConfiguration -> Maybe [Tag]
-- | Create a value of HsmConfiguration 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:description:HsmConfiguration',
-- hsmConfiguration_description - A text description of the HSM
-- configuration.
--
-- $sel:hsmConfigurationIdentifier:HsmConfiguration',
-- hsmConfiguration_hsmConfigurationIdentifier - The name of the
-- Amazon Redshift HSM configuration.
--
-- $sel:hsmIpAddress:HsmConfiguration',
-- hsmConfiguration_hsmIpAddress - The IP address that the Amazon
-- Redshift cluster must use to access the HSM.
--
-- $sel:hsmPartitionName:HsmConfiguration',
-- hsmConfiguration_hsmPartitionName - The name of the partition
-- in the HSM where the Amazon Redshift clusters will store their
-- database encryption keys.
--
-- $sel:tags:HsmConfiguration', hsmConfiguration_tags - The
-- list of tags for the HSM configuration.
newHsmConfiguration :: HsmConfiguration
-- | A text description of the HSM configuration.
hsmConfiguration_description :: Lens' HsmConfiguration (Maybe Text)
-- | The name of the Amazon Redshift HSM configuration.
hsmConfiguration_hsmConfigurationIdentifier :: Lens' HsmConfiguration (Maybe Text)
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
hsmConfiguration_hsmIpAddress :: Lens' HsmConfiguration (Maybe Text)
-- | The name of the partition in the HSM where the Amazon Redshift
-- clusters will store their database encryption keys.
hsmConfiguration_hsmPartitionName :: Lens' HsmConfiguration (Maybe Text)
-- | The list of tags for the HSM configuration.
hsmConfiguration_tags :: Lens' HsmConfiguration (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.Types.HsmConfiguration.HsmConfiguration
instance GHC.Show.Show Amazonka.Redshift.Types.HsmConfiguration.HsmConfiguration
instance GHC.Read.Read Amazonka.Redshift.Types.HsmConfiguration.HsmConfiguration
instance GHC.Classes.Eq Amazonka.Redshift.Types.HsmConfiguration.HsmConfiguration
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.HsmConfiguration.HsmConfiguration
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.HsmConfiguration.HsmConfiguration
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.HsmConfiguration.HsmConfiguration
module Amazonka.Redshift.Types.HsmClientCertificate
-- | Returns information about an HSM client certificate. The certificate
-- is stored in a secure Hardware Storage Module (HSM), and used by the
-- Amazon Redshift cluster to encrypt data files.
--
-- See: newHsmClientCertificate smart constructor.
data HsmClientCertificate
HsmClientCertificate' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> HsmClientCertificate
-- | The identifier of the HSM client certificate.
[$sel:hsmClientCertificateIdentifier:HsmClientCertificate'] :: HsmClientCertificate -> Maybe Text
-- | The public key that the Amazon Redshift cluster will use to connect to
-- the HSM. You must register the public key in the HSM.
[$sel:hsmClientCertificatePublicKey:HsmClientCertificate'] :: HsmClientCertificate -> Maybe Text
-- | The list of tags for the HSM client certificate.
[$sel:tags:HsmClientCertificate'] :: HsmClientCertificate -> Maybe [Tag]
-- | Create a value of HsmClientCertificate 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:hsmClientCertificateIdentifier:HsmClientCertificate',
-- hsmClientCertificate_hsmClientCertificateIdentifier - The
-- identifier of the HSM client certificate.
--
-- $sel:hsmClientCertificatePublicKey:HsmClientCertificate',
-- hsmClientCertificate_hsmClientCertificatePublicKey - The public
-- key that the Amazon Redshift cluster will use to connect to the HSM.
-- You must register the public key in the HSM.
--
-- $sel:tags:HsmClientCertificate',
-- hsmClientCertificate_tags - The list of tags for the HSM client
-- certificate.
newHsmClientCertificate :: HsmClientCertificate
-- | The identifier of the HSM client certificate.
hsmClientCertificate_hsmClientCertificateIdentifier :: Lens' HsmClientCertificate (Maybe Text)
-- | The public key that the Amazon Redshift cluster will use to connect to
-- the HSM. You must register the public key in the HSM.
hsmClientCertificate_hsmClientCertificatePublicKey :: Lens' HsmClientCertificate (Maybe Text)
-- | The list of tags for the HSM client certificate.
hsmClientCertificate_tags :: Lens' HsmClientCertificate (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.Types.HsmClientCertificate.HsmClientCertificate
instance GHC.Show.Show Amazonka.Redshift.Types.HsmClientCertificate.HsmClientCertificate
instance GHC.Read.Read Amazonka.Redshift.Types.HsmClientCertificate.HsmClientCertificate
instance GHC.Classes.Eq Amazonka.Redshift.Types.HsmClientCertificate.HsmClientCertificate
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.HsmClientCertificate.HsmClientCertificate
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.HsmClientCertificate.HsmClientCertificate
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.HsmClientCertificate.HsmClientCertificate
module Amazonka.Redshift.Types.EventSubscription
-- | Describes event subscriptions.
--
-- See: newEventSubscription smart constructor.
data EventSubscription
EventSubscription' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe [Tag] -> EventSubscription
-- | The name of the Amazon Redshift event notification subscription.
[$sel:custSubscriptionId:EventSubscription'] :: EventSubscription -> Maybe Text
-- | The Amazon Web Services account associated with the Amazon Redshift
-- event notification subscription.
[$sel:customerAwsId:EventSubscription'] :: EventSubscription -> Maybe Text
-- | A boolean value indicating whether the subscription is enabled;
-- true indicates that the subscription is enabled.
[$sel:enabled:EventSubscription'] :: EventSubscription -> Maybe Bool
-- | The list of Amazon Redshift event categories specified in the event
-- notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
[$sel:eventCategoriesList:EventSubscription'] :: EventSubscription -> Maybe [Text]
-- | The event severity specified in the Amazon Redshift event notification
-- subscription.
--
-- Values: ERROR, INFO
[$sel:severity:EventSubscription'] :: EventSubscription -> Maybe Text
-- | The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
-- event notification subscription.
[$sel:snsTopicArn:EventSubscription'] :: EventSubscription -> Maybe Text
-- | A list of the sources that publish events to the Amazon Redshift event
-- notification subscription.
[$sel:sourceIdsList:EventSubscription'] :: EventSubscription -> Maybe [Text]
-- | The source type of the events returned by the Amazon Redshift event
-- notification, such as cluster, cluster-snapshot,
-- cluster-parameter-group, cluster-security-group, or scheduled-action.
[$sel:sourceType:EventSubscription'] :: EventSubscription -> Maybe Text
-- | The status of the Amazon Redshift event notification subscription.
--
-- Constraints:
--
--
-- - Can be one of the following: active | no-permission |
-- topic-not-exist
-- - The status "no-permission" indicates that Amazon Redshift no
-- longer has permission to post to the Amazon SNS topic. The status
-- "topic-not-exist" indicates that the topic was deleted after the
-- subscription was created.
--
[$sel:status:EventSubscription'] :: EventSubscription -> Maybe Text
-- | The date and time the Amazon Redshift event notification subscription
-- was created.
[$sel:subscriptionCreationTime:EventSubscription'] :: EventSubscription -> Maybe ISO8601
-- | The list of tags for the event subscription.
[$sel:tags:EventSubscription'] :: EventSubscription -> Maybe [Tag]
-- | Create a value of EventSubscription 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:custSubscriptionId:EventSubscription',
-- eventSubscription_custSubscriptionId - The name of the Amazon
-- Redshift event notification subscription.
--
-- $sel:customerAwsId:EventSubscription',
-- eventSubscription_customerAwsId - The Amazon Web Services
-- account associated with the Amazon Redshift event notification
-- subscription.
--
-- $sel:enabled:EventSubscription',
-- eventSubscription_enabled - A boolean value indicating whether
-- the subscription is enabled; true indicates that the
-- subscription is enabled.
--
-- $sel:eventCategoriesList:EventSubscription',
-- eventSubscription_eventCategoriesList - The list of Amazon
-- Redshift event categories specified in the event notification
-- subscription.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
--
-- $sel:severity:EventSubscription',
-- eventSubscription_severity - The event severity specified in
-- the Amazon Redshift event notification subscription.
--
-- Values: ERROR, INFO
--
-- $sel:snsTopicArn:EventSubscription',
-- eventSubscription_snsTopicArn - The Amazon Resource Name (ARN)
-- of the Amazon SNS topic used by the event notification subscription.
--
-- $sel:sourceIdsList:EventSubscription',
-- eventSubscription_sourceIdsList - A list of the sources that
-- publish events to the Amazon Redshift event notification subscription.
--
-- $sel:sourceType:EventSubscription',
-- eventSubscription_sourceType - The source type of the events
-- returned by the Amazon Redshift event notification, such as cluster,
-- cluster-snapshot, cluster-parameter-group, cluster-security-group, or
-- scheduled-action.
--
-- $sel:status:EventSubscription', eventSubscription_status
-- - The status of the Amazon Redshift event notification subscription.
--
-- Constraints:
--
--
-- - Can be one of the following: active | no-permission |
-- topic-not-exist
-- - The status "no-permission" indicates that Amazon Redshift no
-- longer has permission to post to the Amazon SNS topic. The status
-- "topic-not-exist" indicates that the topic was deleted after the
-- subscription was created.
--
--
-- $sel:subscriptionCreationTime:EventSubscription',
-- eventSubscription_subscriptionCreationTime - The date and time
-- the Amazon Redshift event notification subscription was created.
--
-- $sel:tags:EventSubscription', eventSubscription_tags -
-- The list of tags for the event subscription.
newEventSubscription :: EventSubscription
-- | The name of the Amazon Redshift event notification subscription.
eventSubscription_custSubscriptionId :: Lens' EventSubscription (Maybe Text)
-- | The Amazon Web Services account associated with the Amazon Redshift
-- event notification subscription.
eventSubscription_customerAwsId :: Lens' EventSubscription (Maybe Text)
-- | A boolean value indicating whether the subscription is enabled;
-- true indicates that the subscription is enabled.
eventSubscription_enabled :: Lens' EventSubscription (Maybe Bool)
-- | The list of Amazon Redshift event categories specified in the event
-- notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
eventSubscription_eventCategoriesList :: Lens' EventSubscription (Maybe [Text])
-- | The event severity specified in the Amazon Redshift event notification
-- subscription.
--
-- Values: ERROR, INFO
eventSubscription_severity :: Lens' EventSubscription (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
-- event notification subscription.
eventSubscription_snsTopicArn :: Lens' EventSubscription (Maybe Text)
-- | A list of the sources that publish events to the Amazon Redshift event
-- notification subscription.
eventSubscription_sourceIdsList :: Lens' EventSubscription (Maybe [Text])
-- | The source type of the events returned by the Amazon Redshift event
-- notification, such as cluster, cluster-snapshot,
-- cluster-parameter-group, cluster-security-group, or scheduled-action.
eventSubscription_sourceType :: Lens' EventSubscription (Maybe Text)
-- | The status of the Amazon Redshift event notification subscription.
--
-- Constraints:
--
--
-- - Can be one of the following: active | no-permission |
-- topic-not-exist
-- - The status "no-permission" indicates that Amazon Redshift no
-- longer has permission to post to the Amazon SNS topic. The status
-- "topic-not-exist" indicates that the topic was deleted after the
-- subscription was created.
--
eventSubscription_status :: Lens' EventSubscription (Maybe Text)
-- | The date and time the Amazon Redshift event notification subscription
-- was created.
eventSubscription_subscriptionCreationTime :: Lens' EventSubscription (Maybe UTCTime)
-- | The list of tags for the event subscription.
eventSubscription_tags :: Lens' EventSubscription (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.Types.EventSubscription.EventSubscription
instance GHC.Show.Show Amazonka.Redshift.Types.EventSubscription.EventSubscription
instance GHC.Read.Read Amazonka.Redshift.Types.EventSubscription.EventSubscription
instance GHC.Classes.Eq Amazonka.Redshift.Types.EventSubscription.EventSubscription
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.EventSubscription.EventSubscription
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.EventSubscription.EventSubscription
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.EventSubscription.EventSubscription
module Amazonka.Redshift.Types.EC2SecurityGroup
-- | Describes an Amazon EC2 security group.
--
-- See: newEC2SecurityGroup smart constructor.
data EC2SecurityGroup
EC2SecurityGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> EC2SecurityGroup
-- | The name of the EC2 Security Group.
[$sel:eC2SecurityGroupName:EC2SecurityGroup'] :: EC2SecurityGroup -> Maybe Text
-- | The Amazon Web Services account ID of the owner of the EC2 security
-- group specified in the EC2SecurityGroupName field.
[$sel:eC2SecurityGroupOwnerId:EC2SecurityGroup'] :: EC2SecurityGroup -> Maybe Text
-- | The status of the EC2 security group.
[$sel:status:EC2SecurityGroup'] :: EC2SecurityGroup -> Maybe Text
-- | The list of tags for the EC2 security group.
[$sel:tags:EC2SecurityGroup'] :: EC2SecurityGroup -> Maybe [Tag]
-- | Create a value of EC2SecurityGroup 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:eC2SecurityGroupName:EC2SecurityGroup',
-- eC2SecurityGroup_eC2SecurityGroupName - The name of the EC2
-- Security Group.
--
-- $sel:eC2SecurityGroupOwnerId:EC2SecurityGroup',
-- eC2SecurityGroup_eC2SecurityGroupOwnerId - The Amazon Web
-- Services account ID of the owner of the EC2 security group specified
-- in the EC2SecurityGroupName field.
--
-- $sel:status:EC2SecurityGroup', eC2SecurityGroup_status -
-- The status of the EC2 security group.
--
-- $sel:tags:EC2SecurityGroup', eC2SecurityGroup_tags - The
-- list of tags for the EC2 security group.
newEC2SecurityGroup :: EC2SecurityGroup
-- | The name of the EC2 Security Group.
eC2SecurityGroup_eC2SecurityGroupName :: Lens' EC2SecurityGroup (Maybe Text)
-- | The Amazon Web Services account ID of the owner of the EC2 security
-- group specified in the EC2SecurityGroupName field.
eC2SecurityGroup_eC2SecurityGroupOwnerId :: Lens' EC2SecurityGroup (Maybe Text)
-- | The status of the EC2 security group.
eC2SecurityGroup_status :: Lens' EC2SecurityGroup (Maybe Text)
-- | The list of tags for the EC2 security group.
eC2SecurityGroup_tags :: Lens' EC2SecurityGroup (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.Types.EC2SecurityGroup.EC2SecurityGroup
instance GHC.Show.Show Amazonka.Redshift.Types.EC2SecurityGroup.EC2SecurityGroup
instance GHC.Read.Read Amazonka.Redshift.Types.EC2SecurityGroup.EC2SecurityGroup
instance GHC.Classes.Eq Amazonka.Redshift.Types.EC2SecurityGroup.EC2SecurityGroup
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.EC2SecurityGroup.EC2SecurityGroup
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.EC2SecurityGroup.EC2SecurityGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.EC2SecurityGroup.EC2SecurityGroup
module Amazonka.Redshift.Types.ClusterSubnetGroup
-- | Describes a subnet group.
--
-- See: newClusterSubnetGroup smart constructor.
data ClusterSubnetGroup
ClusterSubnetGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Subnet] -> Maybe [Tag] -> Maybe Text -> ClusterSubnetGroup
-- | The name of the cluster subnet group.
[$sel:clusterSubnetGroupName:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe Text
-- | The description of the cluster subnet group.
[$sel:description:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe Text
-- | The status of the cluster subnet group. Possible values are
-- Complete, Incomplete and Invalid.
[$sel:subnetGroupStatus:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe Text
-- | A list of the VPC Subnet elements.
[$sel:subnets:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe [Subnet]
-- | The list of tags for the cluster subnet group.
[$sel:tags:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe [Tag]
-- | The VPC ID of the cluster subnet group.
[$sel:vpcId:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe Text
-- | Create a value of ClusterSubnetGroup 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:clusterSubnetGroupName:ClusterSubnetGroup',
-- clusterSubnetGroup_clusterSubnetGroupName - The name of the
-- cluster subnet group.
--
-- $sel:description:ClusterSubnetGroup',
-- clusterSubnetGroup_description - The description of the cluster
-- subnet group.
--
-- $sel:subnetGroupStatus:ClusterSubnetGroup',
-- clusterSubnetGroup_subnetGroupStatus - The status of the
-- cluster subnet group. Possible values are Complete,
-- Incomplete and Invalid.
--
-- $sel:subnets:ClusterSubnetGroup',
-- clusterSubnetGroup_subnets - A list of the VPC Subnet elements.
--
-- $sel:tags:ClusterSubnetGroup', clusterSubnetGroup_tags -
-- The list of tags for the cluster subnet group.
--
-- $sel:vpcId:ClusterSubnetGroup', clusterSubnetGroup_vpcId
-- - The VPC ID of the cluster subnet group.
newClusterSubnetGroup :: ClusterSubnetGroup
-- | The name of the cluster subnet group.
clusterSubnetGroup_clusterSubnetGroupName :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The description of the cluster subnet group.
clusterSubnetGroup_description :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The status of the cluster subnet group. Possible values are
-- Complete, Incomplete and Invalid.
clusterSubnetGroup_subnetGroupStatus :: Lens' ClusterSubnetGroup (Maybe Text)
-- | A list of the VPC Subnet elements.
clusterSubnetGroup_subnets :: Lens' ClusterSubnetGroup (Maybe [Subnet])
-- | The list of tags for the cluster subnet group.
clusterSubnetGroup_tags :: Lens' ClusterSubnetGroup (Maybe [Tag])
-- | The VPC ID of the cluster subnet group.
clusterSubnetGroup_vpcId :: Lens' ClusterSubnetGroup (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterSubnetGroup.ClusterSubnetGroup
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterSubnetGroup.ClusterSubnetGroup
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterSubnetGroup.ClusterSubnetGroup
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterSubnetGroup.ClusterSubnetGroup
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterSubnetGroup.ClusterSubnetGroup
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterSubnetGroup.ClusterSubnetGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterSubnetGroup.ClusterSubnetGroup
module Amazonka.Redshift.Types.ClusterSecurityGroup
-- | Describes a security group.
--
-- See: newClusterSecurityGroup smart constructor.
data ClusterSecurityGroup
ClusterSecurityGroup' :: Maybe Text -> Maybe Text -> Maybe [EC2SecurityGroup] -> Maybe [IPRange] -> Maybe [Tag] -> ClusterSecurityGroup
-- | The name of the cluster security group to which the operation was
-- applied.
[$sel:clusterSecurityGroupName:ClusterSecurityGroup'] :: ClusterSecurityGroup -> Maybe Text
-- | A description of the security group.
[$sel:description:ClusterSecurityGroup'] :: ClusterSecurityGroup -> Maybe Text
-- | A list of EC2 security groups that are permitted to access clusters
-- associated with this cluster security group.
[$sel:eC2SecurityGroups:ClusterSecurityGroup'] :: ClusterSecurityGroup -> Maybe [EC2SecurityGroup]
-- | A list of IP ranges (CIDR blocks) that are permitted to access
-- clusters associated with this cluster security group.
[$sel:iPRanges:ClusterSecurityGroup'] :: ClusterSecurityGroup -> Maybe [IPRange]
-- | The list of tags for the cluster security group.
[$sel:tags:ClusterSecurityGroup'] :: ClusterSecurityGroup -> Maybe [Tag]
-- | Create a value of ClusterSecurityGroup 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:clusterSecurityGroupName:ClusterSecurityGroup',
-- clusterSecurityGroup_clusterSecurityGroupName - The name of the
-- cluster security group to which the operation was applied.
--
-- $sel:description:ClusterSecurityGroup',
-- clusterSecurityGroup_description - A description of the
-- security group.
--
-- $sel:eC2SecurityGroups:ClusterSecurityGroup',
-- clusterSecurityGroup_eC2SecurityGroups - A list of EC2 security
-- groups that are permitted to access clusters associated with this
-- cluster security group.
--
-- $sel:iPRanges:ClusterSecurityGroup',
-- clusterSecurityGroup_iPRanges - A list of IP ranges (CIDR
-- blocks) that are permitted to access clusters associated with this
-- cluster security group.
--
-- ClusterSecurityGroup, clusterSecurityGroup_tags - The
-- list of tags for the cluster security group.
newClusterSecurityGroup :: ClusterSecurityGroup
-- | The name of the cluster security group to which the operation was
-- applied.
clusterSecurityGroup_clusterSecurityGroupName :: Lens' ClusterSecurityGroup (Maybe Text)
-- | A description of the security group.
clusterSecurityGroup_description :: Lens' ClusterSecurityGroup (Maybe Text)
-- | A list of EC2 security groups that are permitted to access clusters
-- associated with this cluster security group.
clusterSecurityGroup_eC2SecurityGroups :: Lens' ClusterSecurityGroup (Maybe [EC2SecurityGroup])
-- | A list of IP ranges (CIDR blocks) that are permitted to access
-- clusters associated with this cluster security group.
clusterSecurityGroup_iPRanges :: Lens' ClusterSecurityGroup (Maybe [IPRange])
-- | The list of tags for the cluster security group.
clusterSecurityGroup_tags :: Lens' ClusterSecurityGroup (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterSecurityGroup.ClusterSecurityGroup
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterSecurityGroup.ClusterSecurityGroup
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterSecurityGroup.ClusterSecurityGroup
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterSecurityGroup.ClusterSecurityGroup
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterSecurityGroup.ClusterSecurityGroup
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterSecurityGroup.ClusterSecurityGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterSecurityGroup.ClusterSecurityGroup
module Amazonka.Redshift.Types.ClusterParameterGroup
-- | Describes a parameter group.
--
-- See: newClusterParameterGroup smart constructor.
data ClusterParameterGroup
ClusterParameterGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> ClusterParameterGroup
-- | The description of the parameter group.
[$sel:description:ClusterParameterGroup'] :: ClusterParameterGroup -> Maybe Text
-- | The name of the cluster parameter group family that this cluster
-- parameter group is compatible with.
[$sel:parameterGroupFamily:ClusterParameterGroup'] :: ClusterParameterGroup -> Maybe Text
-- | The name of the cluster parameter group.
[$sel:parameterGroupName:ClusterParameterGroup'] :: ClusterParameterGroup -> Maybe Text
-- | The list of tags for the cluster parameter group.
[$sel:tags:ClusterParameterGroup'] :: ClusterParameterGroup -> Maybe [Tag]
-- | Create a value of ClusterParameterGroup 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:description:ClusterParameterGroup',
-- clusterParameterGroup_description - The description of the
-- parameter group.
--
-- $sel:parameterGroupFamily:ClusterParameterGroup',
-- clusterParameterGroup_parameterGroupFamily - The name of the
-- cluster parameter group family that this cluster parameter group is
-- compatible with.
--
-- $sel:parameterGroupName:ClusterParameterGroup',
-- clusterParameterGroup_parameterGroupName - The name of the
-- cluster parameter group.
--
-- $sel:tags:ClusterParameterGroup',
-- clusterParameterGroup_tags - The list of tags for the cluster
-- parameter group.
newClusterParameterGroup :: ClusterParameterGroup
-- | The description of the parameter group.
clusterParameterGroup_description :: Lens' ClusterParameterGroup (Maybe Text)
-- | The name of the cluster parameter group family that this cluster
-- parameter group is compatible with.
clusterParameterGroup_parameterGroupFamily :: Lens' ClusterParameterGroup (Maybe Text)
-- | The name of the cluster parameter group.
clusterParameterGroup_parameterGroupName :: Lens' ClusterParameterGroup (Maybe Text)
-- | The list of tags for the cluster parameter group.
clusterParameterGroup_tags :: Lens' ClusterParameterGroup (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.Types.ClusterParameterGroup.ClusterParameterGroup
instance GHC.Show.Show Amazonka.Redshift.Types.ClusterParameterGroup.ClusterParameterGroup
instance GHC.Read.Read Amazonka.Redshift.Types.ClusterParameterGroup.ClusterParameterGroup
instance GHC.Classes.Eq Amazonka.Redshift.Types.ClusterParameterGroup.ClusterParameterGroup
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.ClusterParameterGroup.ClusterParameterGroup
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.ClusterParameterGroup.ClusterParameterGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.ClusterParameterGroup.ClusterParameterGroup
module Amazonka.Redshift.Types.TaggedResource
-- | A tag and its associated resource.
--
-- See: newTaggedResource smart constructor.
data TaggedResource
TaggedResource' :: Maybe Text -> Maybe Text -> Maybe Tag -> TaggedResource
-- | The Amazon Resource Name (ARN) with which the tag is associated, for
-- example: arn:aws:redshift:us-east-2:123456789:cluster:t1.
[$sel:resourceName:TaggedResource'] :: TaggedResource -> Maybe Text
-- | The type of resource with which the tag is associated. Valid resource
-- types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Constructing an Amazon Redshift Amazon
-- Resource Name (ARN) in the Amazon Redshift Cluster Management
-- Guide.
[$sel:resourceType:TaggedResource'] :: TaggedResource -> Maybe Text
-- | The tag for the resource.
[$sel:tag:TaggedResource'] :: TaggedResource -> Maybe Tag
-- | Create a value of TaggedResource 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:resourceName:TaggedResource',
-- taggedResource_resourceName - The Amazon Resource Name (ARN)
-- with which the tag is associated, for example:
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
--
-- $sel:resourceType:TaggedResource',
-- taggedResource_resourceType - The type of resource with which
-- the tag is associated. Valid resource types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Constructing an Amazon Redshift Amazon
-- Resource Name (ARN) in the Amazon Redshift Cluster Management
-- Guide.
--
-- $sel:tag:TaggedResource', taggedResource_tag - The tag
-- for the resource.
newTaggedResource :: TaggedResource
-- | The Amazon Resource Name (ARN) with which the tag is associated, for
-- example: arn:aws:redshift:us-east-2:123456789:cluster:t1.
taggedResource_resourceName :: Lens' TaggedResource (Maybe Text)
-- | The type of resource with which the tag is associated. Valid resource
-- types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Constructing an Amazon Redshift Amazon
-- Resource Name (ARN) in the Amazon Redshift Cluster Management
-- Guide.
taggedResource_resourceType :: Lens' TaggedResource (Maybe Text)
-- | The tag for the resource.
taggedResource_tag :: Lens' TaggedResource (Maybe Tag)
instance GHC.Generics.Generic Amazonka.Redshift.Types.TaggedResource.TaggedResource
instance GHC.Show.Show Amazonka.Redshift.Types.TaggedResource.TaggedResource
instance GHC.Read.Read Amazonka.Redshift.Types.TaggedResource.TaggedResource
instance GHC.Classes.Eq Amazonka.Redshift.Types.TaggedResource.TaggedResource
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.TaggedResource.TaggedResource
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.TaggedResource.TaggedResource
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.TaggedResource.TaggedResource
module Amazonka.Redshift.Types.UpdateTarget
-- | A maintenance track that you can switch the current track to.
--
-- See: newUpdateTarget smart constructor.
data UpdateTarget
UpdateTarget' :: Maybe Text -> Maybe Text -> Maybe [SupportedOperation] -> UpdateTarget
-- | The cluster version for the new maintenance track.
[$sel:databaseVersion:UpdateTarget'] :: UpdateTarget -> Maybe Text
-- | The name of the new maintenance track.
[$sel:maintenanceTrackName:UpdateTarget'] :: UpdateTarget -> Maybe Text
-- | A list of operations supported by the maintenance track.
[$sel:supportedOperations:UpdateTarget'] :: UpdateTarget -> Maybe [SupportedOperation]
-- | Create a value of UpdateTarget 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:databaseVersion:UpdateTarget',
-- updateTarget_databaseVersion - The cluster version for the new
-- maintenance track.
--
-- $sel:maintenanceTrackName:UpdateTarget',
-- updateTarget_maintenanceTrackName - The name of the new
-- maintenance track.
--
-- $sel:supportedOperations:UpdateTarget',
-- updateTarget_supportedOperations - A list of operations
-- supported by the maintenance track.
newUpdateTarget :: UpdateTarget
-- | The cluster version for the new maintenance track.
updateTarget_databaseVersion :: Lens' UpdateTarget (Maybe Text)
-- | The name of the new maintenance track.
updateTarget_maintenanceTrackName :: Lens' UpdateTarget (Maybe Text)
-- | A list of operations supported by the maintenance track.
updateTarget_supportedOperations :: Lens' UpdateTarget (Maybe [SupportedOperation])
instance GHC.Generics.Generic Amazonka.Redshift.Types.UpdateTarget.UpdateTarget
instance GHC.Show.Show Amazonka.Redshift.Types.UpdateTarget.UpdateTarget
instance GHC.Read.Read Amazonka.Redshift.Types.UpdateTarget.UpdateTarget
instance GHC.Classes.Eq Amazonka.Redshift.Types.UpdateTarget.UpdateTarget
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.UpdateTarget.UpdateTarget
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.UpdateTarget.UpdateTarget
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.UpdateTarget.UpdateTarget
module Amazonka.Redshift.Types.MaintenanceTrack
-- | Defines a maintenance track that determines which Amazon Redshift
-- version to apply during a maintenance window. If the value for
-- MaintenanceTrack is current, the cluster is updated
-- to the most recently certified maintenance release. If the value is
-- trailing, the cluster is updated to the previously certified
-- maintenance release.
--
-- See: newMaintenanceTrack smart constructor.
data MaintenanceTrack
MaintenanceTrack' :: Maybe Text -> Maybe Text -> Maybe [UpdateTarget] -> MaintenanceTrack
-- | The version number for the cluster release.
[$sel:databaseVersion:MaintenanceTrack'] :: MaintenanceTrack -> Maybe Text
-- | The name of the maintenance track. Possible values are
-- current and trailing.
[$sel:maintenanceTrackName:MaintenanceTrack'] :: MaintenanceTrack -> Maybe Text
-- | An array of UpdateTarget objects to update with the maintenance track.
[$sel:updateTargets:MaintenanceTrack'] :: MaintenanceTrack -> Maybe [UpdateTarget]
-- | Create a value of MaintenanceTrack 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:
--
-- MaintenanceTrack, maintenanceTrack_databaseVersion - The
-- version number for the cluster release.
--
-- MaintenanceTrack, maintenanceTrack_maintenanceTrackName
-- - The name of the maintenance track. Possible values are
-- current and trailing.
--
-- $sel:updateTargets:MaintenanceTrack',
-- maintenanceTrack_updateTargets - An array of UpdateTarget
-- objects to update with the maintenance track.
newMaintenanceTrack :: MaintenanceTrack
-- | The version number for the cluster release.
maintenanceTrack_databaseVersion :: Lens' MaintenanceTrack (Maybe Text)
-- | The name of the maintenance track. Possible values are
-- current and trailing.
maintenanceTrack_maintenanceTrackName :: Lens' MaintenanceTrack (Maybe Text)
-- | An array of UpdateTarget objects to update with the maintenance track.
maintenanceTrack_updateTargets :: Lens' MaintenanceTrack (Maybe [UpdateTarget])
instance GHC.Generics.Generic Amazonka.Redshift.Types.MaintenanceTrack.MaintenanceTrack
instance GHC.Show.Show Amazonka.Redshift.Types.MaintenanceTrack.MaintenanceTrack
instance GHC.Read.Read Amazonka.Redshift.Types.MaintenanceTrack.MaintenanceTrack
instance GHC.Classes.Eq Amazonka.Redshift.Types.MaintenanceTrack.MaintenanceTrack
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.MaintenanceTrack.MaintenanceTrack
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.MaintenanceTrack.MaintenanceTrack
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.MaintenanceTrack.MaintenanceTrack
module Amazonka.Redshift.Types.UsageLimitBreachAction
newtype UsageLimitBreachAction
UsageLimitBreachAction' :: Text -> UsageLimitBreachAction
[fromUsageLimitBreachAction] :: UsageLimitBreachAction -> Text
pattern UsageLimitBreachAction_Disable :: UsageLimitBreachAction
pattern UsageLimitBreachAction_Emit_metric :: UsageLimitBreachAction
pattern UsageLimitBreachAction_Log :: UsageLimitBreachAction
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance GHC.Generics.Generic Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance GHC.Classes.Ord Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance GHC.Classes.Eq Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance GHC.Read.Read Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
instance GHC.Show.Show Amazonka.Redshift.Types.UsageLimitBreachAction.UsageLimitBreachAction
module Amazonka.Redshift.Types.UsageLimitFeatureType
newtype UsageLimitFeatureType
UsageLimitFeatureType' :: Text -> UsageLimitFeatureType
[fromUsageLimitFeatureType] :: UsageLimitFeatureType -> Text
pattern UsageLimitFeatureType_Concurrency_scaling :: UsageLimitFeatureType
pattern UsageLimitFeatureType_Cross_region_datasharing :: UsageLimitFeatureType
pattern UsageLimitFeatureType_Spectrum :: UsageLimitFeatureType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance GHC.Generics.Generic Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance GHC.Classes.Ord Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance GHC.Classes.Eq Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance GHC.Read.Read Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
instance GHC.Show.Show Amazonka.Redshift.Types.UsageLimitFeatureType.UsageLimitFeatureType
module Amazonka.Redshift.Types.UsageLimitLimitType
newtype UsageLimitLimitType
UsageLimitLimitType' :: Text -> UsageLimitLimitType
[fromUsageLimitLimitType] :: UsageLimitLimitType -> Text
pattern UsageLimitLimitType_Data_scanned :: UsageLimitLimitType
pattern UsageLimitLimitType_Time :: UsageLimitLimitType
instance Amazonka.Data.XML.ToXML Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance GHC.Generics.Generic Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance GHC.Classes.Ord Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance GHC.Classes.Eq Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance GHC.Read.Read Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
instance GHC.Show.Show Amazonka.Redshift.Types.UsageLimitLimitType.UsageLimitLimitType
module Amazonka.Redshift.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.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Amazonka.Data.Headers.ToHeader Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Amazonka.Data.Log.ToLog Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Amazonka.Data.ByteString.ToByteString Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Amazonka.Data.Text.ToText Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Amazonka.Data.Text.FromText Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance GHC.Generics.Generic Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance GHC.Classes.Ord Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance GHC.Classes.Eq Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance GHC.Read.Read Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
instance GHC.Show.Show Amazonka.Redshift.Types.UsageLimitPeriod.UsageLimitPeriod
module Amazonka.Redshift.Types.UsageLimit
-- | Describes a usage limit object for a cluster.
--
-- See: newUsageLimit smart constructor.
data UsageLimit
UsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Maybe Text -> Maybe UsageLimitFeatureType -> Maybe UsageLimitLimitType -> Maybe UsageLimitPeriod -> Maybe [Tag] -> Maybe Text -> UsageLimit
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
[$sel:amount:UsageLimit'] :: UsageLimit -> Maybe Integer
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
[$sel:breachAction:UsageLimit'] :: UsageLimit -> Maybe UsageLimitBreachAction
-- | The identifier of the cluster with a usage limit.
[$sel:clusterIdentifier:UsageLimit'] :: UsageLimit -> Maybe Text
-- | The Amazon Redshift feature to which the limit applies.
[$sel:featureType:UsageLimit'] :: UsageLimit -> Maybe UsageLimitFeatureType
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
[$sel:limitType:UsageLimit'] :: UsageLimit -> Maybe UsageLimitLimitType
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
[$sel:period:UsageLimit'] :: UsageLimit -> Maybe UsageLimitPeriod
-- | A list of tag instances.
[$sel:tags:UsageLimit'] :: UsageLimit -> Maybe [Tag]
-- | The identifier of the usage limit.
[$sel:usageLimitId:UsageLimit'] :: UsageLimit -> Maybe Text
-- | 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 minutes. If data-based, this
-- amount is in terabytes (TB).
--
-- $sel:breachAction:UsageLimit', usageLimit_breachAction -
-- The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
--
-- $sel:clusterIdentifier:UsageLimit',
-- usageLimit_clusterIdentifier - The identifier of the cluster
-- with a usage limit.
--
-- $sel:featureType:UsageLimit', usageLimit_featureType -
-- The Amazon Redshift feature to which the limit applies.
--
-- $sel:limitType:UsageLimit', usageLimit_limitType - The
-- type of limit. Depending on the feature type, this can be based on a
-- time duration or data size.
--
-- $sel:period:UsageLimit', usageLimit_period - The time
-- period that the amount applies to. A weekly period begins on
-- Sunday. The default is monthly.
--
-- $sel:tags:UsageLimit', usageLimit_tags - A list of tag
-- instances.
--
-- $sel:usageLimitId:UsageLimit', usageLimit_usageLimitId -
-- The identifier of the usage limit.
newUsageLimit :: UsageLimit
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
usageLimit_amount :: Lens' UsageLimit (Maybe Integer)
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction)
-- | The identifier of the cluster with a usage limit.
usageLimit_clusterIdentifier :: Lens' UsageLimit (Maybe Text)
-- | The Amazon Redshift feature to which the limit applies.
usageLimit_featureType :: Lens' UsageLimit (Maybe UsageLimitFeatureType)
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
usageLimit_limitType :: Lens' UsageLimit (Maybe UsageLimitLimitType)
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod)
-- | A list of tag instances.
usageLimit_tags :: Lens' UsageLimit (Maybe [Tag])
-- | The identifier of the usage limit.
usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.UsageLimit.UsageLimit
instance GHC.Show.Show Amazonka.Redshift.Types.UsageLimit.UsageLimit
instance GHC.Read.Read Amazonka.Redshift.Types.UsageLimit.UsageLimit
instance GHC.Classes.Eq Amazonka.Redshift.Types.UsageLimit.UsageLimit
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.UsageLimit.UsageLimit
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.UsageLimit.UsageLimit
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.UsageLimit.UsageLimit
module Amazonka.Redshift.Types.VpcEndpoint
-- | The connection endpoint for connecting to an Amazon Redshift cluster
-- 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 an Amazon Redshift cluster
-- through the proxy.
[$sel:vpcEndpointId:VpcEndpoint'] :: VpcEndpoint -> Maybe Text
-- | The VPC identifier that the endpoint is associated.
[$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 an Amazon Redshift cluster through the proxy.
--
-- $sel:vpcId:VpcEndpoint', vpcEndpoint_vpcId - The VPC
-- identifier that the endpoint is associated.
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 an Amazon Redshift cluster
-- through the proxy.
vpcEndpoint_vpcEndpointId :: Lens' VpcEndpoint (Maybe Text)
-- | The VPC identifier that the endpoint is associated.
vpcEndpoint_vpcId :: Lens' VpcEndpoint (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.VpcEndpoint.VpcEndpoint
instance GHC.Show.Show Amazonka.Redshift.Types.VpcEndpoint.VpcEndpoint
instance GHC.Read.Read Amazonka.Redshift.Types.VpcEndpoint.VpcEndpoint
instance GHC.Classes.Eq Amazonka.Redshift.Types.VpcEndpoint.VpcEndpoint
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.VpcEndpoint.VpcEndpoint
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.VpcEndpoint.VpcEndpoint
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.VpcEndpoint.VpcEndpoint
module Amazonka.Redshift.Types.Endpoint
-- | Describes a connection endpoint.
--
-- See: newEndpoint smart constructor.
data Endpoint
Endpoint' :: Maybe Text -> Maybe Int -> Maybe [VpcEndpoint] -> Endpoint
-- | The DNS address of the Cluster.
[$sel:address:Endpoint'] :: Endpoint -> Maybe Text
-- | The port that the database engine is listening on.
[$sel:port:Endpoint'] :: Endpoint -> Maybe Int
-- | Describes a connection endpoint.
[$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 Cluster.
--
-- $sel:port:Endpoint', endpoint_port - The port that the
-- database engine is listening on.
--
-- $sel:vpcEndpoints:Endpoint', endpoint_vpcEndpoints -
-- Describes a connection endpoint.
newEndpoint :: Endpoint
-- | The DNS address of the Cluster.
endpoint_address :: Lens' Endpoint (Maybe Text)
-- | The port that the database engine is listening on.
endpoint_port :: Lens' Endpoint (Maybe Int)
-- | Describes a connection endpoint.
endpoint_vpcEndpoints :: Lens' Endpoint (Maybe [VpcEndpoint])
instance GHC.Generics.Generic Amazonka.Redshift.Types.Endpoint.Endpoint
instance GHC.Show.Show Amazonka.Redshift.Types.Endpoint.Endpoint
instance GHC.Read.Read Amazonka.Redshift.Types.Endpoint.Endpoint
instance GHC.Classes.Eq Amazonka.Redshift.Types.Endpoint.Endpoint
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.Endpoint.Endpoint
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.Endpoint.Endpoint
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.Endpoint.Endpoint
module Amazonka.Redshift.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 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 identifier
-- of the VPC security group.
newVpcSecurityGroupMembership :: VpcSecurityGroupMembership
-- | The status of the VPC security group.
vpcSecurityGroupMembership_status :: Lens' VpcSecurityGroupMembership (Maybe Text)
-- | The identifier of the VPC security group.
vpcSecurityGroupMembership_vpcSecurityGroupId :: Lens' VpcSecurityGroupMembership (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership
instance GHC.Show.Show Amazonka.Redshift.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership
instance GHC.Read.Read Amazonka.Redshift.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership
instance GHC.Classes.Eq Amazonka.Redshift.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.VpcSecurityGroupMembership.VpcSecurityGroupMembership
module Amazonka.Redshift.Types.EndpointAccess
-- | Describes a Redshift-managed VPC endpoint.
--
-- See: newEndpointAccess smart constructor.
data EndpointAccess
EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> EndpointAccess
-- | The DNS address of the endpoint.
[$sel:address:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The cluster identifier of the cluster associated with the endpoint.
[$sel:clusterIdentifier:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The time (UTC) that the endpoint was created.
[$sel:endpointCreateTime:EndpointAccess'] :: EndpointAccess -> Maybe ISO8601
-- | The name of the endpoint.
[$sel:endpointName:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The status of the endpoint.
[$sel:endpointStatus:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The port number on which the cluster accepts incoming connections.
[$sel:port:EndpointAccess'] :: EndpointAccess -> Maybe Int
-- | The Amazon Web Services account ID of the owner of the cluster.
[$sel:resourceOwner:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
[$sel:subnetGroupName:EndpointAccess'] :: EndpointAccess -> Maybe Text
[$sel:vpcEndpoint:EndpointAccess'] :: EndpointAccess -> Maybe VpcEndpoint
-- | The security groups associated with the endpoint.
[$sel:vpcSecurityGroups:EndpointAccess'] :: EndpointAccess -> Maybe [VpcSecurityGroupMembership]
-- | 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:clusterIdentifier:EndpointAccess',
-- endpointAccess_clusterIdentifier - The cluster identifier of
-- the cluster associated with the endpoint.
--
-- $sel:endpointCreateTime:EndpointAccess',
-- endpointAccess_endpointCreateTime - The time (UTC) that the
-- endpoint was created.
--
-- $sel:endpointName:EndpointAccess',
-- endpointAccess_endpointName - The name of the endpoint.
--
-- $sel:endpointStatus:EndpointAccess',
-- endpointAccess_endpointStatus - The status of the endpoint.
--
-- $sel:port:EndpointAccess', endpointAccess_port - The
-- port number on which the cluster accepts incoming connections.
--
-- $sel:resourceOwner:EndpointAccess',
-- endpointAccess_resourceOwner - The Amazon Web Services account
-- ID of the owner of the cluster.
--
-- $sel:subnetGroupName:EndpointAccess',
-- endpointAccess_subnetGroupName - The subnet group name where
-- Amazon Redshift chooses to deploy the endpoint.
--
-- $sel:vpcEndpoint:EndpointAccess',
-- endpointAccess_vpcEndpoint - Undocumented member.
--
-- $sel:vpcSecurityGroups:EndpointAccess',
-- endpointAccess_vpcSecurityGroups - The security groups
-- associated with the endpoint.
newEndpointAccess :: EndpointAccess
-- | The DNS address of the endpoint.
endpointAccess_address :: Lens' EndpointAccess (Maybe Text)
-- | The cluster identifier of the cluster associated with the endpoint.
endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text)
-- | The time (UTC) that the endpoint was created.
endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime)
-- | The name of the endpoint.
endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text)
-- | The status of the endpoint.
endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text)
-- | The port number on which the cluster accepts incoming connections.
endpointAccess_port :: Lens' EndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text)
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text)
-- | Undocumented member.
endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint)
-- | The security groups associated with the endpoint.
endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership])
instance GHC.Generics.Generic Amazonka.Redshift.Types.EndpointAccess.EndpointAccess
instance GHC.Show.Show Amazonka.Redshift.Types.EndpointAccess.EndpointAccess
instance GHC.Read.Read Amazonka.Redshift.Types.EndpointAccess.EndpointAccess
instance GHC.Classes.Eq Amazonka.Redshift.Types.EndpointAccess.EndpointAccess
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.EndpointAccess.EndpointAccess
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.EndpointAccess.EndpointAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.EndpointAccess.EndpointAccess
module Amazonka.Redshift.Types.Cluster
-- | Describes a cluster.
--
-- See: newCluster smart constructor.
data Cluster
Cluster' :: Maybe Bool -> Maybe AquaConfiguration -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe [ClusterNode] -> Maybe [ClusterParameterGroupStatus] -> Maybe Text -> Maybe Text -> Maybe [ClusterSecurityGroupMembership] -> Maybe ClusterSnapshotCopyStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DataTransferProgress -> Maybe Text -> Maybe [DeferredMaintenanceWindow] -> Maybe ElasticIpStatus -> Maybe Text -> Maybe Bool -> Maybe Endpoint -> Maybe Bool -> Maybe ISO8601 -> Maybe Text -> Maybe HsmStatus -> Maybe [ClusterIamRole] -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe PendingModifiedValues -> Maybe Text -> Maybe Bool -> Maybe ReservedNodeExchangeStatus -> Maybe ResizeInfo -> Maybe RestoreStatus -> Maybe Text -> Maybe ScheduleState -> Maybe [Tag] -> Maybe Integer -> Maybe Text -> Maybe [VpcSecurityGroupMembership] -> Cluster
-- | A boolean value that, if true, indicates that major version
-- upgrades will be applied automatically to the cluster during the
-- maintenance window.
[$sel:allowVersionUpgrade:Cluster'] :: Cluster -> Maybe Bool
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
[$sel:aquaConfiguration:Cluster'] :: Cluster -> Maybe AquaConfiguration
-- | The number of days that automatic cluster snapshots are retained.
[$sel:automatedSnapshotRetentionPeriod:Cluster'] :: Cluster -> Maybe Int
-- | The name of the Availability Zone in which the cluster is located.
[$sel:availabilityZone:Cluster'] :: Cluster -> Maybe Text
-- | Describes the status of the Availability Zone relocation operation.
[$sel:availabilityZoneRelocationStatus:Cluster'] :: Cluster -> Maybe Text
-- | The availability status of the cluster for queries. Possible values
-- are the following:
--
--
-- - Available - The cluster is available for queries.
-- - Unavailable - The cluster is not available for queries.
-- - Maintenance - The cluster is intermittently available for queries
-- due to maintenance activities.
-- - Modifying - The cluster is intermittently available for queries
-- due to changes that modify the cluster.
-- - Failed - The cluster failed and is not available for queries.
--
[$sel:clusterAvailabilityStatus:Cluster'] :: Cluster -> Maybe Text
-- | The date and time that the cluster was created.
[$sel:clusterCreateTime:Cluster'] :: Cluster -> Maybe ISO8601
-- | The unique identifier of the cluster.
[$sel:clusterIdentifier:Cluster'] :: Cluster -> Maybe Text
-- | The namespace Amazon Resource Name (ARN) of the cluster.
[$sel:clusterNamespaceArn:Cluster'] :: Cluster -> Maybe Text
-- | The nodes in the cluster.
[$sel:clusterNodes:Cluster'] :: Cluster -> Maybe [ClusterNode]
-- | The list of cluster parameter groups that are associated with this
-- cluster. Each parameter group in the list is returned with its status.
[$sel:clusterParameterGroups:Cluster'] :: Cluster -> Maybe [ClusterParameterGroupStatus]
-- | The public key for the cluster.
[$sel:clusterPublicKey:Cluster'] :: Cluster -> Maybe Text
-- | The specific revision number of the database in the cluster.
[$sel:clusterRevisionNumber:Cluster'] :: Cluster -> Maybe Text
-- | A list of cluster security group that are associated with the cluster.
-- Each security group is represented by an element that contains
-- ClusterSecurityGroup.Name and
-- ClusterSecurityGroup.Status subelements.
--
-- Cluster security groups are used when the cluster is not created in an
-- Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC
-- use VPC security groups, which are listed by the
-- VpcSecurityGroups parameter.
[$sel:clusterSecurityGroups:Cluster'] :: Cluster -> Maybe [ClusterSecurityGroupMembership]
-- | A value that returns the destination region and retention period that
-- are configured for cross-region snapshot copy.
[$sel:clusterSnapshotCopyStatus:Cluster'] :: Cluster -> Maybe ClusterSnapshotCopyStatus
-- | The current state of the cluster. Possible values are the following:
--
--
-- available
-- available, prep-for-resize
-- available, resize-cleanup
-- cancelling-resize
-- creating
-- deleting
-- final-snapshot
-- hardware-failure
-- incompatible-hsm
-- incompatible-network
-- incompatible-parameters
-- incompatible-restore
-- modifying
-- paused
-- rebooting
-- renaming
-- resizing
-- rotating-keys
-- storage-full
-- updating-hsm
--
[$sel:clusterStatus:Cluster'] :: Cluster -> Maybe Text
-- | The name of the subnet group that is associated with the cluster. This
-- parameter is valid only when the cluster is in a VPC.
[$sel:clusterSubnetGroupName:Cluster'] :: Cluster -> Maybe Text
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
[$sel:clusterVersion:Cluster'] :: Cluster -> Maybe Text
-- | The name of the initial database that was created when the cluster was
-- created. This same name is returned for the life of the cluster. If an
-- initial database was not specified, a database named devdev
-- was created by default.
[$sel:dbName:Cluster'] :: Cluster -> Maybe Text
[$sel:dataTransferProgress:Cluster'] :: Cluster -> Maybe DataTransferProgress
-- | The Amazon Resource Name (ARN) for the IAM role set as default for the
-- cluster.
[$sel:defaultIamRoleArn:Cluster'] :: Cluster -> Maybe Text
-- | Describes a group of DeferredMaintenanceWindow objects.
[$sel:deferredMaintenanceWindows:Cluster'] :: Cluster -> Maybe [DeferredMaintenanceWindow]
-- | The status of the elastic IP (EIP) address.
[$sel:elasticIpStatus:Cluster'] :: Cluster -> Maybe ElasticIpStatus
-- | The number of nodes that you can resize the cluster to with the
-- elastic resize method.
[$sel:elasticResizeNumberOfNodeOptions:Cluster'] :: Cluster -> Maybe Text
-- | A boolean value that, if true, indicates that data in the
-- cluster is encrypted at rest.
[$sel:encrypted:Cluster'] :: Cluster -> Maybe Bool
-- | The connection endpoint.
[$sel:endpoint:Cluster'] :: Cluster -> Maybe Endpoint
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
[$sel:enhancedVpcRouting:Cluster'] :: Cluster -> Maybe Bool
-- | The date and time when the next snapshot is expected to be taken for
-- clusters with a valid snapshot schedule and backups enabled.
[$sel:expectedNextSnapshotScheduleTime:Cluster'] :: Cluster -> Maybe ISO8601
-- | The status of next expected snapshot for clusters having a valid
-- snapshot schedule and backups enabled. Possible values are the
-- following:
--
--
-- - OnTrack - The next snapshot is expected to be taken on time.
-- - Pending - The next snapshot is pending to be taken.
--
[$sel:expectedNextSnapshotScheduleTimeStatus:Cluster'] :: Cluster -> Maybe Text
-- | A value that reports whether the Amazon Redshift cluster has finished
-- applying any hardware security module (HSM) settings changes specified
-- in a modify cluster command.
--
-- Values: active, applying
[$sel:hsmStatus:Cluster'] :: Cluster -> Maybe HsmStatus
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services.
[$sel:iamRoles:Cluster'] :: Cluster -> Maybe [ClusterIamRole]
-- | The Key Management Service (KMS) key ID of the encryption key used to
-- encrypt data in the cluster.
[$sel:kmsKeyId:Cluster'] :: Cluster -> Maybe Text
-- | The name of the maintenance track for the cluster.
[$sel:maintenanceTrackName:Cluster'] :: Cluster -> Maybe Text
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
[$sel:manualSnapshotRetentionPeriod:Cluster'] :: Cluster -> Maybe Int
-- | The admin user name for the cluster. This name is used to connect to
-- the database that is specified in the DBName parameter.
[$sel:masterUsername:Cluster'] :: Cluster -> Maybe Text
-- | The status of a modify operation, if any, initiated for the cluster.
[$sel:modifyStatus:Cluster'] :: Cluster -> Maybe Text
-- | The date and time in UTC when system maintenance can begin.
[$sel:nextMaintenanceWindowStartTime:Cluster'] :: Cluster -> Maybe ISO8601
-- | The node type for the nodes in the cluster.
[$sel:nodeType:Cluster'] :: Cluster -> Maybe Text
-- | The number of compute nodes in the cluster.
[$sel:numberOfNodes:Cluster'] :: Cluster -> Maybe Int
-- | Cluster operations that are waiting to be started.
[$sel:pendingActions:Cluster'] :: Cluster -> Maybe [Text]
-- | A value that, if present, indicates that changes to the cluster are
-- pending. Specific pending changes are identified by subelements.
[$sel:pendingModifiedValues:Cluster'] :: Cluster -> Maybe PendingModifiedValues
-- | The weekly time range, in Universal Coordinated Time (UTC), during
-- which system maintenance can occur.
[$sel:preferredMaintenanceWindow:Cluster'] :: Cluster -> Maybe Text
-- | A boolean value that, if true, indicates that the cluster can
-- be accessed from a public network.
[$sel:publiclyAccessible:Cluster'] :: Cluster -> Maybe Bool
-- | The status of the reserved-node exchange request. Statuses include
-- in-progress and requested.
[$sel:reservedNodeExchangeStatus:Cluster'] :: Cluster -> Maybe ReservedNodeExchangeStatus
-- | Returns the following:
--
--
-- - AllowCancelResize: a boolean value indicating if the resize
-- operation can be cancelled.
-- - ResizeType: Returns ClassicResize
--
[$sel:resizeInfo:Cluster'] :: Cluster -> Maybe ResizeInfo
-- | A value that describes the status of a cluster restore action. This
-- parameter returns null if the cluster was not created by restoring a
-- snapshot.
[$sel:restoreStatus:Cluster'] :: Cluster -> Maybe RestoreStatus
-- | A unique identifier for the cluster snapshot schedule.
[$sel:snapshotScheduleIdentifier:Cluster'] :: Cluster -> Maybe Text
-- | The current state of the cluster snapshot schedule.
[$sel:snapshotScheduleState:Cluster'] :: Cluster -> Maybe ScheduleState
-- | The list of tags for the cluster.
[$sel:tags:Cluster'] :: Cluster -> Maybe [Tag]
-- | The total storage capacity of the cluster in megabytes.
[$sel:totalStorageCapacityInMegaBytes:Cluster'] :: Cluster -> Maybe Integer
-- | The identifier of the VPC the cluster is in, if the cluster is in a
-- VPC.
[$sel:vpcId:Cluster'] :: Cluster -> Maybe Text
-- | A list of Amazon Virtual Private Cloud (Amazon VPC) security groups
-- that are associated with the cluster. This parameter is returned only
-- if the cluster is in a VPC.
[$sel:vpcSecurityGroups:Cluster'] :: Cluster -> Maybe [VpcSecurityGroupMembership]
-- | Create a value of Cluster 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:allowVersionUpgrade:Cluster',
-- cluster_allowVersionUpgrade - A boolean value that, if
-- true, indicates that major version upgrades will be applied
-- automatically to the cluster during the maintenance window.
--
-- $sel:aquaConfiguration:Cluster',
-- cluster_aquaConfiguration - This field is retired. Amazon
-- Redshift automatically determines whether to use AQUA (Advanced Query
-- Accelerator).
--
-- Cluster, cluster_automatedSnapshotRetentionPeriod - The
-- number of days that automatic cluster snapshots are retained.
--
-- $sel:availabilityZone:Cluster', cluster_availabilityZone
-- - The name of the Availability Zone in which the cluster is located.
--
-- $sel:availabilityZoneRelocationStatus:Cluster',
-- cluster_availabilityZoneRelocationStatus - Describes the status
-- of the Availability Zone relocation operation.
--
-- $sel:clusterAvailabilityStatus:Cluster',
-- cluster_clusterAvailabilityStatus - The availability status of
-- the cluster for queries. Possible values are the following:
--
--
-- - Available - The cluster is available for queries.
-- - Unavailable - The cluster is not available for queries.
-- - Maintenance - The cluster is intermittently available for queries
-- due to maintenance activities.
-- - Modifying - The cluster is intermittently available for queries
-- due to changes that modify the cluster.
-- - Failed - The cluster failed and is not available for queries.
--
--
-- $sel:clusterCreateTime:Cluster',
-- cluster_clusterCreateTime - The date and time that the cluster
-- was created.
--
-- Cluster, cluster_clusterIdentifier - The unique
-- identifier of the cluster.
--
-- $sel:clusterNamespaceArn:Cluster',
-- cluster_clusterNamespaceArn - The namespace Amazon Resource
-- Name (ARN) of the cluster.
--
-- $sel:clusterNodes:Cluster', cluster_clusterNodes - The
-- nodes in the cluster.
--
-- $sel:clusterParameterGroups:Cluster',
-- cluster_clusterParameterGroups - The list of cluster parameter
-- groups that are associated with this cluster. Each parameter group in
-- the list is returned with its status.
--
-- $sel:clusterPublicKey:Cluster', cluster_clusterPublicKey
-- - The public key for the cluster.
--
-- $sel:clusterRevisionNumber:Cluster',
-- cluster_clusterRevisionNumber - The specific revision number of
-- the database in the cluster.
--
-- $sel:clusterSecurityGroups:Cluster',
-- cluster_clusterSecurityGroups - A list of cluster security
-- group that are associated with the cluster. Each security group is
-- represented by an element that contains
-- ClusterSecurityGroup.Name and
-- ClusterSecurityGroup.Status subelements.
--
-- Cluster security groups are used when the cluster is not created in an
-- Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC
-- use VPC security groups, which are listed by the
-- VpcSecurityGroups parameter.
--
-- $sel:clusterSnapshotCopyStatus:Cluster',
-- cluster_clusterSnapshotCopyStatus - A value that returns the
-- destination region and retention period that are configured for
-- cross-region snapshot copy.
--
-- $sel:clusterStatus:Cluster', cluster_clusterStatus - The
-- current state of the cluster. Possible values are the following:
--
--
-- available
-- available, prep-for-resize
-- available, resize-cleanup
-- cancelling-resize
-- creating
-- deleting
-- final-snapshot
-- hardware-failure
-- incompatible-hsm
-- incompatible-network
-- incompatible-parameters
-- incompatible-restore
-- modifying
-- paused
-- rebooting
-- renaming
-- resizing
-- rotating-keys
-- storage-full
-- updating-hsm
--
--
-- $sel:clusterSubnetGroupName:Cluster',
-- cluster_clusterSubnetGroupName - The name of the subnet group
-- that is associated with the cluster. This parameter is valid only when
-- the cluster is in a VPC.
--
-- Cluster, cluster_clusterVersion - The version ID of the
-- Amazon Redshift engine that is running on the cluster.
--
-- $sel:dbName:Cluster', cluster_dbName - The name of the
-- initial database that was created when the cluster was created. This
-- same name is returned for the life of the cluster. If an initial
-- database was not specified, a database named devdev was
-- created by default.
--
-- $sel:dataTransferProgress:Cluster',
-- cluster_dataTransferProgress -
--
-- $sel:defaultIamRoleArn:Cluster',
-- cluster_defaultIamRoleArn - The Amazon Resource Name (ARN) for
-- the IAM role set as default for the cluster.
--
-- $sel:deferredMaintenanceWindows:Cluster',
-- cluster_deferredMaintenanceWindows - Describes a group of
-- DeferredMaintenanceWindow objects.
--
-- $sel:elasticIpStatus:Cluster', cluster_elasticIpStatus -
-- The status of the elastic IP (EIP) address.
--
-- $sel:elasticResizeNumberOfNodeOptions:Cluster',
-- cluster_elasticResizeNumberOfNodeOptions - The number of nodes
-- that you can resize the cluster to with the elastic resize method.
--
-- $sel:encrypted:Cluster', cluster_encrypted - A boolean
-- value that, if true, indicates that data in the cluster is
-- encrypted at rest.
--
-- $sel:endpoint:Cluster', cluster_endpoint - The
-- connection endpoint.
--
-- Cluster, cluster_enhancedVpcRouting - An option that
-- specifies whether to create the cluster with enhanced VPC routing
-- enabled. To create a cluster that uses enhanced VPC routing, the
-- cluster must be in a VPC. For more information, see Enhanced VPC
-- Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- $sel:expectedNextSnapshotScheduleTime:Cluster',
-- cluster_expectedNextSnapshotScheduleTime - The date and time
-- when the next snapshot is expected to be taken for clusters with a
-- valid snapshot schedule and backups enabled.
--
-- $sel:expectedNextSnapshotScheduleTimeStatus:Cluster',
-- cluster_expectedNextSnapshotScheduleTimeStatus - The status of
-- next expected snapshot for clusters having a valid snapshot schedule
-- and backups enabled. Possible values are the following:
--
--
-- - OnTrack - The next snapshot is expected to be taken on time.
-- - Pending - The next snapshot is pending to be taken.
--
--
-- $sel:hsmStatus:Cluster', cluster_hsmStatus - A value
-- that reports whether the Amazon Redshift cluster has finished applying
-- any hardware security module (HSM) settings changes specified in a
-- modify cluster command.
--
-- Values: active, applying
--
-- $sel:iamRoles:Cluster', cluster_iamRoles - A list of
-- Identity and Access Management (IAM) roles that can be used by the
-- cluster to access other Amazon Web Services services.
--
-- $sel:kmsKeyId:Cluster', cluster_kmsKeyId - The Key
-- Management Service (KMS) key ID of the encryption key used to encrypt
-- data in the cluster.
--
-- Cluster, cluster_maintenanceTrackName - The name of the
-- maintenance track for the cluster.
--
-- Cluster, cluster_manualSnapshotRetentionPeriod - The
-- default number of days to retain a manual snapshot. If the value is
-- -1, the snapshot is retained indefinitely. This setting doesn't change
-- the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- $sel:masterUsername:Cluster', cluster_masterUsername -
-- The admin user name for the cluster. This name is used to connect to
-- the database that is specified in the DBName parameter.
--
-- $sel:modifyStatus:Cluster', cluster_modifyStatus - The
-- status of a modify operation, if any, initiated for the cluster.
--
-- $sel:nextMaintenanceWindowStartTime:Cluster',
-- cluster_nextMaintenanceWindowStartTime - The date and time in
-- UTC when system maintenance can begin.
--
-- Cluster, cluster_nodeType - The node type for the nodes
-- in the cluster.
--
-- Cluster, cluster_numberOfNodes - The number of compute
-- nodes in the cluster.
--
-- $sel:pendingActions:Cluster', cluster_pendingActions -
-- Cluster operations that are waiting to be started.
--
-- $sel:pendingModifiedValues:Cluster',
-- cluster_pendingModifiedValues - A value that, if present,
-- indicates that changes to the cluster are pending. Specific pending
-- changes are identified by subelements.
--
-- $sel:preferredMaintenanceWindow:Cluster',
-- cluster_preferredMaintenanceWindow - The weekly time range, in
-- Universal Coordinated Time (UTC), during which system maintenance can
-- occur.
--
-- Cluster, cluster_publiclyAccessible - A boolean value
-- that, if true, indicates that the cluster can be accessed
-- from a public network.
--
-- $sel:reservedNodeExchangeStatus:Cluster',
-- cluster_reservedNodeExchangeStatus - The status of the
-- reserved-node exchange request. Statuses include in-progress and
-- requested.
--
-- $sel:resizeInfo:Cluster', cluster_resizeInfo - Returns
-- the following:
--
--
-- - AllowCancelResize: a boolean value indicating if the resize
-- operation can be cancelled.
-- - ResizeType: Returns ClassicResize
--
--
-- $sel:restoreStatus:Cluster', cluster_restoreStatus - A
-- value that describes the status of a cluster restore action. This
-- parameter returns null if the cluster was not created by restoring a
-- snapshot.
--
-- $sel:snapshotScheduleIdentifier:Cluster',
-- cluster_snapshotScheduleIdentifier - A unique identifier for
-- the cluster snapshot schedule.
--
-- $sel:snapshotScheduleState:Cluster',
-- cluster_snapshotScheduleState - The current state of the
-- cluster snapshot schedule.
--
-- $sel:tags:Cluster', cluster_tags - The list of tags for
-- the cluster.
--
-- $sel:totalStorageCapacityInMegaBytes:Cluster',
-- cluster_totalStorageCapacityInMegaBytes - The total storage
-- capacity of the cluster in megabytes.
--
-- $sel:vpcId:Cluster', cluster_vpcId - The identifier of
-- the VPC the cluster is in, if the cluster is in a VPC.
--
-- $sel:vpcSecurityGroups:Cluster',
-- cluster_vpcSecurityGroups - A list of Amazon Virtual Private
-- Cloud (Amazon VPC) security groups that are associated with the
-- cluster. This parameter is returned only if the cluster is in a VPC.
newCluster :: Cluster
-- | A boolean value that, if true, indicates that major version
-- upgrades will be applied automatically to the cluster during the
-- maintenance window.
cluster_allowVersionUpgrade :: Lens' Cluster (Maybe Bool)
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
cluster_aquaConfiguration :: Lens' Cluster (Maybe AquaConfiguration)
-- | The number of days that automatic cluster snapshots are retained.
cluster_automatedSnapshotRetentionPeriod :: Lens' Cluster (Maybe Int)
-- | The name of the Availability Zone in which the cluster is located.
cluster_availabilityZone :: Lens' Cluster (Maybe Text)
-- | Describes the status of the Availability Zone relocation operation.
cluster_availabilityZoneRelocationStatus :: Lens' Cluster (Maybe Text)
-- | The availability status of the cluster for queries. Possible values
-- are the following:
--
--
-- - Available - The cluster is available for queries.
-- - Unavailable - The cluster is not available for queries.
-- - Maintenance - The cluster is intermittently available for queries
-- due to maintenance activities.
-- - Modifying - The cluster is intermittently available for queries
-- due to changes that modify the cluster.
-- - Failed - The cluster failed and is not available for queries.
--
cluster_clusterAvailabilityStatus :: Lens' Cluster (Maybe Text)
-- | The date and time that the cluster was created.
cluster_clusterCreateTime :: Lens' Cluster (Maybe UTCTime)
-- | The unique identifier of the cluster.
cluster_clusterIdentifier :: Lens' Cluster (Maybe Text)
-- | The namespace Amazon Resource Name (ARN) of the cluster.
cluster_clusterNamespaceArn :: Lens' Cluster (Maybe Text)
-- | The nodes in the cluster.
cluster_clusterNodes :: Lens' Cluster (Maybe [ClusterNode])
-- | The list of cluster parameter groups that are associated with this
-- cluster. Each parameter group in the list is returned with its status.
cluster_clusterParameterGroups :: Lens' Cluster (Maybe [ClusterParameterGroupStatus])
-- | The public key for the cluster.
cluster_clusterPublicKey :: Lens' Cluster (Maybe Text)
-- | The specific revision number of the database in the cluster.
cluster_clusterRevisionNumber :: Lens' Cluster (Maybe Text)
-- | A list of cluster security group that are associated with the cluster.
-- Each security group is represented by an element that contains
-- ClusterSecurityGroup.Name and
-- ClusterSecurityGroup.Status subelements.
--
-- Cluster security groups are used when the cluster is not created in an
-- Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC
-- use VPC security groups, which are listed by the
-- VpcSecurityGroups parameter.
cluster_clusterSecurityGroups :: Lens' Cluster (Maybe [ClusterSecurityGroupMembership])
-- | A value that returns the destination region and retention period that
-- are configured for cross-region snapshot copy.
cluster_clusterSnapshotCopyStatus :: Lens' Cluster (Maybe ClusterSnapshotCopyStatus)
-- | The current state of the cluster. Possible values are the following:
--
--
-- available
-- available, prep-for-resize
-- available, resize-cleanup
-- cancelling-resize
-- creating
-- deleting
-- final-snapshot
-- hardware-failure
-- incompatible-hsm
-- incompatible-network
-- incompatible-parameters
-- incompatible-restore
-- modifying
-- paused
-- rebooting
-- renaming
-- resizing
-- rotating-keys
-- storage-full
-- updating-hsm
--
cluster_clusterStatus :: Lens' Cluster (Maybe Text)
-- | The name of the subnet group that is associated with the cluster. This
-- parameter is valid only when the cluster is in a VPC.
cluster_clusterSubnetGroupName :: Lens' Cluster (Maybe Text)
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
cluster_clusterVersion :: Lens' Cluster (Maybe Text)
-- | The name of the initial database that was created when the cluster was
-- created. This same name is returned for the life of the cluster. If an
-- initial database was not specified, a database named devdev
-- was created by default.
cluster_dbName :: Lens' Cluster (Maybe Text)
cluster_dataTransferProgress :: Lens' Cluster (Maybe DataTransferProgress)
-- | The Amazon Resource Name (ARN) for the IAM role set as default for the
-- cluster.
cluster_defaultIamRoleArn :: Lens' Cluster (Maybe Text)
-- | Describes a group of DeferredMaintenanceWindow objects.
cluster_deferredMaintenanceWindows :: Lens' Cluster (Maybe [DeferredMaintenanceWindow])
-- | The status of the elastic IP (EIP) address.
cluster_elasticIpStatus :: Lens' Cluster (Maybe ElasticIpStatus)
-- | The number of nodes that you can resize the cluster to with the
-- elastic resize method.
cluster_elasticResizeNumberOfNodeOptions :: Lens' Cluster (Maybe Text)
-- | A boolean value that, if true, indicates that data in the
-- cluster is encrypted at rest.
cluster_encrypted :: Lens' Cluster (Maybe Bool)
-- | The connection endpoint.
cluster_endpoint :: Lens' Cluster (Maybe Endpoint)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
cluster_enhancedVpcRouting :: Lens' Cluster (Maybe Bool)
-- | The date and time when the next snapshot is expected to be taken for
-- clusters with a valid snapshot schedule and backups enabled.
cluster_expectedNextSnapshotScheduleTime :: Lens' Cluster (Maybe UTCTime)
-- | The status of next expected snapshot for clusters having a valid
-- snapshot schedule and backups enabled. Possible values are the
-- following:
--
--
-- - OnTrack - The next snapshot is expected to be taken on time.
-- - Pending - The next snapshot is pending to be taken.
--
cluster_expectedNextSnapshotScheduleTimeStatus :: Lens' Cluster (Maybe Text)
-- | A value that reports whether the Amazon Redshift cluster has finished
-- applying any hardware security module (HSM) settings changes specified
-- in a modify cluster command.
--
-- Values: active, applying
cluster_hsmStatus :: Lens' Cluster (Maybe HsmStatus)
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services.
cluster_iamRoles :: Lens' Cluster (Maybe [ClusterIamRole])
-- | The Key Management Service (KMS) key ID of the encryption key used to
-- encrypt data in the cluster.
cluster_kmsKeyId :: Lens' Cluster (Maybe Text)
-- | The name of the maintenance track for the cluster.
cluster_maintenanceTrackName :: Lens' Cluster (Maybe Text)
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
cluster_manualSnapshotRetentionPeriod :: Lens' Cluster (Maybe Int)
-- | The admin user name for the cluster. This name is used to connect to
-- the database that is specified in the DBName parameter.
cluster_masterUsername :: Lens' Cluster (Maybe Text)
-- | The status of a modify operation, if any, initiated for the cluster.
cluster_modifyStatus :: Lens' Cluster (Maybe Text)
-- | The date and time in UTC when system maintenance can begin.
cluster_nextMaintenanceWindowStartTime :: Lens' Cluster (Maybe UTCTime)
-- | The node type for the nodes in the cluster.
cluster_nodeType :: Lens' Cluster (Maybe Text)
-- | The number of compute nodes in the cluster.
cluster_numberOfNodes :: Lens' Cluster (Maybe Int)
-- | Cluster operations that are waiting to be started.
cluster_pendingActions :: Lens' Cluster (Maybe [Text])
-- | A value that, if present, indicates that changes to the cluster are
-- pending. Specific pending changes are identified by subelements.
cluster_pendingModifiedValues :: Lens' Cluster (Maybe PendingModifiedValues)
-- | The weekly time range, in Universal Coordinated Time (UTC), during
-- which system maintenance can occur.
cluster_preferredMaintenanceWindow :: Lens' Cluster (Maybe Text)
-- | A boolean value that, if true, indicates that the cluster can
-- be accessed from a public network.
cluster_publiclyAccessible :: Lens' Cluster (Maybe Bool)
-- | The status of the reserved-node exchange request. Statuses include
-- in-progress and requested.
cluster_reservedNodeExchangeStatus :: Lens' Cluster (Maybe ReservedNodeExchangeStatus)
-- | Returns the following:
--
--
-- - AllowCancelResize: a boolean value indicating if the resize
-- operation can be cancelled.
-- - ResizeType: Returns ClassicResize
--
cluster_resizeInfo :: Lens' Cluster (Maybe ResizeInfo)
-- | A value that describes the status of a cluster restore action. This
-- parameter returns null if the cluster was not created by restoring a
-- snapshot.
cluster_restoreStatus :: Lens' Cluster (Maybe RestoreStatus)
-- | A unique identifier for the cluster snapshot schedule.
cluster_snapshotScheduleIdentifier :: Lens' Cluster (Maybe Text)
-- | The current state of the cluster snapshot schedule.
cluster_snapshotScheduleState :: Lens' Cluster (Maybe ScheduleState)
-- | The list of tags for the cluster.
cluster_tags :: Lens' Cluster (Maybe [Tag])
-- | The total storage capacity of the cluster in megabytes.
cluster_totalStorageCapacityInMegaBytes :: Lens' Cluster (Maybe Integer)
-- | The identifier of the VPC the cluster is in, if the cluster is in a
-- VPC.
cluster_vpcId :: Lens' Cluster (Maybe Text)
-- | A list of Amazon Virtual Private Cloud (Amazon VPC) security groups
-- that are associated with the cluster. This parameter is returned only
-- if the cluster is in a VPC.
cluster_vpcSecurityGroups :: Lens' Cluster (Maybe [VpcSecurityGroupMembership])
instance GHC.Generics.Generic Amazonka.Redshift.Types.Cluster.Cluster
instance GHC.Show.Show Amazonka.Redshift.Types.Cluster.Cluster
instance GHC.Read.Read Amazonka.Redshift.Types.Cluster.Cluster
instance GHC.Classes.Eq Amazonka.Redshift.Types.Cluster.Cluster
instance Amazonka.Data.XML.FromXML Amazonka.Redshift.Types.Cluster.Cluster
instance Data.Hashable.Class.Hashable Amazonka.Redshift.Types.Cluster.Cluster
instance Control.DeepSeq.NFData Amazonka.Redshift.Types.Cluster.Cluster
module Amazonka.Redshift.Types
-- | API version 2012-12-01 of the Amazon Redshift SDK
-- configuration.
defaultService :: Service
-- | You are not authorized to access the cluster.
_AccessToClusterDeniedFault :: AsError a => Fold a ServiceError
-- | The owner of the specified snapshot has not authorized your account to
-- access the snapshot.
_AccessToSnapshotDeniedFault :: AsError a => Fold a ServiceError
-- | The authentication profile already exists.
_AuthenticationProfileAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The authentication profile can't be found.
_AuthenticationProfileNotFoundFault :: AsError a => Fold a ServiceError
-- | The size or number of authentication profiles has exceeded the quota.
-- The maximum length of the JSON string and maximum number of
-- authentication profiles is determined by a quota for your account.
_AuthenticationProfileQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The specified CIDR block or EC2 security group is already authorized
-- for the specified cluster security group.
_AuthorizationAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The specified CIDR IP range or EC2 security group is not authorized
-- for the specified cluster security group.
_AuthorizationNotFoundFault :: AsError a => Fold a ServiceError
-- | The authorization quota for the cluster security group has been
-- reached.
_AuthorizationQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The maximum number for a batch delete of snapshots has been reached.
-- The limit is 100.
_BatchDeleteRequestSizeExceededFault :: AsError a => Fold a ServiceError
-- | The maximum number for snapshot identifiers has been reached. The
-- limit is 100.
_BatchModifyClusterSnapshotsLimitExceededFault :: AsError a => Fold a ServiceError
-- | Could not find the specified S3 bucket.
_BucketNotFoundFault :: AsError a => Fold a ServiceError
-- | The account already has a cluster with the given identifier.
_ClusterAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The ClusterIdentifier parameter does not refer to an existing
-- cluster.
_ClusterNotFoundFault :: AsError a => Fold a ServiceError
-- | Cluster is already on the latest database revision.
_ClusterOnLatestRevisionFault :: AsError a => Fold a ServiceError
-- | A cluster parameter group with the same name already exists.
_ClusterParameterGroupAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The parameter group name does not refer to an existing parameter
-- group.
_ClusterParameterGroupNotFoundFault :: AsError a => Fold a ServiceError
-- | The request would result in the user exceeding the allowed number of
-- cluster parameter groups. For information about increasing your quota,
-- go to Limits in Amazon Redshift in the Amazon Redshift
-- Cluster Management Guide.
_ClusterParameterGroupQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The request would exceed the allowed number of cluster instances for
-- this account. For information about increasing your quota, go to
-- Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_ClusterQuotaExceededFault :: AsError a => Fold a ServiceError
-- | A cluster security group with the same name already exists.
_ClusterSecurityGroupAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The cluster security group name does not refer to an existing cluster
-- security group.
_ClusterSecurityGroupNotFoundFault :: AsError a => Fold a ServiceError
-- | The request would result in the user exceeding the allowed number of
-- cluster security groups. For information about increasing your quota,
-- go to Limits in Amazon Redshift in the Amazon Redshift
-- Cluster Management Guide.
_ClusterSecurityGroupQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The value specified as a snapshot identifier is already used by an
-- existing snapshot.
_ClusterSnapshotAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The snapshot identifier does not refer to an existing cluster
-- snapshot.
_ClusterSnapshotNotFoundFault :: AsError a => Fold a ServiceError
-- | The request would result in the user exceeding the allowed number of
-- cluster snapshots.
_ClusterSnapshotQuotaExceededFault :: AsError a => Fold a ServiceError
-- | A ClusterSubnetGroupName is already used by an existing cluster
-- subnet group.
_ClusterSubnetGroupAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The cluster subnet group name does not refer to an existing cluster
-- subnet group.
_ClusterSubnetGroupNotFoundFault :: AsError a => Fold a ServiceError
-- | The request would result in user exceeding the allowed number of
-- cluster subnet groups. For information about increasing your quota, go
-- to Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_ClusterSubnetGroupQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The request would result in user exceeding the allowed number of
-- subnets in a cluster subnet groups. For information about increasing
-- your quota, go to Limits in Amazon Redshift in the Amazon
-- Redshift Cluster Management Guide.
_ClusterSubnetQuotaExceededFault :: AsError a => Fold a ServiceError
-- | Cross-region snapshot copy was temporarily disabled. Try your request
-- again.
_CopyToRegionDisabledFault :: AsError a => Fold a ServiceError
-- | The request cannot be completed because a dependent service is
-- throttling requests made by Amazon Redshift on your behalf. Wait and
-- retry the request.
_DependentServiceRequestThrottlingFault :: AsError a => Fold a ServiceError
-- | Your request cannot be completed because a dependent internal service
-- is temporarily unavailable. Wait 30 to 60 seconds and try again.
_DependentServiceUnavailableFault :: AsError a => Fold a ServiceError
-- | The account already has a Redshift-managed VPC endpoint with the given
-- identifier.
_EndpointAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The authorization already exists for this endpoint.
_EndpointAuthorizationAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The authorization for this endpoint can't be found.
_EndpointAuthorizationNotFoundFault :: AsError a => Fold a ServiceError
-- | The number of endpoint authorizations per cluster has exceeded its
-- limit.
_EndpointAuthorizationsPerClusterLimitExceededFault :: AsError a => Fold a ServiceError
-- | The endpoint name doesn't refer to an existing endpoint.
_EndpointNotFoundFault :: AsError a => Fold a ServiceError
-- | The number of Redshift-managed VPC endpoints per authorization has
-- exceeded its limit.
_EndpointsPerAuthorizationLimitExceededFault :: AsError a => Fold a ServiceError
-- | The number of Redshift-managed VPC endpoints per cluster has exceeded
-- its limit.
_EndpointsPerClusterLimitExceededFault :: AsError a => Fold a ServiceError
-- | The request would exceed the allowed number of event subscriptions for
-- this account. For information about increasing your quota, go to
-- Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_EventSubscriptionQuotaExceededFault :: AsError a => Fold a ServiceError
-- | There is already an existing Amazon Redshift HSM client certificate
-- with the specified identifier.
_HsmClientCertificateAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | There is no Amazon Redshift HSM client certificate with the specified
-- identifier.
_HsmClientCertificateNotFoundFault :: AsError a => Fold a ServiceError
-- | The quota for HSM client certificates has been reached. For
-- information about increasing your quota, go to Limits in Amazon
-- Redshift in the Amazon Redshift Cluster Management Guide.
_HsmClientCertificateQuotaExceededFault :: AsError a => Fold a ServiceError
-- | There is already an existing Amazon Redshift HSM configuration with
-- the specified identifier.
_HsmConfigurationAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | There is no Amazon Redshift HSM configuration with the specified
-- identifier.
_HsmConfigurationNotFoundFault :: AsError a => Fold a ServiceError
-- | The quota for HSM configurations has been reached. For information
-- about increasing your quota, go to Limits in Amazon Redshift in
-- the Amazon Redshift Cluster Management Guide.
_HsmConfigurationQuotaExceededFault :: AsError a => Fold a ServiceError
-- | You have exceeded the allowed number of table restore requests. Wait
-- for your current table restore requests to complete before making a
-- new request.
_InProgressTableRestoreQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The specified options are incompatible.
_IncompatibleOrderableOptions :: AsError a => Fold a ServiceError
-- | The number of nodes specified exceeds the allotted capacity of the
-- cluster.
_InsufficientClusterCapacityFault :: AsError a => Fold a ServiceError
-- | The cluster does not have read bucket or put object permissions on the
-- S3 bucket specified when enabling logging.
_InsufficientS3BucketPolicyFault :: AsError a => Fold a ServiceError
-- | The authentication profile request is not valid. The profile name
-- can't be null or empty. The authentication profile API operation must
-- be available in the Amazon Web Services Region.
_InvalidAuthenticationProfileRequestFault :: AsError a => Fold a ServiceError
-- | The status of the authorization is not valid.
_InvalidAuthorizationStateFault :: AsError a => Fold a ServiceError
-- | The cluster parameter group action can not be completed because
-- another task is in progress that involves the parameter group. Wait a
-- few moments and try the operation again.
_InvalidClusterParameterGroupStateFault :: AsError a => Fold a ServiceError
-- | The state of the cluster security group is not available.
_InvalidClusterSecurityGroupStateFault :: AsError a => Fold a ServiceError
-- | The cluster snapshot schedule state is not valid.
_InvalidClusterSnapshotScheduleStateFault :: AsError a => Fold a ServiceError
-- | The specified cluster snapshot is not in the available state,
-- or other accounts are authorized to access the snapshot.
_InvalidClusterSnapshotStateFault :: AsError a => Fold a ServiceError
-- | The specified cluster is not in the available state.
_InvalidClusterStateFault :: AsError a => Fold a ServiceError
-- | The cluster subnet group cannot be deleted because it is in use.
_InvalidClusterSubnetGroupStateFault :: AsError a => Fold a ServiceError
-- | The state of the subnet is invalid.
_InvalidClusterSubnetStateFault :: AsError a => Fold a ServiceError
-- | The provided cluster track name is not valid.
_InvalidClusterTrackFault :: AsError a => Fold a ServiceError
-- | There is an error with the datashare.
_InvalidDataShareFault :: AsError a => Fold a ServiceError
-- | The Elastic IP (EIP) is invalid or cannot be found.
_InvalidElasticIpFault :: AsError a => Fold a ServiceError
-- | The status of the endpoint is not valid.
_InvalidEndpointStateFault :: AsError a => Fold a ServiceError
-- | The specified HSM client certificate is not in the available
-- state, or it is still in use by one or more Amazon Redshift clusters.
_InvalidHsmClientCertificateStateFault :: AsError a => Fold a ServiceError
-- | The specified HSM configuration is not in the available
-- state, or it is still in use by one or more Amazon Redshift clusters.
_InvalidHsmConfigurationStateFault :: AsError a => Fold a ServiceError
-- | The namespace isn't valid because the namespace doesn't exist. Provide
-- a valid namespace.
_InvalidNamespaceFault :: AsError a => Fold a ServiceError
-- | Indicates that the Reserved Node being exchanged is not in an active
-- state.
_InvalidReservedNodeStateFault :: AsError a => Fold a ServiceError
-- | The restore is invalid.
_InvalidRestoreFault :: AsError a => Fold a ServiceError
-- | The retention period specified is either in the past or is not a valid
-- value.
--
-- The value must be either -1 or an integer between 1 and 3,653.
_InvalidRetentionPeriodFault :: AsError a => Fold a ServiceError
-- | The S3 bucket name is invalid. For more information about naming
-- rules, go to Bucket Restrictions and Limitations in the Amazon
-- Simple Storage Service (S3) Developer Guide.
_InvalidS3BucketNameFault :: AsError a => Fold a ServiceError
-- | The string specified for the logging S3 key prefix does not comply
-- with the documented constraints.
_InvalidS3KeyPrefixFault :: AsError a => Fold a ServiceError
-- | The schedule you submitted isn't valid.
_InvalidScheduleFault :: AsError a => Fold a ServiceError
-- | The scheduled action is not valid.
_InvalidScheduledActionFault :: AsError a => Fold a ServiceError
-- | The snapshot copy grant can't be deleted because it is used by one or
-- more clusters.
_InvalidSnapshotCopyGrantStateFault :: AsError a => Fold a ServiceError
-- | The requested subnet is not valid, or not all of the subnets are in
-- the same VPC.
_InvalidSubnet :: AsError a => Fold a ServiceError
-- | The subscription request is invalid because it is a duplicate request.
-- This subscription request is already in progress.
_InvalidSubscriptionStateFault :: AsError a => Fold a ServiceError
-- | The value specified for the sourceDatabaseName,
-- sourceSchemaName, or sourceTableName parameter, or a
-- combination of these, doesn't exist in the snapshot.
_InvalidTableRestoreArgumentFault :: AsError a => Fold a ServiceError
-- | The tag is invalid.
_InvalidTagFault :: AsError a => Fold a ServiceError
-- | The usage limit is not valid.
_InvalidUsageLimitFault :: AsError a => Fold a ServiceError
-- | The cluster subnet group does not cover all Availability Zones.
_InvalidVPCNetworkStateFault :: AsError a => Fold a ServiceError
-- | The encryption key has exceeded its grant limit in Amazon Web Services
-- KMS.
_LimitExceededFault :: AsError a => Fold a ServiceError
-- | The operation would exceed the number of nodes allowed for a cluster.
_NumberOfNodesPerClusterLimitExceededFault :: AsError a => Fold a ServiceError
-- | The operation would exceed the number of nodes allotted to the
-- account. For information about increasing your quota, go to Limits
-- in Amazon Redshift in the Amazon Redshift Cluster Management
-- Guide.
_NumberOfNodesQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The name of the partner was not found.
_PartnerNotFoundFault :: AsError a => Fold a ServiceError
-- | User already has a reservation with the given identifier.
_ReservedNodeAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | Indicates that the reserved node has already been exchanged.
_ReservedNodeAlreadyMigratedFault :: AsError a => Fold a ServiceError
-- | The reserved-node exchange status wasn't found.
_ReservedNodeExchangeNotFoundFault :: AsError a => Fold a ServiceError
-- | The specified reserved compute node not found.
_ReservedNodeNotFoundFault :: AsError a => Fold a ServiceError
-- | Specified offering does not exist.
_ReservedNodeOfferingNotFoundFault :: AsError a => Fold a ServiceError
-- | Request would exceed the user's compute node quota. For information
-- about increasing your quota, go to Limits in Amazon Redshift in
-- the Amazon Redshift Cluster Management Guide.
_ReservedNodeQuotaExceededFault :: AsError a => Fold a ServiceError
-- | A resize operation for the specified cluster is not found.
_ResizeNotFoundFault :: AsError a => Fold a ServiceError
-- | The resource could not be found.
_ResourceNotFoundFault :: AsError a => Fold a ServiceError
-- | Amazon SNS has responded that there is a problem with the specified
-- Amazon SNS topic.
_SNSInvalidTopicFault :: AsError a => Fold a ServiceError
-- | You do not have permission to publish to the specified Amazon SNS
-- topic.
_SNSNoAuthorizationFault :: AsError a => Fold a ServiceError
-- | An Amazon SNS topic with the specified Amazon Resource Name (ARN) does
-- not exist.
_SNSTopicArnNotFoundFault :: AsError a => Fold a ServiceError
-- | The definition you submitted is not supported.
_ScheduleDefinitionTypeUnsupportedFault :: AsError a => Fold a ServiceError
-- | The scheduled action already exists.
_ScheduledActionAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The scheduled action cannot be found.
_ScheduledActionNotFoundFault :: AsError a => Fold a ServiceError
-- | The quota for scheduled actions exceeded.
_ScheduledActionQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The action type specified for a scheduled action is not supported.
_ScheduledActionTypeUnsupportedFault :: AsError a => Fold a ServiceError
-- | The cluster already has cross-region snapshot copy disabled.
_SnapshotCopyAlreadyDisabledFault :: AsError a => Fold a ServiceError
-- | The cluster already has cross-region snapshot copy enabled.
_SnapshotCopyAlreadyEnabledFault :: AsError a => Fold a ServiceError
-- | Cross-region snapshot copy was temporarily disabled. Try your request
-- again.
_SnapshotCopyDisabledFault :: AsError a => Fold a ServiceError
-- | The snapshot copy grant can't be created because a grant with the same
-- name already exists.
_SnapshotCopyGrantAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The specified snapshot copy grant can't be found. Make sure that the
-- name is typed correctly and that the grant exists in the destination
-- region.
_SnapshotCopyGrantNotFoundFault :: AsError a => Fold a ServiceError
-- | The Amazon Web Services account has exceeded the maximum number of
-- snapshot copy grants in this region.
_SnapshotCopyGrantQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The specified snapshot schedule already exists.
_SnapshotScheduleAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | We could not find the specified snapshot schedule.
_SnapshotScheduleNotFoundFault :: AsError a => Fold a ServiceError
-- | You have exceeded the quota of snapshot schedules.
_SnapshotScheduleQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The specified snapshot schedule is already being updated.
_SnapshotScheduleUpdateInProgressFault :: AsError a => Fold a ServiceError
-- | The specified Amazon Redshift event source could not be found.
_SourceNotFoundFault :: AsError a => Fold a ServiceError
-- | A specified subnet is already in use by another cluster.
_SubnetAlreadyInUse :: AsError a => Fold a ServiceError
-- | There is already an existing event notification subscription with the
-- specified name.
_SubscriptionAlreadyExistFault :: AsError a => Fold a ServiceError
-- | The value specified for the event category was not one of the allowed
-- values, or it specified a category that does not apply to the
-- specified source type. The allowed values are Configuration,
-- Management, Monitoring, and Security.
_SubscriptionCategoryNotFoundFault :: AsError a => Fold a ServiceError
-- | An Amazon Redshift event with the specified event ID does not exist.
_SubscriptionEventIdNotFoundFault :: AsError a => Fold a ServiceError
-- | An Amazon Redshift event notification subscription with the specified
-- name does not exist.
_SubscriptionNotFoundFault :: AsError a => Fold a ServiceError
-- | The value specified for the event severity was not one of the allowed
-- values, or it specified a severity that does not apply to the
-- specified source type. The allowed values are ERROR and INFO.
_SubscriptionSeverityNotFoundFault :: AsError a => Fold a ServiceError
-- | The number of tables in the cluster exceeds the limit for the
-- requested new cluster node type.
_TableLimitExceededFault :: AsError a => Fold a ServiceError
-- | The specified TableRestoreRequestId value was not found.
_TableRestoreNotFoundFault :: AsError a => Fold a ServiceError
-- | You have exceeded the number of tags allowed.
_TagLimitExceededFault :: AsError a => Fold a ServiceError
-- | Your account is not authorized to perform the requested operation.
_UnauthorizedOperation :: AsError a => Fold a ServiceError
-- | The partner integration is not authorized.
_UnauthorizedPartnerIntegrationFault :: AsError a => Fold a ServiceError
-- | The specified region is incorrect or does not exist.
_UnknownSnapshotCopyRegionFault :: AsError a => Fold a ServiceError
-- | The requested operation isn't supported.
_UnsupportedOperationFault :: AsError a => Fold a ServiceError
-- | A request option was specified that is not supported.
_UnsupportedOptionFault :: AsError a => Fold a ServiceError
-- | The usage limit already exists.
_UsageLimitAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The usage limit identifier can't be found.
_UsageLimitNotFoundFault :: AsError a => Fold a ServiceError
newtype ActionType
ActionType' :: Text -> ActionType
[fromActionType] :: ActionType -> Text
pattern ActionType_Recommend_node_config :: ActionType
pattern ActionType_Resize_cluster :: ActionType
pattern ActionType_Restore_cluster :: ActionType
newtype AquaConfigurationStatus
AquaConfigurationStatus' :: Text -> AquaConfigurationStatus
[fromAquaConfigurationStatus] :: AquaConfigurationStatus -> Text
pattern AquaConfigurationStatus_Auto :: AquaConfigurationStatus
pattern AquaConfigurationStatus_Disabled :: AquaConfigurationStatus
pattern AquaConfigurationStatus_Enabled :: AquaConfigurationStatus
newtype AquaStatus
AquaStatus' :: Text -> AquaStatus
[fromAquaStatus] :: AquaStatus -> Text
pattern AquaStatus_Applying :: AquaStatus
pattern AquaStatus_Disabled :: AquaStatus
pattern AquaStatus_Enabled :: AquaStatus
newtype AuthorizationStatus
AuthorizationStatus' :: Text -> AuthorizationStatus
[fromAuthorizationStatus] :: AuthorizationStatus -> Text
pattern AuthorizationStatus_Authorized :: AuthorizationStatus
pattern AuthorizationStatus_Revoking :: AuthorizationStatus
newtype DataShareStatus
DataShareStatus' :: Text -> DataShareStatus
[fromDataShareStatus] :: DataShareStatus -> Text
pattern DataShareStatus_ACTIVE :: DataShareStatus
pattern DataShareStatus_AUTHORIZED :: DataShareStatus
pattern DataShareStatus_AVAILABLE :: DataShareStatus
pattern DataShareStatus_DEAUTHORIZED :: DataShareStatus
pattern DataShareStatus_PENDING_AUTHORIZATION :: DataShareStatus
pattern DataShareStatus_REJECTED :: DataShareStatus
newtype DataShareStatusForConsumer
DataShareStatusForConsumer' :: Text -> DataShareStatusForConsumer
[fromDataShareStatusForConsumer] :: DataShareStatusForConsumer -> Text
pattern DataShareStatusForConsumer_ACTIVE :: DataShareStatusForConsumer
pattern DataShareStatusForConsumer_AVAILABLE :: DataShareStatusForConsumer
newtype DataShareStatusForProducer
DataShareStatusForProducer' :: Text -> DataShareStatusForProducer
[fromDataShareStatusForProducer] :: DataShareStatusForProducer -> Text
pattern DataShareStatusForProducer_ACTIVE :: DataShareStatusForProducer
pattern DataShareStatusForProducer_AUTHORIZED :: DataShareStatusForProducer
pattern DataShareStatusForProducer_DEAUTHORIZED :: DataShareStatusForProducer
pattern DataShareStatusForProducer_PENDING_AUTHORIZATION :: DataShareStatusForProducer
pattern DataShareStatusForProducer_REJECTED :: DataShareStatusForProducer
newtype LogDestinationType
LogDestinationType' :: Text -> LogDestinationType
[fromLogDestinationType] :: LogDestinationType -> Text
pattern LogDestinationType_Cloudwatch :: LogDestinationType
pattern LogDestinationType_S3 :: LogDestinationType
newtype Mode
Mode' :: Text -> Mode
[fromMode] :: Mode -> Text
pattern Mode_High_performance :: Mode
pattern Mode_Standard :: Mode
newtype NodeConfigurationOptionsFilterName
NodeConfigurationOptionsFilterName' :: Text -> NodeConfigurationOptionsFilterName
[fromNodeConfigurationOptionsFilterName] :: NodeConfigurationOptionsFilterName -> Text
pattern NodeConfigurationOptionsFilterName_EstimatedDiskUtilizationPercent :: NodeConfigurationOptionsFilterName
pattern NodeConfigurationOptionsFilterName_Mode :: NodeConfigurationOptionsFilterName
pattern NodeConfigurationOptionsFilterName_NodeType :: NodeConfigurationOptionsFilterName
pattern NodeConfigurationOptionsFilterName_NumberOfNodes :: NodeConfigurationOptionsFilterName
newtype OperatorType
OperatorType' :: Text -> OperatorType
[fromOperatorType] :: OperatorType -> Text
pattern OperatorType_Between :: OperatorType
pattern OperatorType_Eq :: OperatorType
pattern OperatorType_Ge :: OperatorType
pattern OperatorType_Gt :: OperatorType
pattern OperatorType_In :: OperatorType
pattern OperatorType_Le :: OperatorType
pattern OperatorType_Lt :: OperatorType
newtype ParameterApplyType
ParameterApplyType' :: Text -> ParameterApplyType
[fromParameterApplyType] :: ParameterApplyType -> Text
pattern ParameterApplyType_Dynamic :: ParameterApplyType
pattern ParameterApplyType_Static :: ParameterApplyType
newtype PartnerIntegrationStatus
PartnerIntegrationStatus' :: Text -> PartnerIntegrationStatus
[fromPartnerIntegrationStatus] :: PartnerIntegrationStatus -> Text
pattern PartnerIntegrationStatus_Active :: PartnerIntegrationStatus
pattern PartnerIntegrationStatus_ConnectionFailure :: PartnerIntegrationStatus
pattern PartnerIntegrationStatus_Inactive :: PartnerIntegrationStatus
pattern PartnerIntegrationStatus_RuntimeFailure :: PartnerIntegrationStatus
newtype ReservedNodeExchangeActionType
ReservedNodeExchangeActionType' :: Text -> ReservedNodeExchangeActionType
[fromReservedNodeExchangeActionType] :: ReservedNodeExchangeActionType -> Text
pattern ReservedNodeExchangeActionType_Resize_cluster :: ReservedNodeExchangeActionType
pattern ReservedNodeExchangeActionType_Restore_cluster :: ReservedNodeExchangeActionType
newtype ReservedNodeExchangeStatusType
ReservedNodeExchangeStatusType' :: Text -> ReservedNodeExchangeStatusType
[fromReservedNodeExchangeStatusType] :: ReservedNodeExchangeStatusType -> Text
pattern ReservedNodeExchangeStatusType_FAILED :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_IN_PROGRESS :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_PENDING :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_REQUESTED :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_RETRYING :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_SUCCEEDED :: ReservedNodeExchangeStatusType
newtype ReservedNodeOfferingType
ReservedNodeOfferingType' :: Text -> ReservedNodeOfferingType
[fromReservedNodeOfferingType] :: ReservedNodeOfferingType -> Text
pattern ReservedNodeOfferingType_Regular :: ReservedNodeOfferingType
pattern ReservedNodeOfferingType_Upgradable :: ReservedNodeOfferingType
newtype ScheduleState
ScheduleState' :: Text -> ScheduleState
[fromScheduleState] :: ScheduleState -> Text
pattern ScheduleState_ACTIVE :: ScheduleState
pattern ScheduleState_FAILED :: ScheduleState
pattern ScheduleState_MODIFYING :: ScheduleState
newtype ScheduledActionFilterName
ScheduledActionFilterName' :: Text -> ScheduledActionFilterName
[fromScheduledActionFilterName] :: ScheduledActionFilterName -> Text
pattern ScheduledActionFilterName_Cluster_identifier :: ScheduledActionFilterName
pattern ScheduledActionFilterName_Iam_role :: ScheduledActionFilterName
newtype ScheduledActionState
ScheduledActionState' :: Text -> ScheduledActionState
[fromScheduledActionState] :: ScheduledActionState -> Text
pattern ScheduledActionState_ACTIVE :: ScheduledActionState
pattern ScheduledActionState_DISABLED :: ScheduledActionState
newtype ScheduledActionTypeValues
ScheduledActionTypeValues' :: Text -> ScheduledActionTypeValues
[fromScheduledActionTypeValues] :: ScheduledActionTypeValues -> Text
pattern ScheduledActionTypeValues_PauseCluster :: ScheduledActionTypeValues
pattern ScheduledActionTypeValues_ResizeCluster :: ScheduledActionTypeValues
pattern ScheduledActionTypeValues_ResumeCluster :: ScheduledActionTypeValues
newtype SnapshotAttributeToSortBy
SnapshotAttributeToSortBy' :: Text -> SnapshotAttributeToSortBy
[fromSnapshotAttributeToSortBy] :: SnapshotAttributeToSortBy -> Text
pattern SnapshotAttributeToSortBy_CREATE_TIME :: SnapshotAttributeToSortBy
pattern SnapshotAttributeToSortBy_SOURCE_TYPE :: SnapshotAttributeToSortBy
pattern SnapshotAttributeToSortBy_TOTAL_SIZE :: SnapshotAttributeToSortBy
newtype SortByOrder
SortByOrder' :: Text -> SortByOrder
[fromSortByOrder] :: SortByOrder -> Text
pattern SortByOrder_ASC :: SortByOrder
pattern SortByOrder_DESC :: SortByOrder
newtype SourceType
SourceType' :: Text -> SourceType
[fromSourceType] :: SourceType -> Text
pattern SourceType_Cluster :: SourceType
pattern SourceType_Cluster_parameter_group :: SourceType
pattern SourceType_Cluster_security_group :: SourceType
pattern SourceType_Cluster_snapshot :: SourceType
pattern SourceType_Scheduled_action :: SourceType
newtype TableRestoreStatusType
TableRestoreStatusType' :: Text -> TableRestoreStatusType
[fromTableRestoreStatusType] :: TableRestoreStatusType -> Text
pattern TableRestoreStatusType_CANCELED :: TableRestoreStatusType
pattern TableRestoreStatusType_FAILED :: TableRestoreStatusType
pattern TableRestoreStatusType_IN_PROGRESS :: TableRestoreStatusType
pattern TableRestoreStatusType_PENDING :: TableRestoreStatusType
pattern TableRestoreStatusType_SUCCEEDED :: TableRestoreStatusType
newtype UsageLimitBreachAction
UsageLimitBreachAction' :: Text -> UsageLimitBreachAction
[fromUsageLimitBreachAction] :: UsageLimitBreachAction -> Text
pattern UsageLimitBreachAction_Disable :: UsageLimitBreachAction
pattern UsageLimitBreachAction_Emit_metric :: UsageLimitBreachAction
pattern UsageLimitBreachAction_Log :: UsageLimitBreachAction
newtype UsageLimitFeatureType
UsageLimitFeatureType' :: Text -> UsageLimitFeatureType
[fromUsageLimitFeatureType] :: UsageLimitFeatureType -> Text
pattern UsageLimitFeatureType_Concurrency_scaling :: UsageLimitFeatureType
pattern UsageLimitFeatureType_Cross_region_datasharing :: UsageLimitFeatureType
pattern UsageLimitFeatureType_Spectrum :: UsageLimitFeatureType
newtype UsageLimitLimitType
UsageLimitLimitType' :: Text -> UsageLimitLimitType
[fromUsageLimitLimitType] :: UsageLimitLimitType -> Text
pattern UsageLimitLimitType_Data_scanned :: UsageLimitLimitType
pattern UsageLimitLimitType_Time :: UsageLimitLimitType
newtype UsageLimitPeriod
UsageLimitPeriod' :: Text -> UsageLimitPeriod
[fromUsageLimitPeriod] :: UsageLimitPeriod -> Text
pattern UsageLimitPeriod_Daily :: UsageLimitPeriod
pattern UsageLimitPeriod_Monthly :: UsageLimitPeriod
pattern UsageLimitPeriod_Weekly :: UsageLimitPeriod
-- | A name value pair that describes an aspect of an account.
--
-- See: newAccountAttribute smart constructor.
data AccountAttribute
AccountAttribute' :: Maybe Text -> Maybe [AttributeValueTarget] -> AccountAttribute
-- | The name of the attribute.
[$sel:attributeName:AccountAttribute'] :: AccountAttribute -> Maybe Text
-- | A list of attribute values.
[$sel:attributeValues:AccountAttribute'] :: AccountAttribute -> Maybe [AttributeValueTarget]
-- | Create a value of AccountAttribute 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:attributeName:AccountAttribute',
-- accountAttribute_attributeName - The name of the attribute.
--
-- $sel:attributeValues:AccountAttribute',
-- accountAttribute_attributeValues - A list of attribute values.
newAccountAttribute :: AccountAttribute
-- | The name of the attribute.
accountAttribute_attributeName :: Lens' AccountAttribute (Maybe Text)
-- | A list of attribute values.
accountAttribute_attributeValues :: Lens' AccountAttribute (Maybe [AttributeValueTarget])
-- | Describes an Amazon Web Services account authorized to restore a
-- snapshot.
--
-- See: newAccountWithRestoreAccess smart constructor.
data AccountWithRestoreAccess
AccountWithRestoreAccess' :: Maybe Text -> Maybe Text -> AccountWithRestoreAccess
-- | The identifier of an Amazon Web Services support account authorized to
-- restore a snapshot. For Amazon Web Services Support, the identifier is
-- amazon-redshift-support.
[$sel:accountAlias:AccountWithRestoreAccess'] :: AccountWithRestoreAccess -> Maybe Text
-- | The identifier of an Amazon Web Services account authorized to restore
-- a snapshot.
[$sel:accountId:AccountWithRestoreAccess'] :: AccountWithRestoreAccess -> Maybe Text
-- | Create a value of AccountWithRestoreAccess 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:accountAlias:AccountWithRestoreAccess',
-- accountWithRestoreAccess_accountAlias - The identifier of an
-- Amazon Web Services support account authorized to restore a snapshot.
-- For Amazon Web Services Support, the identifier is
-- amazon-redshift-support.
--
-- $sel:accountId:AccountWithRestoreAccess',
-- accountWithRestoreAccess_accountId - The identifier of an
-- Amazon Web Services account authorized to restore a snapshot.
newAccountWithRestoreAccess :: AccountWithRestoreAccess
-- | The identifier of an Amazon Web Services support account authorized to
-- restore a snapshot. For Amazon Web Services Support, the identifier is
-- amazon-redshift-support.
accountWithRestoreAccess_accountAlias :: Lens' AccountWithRestoreAccess (Maybe Text)
-- | The identifier of an Amazon Web Services account authorized to restore
-- a snapshot.
accountWithRestoreAccess_accountId :: Lens' AccountWithRestoreAccess (Maybe Text)
-- | The operation that uses this structure is retired. Amazon Redshift
-- automatically determines whether to use AQUA (Advanced Query
-- Accelerator).
--
-- See: newAquaConfiguration smart constructor.
data AquaConfiguration
AquaConfiguration' :: Maybe AquaConfigurationStatus -> Maybe AquaStatus -> AquaConfiguration
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
[$sel:aquaConfigurationStatus:AquaConfiguration'] :: AquaConfiguration -> Maybe AquaConfigurationStatus
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
[$sel:aquaStatus:AquaConfiguration'] :: AquaConfiguration -> Maybe AquaStatus
-- | Create a value of AquaConfiguration 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:aquaConfigurationStatus:AquaConfiguration',
-- aquaConfiguration_aquaConfigurationStatus - This field is
-- retired. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
--
-- $sel:aquaStatus:AquaConfiguration',
-- aquaConfiguration_aquaStatus - This field is retired. Amazon
-- Redshift automatically determines whether to use AQUA (Advanced Query
-- Accelerator).
newAquaConfiguration :: AquaConfiguration
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
aquaConfiguration_aquaConfigurationStatus :: Lens' AquaConfiguration (Maybe AquaConfigurationStatus)
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
aquaConfiguration_aquaStatus :: Lens' AquaConfiguration (Maybe AquaStatus)
-- | Describes an attribute value.
--
-- See: newAttributeValueTarget smart constructor.
data AttributeValueTarget
AttributeValueTarget' :: Maybe Text -> AttributeValueTarget
-- | The value of the attribute.
[$sel:attributeValue:AttributeValueTarget'] :: AttributeValueTarget -> Maybe Text
-- | Create a value of AttributeValueTarget 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:attributeValue:AttributeValueTarget',
-- attributeValueTarget_attributeValue - The value of the
-- attribute.
newAttributeValueTarget :: AttributeValueTarget
-- | The value of the attribute.
attributeValueTarget_attributeValue :: Lens' AttributeValueTarget (Maybe Text)
-- | Describes an authentication profile.
--
-- See: newAuthenticationProfile smart constructor.
data AuthenticationProfile
AuthenticationProfile' :: Maybe Text -> Maybe Text -> AuthenticationProfile
-- | The content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
[$sel:authenticationProfileContent:AuthenticationProfile'] :: AuthenticationProfile -> Maybe Text
-- | The name of the authentication profile.
[$sel:authenticationProfileName:AuthenticationProfile'] :: AuthenticationProfile -> Maybe Text
-- | Create a value of AuthenticationProfile 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:authenticationProfileContent:AuthenticationProfile',
-- authenticationProfile_authenticationProfileContent - The
-- content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
--
-- $sel:authenticationProfileName:AuthenticationProfile',
-- authenticationProfile_authenticationProfileName - The name of
-- the authentication profile.
newAuthenticationProfile :: AuthenticationProfile
-- | The content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
authenticationProfile_authenticationProfileContent :: Lens' AuthenticationProfile (Maybe Text)
-- | The name of the authentication profile.
authenticationProfile_authenticationProfileName :: Lens' AuthenticationProfile (Maybe Text)
-- | Describes an availability zone.
--
-- See: newAvailabilityZone smart constructor.
data AvailabilityZone
AvailabilityZone' :: Maybe Text -> Maybe [SupportedPlatform] -> AvailabilityZone
-- | The name of the availability zone.
[$sel:name:AvailabilityZone'] :: AvailabilityZone -> Maybe Text
[$sel:supportedPlatforms:AvailabilityZone'] :: AvailabilityZone -> Maybe [SupportedPlatform]
-- | Create a value of AvailabilityZone 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:
--
-- AvailabilityZone, availabilityZone_name - The name of
-- the availability zone.
--
-- $sel:supportedPlatforms:AvailabilityZone',
-- availabilityZone_supportedPlatforms -
newAvailabilityZone :: AvailabilityZone
-- | The name of the availability zone.
availabilityZone_name :: Lens' AvailabilityZone (Maybe Text)
availabilityZone_supportedPlatforms :: Lens' AvailabilityZone (Maybe [SupportedPlatform])
-- | Describes a cluster.
--
-- See: newCluster smart constructor.
data Cluster
Cluster' :: Maybe Bool -> Maybe AquaConfiguration -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe [ClusterNode] -> Maybe [ClusterParameterGroupStatus] -> Maybe Text -> Maybe Text -> Maybe [ClusterSecurityGroupMembership] -> Maybe ClusterSnapshotCopyStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DataTransferProgress -> Maybe Text -> Maybe [DeferredMaintenanceWindow] -> Maybe ElasticIpStatus -> Maybe Text -> Maybe Bool -> Maybe Endpoint -> Maybe Bool -> Maybe ISO8601 -> Maybe Text -> Maybe HsmStatus -> Maybe [ClusterIamRole] -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe PendingModifiedValues -> Maybe Text -> Maybe Bool -> Maybe ReservedNodeExchangeStatus -> Maybe ResizeInfo -> Maybe RestoreStatus -> Maybe Text -> Maybe ScheduleState -> Maybe [Tag] -> Maybe Integer -> Maybe Text -> Maybe [VpcSecurityGroupMembership] -> Cluster
-- | A boolean value that, if true, indicates that major version
-- upgrades will be applied automatically to the cluster during the
-- maintenance window.
[$sel:allowVersionUpgrade:Cluster'] :: Cluster -> Maybe Bool
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
[$sel:aquaConfiguration:Cluster'] :: Cluster -> Maybe AquaConfiguration
-- | The number of days that automatic cluster snapshots are retained.
[$sel:automatedSnapshotRetentionPeriod:Cluster'] :: Cluster -> Maybe Int
-- | The name of the Availability Zone in which the cluster is located.
[$sel:availabilityZone:Cluster'] :: Cluster -> Maybe Text
-- | Describes the status of the Availability Zone relocation operation.
[$sel:availabilityZoneRelocationStatus:Cluster'] :: Cluster -> Maybe Text
-- | The availability status of the cluster for queries. Possible values
-- are the following:
--
--
-- - Available - The cluster is available for queries.
-- - Unavailable - The cluster is not available for queries.
-- - Maintenance - The cluster is intermittently available for queries
-- due to maintenance activities.
-- - Modifying - The cluster is intermittently available for queries
-- due to changes that modify the cluster.
-- - Failed - The cluster failed and is not available for queries.
--
[$sel:clusterAvailabilityStatus:Cluster'] :: Cluster -> Maybe Text
-- | The date and time that the cluster was created.
[$sel:clusterCreateTime:Cluster'] :: Cluster -> Maybe ISO8601
-- | The unique identifier of the cluster.
[$sel:clusterIdentifier:Cluster'] :: Cluster -> Maybe Text
-- | The namespace Amazon Resource Name (ARN) of the cluster.
[$sel:clusterNamespaceArn:Cluster'] :: Cluster -> Maybe Text
-- | The nodes in the cluster.
[$sel:clusterNodes:Cluster'] :: Cluster -> Maybe [ClusterNode]
-- | The list of cluster parameter groups that are associated with this
-- cluster. Each parameter group in the list is returned with its status.
[$sel:clusterParameterGroups:Cluster'] :: Cluster -> Maybe [ClusterParameterGroupStatus]
-- | The public key for the cluster.
[$sel:clusterPublicKey:Cluster'] :: Cluster -> Maybe Text
-- | The specific revision number of the database in the cluster.
[$sel:clusterRevisionNumber:Cluster'] :: Cluster -> Maybe Text
-- | A list of cluster security group that are associated with the cluster.
-- Each security group is represented by an element that contains
-- ClusterSecurityGroup.Name and
-- ClusterSecurityGroup.Status subelements.
--
-- Cluster security groups are used when the cluster is not created in an
-- Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC
-- use VPC security groups, which are listed by the
-- VpcSecurityGroups parameter.
[$sel:clusterSecurityGroups:Cluster'] :: Cluster -> Maybe [ClusterSecurityGroupMembership]
-- | A value that returns the destination region and retention period that
-- are configured for cross-region snapshot copy.
[$sel:clusterSnapshotCopyStatus:Cluster'] :: Cluster -> Maybe ClusterSnapshotCopyStatus
-- | The current state of the cluster. Possible values are the following:
--
--
-- available
-- available, prep-for-resize
-- available, resize-cleanup
-- cancelling-resize
-- creating
-- deleting
-- final-snapshot
-- hardware-failure
-- incompatible-hsm
-- incompatible-network
-- incompatible-parameters
-- incompatible-restore
-- modifying
-- paused
-- rebooting
-- renaming
-- resizing
-- rotating-keys
-- storage-full
-- updating-hsm
--
[$sel:clusterStatus:Cluster'] :: Cluster -> Maybe Text
-- | The name of the subnet group that is associated with the cluster. This
-- parameter is valid only when the cluster is in a VPC.
[$sel:clusterSubnetGroupName:Cluster'] :: Cluster -> Maybe Text
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
[$sel:clusterVersion:Cluster'] :: Cluster -> Maybe Text
-- | The name of the initial database that was created when the cluster was
-- created. This same name is returned for the life of the cluster. If an
-- initial database was not specified, a database named devdev
-- was created by default.
[$sel:dbName:Cluster'] :: Cluster -> Maybe Text
[$sel:dataTransferProgress:Cluster'] :: Cluster -> Maybe DataTransferProgress
-- | The Amazon Resource Name (ARN) for the IAM role set as default for the
-- cluster.
[$sel:defaultIamRoleArn:Cluster'] :: Cluster -> Maybe Text
-- | Describes a group of DeferredMaintenanceWindow objects.
[$sel:deferredMaintenanceWindows:Cluster'] :: Cluster -> Maybe [DeferredMaintenanceWindow]
-- | The status of the elastic IP (EIP) address.
[$sel:elasticIpStatus:Cluster'] :: Cluster -> Maybe ElasticIpStatus
-- | The number of nodes that you can resize the cluster to with the
-- elastic resize method.
[$sel:elasticResizeNumberOfNodeOptions:Cluster'] :: Cluster -> Maybe Text
-- | A boolean value that, if true, indicates that data in the
-- cluster is encrypted at rest.
[$sel:encrypted:Cluster'] :: Cluster -> Maybe Bool
-- | The connection endpoint.
[$sel:endpoint:Cluster'] :: Cluster -> Maybe Endpoint
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
[$sel:enhancedVpcRouting:Cluster'] :: Cluster -> Maybe Bool
-- | The date and time when the next snapshot is expected to be taken for
-- clusters with a valid snapshot schedule and backups enabled.
[$sel:expectedNextSnapshotScheduleTime:Cluster'] :: Cluster -> Maybe ISO8601
-- | The status of next expected snapshot for clusters having a valid
-- snapshot schedule and backups enabled. Possible values are the
-- following:
--
--
-- - OnTrack - The next snapshot is expected to be taken on time.
-- - Pending - The next snapshot is pending to be taken.
--
[$sel:expectedNextSnapshotScheduleTimeStatus:Cluster'] :: Cluster -> Maybe Text
-- | A value that reports whether the Amazon Redshift cluster has finished
-- applying any hardware security module (HSM) settings changes specified
-- in a modify cluster command.
--
-- Values: active, applying
[$sel:hsmStatus:Cluster'] :: Cluster -> Maybe HsmStatus
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services.
[$sel:iamRoles:Cluster'] :: Cluster -> Maybe [ClusterIamRole]
-- | The Key Management Service (KMS) key ID of the encryption key used to
-- encrypt data in the cluster.
[$sel:kmsKeyId:Cluster'] :: Cluster -> Maybe Text
-- | The name of the maintenance track for the cluster.
[$sel:maintenanceTrackName:Cluster'] :: Cluster -> Maybe Text
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
[$sel:manualSnapshotRetentionPeriod:Cluster'] :: Cluster -> Maybe Int
-- | The admin user name for the cluster. This name is used to connect to
-- the database that is specified in the DBName parameter.
[$sel:masterUsername:Cluster'] :: Cluster -> Maybe Text
-- | The status of a modify operation, if any, initiated for the cluster.
[$sel:modifyStatus:Cluster'] :: Cluster -> Maybe Text
-- | The date and time in UTC when system maintenance can begin.
[$sel:nextMaintenanceWindowStartTime:Cluster'] :: Cluster -> Maybe ISO8601
-- | The node type for the nodes in the cluster.
[$sel:nodeType:Cluster'] :: Cluster -> Maybe Text
-- | The number of compute nodes in the cluster.
[$sel:numberOfNodes:Cluster'] :: Cluster -> Maybe Int
-- | Cluster operations that are waiting to be started.
[$sel:pendingActions:Cluster'] :: Cluster -> Maybe [Text]
-- | A value that, if present, indicates that changes to the cluster are
-- pending. Specific pending changes are identified by subelements.
[$sel:pendingModifiedValues:Cluster'] :: Cluster -> Maybe PendingModifiedValues
-- | The weekly time range, in Universal Coordinated Time (UTC), during
-- which system maintenance can occur.
[$sel:preferredMaintenanceWindow:Cluster'] :: Cluster -> Maybe Text
-- | A boolean value that, if true, indicates that the cluster can
-- be accessed from a public network.
[$sel:publiclyAccessible:Cluster'] :: Cluster -> Maybe Bool
-- | The status of the reserved-node exchange request. Statuses include
-- in-progress and requested.
[$sel:reservedNodeExchangeStatus:Cluster'] :: Cluster -> Maybe ReservedNodeExchangeStatus
-- | Returns the following:
--
--
-- - AllowCancelResize: a boolean value indicating if the resize
-- operation can be cancelled.
-- - ResizeType: Returns ClassicResize
--
[$sel:resizeInfo:Cluster'] :: Cluster -> Maybe ResizeInfo
-- | A value that describes the status of a cluster restore action. This
-- parameter returns null if the cluster was not created by restoring a
-- snapshot.
[$sel:restoreStatus:Cluster'] :: Cluster -> Maybe RestoreStatus
-- | A unique identifier for the cluster snapshot schedule.
[$sel:snapshotScheduleIdentifier:Cluster'] :: Cluster -> Maybe Text
-- | The current state of the cluster snapshot schedule.
[$sel:snapshotScheduleState:Cluster'] :: Cluster -> Maybe ScheduleState
-- | The list of tags for the cluster.
[$sel:tags:Cluster'] :: Cluster -> Maybe [Tag]
-- | The total storage capacity of the cluster in megabytes.
[$sel:totalStorageCapacityInMegaBytes:Cluster'] :: Cluster -> Maybe Integer
-- | The identifier of the VPC the cluster is in, if the cluster is in a
-- VPC.
[$sel:vpcId:Cluster'] :: Cluster -> Maybe Text
-- | A list of Amazon Virtual Private Cloud (Amazon VPC) security groups
-- that are associated with the cluster. This parameter is returned only
-- if the cluster is in a VPC.
[$sel:vpcSecurityGroups:Cluster'] :: Cluster -> Maybe [VpcSecurityGroupMembership]
-- | Create a value of Cluster 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:allowVersionUpgrade:Cluster',
-- cluster_allowVersionUpgrade - A boolean value that, if
-- true, indicates that major version upgrades will be applied
-- automatically to the cluster during the maintenance window.
--
-- $sel:aquaConfiguration:Cluster',
-- cluster_aquaConfiguration - This field is retired. Amazon
-- Redshift automatically determines whether to use AQUA (Advanced Query
-- Accelerator).
--
-- Cluster, cluster_automatedSnapshotRetentionPeriod - The
-- number of days that automatic cluster snapshots are retained.
--
-- $sel:availabilityZone:Cluster', cluster_availabilityZone
-- - The name of the Availability Zone in which the cluster is located.
--
-- $sel:availabilityZoneRelocationStatus:Cluster',
-- cluster_availabilityZoneRelocationStatus - Describes the status
-- of the Availability Zone relocation operation.
--
-- $sel:clusterAvailabilityStatus:Cluster',
-- cluster_clusterAvailabilityStatus - The availability status of
-- the cluster for queries. Possible values are the following:
--
--
-- - Available - The cluster is available for queries.
-- - Unavailable - The cluster is not available for queries.
-- - Maintenance - The cluster is intermittently available for queries
-- due to maintenance activities.
-- - Modifying - The cluster is intermittently available for queries
-- due to changes that modify the cluster.
-- - Failed - The cluster failed and is not available for queries.
--
--
-- $sel:clusterCreateTime:Cluster',
-- cluster_clusterCreateTime - The date and time that the cluster
-- was created.
--
-- Cluster, cluster_clusterIdentifier - The unique
-- identifier of the cluster.
--
-- $sel:clusterNamespaceArn:Cluster',
-- cluster_clusterNamespaceArn - The namespace Amazon Resource
-- Name (ARN) of the cluster.
--
-- $sel:clusterNodes:Cluster', cluster_clusterNodes - The
-- nodes in the cluster.
--
-- $sel:clusterParameterGroups:Cluster',
-- cluster_clusterParameterGroups - The list of cluster parameter
-- groups that are associated with this cluster. Each parameter group in
-- the list is returned with its status.
--
-- $sel:clusterPublicKey:Cluster', cluster_clusterPublicKey
-- - The public key for the cluster.
--
-- $sel:clusterRevisionNumber:Cluster',
-- cluster_clusterRevisionNumber - The specific revision number of
-- the database in the cluster.
--
-- $sel:clusterSecurityGroups:Cluster',
-- cluster_clusterSecurityGroups - A list of cluster security
-- group that are associated with the cluster. Each security group is
-- represented by an element that contains
-- ClusterSecurityGroup.Name and
-- ClusterSecurityGroup.Status subelements.
--
-- Cluster security groups are used when the cluster is not created in an
-- Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC
-- use VPC security groups, which are listed by the
-- VpcSecurityGroups parameter.
--
-- $sel:clusterSnapshotCopyStatus:Cluster',
-- cluster_clusterSnapshotCopyStatus - A value that returns the
-- destination region and retention period that are configured for
-- cross-region snapshot copy.
--
-- $sel:clusterStatus:Cluster', cluster_clusterStatus - The
-- current state of the cluster. Possible values are the following:
--
--
-- available
-- available, prep-for-resize
-- available, resize-cleanup
-- cancelling-resize
-- creating
-- deleting
-- final-snapshot
-- hardware-failure
-- incompatible-hsm
-- incompatible-network
-- incompatible-parameters
-- incompatible-restore
-- modifying
-- paused
-- rebooting
-- renaming
-- resizing
-- rotating-keys
-- storage-full
-- updating-hsm
--
--
-- $sel:clusterSubnetGroupName:Cluster',
-- cluster_clusterSubnetGroupName - The name of the subnet group
-- that is associated with the cluster. This parameter is valid only when
-- the cluster is in a VPC.
--
-- Cluster, cluster_clusterVersion - The version ID of the
-- Amazon Redshift engine that is running on the cluster.
--
-- $sel:dbName:Cluster', cluster_dbName - The name of the
-- initial database that was created when the cluster was created. This
-- same name is returned for the life of the cluster. If an initial
-- database was not specified, a database named devdev was
-- created by default.
--
-- $sel:dataTransferProgress:Cluster',
-- cluster_dataTransferProgress -
--
-- $sel:defaultIamRoleArn:Cluster',
-- cluster_defaultIamRoleArn - The Amazon Resource Name (ARN) for
-- the IAM role set as default for the cluster.
--
-- $sel:deferredMaintenanceWindows:Cluster',
-- cluster_deferredMaintenanceWindows - Describes a group of
-- DeferredMaintenanceWindow objects.
--
-- $sel:elasticIpStatus:Cluster', cluster_elasticIpStatus -
-- The status of the elastic IP (EIP) address.
--
-- $sel:elasticResizeNumberOfNodeOptions:Cluster',
-- cluster_elasticResizeNumberOfNodeOptions - The number of nodes
-- that you can resize the cluster to with the elastic resize method.
--
-- $sel:encrypted:Cluster', cluster_encrypted - A boolean
-- value that, if true, indicates that data in the cluster is
-- encrypted at rest.
--
-- $sel:endpoint:Cluster', cluster_endpoint - The
-- connection endpoint.
--
-- Cluster, cluster_enhancedVpcRouting - An option that
-- specifies whether to create the cluster with enhanced VPC routing
-- enabled. To create a cluster that uses enhanced VPC routing, the
-- cluster must be in a VPC. For more information, see Enhanced VPC
-- Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- $sel:expectedNextSnapshotScheduleTime:Cluster',
-- cluster_expectedNextSnapshotScheduleTime - The date and time
-- when the next snapshot is expected to be taken for clusters with a
-- valid snapshot schedule and backups enabled.
--
-- $sel:expectedNextSnapshotScheduleTimeStatus:Cluster',
-- cluster_expectedNextSnapshotScheduleTimeStatus - The status of
-- next expected snapshot for clusters having a valid snapshot schedule
-- and backups enabled. Possible values are the following:
--
--
-- - OnTrack - The next snapshot is expected to be taken on time.
-- - Pending - The next snapshot is pending to be taken.
--
--
-- $sel:hsmStatus:Cluster', cluster_hsmStatus - A value
-- that reports whether the Amazon Redshift cluster has finished applying
-- any hardware security module (HSM) settings changes specified in a
-- modify cluster command.
--
-- Values: active, applying
--
-- $sel:iamRoles:Cluster', cluster_iamRoles - A list of
-- Identity and Access Management (IAM) roles that can be used by the
-- cluster to access other Amazon Web Services services.
--
-- $sel:kmsKeyId:Cluster', cluster_kmsKeyId - The Key
-- Management Service (KMS) key ID of the encryption key used to encrypt
-- data in the cluster.
--
-- Cluster, cluster_maintenanceTrackName - The name of the
-- maintenance track for the cluster.
--
-- Cluster, cluster_manualSnapshotRetentionPeriod - The
-- default number of days to retain a manual snapshot. If the value is
-- -1, the snapshot is retained indefinitely. This setting doesn't change
-- the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- $sel:masterUsername:Cluster', cluster_masterUsername -
-- The admin user name for the cluster. This name is used to connect to
-- the database that is specified in the DBName parameter.
--
-- $sel:modifyStatus:Cluster', cluster_modifyStatus - The
-- status of a modify operation, if any, initiated for the cluster.
--
-- $sel:nextMaintenanceWindowStartTime:Cluster',
-- cluster_nextMaintenanceWindowStartTime - The date and time in
-- UTC when system maintenance can begin.
--
-- Cluster, cluster_nodeType - The node type for the nodes
-- in the cluster.
--
-- Cluster, cluster_numberOfNodes - The number of compute
-- nodes in the cluster.
--
-- $sel:pendingActions:Cluster', cluster_pendingActions -
-- Cluster operations that are waiting to be started.
--
-- $sel:pendingModifiedValues:Cluster',
-- cluster_pendingModifiedValues - A value that, if present,
-- indicates that changes to the cluster are pending. Specific pending
-- changes are identified by subelements.
--
-- $sel:preferredMaintenanceWindow:Cluster',
-- cluster_preferredMaintenanceWindow - The weekly time range, in
-- Universal Coordinated Time (UTC), during which system maintenance can
-- occur.
--
-- Cluster, cluster_publiclyAccessible - A boolean value
-- that, if true, indicates that the cluster can be accessed
-- from a public network.
--
-- $sel:reservedNodeExchangeStatus:Cluster',
-- cluster_reservedNodeExchangeStatus - The status of the
-- reserved-node exchange request. Statuses include in-progress and
-- requested.
--
-- $sel:resizeInfo:Cluster', cluster_resizeInfo - Returns
-- the following:
--
--
-- - AllowCancelResize: a boolean value indicating if the resize
-- operation can be cancelled.
-- - ResizeType: Returns ClassicResize
--
--
-- $sel:restoreStatus:Cluster', cluster_restoreStatus - A
-- value that describes the status of a cluster restore action. This
-- parameter returns null if the cluster was not created by restoring a
-- snapshot.
--
-- $sel:snapshotScheduleIdentifier:Cluster',
-- cluster_snapshotScheduleIdentifier - A unique identifier for
-- the cluster snapshot schedule.
--
-- $sel:snapshotScheduleState:Cluster',
-- cluster_snapshotScheduleState - The current state of the
-- cluster snapshot schedule.
--
-- $sel:tags:Cluster', cluster_tags - The list of tags for
-- the cluster.
--
-- $sel:totalStorageCapacityInMegaBytes:Cluster',
-- cluster_totalStorageCapacityInMegaBytes - The total storage
-- capacity of the cluster in megabytes.
--
-- $sel:vpcId:Cluster', cluster_vpcId - The identifier of
-- the VPC the cluster is in, if the cluster is in a VPC.
--
-- $sel:vpcSecurityGroups:Cluster',
-- cluster_vpcSecurityGroups - A list of Amazon Virtual Private
-- Cloud (Amazon VPC) security groups that are associated with the
-- cluster. This parameter is returned only if the cluster is in a VPC.
newCluster :: Cluster
-- | A boolean value that, if true, indicates that major version
-- upgrades will be applied automatically to the cluster during the
-- maintenance window.
cluster_allowVersionUpgrade :: Lens' Cluster (Maybe Bool)
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
cluster_aquaConfiguration :: Lens' Cluster (Maybe AquaConfiguration)
-- | The number of days that automatic cluster snapshots are retained.
cluster_automatedSnapshotRetentionPeriod :: Lens' Cluster (Maybe Int)
-- | The name of the Availability Zone in which the cluster is located.
cluster_availabilityZone :: Lens' Cluster (Maybe Text)
-- | Describes the status of the Availability Zone relocation operation.
cluster_availabilityZoneRelocationStatus :: Lens' Cluster (Maybe Text)
-- | The availability status of the cluster for queries. Possible values
-- are the following:
--
--
-- - Available - The cluster is available for queries.
-- - Unavailable - The cluster is not available for queries.
-- - Maintenance - The cluster is intermittently available for queries
-- due to maintenance activities.
-- - Modifying - The cluster is intermittently available for queries
-- due to changes that modify the cluster.
-- - Failed - The cluster failed and is not available for queries.
--
cluster_clusterAvailabilityStatus :: Lens' Cluster (Maybe Text)
-- | The date and time that the cluster was created.
cluster_clusterCreateTime :: Lens' Cluster (Maybe UTCTime)
-- | The unique identifier of the cluster.
cluster_clusterIdentifier :: Lens' Cluster (Maybe Text)
-- | The namespace Amazon Resource Name (ARN) of the cluster.
cluster_clusterNamespaceArn :: Lens' Cluster (Maybe Text)
-- | The nodes in the cluster.
cluster_clusterNodes :: Lens' Cluster (Maybe [ClusterNode])
-- | The list of cluster parameter groups that are associated with this
-- cluster. Each parameter group in the list is returned with its status.
cluster_clusterParameterGroups :: Lens' Cluster (Maybe [ClusterParameterGroupStatus])
-- | The public key for the cluster.
cluster_clusterPublicKey :: Lens' Cluster (Maybe Text)
-- | The specific revision number of the database in the cluster.
cluster_clusterRevisionNumber :: Lens' Cluster (Maybe Text)
-- | A list of cluster security group that are associated with the cluster.
-- Each security group is represented by an element that contains
-- ClusterSecurityGroup.Name and
-- ClusterSecurityGroup.Status subelements.
--
-- Cluster security groups are used when the cluster is not created in an
-- Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC
-- use VPC security groups, which are listed by the
-- VpcSecurityGroups parameter.
cluster_clusterSecurityGroups :: Lens' Cluster (Maybe [ClusterSecurityGroupMembership])
-- | A value that returns the destination region and retention period that
-- are configured for cross-region snapshot copy.
cluster_clusterSnapshotCopyStatus :: Lens' Cluster (Maybe ClusterSnapshotCopyStatus)
-- | The current state of the cluster. Possible values are the following:
--
--
-- available
-- available, prep-for-resize
-- available, resize-cleanup
-- cancelling-resize
-- creating
-- deleting
-- final-snapshot
-- hardware-failure
-- incompatible-hsm
-- incompatible-network
-- incompatible-parameters
-- incompatible-restore
-- modifying
-- paused
-- rebooting
-- renaming
-- resizing
-- rotating-keys
-- storage-full
-- updating-hsm
--
cluster_clusterStatus :: Lens' Cluster (Maybe Text)
-- | The name of the subnet group that is associated with the cluster. This
-- parameter is valid only when the cluster is in a VPC.
cluster_clusterSubnetGroupName :: Lens' Cluster (Maybe Text)
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
cluster_clusterVersion :: Lens' Cluster (Maybe Text)
-- | The name of the initial database that was created when the cluster was
-- created. This same name is returned for the life of the cluster. If an
-- initial database was not specified, a database named devdev
-- was created by default.
cluster_dbName :: Lens' Cluster (Maybe Text)
cluster_dataTransferProgress :: Lens' Cluster (Maybe DataTransferProgress)
-- | The Amazon Resource Name (ARN) for the IAM role set as default for the
-- cluster.
cluster_defaultIamRoleArn :: Lens' Cluster (Maybe Text)
-- | Describes a group of DeferredMaintenanceWindow objects.
cluster_deferredMaintenanceWindows :: Lens' Cluster (Maybe [DeferredMaintenanceWindow])
-- | The status of the elastic IP (EIP) address.
cluster_elasticIpStatus :: Lens' Cluster (Maybe ElasticIpStatus)
-- | The number of nodes that you can resize the cluster to with the
-- elastic resize method.
cluster_elasticResizeNumberOfNodeOptions :: Lens' Cluster (Maybe Text)
-- | A boolean value that, if true, indicates that data in the
-- cluster is encrypted at rest.
cluster_encrypted :: Lens' Cluster (Maybe Bool)
-- | The connection endpoint.
cluster_endpoint :: Lens' Cluster (Maybe Endpoint)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
cluster_enhancedVpcRouting :: Lens' Cluster (Maybe Bool)
-- | The date and time when the next snapshot is expected to be taken for
-- clusters with a valid snapshot schedule and backups enabled.
cluster_expectedNextSnapshotScheduleTime :: Lens' Cluster (Maybe UTCTime)
-- | The status of next expected snapshot for clusters having a valid
-- snapshot schedule and backups enabled. Possible values are the
-- following:
--
--
-- - OnTrack - The next snapshot is expected to be taken on time.
-- - Pending - The next snapshot is pending to be taken.
--
cluster_expectedNextSnapshotScheduleTimeStatus :: Lens' Cluster (Maybe Text)
-- | A value that reports whether the Amazon Redshift cluster has finished
-- applying any hardware security module (HSM) settings changes specified
-- in a modify cluster command.
--
-- Values: active, applying
cluster_hsmStatus :: Lens' Cluster (Maybe HsmStatus)
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services.
cluster_iamRoles :: Lens' Cluster (Maybe [ClusterIamRole])
-- | The Key Management Service (KMS) key ID of the encryption key used to
-- encrypt data in the cluster.
cluster_kmsKeyId :: Lens' Cluster (Maybe Text)
-- | The name of the maintenance track for the cluster.
cluster_maintenanceTrackName :: Lens' Cluster (Maybe Text)
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
cluster_manualSnapshotRetentionPeriod :: Lens' Cluster (Maybe Int)
-- | The admin user name for the cluster. This name is used to connect to
-- the database that is specified in the DBName parameter.
cluster_masterUsername :: Lens' Cluster (Maybe Text)
-- | The status of a modify operation, if any, initiated for the cluster.
cluster_modifyStatus :: Lens' Cluster (Maybe Text)
-- | The date and time in UTC when system maintenance can begin.
cluster_nextMaintenanceWindowStartTime :: Lens' Cluster (Maybe UTCTime)
-- | The node type for the nodes in the cluster.
cluster_nodeType :: Lens' Cluster (Maybe Text)
-- | The number of compute nodes in the cluster.
cluster_numberOfNodes :: Lens' Cluster (Maybe Int)
-- | Cluster operations that are waiting to be started.
cluster_pendingActions :: Lens' Cluster (Maybe [Text])
-- | A value that, if present, indicates that changes to the cluster are
-- pending. Specific pending changes are identified by subelements.
cluster_pendingModifiedValues :: Lens' Cluster (Maybe PendingModifiedValues)
-- | The weekly time range, in Universal Coordinated Time (UTC), during
-- which system maintenance can occur.
cluster_preferredMaintenanceWindow :: Lens' Cluster (Maybe Text)
-- | A boolean value that, if true, indicates that the cluster can
-- be accessed from a public network.
cluster_publiclyAccessible :: Lens' Cluster (Maybe Bool)
-- | The status of the reserved-node exchange request. Statuses include
-- in-progress and requested.
cluster_reservedNodeExchangeStatus :: Lens' Cluster (Maybe ReservedNodeExchangeStatus)
-- | Returns the following:
--
--
-- - AllowCancelResize: a boolean value indicating if the resize
-- operation can be cancelled.
-- - ResizeType: Returns ClassicResize
--
cluster_resizeInfo :: Lens' Cluster (Maybe ResizeInfo)
-- | A value that describes the status of a cluster restore action. This
-- parameter returns null if the cluster was not created by restoring a
-- snapshot.
cluster_restoreStatus :: Lens' Cluster (Maybe RestoreStatus)
-- | A unique identifier for the cluster snapshot schedule.
cluster_snapshotScheduleIdentifier :: Lens' Cluster (Maybe Text)
-- | The current state of the cluster snapshot schedule.
cluster_snapshotScheduleState :: Lens' Cluster (Maybe ScheduleState)
-- | The list of tags for the cluster.
cluster_tags :: Lens' Cluster (Maybe [Tag])
-- | The total storage capacity of the cluster in megabytes.
cluster_totalStorageCapacityInMegaBytes :: Lens' Cluster (Maybe Integer)
-- | The identifier of the VPC the cluster is in, if the cluster is in a
-- VPC.
cluster_vpcId :: Lens' Cluster (Maybe Text)
-- | A list of Amazon Virtual Private Cloud (Amazon VPC) security groups
-- that are associated with the cluster. This parameter is returned only
-- if the cluster is in a VPC.
cluster_vpcSecurityGroups :: Lens' Cluster (Maybe [VpcSecurityGroupMembership])
-- | See: newClusterAssociatedToSchedule smart constructor.
data ClusterAssociatedToSchedule
ClusterAssociatedToSchedule' :: Maybe Text -> Maybe ScheduleState -> ClusterAssociatedToSchedule
[$sel:clusterIdentifier:ClusterAssociatedToSchedule'] :: ClusterAssociatedToSchedule -> Maybe Text
[$sel:scheduleAssociationState:ClusterAssociatedToSchedule'] :: ClusterAssociatedToSchedule -> Maybe ScheduleState
-- | Create a value of ClusterAssociatedToSchedule 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:clusterIdentifier:ClusterAssociatedToSchedule',
-- clusterAssociatedToSchedule_clusterIdentifier -
--
-- $sel:scheduleAssociationState:ClusterAssociatedToSchedule',
-- clusterAssociatedToSchedule_scheduleAssociationState -
newClusterAssociatedToSchedule :: ClusterAssociatedToSchedule
clusterAssociatedToSchedule_clusterIdentifier :: Lens' ClusterAssociatedToSchedule (Maybe Text)
clusterAssociatedToSchedule_scheduleAssociationState :: Lens' ClusterAssociatedToSchedule (Maybe ScheduleState)
-- | Describes a ClusterDbRevision.
--
-- See: newClusterDbRevision smart constructor.
data ClusterDbRevision
ClusterDbRevision' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe [RevisionTarget] -> ClusterDbRevision
-- | The unique identifier of the cluster.
[$sel:clusterIdentifier:ClusterDbRevision'] :: ClusterDbRevision -> Maybe Text
-- | A string representing the current cluster version.
[$sel:currentDatabaseRevision:ClusterDbRevision'] :: ClusterDbRevision -> Maybe Text
-- | The date on which the database revision was released.
[$sel:databaseRevisionReleaseDate:ClusterDbRevision'] :: ClusterDbRevision -> Maybe ISO8601
-- | A list of RevisionTarget objects, where each object describes
-- the database revision that a cluster can be updated to.
[$sel:revisionTargets:ClusterDbRevision'] :: ClusterDbRevision -> Maybe [RevisionTarget]
-- | Create a value of ClusterDbRevision 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:clusterIdentifier:ClusterDbRevision',
-- clusterDbRevision_clusterIdentifier - The unique identifier of
-- the cluster.
--
-- $sel:currentDatabaseRevision:ClusterDbRevision',
-- clusterDbRevision_currentDatabaseRevision - A string
-- representing the current cluster version.
--
-- ClusterDbRevision,
-- clusterDbRevision_databaseRevisionReleaseDate - The date on
-- which the database revision was released.
--
-- $sel:revisionTargets:ClusterDbRevision',
-- clusterDbRevision_revisionTargets - A list of
-- RevisionTarget objects, where each object describes the
-- database revision that a cluster can be updated to.
newClusterDbRevision :: ClusterDbRevision
-- | The unique identifier of the cluster.
clusterDbRevision_clusterIdentifier :: Lens' ClusterDbRevision (Maybe Text)
-- | A string representing the current cluster version.
clusterDbRevision_currentDatabaseRevision :: Lens' ClusterDbRevision (Maybe Text)
-- | The date on which the database revision was released.
clusterDbRevision_databaseRevisionReleaseDate :: Lens' ClusterDbRevision (Maybe UTCTime)
-- | A list of RevisionTarget objects, where each object describes
-- the database revision that a cluster can be updated to.
clusterDbRevision_revisionTargets :: Lens' ClusterDbRevision (Maybe [RevisionTarget])
-- | An Identity and Access Management (IAM) role that can be used by the
-- associated Amazon Redshift cluster to access other Amazon Web Services
-- services.
--
-- See: newClusterIamRole smart constructor.
data ClusterIamRole
ClusterIamRole' :: Maybe Text -> Maybe Text -> ClusterIamRole
-- | A value that describes the status of the IAM role's association with
-- an Amazon Redshift cluster.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The role is available for use by the
-- cluster.
-- - adding: The role is in the process of being associated
-- with the cluster.
-- - removing: The role is in the process of being
-- disassociated with the cluster.
--
[$sel:applyStatus:ClusterIamRole'] :: ClusterIamRole -> Maybe Text
-- | The Amazon Resource Name (ARN) of the IAM role, for example,
-- arn:aws:iam::123456789012:role/RedshiftCopyUnload.
[$sel:iamRoleArn:ClusterIamRole'] :: ClusterIamRole -> Maybe Text
-- | Create a value of ClusterIamRole 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:applyStatus:ClusterIamRole',
-- clusterIamRole_applyStatus - A value that describes the status
-- of the IAM role's association with an Amazon Redshift cluster.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The role is available for use by the
-- cluster.
-- - adding: The role is in the process of being associated
-- with the cluster.
-- - removing: The role is in the process of being
-- disassociated with the cluster.
--
--
-- $sel:iamRoleArn:ClusterIamRole',
-- clusterIamRole_iamRoleArn - The Amazon Resource Name (ARN) of
-- the IAM role, for example,
-- arn:aws:iam::123456789012:role/RedshiftCopyUnload.
newClusterIamRole :: ClusterIamRole
-- | A value that describes the status of the IAM role's association with
-- an Amazon Redshift cluster.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The role is available for use by the
-- cluster.
-- - adding: The role is in the process of being associated
-- with the cluster.
-- - removing: The role is in the process of being
-- disassociated with the cluster.
--
clusterIamRole_applyStatus :: Lens' ClusterIamRole (Maybe Text)
-- | The Amazon Resource Name (ARN) of the IAM role, for example,
-- arn:aws:iam::123456789012:role/RedshiftCopyUnload.
clusterIamRole_iamRoleArn :: Lens' ClusterIamRole (Maybe Text)
-- | The identifier of a node in a cluster.
--
-- See: newClusterNode smart constructor.
data ClusterNode
ClusterNode' :: Maybe Text -> Maybe Text -> Maybe Text -> ClusterNode
-- | Whether the node is a leader node or a compute node.
[$sel:nodeRole:ClusterNode'] :: ClusterNode -> Maybe Text
-- | The private IP address of a node within a cluster.
[$sel:privateIPAddress:ClusterNode'] :: ClusterNode -> Maybe Text
-- | The public IP address of a node within a cluster.
[$sel:publicIPAddress:ClusterNode'] :: ClusterNode -> Maybe Text
-- | Create a value of ClusterNode 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:nodeRole:ClusterNode', clusterNode_nodeRole -
-- Whether the node is a leader node or a compute node.
--
-- $sel:privateIPAddress:ClusterNode',
-- clusterNode_privateIPAddress - The private IP address of a node
-- within a cluster.
--
-- $sel:publicIPAddress:ClusterNode',
-- clusterNode_publicIPAddress - The public IP address of a node
-- within a cluster.
newClusterNode :: ClusterNode
-- | Whether the node is a leader node or a compute node.
clusterNode_nodeRole :: Lens' ClusterNode (Maybe Text)
-- | The private IP address of a node within a cluster.
clusterNode_privateIPAddress :: Lens' ClusterNode (Maybe Text)
-- | The public IP address of a node within a cluster.
clusterNode_publicIPAddress :: Lens' ClusterNode (Maybe Text)
-- | Describes a parameter group.
--
-- See: newClusterParameterGroup smart constructor.
data ClusterParameterGroup
ClusterParameterGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> ClusterParameterGroup
-- | The description of the parameter group.
[$sel:description:ClusterParameterGroup'] :: ClusterParameterGroup -> Maybe Text
-- | The name of the cluster parameter group family that this cluster
-- parameter group is compatible with.
[$sel:parameterGroupFamily:ClusterParameterGroup'] :: ClusterParameterGroup -> Maybe Text
-- | The name of the cluster parameter group.
[$sel:parameterGroupName:ClusterParameterGroup'] :: ClusterParameterGroup -> Maybe Text
-- | The list of tags for the cluster parameter group.
[$sel:tags:ClusterParameterGroup'] :: ClusterParameterGroup -> Maybe [Tag]
-- | Create a value of ClusterParameterGroup 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:description:ClusterParameterGroup',
-- clusterParameterGroup_description - The description of the
-- parameter group.
--
-- $sel:parameterGroupFamily:ClusterParameterGroup',
-- clusterParameterGroup_parameterGroupFamily - The name of the
-- cluster parameter group family that this cluster parameter group is
-- compatible with.
--
-- $sel:parameterGroupName:ClusterParameterGroup',
-- clusterParameterGroup_parameterGroupName - The name of the
-- cluster parameter group.
--
-- $sel:tags:ClusterParameterGroup',
-- clusterParameterGroup_tags - The list of tags for the cluster
-- parameter group.
newClusterParameterGroup :: ClusterParameterGroup
-- | The description of the parameter group.
clusterParameterGroup_description :: Lens' ClusterParameterGroup (Maybe Text)
-- | The name of the cluster parameter group family that this cluster
-- parameter group is compatible with.
clusterParameterGroup_parameterGroupFamily :: Lens' ClusterParameterGroup (Maybe Text)
-- | The name of the cluster parameter group.
clusterParameterGroup_parameterGroupName :: Lens' ClusterParameterGroup (Maybe Text)
-- | The list of tags for the cluster parameter group.
clusterParameterGroup_tags :: Lens' ClusterParameterGroup (Maybe [Tag])
-- | See: newClusterParameterGroupNameMessage smart
-- constructor.
data ClusterParameterGroupNameMessage
ClusterParameterGroupNameMessage' :: Maybe Text -> Maybe Text -> ClusterParameterGroupNameMessage
-- | The name of the cluster parameter group.
[$sel:parameterGroupName:ClusterParameterGroupNameMessage'] :: ClusterParameterGroupNameMessage -> Maybe Text
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
[$sel:parameterGroupStatus:ClusterParameterGroupNameMessage'] :: ClusterParameterGroupNameMessage -> Maybe Text
-- | Create a value of ClusterParameterGroupNameMessage 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:parameterGroupName:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupName - The name
-- of the cluster parameter group.
--
-- $sel:parameterGroupStatus:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupStatus - The
-- status of the parameter group. For example, if you made a change to a
-- parameter group name-value pair, then the change could be pending a
-- reboot of an associated cluster.
newClusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | The name of the cluster parameter group.
clusterParameterGroupNameMessage_parameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
clusterParameterGroupNameMessage_parameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | Describes the status of a parameter group.
--
-- See: newClusterParameterGroupStatus smart constructor.
data ClusterParameterGroupStatus
ClusterParameterGroupStatus' :: Maybe [ClusterParameterStatus] -> Maybe Text -> Maybe Text -> ClusterParameterGroupStatus
-- | The list of parameter statuses.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
[$sel:clusterParameterStatusList:ClusterParameterGroupStatus'] :: ClusterParameterGroupStatus -> Maybe [ClusterParameterStatus]
-- | The status of parameter updates.
[$sel:parameterApplyStatus:ClusterParameterGroupStatus'] :: ClusterParameterGroupStatus -> Maybe Text
-- | The name of the cluster parameter group.
[$sel:parameterGroupName:ClusterParameterGroupStatus'] :: ClusterParameterGroupStatus -> Maybe Text
-- | Create a value of ClusterParameterGroupStatus 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:clusterParameterStatusList:ClusterParameterGroupStatus',
-- clusterParameterGroupStatus_clusterParameterStatusList - The
-- list of parameter statuses.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
--
-- ClusterParameterGroupStatus,
-- clusterParameterGroupStatus_parameterApplyStatus - The status
-- of parameter updates.
--
-- $sel:parameterGroupName:ClusterParameterGroupStatus',
-- clusterParameterGroupStatus_parameterGroupName - The name of
-- the cluster parameter group.
newClusterParameterGroupStatus :: ClusterParameterGroupStatus
-- | The list of parameter statuses.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
clusterParameterGroupStatus_clusterParameterStatusList :: Lens' ClusterParameterGroupStatus (Maybe [ClusterParameterStatus])
-- | The status of parameter updates.
clusterParameterGroupStatus_parameterApplyStatus :: Lens' ClusterParameterGroupStatus (Maybe Text)
-- | The name of the cluster parameter group.
clusterParameterGroupStatus_parameterGroupName :: Lens' ClusterParameterGroupStatus (Maybe Text)
-- | Describes the status of a parameter group.
--
-- See: newClusterParameterStatus smart constructor.
data ClusterParameterStatus
ClusterParameterStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> ClusterParameterStatus
-- | The error that prevented the parameter from being applied to the
-- database.
[$sel:parameterApplyErrorDescription:ClusterParameterStatus'] :: ClusterParameterStatus -> Maybe Text
-- | The status of the parameter that indicates whether the parameter is in
-- sync with the database, waiting for a cluster reboot, or encountered
-- an error when being applied.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The parameter value is in sync with the
-- database.
-- - pending-reboot: The parameter value will be applied after
-- the cluster reboots.
-- - applying: The parameter value is being applied to the
-- database.
-- - invalid-parameter: Cannot apply the parameter value
-- because it has an invalid value or syntax.
-- - apply-deferred: The parameter contains static property
-- changes. The changes are deferred until the cluster reboots.
-- - apply-error: Cannot connect to the cluster. The parameter
-- change will be applied after the cluster reboots.
-- - unknown-error: Cannot apply the parameter change right
-- now. The change will be applied after the cluster reboots.
--
[$sel:parameterApplyStatus:ClusterParameterStatus'] :: ClusterParameterStatus -> Maybe Text
-- | The name of the parameter.
[$sel:parameterName:ClusterParameterStatus'] :: ClusterParameterStatus -> Maybe Text
-- | Create a value of ClusterParameterStatus 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:parameterApplyErrorDescription:ClusterParameterStatus',
-- clusterParameterStatus_parameterApplyErrorDescription - The
-- error that prevented the parameter from being applied to the database.
--
-- $sel:parameterApplyStatus:ClusterParameterStatus',
-- clusterParameterStatus_parameterApplyStatus - The status of the
-- parameter that indicates whether the parameter is in sync with the
-- database, waiting for a cluster reboot, or encountered an error when
-- being applied.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The parameter value is in sync with the
-- database.
-- - pending-reboot: The parameter value will be applied after
-- the cluster reboots.
-- - applying: The parameter value is being applied to the
-- database.
-- - invalid-parameter: Cannot apply the parameter value
-- because it has an invalid value or syntax.
-- - apply-deferred: The parameter contains static property
-- changes. The changes are deferred until the cluster reboots.
-- - apply-error: Cannot connect to the cluster. The parameter
-- change will be applied after the cluster reboots.
-- - unknown-error: Cannot apply the parameter change right
-- now. The change will be applied after the cluster reboots.
--
--
-- $sel:parameterName:ClusterParameterStatus',
-- clusterParameterStatus_parameterName - The name of the
-- parameter.
newClusterParameterStatus :: ClusterParameterStatus
-- | The error that prevented the parameter from being applied to the
-- database.
clusterParameterStatus_parameterApplyErrorDescription :: Lens' ClusterParameterStatus (Maybe Text)
-- | The status of the parameter that indicates whether the parameter is in
-- sync with the database, waiting for a cluster reboot, or encountered
-- an error when being applied.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The parameter value is in sync with the
-- database.
-- - pending-reboot: The parameter value will be applied after
-- the cluster reboots.
-- - applying: The parameter value is being applied to the
-- database.
-- - invalid-parameter: Cannot apply the parameter value
-- because it has an invalid value or syntax.
-- - apply-deferred: The parameter contains static property
-- changes. The changes are deferred until the cluster reboots.
-- - apply-error: Cannot connect to the cluster. The parameter
-- change will be applied after the cluster reboots.
-- - unknown-error: Cannot apply the parameter change right
-- now. The change will be applied after the cluster reboots.
--
clusterParameterStatus_parameterApplyStatus :: Lens' ClusterParameterStatus (Maybe Text)
-- | The name of the parameter.
clusterParameterStatus_parameterName :: Lens' ClusterParameterStatus (Maybe Text)
-- | Describes a security group.
--
-- See: newClusterSecurityGroup smart constructor.
data ClusterSecurityGroup
ClusterSecurityGroup' :: Maybe Text -> Maybe Text -> Maybe [EC2SecurityGroup] -> Maybe [IPRange] -> Maybe [Tag] -> ClusterSecurityGroup
-- | The name of the cluster security group to which the operation was
-- applied.
[$sel:clusterSecurityGroupName:ClusterSecurityGroup'] :: ClusterSecurityGroup -> Maybe Text
-- | A description of the security group.
[$sel:description:ClusterSecurityGroup'] :: ClusterSecurityGroup -> Maybe Text
-- | A list of EC2 security groups that are permitted to access clusters
-- associated with this cluster security group.
[$sel:eC2SecurityGroups:ClusterSecurityGroup'] :: ClusterSecurityGroup -> Maybe [EC2SecurityGroup]
-- | A list of IP ranges (CIDR blocks) that are permitted to access
-- clusters associated with this cluster security group.
[$sel:iPRanges:ClusterSecurityGroup'] :: ClusterSecurityGroup -> Maybe [IPRange]
-- | The list of tags for the cluster security group.
[$sel:tags:ClusterSecurityGroup'] :: ClusterSecurityGroup -> Maybe [Tag]
-- | Create a value of ClusterSecurityGroup 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:clusterSecurityGroupName:ClusterSecurityGroup',
-- clusterSecurityGroup_clusterSecurityGroupName - The name of the
-- cluster security group to which the operation was applied.
--
-- $sel:description:ClusterSecurityGroup',
-- clusterSecurityGroup_description - A description of the
-- security group.
--
-- $sel:eC2SecurityGroups:ClusterSecurityGroup',
-- clusterSecurityGroup_eC2SecurityGroups - A list of EC2 security
-- groups that are permitted to access clusters associated with this
-- cluster security group.
--
-- $sel:iPRanges:ClusterSecurityGroup',
-- clusterSecurityGroup_iPRanges - A list of IP ranges (CIDR
-- blocks) that are permitted to access clusters associated with this
-- cluster security group.
--
-- ClusterSecurityGroup, clusterSecurityGroup_tags - The
-- list of tags for the cluster security group.
newClusterSecurityGroup :: ClusterSecurityGroup
-- | The name of the cluster security group to which the operation was
-- applied.
clusterSecurityGroup_clusterSecurityGroupName :: Lens' ClusterSecurityGroup (Maybe Text)
-- | A description of the security group.
clusterSecurityGroup_description :: Lens' ClusterSecurityGroup (Maybe Text)
-- | A list of EC2 security groups that are permitted to access clusters
-- associated with this cluster security group.
clusterSecurityGroup_eC2SecurityGroups :: Lens' ClusterSecurityGroup (Maybe [EC2SecurityGroup])
-- | A list of IP ranges (CIDR blocks) that are permitted to access
-- clusters associated with this cluster security group.
clusterSecurityGroup_iPRanges :: Lens' ClusterSecurityGroup (Maybe [IPRange])
-- | The list of tags for the cluster security group.
clusterSecurityGroup_tags :: Lens' ClusterSecurityGroup (Maybe [Tag])
-- | Describes a cluster security group.
--
-- See: newClusterSecurityGroupMembership smart
-- constructor.
data ClusterSecurityGroupMembership
ClusterSecurityGroupMembership' :: Maybe Text -> Maybe Text -> ClusterSecurityGroupMembership
-- | The name of the cluster security group.
[$sel:clusterSecurityGroupName:ClusterSecurityGroupMembership'] :: ClusterSecurityGroupMembership -> Maybe Text
-- | The status of the cluster security group.
[$sel:status:ClusterSecurityGroupMembership'] :: ClusterSecurityGroupMembership -> Maybe Text
-- | Create a value of ClusterSecurityGroupMembership 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:clusterSecurityGroupName:ClusterSecurityGroupMembership',
-- clusterSecurityGroupMembership_clusterSecurityGroupName - The
-- name of the cluster security group.
--
-- $sel:status:ClusterSecurityGroupMembership',
-- clusterSecurityGroupMembership_status - The status of the
-- cluster security group.
newClusterSecurityGroupMembership :: ClusterSecurityGroupMembership
-- | The name of the cluster security group.
clusterSecurityGroupMembership_clusterSecurityGroupName :: Lens' ClusterSecurityGroupMembership (Maybe Text)
-- | The status of the cluster security group.
clusterSecurityGroupMembership_status :: Lens' ClusterSecurityGroupMembership (Maybe Text)
-- | Returns the destination region and retention period that are
-- configured for cross-region snapshot copy.
--
-- See: newClusterSnapshotCopyStatus smart constructor.
data ClusterSnapshotCopyStatus
ClusterSnapshotCopyStatus' :: Maybe Text -> Maybe Int -> Maybe Integer -> Maybe Text -> ClusterSnapshotCopyStatus
-- | The destination region that snapshots are automatically copied to when
-- cross-region snapshot copy is enabled.
[$sel:destinationRegion:ClusterSnapshotCopyStatus'] :: ClusterSnapshotCopyStatus -> Maybe Text
-- | The number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region. If the
-- value is -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
[$sel:manualSnapshotRetentionPeriod:ClusterSnapshotCopyStatus'] :: ClusterSnapshotCopyStatus -> Maybe Int
-- | The number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region.
[$sel:retentionPeriod:ClusterSnapshotCopyStatus'] :: ClusterSnapshotCopyStatus -> Maybe Integer
-- | The name of the snapshot copy grant.
[$sel:snapshotCopyGrantName:ClusterSnapshotCopyStatus'] :: ClusterSnapshotCopyStatus -> Maybe Text
-- | Create a value of ClusterSnapshotCopyStatus 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:destinationRegion:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_destinationRegion - The destination
-- region that snapshots are automatically copied to when cross-region
-- snapshot copy is enabled.
--
-- $sel:manualSnapshotRetentionPeriod:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_manualSnapshotRetentionPeriod - The
-- number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region. If the
-- value is -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- $sel:retentionPeriod:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_retentionPeriod - The number of days
-- that automated snapshots are retained in the destination region after
-- they are copied from a source region.
--
-- $sel:snapshotCopyGrantName:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_snapshotCopyGrantName - The name of
-- the snapshot copy grant.
newClusterSnapshotCopyStatus :: ClusterSnapshotCopyStatus
-- | The destination region that snapshots are automatically copied to when
-- cross-region snapshot copy is enabled.
clusterSnapshotCopyStatus_destinationRegion :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
-- | The number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region. If the
-- value is -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
clusterSnapshotCopyStatus_manualSnapshotRetentionPeriod :: Lens' ClusterSnapshotCopyStatus (Maybe Int)
-- | The number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region.
clusterSnapshotCopyStatus_retentionPeriod :: Lens' ClusterSnapshotCopyStatus (Maybe Integer)
-- | The name of the snapshot copy grant.
clusterSnapshotCopyStatus_snapshotCopyGrantName :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
-- | Describes a subnet group.
--
-- See: newClusterSubnetGroup smart constructor.
data ClusterSubnetGroup
ClusterSubnetGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Subnet] -> Maybe [Tag] -> Maybe Text -> ClusterSubnetGroup
-- | The name of the cluster subnet group.
[$sel:clusterSubnetGroupName:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe Text
-- | The description of the cluster subnet group.
[$sel:description:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe Text
-- | The status of the cluster subnet group. Possible values are
-- Complete, Incomplete and Invalid.
[$sel:subnetGroupStatus:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe Text
-- | A list of the VPC Subnet elements.
[$sel:subnets:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe [Subnet]
-- | The list of tags for the cluster subnet group.
[$sel:tags:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe [Tag]
-- | The VPC ID of the cluster subnet group.
[$sel:vpcId:ClusterSubnetGroup'] :: ClusterSubnetGroup -> Maybe Text
-- | Create a value of ClusterSubnetGroup 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:clusterSubnetGroupName:ClusterSubnetGroup',
-- clusterSubnetGroup_clusterSubnetGroupName - The name of the
-- cluster subnet group.
--
-- $sel:description:ClusterSubnetGroup',
-- clusterSubnetGroup_description - The description of the cluster
-- subnet group.
--
-- $sel:subnetGroupStatus:ClusterSubnetGroup',
-- clusterSubnetGroup_subnetGroupStatus - The status of the
-- cluster subnet group. Possible values are Complete,
-- Incomplete and Invalid.
--
-- $sel:subnets:ClusterSubnetGroup',
-- clusterSubnetGroup_subnets - A list of the VPC Subnet elements.
--
-- $sel:tags:ClusterSubnetGroup', clusterSubnetGroup_tags -
-- The list of tags for the cluster subnet group.
--
-- $sel:vpcId:ClusterSubnetGroup', clusterSubnetGroup_vpcId
-- - The VPC ID of the cluster subnet group.
newClusterSubnetGroup :: ClusterSubnetGroup
-- | The name of the cluster subnet group.
clusterSubnetGroup_clusterSubnetGroupName :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The description of the cluster subnet group.
clusterSubnetGroup_description :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The status of the cluster subnet group. Possible values are
-- Complete, Incomplete and Invalid.
clusterSubnetGroup_subnetGroupStatus :: Lens' ClusterSubnetGroup (Maybe Text)
-- | A list of the VPC Subnet elements.
clusterSubnetGroup_subnets :: Lens' ClusterSubnetGroup (Maybe [Subnet])
-- | The list of tags for the cluster subnet group.
clusterSubnetGroup_tags :: Lens' ClusterSubnetGroup (Maybe [Tag])
-- | The VPC ID of the cluster subnet group.
clusterSubnetGroup_vpcId :: Lens' ClusterSubnetGroup (Maybe Text)
-- | Describes a cluster version, including the parameter group family and
-- description of the version.
--
-- See: newClusterVersion smart constructor.
data ClusterVersion
ClusterVersion' :: Maybe Text -> Maybe Text -> Maybe Text -> ClusterVersion
-- | The name of the cluster parameter group family for the cluster.
[$sel:clusterParameterGroupFamily:ClusterVersion'] :: ClusterVersion -> Maybe Text
-- | The version number used by the cluster.
[$sel:clusterVersion:ClusterVersion'] :: ClusterVersion -> Maybe Text
-- | The description of the cluster version.
[$sel:description:ClusterVersion'] :: ClusterVersion -> Maybe Text
-- | Create a value of ClusterVersion 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:clusterParameterGroupFamily:ClusterVersion',
-- clusterVersion_clusterParameterGroupFamily - The name of the
-- cluster parameter group family for the cluster.
--
-- $sel:clusterVersion:ClusterVersion',
-- clusterVersion_clusterVersion - The version number used by the
-- cluster.
--
-- $sel:description:ClusterVersion',
-- clusterVersion_description - The description of the cluster
-- version.
newClusterVersion :: ClusterVersion
-- | The name of the cluster parameter group family for the cluster.
clusterVersion_clusterParameterGroupFamily :: Lens' ClusterVersion (Maybe Text)
-- | The version number used by the cluster.
clusterVersion_clusterVersion :: Lens' ClusterVersion (Maybe Text)
-- | The description of the cluster version.
clusterVersion_description :: Lens' ClusterVersion (Maybe Text)
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
[$sel:allowPubliclyAccessibleConsumers:DataShare'] :: DataShare -> Maybe Bool
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
[$sel:dataShareArn:DataShare'] :: DataShare -> Maybe Text
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
[$sel:dataShareAssociations:DataShare'] :: DataShare -> Maybe [DataShareAssociation]
-- | The identifier of a datashare to show its managing entity.
[$sel:managedBy:DataShare'] :: DataShare -> Maybe Text
-- | The Amazon Resource Name (ARN) of the producer.
[$sel:producerArn:DataShare'] :: DataShare -> Maybe Text
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
-- | The association of a datashare from a producer account with a data
-- consumer.
--
-- See: newDataShareAssociation smart constructor.
data DataShareAssociation
DataShareAssociation' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe DataShareStatus -> Maybe ISO8601 -> DataShareAssociation
-- | The name of the consumer accounts that have an association with a
-- producer datashare.
[$sel:consumerIdentifier:DataShareAssociation'] :: DataShareAssociation -> Maybe Text
-- | The Amazon Web Services Region of the consumer accounts that have an
-- association with a producer datashare.
[$sel:consumerRegion:DataShareAssociation'] :: DataShareAssociation -> Maybe Text
-- | The creation date of the datashare that is associated.
[$sel:createdDate:DataShareAssociation'] :: DataShareAssociation -> Maybe ISO8601
-- | The status of the datashare that is associated.
[$sel:status:DataShareAssociation'] :: DataShareAssociation -> Maybe DataShareStatus
-- | The status change data of the datashare that is associated.
[$sel:statusChangeDate:DataShareAssociation'] :: DataShareAssociation -> Maybe ISO8601
-- | Create a value of DataShareAssociation 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:consumerIdentifier:DataShareAssociation',
-- dataShareAssociation_consumerIdentifier - The name of the
-- consumer accounts that have an association with a producer datashare.
--
-- $sel:consumerRegion:DataShareAssociation',
-- dataShareAssociation_consumerRegion - The Amazon Web Services
-- Region of the consumer accounts that have an association with a
-- producer datashare.
--
-- $sel:createdDate:DataShareAssociation',
-- dataShareAssociation_createdDate - The creation date of the
-- datashare that is associated.
--
-- $sel:status:DataShareAssociation',
-- dataShareAssociation_status - The status of the datashare that
-- is associated.
--
-- $sel:statusChangeDate:DataShareAssociation',
-- dataShareAssociation_statusChangeDate - The status change data
-- of the datashare that is associated.
newDataShareAssociation :: DataShareAssociation
-- | The name of the consumer accounts that have an association with a
-- producer datashare.
dataShareAssociation_consumerIdentifier :: Lens' DataShareAssociation (Maybe Text)
-- | The Amazon Web Services Region of the consumer accounts that have an
-- association with a producer datashare.
dataShareAssociation_consumerRegion :: Lens' DataShareAssociation (Maybe Text)
-- | The creation date of the datashare that is associated.
dataShareAssociation_createdDate :: Lens' DataShareAssociation (Maybe UTCTime)
-- | The status of the datashare that is associated.
dataShareAssociation_status :: Lens' DataShareAssociation (Maybe DataShareStatus)
-- | The status change data of the datashare that is associated.
dataShareAssociation_statusChangeDate :: Lens' DataShareAssociation (Maybe UTCTime)
-- | Describes the status of a cluster while it is in the process of
-- resizing with an incremental resize.
--
-- See: newDataTransferProgress smart constructor.
data DataTransferProgress
DataTransferProgress' :: Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Integer -> DataTransferProgress
-- | Describes the data transfer rate in MB's per second.
[$sel:currentRateInMegaBytesPerSecond:DataTransferProgress'] :: DataTransferProgress -> Maybe Double
-- | Describes the total amount of data that has been transfered in MB's.
[$sel:dataTransferredInMegaBytes:DataTransferProgress'] :: DataTransferProgress -> Maybe Integer
-- | Describes the number of seconds that have elapsed during the data
-- transfer.
[$sel:elapsedTimeInSeconds:DataTransferProgress'] :: DataTransferProgress -> Maybe Integer
-- | Describes the estimated number of seconds remaining to complete the
-- transfer.
[$sel:estimatedTimeToCompletionInSeconds:DataTransferProgress'] :: DataTransferProgress -> Maybe Integer
-- | Describes the status of the cluster. While the transfer is in progress
-- the status is transferringdata.
[$sel:status:DataTransferProgress'] :: DataTransferProgress -> Maybe Text
-- | Describes the total amount of data to be transfered in megabytes.
[$sel:totalDataInMegaBytes:DataTransferProgress'] :: DataTransferProgress -> Maybe Integer
-- | Create a value of DataTransferProgress 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:currentRateInMegaBytesPerSecond:DataTransferProgress',
-- dataTransferProgress_currentRateInMegaBytesPerSecond -
-- Describes the data transfer rate in MB's per second.
--
-- $sel:dataTransferredInMegaBytes:DataTransferProgress',
-- dataTransferProgress_dataTransferredInMegaBytes - Describes the
-- total amount of data that has been transfered in MB's.
--
-- $sel:elapsedTimeInSeconds:DataTransferProgress',
-- dataTransferProgress_elapsedTimeInSeconds - Describes the
-- number of seconds that have elapsed during the data transfer.
--
-- $sel:estimatedTimeToCompletionInSeconds:DataTransferProgress',
-- dataTransferProgress_estimatedTimeToCompletionInSeconds -
-- Describes the estimated number of seconds remaining to complete the
-- transfer.
--
-- $sel:status:DataTransferProgress',
-- dataTransferProgress_status - Describes the status of the
-- cluster. While the transfer is in progress the status is
-- transferringdata.
--
-- $sel:totalDataInMegaBytes:DataTransferProgress',
-- dataTransferProgress_totalDataInMegaBytes - Describes the total
-- amount of data to be transfered in megabytes.
newDataTransferProgress :: DataTransferProgress
-- | Describes the data transfer rate in MB's per second.
dataTransferProgress_currentRateInMegaBytesPerSecond :: Lens' DataTransferProgress (Maybe Double)
-- | Describes the total amount of data that has been transfered in MB's.
dataTransferProgress_dataTransferredInMegaBytes :: Lens' DataTransferProgress (Maybe Integer)
-- | Describes the number of seconds that have elapsed during the data
-- transfer.
dataTransferProgress_elapsedTimeInSeconds :: Lens' DataTransferProgress (Maybe Integer)
-- | Describes the estimated number of seconds remaining to complete the
-- transfer.
dataTransferProgress_estimatedTimeToCompletionInSeconds :: Lens' DataTransferProgress (Maybe Integer)
-- | Describes the status of the cluster. While the transfer is in progress
-- the status is transferringdata.
dataTransferProgress_status :: Lens' DataTransferProgress (Maybe Text)
-- | Describes the total amount of data to be transfered in megabytes.
dataTransferProgress_totalDataInMegaBytes :: Lens' DataTransferProgress (Maybe Integer)
-- | Describes the default cluster parameters for a parameter group family.
--
-- See: newDefaultClusterParameters smart constructor.
data DefaultClusterParameters
DefaultClusterParameters' :: Maybe Text -> Maybe Text -> Maybe [Parameter] -> DefaultClusterParameters
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DefaultClusterParameters'] :: DefaultClusterParameters -> Maybe Text
-- | The name of the cluster parameter group family to which the engine
-- default parameters apply.
[$sel:parameterGroupFamily:DefaultClusterParameters'] :: DefaultClusterParameters -> Maybe Text
-- | The list of cluster default parameters.
[$sel:parameters:DefaultClusterParameters'] :: DefaultClusterParameters -> Maybe [Parameter]
-- | Create a value of DefaultClusterParameters 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:marker:DefaultClusterParameters',
-- defaultClusterParameters_marker - A value that indicates the
-- starting point for the next set of response records in a subsequent
-- request. If a value is returned in a response, you can retrieve the
-- next set of records by providing this returned marker value in the
-- Marker parameter and retrying the command. If the
-- Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:parameterGroupFamily:DefaultClusterParameters',
-- defaultClusterParameters_parameterGroupFamily - The name of the
-- cluster parameter group family to which the engine default parameters
-- apply.
--
-- $sel:parameters:DefaultClusterParameters',
-- defaultClusterParameters_parameters - The list of cluster
-- default parameters.
newDefaultClusterParameters :: DefaultClusterParameters
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
defaultClusterParameters_marker :: Lens' DefaultClusterParameters (Maybe Text)
-- | The name of the cluster parameter group family to which the engine
-- default parameters apply.
defaultClusterParameters_parameterGroupFamily :: Lens' DefaultClusterParameters (Maybe Text)
-- | The list of cluster default parameters.
defaultClusterParameters_parameters :: Lens' DefaultClusterParameters (Maybe [Parameter])
-- | Describes a deferred maintenance window
--
-- See: newDeferredMaintenanceWindow smart constructor.
data DeferredMaintenanceWindow
DeferredMaintenanceWindow' :: Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> DeferredMaintenanceWindow
-- | A timestamp for the end of the time period when we defer maintenance.
[$sel:deferMaintenanceEndTime:DeferredMaintenanceWindow'] :: DeferredMaintenanceWindow -> Maybe ISO8601
-- | A unique identifier for the maintenance window.
[$sel:deferMaintenanceIdentifier:DeferredMaintenanceWindow'] :: DeferredMaintenanceWindow -> Maybe Text
-- | A timestamp for the beginning of the time period when we defer
-- maintenance.
[$sel:deferMaintenanceStartTime:DeferredMaintenanceWindow'] :: DeferredMaintenanceWindow -> Maybe ISO8601
-- | Create a value of DeferredMaintenanceWindow 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:deferMaintenanceEndTime:DeferredMaintenanceWindow',
-- deferredMaintenanceWindow_deferMaintenanceEndTime - A timestamp
-- for the end of the time period when we defer maintenance.
--
-- $sel:deferMaintenanceIdentifier:DeferredMaintenanceWindow',
-- deferredMaintenanceWindow_deferMaintenanceIdentifier - A unique
-- identifier for the maintenance window.
--
-- $sel:deferMaintenanceStartTime:DeferredMaintenanceWindow',
-- deferredMaintenanceWindow_deferMaintenanceStartTime - A
-- timestamp for the beginning of the time period when we defer
-- maintenance.
newDeferredMaintenanceWindow :: DeferredMaintenanceWindow
-- | A timestamp for the end of the time period when we defer maintenance.
deferredMaintenanceWindow_deferMaintenanceEndTime :: Lens' DeferredMaintenanceWindow (Maybe UTCTime)
-- | A unique identifier for the maintenance window.
deferredMaintenanceWindow_deferMaintenanceIdentifier :: Lens' DeferredMaintenanceWindow (Maybe Text)
-- | A timestamp for the beginning of the time period when we defer
-- maintenance.
deferredMaintenanceWindow_deferMaintenanceStartTime :: Lens' DeferredMaintenanceWindow (Maybe UTCTime)
-- | See: newDeleteClusterSnapshotMessage smart constructor.
data DeleteClusterSnapshotMessage
DeleteClusterSnapshotMessage' :: Maybe Text -> Text -> DeleteClusterSnapshotMessage
-- | The unique identifier of the cluster the snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
[$sel:snapshotClusterIdentifier:DeleteClusterSnapshotMessage'] :: DeleteClusterSnapshotMessage -> Maybe Text
-- | The unique identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
[$sel:snapshotIdentifier:DeleteClusterSnapshotMessage'] :: DeleteClusterSnapshotMessage -> Text
-- | Create a value of DeleteClusterSnapshotMessage 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:snapshotClusterIdentifier:DeleteClusterSnapshotMessage',
-- deleteClusterSnapshotMessage_snapshotClusterIdentifier - The
-- unique identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
--
-- $sel:snapshotIdentifier:DeleteClusterSnapshotMessage',
-- deleteClusterSnapshotMessage_snapshotIdentifier - The unique
-- identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
newDeleteClusterSnapshotMessage :: Text -> DeleteClusterSnapshotMessage
-- | The unique identifier of the cluster the snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
deleteClusterSnapshotMessage_snapshotClusterIdentifier :: Lens' DeleteClusterSnapshotMessage (Maybe Text)
-- | The unique identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
deleteClusterSnapshotMessage_snapshotIdentifier :: Lens' DeleteClusterSnapshotMessage Text
-- | Describes an Amazon EC2 security group.
--
-- See: newEC2SecurityGroup smart constructor.
data EC2SecurityGroup
EC2SecurityGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> EC2SecurityGroup
-- | The name of the EC2 Security Group.
[$sel:eC2SecurityGroupName:EC2SecurityGroup'] :: EC2SecurityGroup -> Maybe Text
-- | The Amazon Web Services account ID of the owner of the EC2 security
-- group specified in the EC2SecurityGroupName field.
[$sel:eC2SecurityGroupOwnerId:EC2SecurityGroup'] :: EC2SecurityGroup -> Maybe Text
-- | The status of the EC2 security group.
[$sel:status:EC2SecurityGroup'] :: EC2SecurityGroup -> Maybe Text
-- | The list of tags for the EC2 security group.
[$sel:tags:EC2SecurityGroup'] :: EC2SecurityGroup -> Maybe [Tag]
-- | Create a value of EC2SecurityGroup 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:eC2SecurityGroupName:EC2SecurityGroup',
-- eC2SecurityGroup_eC2SecurityGroupName - The name of the EC2
-- Security Group.
--
-- $sel:eC2SecurityGroupOwnerId:EC2SecurityGroup',
-- eC2SecurityGroup_eC2SecurityGroupOwnerId - The Amazon Web
-- Services account ID of the owner of the EC2 security group specified
-- in the EC2SecurityGroupName field.
--
-- $sel:status:EC2SecurityGroup', eC2SecurityGroup_status -
-- The status of the EC2 security group.
--
-- $sel:tags:EC2SecurityGroup', eC2SecurityGroup_tags - The
-- list of tags for the EC2 security group.
newEC2SecurityGroup :: EC2SecurityGroup
-- | The name of the EC2 Security Group.
eC2SecurityGroup_eC2SecurityGroupName :: Lens' EC2SecurityGroup (Maybe Text)
-- | The Amazon Web Services account ID of the owner of the EC2 security
-- group specified in the EC2SecurityGroupName field.
eC2SecurityGroup_eC2SecurityGroupOwnerId :: Lens' EC2SecurityGroup (Maybe Text)
-- | The status of the EC2 security group.
eC2SecurityGroup_status :: Lens' EC2SecurityGroup (Maybe Text)
-- | The list of tags for the EC2 security group.
eC2SecurityGroup_tags :: Lens' EC2SecurityGroup (Maybe [Tag])
-- | Describes the status of the elastic IP (EIP) address.
--
-- See: newElasticIpStatus smart constructor.
data ElasticIpStatus
ElasticIpStatus' :: Maybe Text -> Maybe Text -> ElasticIpStatus
-- | The elastic IP (EIP) address for the cluster.
[$sel:elasticIp:ElasticIpStatus'] :: ElasticIpStatus -> Maybe Text
-- | The status of the elastic IP (EIP) address.
[$sel:status:ElasticIpStatus'] :: ElasticIpStatus -> Maybe Text
-- | Create a value of ElasticIpStatus 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:elasticIp:ElasticIpStatus',
-- elasticIpStatus_elasticIp - The elastic IP (EIP) address for
-- the cluster.
--
-- $sel:status:ElasticIpStatus', elasticIpStatus_status -
-- The status of the elastic IP (EIP) address.
newElasticIpStatus :: ElasticIpStatus
-- | The elastic IP (EIP) address for the cluster.
elasticIpStatus_elasticIp :: Lens' ElasticIpStatus (Maybe Text)
-- | The status of the elastic IP (EIP) address.
elasticIpStatus_status :: Lens' ElasticIpStatus (Maybe Text)
-- | Describes a connection endpoint.
--
-- See: newEndpoint smart constructor.
data Endpoint
Endpoint' :: Maybe Text -> Maybe Int -> Maybe [VpcEndpoint] -> Endpoint
-- | The DNS address of the Cluster.
[$sel:address:Endpoint'] :: Endpoint -> Maybe Text
-- | The port that the database engine is listening on.
[$sel:port:Endpoint'] :: Endpoint -> Maybe Int
-- | Describes a connection endpoint.
[$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 Cluster.
--
-- $sel:port:Endpoint', endpoint_port - The port that the
-- database engine is listening on.
--
-- $sel:vpcEndpoints:Endpoint', endpoint_vpcEndpoints -
-- Describes a connection endpoint.
newEndpoint :: Endpoint
-- | The DNS address of the Cluster.
endpoint_address :: Lens' Endpoint (Maybe Text)
-- | The port that the database engine is listening on.
endpoint_port :: Lens' Endpoint (Maybe Int)
-- | Describes a connection endpoint.
endpoint_vpcEndpoints :: Lens' Endpoint (Maybe [VpcEndpoint])
-- | Describes a Redshift-managed VPC endpoint.
--
-- See: newEndpointAccess smart constructor.
data EndpointAccess
EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> EndpointAccess
-- | The DNS address of the endpoint.
[$sel:address:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The cluster identifier of the cluster associated with the endpoint.
[$sel:clusterIdentifier:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The time (UTC) that the endpoint was created.
[$sel:endpointCreateTime:EndpointAccess'] :: EndpointAccess -> Maybe ISO8601
-- | The name of the endpoint.
[$sel:endpointName:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The status of the endpoint.
[$sel:endpointStatus:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The port number on which the cluster accepts incoming connections.
[$sel:port:EndpointAccess'] :: EndpointAccess -> Maybe Int
-- | The Amazon Web Services account ID of the owner of the cluster.
[$sel:resourceOwner:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
[$sel:subnetGroupName:EndpointAccess'] :: EndpointAccess -> Maybe Text
[$sel:vpcEndpoint:EndpointAccess'] :: EndpointAccess -> Maybe VpcEndpoint
-- | The security groups associated with the endpoint.
[$sel:vpcSecurityGroups:EndpointAccess'] :: EndpointAccess -> Maybe [VpcSecurityGroupMembership]
-- | 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:clusterIdentifier:EndpointAccess',
-- endpointAccess_clusterIdentifier - The cluster identifier of
-- the cluster associated with the endpoint.
--
-- $sel:endpointCreateTime:EndpointAccess',
-- endpointAccess_endpointCreateTime - The time (UTC) that the
-- endpoint was created.
--
-- $sel:endpointName:EndpointAccess',
-- endpointAccess_endpointName - The name of the endpoint.
--
-- $sel:endpointStatus:EndpointAccess',
-- endpointAccess_endpointStatus - The status of the endpoint.
--
-- $sel:port:EndpointAccess', endpointAccess_port - The
-- port number on which the cluster accepts incoming connections.
--
-- $sel:resourceOwner:EndpointAccess',
-- endpointAccess_resourceOwner - The Amazon Web Services account
-- ID of the owner of the cluster.
--
-- $sel:subnetGroupName:EndpointAccess',
-- endpointAccess_subnetGroupName - The subnet group name where
-- Amazon Redshift chooses to deploy the endpoint.
--
-- $sel:vpcEndpoint:EndpointAccess',
-- endpointAccess_vpcEndpoint - Undocumented member.
--
-- $sel:vpcSecurityGroups:EndpointAccess',
-- endpointAccess_vpcSecurityGroups - The security groups
-- associated with the endpoint.
newEndpointAccess :: EndpointAccess
-- | The DNS address of the endpoint.
endpointAccess_address :: Lens' EndpointAccess (Maybe Text)
-- | The cluster identifier of the cluster associated with the endpoint.
endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text)
-- | The time (UTC) that the endpoint was created.
endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime)
-- | The name of the endpoint.
endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text)
-- | The status of the endpoint.
endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text)
-- | The port number on which the cluster accepts incoming connections.
endpointAccess_port :: Lens' EndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text)
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text)
-- | Undocumented member.
endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint)
-- | The security groups associated with the endpoint.
endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership])
-- | Describes an endpoint authorization for authorizing Redshift-managed
-- VPC endpoint access to a cluster across Amazon Web Services accounts.
--
-- See: newEndpointAuthorization smart constructor.
data EndpointAuthorization
EndpointAuthorization' :: Maybe Bool -> Maybe [Text] -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe AuthorizationStatus -> EndpointAuthorization
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
[$sel:allowedAllVPCs:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Bool
-- | The VPCs allowed access to the cluster.
[$sel:allowedVPCs:EndpointAuthorization'] :: EndpointAuthorization -> Maybe [Text]
-- | The time (UTC) when the authorization was created.
[$sel:authorizeTime:EndpointAuthorization'] :: EndpointAuthorization -> Maybe ISO8601
-- | The cluster identifier.
[$sel:clusterIdentifier:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The status of the cluster.
[$sel:clusterStatus:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
[$sel:endpointCount:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Int
-- | The Amazon Web Services account ID of the grantee of the cluster.
[$sel:grantee:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The Amazon Web Services account ID of the cluster owner.
[$sel:grantor:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The status of the authorization action.
[$sel:status:EndpointAuthorization'] :: EndpointAuthorization -> Maybe AuthorizationStatus
-- | Create a value of EndpointAuthorization 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:allowedAllVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedAllVPCs - Indicates whether all
-- VPCs in the grantee account are allowed access to the cluster.
--
-- $sel:allowedVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedVPCs - The VPCs allowed access to
-- the cluster.
--
-- $sel:authorizeTime:EndpointAuthorization',
-- endpointAuthorization_authorizeTime - The time (UTC) when the
-- authorization was created.
--
-- $sel:clusterIdentifier:EndpointAuthorization',
-- endpointAuthorization_clusterIdentifier - The cluster
-- identifier.
--
-- $sel:clusterStatus:EndpointAuthorization',
-- endpointAuthorization_clusterStatus - The status of the
-- cluster.
--
-- $sel:endpointCount:EndpointAuthorization',
-- endpointAuthorization_endpointCount - The number of
-- Redshift-managed VPC endpoints created for the authorization.
--
-- $sel:grantee:EndpointAuthorization',
-- endpointAuthorization_grantee - The Amazon Web Services account
-- ID of the grantee of the cluster.
--
-- $sel:grantor:EndpointAuthorization',
-- endpointAuthorization_grantor - The Amazon Web Services account
-- ID of the cluster owner.
--
-- $sel:status:EndpointAuthorization',
-- endpointAuthorization_status - The status of the authorization
-- action.
newEndpointAuthorization :: EndpointAuthorization
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool)
-- | The VPCs allowed access to the cluster.
endpointAuthorization_allowedVPCs :: Lens' EndpointAuthorization (Maybe [Text])
-- | The time (UTC) when the authorization was created.
endpointAuthorization_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime)
-- | The cluster identifier.
endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the cluster.
endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text)
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int)
-- | The Amazon Web Services account ID of the grantee of the cluster.
endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text)
-- | The Amazon Web Services account ID of the cluster owner.
endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the authorization action.
endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus)
-- | Describes an event.
--
-- See: newEvent smart constructor.
data Event
Event' :: Maybe ISO8601 -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceType -> Event
-- | The date and time of the event.
[$sel:date:Event'] :: Event -> Maybe ISO8601
-- | A list of the event categories.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
[$sel:eventCategories:Event'] :: Event -> Maybe [Text]
-- | The identifier of the event.
[$sel:eventId:Event'] :: Event -> Maybe Text
-- | The text of this event.
[$sel:message:Event'] :: Event -> Maybe Text
-- | The severity of the event.
--
-- Values: ERROR, INFO
[$sel:severity:Event'] :: Event -> Maybe Text
-- | The identifier for the source of the event.
[$sel:sourceIdentifier:Event'] :: Event -> Maybe Text
-- | The source type for this event.
[$sel:sourceType:Event'] :: Event -> Maybe SourceType
-- | Create a value of Event 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:date:Event', event_date - The date and time of the
-- event.
--
-- $sel:eventCategories:Event', event_eventCategories - A
-- list of the event categories.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
--
-- $sel:eventId:Event', event_eventId - The identifier of
-- the event.
--
-- $sel:message:Event', event_message - The text of this
-- event.
--
-- $sel:severity:Event', event_severity - The severity of
-- the event.
--
-- Values: ERROR, INFO
--
-- $sel:sourceIdentifier:Event', event_sourceIdentifier -
-- The identifier for the source of the event.
--
-- $sel:sourceType:Event', event_sourceType - The source
-- type for this event.
newEvent :: Event
-- | The date and time of the event.
event_date :: Lens' Event (Maybe UTCTime)
-- | A list of the event categories.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
event_eventCategories :: Lens' Event (Maybe [Text])
-- | The identifier of the event.
event_eventId :: Lens' Event (Maybe Text)
-- | The text of this event.
event_message :: Lens' Event (Maybe Text)
-- | The severity of the event.
--
-- Values: ERROR, INFO
event_severity :: Lens' Event (Maybe Text)
-- | The identifier for the source of the event.
event_sourceIdentifier :: Lens' Event (Maybe Text)
-- | The source type for this event.
event_sourceType :: Lens' Event (Maybe SourceType)
-- | Describes event categories.
--
-- See: newEventCategoriesMap smart constructor.
data EventCategoriesMap
EventCategoriesMap' :: Maybe [EventInfoMap] -> Maybe Text -> EventCategoriesMap
-- | The events in the event category.
[$sel:events:EventCategoriesMap'] :: EventCategoriesMap -> Maybe [EventInfoMap]
-- | The source type, such as cluster or cluster-snapshot, that the
-- returned categories belong to.
[$sel:sourceType:EventCategoriesMap'] :: EventCategoriesMap -> Maybe Text
-- | Create a value of EventCategoriesMap 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:events:EventCategoriesMap',
-- eventCategoriesMap_events - The events in the event category.
--
-- $sel:sourceType:EventCategoriesMap',
-- eventCategoriesMap_sourceType - The source type, such as
-- cluster or cluster-snapshot, that the returned categories belong to.
newEventCategoriesMap :: EventCategoriesMap
-- | The events in the event category.
eventCategoriesMap_events :: Lens' EventCategoriesMap (Maybe [EventInfoMap])
-- | The source type, such as cluster or cluster-snapshot, that the
-- returned categories belong to.
eventCategoriesMap_sourceType :: Lens' EventCategoriesMap (Maybe Text)
-- | Describes event information.
--
-- See: newEventInfoMap smart constructor.
data EventInfoMap
EventInfoMap' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> EventInfoMap
-- | The category of an Amazon Redshift event.
[$sel:eventCategories:EventInfoMap'] :: EventInfoMap -> Maybe [Text]
-- | The description of an Amazon Redshift event.
[$sel:eventDescription:EventInfoMap'] :: EventInfoMap -> Maybe Text
-- | The identifier of an Amazon Redshift event.
[$sel:eventId:EventInfoMap'] :: EventInfoMap -> Maybe Text
-- | The severity of the event.
--
-- Values: ERROR, INFO
[$sel:severity:EventInfoMap'] :: EventInfoMap -> Maybe Text
-- | Create a value of EventInfoMap 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:eventCategories:EventInfoMap',
-- eventInfoMap_eventCategories - The category of an Amazon
-- Redshift event.
--
-- $sel:eventDescription:EventInfoMap',
-- eventInfoMap_eventDescription - The description of an Amazon
-- Redshift event.
--
-- $sel:eventId:EventInfoMap', eventInfoMap_eventId - The
-- identifier of an Amazon Redshift event.
--
-- $sel:severity:EventInfoMap', eventInfoMap_severity - The
-- severity of the event.
--
-- Values: ERROR, INFO
newEventInfoMap :: EventInfoMap
-- | The category of an Amazon Redshift event.
eventInfoMap_eventCategories :: Lens' EventInfoMap (Maybe [Text])
-- | The description of an Amazon Redshift event.
eventInfoMap_eventDescription :: Lens' EventInfoMap (Maybe Text)
-- | The identifier of an Amazon Redshift event.
eventInfoMap_eventId :: Lens' EventInfoMap (Maybe Text)
-- | The severity of the event.
--
-- Values: ERROR, INFO
eventInfoMap_severity :: Lens' EventInfoMap (Maybe Text)
-- | Describes event subscriptions.
--
-- See: newEventSubscription smart constructor.
data EventSubscription
EventSubscription' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe [Tag] -> EventSubscription
-- | The name of the Amazon Redshift event notification subscription.
[$sel:custSubscriptionId:EventSubscription'] :: EventSubscription -> Maybe Text
-- | The Amazon Web Services account associated with the Amazon Redshift
-- event notification subscription.
[$sel:customerAwsId:EventSubscription'] :: EventSubscription -> Maybe Text
-- | A boolean value indicating whether the subscription is enabled;
-- true indicates that the subscription is enabled.
[$sel:enabled:EventSubscription'] :: EventSubscription -> Maybe Bool
-- | The list of Amazon Redshift event categories specified in the event
-- notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
[$sel:eventCategoriesList:EventSubscription'] :: EventSubscription -> Maybe [Text]
-- | The event severity specified in the Amazon Redshift event notification
-- subscription.
--
-- Values: ERROR, INFO
[$sel:severity:EventSubscription'] :: EventSubscription -> Maybe Text
-- | The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
-- event notification subscription.
[$sel:snsTopicArn:EventSubscription'] :: EventSubscription -> Maybe Text
-- | A list of the sources that publish events to the Amazon Redshift event
-- notification subscription.
[$sel:sourceIdsList:EventSubscription'] :: EventSubscription -> Maybe [Text]
-- | The source type of the events returned by the Amazon Redshift event
-- notification, such as cluster, cluster-snapshot,
-- cluster-parameter-group, cluster-security-group, or scheduled-action.
[$sel:sourceType:EventSubscription'] :: EventSubscription -> Maybe Text
-- | The status of the Amazon Redshift event notification subscription.
--
-- Constraints:
--
--
-- - Can be one of the following: active | no-permission |
-- topic-not-exist
-- - The status "no-permission" indicates that Amazon Redshift no
-- longer has permission to post to the Amazon SNS topic. The status
-- "topic-not-exist" indicates that the topic was deleted after the
-- subscription was created.
--
[$sel:status:EventSubscription'] :: EventSubscription -> Maybe Text
-- | The date and time the Amazon Redshift event notification subscription
-- was created.
[$sel:subscriptionCreationTime:EventSubscription'] :: EventSubscription -> Maybe ISO8601
-- | The list of tags for the event subscription.
[$sel:tags:EventSubscription'] :: EventSubscription -> Maybe [Tag]
-- | Create a value of EventSubscription 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:custSubscriptionId:EventSubscription',
-- eventSubscription_custSubscriptionId - The name of the Amazon
-- Redshift event notification subscription.
--
-- $sel:customerAwsId:EventSubscription',
-- eventSubscription_customerAwsId - The Amazon Web Services
-- account associated with the Amazon Redshift event notification
-- subscription.
--
-- $sel:enabled:EventSubscription',
-- eventSubscription_enabled - A boolean value indicating whether
-- the subscription is enabled; true indicates that the
-- subscription is enabled.
--
-- $sel:eventCategoriesList:EventSubscription',
-- eventSubscription_eventCategoriesList - The list of Amazon
-- Redshift event categories specified in the event notification
-- subscription.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
--
-- $sel:severity:EventSubscription',
-- eventSubscription_severity - The event severity specified in
-- the Amazon Redshift event notification subscription.
--
-- Values: ERROR, INFO
--
-- $sel:snsTopicArn:EventSubscription',
-- eventSubscription_snsTopicArn - The Amazon Resource Name (ARN)
-- of the Amazon SNS topic used by the event notification subscription.
--
-- $sel:sourceIdsList:EventSubscription',
-- eventSubscription_sourceIdsList - A list of the sources that
-- publish events to the Amazon Redshift event notification subscription.
--
-- $sel:sourceType:EventSubscription',
-- eventSubscription_sourceType - The source type of the events
-- returned by the Amazon Redshift event notification, such as cluster,
-- cluster-snapshot, cluster-parameter-group, cluster-security-group, or
-- scheduled-action.
--
-- $sel:status:EventSubscription', eventSubscription_status
-- - The status of the Amazon Redshift event notification subscription.
--
-- Constraints:
--
--
-- - Can be one of the following: active | no-permission |
-- topic-not-exist
-- - The status "no-permission" indicates that Amazon Redshift no
-- longer has permission to post to the Amazon SNS topic. The status
-- "topic-not-exist" indicates that the topic was deleted after the
-- subscription was created.
--
--
-- $sel:subscriptionCreationTime:EventSubscription',
-- eventSubscription_subscriptionCreationTime - The date and time
-- the Amazon Redshift event notification subscription was created.
--
-- $sel:tags:EventSubscription', eventSubscription_tags -
-- The list of tags for the event subscription.
newEventSubscription :: EventSubscription
-- | The name of the Amazon Redshift event notification subscription.
eventSubscription_custSubscriptionId :: Lens' EventSubscription (Maybe Text)
-- | The Amazon Web Services account associated with the Amazon Redshift
-- event notification subscription.
eventSubscription_customerAwsId :: Lens' EventSubscription (Maybe Text)
-- | A boolean value indicating whether the subscription is enabled;
-- true indicates that the subscription is enabled.
eventSubscription_enabled :: Lens' EventSubscription (Maybe Bool)
-- | The list of Amazon Redshift event categories specified in the event
-- notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
eventSubscription_eventCategoriesList :: Lens' EventSubscription (Maybe [Text])
-- | The event severity specified in the Amazon Redshift event notification
-- subscription.
--
-- Values: ERROR, INFO
eventSubscription_severity :: Lens' EventSubscription (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
-- event notification subscription.
eventSubscription_snsTopicArn :: Lens' EventSubscription (Maybe Text)
-- | A list of the sources that publish events to the Amazon Redshift event
-- notification subscription.
eventSubscription_sourceIdsList :: Lens' EventSubscription (Maybe [Text])
-- | The source type of the events returned by the Amazon Redshift event
-- notification, such as cluster, cluster-snapshot,
-- cluster-parameter-group, cluster-security-group, or scheduled-action.
eventSubscription_sourceType :: Lens' EventSubscription (Maybe Text)
-- | The status of the Amazon Redshift event notification subscription.
--
-- Constraints:
--
--
-- - Can be one of the following: active | no-permission |
-- topic-not-exist
-- - The status "no-permission" indicates that Amazon Redshift no
-- longer has permission to post to the Amazon SNS topic. The status
-- "topic-not-exist" indicates that the topic was deleted after the
-- subscription was created.
--
eventSubscription_status :: Lens' EventSubscription (Maybe Text)
-- | The date and time the Amazon Redshift event notification subscription
-- was created.
eventSubscription_subscriptionCreationTime :: Lens' EventSubscription (Maybe UTCTime)
-- | The list of tags for the event subscription.
eventSubscription_tags :: Lens' EventSubscription (Maybe [Tag])
-- | Returns information about an HSM client certificate. The certificate
-- is stored in a secure Hardware Storage Module (HSM), and used by the
-- Amazon Redshift cluster to encrypt data files.
--
-- See: newHsmClientCertificate smart constructor.
data HsmClientCertificate
HsmClientCertificate' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> HsmClientCertificate
-- | The identifier of the HSM client certificate.
[$sel:hsmClientCertificateIdentifier:HsmClientCertificate'] :: HsmClientCertificate -> Maybe Text
-- | The public key that the Amazon Redshift cluster will use to connect to
-- the HSM. You must register the public key in the HSM.
[$sel:hsmClientCertificatePublicKey:HsmClientCertificate'] :: HsmClientCertificate -> Maybe Text
-- | The list of tags for the HSM client certificate.
[$sel:tags:HsmClientCertificate'] :: HsmClientCertificate -> Maybe [Tag]
-- | Create a value of HsmClientCertificate 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:hsmClientCertificateIdentifier:HsmClientCertificate',
-- hsmClientCertificate_hsmClientCertificateIdentifier - The
-- identifier of the HSM client certificate.
--
-- $sel:hsmClientCertificatePublicKey:HsmClientCertificate',
-- hsmClientCertificate_hsmClientCertificatePublicKey - The public
-- key that the Amazon Redshift cluster will use to connect to the HSM.
-- You must register the public key in the HSM.
--
-- $sel:tags:HsmClientCertificate',
-- hsmClientCertificate_tags - The list of tags for the HSM client
-- certificate.
newHsmClientCertificate :: HsmClientCertificate
-- | The identifier of the HSM client certificate.
hsmClientCertificate_hsmClientCertificateIdentifier :: Lens' HsmClientCertificate (Maybe Text)
-- | The public key that the Amazon Redshift cluster will use to connect to
-- the HSM. You must register the public key in the HSM.
hsmClientCertificate_hsmClientCertificatePublicKey :: Lens' HsmClientCertificate (Maybe Text)
-- | The list of tags for the HSM client certificate.
hsmClientCertificate_tags :: Lens' HsmClientCertificate (Maybe [Tag])
-- | Returns information about an HSM configuration, which is an object
-- that describes to Amazon Redshift clusters the information they
-- require to connect to an HSM where they can store database encryption
-- keys.
--
-- See: newHsmConfiguration smart constructor.
data HsmConfiguration
HsmConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> HsmConfiguration
-- | A text description of the HSM configuration.
[$sel:description:HsmConfiguration'] :: HsmConfiguration -> Maybe Text
-- | The name of the Amazon Redshift HSM configuration.
[$sel:hsmConfigurationIdentifier:HsmConfiguration'] :: HsmConfiguration -> Maybe Text
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
[$sel:hsmIpAddress:HsmConfiguration'] :: HsmConfiguration -> Maybe Text
-- | The name of the partition in the HSM where the Amazon Redshift
-- clusters will store their database encryption keys.
[$sel:hsmPartitionName:HsmConfiguration'] :: HsmConfiguration -> Maybe Text
-- | The list of tags for the HSM configuration.
[$sel:tags:HsmConfiguration'] :: HsmConfiguration -> Maybe [Tag]
-- | Create a value of HsmConfiguration 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:description:HsmConfiguration',
-- hsmConfiguration_description - A text description of the HSM
-- configuration.
--
-- $sel:hsmConfigurationIdentifier:HsmConfiguration',
-- hsmConfiguration_hsmConfigurationIdentifier - The name of the
-- Amazon Redshift HSM configuration.
--
-- $sel:hsmIpAddress:HsmConfiguration',
-- hsmConfiguration_hsmIpAddress - The IP address that the Amazon
-- Redshift cluster must use to access the HSM.
--
-- $sel:hsmPartitionName:HsmConfiguration',
-- hsmConfiguration_hsmPartitionName - The name of the partition
-- in the HSM where the Amazon Redshift clusters will store their
-- database encryption keys.
--
-- $sel:tags:HsmConfiguration', hsmConfiguration_tags - The
-- list of tags for the HSM configuration.
newHsmConfiguration :: HsmConfiguration
-- | A text description of the HSM configuration.
hsmConfiguration_description :: Lens' HsmConfiguration (Maybe Text)
-- | The name of the Amazon Redshift HSM configuration.
hsmConfiguration_hsmConfigurationIdentifier :: Lens' HsmConfiguration (Maybe Text)
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
hsmConfiguration_hsmIpAddress :: Lens' HsmConfiguration (Maybe Text)
-- | The name of the partition in the HSM where the Amazon Redshift
-- clusters will store their database encryption keys.
hsmConfiguration_hsmPartitionName :: Lens' HsmConfiguration (Maybe Text)
-- | The list of tags for the HSM configuration.
hsmConfiguration_tags :: Lens' HsmConfiguration (Maybe [Tag])
-- | Describes the status of changes to HSM settings.
--
-- See: newHsmStatus smart constructor.
data HsmStatus
HsmStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> HsmStatus
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
[$sel:hsmClientCertificateIdentifier:HsmStatus'] :: HsmStatus -> Maybe Text
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
[$sel:hsmConfigurationIdentifier:HsmStatus'] :: HsmStatus -> Maybe Text
-- | Reports whether the Amazon Redshift cluster has finished applying any
-- HSM settings changes specified in a modify cluster command.
--
-- Values: active, applying
[$sel:status:HsmStatus'] :: HsmStatus -> Maybe Text
-- | Create a value of HsmStatus 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:hsmClientCertificateIdentifier:HsmStatus',
-- hsmStatus_hsmClientCertificateIdentifier - Specifies the name
-- of the HSM client certificate the Amazon Redshift cluster uses to
-- retrieve the data encryption keys stored in an HSM.
--
-- $sel:hsmConfigurationIdentifier:HsmStatus',
-- hsmStatus_hsmConfigurationIdentifier - Specifies the name of
-- the HSM configuration that contains the information the Amazon
-- Redshift cluster can use to retrieve and store keys in an HSM.
--
-- $sel:status:HsmStatus', hsmStatus_status - Reports
-- whether the Amazon Redshift cluster has finished applying any HSM
-- settings changes specified in a modify cluster command.
--
-- Values: active, applying
newHsmStatus :: HsmStatus
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
hsmStatus_hsmClientCertificateIdentifier :: Lens' HsmStatus (Maybe Text)
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
hsmStatus_hsmConfigurationIdentifier :: Lens' HsmStatus (Maybe Text)
-- | Reports whether the Amazon Redshift cluster has finished applying any
-- HSM settings changes specified in a modify cluster command.
--
-- Values: active, applying
hsmStatus_status :: Lens' HsmStatus (Maybe Text)
-- | Describes an IP range used in a security group.
--
-- See: newIPRange smart constructor.
data IPRange
IPRange' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> IPRange
-- | The IP range in Classless Inter-Domain Routing (CIDR) notation.
[$sel:cidrip:IPRange'] :: IPRange -> Maybe Text
-- | The status of the IP range, for example, "authorized".
[$sel:status:IPRange'] :: IPRange -> Maybe Text
-- | The list of tags for the IP range.
[$sel:tags:IPRange'] :: IPRange -> Maybe [Tag]
-- | Create a value of IPRange 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:cidrip:IPRange', iPRange_cidrip - The IP range in
-- Classless Inter-Domain Routing (CIDR) notation.
--
-- $sel:status:IPRange', iPRange_status - The status of the
-- IP range, for example, "authorized".
--
-- $sel:tags:IPRange', iPRange_tags - The list of tags for
-- the IP range.
newIPRange :: IPRange
-- | The IP range in Classless Inter-Domain Routing (CIDR) notation.
iPRange_cidrip :: Lens' IPRange (Maybe Text)
-- | The status of the IP range, for example, "authorized".
iPRange_status :: Lens' IPRange (Maybe Text)
-- | The list of tags for the IP range.
iPRange_tags :: Lens' IPRange (Maybe [Tag])
-- | Describes the status of logging for a cluster.
--
-- See: newLoggingStatus smart constructor.
data LoggingStatus
LoggingStatus' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Bool -> Maybe Text -> LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
[$sel:bucketName:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | The message indicating that logs failed to be delivered.
[$sel:lastFailureMessage:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | The last time when logs failed to be delivered.
[$sel:lastFailureTime:LoggingStatus'] :: LoggingStatus -> Maybe ISO8601
-- | The last time that logs were delivered.
[$sel:lastSuccessfulDeliveryTime:LoggingStatus'] :: LoggingStatus -> Maybe ISO8601
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
[$sel:logDestinationType:LoggingStatus'] :: LoggingStatus -> Maybe LogDestinationType
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
[$sel:logExports:LoggingStatus'] :: LoggingStatus -> Maybe [Text]
-- | true if logging is on, false if logging is off.
[$sel:loggingEnabled:LoggingStatus'] :: LoggingStatus -> Maybe Bool
-- | The prefix applied to the log file names.
[$sel:s3KeyPrefix:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | Create a value of LoggingStatus 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:bucketName:LoggingStatus', loggingStatus_bucketName
-- - The name of the S3 bucket where the log files are stored.
--
-- $sel:lastFailureMessage:LoggingStatus',
-- loggingStatus_lastFailureMessage - The message indicating that
-- logs failed to be delivered.
--
-- $sel:lastFailureTime:LoggingStatus',
-- loggingStatus_lastFailureTime - The last time when logs failed
-- to be delivered.
--
-- $sel:lastSuccessfulDeliveryTime:LoggingStatus',
-- loggingStatus_lastSuccessfulDeliveryTime - The last time that
-- logs were delivered.
--
-- $sel:logDestinationType:LoggingStatus',
-- loggingStatus_logDestinationType - The log destination type. An
-- enum with possible values of s3 and cloudwatch.
--
-- $sel:logExports:LoggingStatus', loggingStatus_logExports
-- - The collection of exported log types. Log types include the
-- connection log, user log and user activity log.
--
-- $sel:loggingEnabled:LoggingStatus',
-- loggingStatus_loggingEnabled - true if logging is on,
-- false if logging is off.
--
-- $sel:s3KeyPrefix:LoggingStatus',
-- loggingStatus_s3KeyPrefix - The prefix applied to the log file
-- names.
newLoggingStatus :: LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text)
-- | The message indicating that logs failed to be delivered.
loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | The last time when logs failed to be delivered.
loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
loggingStatus_logDestinationType :: Lens' LoggingStatus (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
loggingStatus_logExports :: Lens' LoggingStatus (Maybe [Text])
-- | true if logging is on, false if logging is off.
loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The prefix applied to the log file names.
loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
-- | Defines a maintenance track that determines which Amazon Redshift
-- version to apply during a maintenance window. If the value for
-- MaintenanceTrack is current, the cluster is updated
-- to the most recently certified maintenance release. If the value is
-- trailing, the cluster is updated to the previously certified
-- maintenance release.
--
-- See: newMaintenanceTrack smart constructor.
data MaintenanceTrack
MaintenanceTrack' :: Maybe Text -> Maybe Text -> Maybe [UpdateTarget] -> MaintenanceTrack
-- | The version number for the cluster release.
[$sel:databaseVersion:MaintenanceTrack'] :: MaintenanceTrack -> Maybe Text
-- | The name of the maintenance track. Possible values are
-- current and trailing.
[$sel:maintenanceTrackName:MaintenanceTrack'] :: MaintenanceTrack -> Maybe Text
-- | An array of UpdateTarget objects to update with the maintenance track.
[$sel:updateTargets:MaintenanceTrack'] :: MaintenanceTrack -> Maybe [UpdateTarget]
-- | Create a value of MaintenanceTrack 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:
--
-- MaintenanceTrack, maintenanceTrack_databaseVersion - The
-- version number for the cluster release.
--
-- MaintenanceTrack, maintenanceTrack_maintenanceTrackName
-- - The name of the maintenance track. Possible values are
-- current and trailing.
--
-- $sel:updateTargets:MaintenanceTrack',
-- maintenanceTrack_updateTargets - An array of UpdateTarget
-- objects to update with the maintenance track.
newMaintenanceTrack :: MaintenanceTrack
-- | The version number for the cluster release.
maintenanceTrack_databaseVersion :: Lens' MaintenanceTrack (Maybe Text)
-- | The name of the maintenance track. Possible values are
-- current and trailing.
maintenanceTrack_maintenanceTrackName :: Lens' MaintenanceTrack (Maybe Text)
-- | An array of UpdateTarget objects to update with the maintenance track.
maintenanceTrack_updateTargets :: Lens' MaintenanceTrack (Maybe [UpdateTarget])
-- | Describes a network interface.
--
-- 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 network interface identifier.
[$sel:networkInterfaceId:NetworkInterface'] :: NetworkInterface -> Maybe Text
-- | The IPv4 address of the network interface within the subnet.
[$sel:privateIpAddress:NetworkInterface'] :: NetworkInterface -> Maybe Text
-- | The subnet identifier.
[$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 network interface
-- identifier.
--
-- $sel:privateIpAddress:NetworkInterface',
-- networkInterface_privateIpAddress - The IPv4 address of the
-- network interface within the subnet.
--
-- $sel:subnetId:NetworkInterface',
-- networkInterface_subnetId - The subnet identifier.
newNetworkInterface :: NetworkInterface
-- | The Availability Zone.
networkInterface_availabilityZone :: Lens' NetworkInterface (Maybe Text)
-- | The network interface identifier.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
-- | The IPv4 address of the network interface within the subnet.
networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text)
-- | The subnet identifier.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
-- | A list of node configurations.
--
-- See: newNodeConfigurationOption smart constructor.
data NodeConfigurationOption
NodeConfigurationOption' :: Maybe Double -> Maybe Mode -> Maybe Text -> Maybe Int -> NodeConfigurationOption
-- | The estimated disk utilizaton percentage.
[$sel:estimatedDiskUtilizationPercent:NodeConfigurationOption'] :: NodeConfigurationOption -> Maybe Double
-- | The category of the node configuration recommendation.
[$sel:mode:NodeConfigurationOption'] :: NodeConfigurationOption -> Maybe Mode
-- | The node type, such as, "ds2.8xlarge".
[$sel:nodeType:NodeConfigurationOption'] :: NodeConfigurationOption -> Maybe Text
-- | The number of nodes.
[$sel:numberOfNodes:NodeConfigurationOption'] :: NodeConfigurationOption -> Maybe Int
-- | Create a value of NodeConfigurationOption 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:estimatedDiskUtilizationPercent:NodeConfigurationOption',
-- nodeConfigurationOption_estimatedDiskUtilizationPercent - The
-- estimated disk utilizaton percentage.
--
-- $sel:mode:NodeConfigurationOption',
-- nodeConfigurationOption_mode - The category of the node
-- configuration recommendation.
--
-- $sel:nodeType:NodeConfigurationOption',
-- nodeConfigurationOption_nodeType - The node type, such as,
-- "ds2.8xlarge".
--
-- $sel:numberOfNodes:NodeConfigurationOption',
-- nodeConfigurationOption_numberOfNodes - The number of nodes.
newNodeConfigurationOption :: NodeConfigurationOption
-- | The estimated disk utilizaton percentage.
nodeConfigurationOption_estimatedDiskUtilizationPercent :: Lens' NodeConfigurationOption (Maybe Double)
-- | The category of the node configuration recommendation.
nodeConfigurationOption_mode :: Lens' NodeConfigurationOption (Maybe Mode)
-- | The node type, such as, "ds2.8xlarge".
nodeConfigurationOption_nodeType :: Lens' NodeConfigurationOption (Maybe Text)
-- | The number of nodes.
nodeConfigurationOption_numberOfNodes :: Lens' NodeConfigurationOption (Maybe Int)
-- | A set of elements to filter the returned node configurations.
--
-- See: newNodeConfigurationOptionsFilter smart
-- constructor.
data NodeConfigurationOptionsFilter
NodeConfigurationOptionsFilter' :: Maybe NodeConfigurationOptionsFilterName -> Maybe OperatorType -> Maybe [Text] -> NodeConfigurationOptionsFilter
-- | The name of the element to filter.
[$sel:name:NodeConfigurationOptionsFilter'] :: NodeConfigurationOptionsFilter -> Maybe NodeConfigurationOptionsFilterName
-- | The filter operator. If filter Name is NodeType only the 'in' operator
-- is supported. Provide one value to evaluate for 'eq', 'lt', 'le',
-- 'gt', and 'ge'. Provide two values to evaluate for 'between'. Provide
-- a list of values for 'in'.
[$sel:operator:NodeConfigurationOptionsFilter'] :: NodeConfigurationOptionsFilter -> Maybe OperatorType
-- | List of values. Compare Name using Operator to Values. If filter Name
-- is NumberOfNodes, then values can range from 0 to 200. If filter Name
-- is EstimatedDiskUtilizationPercent, then values can range from 0 to
-- 100. For example, filter NumberOfNodes (name) GT (operator) 3
-- (values).
[$sel:values:NodeConfigurationOptionsFilter'] :: NodeConfigurationOptionsFilter -> Maybe [Text]
-- | Create a value of NodeConfigurationOptionsFilter 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:name:NodeConfigurationOptionsFilter',
-- nodeConfigurationOptionsFilter_name - The name of the element
-- to filter.
--
-- $sel:operator:NodeConfigurationOptionsFilter',
-- nodeConfigurationOptionsFilter_operator - The filter operator.
-- If filter Name is NodeType only the 'in' operator is supported.
-- Provide one value to evaluate for 'eq', 'lt', 'le', 'gt', and 'ge'.
-- Provide two values to evaluate for 'between'. Provide a list of values
-- for 'in'.
--
-- $sel:values:NodeConfigurationOptionsFilter',
-- nodeConfigurationOptionsFilter_values - List of values. Compare
-- Name using Operator to Values. If filter Name is NumberOfNodes, then
-- values can range from 0 to 200. If filter Name is
-- EstimatedDiskUtilizationPercent, then values can range from 0 to 100.
-- For example, filter NumberOfNodes (name) GT (operator) 3 (values).
newNodeConfigurationOptionsFilter :: NodeConfigurationOptionsFilter
-- | The name of the element to filter.
nodeConfigurationOptionsFilter_name :: Lens' NodeConfigurationOptionsFilter (Maybe NodeConfigurationOptionsFilterName)
-- | The filter operator. If filter Name is NodeType only the 'in' operator
-- is supported. Provide one value to evaluate for 'eq', 'lt', 'le',
-- 'gt', and 'ge'. Provide two values to evaluate for 'between'. Provide
-- a list of values for 'in'.
nodeConfigurationOptionsFilter_operator :: Lens' NodeConfigurationOptionsFilter (Maybe OperatorType)
-- | List of values. Compare Name using Operator to Values. If filter Name
-- is NumberOfNodes, then values can range from 0 to 200. If filter Name
-- is EstimatedDiskUtilizationPercent, then values can range from 0 to
-- 100. For example, filter NumberOfNodes (name) GT (operator) 3
-- (values).
nodeConfigurationOptionsFilter_values :: Lens' NodeConfigurationOptionsFilter (Maybe [Text])
-- | Describes an orderable cluster option.
--
-- See: newOrderableClusterOption smart constructor.
data OrderableClusterOption
OrderableClusterOption' :: Maybe [AvailabilityZone] -> Maybe Text -> Maybe Text -> Maybe Text -> OrderableClusterOption
-- | A list of availability zones for the orderable cluster.
[$sel:availabilityZones:OrderableClusterOption'] :: OrderableClusterOption -> Maybe [AvailabilityZone]
-- | The cluster type, for example multi-node.
[$sel:clusterType:OrderableClusterOption'] :: OrderableClusterOption -> Maybe Text
-- | The version of the orderable cluster.
[$sel:clusterVersion:OrderableClusterOption'] :: OrderableClusterOption -> Maybe Text
-- | The node type for the orderable cluster.
[$sel:nodeType:OrderableClusterOption'] :: OrderableClusterOption -> Maybe Text
-- | Create a value of OrderableClusterOption 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:availabilityZones:OrderableClusterOption',
-- orderableClusterOption_availabilityZones - A list of
-- availability zones for the orderable cluster.
--
-- $sel:clusterType:OrderableClusterOption',
-- orderableClusterOption_clusterType - The cluster type, for
-- example multi-node.
--
-- $sel:clusterVersion:OrderableClusterOption',
-- orderableClusterOption_clusterVersion - The version of the
-- orderable cluster.
--
-- $sel:nodeType:OrderableClusterOption',
-- orderableClusterOption_nodeType - The node type for the
-- orderable cluster.
newOrderableClusterOption :: OrderableClusterOption
-- | A list of availability zones for the orderable cluster.
orderableClusterOption_availabilityZones :: Lens' OrderableClusterOption (Maybe [AvailabilityZone])
-- | The cluster type, for example multi-node.
orderableClusterOption_clusterType :: Lens' OrderableClusterOption (Maybe Text)
-- | The version of the orderable cluster.
orderableClusterOption_clusterVersion :: Lens' OrderableClusterOption (Maybe Text)
-- | The node type for the orderable cluster.
orderableClusterOption_nodeType :: Lens' OrderableClusterOption (Maybe Text)
-- | Describes a parameter in a cluster parameter group.
--
-- See: newParameter smart constructor.
data Parameter
Parameter' :: Maybe Text -> Maybe ParameterApplyType -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Parameter
-- | The valid range of values for the parameter.
[$sel:allowedValues:Parameter'] :: Parameter -> Maybe Text
-- | Specifies how to apply the WLM configuration parameter. Some
-- properties can be applied dynamically, while other properties require
-- that any associated clusters be rebooted for the configuration changes
-- to be applied. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
[$sel:applyType:Parameter'] :: Parameter -> Maybe ParameterApplyType
-- | The data type of the parameter.
[$sel:dataType:Parameter'] :: Parameter -> Maybe Text
-- | A description of the parameter.
[$sel:description:Parameter'] :: Parameter -> Maybe Text
-- | If true, the parameter can be modified. Some parameters have
-- security or operational implications that prevent them from being
-- changed.
[$sel:isModifiable:Parameter'] :: Parameter -> Maybe Bool
-- | The earliest engine version to which the parameter can apply.
[$sel:minimumEngineVersion:Parameter'] :: Parameter -> Maybe Text
-- | The name of the parameter.
[$sel:parameterName:Parameter'] :: Parameter -> Maybe Text
-- | The value of the parameter. If ParameterName is
-- wlm_json_configuration, then the maximum size of
-- ParameterValue is 8000 characters.
[$sel:parameterValue:Parameter'] :: Parameter -> Maybe Text
-- | The source of the parameter value, such as "engine-default" or "user".
[$sel:source:Parameter'] :: Parameter -> Maybe Text
-- | Create a value of Parameter 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:allowedValues:Parameter', parameter_allowedValues -
-- The valid range of values for the parameter.
--
-- $sel:applyType:Parameter', parameter_applyType -
-- Specifies how to apply the WLM configuration parameter. Some
-- properties can be applied dynamically, while other properties require
-- that any associated clusters be rebooted for the configuration changes
-- to be applied. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
--
-- $sel:dataType:Parameter', parameter_dataType - The data
-- type of the parameter.
--
-- $sel:description:Parameter', parameter_description - A
-- description of the parameter.
--
-- $sel:isModifiable:Parameter', parameter_isModifiable -
-- If true, the parameter can be modified. Some parameters have
-- security or operational implications that prevent them from being
-- changed.
--
-- $sel:minimumEngineVersion:Parameter',
-- parameter_minimumEngineVersion - The earliest engine version to
-- which the parameter can apply.
--
-- $sel:parameterName:Parameter', parameter_parameterName -
-- The name of the parameter.
--
-- $sel:parameterValue:Parameter', parameter_parameterValue
-- - The value of the parameter. If ParameterName is
-- wlm_json_configuration, then the maximum size of
-- ParameterValue is 8000 characters.
--
-- $sel:source:Parameter', parameter_source - The source of
-- the parameter value, such as "engine-default" or "user".
newParameter :: Parameter
-- | The valid range of values for the parameter.
parameter_allowedValues :: Lens' Parameter (Maybe Text)
-- | Specifies how to apply the WLM configuration parameter. Some
-- properties can be applied dynamically, while other properties require
-- that any associated clusters be rebooted for the configuration changes
-- to be applied. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
parameter_applyType :: Lens' Parameter (Maybe ParameterApplyType)
-- | The data type of the parameter.
parameter_dataType :: Lens' Parameter (Maybe Text)
-- | A description of the parameter.
parameter_description :: Lens' Parameter (Maybe Text)
-- | If true, the parameter can be modified. Some parameters have
-- security or operational implications that prevent them from being
-- changed.
parameter_isModifiable :: Lens' Parameter (Maybe Bool)
-- | The earliest engine version to which the parameter can apply.
parameter_minimumEngineVersion :: Lens' Parameter (Maybe Text)
-- | The name of the parameter.
parameter_parameterName :: Lens' Parameter (Maybe Text)
-- | The value of the parameter. If ParameterName is
-- wlm_json_configuration, then the maximum size of
-- ParameterValue is 8000 characters.
parameter_parameterValue :: Lens' Parameter (Maybe Text)
-- | The source of the parameter value, such as "engine-default" or "user".
parameter_source :: Lens' Parameter (Maybe Text)
-- | Describes a partner integration.
--
-- See: newPartnerIntegrationInfo smart constructor.
data PartnerIntegrationInfo
PartnerIntegrationInfo' :: Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe PartnerIntegrationStatus -> Maybe Text -> Maybe ISO8601 -> PartnerIntegrationInfo
-- | The date (UTC) that the partner integration was created.
[$sel:createdAt:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe ISO8601
-- | The name of the database that receives data from a partner.
[$sel:databaseName:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe Text
-- | The name of the partner.
[$sel:partnerName:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe Text
-- | The partner integration status.
[$sel:status:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe PartnerIntegrationStatus
-- | The status message provided by the partner.
[$sel:statusMessage:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe Text
-- | The date (UTC) that the partner integration status was last updated by
-- the partner.
[$sel:updatedAt:PartnerIntegrationInfo'] :: PartnerIntegrationInfo -> Maybe ISO8601
-- | Create a value of PartnerIntegrationInfo 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:createdAt:PartnerIntegrationInfo',
-- partnerIntegrationInfo_createdAt - The date (UTC) that the
-- partner integration was created.
--
-- $sel:databaseName:PartnerIntegrationInfo',
-- partnerIntegrationInfo_databaseName - The name of the database
-- that receives data from a partner.
--
-- $sel:partnerName:PartnerIntegrationInfo',
-- partnerIntegrationInfo_partnerName - The name of the partner.
--
-- $sel:status:PartnerIntegrationInfo',
-- partnerIntegrationInfo_status - The partner integration status.
--
-- $sel:statusMessage:PartnerIntegrationInfo',
-- partnerIntegrationInfo_statusMessage - The status message
-- provided by the partner.
--
-- $sel:updatedAt:PartnerIntegrationInfo',
-- partnerIntegrationInfo_updatedAt - The date (UTC) that the
-- partner integration status was last updated by the partner.
newPartnerIntegrationInfo :: PartnerIntegrationInfo
-- | The date (UTC) that the partner integration was created.
partnerIntegrationInfo_createdAt :: Lens' PartnerIntegrationInfo (Maybe UTCTime)
-- | The name of the database that receives data from a partner.
partnerIntegrationInfo_databaseName :: Lens' PartnerIntegrationInfo (Maybe Text)
-- | The name of the partner.
partnerIntegrationInfo_partnerName :: Lens' PartnerIntegrationInfo (Maybe Text)
-- | The partner integration status.
partnerIntegrationInfo_status :: Lens' PartnerIntegrationInfo (Maybe PartnerIntegrationStatus)
-- | The status message provided by the partner.
partnerIntegrationInfo_statusMessage :: Lens' PartnerIntegrationInfo (Maybe Text)
-- | The date (UTC) that the partner integration status was last updated by
-- the partner.
partnerIntegrationInfo_updatedAt :: Lens' PartnerIntegrationInfo (Maybe UTCTime)
-- | See: newPartnerIntegrationInputMessage smart
-- constructor.
data PartnerIntegrationInputMessage
PartnerIntegrationInputMessage' :: Text -> Text -> Text -> Text -> PartnerIntegrationInputMessage
-- | The Amazon Web Services account ID that owns the cluster.
[$sel:accountId:PartnerIntegrationInputMessage'] :: PartnerIntegrationInputMessage -> Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
[$sel:clusterIdentifier:PartnerIntegrationInputMessage'] :: PartnerIntegrationInputMessage -> Text
-- | The name of the database that receives data from the partner.
[$sel:databaseName:PartnerIntegrationInputMessage'] :: PartnerIntegrationInputMessage -> Text
-- | The name of the partner that is authorized to send data.
[$sel:partnerName:PartnerIntegrationInputMessage'] :: PartnerIntegrationInputMessage -> Text
-- | Create a value of PartnerIntegrationInputMessage 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:accountId:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_accountId - The Amazon Web
-- Services account ID that owns the cluster.
--
-- $sel:clusterIdentifier:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_clusterIdentifier - The cluster
-- identifier of the cluster that receives data from the partner.
--
-- $sel:databaseName:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationInputMessage :: Text -> Text -> Text -> Text -> PartnerIntegrationInputMessage
-- | The Amazon Web Services account ID that owns the cluster.
partnerIntegrationInputMessage_accountId :: Lens' PartnerIntegrationInputMessage Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
partnerIntegrationInputMessage_clusterIdentifier :: Lens' PartnerIntegrationInputMessage Text
-- | The name of the database that receives data from the partner.
partnerIntegrationInputMessage_databaseName :: Lens' PartnerIntegrationInputMessage Text
-- | The name of the partner that is authorized to send data.
partnerIntegrationInputMessage_partnerName :: Lens' PartnerIntegrationInputMessage Text
-- | See: newPartnerIntegrationOutputMessage smart
-- constructor.
data PartnerIntegrationOutputMessage
PartnerIntegrationOutputMessage' :: Maybe Text -> Maybe Text -> PartnerIntegrationOutputMessage
-- | The name of the database that receives data from the partner.
[$sel:databaseName:PartnerIntegrationOutputMessage'] :: PartnerIntegrationOutputMessage -> Maybe Text
-- | The name of the partner that is authorized to send data.
[$sel:partnerName:PartnerIntegrationOutputMessage'] :: PartnerIntegrationOutputMessage -> Maybe Text
-- | Create a value of PartnerIntegrationOutputMessage 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:databaseName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage
-- | The name of the database that receives data from the partner.
partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the partner that is authorized to send data.
partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | Describes a pause cluster operation. For example, a scheduled action
-- to run the PauseCluster API operation.
--
-- See: newPauseClusterMessage smart constructor.
data PauseClusterMessage
PauseClusterMessage' :: Text -> PauseClusterMessage
-- | The identifier of the cluster to be paused.
[$sel:clusterIdentifier:PauseClusterMessage'] :: PauseClusterMessage -> Text
-- | Create a value of PauseClusterMessage 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:clusterIdentifier:PauseClusterMessage',
-- pauseClusterMessage_clusterIdentifier - The identifier of the
-- cluster to be paused.
newPauseClusterMessage :: Text -> PauseClusterMessage
-- | The identifier of the cluster to be paused.
pauseClusterMessage_clusterIdentifier :: Lens' PauseClusterMessage Text
-- | Describes cluster attributes that are in a pending state. A change to
-- one or more the attributes was requested and is in progress or will be
-- applied.
--
-- See: newPendingModifiedValues smart constructor.
data PendingModifiedValues
PendingModifiedValues' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Bool -> PendingModifiedValues
-- | The pending or in-progress change of the automated snapshot retention
-- period.
[$sel:automatedSnapshotRetentionPeriod:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Int
-- | The pending or in-progress change of the new identifier for the
-- cluster.
[$sel:clusterIdentifier:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The pending or in-progress change of the cluster type.
[$sel:clusterType:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The pending or in-progress change of the service version.
[$sel:clusterVersion:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The encryption type for a cluster. Possible values are: KMS and None.
[$sel:encryptionType:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
[$sel:enhancedVpcRouting:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Bool
-- | The name of the maintenance track that the cluster will change to
-- during the next maintenance window.
[$sel:maintenanceTrackName:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The pending or in-progress change of the admin user password for the
-- cluster.
[$sel:masterUserPassword:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The pending or in-progress change of the cluster's node type.
[$sel:nodeType:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Text
-- | The pending or in-progress change of the number of nodes in the
-- cluster.
[$sel:numberOfNodes:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Int
-- | The pending or in-progress change of the ability to connect to the
-- cluster from the public network.
[$sel:publiclyAccessible:PendingModifiedValues'] :: PendingModifiedValues -> Maybe Bool
-- | Create a value of PendingModifiedValues 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:automatedSnapshotRetentionPeriod:PendingModifiedValues',
-- pendingModifiedValues_automatedSnapshotRetentionPeriod - The
-- pending or in-progress change of the automated snapshot retention
-- period.
--
-- $sel:clusterIdentifier:PendingModifiedValues',
-- pendingModifiedValues_clusterIdentifier - The pending or
-- in-progress change of the new identifier for the cluster.
--
-- $sel:clusterType:PendingModifiedValues',
-- pendingModifiedValues_clusterType - The pending or in-progress
-- change of the cluster type.
--
-- $sel:clusterVersion:PendingModifiedValues',
-- pendingModifiedValues_clusterVersion - The pending or
-- in-progress change of the service version.
--
-- $sel:encryptionType:PendingModifiedValues',
-- pendingModifiedValues_encryptionType - The encryption type for
-- a cluster. Possible values are: KMS and None.
--
-- $sel:enhancedVpcRouting:PendingModifiedValues',
-- pendingModifiedValues_enhancedVpcRouting - An option that
-- specifies whether to create the cluster with enhanced VPC routing
-- enabled. To create a cluster that uses enhanced VPC routing, the
-- cluster must be in a VPC. For more information, see Enhanced VPC
-- Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- $sel:maintenanceTrackName:PendingModifiedValues',
-- pendingModifiedValues_maintenanceTrackName - The name of the
-- maintenance track that the cluster will change to during the next
-- maintenance window.
--
-- $sel:masterUserPassword:PendingModifiedValues',
-- pendingModifiedValues_masterUserPassword - The pending or
-- in-progress change of the admin user password for the cluster.
--
-- $sel:nodeType:PendingModifiedValues',
-- pendingModifiedValues_nodeType - The pending or in-progress
-- change of the cluster's node type.
--
-- $sel:numberOfNodes:PendingModifiedValues',
-- pendingModifiedValues_numberOfNodes - The pending or
-- in-progress change of the number of nodes in the cluster.
--
-- $sel:publiclyAccessible:PendingModifiedValues',
-- pendingModifiedValues_publiclyAccessible - The pending or
-- in-progress change of the ability to connect to the cluster from the
-- public network.
newPendingModifiedValues :: PendingModifiedValues
-- | The pending or in-progress change of the automated snapshot retention
-- period.
pendingModifiedValues_automatedSnapshotRetentionPeriod :: Lens' PendingModifiedValues (Maybe Int)
-- | The pending or in-progress change of the new identifier for the
-- cluster.
pendingModifiedValues_clusterIdentifier :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the cluster type.
pendingModifiedValues_clusterType :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the service version.
pendingModifiedValues_clusterVersion :: Lens' PendingModifiedValues (Maybe Text)
-- | The encryption type for a cluster. Possible values are: KMS and None.
pendingModifiedValues_encryptionType :: Lens' PendingModifiedValues (Maybe Text)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
pendingModifiedValues_enhancedVpcRouting :: Lens' PendingModifiedValues (Maybe Bool)
-- | The name of the maintenance track that the cluster will change to
-- during the next maintenance window.
pendingModifiedValues_maintenanceTrackName :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the admin user password for the
-- cluster.
pendingModifiedValues_masterUserPassword :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the cluster's node type.
pendingModifiedValues_nodeType :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the number of nodes in the
-- cluster.
pendingModifiedValues_numberOfNodes :: Lens' PendingModifiedValues (Maybe Int)
-- | The pending or in-progress change of the ability to connect to the
-- cluster from the public network.
pendingModifiedValues_publiclyAccessible :: Lens' PendingModifiedValues (Maybe Bool)
-- | Describes a recurring charge.
--
-- See: newRecurringCharge smart constructor.
data RecurringCharge
RecurringCharge' :: Maybe Double -> Maybe Text -> RecurringCharge
-- | The amount charged per the period of time specified by the recurring
-- charge frequency.
[$sel:recurringChargeAmount:RecurringCharge'] :: RecurringCharge -> Maybe Double
-- | The frequency at which the recurring charge amount is applied.
[$sel:recurringChargeFrequency:RecurringCharge'] :: RecurringCharge -> Maybe Text
-- | Create a value of RecurringCharge 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:recurringChargeAmount:RecurringCharge',
-- recurringCharge_recurringChargeAmount - The amount charged per
-- the period of time specified by the recurring charge frequency.
--
-- $sel:recurringChargeFrequency:RecurringCharge',
-- recurringCharge_recurringChargeFrequency - The frequency at
-- which the recurring charge amount is applied.
newRecurringCharge :: RecurringCharge
-- | The amount charged per the period of time specified by the recurring
-- charge frequency.
recurringCharge_recurringChargeAmount :: Lens' RecurringCharge (Maybe Double)
-- | The frequency at which the recurring charge amount is applied.
recurringCharge_recurringChargeFrequency :: Lens' RecurringCharge (Maybe Text)
-- | Describes a reserved node. You can call the
-- DescribeReservedNodeOfferings API to obtain the available reserved
-- node offerings.
--
-- See: newReservedNode smart constructor.
data ReservedNode
ReservedNode' :: Maybe Text -> Maybe Int -> Maybe Double -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [RecurringCharge] -> Maybe Text -> Maybe Text -> Maybe ReservedNodeOfferingType -> Maybe ISO8601 -> Maybe Text -> Maybe Double -> ReservedNode
-- | The currency code for the reserved cluster.
[$sel:currencyCode:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The duration of the node reservation in seconds.
[$sel:duration:ReservedNode'] :: ReservedNode -> Maybe Int
-- | The fixed cost Amazon Redshift charges you for this reserved node.
[$sel:fixedPrice:ReservedNode'] :: ReservedNode -> Maybe Double
-- | The number of reserved compute nodes.
[$sel:nodeCount:ReservedNode'] :: ReservedNode -> Maybe Int
-- | The node type of the reserved node.
[$sel:nodeType:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
[$sel:offeringType:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The recurring charges for the reserved node.
[$sel:recurringCharges:ReservedNode'] :: ReservedNode -> Maybe [RecurringCharge]
-- | The unique identifier for the reservation.
[$sel:reservedNodeId:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The identifier for the reserved node offering.
[$sel:reservedNodeOfferingId:ReservedNode'] :: ReservedNode -> Maybe Text
[$sel:reservedNodeOfferingType:ReservedNode'] :: ReservedNode -> Maybe ReservedNodeOfferingType
-- | The time the reservation started. You purchase a reserved node
-- offering for a duration. This is the start time of that duration.
[$sel:startTime:ReservedNode'] :: ReservedNode -> Maybe ISO8601
-- | The state of the reserved compute node.
--
-- Possible Values:
--
--
-- - pending-payment-This reserved node has recently been purchased,
-- and the sale has been approved, but payment has not yet been
-- confirmed.
-- - active-This reserved node is owned by the caller and is available
-- for use.
-- - payment-failed-Payment failed for the purchase attempt.
-- - retired-The reserved node is no longer available.
-- - exchanging-The owner is exchanging the reserved node for another
-- reserved node.
--
[$sel:state:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The hourly rate Amazon Redshift charges you for this reserved node.
[$sel:usagePrice:ReservedNode'] :: ReservedNode -> Maybe Double
-- | Create a value of ReservedNode 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:currencyCode:ReservedNode',
-- reservedNode_currencyCode - The currency code for the reserved
-- cluster.
--
-- $sel:duration:ReservedNode', reservedNode_duration - The
-- duration of the node reservation in seconds.
--
-- $sel:fixedPrice:ReservedNode', reservedNode_fixedPrice -
-- The fixed cost Amazon Redshift charges you for this reserved node.
--
-- $sel:nodeCount:ReservedNode', reservedNode_nodeCount -
-- The number of reserved compute nodes.
--
-- $sel:nodeType:ReservedNode', reservedNode_nodeType - The
-- node type of the reserved node.
--
-- $sel:offeringType:ReservedNode',
-- reservedNode_offeringType - The anticipated utilization of the
-- reserved node, as defined in the reserved node offering.
--
-- $sel:recurringCharges:ReservedNode',
-- reservedNode_recurringCharges - The recurring charges for the
-- reserved node.
--
-- $sel:reservedNodeId:ReservedNode',
-- reservedNode_reservedNodeId - The unique identifier for the
-- reservation.
--
-- $sel:reservedNodeOfferingId:ReservedNode',
-- reservedNode_reservedNodeOfferingId - The identifier for the
-- reserved node offering.
--
-- $sel:reservedNodeOfferingType:ReservedNode',
-- reservedNode_reservedNodeOfferingType -
--
-- $sel:startTime:ReservedNode', reservedNode_startTime -
-- The time the reservation started. You purchase a reserved node
-- offering for a duration. This is the start time of that duration.
--
-- $sel:state:ReservedNode', reservedNode_state - The state
-- of the reserved compute node.
--
-- Possible Values:
--
--
-- - pending-payment-This reserved node has recently been purchased,
-- and the sale has been approved, but payment has not yet been
-- confirmed.
-- - active-This reserved node is owned by the caller and is available
-- for use.
-- - payment-failed-Payment failed for the purchase attempt.
-- - retired-The reserved node is no longer available.
-- - exchanging-The owner is exchanging the reserved node for another
-- reserved node.
--
--
-- $sel:usagePrice:ReservedNode', reservedNode_usagePrice -
-- The hourly rate Amazon Redshift charges you for this reserved node.
newReservedNode :: ReservedNode
-- | The currency code for the reserved cluster.
reservedNode_currencyCode :: Lens' ReservedNode (Maybe Text)
-- | The duration of the node reservation in seconds.
reservedNode_duration :: Lens' ReservedNode (Maybe Int)
-- | The fixed cost Amazon Redshift charges you for this reserved node.
reservedNode_fixedPrice :: Lens' ReservedNode (Maybe Double)
-- | The number of reserved compute nodes.
reservedNode_nodeCount :: Lens' ReservedNode (Maybe Int)
-- | The node type of the reserved node.
reservedNode_nodeType :: Lens' ReservedNode (Maybe Text)
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
reservedNode_offeringType :: Lens' ReservedNode (Maybe Text)
-- | The recurring charges for the reserved node.
reservedNode_recurringCharges :: Lens' ReservedNode (Maybe [RecurringCharge])
-- | The unique identifier for the reservation.
reservedNode_reservedNodeId :: Lens' ReservedNode (Maybe Text)
-- | The identifier for the reserved node offering.
reservedNode_reservedNodeOfferingId :: Lens' ReservedNode (Maybe Text)
reservedNode_reservedNodeOfferingType :: Lens' ReservedNode (Maybe ReservedNodeOfferingType)
-- | The time the reservation started. You purchase a reserved node
-- offering for a duration. This is the start time of that duration.
reservedNode_startTime :: Lens' ReservedNode (Maybe UTCTime)
-- | The state of the reserved compute node.
--
-- Possible Values:
--
--
-- - pending-payment-This reserved node has recently been purchased,
-- and the sale has been approved, but payment has not yet been
-- confirmed.
-- - active-This reserved node is owned by the caller and is available
-- for use.
-- - payment-failed-Payment failed for the purchase attempt.
-- - retired-The reserved node is no longer available.
-- - exchanging-The owner is exchanging the reserved node for another
-- reserved node.
--
reservedNode_state :: Lens' ReservedNode (Maybe Text)
-- | The hourly rate Amazon Redshift charges you for this reserved node.
reservedNode_usagePrice :: Lens' ReservedNode (Maybe Double)
-- | Details for a reserved-node exchange. Examples include the node type
-- for a reserved node, the price for a node, the node's state, and other
-- details.
--
-- See: newReservedNodeConfigurationOption smart
-- constructor.
data ReservedNodeConfigurationOption
ReservedNodeConfigurationOption' :: Maybe ReservedNode -> Maybe Int -> Maybe ReservedNodeOffering -> ReservedNodeConfigurationOption
[$sel:sourceReservedNode:ReservedNodeConfigurationOption'] :: ReservedNodeConfigurationOption -> Maybe ReservedNode
-- | The target reserved-node count.
[$sel:targetReservedNodeCount:ReservedNodeConfigurationOption'] :: ReservedNodeConfigurationOption -> Maybe Int
[$sel:targetReservedNodeOffering:ReservedNodeConfigurationOption'] :: ReservedNodeConfigurationOption -> Maybe ReservedNodeOffering
-- | Create a value of ReservedNodeConfigurationOption 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:sourceReservedNode:ReservedNodeConfigurationOption',
-- reservedNodeConfigurationOption_sourceReservedNode -
-- Undocumented member.
--
-- $sel:targetReservedNodeCount:ReservedNodeConfigurationOption',
-- reservedNodeConfigurationOption_targetReservedNodeCount - The
-- target reserved-node count.
--
--
-- $sel:targetReservedNodeOffering:ReservedNodeConfigurationOption',
-- reservedNodeConfigurationOption_targetReservedNodeOffering -
-- Undocumented member.
newReservedNodeConfigurationOption :: ReservedNodeConfigurationOption
-- | Undocumented member.
reservedNodeConfigurationOption_sourceReservedNode :: Lens' ReservedNodeConfigurationOption (Maybe ReservedNode)
-- | The target reserved-node count.
reservedNodeConfigurationOption_targetReservedNodeCount :: Lens' ReservedNodeConfigurationOption (Maybe Int)
-- | Undocumented member.
reservedNodeConfigurationOption_targetReservedNodeOffering :: Lens' ReservedNodeConfigurationOption (Maybe ReservedNodeOffering)
-- | Reserved-node status details, such as the source reserved-node
-- identifier, the target reserved-node identifier, the node type, the
-- node count, and other details.
--
-- See: newReservedNodeExchangeStatus smart constructor.
data ReservedNodeExchangeStatus
ReservedNodeExchangeStatus' :: Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ReservedNodeExchangeStatusType -> Maybe Int -> Maybe Text -> Maybe Text -> ReservedNodeExchangeStatus
-- | A date and time that indicate when the reserved-node exchange was
-- requested.
[$sel:requestTime:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe ISO8601
-- | The identifier of the reserved-node exchange request.
[$sel:reservedNodeExchangeRequestId:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Text
-- | The source reserved-node count in the cluster.
[$sel:sourceReservedNodeCount:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Int
-- | The identifier of the source reserved node.
[$sel:sourceReservedNodeId:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Text
-- | The source reserved-node type, for example ds2.xlarge.
[$sel:sourceReservedNodeType:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Text
-- | The status of the reserved-node exchange request. Statuses include
-- in-progress and requested.
[$sel:status:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe ReservedNodeExchangeStatusType
-- | The count of target reserved nodes in the cluster.
[$sel:targetReservedNodeCount:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Int
-- | The identifier of the target reserved node offering.
[$sel:targetReservedNodeOfferingId:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Text
-- | The node type of the target reserved node, for example ra3.4xlarge.
[$sel:targetReservedNodeType:ReservedNodeExchangeStatus'] :: ReservedNodeExchangeStatus -> Maybe Text
-- | Create a value of ReservedNodeExchangeStatus 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:requestTime:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_requestTime - A date and time that
-- indicate when the reserved-node exchange was requested.
--
-- $sel:reservedNodeExchangeRequestId:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_reservedNodeExchangeRequestId - The
-- identifier of the reserved-node exchange request.
--
-- $sel:sourceReservedNodeCount:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_sourceReservedNodeCount - The source
-- reserved-node count in the cluster.
--
-- $sel:sourceReservedNodeId:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_sourceReservedNodeId - The
-- identifier of the source reserved node.
--
-- $sel:sourceReservedNodeType:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_sourceReservedNodeType - The source
-- reserved-node type, for example ds2.xlarge.
--
-- $sel:status:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_status - The status of the
-- reserved-node exchange request. Statuses include in-progress and
-- requested.
--
-- $sel:targetReservedNodeCount:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_targetReservedNodeCount - The count
-- of target reserved nodes in the cluster.
--
-- $sel:targetReservedNodeOfferingId:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_targetReservedNodeOfferingId - The
-- identifier of the target reserved node offering.
--
-- $sel:targetReservedNodeType:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_targetReservedNodeType - The node
-- type of the target reserved node, for example ra3.4xlarge.
newReservedNodeExchangeStatus :: ReservedNodeExchangeStatus
-- | A date and time that indicate when the reserved-node exchange was
-- requested.
reservedNodeExchangeStatus_requestTime :: Lens' ReservedNodeExchangeStatus (Maybe UTCTime)
-- | The identifier of the reserved-node exchange request.
reservedNodeExchangeStatus_reservedNodeExchangeRequestId :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The source reserved-node count in the cluster.
reservedNodeExchangeStatus_sourceReservedNodeCount :: Lens' ReservedNodeExchangeStatus (Maybe Int)
-- | The identifier of the source reserved node.
reservedNodeExchangeStatus_sourceReservedNodeId :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The source reserved-node type, for example ds2.xlarge.
reservedNodeExchangeStatus_sourceReservedNodeType :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The status of the reserved-node exchange request. Statuses include
-- in-progress and requested.
reservedNodeExchangeStatus_status :: Lens' ReservedNodeExchangeStatus (Maybe ReservedNodeExchangeStatusType)
-- | The count of target reserved nodes in the cluster.
reservedNodeExchangeStatus_targetReservedNodeCount :: Lens' ReservedNodeExchangeStatus (Maybe Int)
-- | The identifier of the target reserved node offering.
reservedNodeExchangeStatus_targetReservedNodeOfferingId :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The node type of the target reserved node, for example ra3.4xlarge.
reservedNodeExchangeStatus_targetReservedNodeType :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | Describes a reserved node offering.
--
-- See: newReservedNodeOffering smart constructor.
data ReservedNodeOffering
ReservedNodeOffering' :: Maybe Text -> Maybe Int -> Maybe Double -> Maybe Text -> Maybe Text -> Maybe [RecurringCharge] -> Maybe Text -> Maybe ReservedNodeOfferingType -> Maybe Double -> ReservedNodeOffering
-- | The currency code for the compute nodes offering.
[$sel:currencyCode:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Text
-- | The duration, in seconds, for which the offering will reserve the
-- node.
[$sel:duration:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Int
-- | The upfront fixed charge you will pay to purchase the specific
-- reserved node offering.
[$sel:fixedPrice:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Double
-- | The node type offered by the reserved node offering.
[$sel:nodeType:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Text
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
[$sel:offeringType:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Text
-- | The charge to your account regardless of whether you are creating any
-- clusters using the node offering. Recurring charges are only in effect
-- for heavy-utilization reserved nodes.
[$sel:recurringCharges:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe [RecurringCharge]
-- | The offering identifier.
[$sel:reservedNodeOfferingId:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Text
[$sel:reservedNodeOfferingType:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe ReservedNodeOfferingType
-- | The rate you are charged for each hour the cluster that is using the
-- offering is running.
[$sel:usagePrice:ReservedNodeOffering'] :: ReservedNodeOffering -> Maybe Double
-- | Create a value of ReservedNodeOffering 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:currencyCode:ReservedNodeOffering',
-- reservedNodeOffering_currencyCode - The currency code for the
-- compute nodes offering.
--
-- $sel:duration:ReservedNodeOffering',
-- reservedNodeOffering_duration - The duration, in seconds, for
-- which the offering will reserve the node.
--
-- $sel:fixedPrice:ReservedNodeOffering',
-- reservedNodeOffering_fixedPrice - The upfront fixed charge you
-- will pay to purchase the specific reserved node offering.
--
-- $sel:nodeType:ReservedNodeOffering',
-- reservedNodeOffering_nodeType - The node type offered by the
-- reserved node offering.
--
-- $sel:offeringType:ReservedNodeOffering',
-- reservedNodeOffering_offeringType - The anticipated utilization
-- of the reserved node, as defined in the reserved node offering.
--
-- $sel:recurringCharges:ReservedNodeOffering',
-- reservedNodeOffering_recurringCharges - The charge to your
-- account regardless of whether you are creating any clusters using the
-- node offering. Recurring charges are only in effect for
-- heavy-utilization reserved nodes.
--
-- $sel:reservedNodeOfferingId:ReservedNodeOffering',
-- reservedNodeOffering_reservedNodeOfferingId - The offering
-- identifier.
--
-- $sel:reservedNodeOfferingType:ReservedNodeOffering',
-- reservedNodeOffering_reservedNodeOfferingType -
--
-- $sel:usagePrice:ReservedNodeOffering',
-- reservedNodeOffering_usagePrice - The rate you are charged for
-- each hour the cluster that is using the offering is running.
newReservedNodeOffering :: ReservedNodeOffering
-- | The currency code for the compute nodes offering.
reservedNodeOffering_currencyCode :: Lens' ReservedNodeOffering (Maybe Text)
-- | The duration, in seconds, for which the offering will reserve the
-- node.
reservedNodeOffering_duration :: Lens' ReservedNodeOffering (Maybe Int)
-- | The upfront fixed charge you will pay to purchase the specific
-- reserved node offering.
reservedNodeOffering_fixedPrice :: Lens' ReservedNodeOffering (Maybe Double)
-- | The node type offered by the reserved node offering.
reservedNodeOffering_nodeType :: Lens' ReservedNodeOffering (Maybe Text)
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
reservedNodeOffering_offeringType :: Lens' ReservedNodeOffering (Maybe Text)
-- | The charge to your account regardless of whether you are creating any
-- clusters using the node offering. Recurring charges are only in effect
-- for heavy-utilization reserved nodes.
reservedNodeOffering_recurringCharges :: Lens' ReservedNodeOffering (Maybe [RecurringCharge])
-- | The offering identifier.
reservedNodeOffering_reservedNodeOfferingId :: Lens' ReservedNodeOffering (Maybe Text)
reservedNodeOffering_reservedNodeOfferingType :: Lens' ReservedNodeOffering (Maybe ReservedNodeOfferingType)
-- | The rate you are charged for each hour the cluster that is using the
-- offering is running.
reservedNodeOffering_usagePrice :: Lens' ReservedNodeOffering (Maybe Double)
-- | Describes a resize cluster operation. For example, a scheduled action
-- to run the ResizeCluster API operation.
--
-- See: newResizeClusterMessage smart constructor.
data ResizeClusterMessage
ResizeClusterMessage' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Text -> ResizeClusterMessage
-- | A boolean value indicating whether the resize operation is using the
-- classic resize process. If you don't provide this parameter or set the
-- value to false, the resize type is elastic.
[$sel:classic:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Bool
-- | The new cluster type for the specified cluster.
[$sel:clusterType:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Text
-- | The new node type for the nodes you are adding. If not specified, the
-- cluster's current node type is used.
[$sel:nodeType:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Text
-- | The new number of nodes for the cluster. If not specified, the
-- cluster's current number of nodes is used.
[$sel:numberOfNodes:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Int
-- | The identifier of the reserved node.
[$sel:reservedNodeId:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Text
-- | The identifier of the target reserved node offering.
[$sel:targetReservedNodeOfferingId:ResizeClusterMessage'] :: ResizeClusterMessage -> Maybe Text
-- | The unique identifier for the cluster to resize.
[$sel:clusterIdentifier:ResizeClusterMessage'] :: ResizeClusterMessage -> Text
-- | Create a value of ResizeClusterMessage 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:classic:ResizeClusterMessage',
-- resizeClusterMessage_classic - A boolean value indicating
-- whether the resize operation is using the classic resize process. If
-- you don't provide this parameter or set the value to false,
-- the resize type is elastic.
--
-- $sel:clusterType:ResizeClusterMessage',
-- resizeClusterMessage_clusterType - The new cluster type for the
-- specified cluster.
--
-- $sel:nodeType:ResizeClusterMessage',
-- resizeClusterMessage_nodeType - The new node type for the nodes
-- you are adding. If not specified, the cluster's current node type is
-- used.
--
-- $sel:numberOfNodes:ResizeClusterMessage',
-- resizeClusterMessage_numberOfNodes - The new number of nodes
-- for the cluster. If not specified, the cluster's current number of
-- nodes is used.
--
-- $sel:reservedNodeId:ResizeClusterMessage',
-- resizeClusterMessage_reservedNodeId - The identifier of the
-- reserved node.
--
-- $sel:targetReservedNodeOfferingId:ResizeClusterMessage',
-- resizeClusterMessage_targetReservedNodeOfferingId - The
-- identifier of the target reserved node offering.
--
-- $sel:clusterIdentifier:ResizeClusterMessage',
-- resizeClusterMessage_clusterIdentifier - The unique identifier
-- for the cluster to resize.
newResizeClusterMessage :: Text -> ResizeClusterMessage
-- | A boolean value indicating whether the resize operation is using the
-- classic resize process. If you don't provide this parameter or set the
-- value to false, the resize type is elastic.
resizeClusterMessage_classic :: Lens' ResizeClusterMessage (Maybe Bool)
-- | The new cluster type for the specified cluster.
resizeClusterMessage_clusterType :: Lens' ResizeClusterMessage (Maybe Text)
-- | The new node type for the nodes you are adding. If not specified, the
-- cluster's current node type is used.
resizeClusterMessage_nodeType :: Lens' ResizeClusterMessage (Maybe Text)
-- | The new number of nodes for the cluster. If not specified, the
-- cluster's current number of nodes is used.
resizeClusterMessage_numberOfNodes :: Lens' ResizeClusterMessage (Maybe Int)
-- | The identifier of the reserved node.
resizeClusterMessage_reservedNodeId :: Lens' ResizeClusterMessage (Maybe Text)
-- | The identifier of the target reserved node offering.
resizeClusterMessage_targetReservedNodeOfferingId :: Lens' ResizeClusterMessage (Maybe Text)
-- | The unique identifier for the cluster to resize.
resizeClusterMessage_clusterIdentifier :: Lens' ResizeClusterMessage Text
-- | Describes a resize operation.
--
-- See: newResizeInfo smart constructor.
data ResizeInfo
ResizeInfo' :: Maybe Bool -> Maybe Text -> ResizeInfo
-- | A boolean value indicating if the resize operation can be cancelled.
[$sel:allowCancelResize:ResizeInfo'] :: ResizeInfo -> Maybe Bool
-- | Returns the value ClassicResize.
[$sel:resizeType:ResizeInfo'] :: ResizeInfo -> Maybe Text
-- | Create a value of ResizeInfo 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:allowCancelResize:ResizeInfo',
-- resizeInfo_allowCancelResize - A boolean value indicating if
-- the resize operation can be cancelled.
--
-- $sel:resizeType:ResizeInfo', resizeInfo_resizeType -
-- Returns the value ClassicResize.
newResizeInfo :: ResizeInfo
-- | A boolean value indicating if the resize operation can be cancelled.
resizeInfo_allowCancelResize :: Lens' ResizeInfo (Maybe Bool)
-- | Returns the value ClassicResize.
resizeInfo_resizeType :: Lens' ResizeInfo (Maybe Text)
-- | Describes the result of a cluster resize operation.
--
-- See: newResizeProgressMessage smart constructor.
data ResizeProgressMessage
ResizeProgressMessage' :: Maybe Double -> Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Integer -> ResizeProgressMessage
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
[$sel:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Double
-- | The percent of data transferred from source cluster to target cluster.
[$sel:dataTransferProgressPercent:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Double
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
[$sel:elapsedTimeInSeconds:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
[$sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
[$sel:importTablesCompleted:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
[$sel:importTablesInProgress:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
[$sel:importTablesNotStarted:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | An optional string to provide additional details about the resize
-- action.
[$sel:message:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
[$sel:progressInMegaBytes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
[$sel:resizeType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
[$sel:status:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
[$sel:targetClusterType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
[$sel:targetEncryptionType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The node type that the cluster will have after the resize operation is
-- complete.
[$sel:targetNodeType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
[$sel:targetNumberOfNodes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Int
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
[$sel:totalResizeDataInMegaBytes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | Create a value of ResizeProgressMessage 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:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage',
-- resizeProgressMessage_avgResizeRateInMegaBytesPerSecond - The
-- average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
--
-- $sel:dataTransferProgressPercent:ResizeProgressMessage',
-- resizeProgressMessage_dataTransferProgressPercent - The percent
-- of data transferred from source cluster to target cluster.
--
-- $sel:elapsedTimeInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_elapsedTimeInSeconds - The amount of
-- seconds that have elapsed since the resize operation began. After the
-- resize operation completes, this value shows the total actual time, in
-- seconds, for the resize operation.
--
-- $sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_estimatedTimeToCompletionInSeconds - The
-- estimated time remaining, in seconds, until the resize operation is
-- complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
--
-- $sel:importTablesCompleted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesCompleted - The names of
-- tables that have been completely imported .
--
-- Valid Values: List of table names.
--
-- $sel:importTablesInProgress:ResizeProgressMessage',
-- resizeProgressMessage_importTablesInProgress - The names of
-- tables that are being currently imported.
--
-- Valid Values: List of table names.
--
-- $sel:importTablesNotStarted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesNotStarted - The names of
-- tables that have not been yet imported.
--
-- Valid Values: List of table names
--
-- $sel:message:ResizeProgressMessage',
-- resizeProgressMessage_message - An optional string to provide
-- additional details about the resize action.
--
-- $sel:progressInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_progressInMegaBytes - While the resize
-- operation is in progress, this value shows the current amount of data,
-- in megabytes, that has been processed so far. When the resize
-- operation is complete, this value shows the total amount of data, in
-- megabytes, on the cluster, which may be more or less than
-- TotalResizeDataInMegaBytes (the estimated total amount of data before
-- resize).
--
-- $sel:resizeType:ResizeProgressMessage',
-- resizeProgressMessage_resizeType - An enum with possible values
-- of ClassicResize and ElasticResize. These values
-- describe the type of resize operation being performed.
--
-- $sel:status:ResizeProgressMessage',
-- resizeProgressMessage_status - The status of the resize
-- operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
--
-- $sel:targetClusterType:ResizeProgressMessage',
-- resizeProgressMessage_targetClusterType - The cluster type
-- after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
--
-- $sel:targetEncryptionType:ResizeProgressMessage',
-- resizeProgressMessage_targetEncryptionType - The type of
-- encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
--
-- $sel:targetNodeType:ResizeProgressMessage',
-- resizeProgressMessage_targetNodeType - The node type that the
-- cluster will have after the resize operation is complete.
--
-- $sel:targetNumberOfNodes:ResizeProgressMessage',
-- resizeProgressMessage_targetNumberOfNodes - The number of nodes
-- that the cluster will have after the resize operation is complete.
--
-- $sel:totalResizeDataInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_totalResizeDataInMegaBytes - The
-- estimated total amount of data, in megabytes, on the cluster before
-- the resize operation began.
newResizeProgressMessage :: ResizeProgressMessage
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
resizeProgressMessage_avgResizeRateInMegaBytesPerSecond :: Lens' ResizeProgressMessage (Maybe Double)
-- | The percent of data transferred from source cluster to target cluster.
resizeProgressMessage_dataTransferProgressPercent :: Lens' ResizeProgressMessage (Maybe Double)
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
resizeProgressMessage_elapsedTimeInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
resizeProgressMessage_estimatedTimeToCompletionInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesCompleted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesInProgress :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
resizeProgressMessage_importTablesNotStarted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | An optional string to provide additional details about the resize
-- action.
resizeProgressMessage_message :: Lens' ResizeProgressMessage (Maybe Text)
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
resizeProgressMessage_progressInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
resizeProgressMessage_resizeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
resizeProgressMessage_status :: Lens' ResizeProgressMessage (Maybe Text)
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
resizeProgressMessage_targetClusterType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
resizeProgressMessage_targetEncryptionType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The node type that the cluster will have after the resize operation is
-- complete.
resizeProgressMessage_targetNodeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
resizeProgressMessage_targetNumberOfNodes :: Lens' ResizeProgressMessage (Maybe Int)
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
resizeProgressMessage_totalResizeDataInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | Describes the status of a cluster restore action. Returns null if the
-- cluster was not created by restoring a snapshot.
--
-- See: newRestoreStatus smart constructor.
data RestoreStatus
RestoreStatus' :: Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Text -> RestoreStatus
-- | The number of megabytes per second being transferred from the backup
-- storage. Returns the average rate for a completed backup. This field
-- is only updated when you restore to DC2 and DS2 node types.
[$sel:currentRestoreRateInMegaBytesPerSecond:RestoreStatus'] :: RestoreStatus -> Maybe Double
-- | The amount of time an in-progress restore has been running, or the
-- amount of time it took a completed restore to finish. This field is
-- only updated when you restore to DC2 and DS2 node types.
[$sel:elapsedTimeInSeconds:RestoreStatus'] :: RestoreStatus -> Maybe Integer
-- | The estimate of the time remaining before the restore will complete.
-- Returns 0 for a completed restore. This field is only updated when you
-- restore to DC2 and DS2 node types.
[$sel:estimatedTimeToCompletionInSeconds:RestoreStatus'] :: RestoreStatus -> Maybe Integer
-- | The number of megabytes that have been transferred from snapshot
-- storage. This field is only updated when you restore to DC2 and DS2
-- node types.
[$sel:progressInMegaBytes:RestoreStatus'] :: RestoreStatus -> Maybe Integer
-- | The size of the set of snapshot data used to restore the cluster. This
-- field is only updated when you restore to DC2 and DS2 node types.
[$sel:snapshotSizeInMegaBytes:RestoreStatus'] :: RestoreStatus -> Maybe Integer
-- | The status of the restore action. Returns starting, restoring,
-- completed, or failed.
[$sel:status:RestoreStatus'] :: RestoreStatus -> Maybe Text
-- | Create a value of RestoreStatus 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:currentRestoreRateInMegaBytesPerSecond:RestoreStatus',
-- restoreStatus_currentRestoreRateInMegaBytesPerSecond - The
-- number of megabytes per second being transferred from the backup
-- storage. Returns the average rate for a completed backup. This field
-- is only updated when you restore to DC2 and DS2 node types.
--
-- $sel:elapsedTimeInSeconds:RestoreStatus',
-- restoreStatus_elapsedTimeInSeconds - The amount of time an
-- in-progress restore has been running, or the amount of time it took a
-- completed restore to finish. This field is only updated when you
-- restore to DC2 and DS2 node types.
--
-- $sel:estimatedTimeToCompletionInSeconds:RestoreStatus',
-- restoreStatus_estimatedTimeToCompletionInSeconds - The estimate
-- of the time remaining before the restore will complete. Returns 0 for
-- a completed restore. This field is only updated when you restore to
-- DC2 and DS2 node types.
--
-- $sel:progressInMegaBytes:RestoreStatus',
-- restoreStatus_progressInMegaBytes - The number of megabytes
-- that have been transferred from snapshot storage. This field is only
-- updated when you restore to DC2 and DS2 node types.
--
-- $sel:snapshotSizeInMegaBytes:RestoreStatus',
-- restoreStatus_snapshotSizeInMegaBytes - The size of the set of
-- snapshot data used to restore the cluster. This field is only updated
-- when you restore to DC2 and DS2 node types.
--
-- $sel:status:RestoreStatus', restoreStatus_status - The
-- status of the restore action. Returns starting, restoring, completed,
-- or failed.
newRestoreStatus :: RestoreStatus
-- | The number of megabytes per second being transferred from the backup
-- storage. Returns the average rate for a completed backup. This field
-- is only updated when you restore to DC2 and DS2 node types.
restoreStatus_currentRestoreRateInMegaBytesPerSecond :: Lens' RestoreStatus (Maybe Double)
-- | The amount of time an in-progress restore has been running, or the
-- amount of time it took a completed restore to finish. This field is
-- only updated when you restore to DC2 and DS2 node types.
restoreStatus_elapsedTimeInSeconds :: Lens' RestoreStatus (Maybe Integer)
-- | The estimate of the time remaining before the restore will complete.
-- Returns 0 for a completed restore. This field is only updated when you
-- restore to DC2 and DS2 node types.
restoreStatus_estimatedTimeToCompletionInSeconds :: Lens' RestoreStatus (Maybe Integer)
-- | The number of megabytes that have been transferred from snapshot
-- storage. This field is only updated when you restore to DC2 and DS2
-- node types.
restoreStatus_progressInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | The size of the set of snapshot data used to restore the cluster. This
-- field is only updated when you restore to DC2 and DS2 node types.
restoreStatus_snapshotSizeInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | The status of the restore action. Returns starting, restoring,
-- completed, or failed.
restoreStatus_status :: Lens' RestoreStatus (Maybe Text)
-- | Describes a resume cluster operation. For example, a scheduled action
-- to run the ResumeCluster API operation.
--
-- See: newResumeClusterMessage smart constructor.
data ResumeClusterMessage
ResumeClusterMessage' :: Text -> ResumeClusterMessage
-- | The identifier of the cluster to be resumed.
[$sel:clusterIdentifier:ResumeClusterMessage'] :: ResumeClusterMessage -> Text
-- | Create a value of ResumeClusterMessage 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:clusterIdentifier:ResumeClusterMessage',
-- resumeClusterMessage_clusterIdentifier - The identifier of the
-- cluster to be resumed.
newResumeClusterMessage :: Text -> ResumeClusterMessage
-- | The identifier of the cluster to be resumed.
resumeClusterMessage_clusterIdentifier :: Lens' ResumeClusterMessage Text
-- | Describes a RevisionTarget.
--
-- See: newRevisionTarget smart constructor.
data RevisionTarget
RevisionTarget' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> RevisionTarget
-- | A unique string that identifies the version to update the cluster to.
-- You can use this value in ModifyClusterDbRevision.
[$sel:databaseRevision:RevisionTarget'] :: RevisionTarget -> Maybe Text
-- | The date on which the database revision was released.
[$sel:databaseRevisionReleaseDate:RevisionTarget'] :: RevisionTarget -> Maybe ISO8601
-- | A string that describes the changes and features that will be applied
-- to the cluster when it is updated to the corresponding
-- ClusterDbRevision.
[$sel:description:RevisionTarget'] :: RevisionTarget -> Maybe Text
-- | Create a value of RevisionTarget 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:databaseRevision:RevisionTarget',
-- revisionTarget_databaseRevision - A unique string that
-- identifies the version to update the cluster to. You can use this
-- value in ModifyClusterDbRevision.
--
-- $sel:databaseRevisionReleaseDate:RevisionTarget',
-- revisionTarget_databaseRevisionReleaseDate - The date on which
-- the database revision was released.
--
-- $sel:description:RevisionTarget',
-- revisionTarget_description - A string that describes the
-- changes and features that will be applied to the cluster when it is
-- updated to the corresponding ClusterDbRevision.
newRevisionTarget :: RevisionTarget
-- | A unique string that identifies the version to update the cluster to.
-- You can use this value in ModifyClusterDbRevision.
revisionTarget_databaseRevision :: Lens' RevisionTarget (Maybe Text)
-- | The date on which the database revision was released.
revisionTarget_databaseRevisionReleaseDate :: Lens' RevisionTarget (Maybe UTCTime)
-- | A string that describes the changes and features that will be applied
-- to the cluster when it is updated to the corresponding
-- ClusterDbRevision.
revisionTarget_description :: Lens' RevisionTarget (Maybe Text)
-- | Describes a scheduled action. You can use a scheduled action to
-- trigger some Amazon Redshift API operations on a schedule. For
-- information about which API operations can be scheduled, see
-- ScheduledActionType.
--
-- See: newScheduledAction smart constructor.
data ScheduledAction
ScheduledAction' :: Maybe ISO8601 -> Maybe Text -> Maybe [ISO8601] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionState -> Maybe ScheduledActionType -> ScheduledAction
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
[$sel:endTime:ScheduledAction'] :: ScheduledAction -> Maybe ISO8601
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
[$sel:iamRole:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | List of times when the scheduled action will run.
[$sel:nextInvocations:ScheduledAction'] :: ScheduledAction -> Maybe [ISO8601]
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
[$sel:schedule:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The description of the scheduled action.
[$sel:scheduledActionDescription:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The name of the scheduled action.
[$sel:scheduledActionName:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
[$sel:startTime:ScheduledAction'] :: ScheduledAction -> Maybe ISO8601
-- | The state of the scheduled action. For example, DISABLED.
[$sel:state:ScheduledAction'] :: ScheduledAction -> Maybe ScheduledActionState
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
[$sel:targetAction:ScheduledAction'] :: ScheduledAction -> Maybe ScheduledActionType
-- | Create a value of ScheduledAction 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:ScheduledAction', scheduledAction_endTime -
-- The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
--
-- $sel:iamRole:ScheduledAction', scheduledAction_iamRole -
-- The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- $sel:nextInvocations:ScheduledAction',
-- scheduledAction_nextInvocations - List of times when the
-- scheduled action will run.
--
-- $sel:schedule:ScheduledAction', scheduledAction_schedule
-- - The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
--
-- $sel:scheduledActionDescription:ScheduledAction',
-- scheduledAction_scheduledActionDescription - The description of
-- the scheduled action.
--
-- $sel:scheduledActionName:ScheduledAction',
-- scheduledAction_scheduledActionName - The name of the scheduled
-- action.
--
-- $sel:startTime:ScheduledAction',
-- scheduledAction_startTime - The start time in UTC when the
-- schedule is active. Before this time, the scheduled action does not
-- trigger.
--
-- $sel:state:ScheduledAction', scheduledAction_state - The
-- state of the scheduled action. For example, DISABLED.
--
-- $sel:targetAction:ScheduledAction',
-- scheduledAction_targetAction - A JSON format string of the
-- Amazon Redshift API operation with input parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
newScheduledAction :: ScheduledAction
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
scheduledAction_endTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
scheduledAction_iamRole :: Lens' ScheduledAction (Maybe Text)
-- | List of times when the scheduled action will run.
scheduledAction_nextInvocations :: Lens' ScheduledAction (Maybe [UTCTime])
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
scheduledAction_schedule :: Lens' ScheduledAction (Maybe Text)
-- | The description of the scheduled action.
scheduledAction_scheduledActionDescription :: Lens' ScheduledAction (Maybe Text)
-- | The name of the scheduled action.
scheduledAction_scheduledActionName :: Lens' ScheduledAction (Maybe Text)
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
scheduledAction_startTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The state of the scheduled action. For example, DISABLED.
scheduledAction_state :: Lens' ScheduledAction (Maybe ScheduledActionState)
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
scheduledAction_targetAction :: Lens' ScheduledAction (Maybe ScheduledActionType)
-- | A set of elements to filter the returned scheduled actions.
--
-- See: newScheduledActionFilter smart constructor.
data ScheduledActionFilter
ScheduledActionFilter' :: ScheduledActionFilterName -> [Text] -> ScheduledActionFilter
-- | The type of element to filter.
[$sel:name:ScheduledActionFilter'] :: ScheduledActionFilter -> ScheduledActionFilterName
-- | List of values. Compare if the value (of type defined by
-- Name) equals an item in the list of scheduled actions.
[$sel:values:ScheduledActionFilter'] :: ScheduledActionFilter -> [Text]
-- | Create a value of ScheduledActionFilter 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:name:ScheduledActionFilter',
-- scheduledActionFilter_name - The type of element to filter.
--
-- $sel:values:ScheduledActionFilter',
-- scheduledActionFilter_values - List of values. Compare if the
-- value (of type defined by Name) equals an item in the list of
-- scheduled actions.
newScheduledActionFilter :: ScheduledActionFilterName -> ScheduledActionFilter
-- | The type of element to filter.
scheduledActionFilter_name :: Lens' ScheduledActionFilter ScheduledActionFilterName
-- | List of values. Compare if the value (of type defined by
-- Name) equals an item in the list of scheduled actions.
scheduledActionFilter_values :: Lens' ScheduledActionFilter [Text]
-- | The action type that specifies an Amazon Redshift API operation that
-- is supported by the Amazon Redshift scheduler.
--
-- See: newScheduledActionType smart constructor.
data ScheduledActionType
ScheduledActionType' :: Maybe PauseClusterMessage -> Maybe ResizeClusterMessage -> Maybe ResumeClusterMessage -> ScheduledActionType
-- | An action that runs a PauseCluster API operation.
[$sel:pauseCluster:ScheduledActionType'] :: ScheduledActionType -> Maybe PauseClusterMessage
-- | An action that runs a ResizeCluster API operation.
[$sel:resizeCluster:ScheduledActionType'] :: ScheduledActionType -> Maybe ResizeClusterMessage
-- | An action that runs a ResumeCluster API operation.
[$sel:resumeCluster:ScheduledActionType'] :: ScheduledActionType -> Maybe ResumeClusterMessage
-- | Create a value of ScheduledActionType 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:pauseCluster:ScheduledActionType',
-- scheduledActionType_pauseCluster - An action that runs a
-- PauseCluster API operation.
--
-- $sel:resizeCluster:ScheduledActionType',
-- scheduledActionType_resizeCluster - An action that runs a
-- ResizeCluster API operation.
--
-- $sel:resumeCluster:ScheduledActionType',
-- scheduledActionType_resumeCluster - An action that runs a
-- ResumeCluster API operation.
newScheduledActionType :: ScheduledActionType
-- | An action that runs a PauseCluster API operation.
scheduledActionType_pauseCluster :: Lens' ScheduledActionType (Maybe PauseClusterMessage)
-- | An action that runs a ResizeCluster API operation.
scheduledActionType_resizeCluster :: Lens' ScheduledActionType (Maybe ResizeClusterMessage)
-- | An action that runs a ResumeCluster API operation.
scheduledActionType_resumeCluster :: Lens' ScheduledActionType (Maybe ResumeClusterMessage)
-- | Describes a snapshot.
--
-- See: newSnapshot smart constructor.
data Snapshot
Snapshot' :: Maybe [AccountWithRestoreAccess] -> Maybe Double -> Maybe Text -> Maybe Double -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe Text -> Maybe Integer -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe Double -> Maybe Text -> Snapshot
-- | A list of the Amazon Web Services accounts authorized to restore the
-- snapshot. Returns null if no accounts are authorized. Visible
-- only to the snapshot owner.
[$sel:accountsWithRestoreAccess:Snapshot'] :: Snapshot -> Maybe [AccountWithRestoreAccess]
-- | The size of the incremental backup.
[$sel:actualIncrementalBackupSizeInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double
-- | The Availability Zone in which the cluster was created.
[$sel:availabilityZone:Snapshot'] :: Snapshot -> Maybe Text
-- | The number of megabytes that have been transferred to the snapshot
-- backup.
[$sel:backupProgressInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double
-- | The time (UTC) when the cluster was originally created.
[$sel:clusterCreateTime:Snapshot'] :: Snapshot -> Maybe ISO8601
-- | The identifier of the cluster for which the snapshot was taken.
[$sel:clusterIdentifier:Snapshot'] :: Snapshot -> Maybe Text
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
[$sel:clusterVersion:Snapshot'] :: Snapshot -> Maybe Text
-- | The number of megabytes per second being transferred to the snapshot
-- backup. Returns 0 for a completed backup.
[$sel:currentBackupRateInMegaBytesPerSecond:Snapshot'] :: Snapshot -> Maybe Double
-- | The name of the database that was created when the cluster was
-- created.
[$sel:dbName:Snapshot'] :: Snapshot -> Maybe Text
-- | The amount of time an in-progress snapshot backup has been running, or
-- the amount of time it took a completed backup to finish.
[$sel:elapsedTimeInSeconds:Snapshot'] :: Snapshot -> Maybe Integer
-- | If true, the data in the snapshot is encrypted at rest.
[$sel:encrypted:Snapshot'] :: Snapshot -> Maybe Bool
-- | A boolean that indicates whether the snapshot data is encrypted using
-- the HSM keys of the source cluster. true indicates that the
-- data is encrypted using HSM keys.
[$sel:encryptedWithHSM:Snapshot'] :: Snapshot -> Maybe Bool
-- | The cluster version of the cluster used to create the snapshot. For
-- example, 1.0.15503.
[$sel:engineFullVersion:Snapshot'] :: Snapshot -> Maybe Text
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
[$sel:enhancedVpcRouting:Snapshot'] :: Snapshot -> Maybe Bool
-- | The estimate of the time remaining before the snapshot backup will
-- complete. Returns 0 for a completed backup.
[$sel:estimatedSecondsToCompletion:Snapshot'] :: Snapshot -> Maybe Integer
-- | The Key Management Service (KMS) key ID of the encryption key that was
-- used to encrypt data in the cluster from which the snapshot was taken.
[$sel:kmsKeyId:Snapshot'] :: Snapshot -> Maybe Text
-- | The name of the maintenance track for the snapshot.
[$sel:maintenanceTrackName:Snapshot'] :: Snapshot -> Maybe Text
-- | The number of days until a manual snapshot will pass its retention
-- period.
[$sel:manualSnapshotRemainingDays:Snapshot'] :: Snapshot -> Maybe Int
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
[$sel:manualSnapshotRetentionPeriod:Snapshot'] :: Snapshot -> Maybe Int
-- | The admin user name for the cluster.
[$sel:masterUsername:Snapshot'] :: Snapshot -> Maybe Text
-- | The node type of the nodes in the cluster.
[$sel:nodeType:Snapshot'] :: Snapshot -> Maybe Text
-- | The number of nodes in the cluster.
[$sel:numberOfNodes:Snapshot'] :: Snapshot -> Maybe Int
-- | For manual snapshots, the Amazon Web Services account used to create
-- or copy the snapshot. For automatic snapshots, the owner of the
-- cluster. The owner can perform all snapshot actions, such as sharing a
-- manual snapshot.
[$sel:ownerAccount:Snapshot'] :: Snapshot -> Maybe Text
-- | The port that the cluster is listening on.
[$sel:port:Snapshot'] :: Snapshot -> Maybe Int
-- | The list of node types that this cluster snapshot is able to restore
-- into.
[$sel:restorableNodeTypes:Snapshot'] :: Snapshot -> Maybe [Text]
-- | The time (in UTC format) when Amazon Redshift began the snapshot. A
-- snapshot contains a copy of the cluster data as of this exact time.
[$sel:snapshotCreateTime:Snapshot'] :: Snapshot -> Maybe ISO8601
-- | The snapshot identifier that is provided in the request.
[$sel:snapshotIdentifier:Snapshot'] :: Snapshot -> Maybe Text
-- | A timestamp representing the start of the retention period for the
-- snapshot.
[$sel:snapshotRetentionStartTime:Snapshot'] :: Snapshot -> Maybe ISO8601
-- | The snapshot type. Snapshots created using CreateClusterSnapshot and
-- CopyClusterSnapshot are of type "manual".
[$sel:snapshotType:Snapshot'] :: Snapshot -> Maybe Text
-- | The source region from which the snapshot was copied.
[$sel:sourceRegion:Snapshot'] :: Snapshot -> Maybe Text
-- | The snapshot status. The value of the status depends on the API
-- operation used:
--
--
-- - CreateClusterSnapshot and CopyClusterSnapshot returns status as
-- "creating".
-- - DescribeClusterSnapshots returns status as "creating",
-- "available", "final snapshot", or "failed".
-- - DeleteClusterSnapshot returns status as "deleted".
--
[$sel:status:Snapshot'] :: Snapshot -> Maybe Text
-- | The list of tags for the cluster snapshot.
[$sel:tags:Snapshot'] :: Snapshot -> Maybe [Tag]
-- | The size of the complete set of backup data that would be used to
-- restore the cluster.
[$sel:totalBackupSizeInMegaBytes:Snapshot'] :: Snapshot -> Maybe Double
-- | The VPC identifier of the cluster if the snapshot is from a cluster in
-- a VPC. Otherwise, this field is not in the output.
[$sel:vpcId:Snapshot'] :: Snapshot -> Maybe Text
-- | 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:accountsWithRestoreAccess:Snapshot',
-- snapshot_accountsWithRestoreAccess - A list of the Amazon Web
-- Services accounts authorized to restore the snapshot. Returns
-- null if no accounts are authorized. Visible only to the
-- snapshot owner.
--
-- $sel:actualIncrementalBackupSizeInMegaBytes:Snapshot',
-- snapshot_actualIncrementalBackupSizeInMegaBytes - The size of
-- the incremental backup.
--
-- $sel:availabilityZone:Snapshot',
-- snapshot_availabilityZone - The Availability Zone in which the
-- cluster was created.
--
-- $sel:backupProgressInMegaBytes:Snapshot',
-- snapshot_backupProgressInMegaBytes - The number of megabytes
-- that have been transferred to the snapshot backup.
--
-- $sel:clusterCreateTime:Snapshot',
-- snapshot_clusterCreateTime - The time (UTC) when the cluster
-- was originally created.
--
-- $sel:clusterIdentifier:Snapshot',
-- snapshot_clusterIdentifier - The identifier of the cluster for
-- which the snapshot was taken.
--
-- $sel:clusterVersion:Snapshot', snapshot_clusterVersion -
-- The version ID of the Amazon Redshift engine that is running on the
-- cluster.
--
-- $sel:currentBackupRateInMegaBytesPerSecond:Snapshot',
-- snapshot_currentBackupRateInMegaBytesPerSecond - The number of
-- megabytes per second being transferred to the snapshot backup. Returns
-- 0 for a completed backup.
--
-- $sel:dbName:Snapshot', snapshot_dbName - The name of the
-- database that was created when the cluster was created.
--
-- $sel:elapsedTimeInSeconds:Snapshot',
-- snapshot_elapsedTimeInSeconds - The amount of time an
-- in-progress snapshot backup has been running, or the amount of time it
-- took a completed backup to finish.
--
-- $sel:encrypted:Snapshot', snapshot_encrypted - If
-- true, the data in the snapshot is encrypted at rest.
--
-- $sel:encryptedWithHSM:Snapshot',
-- snapshot_encryptedWithHSM - A boolean that indicates whether
-- the snapshot data is encrypted using the HSM keys of the source
-- cluster. true indicates that the data is encrypted using HSM
-- keys.
--
-- $sel:engineFullVersion:Snapshot',
-- snapshot_engineFullVersion - The cluster version of the cluster
-- used to create the snapshot. For example, 1.0.15503.
--
-- $sel:enhancedVpcRouting:Snapshot',
-- snapshot_enhancedVpcRouting - An option that specifies whether
-- to create the cluster with enhanced VPC routing enabled. To create a
-- cluster that uses enhanced VPC routing, the cluster must be in a VPC.
-- For more information, see Enhanced VPC Routing in the Amazon
-- Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- $sel:estimatedSecondsToCompletion:Snapshot',
-- snapshot_estimatedSecondsToCompletion - The estimate of the
-- time remaining before the snapshot backup will complete. Returns
-- 0 for a completed backup.
--
-- $sel:kmsKeyId:Snapshot', snapshot_kmsKeyId - The Key
-- Management Service (KMS) key ID of the encryption key that was used to
-- encrypt data in the cluster from which the snapshot was taken.
--
-- $sel:maintenanceTrackName:Snapshot',
-- snapshot_maintenanceTrackName - The name of the maintenance
-- track for the snapshot.
--
-- $sel:manualSnapshotRemainingDays:Snapshot',
-- snapshot_manualSnapshotRemainingDays - The number of days until
-- a manual snapshot will pass its retention period.
--
-- $sel:manualSnapshotRetentionPeriod:Snapshot',
-- snapshot_manualSnapshotRetentionPeriod - The number of days
-- that a manual snapshot is retained. If the value is -1, the manual
-- snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- $sel:masterUsername:Snapshot', snapshot_masterUsername -
-- The admin user name for the cluster.
--
-- $sel:nodeType:Snapshot', snapshot_nodeType - The node
-- type of the nodes in the cluster.
--
-- $sel:numberOfNodes:Snapshot', snapshot_numberOfNodes -
-- The number of nodes in the cluster.
--
-- $sel:ownerAccount:Snapshot', snapshot_ownerAccount - For
-- manual snapshots, the Amazon Web Services account used to create or
-- copy the snapshot. For automatic snapshots, the owner of the cluster.
-- The owner can perform all snapshot actions, such as sharing a manual
-- snapshot.
--
-- $sel:port:Snapshot', snapshot_port - The port that the
-- cluster is listening on.
--
-- $sel:restorableNodeTypes:Snapshot',
-- snapshot_restorableNodeTypes - The list of node types that this
-- cluster snapshot is able to restore into.
--
-- $sel:snapshotCreateTime:Snapshot',
-- snapshot_snapshotCreateTime - The time (in UTC format) when
-- Amazon Redshift began the snapshot. A snapshot contains a copy of the
-- cluster data as of this exact time.
--
-- $sel:snapshotIdentifier:Snapshot',
-- snapshot_snapshotIdentifier - The snapshot identifier that is
-- provided in the request.
--
-- $sel:snapshotRetentionStartTime:Snapshot',
-- snapshot_snapshotRetentionStartTime - A timestamp representing
-- the start of the retention period for the snapshot.
--
-- $sel:snapshotType:Snapshot', snapshot_snapshotType - The
-- snapshot type. Snapshots created using CreateClusterSnapshot and
-- CopyClusterSnapshot are of type "manual".
--
-- $sel:sourceRegion:Snapshot', snapshot_sourceRegion - The
-- source region from which the snapshot was copied.
--
-- $sel:status:Snapshot', snapshot_status - The snapshot
-- status. The value of the status depends on the API operation used:
--
--
-- - CreateClusterSnapshot and CopyClusterSnapshot returns status as
-- "creating".
-- - DescribeClusterSnapshots returns status as "creating",
-- "available", "final snapshot", or "failed".
-- - DeleteClusterSnapshot returns status as "deleted".
--
--
-- $sel:tags:Snapshot', snapshot_tags - The list of tags
-- for the cluster snapshot.
--
-- $sel:totalBackupSizeInMegaBytes:Snapshot',
-- snapshot_totalBackupSizeInMegaBytes - The size of the complete
-- set of backup data that would be used to restore the cluster.
--
-- $sel:vpcId:Snapshot', snapshot_vpcId - The VPC
-- identifier of the cluster if the snapshot is from a cluster in a VPC.
-- Otherwise, this field is not in the output.
newSnapshot :: Snapshot
-- | A list of the Amazon Web Services accounts authorized to restore the
-- snapshot. Returns null if no accounts are authorized. Visible
-- only to the snapshot owner.
snapshot_accountsWithRestoreAccess :: Lens' Snapshot (Maybe [AccountWithRestoreAccess])
-- | The size of the incremental backup.
snapshot_actualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The Availability Zone in which the cluster was created.
snapshot_availabilityZone :: Lens' Snapshot (Maybe Text)
-- | The number of megabytes that have been transferred to the snapshot
-- backup.
snapshot_backupProgressInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The time (UTC) when the cluster was originally created.
snapshot_clusterCreateTime :: Lens' Snapshot (Maybe UTCTime)
-- | The identifier of the cluster for which the snapshot was taken.
snapshot_clusterIdentifier :: Lens' Snapshot (Maybe Text)
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
snapshot_clusterVersion :: Lens' Snapshot (Maybe Text)
-- | The number of megabytes per second being transferred to the snapshot
-- backup. Returns 0 for a completed backup.
snapshot_currentBackupRateInMegaBytesPerSecond :: Lens' Snapshot (Maybe Double)
-- | The name of the database that was created when the cluster was
-- created.
snapshot_dbName :: Lens' Snapshot (Maybe Text)
-- | The amount of time an in-progress snapshot backup has been running, or
-- the amount of time it took a completed backup to finish.
snapshot_elapsedTimeInSeconds :: Lens' Snapshot (Maybe Integer)
-- | If true, the data in the snapshot is encrypted at rest.
snapshot_encrypted :: Lens' Snapshot (Maybe Bool)
-- | A boolean that indicates whether the snapshot data is encrypted using
-- the HSM keys of the source cluster. true indicates that the
-- data is encrypted using HSM keys.
snapshot_encryptedWithHSM :: Lens' Snapshot (Maybe Bool)
-- | The cluster version of the cluster used to create the snapshot. For
-- example, 1.0.15503.
snapshot_engineFullVersion :: Lens' Snapshot (Maybe Text)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
snapshot_enhancedVpcRouting :: Lens' Snapshot (Maybe Bool)
-- | The estimate of the time remaining before the snapshot backup will
-- complete. Returns 0 for a completed backup.
snapshot_estimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer)
-- | The Key Management Service (KMS) key ID of the encryption key that was
-- used to encrypt data in the cluster from which the snapshot was taken.
snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text)
-- | The name of the maintenance track for the snapshot.
snapshot_maintenanceTrackName :: Lens' Snapshot (Maybe Text)
-- | The number of days until a manual snapshot will pass its retention
-- period.
snapshot_manualSnapshotRemainingDays :: Lens' Snapshot (Maybe Int)
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
snapshot_manualSnapshotRetentionPeriod :: Lens' Snapshot (Maybe Int)
-- | The admin user name for the cluster.
snapshot_masterUsername :: Lens' Snapshot (Maybe Text)
-- | The node type of the nodes in the cluster.
snapshot_nodeType :: Lens' Snapshot (Maybe Text)
-- | The number of nodes in the cluster.
snapshot_numberOfNodes :: Lens' Snapshot (Maybe Int)
-- | For manual snapshots, the Amazon Web Services account used to create
-- or copy the snapshot. For automatic snapshots, the owner of the
-- cluster. The owner can perform all snapshot actions, such as sharing a
-- manual snapshot.
snapshot_ownerAccount :: Lens' Snapshot (Maybe Text)
-- | The port that the cluster is listening on.
snapshot_port :: Lens' Snapshot (Maybe Int)
-- | The list of node types that this cluster snapshot is able to restore
-- into.
snapshot_restorableNodeTypes :: Lens' Snapshot (Maybe [Text])
-- | The time (in UTC format) when Amazon Redshift began the snapshot. A
-- snapshot contains a copy of the cluster data as of this exact time.
snapshot_snapshotCreateTime :: Lens' Snapshot (Maybe UTCTime)
-- | The snapshot identifier that is provided in the request.
snapshot_snapshotIdentifier :: Lens' Snapshot (Maybe Text)
-- | A timestamp representing the start of the retention period for the
-- snapshot.
snapshot_snapshotRetentionStartTime :: Lens' Snapshot (Maybe UTCTime)
-- | The snapshot type. Snapshots created using CreateClusterSnapshot and
-- CopyClusterSnapshot are of type "manual".
snapshot_snapshotType :: Lens' Snapshot (Maybe Text)
-- | The source region from which the snapshot was copied.
snapshot_sourceRegion :: Lens' Snapshot (Maybe Text)
-- | The snapshot status. The value of the status depends on the API
-- operation used:
--
--
-- - CreateClusterSnapshot and CopyClusterSnapshot returns status as
-- "creating".
-- - DescribeClusterSnapshots returns status as "creating",
-- "available", "final snapshot", or "failed".
-- - DeleteClusterSnapshot returns status as "deleted".
--
snapshot_status :: Lens' Snapshot (Maybe Text)
-- | The list of tags for the cluster snapshot.
snapshot_tags :: Lens' Snapshot (Maybe [Tag])
-- | The size of the complete set of backup data that would be used to
-- restore the cluster.
snapshot_totalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The VPC identifier of the cluster if the snapshot is from a cluster in
-- a VPC. Otherwise, this field is not in the output.
snapshot_vpcId :: Lens' Snapshot (Maybe Text)
-- | The snapshot copy grant that grants Amazon Redshift permission to
-- encrypt copied snapshots with the specified encrypted symmetric key
-- from Amazon Web Services KMS in the destination region.
--
-- For more information about managing snapshot copy grants, go to
-- Amazon Redshift Database Encryption in the Amazon Redshift
-- Cluster Management Guide.
--
-- See: newSnapshotCopyGrant smart constructor.
data SnapshotCopyGrant
SnapshotCopyGrant' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> SnapshotCopyGrant
-- | The unique identifier of the encrypted symmetric key in Amazon Web
-- Services KMS to which Amazon Redshift is granted permission.
[$sel:kmsKeyId:SnapshotCopyGrant'] :: SnapshotCopyGrant -> Maybe Text
-- | The name of the snapshot copy grant.
[$sel:snapshotCopyGrantName:SnapshotCopyGrant'] :: SnapshotCopyGrant -> Maybe Text
-- | A list of tag instances.
[$sel:tags:SnapshotCopyGrant'] :: SnapshotCopyGrant -> Maybe [Tag]
-- | Create a value of SnapshotCopyGrant 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:kmsKeyId:SnapshotCopyGrant',
-- snapshotCopyGrant_kmsKeyId - The unique identifier of the
-- encrypted symmetric key in Amazon Web Services KMS to which Amazon
-- Redshift is granted permission.
--
-- $sel:snapshotCopyGrantName:SnapshotCopyGrant',
-- snapshotCopyGrant_snapshotCopyGrantName - The name of the
-- snapshot copy grant.
--
-- $sel:tags:SnapshotCopyGrant', snapshotCopyGrant_tags - A
-- list of tag instances.
newSnapshotCopyGrant :: SnapshotCopyGrant
-- | The unique identifier of the encrypted symmetric key in Amazon Web
-- Services KMS to which Amazon Redshift is granted permission.
snapshotCopyGrant_kmsKeyId :: Lens' SnapshotCopyGrant (Maybe Text)
-- | The name of the snapshot copy grant.
snapshotCopyGrant_snapshotCopyGrantName :: Lens' SnapshotCopyGrant (Maybe Text)
-- | A list of tag instances.
snapshotCopyGrant_tags :: Lens' SnapshotCopyGrant (Maybe [Tag])
-- | Describes the errors returned by a snapshot.
--
-- See: newSnapshotErrorMessage smart constructor.
data SnapshotErrorMessage
SnapshotErrorMessage' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SnapshotErrorMessage
-- | The failure code for the error.
[$sel:failureCode:SnapshotErrorMessage'] :: SnapshotErrorMessage -> Maybe Text
-- | The text message describing the error.
[$sel:failureReason:SnapshotErrorMessage'] :: SnapshotErrorMessage -> Maybe Text
-- | A unique identifier for the cluster.
[$sel:snapshotClusterIdentifier:SnapshotErrorMessage'] :: SnapshotErrorMessage -> Maybe Text
-- | A unique identifier for the snapshot returning the error.
[$sel:snapshotIdentifier:SnapshotErrorMessage'] :: SnapshotErrorMessage -> Maybe Text
-- | Create a value of SnapshotErrorMessage 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:failureCode:SnapshotErrorMessage',
-- snapshotErrorMessage_failureCode - The failure code for the
-- error.
--
-- $sel:failureReason:SnapshotErrorMessage',
-- snapshotErrorMessage_failureReason - The text message
-- describing the error.
--
-- $sel:snapshotClusterIdentifier:SnapshotErrorMessage',
-- snapshotErrorMessage_snapshotClusterIdentifier - A unique
-- identifier for the cluster.
--
-- $sel:snapshotIdentifier:SnapshotErrorMessage',
-- snapshotErrorMessage_snapshotIdentifier - A unique identifier
-- for the snapshot returning the error.
newSnapshotErrorMessage :: SnapshotErrorMessage
-- | The failure code for the error.
snapshotErrorMessage_failureCode :: Lens' SnapshotErrorMessage (Maybe Text)
-- | The text message describing the error.
snapshotErrorMessage_failureReason :: Lens' SnapshotErrorMessage (Maybe Text)
-- | A unique identifier for the cluster.
snapshotErrorMessage_snapshotClusterIdentifier :: Lens' SnapshotErrorMessage (Maybe Text)
-- | A unique identifier for the snapshot returning the error.
snapshotErrorMessage_snapshotIdentifier :: Lens' SnapshotErrorMessage (Maybe Text)
-- | Describes a snapshot schedule. You can set a regular interval for
-- creating snapshots of a cluster. You can also schedule snapshots for
-- specific dates.
--
-- See: newSnapshotSchedule smart constructor.
data SnapshotSchedule
SnapshotSchedule' :: Maybe Int -> Maybe [ClusterAssociatedToSchedule] -> Maybe [ISO8601] -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Tag] -> SnapshotSchedule
-- | The number of clusters associated with the schedule.
[$sel:associatedClusterCount:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Int
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
[$sel:associatedClusters:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [ClusterAssociatedToSchedule]
[$sel:nextInvocations:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [ISO8601]
-- | A list of ScheduleDefinitions.
[$sel:scheduleDefinitions:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [Text]
-- | The description of the schedule.
[$sel:scheduleDescription:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Text
-- | A unique identifier for the schedule.
[$sel:scheduleIdentifier:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Text
-- | An optional set of tags describing the schedule.
[$sel:tags:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [Tag]
-- | Create a value of SnapshotSchedule 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:associatedClusterCount:SnapshotSchedule',
-- snapshotSchedule_associatedClusterCount - The number of
-- clusters associated with the schedule.
--
-- $sel:associatedClusters:SnapshotSchedule',
-- snapshotSchedule_associatedClusters - A list of clusters
-- associated with the schedule. A maximum of 100 clusters is returned.
--
-- $sel:nextInvocations:SnapshotSchedule',
-- snapshotSchedule_nextInvocations -
--
-- $sel:scheduleDefinitions:SnapshotSchedule',
-- snapshotSchedule_scheduleDefinitions - A list of
-- ScheduleDefinitions.
--
-- $sel:scheduleDescription:SnapshotSchedule',
-- snapshotSchedule_scheduleDescription - The description of the
-- schedule.
--
-- $sel:scheduleIdentifier:SnapshotSchedule',
-- snapshotSchedule_scheduleIdentifier - A unique identifier for
-- the schedule.
--
-- $sel:tags:SnapshotSchedule', snapshotSchedule_tags - An
-- optional set of tags describing the schedule.
newSnapshotSchedule :: SnapshotSchedule
-- | The number of clusters associated with the schedule.
snapshotSchedule_associatedClusterCount :: Lens' SnapshotSchedule (Maybe Int)
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
snapshotSchedule_associatedClusters :: Lens' SnapshotSchedule (Maybe [ClusterAssociatedToSchedule])
snapshotSchedule_nextInvocations :: Lens' SnapshotSchedule (Maybe [UTCTime])
-- | A list of ScheduleDefinitions.
snapshotSchedule_scheduleDefinitions :: Lens' SnapshotSchedule (Maybe [Text])
-- | The description of the schedule.
snapshotSchedule_scheduleDescription :: Lens' SnapshotSchedule (Maybe Text)
-- | A unique identifier for the schedule.
snapshotSchedule_scheduleIdentifier :: Lens' SnapshotSchedule (Maybe Text)
-- | An optional set of tags describing the schedule.
snapshotSchedule_tags :: Lens' SnapshotSchedule (Maybe [Tag])
-- | Describes a sorting entity
--
-- See: newSnapshotSortingEntity smart constructor.
data SnapshotSortingEntity
SnapshotSortingEntity' :: Maybe SortByOrder -> SnapshotAttributeToSortBy -> SnapshotSortingEntity
-- | The order for listing the attributes.
[$sel:sortOrder:SnapshotSortingEntity'] :: SnapshotSortingEntity -> Maybe SortByOrder
-- | The category for sorting the snapshots.
[$sel:attribute:SnapshotSortingEntity'] :: SnapshotSortingEntity -> SnapshotAttributeToSortBy
-- | Create a value of SnapshotSortingEntity 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:sortOrder:SnapshotSortingEntity',
-- snapshotSortingEntity_sortOrder - The order for listing the
-- attributes.
--
-- $sel:attribute:SnapshotSortingEntity',
-- snapshotSortingEntity_attribute - The category for sorting the
-- snapshots.
newSnapshotSortingEntity :: SnapshotAttributeToSortBy -> SnapshotSortingEntity
-- | The order for listing the attributes.
snapshotSortingEntity_sortOrder :: Lens' SnapshotSortingEntity (Maybe SortByOrder)
-- | The category for sorting the snapshots.
snapshotSortingEntity_attribute :: Lens' SnapshotSortingEntity SnapshotAttributeToSortBy
-- | Describes a subnet.
--
-- See: newSubnet smart constructor.
data Subnet
Subnet' :: Maybe AvailabilityZone -> Maybe Text -> Maybe Text -> Subnet
[$sel:subnetAvailabilityZone:Subnet'] :: Subnet -> Maybe AvailabilityZone
-- | The identifier of the subnet.
[$sel:subnetIdentifier:Subnet'] :: Subnet -> Maybe Text
-- | The status of the subnet.
[$sel:subnetStatus:Subnet'] :: Subnet -> Maybe Text
-- | Create a value of Subnet 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:subnetAvailabilityZone:Subnet',
-- subnet_subnetAvailabilityZone -
--
-- $sel:subnetIdentifier:Subnet', subnet_subnetIdentifier -
-- The identifier of the subnet.
--
-- $sel:subnetStatus:Subnet', subnet_subnetStatus - The
-- status of the subnet.
newSubnet :: Subnet
subnet_subnetAvailabilityZone :: Lens' Subnet (Maybe AvailabilityZone)
-- | The identifier of the subnet.
subnet_subnetIdentifier :: Lens' Subnet (Maybe Text)
-- | The status of the subnet.
subnet_subnetStatus :: Lens' Subnet (Maybe Text)
-- | Describes the operations that are allowed on a maintenance track.
--
-- See: newSupportedOperation smart constructor.
data SupportedOperation
SupportedOperation' :: Maybe Text -> SupportedOperation
-- | A list of the supported operations.
[$sel:operationName:SupportedOperation'] :: SupportedOperation -> Maybe Text
-- | Create a value of SupportedOperation 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:operationName:SupportedOperation',
-- supportedOperation_operationName - A list of the supported
-- operations.
newSupportedOperation :: SupportedOperation
-- | A list of the supported operations.
supportedOperation_operationName :: Lens' SupportedOperation (Maybe Text)
-- | A list of supported platforms for orderable clusters.
--
-- See: newSupportedPlatform smart constructor.
data SupportedPlatform
SupportedPlatform' :: Maybe Text -> SupportedPlatform
[$sel:name:SupportedPlatform'] :: SupportedPlatform -> Maybe Text
-- | Create a value of SupportedPlatform 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:name:SupportedPlatform', supportedPlatform_name -
newSupportedPlatform :: SupportedPlatform
supportedPlatform_name :: Lens' SupportedPlatform (Maybe Text)
-- | Describes the status of a RestoreTableFromClusterSnapshot operation.
--
-- See: newTableRestoreStatus smart constructor.
data TableRestoreStatus
TableRestoreStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe TableRestoreStatusType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> TableRestoreStatus
-- | The identifier of the Amazon Redshift cluster that the table is being
-- restored to.
[$sel:clusterIdentifier:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | 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 name of the table to create as a result of the table restore
-- request.
[$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 ISO8601
-- | The identifier of the snapshot that the table is being restored from.
[$sel:snapshotIdentifier:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | The name of the source database that contains the table being
-- restored.
[$sel:sourceDatabaseName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | The name of the source schema that contains the table being restored.
[$sel:sourceSchemaName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | The name of the source table being restored.
[$sel:sourceTableName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | A value that describes the current state of the table restore request.
--
-- Valid Values: SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS
[$sel:status:TableRestoreStatus'] :: TableRestoreStatus -> Maybe TableRestoreStatusType
-- | The unique identifier for the table restore request.
[$sel:tableRestoreRequestId:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | The name of the database to restore the table to.
[$sel:targetDatabaseName:TableRestoreStatus'] :: TableRestoreStatus -> Maybe Text
-- | The name of the schema to restore the table 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
-- | 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:clusterIdentifier:TableRestoreStatus',
-- tableRestoreStatus_clusterIdentifier - The identifier of the
-- Amazon Redshift cluster that the table is being restored to.
--
-- $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:newTableName':TableRestoreStatus',
-- tableRestoreStatus_newTableName - The name of the table to
-- create as a result of the table restore request.
--
-- $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:snapshotIdentifier:TableRestoreStatus',
-- tableRestoreStatus_snapshotIdentifier - The identifier of the
-- snapshot that the table is being restored from.
--
-- $sel:sourceDatabaseName:TableRestoreStatus',
-- tableRestoreStatus_sourceDatabaseName - The name of the source
-- database that contains the table being restored.
--
-- $sel:sourceSchemaName:TableRestoreStatus',
-- tableRestoreStatus_sourceSchemaName - The name of the source
-- schema that contains the table being restored.
--
-- $sel:sourceTableName:TableRestoreStatus',
-- tableRestoreStatus_sourceTableName - The name of the source
-- table being restored.
--
-- $sel:status:TableRestoreStatus',
-- tableRestoreStatus_status - A value that describes the current
-- state of the table restore request.
--
-- Valid Values: SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS
--
-- $sel:tableRestoreRequestId:TableRestoreStatus',
-- tableRestoreStatus_tableRestoreRequestId - The unique
-- identifier for the table restore request.
--
-- $sel:targetDatabaseName:TableRestoreStatus',
-- tableRestoreStatus_targetDatabaseName - The name of the
-- database to restore the table to.
--
-- $sel:targetSchemaName:TableRestoreStatus',
-- tableRestoreStatus_targetSchemaName - The name of the schema to
-- restore the table to.
--
-- $sel:totalDataInMegaBytes:TableRestoreStatus',
-- tableRestoreStatus_totalDataInMegaBytes - The total amount of
-- data to restore to the new table, in megabytes (MB).
newTableRestoreStatus :: TableRestoreStatus
-- | The identifier of the Amazon Redshift cluster that the table is being
-- restored to.
tableRestoreStatus_clusterIdentifier :: Lens' TableRestoreStatus (Maybe Text)
-- | 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 name of the table to create as a result of the table restore
-- request.
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 identifier of the snapshot that the table is being restored from.
tableRestoreStatus_snapshotIdentifier :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source database that contains the table being
-- restored.
tableRestoreStatus_sourceDatabaseName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source schema that contains the table being restored.
tableRestoreStatus_sourceSchemaName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source table being restored.
tableRestoreStatus_sourceTableName :: Lens' TableRestoreStatus (Maybe Text)
-- | A value that describes the current state of the table restore request.
--
-- Valid Values: SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS
tableRestoreStatus_status :: Lens' TableRestoreStatus (Maybe TableRestoreStatusType)
-- | The unique identifier for the table restore request.
tableRestoreStatus_tableRestoreRequestId :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the database to restore the table to.
tableRestoreStatus_targetDatabaseName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the schema to restore the table 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)
-- | A tag consisting of a name/value pair for a resource.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | The key, or name, for the resource tag.
[$sel:key:Tag'] :: Tag -> Maybe Text
-- | The value for the resource tag.
[$sel:value:Tag'] :: Tag -> Maybe 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, or name, for the
-- resource tag.
--
-- $sel:value:Tag', tag_value - The value for the resource
-- tag.
newTag :: Tag
-- | The key, or name, for the resource tag.
tag_key :: Lens' Tag (Maybe Text)
-- | The value for the resource tag.
tag_value :: Lens' Tag (Maybe Text)
-- | A tag and its associated resource.
--
-- See: newTaggedResource smart constructor.
data TaggedResource
TaggedResource' :: Maybe Text -> Maybe Text -> Maybe Tag -> TaggedResource
-- | The Amazon Resource Name (ARN) with which the tag is associated, for
-- example: arn:aws:redshift:us-east-2:123456789:cluster:t1.
[$sel:resourceName:TaggedResource'] :: TaggedResource -> Maybe Text
-- | The type of resource with which the tag is associated. Valid resource
-- types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Constructing an Amazon Redshift Amazon
-- Resource Name (ARN) in the Amazon Redshift Cluster Management
-- Guide.
[$sel:resourceType:TaggedResource'] :: TaggedResource -> Maybe Text
-- | The tag for the resource.
[$sel:tag:TaggedResource'] :: TaggedResource -> Maybe Tag
-- | Create a value of TaggedResource 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:resourceName:TaggedResource',
-- taggedResource_resourceName - The Amazon Resource Name (ARN)
-- with which the tag is associated, for example:
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
--
-- $sel:resourceType:TaggedResource',
-- taggedResource_resourceType - The type of resource with which
-- the tag is associated. Valid resource types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Constructing an Amazon Redshift Amazon
-- Resource Name (ARN) in the Amazon Redshift Cluster Management
-- Guide.
--
-- $sel:tag:TaggedResource', taggedResource_tag - The tag
-- for the resource.
newTaggedResource :: TaggedResource
-- | The Amazon Resource Name (ARN) with which the tag is associated, for
-- example: arn:aws:redshift:us-east-2:123456789:cluster:t1.
taggedResource_resourceName :: Lens' TaggedResource (Maybe Text)
-- | The type of resource with which the tag is associated. Valid resource
-- types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Constructing an Amazon Redshift Amazon
-- Resource Name (ARN) in the Amazon Redshift Cluster Management
-- Guide.
taggedResource_resourceType :: Lens' TaggedResource (Maybe Text)
-- | The tag for the resource.
taggedResource_tag :: Lens' TaggedResource (Maybe Tag)
-- | A maintenance track that you can switch the current track to.
--
-- See: newUpdateTarget smart constructor.
data UpdateTarget
UpdateTarget' :: Maybe Text -> Maybe Text -> Maybe [SupportedOperation] -> UpdateTarget
-- | The cluster version for the new maintenance track.
[$sel:databaseVersion:UpdateTarget'] :: UpdateTarget -> Maybe Text
-- | The name of the new maintenance track.
[$sel:maintenanceTrackName:UpdateTarget'] :: UpdateTarget -> Maybe Text
-- | A list of operations supported by the maintenance track.
[$sel:supportedOperations:UpdateTarget'] :: UpdateTarget -> Maybe [SupportedOperation]
-- | Create a value of UpdateTarget 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:databaseVersion:UpdateTarget',
-- updateTarget_databaseVersion - The cluster version for the new
-- maintenance track.
--
-- $sel:maintenanceTrackName:UpdateTarget',
-- updateTarget_maintenanceTrackName - The name of the new
-- maintenance track.
--
-- $sel:supportedOperations:UpdateTarget',
-- updateTarget_supportedOperations - A list of operations
-- supported by the maintenance track.
newUpdateTarget :: UpdateTarget
-- | The cluster version for the new maintenance track.
updateTarget_databaseVersion :: Lens' UpdateTarget (Maybe Text)
-- | The name of the new maintenance track.
updateTarget_maintenanceTrackName :: Lens' UpdateTarget (Maybe Text)
-- | A list of operations supported by the maintenance track.
updateTarget_supportedOperations :: Lens' UpdateTarget (Maybe [SupportedOperation])
-- | Describes a usage limit object for a cluster.
--
-- See: newUsageLimit smart constructor.
data UsageLimit
UsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Maybe Text -> Maybe UsageLimitFeatureType -> Maybe UsageLimitLimitType -> Maybe UsageLimitPeriod -> Maybe [Tag] -> Maybe Text -> UsageLimit
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
[$sel:amount:UsageLimit'] :: UsageLimit -> Maybe Integer
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
[$sel:breachAction:UsageLimit'] :: UsageLimit -> Maybe UsageLimitBreachAction
-- | The identifier of the cluster with a usage limit.
[$sel:clusterIdentifier:UsageLimit'] :: UsageLimit -> Maybe Text
-- | The Amazon Redshift feature to which the limit applies.
[$sel:featureType:UsageLimit'] :: UsageLimit -> Maybe UsageLimitFeatureType
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
[$sel:limitType:UsageLimit'] :: UsageLimit -> Maybe UsageLimitLimitType
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
[$sel:period:UsageLimit'] :: UsageLimit -> Maybe UsageLimitPeriod
-- | A list of tag instances.
[$sel:tags:UsageLimit'] :: UsageLimit -> Maybe [Tag]
-- | The identifier of the usage limit.
[$sel:usageLimitId:UsageLimit'] :: UsageLimit -> Maybe Text
-- | 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 minutes. If data-based, this
-- amount is in terabytes (TB).
--
-- $sel:breachAction:UsageLimit', usageLimit_breachAction -
-- The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
--
-- $sel:clusterIdentifier:UsageLimit',
-- usageLimit_clusterIdentifier - The identifier of the cluster
-- with a usage limit.
--
-- $sel:featureType:UsageLimit', usageLimit_featureType -
-- The Amazon Redshift feature to which the limit applies.
--
-- $sel:limitType:UsageLimit', usageLimit_limitType - The
-- type of limit. Depending on the feature type, this can be based on a
-- time duration or data size.
--
-- $sel:period:UsageLimit', usageLimit_period - The time
-- period that the amount applies to. A weekly period begins on
-- Sunday. The default is monthly.
--
-- $sel:tags:UsageLimit', usageLimit_tags - A list of tag
-- instances.
--
-- $sel:usageLimitId:UsageLimit', usageLimit_usageLimitId -
-- The identifier of the usage limit.
newUsageLimit :: UsageLimit
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
usageLimit_amount :: Lens' UsageLimit (Maybe Integer)
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction)
-- | The identifier of the cluster with a usage limit.
usageLimit_clusterIdentifier :: Lens' UsageLimit (Maybe Text)
-- | The Amazon Redshift feature to which the limit applies.
usageLimit_featureType :: Lens' UsageLimit (Maybe UsageLimitFeatureType)
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
usageLimit_limitType :: Lens' UsageLimit (Maybe UsageLimitLimitType)
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod)
-- | A list of tag instances.
usageLimit_tags :: Lens' UsageLimit (Maybe [Tag])
-- | The identifier of the usage limit.
usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text)
-- | The connection endpoint for connecting to an Amazon Redshift cluster
-- 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 an Amazon Redshift cluster
-- through the proxy.
[$sel:vpcEndpointId:VpcEndpoint'] :: VpcEndpoint -> Maybe Text
-- | The VPC identifier that the endpoint is associated.
[$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 an Amazon Redshift cluster through the proxy.
--
-- $sel:vpcId:VpcEndpoint', vpcEndpoint_vpcId - The VPC
-- identifier that the endpoint is associated.
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 an Amazon Redshift cluster
-- through the proxy.
vpcEndpoint_vpcEndpointId :: Lens' VpcEndpoint (Maybe Text)
-- | The VPC identifier that the endpoint is associated.
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 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 identifier
-- of the VPC security group.
newVpcSecurityGroupMembership :: VpcSecurityGroupMembership
-- | The status of the VPC security group.
vpcSecurityGroupMembership_status :: Lens' VpcSecurityGroupMembership (Maybe Text)
-- | The identifier of the VPC security group.
vpcSecurityGroupMembership_vpcSecurityGroupId :: Lens' VpcSecurityGroupMembership (Maybe Text)
-- | Rotates the encryption keys for a cluster.
module Amazonka.Redshift.RotateEncryptionKey
-- | See: newRotateEncryptionKey smart constructor.
data RotateEncryptionKey
RotateEncryptionKey' :: Text -> RotateEncryptionKey
-- | The unique identifier of the cluster that you want to rotate the
-- encryption keys for.
--
-- Constraints: Must be the name of valid cluster that has encryption
-- enabled.
[$sel:clusterIdentifier:RotateEncryptionKey'] :: RotateEncryptionKey -> Text
-- | Create a value of RotateEncryptionKey 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:
--
-- RotateEncryptionKey,
-- rotateEncryptionKey_clusterIdentifier - The unique identifier
-- of the cluster that you want to rotate the encryption keys for.
--
-- Constraints: Must be the name of valid cluster that has encryption
-- enabled.
newRotateEncryptionKey :: Text -> RotateEncryptionKey
-- | The unique identifier of the cluster that you want to rotate the
-- encryption keys for.
--
-- Constraints: Must be the name of valid cluster that has encryption
-- enabled.
rotateEncryptionKey_clusterIdentifier :: Lens' RotateEncryptionKey Text
-- | See: newRotateEncryptionKeyResponse smart constructor.
data RotateEncryptionKeyResponse
RotateEncryptionKeyResponse' :: Maybe Cluster -> Int -> RotateEncryptionKeyResponse
[$sel:cluster:RotateEncryptionKeyResponse'] :: RotateEncryptionKeyResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:RotateEncryptionKeyResponse'] :: RotateEncryptionKeyResponse -> Int
-- | Create a value of RotateEncryptionKeyResponse 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:cluster:RotateEncryptionKeyResponse',
-- rotateEncryptionKeyResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:RotateEncryptionKeyResponse',
-- rotateEncryptionKeyResponse_httpStatus - The response's http
-- status code.
newRotateEncryptionKeyResponse :: Int -> RotateEncryptionKeyResponse
-- | Undocumented member.
rotateEncryptionKeyResponse_cluster :: Lens' RotateEncryptionKeyResponse (Maybe Cluster)
-- | The response's http status code.
rotateEncryptionKeyResponse_httpStatus :: Lens' RotateEncryptionKeyResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance GHC.Show.Show Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance GHC.Read.Read Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance GHC.Classes.Eq Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance GHC.Generics.Generic Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
instance GHC.Show.Show Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
instance GHC.Read.Read Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
instance GHC.Classes.Eq Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Control.DeepSeq.NFData Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKeyResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Control.DeepSeq.NFData Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKey
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.RotateEncryptionKey.RotateEncryptionKey
-- | Removes the ability of the specified Amazon Web Services account to
-- restore the specified snapshot. If the account is currently restoring
-- the snapshot, the restore will run to completion.
--
-- For more information about working with snapshots, go to Amazon
-- Redshift Snapshots in the Amazon Redshift Cluster Management
-- Guide.
module Amazonka.Redshift.RevokeSnapshotAccess
-- | See: newRevokeSnapshotAccess smart constructor.
data RevokeSnapshotAccess
RevokeSnapshotAccess' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> RevokeSnapshotAccess
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to revoke access.
[$sel:snapshotArn:RevokeSnapshotAccess'] :: RevokeSnapshotAccess -> Maybe Text
-- | The identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
[$sel:snapshotClusterIdentifier:RevokeSnapshotAccess'] :: RevokeSnapshotAccess -> Maybe Text
-- | The identifier of the snapshot that the account can no longer access.
[$sel:snapshotIdentifier:RevokeSnapshotAccess'] :: RevokeSnapshotAccess -> Maybe Text
-- | The identifier of the Amazon Web Services account that can no longer
-- restore the specified snapshot.
[$sel:accountWithRestoreAccess:RevokeSnapshotAccess'] :: RevokeSnapshotAccess -> Text
-- | Create a value of RevokeSnapshotAccess 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:snapshotArn:RevokeSnapshotAccess',
-- revokeSnapshotAccess_snapshotArn - The Amazon Resource Name
-- (ARN) of the snapshot associated with the message to revoke access.
--
-- RevokeSnapshotAccess,
-- revokeSnapshotAccess_snapshotClusterIdentifier - The identifier
-- of the cluster the snapshot was created from. This parameter is
-- required if your IAM user has a policy containing a snapshot resource
-- element that specifies anything other than * for the cluster name.
--
-- RevokeSnapshotAccess,
-- revokeSnapshotAccess_snapshotIdentifier - The identifier of the
-- snapshot that the account can no longer access.
--
-- $sel:accountWithRestoreAccess:RevokeSnapshotAccess',
-- revokeSnapshotAccess_accountWithRestoreAccess - The identifier
-- of the Amazon Web Services account that can no longer restore the
-- specified snapshot.
newRevokeSnapshotAccess :: Text -> RevokeSnapshotAccess
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to revoke access.
revokeSnapshotAccess_snapshotArn :: Lens' RevokeSnapshotAccess (Maybe Text)
-- | The identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
revokeSnapshotAccess_snapshotClusterIdentifier :: Lens' RevokeSnapshotAccess (Maybe Text)
-- | The identifier of the snapshot that the account can no longer access.
revokeSnapshotAccess_snapshotIdentifier :: Lens' RevokeSnapshotAccess (Maybe Text)
-- | The identifier of the Amazon Web Services account that can no longer
-- restore the specified snapshot.
revokeSnapshotAccess_accountWithRestoreAccess :: Lens' RevokeSnapshotAccess Text
-- | See: newRevokeSnapshotAccessResponse smart constructor.
data RevokeSnapshotAccessResponse
RevokeSnapshotAccessResponse' :: Maybe Snapshot -> Int -> RevokeSnapshotAccessResponse
[$sel:snapshot:RevokeSnapshotAccessResponse'] :: RevokeSnapshotAccessResponse -> Maybe Snapshot
-- | The response's http status code.
[$sel:httpStatus:RevokeSnapshotAccessResponse'] :: RevokeSnapshotAccessResponse -> Int
-- | Create a value of RevokeSnapshotAccessResponse 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:RevokeSnapshotAccessResponse',
-- revokeSnapshotAccessResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:RevokeSnapshotAccessResponse',
-- revokeSnapshotAccessResponse_httpStatus - The response's http
-- status code.
newRevokeSnapshotAccessResponse :: Int -> RevokeSnapshotAccessResponse
-- | Undocumented member.
revokeSnapshotAccessResponse_snapshot :: Lens' RevokeSnapshotAccessResponse (Maybe Snapshot)
-- | The response's http status code.
revokeSnapshotAccessResponse_httpStatus :: Lens' RevokeSnapshotAccessResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance GHC.Show.Show Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance GHC.Read.Read Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance GHC.Classes.Eq Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance GHC.Generics.Generic Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
instance GHC.Show.Show Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
instance GHC.Read.Read Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
instance GHC.Classes.Eq Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccessResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.RevokeSnapshotAccess.RevokeSnapshotAccess
-- | Revokes access to a cluster.
module Amazonka.Redshift.RevokeEndpointAccess
-- | See: newRevokeEndpointAccess smart constructor.
data RevokeEndpointAccess
RevokeEndpointAccess' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Text] -> RevokeEndpointAccess
-- | The Amazon Web Services account ID whose access is to be revoked.
[$sel:account:RevokeEndpointAccess'] :: RevokeEndpointAccess -> Maybe Text
-- | The cluster to revoke access from.
[$sel:clusterIdentifier:RevokeEndpointAccess'] :: RevokeEndpointAccess -> Maybe Text
-- | Indicates whether to force the revoke action. If true, the
-- Redshift-managed VPC endpoints associated with the endpoint
-- authorization are also deleted.
[$sel:force:RevokeEndpointAccess'] :: RevokeEndpointAccess -> Maybe Bool
-- | The virtual private cloud (VPC) identifiers for which access is to be
-- revoked.
[$sel:vpcIds:RevokeEndpointAccess'] :: RevokeEndpointAccess -> Maybe [Text]
-- | Create a value of RevokeEndpointAccess 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:account:RevokeEndpointAccess',
-- revokeEndpointAccess_account - The Amazon Web Services account
-- ID whose access is to be revoked.
--
-- RevokeEndpointAccess,
-- revokeEndpointAccess_clusterIdentifier - The cluster to revoke
-- access from.
--
-- $sel:force:RevokeEndpointAccess',
-- revokeEndpointAccess_force - Indicates whether to force the
-- revoke action. If true, the Redshift-managed VPC endpoints associated
-- with the endpoint authorization are also deleted.
--
-- $sel:vpcIds:RevokeEndpointAccess',
-- revokeEndpointAccess_vpcIds - The virtual private cloud (VPC)
-- identifiers for which access is to be revoked.
newRevokeEndpointAccess :: RevokeEndpointAccess
-- | The Amazon Web Services account ID whose access is to be revoked.
revokeEndpointAccess_account :: Lens' RevokeEndpointAccess (Maybe Text)
-- | The cluster to revoke access from.
revokeEndpointAccess_clusterIdentifier :: Lens' RevokeEndpointAccess (Maybe Text)
-- | Indicates whether to force the revoke action. If true, the
-- Redshift-managed VPC endpoints associated with the endpoint
-- authorization are also deleted.
revokeEndpointAccess_force :: Lens' RevokeEndpointAccess (Maybe Bool)
-- | The virtual private cloud (VPC) identifiers for which access is to be
-- revoked.
revokeEndpointAccess_vpcIds :: Lens' RevokeEndpointAccess (Maybe [Text])
-- | Describes an endpoint authorization for authorizing Redshift-managed
-- VPC endpoint access to a cluster across Amazon Web Services accounts.
--
-- See: newEndpointAuthorization smart constructor.
data EndpointAuthorization
EndpointAuthorization' :: Maybe Bool -> Maybe [Text] -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe AuthorizationStatus -> EndpointAuthorization
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
[$sel:allowedAllVPCs:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Bool
-- | The VPCs allowed access to the cluster.
[$sel:allowedVPCs:EndpointAuthorization'] :: EndpointAuthorization -> Maybe [Text]
-- | The time (UTC) when the authorization was created.
[$sel:authorizeTime:EndpointAuthorization'] :: EndpointAuthorization -> Maybe ISO8601
-- | The cluster identifier.
[$sel:clusterIdentifier:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The status of the cluster.
[$sel:clusterStatus:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
[$sel:endpointCount:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Int
-- | The Amazon Web Services account ID of the grantee of the cluster.
[$sel:grantee:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The Amazon Web Services account ID of the cluster owner.
[$sel:grantor:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The status of the authorization action.
[$sel:status:EndpointAuthorization'] :: EndpointAuthorization -> Maybe AuthorizationStatus
-- | Create a value of EndpointAuthorization 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:allowedAllVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedAllVPCs - Indicates whether all
-- VPCs in the grantee account are allowed access to the cluster.
--
-- $sel:allowedVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedVPCs - The VPCs allowed access to
-- the cluster.
--
-- $sel:authorizeTime:EndpointAuthorization',
-- endpointAuthorization_authorizeTime - The time (UTC) when the
-- authorization was created.
--
-- $sel:clusterIdentifier:EndpointAuthorization',
-- endpointAuthorization_clusterIdentifier - The cluster
-- identifier.
--
-- $sel:clusterStatus:EndpointAuthorization',
-- endpointAuthorization_clusterStatus - The status of the
-- cluster.
--
-- $sel:endpointCount:EndpointAuthorization',
-- endpointAuthorization_endpointCount - The number of
-- Redshift-managed VPC endpoints created for the authorization.
--
-- $sel:grantee:EndpointAuthorization',
-- endpointAuthorization_grantee - The Amazon Web Services account
-- ID of the grantee of the cluster.
--
-- $sel:grantor:EndpointAuthorization',
-- endpointAuthorization_grantor - The Amazon Web Services account
-- ID of the cluster owner.
--
-- $sel:status:EndpointAuthorization',
-- endpointAuthorization_status - The status of the authorization
-- action.
newEndpointAuthorization :: EndpointAuthorization
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool)
-- | The VPCs allowed access to the cluster.
endpointAuthorization_allowedVPCs :: Lens' EndpointAuthorization (Maybe [Text])
-- | The time (UTC) when the authorization was created.
endpointAuthorization_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime)
-- | The cluster identifier.
endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the cluster.
endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text)
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int)
-- | The Amazon Web Services account ID of the grantee of the cluster.
endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text)
-- | The Amazon Web Services account ID of the cluster owner.
endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the authorization action.
endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus)
instance GHC.Generics.Generic Amazonka.Redshift.RevokeEndpointAccess.RevokeEndpointAccess
instance GHC.Show.Show Amazonka.Redshift.RevokeEndpointAccess.RevokeEndpointAccess
instance GHC.Read.Read Amazonka.Redshift.RevokeEndpointAccess.RevokeEndpointAccess
instance GHC.Classes.Eq Amazonka.Redshift.RevokeEndpointAccess.RevokeEndpointAccess
instance Amazonka.Types.AWSRequest Amazonka.Redshift.RevokeEndpointAccess.RevokeEndpointAccess
instance Data.Hashable.Class.Hashable Amazonka.Redshift.RevokeEndpointAccess.RevokeEndpointAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.RevokeEndpointAccess.RevokeEndpointAccess
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.RevokeEndpointAccess.RevokeEndpointAccess
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.RevokeEndpointAccess.RevokeEndpointAccess
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.RevokeEndpointAccess.RevokeEndpointAccess
-- | Revokes an ingress rule in an Amazon Redshift security group for a
-- previously authorized IP range or Amazon EC2 security group. To add an
-- ingress rule, see AuthorizeClusterSecurityGroupIngress. For
-- information about managing security groups, go to Amazon Redshift
-- Cluster Security Groups in the Amazon Redshift Cluster
-- Management Guide.
module Amazonka.Redshift.RevokeClusterSecurityGroupIngress
-- | See: newRevokeClusterSecurityGroupIngress smart
-- constructor.
data RevokeClusterSecurityGroupIngress
RevokeClusterSecurityGroupIngress' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> RevokeClusterSecurityGroupIngress
-- | The IP range for which to revoke access. This range must be a valid
-- Classless Inter-Domain Routing (CIDR) block of IP addresses. If
-- CIDRIP is specified, EC2SecurityGroupName and
-- EC2SecurityGroupOwnerId cannot be provided.
[$sel:cidrip:RevokeClusterSecurityGroupIngress'] :: RevokeClusterSecurityGroupIngress -> Maybe Text
-- | The name of the EC2 Security Group whose access is to be revoked. If
-- EC2SecurityGroupName is specified,
-- EC2SecurityGroupOwnerId must also be provided and
-- CIDRIP cannot be provided.
[$sel:eC2SecurityGroupName:RevokeClusterSecurityGroupIngress'] :: RevokeClusterSecurityGroupIngress -> Maybe Text
-- | The Amazon Web Services account number of the owner of the security
-- group specified in the EC2SecurityGroupName parameter. The
-- Amazon Web Services access key ID is not an acceptable value. If
-- EC2SecurityGroupOwnerId is specified,
-- EC2SecurityGroupName must also be provided. and
-- CIDRIP cannot be provided.
--
-- Example: 111122223333
[$sel:eC2SecurityGroupOwnerId:RevokeClusterSecurityGroupIngress'] :: RevokeClusterSecurityGroupIngress -> Maybe Text
-- | The name of the security Group from which to revoke the ingress rule.
[$sel:clusterSecurityGroupName:RevokeClusterSecurityGroupIngress'] :: RevokeClusterSecurityGroupIngress -> Text
-- | Create a value of RevokeClusterSecurityGroupIngress 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:
--
-- RevokeClusterSecurityGroupIngress,
-- revokeClusterSecurityGroupIngress_cidrip - The IP range for
-- which to revoke access. This range must be a valid Classless
-- Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP
-- is specified, EC2SecurityGroupName and
-- EC2SecurityGroupOwnerId cannot be provided.
--
-- RevokeClusterSecurityGroupIngress,
-- revokeClusterSecurityGroupIngress_eC2SecurityGroupName - The
-- name of the EC2 Security Group whose access is to be revoked. If
-- EC2SecurityGroupName is specified,
-- EC2SecurityGroupOwnerId must also be provided and
-- CIDRIP cannot be provided.
--
-- RevokeClusterSecurityGroupIngress,
-- revokeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId - The
-- Amazon Web Services account number of the owner of the security group
-- specified in the EC2SecurityGroupName parameter. The Amazon
-- Web Services access key ID is not an acceptable value. If
-- EC2SecurityGroupOwnerId is specified,
-- EC2SecurityGroupName must also be provided. and
-- CIDRIP cannot be provided.
--
-- Example: 111122223333
--
-- RevokeClusterSecurityGroupIngress,
-- revokeClusterSecurityGroupIngress_clusterSecurityGroupName -
-- The name of the security Group from which to revoke the ingress rule.
newRevokeClusterSecurityGroupIngress :: Text -> RevokeClusterSecurityGroupIngress
-- | The IP range for which to revoke access. This range must be a valid
-- Classless Inter-Domain Routing (CIDR) block of IP addresses. If
-- CIDRIP is specified, EC2SecurityGroupName and
-- EC2SecurityGroupOwnerId cannot be provided.
revokeClusterSecurityGroupIngress_cidrip :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
-- | The name of the EC2 Security Group whose access is to be revoked. If
-- EC2SecurityGroupName is specified,
-- EC2SecurityGroupOwnerId must also be provided and
-- CIDRIP cannot be provided.
revokeClusterSecurityGroupIngress_eC2SecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
-- | The Amazon Web Services account number of the owner of the security
-- group specified in the EC2SecurityGroupName parameter. The
-- Amazon Web Services access key ID is not an acceptable value. If
-- EC2SecurityGroupOwnerId is specified,
-- EC2SecurityGroupName must also be provided. and
-- CIDRIP cannot be provided.
--
-- Example: 111122223333
revokeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
-- | The name of the security Group from which to revoke the ingress rule.
revokeClusterSecurityGroupIngress_clusterSecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress Text
-- | See: newRevokeClusterSecurityGroupIngressResponse smart
-- constructor.
data RevokeClusterSecurityGroupIngressResponse
RevokeClusterSecurityGroupIngressResponse' :: Maybe ClusterSecurityGroup -> Int -> RevokeClusterSecurityGroupIngressResponse
[$sel:clusterSecurityGroup:RevokeClusterSecurityGroupIngressResponse'] :: RevokeClusterSecurityGroupIngressResponse -> Maybe ClusterSecurityGroup
-- | The response's http status code.
[$sel:httpStatus:RevokeClusterSecurityGroupIngressResponse'] :: RevokeClusterSecurityGroupIngressResponse -> Int
-- | Create a value of RevokeClusterSecurityGroupIngressResponse
-- 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:clusterSecurityGroup:RevokeClusterSecurityGroupIngressResponse',
-- revokeClusterSecurityGroupIngressResponse_clusterSecurityGroup
-- - Undocumented member.
--
-- $sel:httpStatus:RevokeClusterSecurityGroupIngressResponse',
-- revokeClusterSecurityGroupIngressResponse_httpStatus - The
-- response's http status code.
newRevokeClusterSecurityGroupIngressResponse :: Int -> RevokeClusterSecurityGroupIngressResponse
-- | Undocumented member.
revokeClusterSecurityGroupIngressResponse_clusterSecurityGroup :: Lens' RevokeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup)
-- | The response's http status code.
revokeClusterSecurityGroupIngressResponse_httpStatus :: Lens' RevokeClusterSecurityGroupIngressResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance GHC.Show.Show Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance GHC.Read.Read Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance GHC.Classes.Eq Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance GHC.Generics.Generic Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
instance GHC.Show.Show Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
instance GHC.Read.Read Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
instance GHC.Classes.Eq Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Control.DeepSeq.NFData Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngressResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Control.DeepSeq.NFData Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.RevokeClusterSecurityGroupIngress.RevokeClusterSecurityGroupIngress
-- | Resumes a paused cluster.
module Amazonka.Redshift.ResumeCluster
-- | Describes a resume cluster operation. For example, a scheduled action
-- to run the ResumeCluster API operation.
--
-- See: newResumeCluster smart constructor.
data ResumeCluster
ResumeCluster' :: Text -> ResumeCluster
-- | The identifier of the cluster to be resumed.
[$sel:clusterIdentifier:ResumeCluster'] :: ResumeCluster -> Text
-- | Create a value of ResumeCluster 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:
--
-- ResumeCluster, resumeCluster_clusterIdentifier - The
-- identifier of the cluster to be resumed.
newResumeCluster :: Text -> ResumeCluster
-- | The identifier of the cluster to be resumed.
resumeCluster_clusterIdentifier :: Lens' ResumeCluster Text
-- | See: newResumeClusterResponse smart constructor.
data ResumeClusterResponse
ResumeClusterResponse' :: Maybe Cluster -> Int -> ResumeClusterResponse
[$sel:cluster:ResumeClusterResponse'] :: ResumeClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:ResumeClusterResponse'] :: ResumeClusterResponse -> Int
-- | Create a value of ResumeClusterResponse 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:cluster:ResumeClusterResponse',
-- resumeClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ResumeClusterResponse',
-- resumeClusterResponse_httpStatus - The response's http status
-- code.
newResumeClusterResponse :: Int -> ResumeClusterResponse
-- | Undocumented member.
resumeClusterResponse_cluster :: Lens' ResumeClusterResponse (Maybe Cluster)
-- | The response's http status code.
resumeClusterResponse_httpStatus :: Lens' ResumeClusterResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ResumeCluster.ResumeCluster
instance GHC.Show.Show Amazonka.Redshift.ResumeCluster.ResumeCluster
instance GHC.Read.Read Amazonka.Redshift.ResumeCluster.ResumeCluster
instance GHC.Classes.Eq Amazonka.Redshift.ResumeCluster.ResumeCluster
instance GHC.Generics.Generic Amazonka.Redshift.ResumeCluster.ResumeClusterResponse
instance GHC.Show.Show Amazonka.Redshift.ResumeCluster.ResumeClusterResponse
instance GHC.Read.Read Amazonka.Redshift.ResumeCluster.ResumeClusterResponse
instance GHC.Classes.Eq Amazonka.Redshift.ResumeCluster.ResumeClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ResumeCluster.ResumeCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.ResumeCluster.ResumeClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ResumeCluster.ResumeCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.ResumeCluster.ResumeCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ResumeCluster.ResumeCluster
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ResumeCluster.ResumeCluster
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ResumeCluster.ResumeCluster
-- | Creates a new table from a table in an Amazon Redshift cluster
-- snapshot. You must create the new table within the Amazon Redshift
-- cluster that the snapshot was taken from.
--
-- You cannot use RestoreTableFromClusterSnapshot to restore a
-- table with the same name as an existing table in an Amazon Redshift
-- cluster. That is, you cannot overwrite an existing table in a cluster
-- with a restored table. If you want to replace your original table with
-- a new, restored table, then rename or drop your original table before
-- you call RestoreTableFromClusterSnapshot. When you have
-- renamed your original table, then you can pass the original name of
-- the table as the NewTableName parameter value in the call to
-- RestoreTableFromClusterSnapshot. This way, you can replace
-- the original table with the table created from the snapshot.
module Amazonka.Redshift.RestoreTableFromClusterSnapshot
-- | See: newRestoreTableFromClusterSnapshot smart
-- constructor.
data RestoreTableFromClusterSnapshot
RestoreTableFromClusterSnapshot' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> Text -> Text -> RestoreTableFromClusterSnapshot
-- | Indicates whether name identifiers for database, schema, and table are
-- case sensitive. If true, the names are case sensitive. If
-- false (default), the names are not case sensitive.
[$sel:enableCaseSensitiveIdentifier:RestoreTableFromClusterSnapshot'] :: RestoreTableFromClusterSnapshot -> Maybe Bool
-- | The name of the source schema that contains the table to restore from.
-- If you do not specify a SourceSchemaName value, the default
-- is public.
[$sel:sourceSchemaName:RestoreTableFromClusterSnapshot'] :: RestoreTableFromClusterSnapshot -> Maybe Text
-- | The name of the database to restore the table to.
[$sel:targetDatabaseName:RestoreTableFromClusterSnapshot'] :: RestoreTableFromClusterSnapshot -> Maybe Text
-- | The name of the schema to restore the table to.
[$sel:targetSchemaName:RestoreTableFromClusterSnapshot'] :: RestoreTableFromClusterSnapshot -> Maybe Text
-- | The identifier of the Amazon Redshift cluster to restore the table to.
[$sel:clusterIdentifier:RestoreTableFromClusterSnapshot'] :: RestoreTableFromClusterSnapshot -> Text
-- | The identifier of the snapshot to restore the table from. This
-- snapshot must have been created from the Amazon Redshift cluster
-- specified by the ClusterIdentifier parameter.
[$sel:snapshotIdentifier:RestoreTableFromClusterSnapshot'] :: RestoreTableFromClusterSnapshot -> Text
-- | The name of the source database that contains the table to restore
-- from.
[$sel:sourceDatabaseName:RestoreTableFromClusterSnapshot'] :: RestoreTableFromClusterSnapshot -> Text
-- | The name of the source table to restore from.
[$sel:sourceTableName:RestoreTableFromClusterSnapshot'] :: RestoreTableFromClusterSnapshot -> Text
-- | The name of the table to create as a result of the current request.
[$sel:newTableName':RestoreTableFromClusterSnapshot'] :: RestoreTableFromClusterSnapshot -> Text
-- | Create a value of RestoreTableFromClusterSnapshot 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:enableCaseSensitiveIdentifier:RestoreTableFromClusterSnapshot',
-- restoreTableFromClusterSnapshot_enableCaseSensitiveIdentifier -
-- Indicates whether name identifiers for database, schema, and table are
-- case sensitive. If true, the names are case sensitive. If
-- false (default), the names are not case sensitive.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_sourceSchemaName - The name of
-- the source schema that contains the table to restore from. If you do
-- not specify a SourceSchemaName value, the default is
-- public.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_targetDatabaseName - The name
-- of the database to restore the table to.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_targetSchemaName - The name of
-- the schema to restore the table to.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_clusterIdentifier - The
-- identifier of the Amazon Redshift cluster to restore the table to.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_snapshotIdentifier - The
-- identifier of the snapshot to restore the table from. This snapshot
-- must have been created from the Amazon Redshift cluster specified by
-- the ClusterIdentifier parameter.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_sourceDatabaseName - The name
-- of the source database that contains the table to restore from.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_sourceTableName - The name of
-- the source table to restore from.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_newTableName - The name of the
-- table to create as a result of the current request.
newRestoreTableFromClusterSnapshot :: Text -> Text -> Text -> Text -> Text -> RestoreTableFromClusterSnapshot
-- | Indicates whether name identifiers for database, schema, and table are
-- case sensitive. If true, the names are case sensitive. If
-- false (default), the names are not case sensitive.
restoreTableFromClusterSnapshot_enableCaseSensitiveIdentifier :: Lens' RestoreTableFromClusterSnapshot (Maybe Bool)
-- | The name of the source schema that contains the table to restore from.
-- If you do not specify a SourceSchemaName value, the default
-- is public.
restoreTableFromClusterSnapshot_sourceSchemaName :: Lens' RestoreTableFromClusterSnapshot (Maybe Text)
-- | The name of the database to restore the table to.
restoreTableFromClusterSnapshot_targetDatabaseName :: Lens' RestoreTableFromClusterSnapshot (Maybe Text)
-- | The name of the schema to restore the table to.
restoreTableFromClusterSnapshot_targetSchemaName :: Lens' RestoreTableFromClusterSnapshot (Maybe Text)
-- | The identifier of the Amazon Redshift cluster to restore the table to.
restoreTableFromClusterSnapshot_clusterIdentifier :: Lens' RestoreTableFromClusterSnapshot Text
-- | The identifier of the snapshot to restore the table from. This
-- snapshot must have been created from the Amazon Redshift cluster
-- specified by the ClusterIdentifier parameter.
restoreTableFromClusterSnapshot_snapshotIdentifier :: Lens' RestoreTableFromClusterSnapshot Text
-- | The name of the source database that contains the table to restore
-- from.
restoreTableFromClusterSnapshot_sourceDatabaseName :: Lens' RestoreTableFromClusterSnapshot Text
-- | The name of the source table to restore from.
restoreTableFromClusterSnapshot_sourceTableName :: Lens' RestoreTableFromClusterSnapshot Text
-- | The name of the table to create as a result of the current request.
restoreTableFromClusterSnapshot_newTableName :: Lens' RestoreTableFromClusterSnapshot Text
-- | See: newRestoreTableFromClusterSnapshotResponse smart
-- constructor.
data RestoreTableFromClusterSnapshotResponse
RestoreTableFromClusterSnapshotResponse' :: Maybe TableRestoreStatus -> Int -> RestoreTableFromClusterSnapshotResponse
[$sel:tableRestoreStatus:RestoreTableFromClusterSnapshotResponse'] :: RestoreTableFromClusterSnapshotResponse -> Maybe TableRestoreStatus
-- | The response's http status code.
[$sel:httpStatus:RestoreTableFromClusterSnapshotResponse'] :: RestoreTableFromClusterSnapshotResponse -> Int
-- | Create a value of RestoreTableFromClusterSnapshotResponse 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:RestoreTableFromClusterSnapshotResponse',
-- restoreTableFromClusterSnapshotResponse_tableRestoreStatus -
-- Undocumented member.
--
-- $sel:httpStatus:RestoreTableFromClusterSnapshotResponse',
-- restoreTableFromClusterSnapshotResponse_httpStatus - The
-- response's http status code.
newRestoreTableFromClusterSnapshotResponse :: Int -> RestoreTableFromClusterSnapshotResponse
-- | Undocumented member.
restoreTableFromClusterSnapshotResponse_tableRestoreStatus :: Lens' RestoreTableFromClusterSnapshotResponse (Maybe TableRestoreStatus)
-- | The response's http status code.
restoreTableFromClusterSnapshotResponse_httpStatus :: Lens' RestoreTableFromClusterSnapshotResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance GHC.Show.Show Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance GHC.Read.Read Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance GHC.Classes.Eq Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance GHC.Generics.Generic Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
instance GHC.Show.Show Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
instance GHC.Read.Read Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
instance GHC.Classes.Eq Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshotResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.RestoreTableFromClusterSnapshot.RestoreTableFromClusterSnapshot
-- | Creates a new cluster from a snapshot. By default, Amazon Redshift
-- creates the resulting cluster with the same configuration as the
-- original cluster from which the snapshot was created, except that the
-- new cluster is created with the default cluster security and parameter
-- groups. After Amazon Redshift creates the cluster, you can use the
-- ModifyCluster API to associate a different security group and
-- different parameter group with the restored cluster. If you are using
-- a DS node type, you can also choose to change to another DS node type
-- of the same size during restore.
--
-- If you restore a cluster into a VPC, you must provide a cluster subnet
-- group where you want the cluster restored.
--
-- For more information about working with snapshots, go to Amazon
-- Redshift Snapshots in the Amazon Redshift Cluster Management
-- Guide.
module Amazonka.Redshift.RestoreFromClusterSnapshot
-- | See: newRestoreFromClusterSnapshot smart constructor.
data RestoreFromClusterSnapshot
RestoreFromClusterSnapshot' :: Maybe Text -> Maybe Bool -> Maybe AquaConfigurationStatus -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Text -> RestoreFromClusterSnapshot
-- | Reserved.
[$sel:additionalInfo:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | If true, major version upgrades can be applied during the
-- maintenance window to the Amazon Redshift engine that is running on
-- the cluster.
--
-- Default: true
[$sel:allowVersionUpgrade:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Bool
-- | This parameter is retired. It does not set the AQUA configuration
-- status. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
[$sel:aquaConfigurationStatus:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe AquaConfigurationStatus
-- | The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: The value selected for the cluster from which the snapshot
-- was taken.
--
-- Constraints: Must be a value from 0 to 35.
[$sel:automatedSnapshotRetentionPeriod:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Int
-- | The Amazon EC2 Availability Zone in which to restore the cluster.
--
-- Default: A random, system-chosen Availability Zone.
--
-- Example: us-east-2a
[$sel:availabilityZone:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster is restored.
[$sel:availabilityZoneRelocation:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Bool
-- | The name of the parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
[$sel:clusterParameterGroupName:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | A list of security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
--
-- Cluster security groups only apply to clusters outside of VPCs.
[$sel:clusterSecurityGroups:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe [Text]
-- | The name of the subnet group where you want to cluster restored.
--
-- A snapshot of cluster in VPC can be restored only in VPC. Therefore,
-- you must provide subnet group name where you want the cluster
-- restored.
[$sel:clusterSubnetGroupName:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The Amazon Resource Name (ARN) for the IAM role that was set as
-- default for the cluster when the cluster was last modified while it
-- was restored from a snapshot.
[$sel:defaultIamRoleArn:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The Elastic IP (EIP) address for the cluster. Don't specify the
-- Elastic IP address for a publicly accessible cluster with availability
-- zone relocation turned on.
[$sel:elasticIp:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | Enables support for restoring an unencrypted snapshot to a cluster
-- encrypted with Key Management Service (KMS) and a customer managed
-- key.
[$sel:encrypted:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Bool
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
[$sel:enhancedVpcRouting:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Bool
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
[$sel:hsmClientCertificateIdentifier:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
[$sel:hsmConfigurationIdentifier:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services. You must
-- supply the IAM roles in their Amazon Resource Name (ARN) format.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
[$sel:iamRoles:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe [Text]
-- | The Key Management Service (KMS) key ID of the encryption key that
-- encrypts data in the cluster restored from a shared snapshot. You can
-- also provide the key ID when you restore from an unencrypted snapshot
-- to an encrypted cluster in the same account. Additionally, you can
-- specify a new KMS key ID when you restore from an encrypted snapshot
-- in the same account in order to change it. In that case, the restored
-- cluster is encrypted with the new KMS key ID.
[$sel:kmsKeyId:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The name of the maintenance track for the restored cluster. When you
-- take a snapshot, the snapshot inherits the MaintenanceTrack
-- value from the cluster. The snapshot might be on a different track
-- than the cluster that was the source for the snapshot. For example,
-- suppose that you take a snapshot of a cluster that is on the current
-- track and then change the cluster to be on the trailing track. In this
-- case, the snapshot and the source cluster are on different tracks.
[$sel:maintenanceTrackName:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
[$sel:manualSnapshotRetentionPeriod:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Int
-- | The node type that the restored cluster will be provisioned with.
--
-- Default: The node type of the cluster from which the snapshot was
-- taken. You can modify this if you are using any DS node type. In that
-- case, you can choose to restore into another DS node type of the same
-- size. For example, you can restore ds1.8xlarge into ds2.8xlarge, or
-- ds1.xlarge into ds2.xlarge. If you have a DC instance type, you must
-- restore into that same instance type and size. In other words, you can
-- only restore a dc1.large instance type into another dc1.large instance
-- type or dc2.large instance type. You can't restore dc1.8xlarge to
-- dc2.8xlarge. First restore to a dc1.8xlarge cluster, then resize to a
-- dc2.8large cluster. For more information about node types, see
-- About Clusters and Nodes in the Amazon Redshift Cluster
-- Management Guide.
[$sel:nodeType:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The number of nodes specified when provisioning the restored cluster.
[$sel:numberOfNodes:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Int
-- | The Amazon Web Services account used to create or copy the snapshot.
-- Required if you are restoring a snapshot you do not own, optional if
-- you own the snapshot.
[$sel:ownerAccount:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The port number on which the cluster accepts connections.
--
-- Default: The same port as the original cluster.
--
-- Constraints: Must be between 1115 and 65535.
[$sel:port:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Int
-- | The weekly time range (in UTC) during which automated cluster
-- maintenance can occur.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi
--
-- Default: The value selected for the cluster from which the snapshot
-- was taken. For more information about the time blocks for each region,
-- see Maintenance Windows in Amazon Redshift Cluster Management
-- Guide.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Minimum 30-minute window.
[$sel:preferredMaintenanceWindow:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | If true, the cluster can be accessed from a public network.
[$sel:publiclyAccessible:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Bool
-- | The identifier of the target reserved node offering.
[$sel:reservedNodeId:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to restore from a cluster. You can specify this parameter or
-- snapshotIdentifier, but not both.
[$sel:snapshotArn:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The name of the cluster the source snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
[$sel:snapshotClusterIdentifier:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The name of the snapshot from which to create the new cluster. This
-- parameter isn't case sensitive. You can specify this parameter or
-- snapshotArn, but not both.
--
-- Example: my-snapshot-id
[$sel:snapshotIdentifier:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | A unique identifier for the snapshot schedule.
[$sel:snapshotScheduleIdentifier:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | The identifier of the target reserved node offering.
[$sel:targetReservedNodeOfferingId:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe Text
-- | A list of Virtual Private Cloud (VPC) security groups to be associated
-- with the cluster.
--
-- Default: The default VPC security group is associated with the
-- cluster.
--
-- VPC security groups only apply to clusters in VPCs.
[$sel:vpcSecurityGroupIds:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Maybe [Text]
-- | The identifier of the cluster that will be created from restoring the
-- snapshot.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
[$sel:clusterIdentifier:RestoreFromClusterSnapshot'] :: RestoreFromClusterSnapshot -> Text
-- | Create a value of RestoreFromClusterSnapshot 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:additionalInfo:RestoreFromClusterSnapshot',
-- restoreFromClusterSnapshot_additionalInfo - Reserved.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_allowVersionUpgrade - If
-- true, major version upgrades can be applied during the
-- maintenance window to the Amazon Redshift engine that is running on
-- the cluster.
--
-- Default: true
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_aquaConfigurationStatus - This
-- parameter is retired. It does not set the AQUA configuration status.
-- Amazon Redshift automatically determines whether to use AQUA (Advanced
-- Query Accelerator).
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_automatedSnapshotRetentionPeriod -
-- The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: The value selected for the cluster from which the snapshot
-- was taken.
--
-- Constraints: Must be a value from 0 to 35.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_availabilityZone - The Amazon EC2
-- Availability Zone in which to restore the cluster.
--
-- Default: A random, system-chosen Availability Zone.
--
-- Example: us-east-2a
--
-- $sel:availabilityZoneRelocation:RestoreFromClusterSnapshot',
-- restoreFromClusterSnapshot_availabilityZoneRelocation - The
-- option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster is restored.
--
-- $sel:clusterParameterGroupName:RestoreFromClusterSnapshot',
-- restoreFromClusterSnapshot_clusterParameterGroupName - The name
-- of the parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_clusterSecurityGroups - A list of
-- security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
--
-- Cluster security groups only apply to clusters outside of VPCs.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_clusterSubnetGroupName - The name of
-- the subnet group where you want to cluster restored.
--
-- A snapshot of cluster in VPC can be restored only in VPC. Therefore,
-- you must provide subnet group name where you want the cluster
-- restored.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_defaultIamRoleArn - The Amazon
-- Resource Name (ARN) for the IAM role that was set as default for the
-- cluster when the cluster was last modified while it was restored from
-- a snapshot.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_elasticIp - The Elastic IP (EIP)
-- address for the cluster. Don't specify the Elastic IP address for a
-- publicly accessible cluster with availability zone relocation turned
-- on.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_encrypted - Enables support for
-- restoring an unencrypted snapshot to a cluster encrypted with Key
-- Management Service (KMS) and a customer managed key.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_enhancedVpcRouting - An option that
-- specifies whether to create the cluster with enhanced VPC routing
-- enabled. To create a cluster that uses enhanced VPC routing, the
-- cluster must be in a VPC. For more information, see Enhanced VPC
-- Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_hsmClientCertificateIdentifier -
-- Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_hsmConfigurationIdentifier -
-- Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_iamRoles - A list of Identity and
-- Access Management (IAM) roles that can be used by the cluster to
-- access other Amazon Web Services services. You must supply the IAM
-- roles in their Amazon Resource Name (ARN) format.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_kmsKeyId - The Key Management
-- Service (KMS) key ID of the encryption key that encrypts data in the
-- cluster restored from a shared snapshot. You can also provide the key
-- ID when you restore from an unencrypted snapshot to an encrypted
-- cluster in the same account. Additionally, you can specify a new KMS
-- key ID when you restore from an encrypted snapshot in the same account
-- in order to change it. In that case, the restored cluster is encrypted
-- with the new KMS key ID.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_maintenanceTrackName - The name of
-- the maintenance track for the restored cluster. When you take a
-- snapshot, the snapshot inherits the MaintenanceTrack value
-- from the cluster. The snapshot might be on a different track than the
-- cluster that was the source for the snapshot. For example, suppose
-- that you take a snapshot of a cluster that is on the current track and
-- then change the cluster to be on the trailing track. In this case, the
-- snapshot and the source cluster are on different tracks.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_manualSnapshotRetentionPeriod - The
-- default number of days to retain a manual snapshot. If the value is
-- -1, the snapshot is retained indefinitely. This setting doesn't change
-- the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_nodeType - The node type that the
-- restored cluster will be provisioned with.
--
-- Default: The node type of the cluster from which the snapshot was
-- taken. You can modify this if you are using any DS node type. In that
-- case, you can choose to restore into another DS node type of the same
-- size. For example, you can restore ds1.8xlarge into ds2.8xlarge, or
-- ds1.xlarge into ds2.xlarge. If you have a DC instance type, you must
-- restore into that same instance type and size. In other words, you can
-- only restore a dc1.large instance type into another dc1.large instance
-- type or dc2.large instance type. You can't restore dc1.8xlarge to
-- dc2.8xlarge. First restore to a dc1.8xlarge cluster, then resize to a
-- dc2.8large cluster. For more information about node types, see
-- About Clusters and Nodes in the Amazon Redshift Cluster
-- Management Guide.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_numberOfNodes - The number of nodes
-- specified when provisioning the restored cluster.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_ownerAccount - The Amazon Web
-- Services account used to create or copy the snapshot. Required if you
-- are restoring a snapshot you do not own, optional if you own the
-- snapshot.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_port - The port number on which the
-- cluster accepts connections.
--
-- Default: The same port as the original cluster.
--
-- Constraints: Must be between 1115 and 65535.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_preferredMaintenanceWindow - The
-- weekly time range (in UTC) during which automated cluster maintenance
-- can occur.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi
--
-- Default: The value selected for the cluster from which the snapshot
-- was taken. For more information about the time blocks for each region,
-- see Maintenance Windows in Amazon Redshift Cluster Management
-- Guide.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Minimum 30-minute window.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_publiclyAccessible - If
-- true, the cluster can be accessed from a public network.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_reservedNodeId - The identifier of
-- the target reserved node offering.
--
-- $sel:snapshotArn:RestoreFromClusterSnapshot',
-- restoreFromClusterSnapshot_snapshotArn - The Amazon Resource
-- Name (ARN) of the snapshot associated with the message to restore from
-- a cluster. You can specify this parameter or
-- snapshotIdentifier, but not both.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_snapshotClusterIdentifier - The name
-- of the cluster the source snapshot was created from. This parameter is
-- required if your IAM user has a policy containing a snapshot resource
-- element that specifies anything other than * for the cluster name.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_snapshotIdentifier - The name of the
-- snapshot from which to create the new cluster. This parameter isn't
-- case sensitive. You can specify this parameter or
-- snapshotArn, but not both.
--
-- Example: my-snapshot-id
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_snapshotScheduleIdentifier - A
-- unique identifier for the snapshot schedule.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_targetReservedNodeOfferingId - The
-- identifier of the target reserved node offering.
--
-- $sel:vpcSecurityGroupIds:RestoreFromClusterSnapshot',
-- restoreFromClusterSnapshot_vpcSecurityGroupIds - A list of
-- Virtual Private Cloud (VPC) security groups to be associated with the
-- cluster.
--
-- Default: The default VPC security group is associated with the
-- cluster.
--
-- VPC security groups only apply to clusters in VPCs.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_clusterIdentifier - The identifier
-- of the cluster that will be created from restoring the snapshot.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
newRestoreFromClusterSnapshot :: Text -> RestoreFromClusterSnapshot
-- | Reserved.
restoreFromClusterSnapshot_additionalInfo :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | If true, major version upgrades can be applied during the
-- maintenance window to the Amazon Redshift engine that is running on
-- the cluster.
--
-- Default: true
restoreFromClusterSnapshot_allowVersionUpgrade :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | This parameter is retired. It does not set the AQUA configuration
-- status. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
restoreFromClusterSnapshot_aquaConfigurationStatus :: Lens' RestoreFromClusterSnapshot (Maybe AquaConfigurationStatus)
-- | The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: The value selected for the cluster from which the snapshot
-- was taken.
--
-- Constraints: Must be a value from 0 to 35.
restoreFromClusterSnapshot_automatedSnapshotRetentionPeriod :: Lens' RestoreFromClusterSnapshot (Maybe Int)
-- | The Amazon EC2 Availability Zone in which to restore the cluster.
--
-- Default: A random, system-chosen Availability Zone.
--
-- Example: us-east-2a
restoreFromClusterSnapshot_availabilityZone :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster is restored.
restoreFromClusterSnapshot_availabilityZoneRelocation :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | The name of the parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
restoreFromClusterSnapshot_clusterParameterGroupName :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | A list of security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
--
-- Cluster security groups only apply to clusters outside of VPCs.
restoreFromClusterSnapshot_clusterSecurityGroups :: Lens' RestoreFromClusterSnapshot (Maybe [Text])
-- | The name of the subnet group where you want to cluster restored.
--
-- A snapshot of cluster in VPC can be restored only in VPC. Therefore,
-- you must provide subnet group name where you want the cluster
-- restored.
restoreFromClusterSnapshot_clusterSubnetGroupName :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The Amazon Resource Name (ARN) for the IAM role that was set as
-- default for the cluster when the cluster was last modified while it
-- was restored from a snapshot.
restoreFromClusterSnapshot_defaultIamRoleArn :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The Elastic IP (EIP) address for the cluster. Don't specify the
-- Elastic IP address for a publicly accessible cluster with availability
-- zone relocation turned on.
restoreFromClusterSnapshot_elasticIp :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | Enables support for restoring an unencrypted snapshot to a cluster
-- encrypted with Key Management Service (KMS) and a customer managed
-- key.
restoreFromClusterSnapshot_encrypted :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
restoreFromClusterSnapshot_enhancedVpcRouting :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
restoreFromClusterSnapshot_hsmClientCertificateIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
restoreFromClusterSnapshot_hsmConfigurationIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services. You must
-- supply the IAM roles in their Amazon Resource Name (ARN) format.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
restoreFromClusterSnapshot_iamRoles :: Lens' RestoreFromClusterSnapshot (Maybe [Text])
-- | The Key Management Service (KMS) key ID of the encryption key that
-- encrypts data in the cluster restored from a shared snapshot. You can
-- also provide the key ID when you restore from an unencrypted snapshot
-- to an encrypted cluster in the same account. Additionally, you can
-- specify a new KMS key ID when you restore from an encrypted snapshot
-- in the same account in order to change it. In that case, the restored
-- cluster is encrypted with the new KMS key ID.
restoreFromClusterSnapshot_kmsKeyId :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The name of the maintenance track for the restored cluster. When you
-- take a snapshot, the snapshot inherits the MaintenanceTrack
-- value from the cluster. The snapshot might be on a different track
-- than the cluster that was the source for the snapshot. For example,
-- suppose that you take a snapshot of a cluster that is on the current
-- track and then change the cluster to be on the trailing track. In this
-- case, the snapshot and the source cluster are on different tracks.
restoreFromClusterSnapshot_maintenanceTrackName :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
restoreFromClusterSnapshot_manualSnapshotRetentionPeriod :: Lens' RestoreFromClusterSnapshot (Maybe Int)
-- | The node type that the restored cluster will be provisioned with.
--
-- Default: The node type of the cluster from which the snapshot was
-- taken. You can modify this if you are using any DS node type. In that
-- case, you can choose to restore into another DS node type of the same
-- size. For example, you can restore ds1.8xlarge into ds2.8xlarge, or
-- ds1.xlarge into ds2.xlarge. If you have a DC instance type, you must
-- restore into that same instance type and size. In other words, you can
-- only restore a dc1.large instance type into another dc1.large instance
-- type or dc2.large instance type. You can't restore dc1.8xlarge to
-- dc2.8xlarge. First restore to a dc1.8xlarge cluster, then resize to a
-- dc2.8large cluster. For more information about node types, see
-- About Clusters and Nodes in the Amazon Redshift Cluster
-- Management Guide.
restoreFromClusterSnapshot_nodeType :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The number of nodes specified when provisioning the restored cluster.
restoreFromClusterSnapshot_numberOfNodes :: Lens' RestoreFromClusterSnapshot (Maybe Int)
-- | The Amazon Web Services account used to create or copy the snapshot.
-- Required if you are restoring a snapshot you do not own, optional if
-- you own the snapshot.
restoreFromClusterSnapshot_ownerAccount :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The port number on which the cluster accepts connections.
--
-- Default: The same port as the original cluster.
--
-- Constraints: Must be between 1115 and 65535.
restoreFromClusterSnapshot_port :: Lens' RestoreFromClusterSnapshot (Maybe Int)
-- | The weekly time range (in UTC) during which automated cluster
-- maintenance can occur.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi
--
-- Default: The value selected for the cluster from which the snapshot
-- was taken. For more information about the time blocks for each region,
-- see Maintenance Windows in Amazon Redshift Cluster Management
-- Guide.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Minimum 30-minute window.
restoreFromClusterSnapshot_preferredMaintenanceWindow :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
restoreFromClusterSnapshot_publiclyAccessible :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | The identifier of the target reserved node offering.
restoreFromClusterSnapshot_reservedNodeId :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to restore from a cluster. You can specify this parameter or
-- snapshotIdentifier, but not both.
restoreFromClusterSnapshot_snapshotArn :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The name of the cluster the source snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
restoreFromClusterSnapshot_snapshotClusterIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The name of the snapshot from which to create the new cluster. This
-- parameter isn't case sensitive. You can specify this parameter or
-- snapshotArn, but not both.
--
-- Example: my-snapshot-id
restoreFromClusterSnapshot_snapshotIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | A unique identifier for the snapshot schedule.
restoreFromClusterSnapshot_snapshotScheduleIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The identifier of the target reserved node offering.
restoreFromClusterSnapshot_targetReservedNodeOfferingId :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | A list of Virtual Private Cloud (VPC) security groups to be associated
-- with the cluster.
--
-- Default: The default VPC security group is associated with the
-- cluster.
--
-- VPC security groups only apply to clusters in VPCs.
restoreFromClusterSnapshot_vpcSecurityGroupIds :: Lens' RestoreFromClusterSnapshot (Maybe [Text])
-- | The identifier of the cluster that will be created from restoring the
-- snapshot.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
restoreFromClusterSnapshot_clusterIdentifier :: Lens' RestoreFromClusterSnapshot Text
-- | See: newRestoreFromClusterSnapshotResponse smart
-- constructor.
data RestoreFromClusterSnapshotResponse
RestoreFromClusterSnapshotResponse' :: Maybe Cluster -> Int -> RestoreFromClusterSnapshotResponse
[$sel:cluster:RestoreFromClusterSnapshotResponse'] :: RestoreFromClusterSnapshotResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:RestoreFromClusterSnapshotResponse'] :: RestoreFromClusterSnapshotResponse -> Int
-- | Create a value of RestoreFromClusterSnapshotResponse 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:cluster:RestoreFromClusterSnapshotResponse',
-- restoreFromClusterSnapshotResponse_cluster - Undocumented
-- member.
--
-- $sel:httpStatus:RestoreFromClusterSnapshotResponse',
-- restoreFromClusterSnapshotResponse_httpStatus - The response's
-- http status code.
newRestoreFromClusterSnapshotResponse :: Int -> RestoreFromClusterSnapshotResponse
-- | Undocumented member.
restoreFromClusterSnapshotResponse_cluster :: Lens' RestoreFromClusterSnapshotResponse (Maybe Cluster)
-- | The response's http status code.
restoreFromClusterSnapshotResponse_httpStatus :: Lens' RestoreFromClusterSnapshotResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance GHC.Show.Show Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance GHC.Read.Read Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance GHC.Classes.Eq Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance GHC.Generics.Generic Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
instance GHC.Show.Show Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
instance GHC.Read.Read Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
instance GHC.Classes.Eq Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshotResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.RestoreFromClusterSnapshot.RestoreFromClusterSnapshot
-- | Changes the size of the cluster. You can change the cluster's type, or
-- change the number or type of nodes. The default behavior is to use the
-- elastic resize method. With an elastic resize, your cluster is
-- available for read and write operations more quickly than with the
-- classic resize method.
--
-- Elastic resize operations have the following restrictions:
--
--
-- - You can only resize clusters of the following
-- types:
- dc1.large (if your cluster is in a
-- VPC)
- dc1.8xlarge (if your cluster is in a
-- VPC)
- dc2.large
- dc2.8xlarge
- ds2.xlarge
- ds2.8xlarge
- ra3.xlplus
- ra3.4xlarge
- ra3.16xlarge
-- - The type of nodes that you add must match the node type for the
-- cluster.
--
module Amazonka.Redshift.ResizeCluster
-- | Describes a resize cluster operation. For example, a scheduled action
-- to run the ResizeCluster API operation.
--
-- See: newResizeCluster smart constructor.
data ResizeCluster
ResizeCluster' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Text -> ResizeCluster
-- | A boolean value indicating whether the resize operation is using the
-- classic resize process. If you don't provide this parameter or set the
-- value to false, the resize type is elastic.
[$sel:classic:ResizeCluster'] :: ResizeCluster -> Maybe Bool
-- | The new cluster type for the specified cluster.
[$sel:clusterType:ResizeCluster'] :: ResizeCluster -> Maybe Text
-- | The new node type for the nodes you are adding. If not specified, the
-- cluster's current node type is used.
[$sel:nodeType:ResizeCluster'] :: ResizeCluster -> Maybe Text
-- | The new number of nodes for the cluster. If not specified, the
-- cluster's current number of nodes is used.
[$sel:numberOfNodes:ResizeCluster'] :: ResizeCluster -> Maybe Int
-- | The identifier of the reserved node.
[$sel:reservedNodeId:ResizeCluster'] :: ResizeCluster -> Maybe Text
-- | The identifier of the target reserved node offering.
[$sel:targetReservedNodeOfferingId:ResizeCluster'] :: ResizeCluster -> Maybe Text
-- | The unique identifier for the cluster to resize.
[$sel:clusterIdentifier:ResizeCluster'] :: ResizeCluster -> Text
-- | Create a value of ResizeCluster 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:
--
-- ResizeCluster, resizeCluster_classic - A boolean value
-- indicating whether the resize operation is using the classic resize
-- process. If you don't provide this parameter or set the value to
-- false, the resize type is elastic.
--
-- ResizeCluster, resizeCluster_clusterType - The new
-- cluster type for the specified cluster.
--
-- ResizeCluster, resizeCluster_nodeType - The new node
-- type for the nodes you are adding. If not specified, the cluster's
-- current node type is used.
--
-- ResizeCluster, resizeCluster_numberOfNodes - The new
-- number of nodes for the cluster. If not specified, the cluster's
-- current number of nodes is used.
--
-- ResizeCluster, resizeCluster_reservedNodeId - The
-- identifier of the reserved node.
--
-- ResizeCluster,
-- resizeCluster_targetReservedNodeOfferingId - The identifier of
-- the target reserved node offering.
--
-- ResizeCluster, resizeCluster_clusterIdentifier - The
-- unique identifier for the cluster to resize.
newResizeCluster :: Text -> ResizeCluster
-- | A boolean value indicating whether the resize operation is using the
-- classic resize process. If you don't provide this parameter or set the
-- value to false, the resize type is elastic.
resizeCluster_classic :: Lens' ResizeCluster (Maybe Bool)
-- | The new cluster type for the specified cluster.
resizeCluster_clusterType :: Lens' ResizeCluster (Maybe Text)
-- | The new node type for the nodes you are adding. If not specified, the
-- cluster's current node type is used.
resizeCluster_nodeType :: Lens' ResizeCluster (Maybe Text)
-- | The new number of nodes for the cluster. If not specified, the
-- cluster's current number of nodes is used.
resizeCluster_numberOfNodes :: Lens' ResizeCluster (Maybe Int)
-- | The identifier of the reserved node.
resizeCluster_reservedNodeId :: Lens' ResizeCluster (Maybe Text)
-- | The identifier of the target reserved node offering.
resizeCluster_targetReservedNodeOfferingId :: Lens' ResizeCluster (Maybe Text)
-- | The unique identifier for the cluster to resize.
resizeCluster_clusterIdentifier :: Lens' ResizeCluster Text
-- | See: newResizeClusterResponse smart constructor.
data ResizeClusterResponse
ResizeClusterResponse' :: Maybe Cluster -> Int -> ResizeClusterResponse
[$sel:cluster:ResizeClusterResponse'] :: ResizeClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:ResizeClusterResponse'] :: ResizeClusterResponse -> Int
-- | Create a value of ResizeClusterResponse 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:cluster:ResizeClusterResponse',
-- resizeClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ResizeClusterResponse',
-- resizeClusterResponse_httpStatus - The response's http status
-- code.
newResizeClusterResponse :: Int -> ResizeClusterResponse
-- | Undocumented member.
resizeClusterResponse_cluster :: Lens' ResizeClusterResponse (Maybe Cluster)
-- | The response's http status code.
resizeClusterResponse_httpStatus :: Lens' ResizeClusterResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ResizeCluster.ResizeCluster
instance GHC.Show.Show Amazonka.Redshift.ResizeCluster.ResizeCluster
instance GHC.Read.Read Amazonka.Redshift.ResizeCluster.ResizeCluster
instance GHC.Classes.Eq Amazonka.Redshift.ResizeCluster.ResizeCluster
instance GHC.Generics.Generic Amazonka.Redshift.ResizeCluster.ResizeClusterResponse
instance GHC.Show.Show Amazonka.Redshift.ResizeCluster.ResizeClusterResponse
instance GHC.Read.Read Amazonka.Redshift.ResizeCluster.ResizeClusterResponse
instance GHC.Classes.Eq Amazonka.Redshift.ResizeCluster.ResizeClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ResizeCluster.ResizeCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.ResizeCluster.ResizeClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ResizeCluster.ResizeCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.ResizeCluster.ResizeCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ResizeCluster.ResizeCluster
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ResizeCluster.ResizeCluster
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ResizeCluster.ResizeCluster
-- | Sets one or more parameters of the specified parameter group to their
-- default values and sets the source values of the parameters to
-- "engine-default". To reset the entire parameter group specify the
-- ResetAllParameters parameter. For parameter changes to take
-- effect you must reboot any associated clusters.
module Amazonka.Redshift.ResetClusterParameterGroup
-- | See: newResetClusterParameterGroup smart constructor.
data ResetClusterParameterGroup
ResetClusterParameterGroup' :: Maybe [Parameter] -> Maybe Bool -> Text -> ResetClusterParameterGroup
-- | An array of names of parameters to be reset. If
-- ResetAllParameters option is not used, then at least one
-- parameter name must be supplied.
--
-- Constraints: A maximum of 20 parameters can be reset in a single
-- request.
[$sel:parameters:ResetClusterParameterGroup'] :: ResetClusterParameterGroup -> Maybe [Parameter]
-- | If true, all parameters in the specified parameter group will
-- be reset to their default values.
--
-- Default: true
[$sel:resetAllParameters:ResetClusterParameterGroup'] :: ResetClusterParameterGroup -> Maybe Bool
-- | The name of the cluster parameter group to be reset.
[$sel:parameterGroupName:ResetClusterParameterGroup'] :: ResetClusterParameterGroup -> Text
-- | Create a value of ResetClusterParameterGroup 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:
--
-- ResetClusterParameterGroup,
-- resetClusterParameterGroup_parameters - An array of names of
-- parameters to be reset. If ResetAllParameters option is not
-- used, then at least one parameter name must be supplied.
--
-- Constraints: A maximum of 20 parameters can be reset in a single
-- request.
--
-- $sel:resetAllParameters:ResetClusterParameterGroup',
-- resetClusterParameterGroup_resetAllParameters - If
-- true, all parameters in the specified parameter group will be
-- reset to their default values.
--
-- Default: true
--
-- ResetClusterParameterGroup,
-- resetClusterParameterGroup_parameterGroupName - The name of the
-- cluster parameter group to be reset.
newResetClusterParameterGroup :: Text -> ResetClusterParameterGroup
-- | An array of names of parameters to be reset. If
-- ResetAllParameters option is not used, then at least one
-- parameter name must be supplied.
--
-- Constraints: A maximum of 20 parameters can be reset in a single
-- request.
resetClusterParameterGroup_parameters :: Lens' ResetClusterParameterGroup (Maybe [Parameter])
-- | If true, all parameters in the specified parameter group will
-- be reset to their default values.
--
-- Default: true
resetClusterParameterGroup_resetAllParameters :: Lens' ResetClusterParameterGroup (Maybe Bool)
-- | The name of the cluster parameter group to be reset.
resetClusterParameterGroup_parameterGroupName :: Lens' ResetClusterParameterGroup Text
-- | See: newClusterParameterGroupNameMessage smart
-- constructor.
data ClusterParameterGroupNameMessage
ClusterParameterGroupNameMessage' :: Maybe Text -> Maybe Text -> ClusterParameterGroupNameMessage
-- | The name of the cluster parameter group.
[$sel:parameterGroupName:ClusterParameterGroupNameMessage'] :: ClusterParameterGroupNameMessage -> Maybe Text
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
[$sel:parameterGroupStatus:ClusterParameterGroupNameMessage'] :: ClusterParameterGroupNameMessage -> Maybe Text
-- | Create a value of ClusterParameterGroupNameMessage 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:parameterGroupName:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupName - The name
-- of the cluster parameter group.
--
-- $sel:parameterGroupStatus:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupStatus - The
-- status of the parameter group. For example, if you made a change to a
-- parameter group name-value pair, then the change could be pending a
-- reboot of an associated cluster.
newClusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | The name of the cluster parameter group.
clusterParameterGroupNameMessage_parameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
clusterParameterGroupNameMessage_parameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance GHC.Show.Show Amazonka.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance GHC.Read.Read Amazonka.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance GHC.Classes.Eq Amazonka.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ResetClusterParameterGroup.ResetClusterParameterGroup
-- | From a datashare consumer account, rejects the specified datashare.
module Amazonka.Redshift.RejectDataShare
-- | See: newRejectDataShare smart constructor.
data RejectDataShare
RejectDataShare' :: Text -> RejectDataShare
-- | The Amazon Resource Name (ARN) of the datashare to reject.
[$sel:dataShareArn:RejectDataShare'] :: RejectDataShare -> Text
-- | Create a value of RejectDataShare 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:
--
-- RejectDataShare, rejectDataShare_dataShareArn - The
-- Amazon Resource Name (ARN) of the datashare to reject.
newRejectDataShare :: Text -> RejectDataShare
-- | The Amazon Resource Name (ARN) of the datashare to reject.
rejectDataShare_dataShareArn :: Lens' RejectDataShare Text
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
[$sel:allowPubliclyAccessibleConsumers:DataShare'] :: DataShare -> Maybe Bool
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
[$sel:dataShareArn:DataShare'] :: DataShare -> Maybe Text
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
[$sel:dataShareAssociations:DataShare'] :: DataShare -> Maybe [DataShareAssociation]
-- | The identifier of a datashare to show its managing entity.
[$sel:managedBy:DataShare'] :: DataShare -> Maybe Text
-- | The Amazon Resource Name (ARN) of the producer.
[$sel:producerArn:DataShare'] :: DataShare -> Maybe Text
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.RejectDataShare.RejectDataShare
instance GHC.Show.Show Amazonka.Redshift.RejectDataShare.RejectDataShare
instance GHC.Read.Read Amazonka.Redshift.RejectDataShare.RejectDataShare
instance GHC.Classes.Eq Amazonka.Redshift.RejectDataShare.RejectDataShare
instance Amazonka.Types.AWSRequest Amazonka.Redshift.RejectDataShare.RejectDataShare
instance Data.Hashable.Class.Hashable Amazonka.Redshift.RejectDataShare.RejectDataShare
instance Control.DeepSeq.NFData Amazonka.Redshift.RejectDataShare.RejectDataShare
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.RejectDataShare.RejectDataShare
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.RejectDataShare.RejectDataShare
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.RejectDataShare.RejectDataShare
-- | Reboots a cluster. This action is taken as soon as possible. It
-- results in a momentary outage to the cluster, during which the cluster
-- status is set to rebooting. A cluster event is created when
-- the reboot is completed. Any pending cluster modifications (see
-- ModifyCluster) are applied at this reboot. For more information about
-- managing clusters, go to Amazon Redshift Clusters in the
-- Amazon Redshift Cluster Management Guide.
module Amazonka.Redshift.RebootCluster
-- | See: newRebootCluster smart constructor.
data RebootCluster
RebootCluster' :: Text -> RebootCluster
-- | The cluster identifier.
[$sel:clusterIdentifier:RebootCluster'] :: RebootCluster -> Text
-- | Create a value of RebootCluster 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:
--
-- RebootCluster, rebootCluster_clusterIdentifier - The
-- cluster identifier.
newRebootCluster :: Text -> RebootCluster
-- | The cluster identifier.
rebootCluster_clusterIdentifier :: Lens' RebootCluster Text
-- | See: newRebootClusterResponse smart constructor.
data RebootClusterResponse
RebootClusterResponse' :: Maybe Cluster -> Int -> RebootClusterResponse
[$sel:cluster:RebootClusterResponse'] :: RebootClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:RebootClusterResponse'] :: RebootClusterResponse -> Int
-- | Create a value of RebootClusterResponse 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:cluster:RebootClusterResponse',
-- rebootClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:RebootClusterResponse',
-- rebootClusterResponse_httpStatus - The response's http status
-- code.
newRebootClusterResponse :: Int -> RebootClusterResponse
-- | Undocumented member.
rebootClusterResponse_cluster :: Lens' RebootClusterResponse (Maybe Cluster)
-- | The response's http status code.
rebootClusterResponse_httpStatus :: Lens' RebootClusterResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.RebootCluster.RebootCluster
instance GHC.Show.Show Amazonka.Redshift.RebootCluster.RebootCluster
instance GHC.Read.Read Amazonka.Redshift.RebootCluster.RebootCluster
instance GHC.Classes.Eq Amazonka.Redshift.RebootCluster.RebootCluster
instance GHC.Generics.Generic Amazonka.Redshift.RebootCluster.RebootClusterResponse
instance GHC.Show.Show Amazonka.Redshift.RebootCluster.RebootClusterResponse
instance GHC.Read.Read Amazonka.Redshift.RebootCluster.RebootClusterResponse
instance GHC.Classes.Eq Amazonka.Redshift.RebootCluster.RebootClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.RebootCluster.RebootCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.RebootCluster.RebootClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.RebootCluster.RebootCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.RebootCluster.RebootCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.RebootCluster.RebootCluster
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.RebootCluster.RebootCluster
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.RebootCluster.RebootCluster
-- | Allows you to purchase reserved nodes. Amazon Redshift offers a
-- predefined set of reserved node offerings. You can purchase one or
-- more of the offerings. You can call the DescribeReservedNodeOfferings
-- API to obtain the available reserved node offerings. You can call this
-- API by providing a specific reserved node offering and the number of
-- nodes you want to reserve.
--
-- For more information about reserved node offerings, go to
-- Purchasing Reserved Nodes in the Amazon Redshift Cluster
-- Management Guide.
module Amazonka.Redshift.PurchaseReservedNodeOffering
-- | See: newPurchaseReservedNodeOffering smart constructor.
data PurchaseReservedNodeOffering
PurchaseReservedNodeOffering' :: Maybe Int -> Text -> PurchaseReservedNodeOffering
-- | The number of reserved nodes that you want to purchase.
--
-- Default: 1
[$sel:nodeCount:PurchaseReservedNodeOffering'] :: PurchaseReservedNodeOffering -> Maybe Int
-- | The unique identifier of the reserved node offering you want to
-- purchase.
[$sel:reservedNodeOfferingId:PurchaseReservedNodeOffering'] :: PurchaseReservedNodeOffering -> Text
-- | Create a value of PurchaseReservedNodeOffering 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:
--
-- PurchaseReservedNodeOffering,
-- purchaseReservedNodeOffering_nodeCount - The number of reserved
-- nodes that you want to purchase.
--
-- Default: 1
--
-- PurchaseReservedNodeOffering,
-- purchaseReservedNodeOffering_reservedNodeOfferingId - The
-- unique identifier of the reserved node offering you want to purchase.
newPurchaseReservedNodeOffering :: Text -> PurchaseReservedNodeOffering
-- | The number of reserved nodes that you want to purchase.
--
-- Default: 1
purchaseReservedNodeOffering_nodeCount :: Lens' PurchaseReservedNodeOffering (Maybe Int)
-- | The unique identifier of the reserved node offering you want to
-- purchase.
purchaseReservedNodeOffering_reservedNodeOfferingId :: Lens' PurchaseReservedNodeOffering Text
-- | See: newPurchaseReservedNodeOfferingResponse smart
-- constructor.
data PurchaseReservedNodeOfferingResponse
PurchaseReservedNodeOfferingResponse' :: Maybe ReservedNode -> Int -> PurchaseReservedNodeOfferingResponse
[$sel:reservedNode:PurchaseReservedNodeOfferingResponse'] :: PurchaseReservedNodeOfferingResponse -> Maybe ReservedNode
-- | The response's http status code.
[$sel:httpStatus:PurchaseReservedNodeOfferingResponse'] :: PurchaseReservedNodeOfferingResponse -> Int
-- | Create a value of PurchaseReservedNodeOfferingResponse 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:reservedNode:PurchaseReservedNodeOfferingResponse',
-- purchaseReservedNodeOfferingResponse_reservedNode -
-- Undocumented member.
--
-- $sel:httpStatus:PurchaseReservedNodeOfferingResponse',
-- purchaseReservedNodeOfferingResponse_httpStatus - The
-- response's http status code.
newPurchaseReservedNodeOfferingResponse :: Int -> PurchaseReservedNodeOfferingResponse
-- | Undocumented member.
purchaseReservedNodeOfferingResponse_reservedNode :: Lens' PurchaseReservedNodeOfferingResponse (Maybe ReservedNode)
-- | The response's http status code.
purchaseReservedNodeOfferingResponse_httpStatus :: Lens' PurchaseReservedNodeOfferingResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance GHC.Show.Show Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance GHC.Read.Read Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance GHC.Classes.Eq Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance GHC.Generics.Generic Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
instance GHC.Show.Show Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
instance GHC.Read.Read Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
instance GHC.Classes.Eq Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Control.DeepSeq.NFData Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOfferingResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Control.DeepSeq.NFData Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.PurchaseReservedNodeOffering.PurchaseReservedNodeOffering
-- | Pauses a cluster.
module Amazonka.Redshift.PauseCluster
-- | Describes a pause cluster operation. For example, a scheduled action
-- to run the PauseCluster API operation.
--
-- See: newPauseCluster smart constructor.
data PauseCluster
PauseCluster' :: Text -> PauseCluster
-- | The identifier of the cluster to be paused.
[$sel:clusterIdentifier:PauseCluster'] :: PauseCluster -> Text
-- | Create a value of PauseCluster 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:
--
-- PauseCluster, pauseCluster_clusterIdentifier - The
-- identifier of the cluster to be paused.
newPauseCluster :: Text -> PauseCluster
-- | The identifier of the cluster to be paused.
pauseCluster_clusterIdentifier :: Lens' PauseCluster Text
-- | See: newPauseClusterResponse smart constructor.
data PauseClusterResponse
PauseClusterResponse' :: Maybe Cluster -> Int -> PauseClusterResponse
[$sel:cluster:PauseClusterResponse'] :: PauseClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:PauseClusterResponse'] :: PauseClusterResponse -> Int
-- | Create a value of PauseClusterResponse 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:cluster:PauseClusterResponse',
-- pauseClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:PauseClusterResponse',
-- pauseClusterResponse_httpStatus - The response's http status
-- code.
newPauseClusterResponse :: Int -> PauseClusterResponse
-- | Undocumented member.
pauseClusterResponse_cluster :: Lens' PauseClusterResponse (Maybe Cluster)
-- | The response's http status code.
pauseClusterResponse_httpStatus :: Lens' PauseClusterResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.PauseCluster.PauseCluster
instance GHC.Show.Show Amazonka.Redshift.PauseCluster.PauseCluster
instance GHC.Read.Read Amazonka.Redshift.PauseCluster.PauseCluster
instance GHC.Classes.Eq Amazonka.Redshift.PauseCluster.PauseCluster
instance GHC.Generics.Generic Amazonka.Redshift.PauseCluster.PauseClusterResponse
instance GHC.Show.Show Amazonka.Redshift.PauseCluster.PauseClusterResponse
instance GHC.Read.Read Amazonka.Redshift.PauseCluster.PauseClusterResponse
instance GHC.Classes.Eq Amazonka.Redshift.PauseCluster.PauseClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.PauseCluster.PauseCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.PauseCluster.PauseClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.PauseCluster.PauseCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.PauseCluster.PauseCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.PauseCluster.PauseCluster
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.PauseCluster.PauseCluster
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.PauseCluster.PauseCluster
-- | Modifies a usage limit in a cluster. You can't modify the feature type
-- or period of a usage limit.
module Amazonka.Redshift.ModifyUsageLimit
-- | See: newModifyUsageLimit smart constructor.
data ModifyUsageLimit
ModifyUsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Text -> ModifyUsageLimit
-- | The new limit amount. For more information about this parameter, see
-- UsageLimit.
[$sel:amount:ModifyUsageLimit'] :: ModifyUsageLimit -> Maybe Integer
-- | The new action that Amazon Redshift takes when the limit is reached.
-- For more information about this parameter, see UsageLimit.
[$sel:breachAction:ModifyUsageLimit'] :: ModifyUsageLimit -> Maybe UsageLimitBreachAction
-- | The identifier of the usage limit to modify.
[$sel:usageLimitId:ModifyUsageLimit'] :: ModifyUsageLimit -> Text
-- | Create a value of ModifyUsageLimit 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:
--
-- ModifyUsageLimit, modifyUsageLimit_amount - The new
-- limit amount. For more information about this parameter, see
-- UsageLimit.
--
-- ModifyUsageLimit, modifyUsageLimit_breachAction - The
-- new action that Amazon Redshift takes when the limit is reached. For
-- more information about this parameter, see UsageLimit.
--
-- ModifyUsageLimit, modifyUsageLimit_usageLimitId - The
-- identifier of the usage limit to modify.
newModifyUsageLimit :: Text -> ModifyUsageLimit
-- | The new limit amount. For more information about this parameter, see
-- UsageLimit.
modifyUsageLimit_amount :: Lens' ModifyUsageLimit (Maybe Integer)
-- | The new action that Amazon Redshift takes when the limit is reached.
-- For more information about this parameter, see UsageLimit.
modifyUsageLimit_breachAction :: Lens' ModifyUsageLimit (Maybe UsageLimitBreachAction)
-- | The identifier of the usage limit to modify.
modifyUsageLimit_usageLimitId :: Lens' ModifyUsageLimit Text
-- | Describes a usage limit object for a cluster.
--
-- See: newUsageLimit smart constructor.
data UsageLimit
UsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Maybe Text -> Maybe UsageLimitFeatureType -> Maybe UsageLimitLimitType -> Maybe UsageLimitPeriod -> Maybe [Tag] -> Maybe Text -> UsageLimit
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
[$sel:amount:UsageLimit'] :: UsageLimit -> Maybe Integer
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
[$sel:breachAction:UsageLimit'] :: UsageLimit -> Maybe UsageLimitBreachAction
-- | The identifier of the cluster with a usage limit.
[$sel:clusterIdentifier:UsageLimit'] :: UsageLimit -> Maybe Text
-- | The Amazon Redshift feature to which the limit applies.
[$sel:featureType:UsageLimit'] :: UsageLimit -> Maybe UsageLimitFeatureType
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
[$sel:limitType:UsageLimit'] :: UsageLimit -> Maybe UsageLimitLimitType
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
[$sel:period:UsageLimit'] :: UsageLimit -> Maybe UsageLimitPeriod
-- | A list of tag instances.
[$sel:tags:UsageLimit'] :: UsageLimit -> Maybe [Tag]
-- | The identifier of the usage limit.
[$sel:usageLimitId:UsageLimit'] :: UsageLimit -> Maybe Text
-- | 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 minutes. If data-based, this
-- amount is in terabytes (TB).
--
-- $sel:breachAction:UsageLimit', usageLimit_breachAction -
-- The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
--
-- $sel:clusterIdentifier:UsageLimit',
-- usageLimit_clusterIdentifier - The identifier of the cluster
-- with a usage limit.
--
-- $sel:featureType:UsageLimit', usageLimit_featureType -
-- The Amazon Redshift feature to which the limit applies.
--
-- $sel:limitType:UsageLimit', usageLimit_limitType - The
-- type of limit. Depending on the feature type, this can be based on a
-- time duration or data size.
--
-- $sel:period:UsageLimit', usageLimit_period - The time
-- period that the amount applies to. A weekly period begins on
-- Sunday. The default is monthly.
--
-- $sel:tags:UsageLimit', usageLimit_tags - A list of tag
-- instances.
--
-- $sel:usageLimitId:UsageLimit', usageLimit_usageLimitId -
-- The identifier of the usage limit.
newUsageLimit :: UsageLimit
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
usageLimit_amount :: Lens' UsageLimit (Maybe Integer)
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction)
-- | The identifier of the cluster with a usage limit.
usageLimit_clusterIdentifier :: Lens' UsageLimit (Maybe Text)
-- | The Amazon Redshift feature to which the limit applies.
usageLimit_featureType :: Lens' UsageLimit (Maybe UsageLimitFeatureType)
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
usageLimit_limitType :: Lens' UsageLimit (Maybe UsageLimitLimitType)
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod)
-- | A list of tag instances.
usageLimit_tags :: Lens' UsageLimit (Maybe [Tag])
-- | The identifier of the usage limit.
usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.ModifyUsageLimit.ModifyUsageLimit
instance GHC.Show.Show Amazonka.Redshift.ModifyUsageLimit.ModifyUsageLimit
instance GHC.Read.Read Amazonka.Redshift.ModifyUsageLimit.ModifyUsageLimit
instance GHC.Classes.Eq Amazonka.Redshift.ModifyUsageLimit.ModifyUsageLimit
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyUsageLimit.ModifyUsageLimit
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyUsageLimit.ModifyUsageLimit
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyUsageLimit.ModifyUsageLimit
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyUsageLimit.ModifyUsageLimit
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyUsageLimit.ModifyUsageLimit
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyUsageLimit.ModifyUsageLimit
-- | Modifies a snapshot schedule. Any schedule associated with a cluster
-- is modified asynchronously.
module Amazonka.Redshift.ModifySnapshotSchedule
-- | See: newModifySnapshotSchedule smart constructor.
data ModifySnapshotSchedule
ModifySnapshotSchedule' :: Text -> [Text] -> ModifySnapshotSchedule
-- | A unique alphanumeric identifier of the schedule to modify.
[$sel:scheduleIdentifier:ModifySnapshotSchedule'] :: ModifySnapshotSchedule -> Text
-- | An updated list of schedule definitions. A schedule definition is made
-- up of schedule expressions, for example, "cron(30 12 *)" or "rate(12
-- hours)".
[$sel:scheduleDefinitions:ModifySnapshotSchedule'] :: ModifySnapshotSchedule -> [Text]
-- | Create a value of ModifySnapshotSchedule 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:
--
-- ModifySnapshotSchedule,
-- modifySnapshotSchedule_scheduleIdentifier - A unique
-- alphanumeric identifier of the schedule to modify.
--
-- ModifySnapshotSchedule,
-- modifySnapshotSchedule_scheduleDefinitions - An updated list of
-- schedule definitions. A schedule definition is made up of schedule
-- expressions, for example, "cron(30 12 *)" or "rate(12 hours)".
newModifySnapshotSchedule :: Text -> ModifySnapshotSchedule
-- | A unique alphanumeric identifier of the schedule to modify.
modifySnapshotSchedule_scheduleIdentifier :: Lens' ModifySnapshotSchedule Text
-- | An updated list of schedule definitions. A schedule definition is made
-- up of schedule expressions, for example, "cron(30 12 *)" or "rate(12
-- hours)".
modifySnapshotSchedule_scheduleDefinitions :: Lens' ModifySnapshotSchedule [Text]
-- | Describes a snapshot schedule. You can set a regular interval for
-- creating snapshots of a cluster. You can also schedule snapshots for
-- specific dates.
--
-- See: newSnapshotSchedule smart constructor.
data SnapshotSchedule
SnapshotSchedule' :: Maybe Int -> Maybe [ClusterAssociatedToSchedule] -> Maybe [ISO8601] -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Tag] -> SnapshotSchedule
-- | The number of clusters associated with the schedule.
[$sel:associatedClusterCount:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Int
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
[$sel:associatedClusters:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [ClusterAssociatedToSchedule]
[$sel:nextInvocations:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [ISO8601]
-- | A list of ScheduleDefinitions.
[$sel:scheduleDefinitions:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [Text]
-- | The description of the schedule.
[$sel:scheduleDescription:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Text
-- | A unique identifier for the schedule.
[$sel:scheduleIdentifier:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Text
-- | An optional set of tags describing the schedule.
[$sel:tags:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [Tag]
-- | Create a value of SnapshotSchedule 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:associatedClusterCount:SnapshotSchedule',
-- snapshotSchedule_associatedClusterCount - The number of
-- clusters associated with the schedule.
--
-- $sel:associatedClusters:SnapshotSchedule',
-- snapshotSchedule_associatedClusters - A list of clusters
-- associated with the schedule. A maximum of 100 clusters is returned.
--
-- $sel:nextInvocations:SnapshotSchedule',
-- snapshotSchedule_nextInvocations -
--
-- $sel:scheduleDefinitions:SnapshotSchedule',
-- snapshotSchedule_scheduleDefinitions - A list of
-- ScheduleDefinitions.
--
-- $sel:scheduleDescription:SnapshotSchedule',
-- snapshotSchedule_scheduleDescription - The description of the
-- schedule.
--
-- $sel:scheduleIdentifier:SnapshotSchedule',
-- snapshotSchedule_scheduleIdentifier - A unique identifier for
-- the schedule.
--
-- $sel:tags:SnapshotSchedule', snapshotSchedule_tags - An
-- optional set of tags describing the schedule.
newSnapshotSchedule :: SnapshotSchedule
-- | The number of clusters associated with the schedule.
snapshotSchedule_associatedClusterCount :: Lens' SnapshotSchedule (Maybe Int)
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
snapshotSchedule_associatedClusters :: Lens' SnapshotSchedule (Maybe [ClusterAssociatedToSchedule])
snapshotSchedule_nextInvocations :: Lens' SnapshotSchedule (Maybe [UTCTime])
-- | A list of ScheduleDefinitions.
snapshotSchedule_scheduleDefinitions :: Lens' SnapshotSchedule (Maybe [Text])
-- | The description of the schedule.
snapshotSchedule_scheduleDescription :: Lens' SnapshotSchedule (Maybe Text)
-- | A unique identifier for the schedule.
snapshotSchedule_scheduleIdentifier :: Lens' SnapshotSchedule (Maybe Text)
-- | An optional set of tags describing the schedule.
snapshotSchedule_tags :: Lens' SnapshotSchedule (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.ModifySnapshotSchedule.ModifySnapshotSchedule
instance GHC.Show.Show Amazonka.Redshift.ModifySnapshotSchedule.ModifySnapshotSchedule
instance GHC.Read.Read Amazonka.Redshift.ModifySnapshotSchedule.ModifySnapshotSchedule
instance GHC.Classes.Eq Amazonka.Redshift.ModifySnapshotSchedule.ModifySnapshotSchedule
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifySnapshotSchedule.ModifySnapshotSchedule
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifySnapshotSchedule.ModifySnapshotSchedule
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifySnapshotSchedule.ModifySnapshotSchedule
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifySnapshotSchedule.ModifySnapshotSchedule
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifySnapshotSchedule.ModifySnapshotSchedule
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifySnapshotSchedule.ModifySnapshotSchedule
-- | Modifies the number of days to retain snapshots in the destination
-- Amazon Web Services Region after they are copied from the source
-- Amazon Web Services Region. By default, this operation only changes
-- the retention period of copied automated snapshots. The retention
-- periods for both new and existing copied automated snapshots are
-- updated with the new retention period. You can set the manual option
-- to change only the retention periods of copied manual snapshots. If
-- you set this option, only newly copied manual snapshots have the new
-- retention period.
module Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod
-- | See: newModifySnapshotCopyRetentionPeriod smart
-- constructor.
data ModifySnapshotCopyRetentionPeriod
ModifySnapshotCopyRetentionPeriod' :: Maybe Bool -> Text -> Int -> ModifySnapshotCopyRetentionPeriod
-- | Indicates whether to apply the snapshot retention period to newly
-- copied manual snapshots instead of automated snapshots.
[$sel:manual:ModifySnapshotCopyRetentionPeriod'] :: ModifySnapshotCopyRetentionPeriod -> Maybe Bool
-- | The unique identifier of the cluster for which you want to change the
-- retention period for either automated or manual snapshots that are
-- copied to a destination Amazon Web Services Region.
--
-- Constraints: Must be the valid name of an existing cluster that has
-- cross-region snapshot copy enabled.
[$sel:clusterIdentifier:ModifySnapshotCopyRetentionPeriod'] :: ModifySnapshotCopyRetentionPeriod -> Text
-- | The number of days to retain automated snapshots in the destination
-- Amazon Web Services Region after they are copied from the source
-- Amazon Web Services Region.
--
-- By default, this only changes the retention period of copied automated
-- snapshots.
--
-- If you decrease the retention period for automated snapshots that are
-- copied to a destination Amazon Web Services Region, Amazon Redshift
-- deletes any existing automated snapshots that were copied to the
-- destination Amazon Web Services Region and that fall outside of the
-- new retention period.
--
-- Constraints: Must be at least 1 and no more than 35 for automated
-- snapshots.
--
-- If you specify the manual option, only newly copied manual
-- snapshots will have the new retention period.
--
-- If you specify the value of -1 newly copied manual snapshots are
-- retained indefinitely.
--
-- Constraints: The number of days must be either -1 or an integer
-- between 1 and 3,653 for manual snapshots.
[$sel:retentionPeriod:ModifySnapshotCopyRetentionPeriod'] :: ModifySnapshotCopyRetentionPeriod -> Int
-- | Create a value of ModifySnapshotCopyRetentionPeriod 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:manual:ModifySnapshotCopyRetentionPeriod',
-- modifySnapshotCopyRetentionPeriod_manual - Indicates whether to
-- apply the snapshot retention period to newly copied manual snapshots
-- instead of automated snapshots.
--
-- ModifySnapshotCopyRetentionPeriod,
-- modifySnapshotCopyRetentionPeriod_clusterIdentifier - The
-- unique identifier of the cluster for which you want to change the
-- retention period for either automated or manual snapshots that are
-- copied to a destination Amazon Web Services Region.
--
-- Constraints: Must be the valid name of an existing cluster that has
-- cross-region snapshot copy enabled.
--
-- ModifySnapshotCopyRetentionPeriod,
-- modifySnapshotCopyRetentionPeriod_retentionPeriod - The number
-- of days to retain automated snapshots in the destination Amazon Web
-- Services Region after they are copied from the source Amazon Web
-- Services Region.
--
-- By default, this only changes the retention period of copied automated
-- snapshots.
--
-- If you decrease the retention period for automated snapshots that are
-- copied to a destination Amazon Web Services Region, Amazon Redshift
-- deletes any existing automated snapshots that were copied to the
-- destination Amazon Web Services Region and that fall outside of the
-- new retention period.
--
-- Constraints: Must be at least 1 and no more than 35 for automated
-- snapshots.
--
-- If you specify the manual option, only newly copied manual
-- snapshots will have the new retention period.
--
-- If you specify the value of -1 newly copied manual snapshots are
-- retained indefinitely.
--
-- Constraints: The number of days must be either -1 or an integer
-- between 1 and 3,653 for manual snapshots.
newModifySnapshotCopyRetentionPeriod :: Text -> Int -> ModifySnapshotCopyRetentionPeriod
-- | Indicates whether to apply the snapshot retention period to newly
-- copied manual snapshots instead of automated snapshots.
modifySnapshotCopyRetentionPeriod_manual :: Lens' ModifySnapshotCopyRetentionPeriod (Maybe Bool)
-- | The unique identifier of the cluster for which you want to change the
-- retention period for either automated or manual snapshots that are
-- copied to a destination Amazon Web Services Region.
--
-- Constraints: Must be the valid name of an existing cluster that has
-- cross-region snapshot copy enabled.
modifySnapshotCopyRetentionPeriod_clusterIdentifier :: Lens' ModifySnapshotCopyRetentionPeriod Text
-- | The number of days to retain automated snapshots in the destination
-- Amazon Web Services Region after they are copied from the source
-- Amazon Web Services Region.
--
-- By default, this only changes the retention period of copied automated
-- snapshots.
--
-- If you decrease the retention period for automated snapshots that are
-- copied to a destination Amazon Web Services Region, Amazon Redshift
-- deletes any existing automated snapshots that were copied to the
-- destination Amazon Web Services Region and that fall outside of the
-- new retention period.
--
-- Constraints: Must be at least 1 and no more than 35 for automated
-- snapshots.
--
-- If you specify the manual option, only newly copied manual
-- snapshots will have the new retention period.
--
-- If you specify the value of -1 newly copied manual snapshots are
-- retained indefinitely.
--
-- Constraints: The number of days must be either -1 or an integer
-- between 1 and 3,653 for manual snapshots.
modifySnapshotCopyRetentionPeriod_retentionPeriod :: Lens' ModifySnapshotCopyRetentionPeriod Int
-- | See: newModifySnapshotCopyRetentionPeriodResponse smart
-- constructor.
data ModifySnapshotCopyRetentionPeriodResponse
ModifySnapshotCopyRetentionPeriodResponse' :: Maybe Cluster -> Int -> ModifySnapshotCopyRetentionPeriodResponse
[$sel:cluster:ModifySnapshotCopyRetentionPeriodResponse'] :: ModifySnapshotCopyRetentionPeriodResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:ModifySnapshotCopyRetentionPeriodResponse'] :: ModifySnapshotCopyRetentionPeriodResponse -> Int
-- | Create a value of ModifySnapshotCopyRetentionPeriodResponse
-- 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:cluster:ModifySnapshotCopyRetentionPeriodResponse',
-- modifySnapshotCopyRetentionPeriodResponse_cluster -
-- Undocumented member.
--
-- $sel:httpStatus:ModifySnapshotCopyRetentionPeriodResponse',
-- modifySnapshotCopyRetentionPeriodResponse_httpStatus - The
-- response's http status code.
newModifySnapshotCopyRetentionPeriodResponse :: Int -> ModifySnapshotCopyRetentionPeriodResponse
-- | Undocumented member.
modifySnapshotCopyRetentionPeriodResponse_cluster :: Lens' ModifySnapshotCopyRetentionPeriodResponse (Maybe Cluster)
-- | The response's http status code.
modifySnapshotCopyRetentionPeriodResponse_httpStatus :: Lens' ModifySnapshotCopyRetentionPeriodResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance GHC.Show.Show Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance GHC.Read.Read Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance GHC.Classes.Eq Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance GHC.Generics.Generic Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
instance GHC.Show.Show Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
instance GHC.Read.Read Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriodResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifySnapshotCopyRetentionPeriod.ModifySnapshotCopyRetentionPeriod
-- | Modifies a scheduled action.
module Amazonka.Redshift.ModifyScheduledAction
-- | See: newModifyScheduledAction smart constructor.
data ModifyScheduledAction
ModifyScheduledAction' :: Maybe Bool -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionType -> Text -> ModifyScheduledAction
-- | A modified enable flag of the scheduled action. If true, the scheduled
-- action is active. If false, the scheduled action is disabled.
[$sel:enable:ModifyScheduledAction'] :: ModifyScheduledAction -> Maybe Bool
-- | A modified end time of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
[$sel:endTime:ModifyScheduledAction'] :: ModifyScheduledAction -> Maybe ISO8601
-- | A different IAM role to assume to run the target action. For more
-- information about this parameter, see ScheduledAction.
[$sel:iamRole:ModifyScheduledAction'] :: ModifyScheduledAction -> Maybe Text
-- | A modified schedule in either at( ) or cron( )
-- format. For more information about this parameter, see
-- ScheduledAction.
[$sel:schedule:ModifyScheduledAction'] :: ModifyScheduledAction -> Maybe Text
-- | A modified description of the scheduled action.
[$sel:scheduledActionDescription:ModifyScheduledAction'] :: ModifyScheduledAction -> Maybe Text
-- | A modified start time of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
[$sel:startTime:ModifyScheduledAction'] :: ModifyScheduledAction -> Maybe ISO8601
-- | A modified JSON format of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
[$sel:targetAction:ModifyScheduledAction'] :: ModifyScheduledAction -> Maybe ScheduledActionType
-- | The name of the scheduled action to modify.
[$sel:scheduledActionName:ModifyScheduledAction'] :: ModifyScheduledAction -> Text
-- | Create a value of ModifyScheduledAction 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:enable:ModifyScheduledAction',
-- modifyScheduledAction_enable - A modified enable flag of the
-- scheduled action. If true, the scheduled action is active. If false,
-- the scheduled action is disabled.
--
-- ModifyScheduledAction, modifyScheduledAction_endTime - A
-- modified end time of the scheduled action. For more information about
-- this parameter, see ScheduledAction.
--
-- ModifyScheduledAction, modifyScheduledAction_iamRole - A
-- different IAM role to assume to run the target action. For more
-- information about this parameter, see ScheduledAction.
--
-- ModifyScheduledAction, modifyScheduledAction_schedule -
-- A modified schedule in either at( ) or cron( )
-- format. For more information about this parameter, see
-- ScheduledAction.
--
-- ModifyScheduledAction,
-- modifyScheduledAction_scheduledActionDescription - A modified
-- description of the scheduled action.
--
-- ModifyScheduledAction, modifyScheduledAction_startTime -
-- A modified start time of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
--
-- ModifyScheduledAction,
-- modifyScheduledAction_targetAction - A modified JSON format of
-- the scheduled action. For more information about this parameter, see
-- ScheduledAction.
--
-- ModifyScheduledAction,
-- modifyScheduledAction_scheduledActionName - The name of the
-- scheduled action to modify.
newModifyScheduledAction :: Text -> ModifyScheduledAction
-- | A modified enable flag of the scheduled action. If true, the scheduled
-- action is active. If false, the scheduled action is disabled.
modifyScheduledAction_enable :: Lens' ModifyScheduledAction (Maybe Bool)
-- | A modified end time of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
modifyScheduledAction_endTime :: Lens' ModifyScheduledAction (Maybe UTCTime)
-- | A different IAM role to assume to run the target action. For more
-- information about this parameter, see ScheduledAction.
modifyScheduledAction_iamRole :: Lens' ModifyScheduledAction (Maybe Text)
-- | A modified schedule in either at( ) or cron( )
-- format. For more information about this parameter, see
-- ScheduledAction.
modifyScheduledAction_schedule :: Lens' ModifyScheduledAction (Maybe Text)
-- | A modified description of the scheduled action.
modifyScheduledAction_scheduledActionDescription :: Lens' ModifyScheduledAction (Maybe Text)
-- | A modified start time of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
modifyScheduledAction_startTime :: Lens' ModifyScheduledAction (Maybe UTCTime)
-- | A modified JSON format of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
modifyScheduledAction_targetAction :: Lens' ModifyScheduledAction (Maybe ScheduledActionType)
-- | The name of the scheduled action to modify.
modifyScheduledAction_scheduledActionName :: Lens' ModifyScheduledAction Text
-- | Describes a scheduled action. You can use a scheduled action to
-- trigger some Amazon Redshift API operations on a schedule. For
-- information about which API operations can be scheduled, see
-- ScheduledActionType.
--
-- See: newScheduledAction smart constructor.
data ScheduledAction
ScheduledAction' :: Maybe ISO8601 -> Maybe Text -> Maybe [ISO8601] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionState -> Maybe ScheduledActionType -> ScheduledAction
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
[$sel:endTime:ScheduledAction'] :: ScheduledAction -> Maybe ISO8601
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
[$sel:iamRole:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | List of times when the scheduled action will run.
[$sel:nextInvocations:ScheduledAction'] :: ScheduledAction -> Maybe [ISO8601]
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
[$sel:schedule:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The description of the scheduled action.
[$sel:scheduledActionDescription:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The name of the scheduled action.
[$sel:scheduledActionName:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
[$sel:startTime:ScheduledAction'] :: ScheduledAction -> Maybe ISO8601
-- | The state of the scheduled action. For example, DISABLED.
[$sel:state:ScheduledAction'] :: ScheduledAction -> Maybe ScheduledActionState
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
[$sel:targetAction:ScheduledAction'] :: ScheduledAction -> Maybe ScheduledActionType
-- | Create a value of ScheduledAction 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:ScheduledAction', scheduledAction_endTime -
-- The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
--
-- $sel:iamRole:ScheduledAction', scheduledAction_iamRole -
-- The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- $sel:nextInvocations:ScheduledAction',
-- scheduledAction_nextInvocations - List of times when the
-- scheduled action will run.
--
-- $sel:schedule:ScheduledAction', scheduledAction_schedule
-- - The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
--
-- $sel:scheduledActionDescription:ScheduledAction',
-- scheduledAction_scheduledActionDescription - The description of
-- the scheduled action.
--
-- $sel:scheduledActionName:ScheduledAction',
-- scheduledAction_scheduledActionName - The name of the scheduled
-- action.
--
-- $sel:startTime:ScheduledAction',
-- scheduledAction_startTime - The start time in UTC when the
-- schedule is active. Before this time, the scheduled action does not
-- trigger.
--
-- $sel:state:ScheduledAction', scheduledAction_state - The
-- state of the scheduled action. For example, DISABLED.
--
-- $sel:targetAction:ScheduledAction',
-- scheduledAction_targetAction - A JSON format string of the
-- Amazon Redshift API operation with input parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
newScheduledAction :: ScheduledAction
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
scheduledAction_endTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
scheduledAction_iamRole :: Lens' ScheduledAction (Maybe Text)
-- | List of times when the scheduled action will run.
scheduledAction_nextInvocations :: Lens' ScheduledAction (Maybe [UTCTime])
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
scheduledAction_schedule :: Lens' ScheduledAction (Maybe Text)
-- | The description of the scheduled action.
scheduledAction_scheduledActionDescription :: Lens' ScheduledAction (Maybe Text)
-- | The name of the scheduled action.
scheduledAction_scheduledActionName :: Lens' ScheduledAction (Maybe Text)
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
scheduledAction_startTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The state of the scheduled action. For example, DISABLED.
scheduledAction_state :: Lens' ScheduledAction (Maybe ScheduledActionState)
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
scheduledAction_targetAction :: Lens' ScheduledAction (Maybe ScheduledActionType)
instance GHC.Generics.Generic Amazonka.Redshift.ModifyScheduledAction.ModifyScheduledAction
instance GHC.Show.Show Amazonka.Redshift.ModifyScheduledAction.ModifyScheduledAction
instance GHC.Read.Read Amazonka.Redshift.ModifyScheduledAction.ModifyScheduledAction
instance GHC.Classes.Eq Amazonka.Redshift.ModifyScheduledAction.ModifyScheduledAction
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyScheduledAction.ModifyScheduledAction
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyScheduledAction.ModifyScheduledAction
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyScheduledAction.ModifyScheduledAction
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyScheduledAction.ModifyScheduledAction
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyScheduledAction.ModifyScheduledAction
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyScheduledAction.ModifyScheduledAction
-- | Modifies an existing Amazon Redshift event notification subscription.
module Amazonka.Redshift.ModifyEventSubscription
-- | See: newModifyEventSubscription smart constructor.
data ModifyEventSubscription
ModifyEventSubscription' :: Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Text -> ModifyEventSubscription
-- | A Boolean value indicating if the subscription is enabled.
-- true indicates the subscription is enabled
[$sel:enabled:ModifyEventSubscription'] :: ModifyEventSubscription -> Maybe Bool
-- | Specifies the Amazon Redshift event categories to be published by the
-- event notification subscription.
--
-- Values: configuration, management, monitoring, security, pending
[$sel:eventCategories:ModifyEventSubscription'] :: ModifyEventSubscription -> Maybe [Text]
-- | Specifies the Amazon Redshift event severity to be published by the
-- event notification subscription.
--
-- Values: ERROR, INFO
[$sel:severity:ModifyEventSubscription'] :: ModifyEventSubscription -> Maybe Text
-- | The Amazon Resource Name (ARN) of the SNS topic to be used by the
-- event notification subscription.
[$sel:snsTopicArn:ModifyEventSubscription'] :: ModifyEventSubscription -> Maybe Text
-- | A list of one or more identifiers of Amazon Redshift source objects.
-- All of the objects must be of the same type as was specified in the
-- source type parameter. The event subscription will return only events
-- generated by the specified objects. If not specified, then events are
-- returned for all objects within the source type specified.
--
-- Example: my-cluster-1, my-cluster-2
--
-- Example: my-snapshot-20131010
[$sel:sourceIds:ModifyEventSubscription'] :: ModifyEventSubscription -> Maybe [Text]
-- | The type of source that will be generating the events. For example, if
-- you want to be notified of events generated by a cluster, you would
-- set this parameter to cluster. If this value is not specified, events
-- are returned for all Amazon Redshift objects in your Amazon Web
-- Services account. You must specify a source type in order to specify
-- source IDs.
--
-- Valid values: cluster, cluster-parameter-group,
-- cluster-security-group, cluster-snapshot, and scheduled-action.
[$sel:sourceType:ModifyEventSubscription'] :: ModifyEventSubscription -> Maybe Text
-- | The name of the modified Amazon Redshift event notification
-- subscription.
[$sel:subscriptionName:ModifyEventSubscription'] :: ModifyEventSubscription -> Text
-- | Create a value of ModifyEventSubscription 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:
--
-- ModifyEventSubscription, modifyEventSubscription_enabled
-- - A Boolean value indicating if the subscription is enabled.
-- true indicates the subscription is enabled
--
-- ModifyEventSubscription,
-- modifyEventSubscription_eventCategories - Specifies the Amazon
-- Redshift event categories to be published by the event notification
-- subscription.
--
-- Values: configuration, management, monitoring, security, pending
--
-- ModifyEventSubscription,
-- modifyEventSubscription_severity - Specifies the Amazon
-- Redshift event severity to be published by the event notification
-- subscription.
--
-- Values: ERROR, INFO
--
-- ModifyEventSubscription,
-- modifyEventSubscription_snsTopicArn - The Amazon Resource Name
-- (ARN) of the SNS topic to be used by the event notification
-- subscription.
--
-- $sel:sourceIds:ModifyEventSubscription',
-- modifyEventSubscription_sourceIds - A list of one or more
-- identifiers of Amazon Redshift source objects. All of the objects must
-- be of the same type as was specified in the source type parameter. The
-- event subscription will return only events generated by the specified
-- objects. If not specified, then events are returned for all objects
-- within the source type specified.
--
-- Example: my-cluster-1, my-cluster-2
--
-- Example: my-snapshot-20131010
--
-- ModifyEventSubscription,
-- modifyEventSubscription_sourceType - The type of source that
-- will be generating the events. For example, if you want to be notified
-- of events generated by a cluster, you would set this parameter to
-- cluster. If this value is not specified, events are returned for all
-- Amazon Redshift objects in your Amazon Web Services account. You must
-- specify a source type in order to specify source IDs.
--
-- Valid values: cluster, cluster-parameter-group,
-- cluster-security-group, cluster-snapshot, and scheduled-action.
--
-- $sel:subscriptionName:ModifyEventSubscription',
-- modifyEventSubscription_subscriptionName - The name of the
-- modified Amazon Redshift event notification subscription.
newModifyEventSubscription :: Text -> ModifyEventSubscription
-- | A Boolean value indicating if the subscription is enabled.
-- true indicates the subscription is enabled
modifyEventSubscription_enabled :: Lens' ModifyEventSubscription (Maybe Bool)
-- | Specifies the Amazon Redshift event categories to be published by the
-- event notification subscription.
--
-- Values: configuration, management, monitoring, security, pending
modifyEventSubscription_eventCategories :: Lens' ModifyEventSubscription (Maybe [Text])
-- | Specifies the Amazon Redshift event severity to be published by the
-- event notification subscription.
--
-- Values: ERROR, INFO
modifyEventSubscription_severity :: Lens' ModifyEventSubscription (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SNS topic to be used by the
-- event notification subscription.
modifyEventSubscription_snsTopicArn :: Lens' ModifyEventSubscription (Maybe Text)
-- | A list of one or more identifiers of Amazon Redshift source objects.
-- All of the objects must be of the same type as was specified in the
-- source type parameter. The event subscription will return only events
-- generated by the specified objects. If not specified, then events are
-- returned for all objects within the source type specified.
--
-- Example: my-cluster-1, my-cluster-2
--
-- Example: my-snapshot-20131010
modifyEventSubscription_sourceIds :: Lens' ModifyEventSubscription (Maybe [Text])
-- | The type of source that will be generating the events. For example, if
-- you want to be notified of events generated by a cluster, you would
-- set this parameter to cluster. If this value is not specified, events
-- are returned for all Amazon Redshift objects in your Amazon Web
-- Services account. You must specify a source type in order to specify
-- source IDs.
--
-- Valid values: cluster, cluster-parameter-group,
-- cluster-security-group, cluster-snapshot, and scheduled-action.
modifyEventSubscription_sourceType :: Lens' ModifyEventSubscription (Maybe Text)
-- | The name of the modified Amazon Redshift event notification
-- subscription.
modifyEventSubscription_subscriptionName :: Lens' ModifyEventSubscription Text
-- | See: newModifyEventSubscriptionResponse smart
-- constructor.
data ModifyEventSubscriptionResponse
ModifyEventSubscriptionResponse' :: Maybe EventSubscription -> Int -> ModifyEventSubscriptionResponse
[$sel:eventSubscription:ModifyEventSubscriptionResponse'] :: ModifyEventSubscriptionResponse -> Maybe EventSubscription
-- | The response's http status code.
[$sel:httpStatus:ModifyEventSubscriptionResponse'] :: ModifyEventSubscriptionResponse -> Int
-- | Create a value of ModifyEventSubscriptionResponse 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:eventSubscription:ModifyEventSubscriptionResponse',
-- modifyEventSubscriptionResponse_eventSubscription -
-- Undocumented member.
--
-- $sel:httpStatus:ModifyEventSubscriptionResponse',
-- modifyEventSubscriptionResponse_httpStatus - The response's
-- http status code.
newModifyEventSubscriptionResponse :: Int -> ModifyEventSubscriptionResponse
-- | Undocumented member.
modifyEventSubscriptionResponse_eventSubscription :: Lens' ModifyEventSubscriptionResponse (Maybe EventSubscription)
-- | The response's http status code.
modifyEventSubscriptionResponse_httpStatus :: Lens' ModifyEventSubscriptionResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance GHC.Show.Show Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance GHC.Read.Read Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance GHC.Classes.Eq Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance GHC.Generics.Generic Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Show.Show Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Read.Read Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscriptionResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscription
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyEventSubscription.ModifyEventSubscription
-- | Modifies a Redshift-managed VPC endpoint.
module Amazonka.Redshift.ModifyEndpointAccess
-- | See: newModifyEndpointAccess smart constructor.
data ModifyEndpointAccess
ModifyEndpointAccess' :: Maybe [Text] -> Text -> ModifyEndpointAccess
-- | The complete list of VPC security groups associated with the endpoint
-- after the endpoint is modified.
[$sel:vpcSecurityGroupIds:ModifyEndpointAccess'] :: ModifyEndpointAccess -> Maybe [Text]
-- | The endpoint to be modified.
[$sel:endpointName:ModifyEndpointAccess'] :: ModifyEndpointAccess -> Text
-- | Create a value of ModifyEndpointAccess 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:ModifyEndpointAccess',
-- modifyEndpointAccess_vpcSecurityGroupIds - The complete list of
-- VPC security groups associated with the endpoint after the endpoint is
-- modified.
--
-- ModifyEndpointAccess, modifyEndpointAccess_endpointName
-- - The endpoint to be modified.
newModifyEndpointAccess :: Text -> ModifyEndpointAccess
-- | The complete list of VPC security groups associated with the endpoint
-- after the endpoint is modified.
modifyEndpointAccess_vpcSecurityGroupIds :: Lens' ModifyEndpointAccess (Maybe [Text])
-- | The endpoint to be modified.
modifyEndpointAccess_endpointName :: Lens' ModifyEndpointAccess Text
-- | Describes a Redshift-managed VPC endpoint.
--
-- See: newEndpointAccess smart constructor.
data EndpointAccess
EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> EndpointAccess
-- | The DNS address of the endpoint.
[$sel:address:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The cluster identifier of the cluster associated with the endpoint.
[$sel:clusterIdentifier:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The time (UTC) that the endpoint was created.
[$sel:endpointCreateTime:EndpointAccess'] :: EndpointAccess -> Maybe ISO8601
-- | The name of the endpoint.
[$sel:endpointName:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The status of the endpoint.
[$sel:endpointStatus:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The port number on which the cluster accepts incoming connections.
[$sel:port:EndpointAccess'] :: EndpointAccess -> Maybe Int
-- | The Amazon Web Services account ID of the owner of the cluster.
[$sel:resourceOwner:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
[$sel:subnetGroupName:EndpointAccess'] :: EndpointAccess -> Maybe Text
[$sel:vpcEndpoint:EndpointAccess'] :: EndpointAccess -> Maybe VpcEndpoint
-- | The security groups associated with the endpoint.
[$sel:vpcSecurityGroups:EndpointAccess'] :: EndpointAccess -> Maybe [VpcSecurityGroupMembership]
-- | 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:clusterIdentifier:EndpointAccess',
-- endpointAccess_clusterIdentifier - The cluster identifier of
-- the cluster associated with the endpoint.
--
-- $sel:endpointCreateTime:EndpointAccess',
-- endpointAccess_endpointCreateTime - The time (UTC) that the
-- endpoint was created.
--
-- $sel:endpointName:EndpointAccess',
-- endpointAccess_endpointName - The name of the endpoint.
--
-- $sel:endpointStatus:EndpointAccess',
-- endpointAccess_endpointStatus - The status of the endpoint.
--
-- $sel:port:EndpointAccess', endpointAccess_port - The
-- port number on which the cluster accepts incoming connections.
--
-- $sel:resourceOwner:EndpointAccess',
-- endpointAccess_resourceOwner - The Amazon Web Services account
-- ID of the owner of the cluster.
--
-- $sel:subnetGroupName:EndpointAccess',
-- endpointAccess_subnetGroupName - The subnet group name where
-- Amazon Redshift chooses to deploy the endpoint.
--
-- $sel:vpcEndpoint:EndpointAccess',
-- endpointAccess_vpcEndpoint - Undocumented member.
--
-- $sel:vpcSecurityGroups:EndpointAccess',
-- endpointAccess_vpcSecurityGroups - The security groups
-- associated with the endpoint.
newEndpointAccess :: EndpointAccess
-- | The DNS address of the endpoint.
endpointAccess_address :: Lens' EndpointAccess (Maybe Text)
-- | The cluster identifier of the cluster associated with the endpoint.
endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text)
-- | The time (UTC) that the endpoint was created.
endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime)
-- | The name of the endpoint.
endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text)
-- | The status of the endpoint.
endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text)
-- | The port number on which the cluster accepts incoming connections.
endpointAccess_port :: Lens' EndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text)
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text)
-- | Undocumented member.
endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint)
-- | The security groups associated with the endpoint.
endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership])
instance GHC.Generics.Generic Amazonka.Redshift.ModifyEndpointAccess.ModifyEndpointAccess
instance GHC.Show.Show Amazonka.Redshift.ModifyEndpointAccess.ModifyEndpointAccess
instance GHC.Read.Read Amazonka.Redshift.ModifyEndpointAccess.ModifyEndpointAccess
instance GHC.Classes.Eq Amazonka.Redshift.ModifyEndpointAccess.ModifyEndpointAccess
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyEndpointAccess.ModifyEndpointAccess
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyEndpointAccess.ModifyEndpointAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyEndpointAccess.ModifyEndpointAccess
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyEndpointAccess.ModifyEndpointAccess
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyEndpointAccess.ModifyEndpointAccess
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyEndpointAccess.ModifyEndpointAccess
-- | Modifies a cluster subnet group to include the specified list of VPC
-- subnets. The operation replaces the existing list of subnets with the
-- new list of subnets.
module Amazonka.Redshift.ModifyClusterSubnetGroup
-- | See: newModifyClusterSubnetGroup smart constructor.
data ModifyClusterSubnetGroup
ModifyClusterSubnetGroup' :: Maybe Text -> Text -> [Text] -> ModifyClusterSubnetGroup
-- | A text description of the subnet group to be modified.
[$sel:description:ModifyClusterSubnetGroup'] :: ModifyClusterSubnetGroup -> Maybe Text
-- | The name of the subnet group to be modified.
[$sel:clusterSubnetGroupName:ModifyClusterSubnetGroup'] :: ModifyClusterSubnetGroup -> Text
-- | An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
-- a single request.
[$sel:subnetIds:ModifyClusterSubnetGroup'] :: ModifyClusterSubnetGroup -> [Text]
-- | Create a value of ModifyClusterSubnetGroup 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:
--
-- ModifyClusterSubnetGroup,
-- modifyClusterSubnetGroup_description - A text description of
-- the subnet group to be modified.
--
-- ModifyClusterSubnetGroup,
-- modifyClusterSubnetGroup_clusterSubnetGroupName - The name of
-- the subnet group to be modified.
--
-- $sel:subnetIds:ModifyClusterSubnetGroup',
-- modifyClusterSubnetGroup_subnetIds - An array of VPC subnet
-- IDs. A maximum of 20 subnets can be modified in a single request.
newModifyClusterSubnetGroup :: Text -> ModifyClusterSubnetGroup
-- | A text description of the subnet group to be modified.
modifyClusterSubnetGroup_description :: Lens' ModifyClusterSubnetGroup (Maybe Text)
-- | The name of the subnet group to be modified.
modifyClusterSubnetGroup_clusterSubnetGroupName :: Lens' ModifyClusterSubnetGroup Text
-- | An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
-- a single request.
modifyClusterSubnetGroup_subnetIds :: Lens' ModifyClusterSubnetGroup [Text]
-- | See: newModifyClusterSubnetGroupResponse smart
-- constructor.
data ModifyClusterSubnetGroupResponse
ModifyClusterSubnetGroupResponse' :: Maybe ClusterSubnetGroup -> Int -> ModifyClusterSubnetGroupResponse
[$sel:clusterSubnetGroup:ModifyClusterSubnetGroupResponse'] :: ModifyClusterSubnetGroupResponse -> Maybe ClusterSubnetGroup
-- | The response's http status code.
[$sel:httpStatus:ModifyClusterSubnetGroupResponse'] :: ModifyClusterSubnetGroupResponse -> Int
-- | Create a value of ModifyClusterSubnetGroupResponse 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:clusterSubnetGroup:ModifyClusterSubnetGroupResponse',
-- modifyClusterSubnetGroupResponse_clusterSubnetGroup -
-- Undocumented member.
--
-- $sel:httpStatus:ModifyClusterSubnetGroupResponse',
-- modifyClusterSubnetGroupResponse_httpStatus - The response's
-- http status code.
newModifyClusterSubnetGroupResponse :: Int -> ModifyClusterSubnetGroupResponse
-- | Undocumented member.
modifyClusterSubnetGroupResponse_clusterSubnetGroup :: Lens' ModifyClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
-- | The response's http status code.
modifyClusterSubnetGroupResponse_httpStatus :: Lens' ModifyClusterSubnetGroupResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyClusterSubnetGroup.ModifyClusterSubnetGroup
-- | Modifies a snapshot schedule for a cluster.
module Amazonka.Redshift.ModifyClusterSnapshotSchedule
-- | See: newModifyClusterSnapshotSchedule smart constructor.
data ModifyClusterSnapshotSchedule
ModifyClusterSnapshotSchedule' :: Maybe Bool -> Maybe Text -> Text -> ModifyClusterSnapshotSchedule
-- | A boolean to indicate whether to remove the assoiciation between the
-- cluster and the schedule.
[$sel:disassociateSchedule:ModifyClusterSnapshotSchedule'] :: ModifyClusterSnapshotSchedule -> Maybe Bool
-- | A unique alphanumeric identifier for the schedule that you want to
-- associate with the cluster.
[$sel:scheduleIdentifier:ModifyClusterSnapshotSchedule'] :: ModifyClusterSnapshotSchedule -> Maybe Text
-- | A unique identifier for the cluster whose snapshot schedule you want
-- to modify.
[$sel:clusterIdentifier:ModifyClusterSnapshotSchedule'] :: ModifyClusterSnapshotSchedule -> Text
-- | Create a value of ModifyClusterSnapshotSchedule 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:disassociateSchedule:ModifyClusterSnapshotSchedule',
-- modifyClusterSnapshotSchedule_disassociateSchedule - A boolean
-- to indicate whether to remove the assoiciation between the cluster and
-- the schedule.
--
-- ModifyClusterSnapshotSchedule,
-- modifyClusterSnapshotSchedule_scheduleIdentifier - A unique
-- alphanumeric identifier for the schedule that you want to associate
-- with the cluster.
--
-- ModifyClusterSnapshotSchedule,
-- modifyClusterSnapshotSchedule_clusterIdentifier - A unique
-- identifier for the cluster whose snapshot schedule you want to modify.
newModifyClusterSnapshotSchedule :: Text -> ModifyClusterSnapshotSchedule
-- | A boolean to indicate whether to remove the assoiciation between the
-- cluster and the schedule.
modifyClusterSnapshotSchedule_disassociateSchedule :: Lens' ModifyClusterSnapshotSchedule (Maybe Bool)
-- | A unique alphanumeric identifier for the schedule that you want to
-- associate with the cluster.
modifyClusterSnapshotSchedule_scheduleIdentifier :: Lens' ModifyClusterSnapshotSchedule (Maybe Text)
-- | A unique identifier for the cluster whose snapshot schedule you want
-- to modify.
modifyClusterSnapshotSchedule_clusterIdentifier :: Lens' ModifyClusterSnapshotSchedule Text
-- | See: newModifyClusterSnapshotScheduleResponse smart
-- constructor.
data ModifyClusterSnapshotScheduleResponse
ModifyClusterSnapshotScheduleResponse' :: ModifyClusterSnapshotScheduleResponse
-- | Create a value of ModifyClusterSnapshotScheduleResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newModifyClusterSnapshotScheduleResponse :: ModifyClusterSnapshotScheduleResponse
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotSchedule
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotSchedule
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotSchedule
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotSchedule
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotScheduleResponse
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotScheduleResponse
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotScheduleResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotScheduleResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotSchedule
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotScheduleResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotSchedule
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotSchedule
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotSchedule
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotSchedule
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyClusterSnapshotSchedule.ModifyClusterSnapshotSchedule
-- | Modifies the settings for a snapshot.
--
-- This exanmple modifies the manual retention period setting for a
-- cluster snapshot.
module Amazonka.Redshift.ModifyClusterSnapshot
-- | See: newModifyClusterSnapshot smart constructor.
data ModifyClusterSnapshot
ModifyClusterSnapshot' :: Maybe Bool -> Maybe Int -> Text -> ModifyClusterSnapshot
-- | A Boolean option to override an exception if the retention period has
-- already passed.
[$sel:force:ModifyClusterSnapshot'] :: ModifyClusterSnapshot -> Maybe Bool
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- If the manual snapshot falls outside of the new retention period, you
-- can specify the force option to immediately delete the snapshot.
--
-- The value must be either -1 or an integer between 1 and 3,653.
[$sel:manualSnapshotRetentionPeriod:ModifyClusterSnapshot'] :: ModifyClusterSnapshot -> Maybe Int
-- | The identifier of the snapshot whose setting you want to modify.
[$sel:snapshotIdentifier:ModifyClusterSnapshot'] :: ModifyClusterSnapshot -> Text
-- | Create a value of ModifyClusterSnapshot 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:force:ModifyClusterSnapshot',
-- modifyClusterSnapshot_force - A Boolean option to override an
-- exception if the retention period has already passed.
--
-- ModifyClusterSnapshot,
-- modifyClusterSnapshot_manualSnapshotRetentionPeriod - The
-- number of days that a manual snapshot is retained. If the value is -1,
-- the manual snapshot is retained indefinitely.
--
-- If the manual snapshot falls outside of the new retention period, you
-- can specify the force option to immediately delete the snapshot.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- ModifyClusterSnapshot,
-- modifyClusterSnapshot_snapshotIdentifier - The identifier of
-- the snapshot whose setting you want to modify.
newModifyClusterSnapshot :: Text -> ModifyClusterSnapshot
-- | A Boolean option to override an exception if the retention period has
-- already passed.
modifyClusterSnapshot_force :: Lens' ModifyClusterSnapshot (Maybe Bool)
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- If the manual snapshot falls outside of the new retention period, you
-- can specify the force option to immediately delete the snapshot.
--
-- The value must be either -1 or an integer between 1 and 3,653.
modifyClusterSnapshot_manualSnapshotRetentionPeriod :: Lens' ModifyClusterSnapshot (Maybe Int)
-- | The identifier of the snapshot whose setting you want to modify.
modifyClusterSnapshot_snapshotIdentifier :: Lens' ModifyClusterSnapshot Text
-- | See: newModifyClusterSnapshotResponse smart constructor.
data ModifyClusterSnapshotResponse
ModifyClusterSnapshotResponse' :: Maybe Snapshot -> Int -> ModifyClusterSnapshotResponse
[$sel:snapshot:ModifyClusterSnapshotResponse'] :: ModifyClusterSnapshotResponse -> Maybe Snapshot
-- | The response's http status code.
[$sel:httpStatus:ModifyClusterSnapshotResponse'] :: ModifyClusterSnapshotResponse -> Int
-- | Create a value of ModifyClusterSnapshotResponse 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:ModifyClusterSnapshotResponse',
-- modifyClusterSnapshotResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:ModifyClusterSnapshotResponse',
-- modifyClusterSnapshotResponse_httpStatus - The response's http
-- status code.
newModifyClusterSnapshotResponse :: Int -> ModifyClusterSnapshotResponse
-- | Undocumented member.
modifyClusterSnapshotResponse_snapshot :: Lens' ModifyClusterSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
modifyClusterSnapshotResponse_httpStatus :: Lens' ModifyClusterSnapshotResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshot
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshot
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshot
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshot
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshotResponse
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshotResponse
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshotResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshotResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshotResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshot
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshot
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshot
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyClusterSnapshot.ModifyClusterSnapshot
-- | Modifies the parameters of a parameter group. For the parameters
-- parameter, it can't contain ASCII characters.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
module Amazonka.Redshift.ModifyClusterParameterGroup
-- | Describes a modify cluster parameter group operation.
--
-- See: newModifyClusterParameterGroup smart constructor.
data ModifyClusterParameterGroup
ModifyClusterParameterGroup' :: Text -> [Parameter] -> ModifyClusterParameterGroup
-- | The name of the parameter group to be modified.
[$sel:parameterGroupName:ModifyClusterParameterGroup'] :: ModifyClusterParameterGroup -> Text
-- | An array of parameters to be modified. A maximum of 20 parameters can
-- be modified in a single request.
--
-- For each parameter to be modified, you must supply at least the
-- parameter name and parameter value; other name-value pairs of the
-- parameter are optional.
--
-- For the workload management (WLM) configuration, you must supply all
-- the name-value pairs in the wlm_json_configuration parameter.
[$sel:parameters:ModifyClusterParameterGroup'] :: ModifyClusterParameterGroup -> [Parameter]
-- | Create a value of ModifyClusterParameterGroup 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:
--
-- ModifyClusterParameterGroup,
-- modifyClusterParameterGroup_parameterGroupName - The name of
-- the parameter group to be modified.
--
-- ModifyClusterParameterGroup,
-- modifyClusterParameterGroup_parameters - An array of parameters
-- to be modified. A maximum of 20 parameters can be modified in a single
-- request.
--
-- For each parameter to be modified, you must supply at least the
-- parameter name and parameter value; other name-value pairs of the
-- parameter are optional.
--
-- For the workload management (WLM) configuration, you must supply all
-- the name-value pairs in the wlm_json_configuration parameter.
newModifyClusterParameterGroup :: Text -> ModifyClusterParameterGroup
-- | The name of the parameter group to be modified.
modifyClusterParameterGroup_parameterGroupName :: Lens' ModifyClusterParameterGroup Text
-- | An array of parameters to be modified. A maximum of 20 parameters can
-- be modified in a single request.
--
-- For each parameter to be modified, you must supply at least the
-- parameter name and parameter value; other name-value pairs of the
-- parameter are optional.
--
-- For the workload management (WLM) configuration, you must supply all
-- the name-value pairs in the wlm_json_configuration parameter.
modifyClusterParameterGroup_parameters :: Lens' ModifyClusterParameterGroup [Parameter]
-- | See: newClusterParameterGroupNameMessage smart
-- constructor.
data ClusterParameterGroupNameMessage
ClusterParameterGroupNameMessage' :: Maybe Text -> Maybe Text -> ClusterParameterGroupNameMessage
-- | The name of the cluster parameter group.
[$sel:parameterGroupName:ClusterParameterGroupNameMessage'] :: ClusterParameterGroupNameMessage -> Maybe Text
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
[$sel:parameterGroupStatus:ClusterParameterGroupNameMessage'] :: ClusterParameterGroupNameMessage -> Maybe Text
-- | Create a value of ClusterParameterGroupNameMessage 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:parameterGroupName:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupName - The name
-- of the cluster parameter group.
--
-- $sel:parameterGroupStatus:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupStatus - The
-- status of the parameter group. For example, if you made a change to a
-- parameter group name-value pair, then the change could be pending a
-- reboot of an associated cluster.
newClusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | The name of the cluster parameter group.
clusterParameterGroupNameMessage_parameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
clusterParameterGroupNameMessage_parameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyClusterParameterGroup.ModifyClusterParameterGroup
-- | Modifies the maintenance settings of a cluster.
module Amazonka.Redshift.ModifyClusterMaintenance
-- | See: newModifyClusterMaintenance smart constructor.
data ModifyClusterMaintenance
ModifyClusterMaintenance' :: Maybe Bool -> Maybe Int -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Text -> ModifyClusterMaintenance
-- | A boolean indicating whether to enable the deferred maintenance
-- window.
[$sel:deferMaintenance:ModifyClusterMaintenance'] :: ModifyClusterMaintenance -> Maybe Bool
-- | An integer indicating the duration of the maintenance window in days.
-- If you specify a duration, you can't specify an end time. The duration
-- must be 45 days or less.
[$sel:deferMaintenanceDuration:ModifyClusterMaintenance'] :: ModifyClusterMaintenance -> Maybe Int
-- | A timestamp indicating end time for the deferred maintenance window.
-- If you specify an end time, you can't specify a duration.
[$sel:deferMaintenanceEndTime:ModifyClusterMaintenance'] :: ModifyClusterMaintenance -> Maybe ISO8601
-- | A unique identifier for the deferred maintenance window.
[$sel:deferMaintenanceIdentifier:ModifyClusterMaintenance'] :: ModifyClusterMaintenance -> Maybe Text
-- | A timestamp indicating the start time for the deferred maintenance
-- window.
[$sel:deferMaintenanceStartTime:ModifyClusterMaintenance'] :: ModifyClusterMaintenance -> Maybe ISO8601
-- | A unique identifier for the cluster.
[$sel:clusterIdentifier:ModifyClusterMaintenance'] :: ModifyClusterMaintenance -> Text
-- | Create a value of ModifyClusterMaintenance 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:deferMaintenance:ModifyClusterMaintenance',
-- modifyClusterMaintenance_deferMaintenance - A boolean
-- indicating whether to enable the deferred maintenance window.
--
-- $sel:deferMaintenanceDuration:ModifyClusterMaintenance',
-- modifyClusterMaintenance_deferMaintenanceDuration - An integer
-- indicating the duration of the maintenance window in days. If you
-- specify a duration, you can't specify an end time. The duration must
-- be 45 days or less.
--
-- ModifyClusterMaintenance,
-- modifyClusterMaintenance_deferMaintenanceEndTime - A timestamp
-- indicating end time for the deferred maintenance window. If you
-- specify an end time, you can't specify a duration.
--
-- ModifyClusterMaintenance,
-- modifyClusterMaintenance_deferMaintenanceIdentifier - A unique
-- identifier for the deferred maintenance window.
--
-- ModifyClusterMaintenance,
-- modifyClusterMaintenance_deferMaintenanceStartTime - A
-- timestamp indicating the start time for the deferred maintenance
-- window.
--
-- ModifyClusterMaintenance,
-- modifyClusterMaintenance_clusterIdentifier - A unique
-- identifier for the cluster.
newModifyClusterMaintenance :: Text -> ModifyClusterMaintenance
-- | A boolean indicating whether to enable the deferred maintenance
-- window.
modifyClusterMaintenance_deferMaintenance :: Lens' ModifyClusterMaintenance (Maybe Bool)
-- | An integer indicating the duration of the maintenance window in days.
-- If you specify a duration, you can't specify an end time. The duration
-- must be 45 days or less.
modifyClusterMaintenance_deferMaintenanceDuration :: Lens' ModifyClusterMaintenance (Maybe Int)
-- | A timestamp indicating end time for the deferred maintenance window.
-- If you specify an end time, you can't specify a duration.
modifyClusterMaintenance_deferMaintenanceEndTime :: Lens' ModifyClusterMaintenance (Maybe UTCTime)
-- | A unique identifier for the deferred maintenance window.
modifyClusterMaintenance_deferMaintenanceIdentifier :: Lens' ModifyClusterMaintenance (Maybe Text)
-- | A timestamp indicating the start time for the deferred maintenance
-- window.
modifyClusterMaintenance_deferMaintenanceStartTime :: Lens' ModifyClusterMaintenance (Maybe UTCTime)
-- | A unique identifier for the cluster.
modifyClusterMaintenance_clusterIdentifier :: Lens' ModifyClusterMaintenance Text
-- | See: newModifyClusterMaintenanceResponse smart
-- constructor.
data ModifyClusterMaintenanceResponse
ModifyClusterMaintenanceResponse' :: Maybe Cluster -> Int -> ModifyClusterMaintenanceResponse
[$sel:cluster:ModifyClusterMaintenanceResponse'] :: ModifyClusterMaintenanceResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:ModifyClusterMaintenanceResponse'] :: ModifyClusterMaintenanceResponse -> Int
-- | Create a value of ModifyClusterMaintenanceResponse 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:cluster:ModifyClusterMaintenanceResponse',
-- modifyClusterMaintenanceResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ModifyClusterMaintenanceResponse',
-- modifyClusterMaintenanceResponse_httpStatus - The response's
-- http status code.
newModifyClusterMaintenanceResponse :: Int -> ModifyClusterMaintenanceResponse
-- | Undocumented member.
modifyClusterMaintenanceResponse_cluster :: Lens' ModifyClusterMaintenanceResponse (Maybe Cluster)
-- | The response's http status code.
modifyClusterMaintenanceResponse_httpStatus :: Lens' ModifyClusterMaintenanceResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenance
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenance
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenance
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenance
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenanceResponse
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenanceResponse
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenanceResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenanceResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenance
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenanceResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenance
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenance
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenance
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenance
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyClusterMaintenance.ModifyClusterMaintenance
-- | Modifies the list of Identity and Access Management (IAM) roles that
-- can be used by the cluster to access other Amazon Web Services
-- services.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
module Amazonka.Redshift.ModifyClusterIamRoles
-- | See: newModifyClusterIamRoles smart constructor.
data ModifyClusterIamRoles
ModifyClusterIamRoles' :: Maybe [Text] -> Maybe Text -> Maybe [Text] -> Text -> ModifyClusterIamRoles
-- | Zero or more IAM roles to associate with the cluster. The roles must
-- be in their Amazon Resource Name (ARN) format.
[$sel:addIamRoles:ModifyClusterIamRoles'] :: ModifyClusterIamRoles -> Maybe [Text]
-- | The Amazon Resource Name (ARN) for the IAM role that was set as
-- default for the cluster when the cluster was last modified.
[$sel:defaultIamRoleArn:ModifyClusterIamRoles'] :: ModifyClusterIamRoles -> Maybe Text
-- | Zero or more IAM roles in ARN format to disassociate from the cluster.
[$sel:removeIamRoles:ModifyClusterIamRoles'] :: ModifyClusterIamRoles -> Maybe [Text]
-- | The unique identifier of the cluster for which you want to associate
-- or disassociate IAM roles.
[$sel:clusterIdentifier:ModifyClusterIamRoles'] :: ModifyClusterIamRoles -> Text
-- | Create a value of ModifyClusterIamRoles 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:addIamRoles:ModifyClusterIamRoles',
-- modifyClusterIamRoles_addIamRoles - Zero or more IAM roles to
-- associate with the cluster. The roles must be in their Amazon Resource
-- Name (ARN) format.
--
-- ModifyClusterIamRoles,
-- modifyClusterIamRoles_defaultIamRoleArn - The Amazon Resource
-- Name (ARN) for the IAM role that was set as default for the cluster
-- when the cluster was last modified.
--
-- $sel:removeIamRoles:ModifyClusterIamRoles',
-- modifyClusterIamRoles_removeIamRoles - Zero or more IAM roles
-- in ARN format to disassociate from the cluster.
--
-- ModifyClusterIamRoles,
-- modifyClusterIamRoles_clusterIdentifier - The unique identifier
-- of the cluster for which you want to associate or disassociate IAM
-- roles.
newModifyClusterIamRoles :: Text -> ModifyClusterIamRoles
-- | Zero or more IAM roles to associate with the cluster. The roles must
-- be in their Amazon Resource Name (ARN) format.
modifyClusterIamRoles_addIamRoles :: Lens' ModifyClusterIamRoles (Maybe [Text])
-- | The Amazon Resource Name (ARN) for the IAM role that was set as
-- default for the cluster when the cluster was last modified.
modifyClusterIamRoles_defaultIamRoleArn :: Lens' ModifyClusterIamRoles (Maybe Text)
-- | Zero or more IAM roles in ARN format to disassociate from the cluster.
modifyClusterIamRoles_removeIamRoles :: Lens' ModifyClusterIamRoles (Maybe [Text])
-- | The unique identifier of the cluster for which you want to associate
-- or disassociate IAM roles.
modifyClusterIamRoles_clusterIdentifier :: Lens' ModifyClusterIamRoles Text
-- | See: newModifyClusterIamRolesResponse smart constructor.
data ModifyClusterIamRolesResponse
ModifyClusterIamRolesResponse' :: Maybe Cluster -> Int -> ModifyClusterIamRolesResponse
[$sel:cluster:ModifyClusterIamRolesResponse'] :: ModifyClusterIamRolesResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:ModifyClusterIamRolesResponse'] :: ModifyClusterIamRolesResponse -> Int
-- | Create a value of ModifyClusterIamRolesResponse 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:cluster:ModifyClusterIamRolesResponse',
-- modifyClusterIamRolesResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ModifyClusterIamRolesResponse',
-- modifyClusterIamRolesResponse_httpStatus - The response's http
-- status code.
newModifyClusterIamRolesResponse :: Int -> ModifyClusterIamRolesResponse
-- | Undocumented member.
modifyClusterIamRolesResponse_cluster :: Lens' ModifyClusterIamRolesResponse (Maybe Cluster)
-- | The response's http status code.
modifyClusterIamRolesResponse_httpStatus :: Lens' ModifyClusterIamRolesResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRoles
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRoles
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRoles
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRoles
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRolesResponse
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRolesResponse
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRolesResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRolesResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRoles
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRolesResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRoles
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRoles
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRoles
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRoles
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyClusterIamRoles.ModifyClusterIamRoles
-- | Modifies the database revision of a cluster. The database revision is
-- a unique revision of the database running in a cluster.
module Amazonka.Redshift.ModifyClusterDbRevision
-- | See: newModifyClusterDbRevision smart constructor.
data ModifyClusterDbRevision
ModifyClusterDbRevision' :: Text -> Text -> ModifyClusterDbRevision
-- | The unique identifier of a cluster whose database revision you want to
-- modify.
--
-- Example: examplecluster
[$sel:clusterIdentifier:ModifyClusterDbRevision'] :: ModifyClusterDbRevision -> Text
-- | The identifier of the database revision. You can retrieve this value
-- from the response to the DescribeClusterDbRevisions request.
[$sel:revisionTarget:ModifyClusterDbRevision'] :: ModifyClusterDbRevision -> Text
-- | Create a value of ModifyClusterDbRevision 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:
--
-- ModifyClusterDbRevision,
-- modifyClusterDbRevision_clusterIdentifier - The unique
-- identifier of a cluster whose database revision you want to modify.
--
-- Example: examplecluster
--
-- $sel:revisionTarget:ModifyClusterDbRevision',
-- modifyClusterDbRevision_revisionTarget - The identifier of the
-- database revision. You can retrieve this value from the response to
-- the DescribeClusterDbRevisions request.
newModifyClusterDbRevision :: Text -> Text -> ModifyClusterDbRevision
-- | The unique identifier of a cluster whose database revision you want to
-- modify.
--
-- Example: examplecluster
modifyClusterDbRevision_clusterIdentifier :: Lens' ModifyClusterDbRevision Text
-- | The identifier of the database revision. You can retrieve this value
-- from the response to the DescribeClusterDbRevisions request.
modifyClusterDbRevision_revisionTarget :: Lens' ModifyClusterDbRevision Text
-- | See: newModifyClusterDbRevisionResponse smart
-- constructor.
data ModifyClusterDbRevisionResponse
ModifyClusterDbRevisionResponse' :: Maybe Cluster -> Int -> ModifyClusterDbRevisionResponse
[$sel:cluster:ModifyClusterDbRevisionResponse'] :: ModifyClusterDbRevisionResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:ModifyClusterDbRevisionResponse'] :: ModifyClusterDbRevisionResponse -> Int
-- | Create a value of ModifyClusterDbRevisionResponse 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:cluster:ModifyClusterDbRevisionResponse',
-- modifyClusterDbRevisionResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ModifyClusterDbRevisionResponse',
-- modifyClusterDbRevisionResponse_httpStatus - The response's
-- http status code.
newModifyClusterDbRevisionResponse :: Int -> ModifyClusterDbRevisionResponse
-- | Undocumented member.
modifyClusterDbRevisionResponse_cluster :: Lens' ModifyClusterDbRevisionResponse (Maybe Cluster)
-- | The response's http status code.
modifyClusterDbRevisionResponse_httpStatus :: Lens' ModifyClusterDbRevisionResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevision
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevision
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevision
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevision
instance GHC.Generics.Generic Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevisionResponse
instance GHC.Show.Show Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevisionResponse
instance GHC.Read.Read Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevisionResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevisionResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevision
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevisionResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevision
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevision
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevision
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevision
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyClusterDbRevision.ModifyClusterDbRevision
-- | Modifies the settings for a cluster.
--
-- You can also change node type and the number of nodes to scale up or
-- down the cluster. When resizing a cluster, you must specify both the
-- number of nodes and the node type even if one of the parameters does
-- not change.
--
-- You can add another security or parameter group, or change the admin
-- user password. Resetting a cluster password or modifying the security
-- groups associated with a cluster do not need a reboot. However,
-- modifying a parameter group requires a reboot for parameters to take
-- effect. For more information about managing clusters, go to Amazon
-- Redshift Clusters in the Amazon Redshift Cluster Management
-- Guide.
module Amazonka.Redshift.ModifyCluster
-- | See: newModifyCluster smart constructor.
data ModifyCluster
ModifyCluster' :: Maybe Bool -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe [Text] -> Text -> ModifyCluster
-- | If true, major version upgrades will be applied automatically
-- to the cluster during the maintenance window.
--
-- Default: false
[$sel:allowVersionUpgrade:ModifyCluster'] :: ModifyCluster -> Maybe Bool
-- | The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- If you decrease the automated snapshot retention period from its
-- current value, existing automated snapshots that fall outside of the
-- new retention period will be immediately deleted.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: Uses existing setting.
--
-- Constraints: Must be a value from 0 to 35.
[$sel:automatedSnapshotRetentionPeriod:ModifyCluster'] :: ModifyCluster -> Maybe Int
-- | The option to initiate relocation for an Amazon Redshift cluster to
-- the target Availability Zone.
[$sel:availabilityZone:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | The option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster modification is complete.
[$sel:availabilityZoneRelocation:ModifyCluster'] :: ModifyCluster -> Maybe Bool
-- | The name of the cluster parameter group to apply to this cluster. This
-- change is applied only after the cluster is rebooted. To reboot a
-- cluster use RebootCluster.
--
-- Default: Uses existing setting.
--
-- Constraints: The cluster parameter group must be in the same parameter
-- group family that matches the cluster version.
[$sel:clusterParameterGroupName:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | A list of cluster security groups to be authorized on this cluster.
-- This change is asynchronously applied as soon as possible.
--
-- Security groups currently associated with the cluster, and not in the
-- list of groups to apply, will be revoked from the cluster.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
[$sel:clusterSecurityGroups:ModifyCluster'] :: ModifyCluster -> Maybe [Text]
-- | The new cluster type.
--
-- When you submit your cluster resize request, your existing cluster
-- goes into a read-only mode. After Amazon Redshift provisions a new
-- cluster based on your resize requirements, there will be outage for a
-- period while the old cluster is deleted and your connection is
-- switched to the new cluster. You can use DescribeResize to track the
-- progress of the resize request.
--
-- Valid Values: multi-node | single-node
[$sel:clusterType:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | The new version number of the Amazon Redshift engine to upgrade to.
--
-- For major version upgrades, if a non-default cluster parameter group
-- is currently in use, a new cluster parameter group in the cluster
-- parameter group family for the new version must be specified. The new
-- cluster parameter group can be the default for that cluster parameter
-- group family. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
--
-- Example: 1.0
[$sel:clusterVersion:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | The Elastic IP (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. For more information
-- about provisioning clusters in EC2-VPC, go to Supported Platforms
-- to Launch Your Cluster in the Amazon Redshift Cluster Management
-- Guide.
[$sel:elasticIp:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | Indicates whether the cluster is encrypted. If the value is encrypted
-- (true) and you provide a value for the KmsKeyId parameter, we
-- encrypt the cluster with the provided KmsKeyId. If you don't
-- provide a KmsKeyId, we encrypt with the default key.
--
-- If the value is not encrypted (false), then the cluster is decrypted.
[$sel:encrypted:ModifyCluster'] :: ModifyCluster -> Maybe Bool
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
[$sel:enhancedVpcRouting:ModifyCluster'] :: ModifyCluster -> Maybe Bool
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
[$sel:hsmClientCertificateIdentifier:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
[$sel:hsmConfigurationIdentifier:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | The Key Management Service (KMS) key ID of the encryption key that you
-- want to use to encrypt data in the cluster.
[$sel:kmsKeyId:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | The name for the maintenance track that you want to assign for the
-- cluster. This name change is asynchronous. The new track name stays in
-- the PendingModifiedValues for the cluster until the next
-- maintenance window. When the maintenance track changes, the cluster is
-- switched to the latest cluster release available for the maintenance
-- track. At this point, the maintenance track name is applied.
[$sel:maintenanceTrackName:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | The default for number of days that a newly created manual snapshot is
-- retained. If the value is -1, the manual snapshot is retained
-- indefinitely. This value doesn't retroactively change the retention
-- periods of existing manual snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
[$sel:manualSnapshotRetentionPeriod:ModifyCluster'] :: ModifyCluster -> Maybe Int
-- | The new password for the cluster admin user. This change is
-- asynchronously applied as soon as possible. Between the time of the
-- request and the completion of the request, the
-- MasterUserPassword element exists in the
-- PendingModifiedValues element of the operation response.
--
-- Operations never return the password, so this operation provides a way
-- to regain access to the admin user account for a cluster if the
-- password is lost.
--
-- Default: Uses existing setting.
--
-- Constraints:
--
--
-- - Must be between 8 and 64 characters in length.
-- - Must contain at least one uppercase letter.
-- - Must contain at least one lowercase letter.
-- - Must contain one number.
-- - Can be any printable ASCII character (ASCII code 33-126) except
-- ' (single quote), " (double quote), \,
-- /, or @.
--
[$sel:masterUserPassword:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | The new identifier for the cluster.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
--
-- Example: examplecluster
[$sel:newClusterIdentifier':ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | The new node type of the cluster. If you specify a new node type, you
-- must also specify the number of nodes parameter.
--
-- For more information about resizing clusters, go to Resizing
-- Clusters in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: ds2.xlarge | ds2.8xlarge |
-- dc1.large | dc1.8xlarge | dc2.large |
-- dc2.8xlarge | ra3.xlplus | ra3.4xlarge |
-- ra3.16xlarge
[$sel:nodeType:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | The new number of nodes of the cluster. If you specify a new number of
-- nodes, you must also specify the node type parameter.
--
-- For more information about resizing clusters, go to Resizing
-- Clusters in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: Integer greater than 0.
[$sel:numberOfNodes:ModifyCluster'] :: ModifyCluster -> Maybe Int
-- | The option to change the port of an Amazon Redshift cluster.
[$sel:port:ModifyCluster'] :: ModifyCluster -> Maybe Int
-- | The weekly time range (in UTC) during which system maintenance can
-- occur, if necessary. If system maintenance is necessary during the
-- window, it may result in an outage.
--
-- This maintenance window change is made immediately. If the new
-- maintenance window indicates the current time, there must be at least
-- 120 minutes between the current time and end of the window in order to
-- ensure that pending changes are applied.
--
-- Default: Uses existing setting.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi, for example
-- wed:07:30-wed:08:00.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Must be at least 30 minutes.
[$sel:preferredMaintenanceWindow:ModifyCluster'] :: ModifyCluster -> Maybe Text
-- | If true, the cluster can be accessed from a public network.
-- Only clusters in VPCs can be set to be publicly available.
[$sel:publiclyAccessible:ModifyCluster'] :: ModifyCluster -> Maybe Bool
-- | A list of virtual private cloud (VPC) security groups to be associated
-- with the cluster. This change is asynchronously applied as soon as
-- possible.
[$sel:vpcSecurityGroupIds:ModifyCluster'] :: ModifyCluster -> Maybe [Text]
-- | The unique identifier of the cluster to be modified.
--
-- Example: examplecluster
[$sel:clusterIdentifier:ModifyCluster'] :: ModifyCluster -> Text
-- | Create a value of ModifyCluster 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:
--
-- ModifyCluster, modifyCluster_allowVersionUpgrade - If
-- true, major version upgrades will be applied automatically to
-- the cluster during the maintenance window.
--
-- Default: false
--
-- ModifyCluster,
-- modifyCluster_automatedSnapshotRetentionPeriod - The number of
-- days that automated snapshots are retained. If the value is 0,
-- automated snapshots are disabled. Even if automated snapshots are
-- disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- If you decrease the automated snapshot retention period from its
-- current value, existing automated snapshots that fall outside of the
-- new retention period will be immediately deleted.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: Uses existing setting.
--
-- Constraints: Must be a value from 0 to 35.
--
-- ModifyCluster, modifyCluster_availabilityZone - The
-- option to initiate relocation for an Amazon Redshift cluster to the
-- target Availability Zone.
--
-- $sel:availabilityZoneRelocation:ModifyCluster',
-- modifyCluster_availabilityZoneRelocation - The option to enable
-- relocation for an Amazon Redshift cluster between Availability Zones
-- after the cluster modification is complete.
--
-- $sel:clusterParameterGroupName:ModifyCluster',
-- modifyCluster_clusterParameterGroupName - The name of the
-- cluster parameter group to apply to this cluster. This change is
-- applied only after the cluster is rebooted. To reboot a cluster use
-- RebootCluster.
--
-- Default: Uses existing setting.
--
-- Constraints: The cluster parameter group must be in the same parameter
-- group family that matches the cluster version.
--
-- ModifyCluster, modifyCluster_clusterSecurityGroups - A
-- list of cluster security groups to be authorized on this cluster. This
-- change is asynchronously applied as soon as possible.
--
-- Security groups currently associated with the cluster, and not in the
-- list of groups to apply, will be revoked from the cluster.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
--
-- ModifyCluster, modifyCluster_clusterType - The new
-- cluster type.
--
-- When you submit your cluster resize request, your existing cluster
-- goes into a read-only mode. After Amazon Redshift provisions a new
-- cluster based on your resize requirements, there will be outage for a
-- period while the old cluster is deleted and your connection is
-- switched to the new cluster. You can use DescribeResize to track the
-- progress of the resize request.
--
-- Valid Values: multi-node | single-node
--
-- ModifyCluster, modifyCluster_clusterVersion - The new
-- version number of the Amazon Redshift engine to upgrade to.
--
-- For major version upgrades, if a non-default cluster parameter group
-- is currently in use, a new cluster parameter group in the cluster
-- parameter group family for the new version must be specified. The new
-- cluster parameter group can be the default for that cluster parameter
-- group family. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
--
-- Example: 1.0
--
-- ModifyCluster, modifyCluster_elasticIp - The Elastic IP
-- (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. For more information
-- about provisioning clusters in EC2-VPC, go to Supported Platforms
-- to Launch Your Cluster in the Amazon Redshift Cluster Management
-- Guide.
--
-- ModifyCluster, modifyCluster_encrypted - Indicates
-- whether the cluster is encrypted. If the value is encrypted (true) and
-- you provide a value for the KmsKeyId parameter, we encrypt
-- the cluster with the provided KmsKeyId. If you don't provide
-- a KmsKeyId, we encrypt with the default key.
--
-- If the value is not encrypted (false), then the cluster is decrypted.
--
-- ModifyCluster, modifyCluster_enhancedVpcRouting - An
-- option that specifies whether to create the cluster with enhanced VPC
-- routing enabled. To create a cluster that uses enhanced VPC routing,
-- the cluster must be in a VPC. For more information, see Enhanced
-- VPC Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- ModifyCluster,
-- modifyCluster_hsmClientCertificateIdentifier - Specifies the
-- name of the HSM client certificate the Amazon Redshift cluster uses to
-- retrieve the data encryption keys stored in an HSM.
--
-- ModifyCluster, modifyCluster_hsmConfigurationIdentifier
-- - Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
--
-- ModifyCluster, modifyCluster_kmsKeyId - The Key
-- Management Service (KMS) key ID of the encryption key that you want to
-- use to encrypt data in the cluster.
--
-- ModifyCluster, modifyCluster_maintenanceTrackName - The
-- name for the maintenance track that you want to assign for the
-- cluster. This name change is asynchronous. The new track name stays in
-- the PendingModifiedValues for the cluster until the next
-- maintenance window. When the maintenance track changes, the cluster is
-- switched to the latest cluster release available for the maintenance
-- track. At this point, the maintenance track name is applied.
--
-- ModifyCluster,
-- modifyCluster_manualSnapshotRetentionPeriod - The default for
-- number of days that a newly created manual snapshot is retained. If
-- the value is -1, the manual snapshot is retained indefinitely. This
-- value doesn't retroactively change the retention periods of existing
-- manual snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
--
-- ModifyCluster, modifyCluster_masterUserPassword - The
-- new password for the cluster admin user. This change is asynchronously
-- applied as soon as possible. Between the time of the request and the
-- completion of the request, the MasterUserPassword element
-- exists in the PendingModifiedValues element of the operation
-- response.
--
-- Operations never return the password, so this operation provides a way
-- to regain access to the admin user account for a cluster if the
-- password is lost.
--
-- Default: Uses existing setting.
--
-- Constraints:
--
--
-- - Must be between 8 and 64 characters in length.
-- - Must contain at least one uppercase letter.
-- - Must contain at least one lowercase letter.
-- - Must contain one number.
-- - Can be any printable ASCII character (ASCII code 33-126) except
-- ' (single quote), " (double quote), \,
-- /, or @.
--
--
-- $sel:newClusterIdentifier':ModifyCluster',
-- modifyCluster_newClusterIdentifier - The new identifier for the
-- cluster.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
--
-- Example: examplecluster
--
-- ModifyCluster, modifyCluster_nodeType - The new node
-- type of the cluster. If you specify a new node type, you must also
-- specify the number of nodes parameter.
--
-- For more information about resizing clusters, go to Resizing
-- Clusters in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: ds2.xlarge | ds2.8xlarge |
-- dc1.large | dc1.8xlarge | dc2.large |
-- dc2.8xlarge | ra3.xlplus | ra3.4xlarge |
-- ra3.16xlarge
--
-- ModifyCluster, modifyCluster_numberOfNodes - The new
-- number of nodes of the cluster. If you specify a new number of nodes,
-- you must also specify the node type parameter.
--
-- For more information about resizing clusters, go to Resizing
-- Clusters in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: Integer greater than 0.
--
-- ModifyCluster, modifyCluster_port - The option to change
-- the port of an Amazon Redshift cluster.
--
-- ModifyCluster, modifyCluster_preferredMaintenanceWindow
-- - The weekly time range (in UTC) during which system maintenance can
-- occur, if necessary. If system maintenance is necessary during the
-- window, it may result in an outage.
--
-- This maintenance window change is made immediately. If the new
-- maintenance window indicates the current time, there must be at least
-- 120 minutes between the current time and end of the window in order to
-- ensure that pending changes are applied.
--
-- Default: Uses existing setting.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi, for example
-- wed:07:30-wed:08:00.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Must be at least 30 minutes.
--
-- ModifyCluster, modifyCluster_publiclyAccessible - If
-- true, the cluster can be accessed from a public network. Only
-- clusters in VPCs can be set to be publicly available.
--
-- $sel:vpcSecurityGroupIds:ModifyCluster',
-- modifyCluster_vpcSecurityGroupIds - A list of virtual private
-- cloud (VPC) security groups to be associated with the cluster. This
-- change is asynchronously applied as soon as possible.
--
-- ModifyCluster, modifyCluster_clusterIdentifier - The
-- unique identifier of the cluster to be modified.
--
-- Example: examplecluster
newModifyCluster :: Text -> ModifyCluster
-- | If true, major version upgrades will be applied automatically
-- to the cluster during the maintenance window.
--
-- Default: false
modifyCluster_allowVersionUpgrade :: Lens' ModifyCluster (Maybe Bool)
-- | The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- If you decrease the automated snapshot retention period from its
-- current value, existing automated snapshots that fall outside of the
-- new retention period will be immediately deleted.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: Uses existing setting.
--
-- Constraints: Must be a value from 0 to 35.
modifyCluster_automatedSnapshotRetentionPeriod :: Lens' ModifyCluster (Maybe Int)
-- | The option to initiate relocation for an Amazon Redshift cluster to
-- the target Availability Zone.
modifyCluster_availabilityZone :: Lens' ModifyCluster (Maybe Text)
-- | The option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster modification is complete.
modifyCluster_availabilityZoneRelocation :: Lens' ModifyCluster (Maybe Bool)
-- | The name of the cluster parameter group to apply to this cluster. This
-- change is applied only after the cluster is rebooted. To reboot a
-- cluster use RebootCluster.
--
-- Default: Uses existing setting.
--
-- Constraints: The cluster parameter group must be in the same parameter
-- group family that matches the cluster version.
modifyCluster_clusterParameterGroupName :: Lens' ModifyCluster (Maybe Text)
-- | A list of cluster security groups to be authorized on this cluster.
-- This change is asynchronously applied as soon as possible.
--
-- Security groups currently associated with the cluster, and not in the
-- list of groups to apply, will be revoked from the cluster.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
modifyCluster_clusterSecurityGroups :: Lens' ModifyCluster (Maybe [Text])
-- | The new cluster type.
--
-- When you submit your cluster resize request, your existing cluster
-- goes into a read-only mode. After Amazon Redshift provisions a new
-- cluster based on your resize requirements, there will be outage for a
-- period while the old cluster is deleted and your connection is
-- switched to the new cluster. You can use DescribeResize to track the
-- progress of the resize request.
--
-- Valid Values: multi-node | single-node
modifyCluster_clusterType :: Lens' ModifyCluster (Maybe Text)
-- | The new version number of the Amazon Redshift engine to upgrade to.
--
-- For major version upgrades, if a non-default cluster parameter group
-- is currently in use, a new cluster parameter group in the cluster
-- parameter group family for the new version must be specified. The new
-- cluster parameter group can be the default for that cluster parameter
-- group family. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
--
-- Example: 1.0
modifyCluster_clusterVersion :: Lens' ModifyCluster (Maybe Text)
-- | The Elastic IP (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. For more information
-- about provisioning clusters in EC2-VPC, go to Supported Platforms
-- to Launch Your Cluster in the Amazon Redshift Cluster Management
-- Guide.
modifyCluster_elasticIp :: Lens' ModifyCluster (Maybe Text)
-- | Indicates whether the cluster is encrypted. If the value is encrypted
-- (true) and you provide a value for the KmsKeyId parameter, we
-- encrypt the cluster with the provided KmsKeyId. If you don't
-- provide a KmsKeyId, we encrypt with the default key.
--
-- If the value is not encrypted (false), then the cluster is decrypted.
modifyCluster_encrypted :: Lens' ModifyCluster (Maybe Bool)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
modifyCluster_enhancedVpcRouting :: Lens' ModifyCluster (Maybe Bool)
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
modifyCluster_hsmClientCertificateIdentifier :: Lens' ModifyCluster (Maybe Text)
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
modifyCluster_hsmConfigurationIdentifier :: Lens' ModifyCluster (Maybe Text)
-- | The Key Management Service (KMS) key ID of the encryption key that you
-- want to use to encrypt data in the cluster.
modifyCluster_kmsKeyId :: Lens' ModifyCluster (Maybe Text)
-- | The name for the maintenance track that you want to assign for the
-- cluster. This name change is asynchronous. The new track name stays in
-- the PendingModifiedValues for the cluster until the next
-- maintenance window. When the maintenance track changes, the cluster is
-- switched to the latest cluster release available for the maintenance
-- track. At this point, the maintenance track name is applied.
modifyCluster_maintenanceTrackName :: Lens' ModifyCluster (Maybe Text)
-- | The default for number of days that a newly created manual snapshot is
-- retained. If the value is -1, the manual snapshot is retained
-- indefinitely. This value doesn't retroactively change the retention
-- periods of existing manual snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
modifyCluster_manualSnapshotRetentionPeriod :: Lens' ModifyCluster (Maybe Int)
-- | The new password for the cluster admin user. This change is
-- asynchronously applied as soon as possible. Between the time of the
-- request and the completion of the request, the
-- MasterUserPassword element exists in the
-- PendingModifiedValues element of the operation response.
--
-- Operations never return the password, so this operation provides a way
-- to regain access to the admin user account for a cluster if the
-- password is lost.
--
-- Default: Uses existing setting.
--
-- Constraints:
--
--
-- - Must be between 8 and 64 characters in length.
-- - Must contain at least one uppercase letter.
-- - Must contain at least one lowercase letter.
-- - Must contain one number.
-- - Can be any printable ASCII character (ASCII code 33-126) except
-- ' (single quote), " (double quote), \,
-- /, or @.
--
modifyCluster_masterUserPassword :: Lens' ModifyCluster (Maybe Text)
-- | The new identifier for the cluster.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
--
-- Example: examplecluster
modifyCluster_newClusterIdentifier :: Lens' ModifyCluster (Maybe Text)
-- | The new node type of the cluster. If you specify a new node type, you
-- must also specify the number of nodes parameter.
--
-- For more information about resizing clusters, go to Resizing
-- Clusters in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: ds2.xlarge | ds2.8xlarge |
-- dc1.large | dc1.8xlarge | dc2.large |
-- dc2.8xlarge | ra3.xlplus | ra3.4xlarge |
-- ra3.16xlarge
modifyCluster_nodeType :: Lens' ModifyCluster (Maybe Text)
-- | The new number of nodes of the cluster. If you specify a new number of
-- nodes, you must also specify the node type parameter.
--
-- For more information about resizing clusters, go to Resizing
-- Clusters in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: Integer greater than 0.
modifyCluster_numberOfNodes :: Lens' ModifyCluster (Maybe Int)
-- | The option to change the port of an Amazon Redshift cluster.
modifyCluster_port :: Lens' ModifyCluster (Maybe Int)
-- | The weekly time range (in UTC) during which system maintenance can
-- occur, if necessary. If system maintenance is necessary during the
-- window, it may result in an outage.
--
-- This maintenance window change is made immediately. If the new
-- maintenance window indicates the current time, there must be at least
-- 120 minutes between the current time and end of the window in order to
-- ensure that pending changes are applied.
--
-- Default: Uses existing setting.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi, for example
-- wed:07:30-wed:08:00.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Must be at least 30 minutes.
modifyCluster_preferredMaintenanceWindow :: Lens' ModifyCluster (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
-- Only clusters in VPCs can be set to be publicly available.
modifyCluster_publiclyAccessible :: Lens' ModifyCluster (Maybe Bool)
-- | A list of virtual private cloud (VPC) security groups to be associated
-- with the cluster. This change is asynchronously applied as soon as
-- possible.
modifyCluster_vpcSecurityGroupIds :: Lens' ModifyCluster (Maybe [Text])
-- | The unique identifier of the cluster to be modified.
--
-- Example: examplecluster
modifyCluster_clusterIdentifier :: Lens' ModifyCluster Text
-- | See: newModifyClusterResponse smart constructor.
data ModifyClusterResponse
ModifyClusterResponse' :: Maybe Cluster -> Int -> ModifyClusterResponse
[$sel:cluster:ModifyClusterResponse'] :: ModifyClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:ModifyClusterResponse'] :: ModifyClusterResponse -> Int
-- | Create a value of ModifyClusterResponse 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:cluster:ModifyClusterResponse',
-- modifyClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ModifyClusterResponse',
-- modifyClusterResponse_httpStatus - The response's http status
-- code.
newModifyClusterResponse :: Int -> ModifyClusterResponse
-- | Undocumented member.
modifyClusterResponse_cluster :: Lens' ModifyClusterResponse (Maybe Cluster)
-- | The response's http status code.
modifyClusterResponse_httpStatus :: Lens' ModifyClusterResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ModifyCluster.ModifyCluster
instance GHC.Show.Show Amazonka.Redshift.ModifyCluster.ModifyCluster
instance GHC.Read.Read Amazonka.Redshift.ModifyCluster.ModifyCluster
instance GHC.Classes.Eq Amazonka.Redshift.ModifyCluster.ModifyCluster
instance GHC.Generics.Generic Amazonka.Redshift.ModifyCluster.ModifyClusterResponse
instance GHC.Show.Show Amazonka.Redshift.ModifyCluster.ModifyClusterResponse
instance GHC.Read.Read Amazonka.Redshift.ModifyCluster.ModifyClusterResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifyCluster.ModifyClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyCluster.ModifyCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyCluster.ModifyClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyCluster.ModifyCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyCluster.ModifyCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyCluster.ModifyCluster
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyCluster.ModifyCluster
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyCluster.ModifyCluster
-- | Modifies an authentication profile.
module Amazonka.Redshift.ModifyAuthenticationProfile
-- | See: newModifyAuthenticationProfile smart constructor.
data ModifyAuthenticationProfile
ModifyAuthenticationProfile' :: Text -> Text -> ModifyAuthenticationProfile
-- | The name of the authentication profile to replace.
[$sel:authenticationProfileName:ModifyAuthenticationProfile'] :: ModifyAuthenticationProfile -> Text
-- | The new content of the authentication profile in JSON format. The
-- maximum length of the JSON string is determined by a quota for your
-- account.
[$sel:authenticationProfileContent:ModifyAuthenticationProfile'] :: ModifyAuthenticationProfile -> Text
-- | Create a value of ModifyAuthenticationProfile 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:
--
-- ModifyAuthenticationProfile,
-- modifyAuthenticationProfile_authenticationProfileName - The
-- name of the authentication profile to replace.
--
-- ModifyAuthenticationProfile,
-- modifyAuthenticationProfile_authenticationProfileContent - The
-- new content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
newModifyAuthenticationProfile :: Text -> Text -> ModifyAuthenticationProfile
-- | The name of the authentication profile to replace.
modifyAuthenticationProfile_authenticationProfileName :: Lens' ModifyAuthenticationProfile Text
-- | The new content of the authentication profile in JSON format. The
-- maximum length of the JSON string is determined by a quota for your
-- account.
modifyAuthenticationProfile_authenticationProfileContent :: Lens' ModifyAuthenticationProfile Text
-- | See: newModifyAuthenticationProfileResponse smart
-- constructor.
data ModifyAuthenticationProfileResponse
ModifyAuthenticationProfileResponse' :: Maybe Text -> Maybe Text -> Int -> ModifyAuthenticationProfileResponse
-- | The updated content of the authentication profile in JSON format.
[$sel:authenticationProfileContent:ModifyAuthenticationProfileResponse'] :: ModifyAuthenticationProfileResponse -> Maybe Text
-- | The name of the authentication profile that was replaced.
[$sel:authenticationProfileName:ModifyAuthenticationProfileResponse'] :: ModifyAuthenticationProfileResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ModifyAuthenticationProfileResponse'] :: ModifyAuthenticationProfileResponse -> Int
-- | Create a value of ModifyAuthenticationProfileResponse 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:
--
-- ModifyAuthenticationProfile,
-- modifyAuthenticationProfileResponse_authenticationProfileContent
-- - The updated content of the authentication profile in JSON format.
--
-- ModifyAuthenticationProfile,
-- modifyAuthenticationProfileResponse_authenticationProfileName -
-- The name of the authentication profile that was replaced.
--
-- $sel:httpStatus:ModifyAuthenticationProfileResponse',
-- modifyAuthenticationProfileResponse_httpStatus - The response's
-- http status code.
newModifyAuthenticationProfileResponse :: Int -> ModifyAuthenticationProfileResponse
-- | The updated content of the authentication profile in JSON format.
modifyAuthenticationProfileResponse_authenticationProfileContent :: Lens' ModifyAuthenticationProfileResponse (Maybe Text)
-- | The name of the authentication profile that was replaced.
modifyAuthenticationProfileResponse_authenticationProfileName :: Lens' ModifyAuthenticationProfileResponse (Maybe Text)
-- | The response's http status code.
modifyAuthenticationProfileResponse_httpStatus :: Lens' ModifyAuthenticationProfileResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfile
instance GHC.Show.Show Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfile
instance GHC.Read.Read Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfile
instance GHC.Classes.Eq Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfile
instance GHC.Generics.Generic Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfileResponse
instance GHC.Show.Show Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfileResponse
instance GHC.Read.Read Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfileResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfileResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfile
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfileResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfile
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfile
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfile
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfile
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyAuthenticationProfile.ModifyAuthenticationProfile
-- | This operation is retired. Calling this operation does not change AQUA
-- configuration. Amazon Redshift automatically determines whether to use
-- AQUA (Advanced Query Accelerator).
module Amazonka.Redshift.ModifyAquaConfiguration
-- | See: newModifyAquaConfiguration smart constructor.
data ModifyAquaConfiguration
ModifyAquaConfiguration' :: Maybe AquaConfigurationStatus -> Text -> ModifyAquaConfiguration
-- | This parameter is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
[$sel:aquaConfigurationStatus:ModifyAquaConfiguration'] :: ModifyAquaConfiguration -> Maybe AquaConfigurationStatus
-- | The identifier of the cluster to be modified.
[$sel:clusterIdentifier:ModifyAquaConfiguration'] :: ModifyAquaConfiguration -> Text
-- | Create a value of ModifyAquaConfiguration 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:
--
-- ModifyAquaConfiguration,
-- modifyAquaConfiguration_aquaConfigurationStatus - This
-- parameter is retired. Amazon Redshift automatically determines whether
-- to use AQUA (Advanced Query Accelerator).
--
-- ModifyAquaConfiguration,
-- modifyAquaConfiguration_clusterIdentifier - The identifier of
-- the cluster to be modified.
newModifyAquaConfiguration :: Text -> ModifyAquaConfiguration
-- | This parameter is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
modifyAquaConfiguration_aquaConfigurationStatus :: Lens' ModifyAquaConfiguration (Maybe AquaConfigurationStatus)
-- | The identifier of the cluster to be modified.
modifyAquaConfiguration_clusterIdentifier :: Lens' ModifyAquaConfiguration Text
-- | See: newModifyAquaConfigurationResponse smart
-- constructor.
data ModifyAquaConfigurationResponse
ModifyAquaConfigurationResponse' :: Maybe AquaConfiguration -> Int -> ModifyAquaConfigurationResponse
-- | This parameter is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
[$sel:aquaConfiguration:ModifyAquaConfigurationResponse'] :: ModifyAquaConfigurationResponse -> Maybe AquaConfiguration
-- | The response's http status code.
[$sel:httpStatus:ModifyAquaConfigurationResponse'] :: ModifyAquaConfigurationResponse -> Int
-- | Create a value of ModifyAquaConfigurationResponse 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:
--
-- ModifyAquaConfigurationResponse,
-- modifyAquaConfigurationResponse_aquaConfiguration - This
-- parameter is retired. Amazon Redshift automatically determines whether
-- to use AQUA (Advanced Query Accelerator).
--
-- $sel:httpStatus:ModifyAquaConfigurationResponse',
-- modifyAquaConfigurationResponse_httpStatus - The response's
-- http status code.
newModifyAquaConfigurationResponse :: Int -> ModifyAquaConfigurationResponse
-- | This parameter is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
modifyAquaConfigurationResponse_aquaConfiguration :: Lens' ModifyAquaConfigurationResponse (Maybe AquaConfiguration)
-- | The response's http status code.
modifyAquaConfigurationResponse_httpStatus :: Lens' ModifyAquaConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfiguration
instance GHC.Show.Show Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfiguration
instance GHC.Read.Read Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfiguration
instance GHC.Classes.Eq Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfiguration
instance GHC.Generics.Generic Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfigurationResponse
instance GHC.Show.Show Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfigurationResponse
instance GHC.Read.Read Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfigurationResponse
instance GHC.Classes.Eq Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfiguration
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfiguration
instance Control.DeepSeq.NFData Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.ModifyAquaConfiguration.ModifyAquaConfiguration
-- | Returns an array of DC2 ReservedNodeOfferings that matches the payment
-- type, term, and usage price of the given DC1 reserved node.
--
-- This operation returns paginated results.
module Amazonka.Redshift.GetReservedNodeExchangeOfferings
-- | See: newGetReservedNodeExchangeOfferings smart
-- constructor.
data GetReservedNodeExchangeOfferings
GetReservedNodeExchangeOfferings' :: Maybe Text -> Maybe Int -> Text -> GetReservedNodeExchangeOfferings
-- | A value that indicates the starting point for the next set of
-- ReservedNodeOfferings.
[$sel:marker:GetReservedNodeExchangeOfferings'] :: GetReservedNodeExchangeOfferings -> Maybe Text
-- | An integer setting the maximum number of ReservedNodeOfferings to
-- retrieve.
[$sel:maxRecords:GetReservedNodeExchangeOfferings'] :: GetReservedNodeExchangeOfferings -> Maybe Int
-- | A string representing the node identifier for the DC1 Reserved Node to
-- be exchanged.
[$sel:reservedNodeId:GetReservedNodeExchangeOfferings'] :: GetReservedNodeExchangeOfferings -> Text
-- | Create a value of GetReservedNodeExchangeOfferings 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:
--
-- GetReservedNodeExchangeOfferings,
-- getReservedNodeExchangeOfferings_marker - A value that
-- indicates the starting point for the next set of
-- ReservedNodeOfferings.
--
-- $sel:maxRecords:GetReservedNodeExchangeOfferings',
-- getReservedNodeExchangeOfferings_maxRecords - An integer
-- setting the maximum number of ReservedNodeOfferings to retrieve.
--
-- GetReservedNodeExchangeOfferings,
-- getReservedNodeExchangeOfferings_reservedNodeId - A string
-- representing the node identifier for the DC1 Reserved Node to be
-- exchanged.
newGetReservedNodeExchangeOfferings :: Text -> GetReservedNodeExchangeOfferings
-- | A value that indicates the starting point for the next set of
-- ReservedNodeOfferings.
getReservedNodeExchangeOfferings_marker :: Lens' GetReservedNodeExchangeOfferings (Maybe Text)
-- | An integer setting the maximum number of ReservedNodeOfferings to
-- retrieve.
getReservedNodeExchangeOfferings_maxRecords :: Lens' GetReservedNodeExchangeOfferings (Maybe Int)
-- | A string representing the node identifier for the DC1 Reserved Node to
-- be exchanged.
getReservedNodeExchangeOfferings_reservedNodeId :: Lens' GetReservedNodeExchangeOfferings Text
-- | See: newGetReservedNodeExchangeOfferingsResponse smart
-- constructor.
data GetReservedNodeExchangeOfferingsResponse
GetReservedNodeExchangeOfferingsResponse' :: Maybe Text -> Maybe [ReservedNodeOffering] -> Int -> GetReservedNodeExchangeOfferingsResponse
-- | An optional parameter that specifies the starting point for returning
-- a set of response records. When the results of a
-- GetReservedNodeExchangeOfferings request exceed the value
-- specified in MaxRecords, Amazon Redshift returns a value in the marker
-- field of the response. You can retrieve the next set of response
-- records by providing the returned marker value in the marker parameter
-- and retrying the request.
[$sel:marker:GetReservedNodeExchangeOfferingsResponse'] :: GetReservedNodeExchangeOfferingsResponse -> Maybe Text
-- | Returns an array of ReservedNodeOffering objects.
[$sel:reservedNodeOfferings:GetReservedNodeExchangeOfferingsResponse'] :: GetReservedNodeExchangeOfferingsResponse -> Maybe [ReservedNodeOffering]
-- | The response's http status code.
[$sel:httpStatus:GetReservedNodeExchangeOfferingsResponse'] :: GetReservedNodeExchangeOfferingsResponse -> Int
-- | Create a value of GetReservedNodeExchangeOfferingsResponse 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:
--
-- GetReservedNodeExchangeOfferings,
-- getReservedNodeExchangeOfferingsResponse_marker - An optional
-- parameter that specifies the starting point for returning a set of
-- response records. When the results of a
-- GetReservedNodeExchangeOfferings request exceed the value
-- specified in MaxRecords, Amazon Redshift returns a value in the marker
-- field of the response. You can retrieve the next set of response
-- records by providing the returned marker value in the marker parameter
-- and retrying the request.
--
--
-- $sel:reservedNodeOfferings:GetReservedNodeExchangeOfferingsResponse',
-- getReservedNodeExchangeOfferingsResponse_reservedNodeOfferings
-- - Returns an array of ReservedNodeOffering objects.
--
-- $sel:httpStatus:GetReservedNodeExchangeOfferingsResponse',
-- getReservedNodeExchangeOfferingsResponse_httpStatus - The
-- response's http status code.
newGetReservedNodeExchangeOfferingsResponse :: Int -> GetReservedNodeExchangeOfferingsResponse
-- | An optional parameter that specifies the starting point for returning
-- a set of response records. When the results of a
-- GetReservedNodeExchangeOfferings request exceed the value
-- specified in MaxRecords, Amazon Redshift returns a value in the marker
-- field of the response. You can retrieve the next set of response
-- records by providing the returned marker value in the marker parameter
-- and retrying the request.
getReservedNodeExchangeOfferingsResponse_marker :: Lens' GetReservedNodeExchangeOfferingsResponse (Maybe Text)
-- | Returns an array of ReservedNodeOffering objects.
getReservedNodeExchangeOfferingsResponse_reservedNodeOfferings :: Lens' GetReservedNodeExchangeOfferingsResponse (Maybe [ReservedNodeOffering])
-- | The response's http status code.
getReservedNodeExchangeOfferingsResponse_httpStatus :: Lens' GetReservedNodeExchangeOfferingsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
instance GHC.Show.Show Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
instance GHC.Read.Read Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
instance GHC.Classes.Eq Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
instance GHC.Generics.Generic Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferingsResponse
instance GHC.Show.Show Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferingsResponse
instance GHC.Read.Read Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferingsResponse
instance GHC.Classes.Eq Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferingsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
instance Control.DeepSeq.NFData Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferingsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
instance Data.Hashable.Class.Hashable Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
instance Control.DeepSeq.NFData Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.GetReservedNodeExchangeOfferings.GetReservedNodeExchangeOfferings
-- | Gets the configuration options for the reserved-node exchange. These
-- options include information about the source reserved node and target
-- reserved node offering. Details include the node type, the price, the
-- node count, and the offering type.
--
-- This operation returns paginated results.
module Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions
-- | See: newGetReservedNodeExchangeConfigurationOptions
-- smart constructor.
data GetReservedNodeExchangeConfigurationOptions
GetReservedNodeExchangeConfigurationOptions' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> ReservedNodeExchangeActionType -> GetReservedNodeExchangeConfigurationOptions
-- | The identifier for the cluster that is the source for a reserved-node
-- exchange.
[$sel:clusterIdentifier:GetReservedNodeExchangeConfigurationOptions'] :: GetReservedNodeExchangeConfigurationOptions -> Maybe Text
-- | An optional pagination token provided by a previous
-- GetReservedNodeExchangeConfigurationOptions request. If this
-- parameter is specified, the response includes only records beyond the
-- marker, up to the value specified by the MaxRecords
-- parameter. You can retrieve the next set of response records by
-- providing the returned marker value in the Marker parameter
-- and retrying the request.
[$sel:marker:GetReservedNodeExchangeConfigurationOptions'] :: GetReservedNodeExchangeConfigurationOptions -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a Marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
[$sel:maxRecords:GetReservedNodeExchangeConfigurationOptions'] :: GetReservedNodeExchangeConfigurationOptions -> Maybe Int
-- | The identifier for the snapshot that is the source for the
-- reserved-node exchange.
[$sel:snapshotIdentifier:GetReservedNodeExchangeConfigurationOptions'] :: GetReservedNodeExchangeConfigurationOptions -> Maybe Text
-- | The action type of the reserved-node configuration. The action type
-- can be an exchange initiated from either a snapshot or a resize.
[$sel:actionType:GetReservedNodeExchangeConfigurationOptions'] :: GetReservedNodeExchangeConfigurationOptions -> ReservedNodeExchangeActionType
-- | Create a value of GetReservedNodeExchangeConfigurationOptions
-- 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:
--
-- GetReservedNodeExchangeConfigurationOptions,
-- getReservedNodeExchangeConfigurationOptions_clusterIdentifier -
-- The identifier for the cluster that is the source for a reserved-node
-- exchange.
--
-- GetReservedNodeExchangeConfigurationOptions,
-- getReservedNodeExchangeConfigurationOptions_marker - An
-- optional pagination token provided by a previous
-- GetReservedNodeExchangeConfigurationOptions request. If this
-- parameter is specified, the response includes only records beyond the
-- marker, up to the value specified by the MaxRecords
-- parameter. You can retrieve the next set of response records by
-- providing the returned marker value in the Marker parameter
-- and retrying the request.
--
-- $sel:maxRecords:GetReservedNodeExchangeConfigurationOptions',
-- getReservedNodeExchangeConfigurationOptions_maxRecords - The
-- maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a Marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- GetReservedNodeExchangeConfigurationOptions,
-- getReservedNodeExchangeConfigurationOptions_snapshotIdentifier
-- - The identifier for the snapshot that is the source for the
-- reserved-node exchange.
--
-- $sel:actionType:GetReservedNodeExchangeConfigurationOptions',
-- getReservedNodeExchangeConfigurationOptions_actionType - The
-- action type of the reserved-node configuration. The action type can be
-- an exchange initiated from either a snapshot or a resize.
newGetReservedNodeExchangeConfigurationOptions :: ReservedNodeExchangeActionType -> GetReservedNodeExchangeConfigurationOptions
-- | The identifier for the cluster that is the source for a reserved-node
-- exchange.
getReservedNodeExchangeConfigurationOptions_clusterIdentifier :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Text)
-- | An optional pagination token provided by a previous
-- GetReservedNodeExchangeConfigurationOptions request. If this
-- parameter is specified, the response includes only records beyond the
-- marker, up to the value specified by the MaxRecords
-- parameter. You can retrieve the next set of response records by
-- providing the returned marker value in the Marker parameter
-- and retrying the request.
getReservedNodeExchangeConfigurationOptions_marker :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a Marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
getReservedNodeExchangeConfigurationOptions_maxRecords :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Int)
-- | The identifier for the snapshot that is the source for the
-- reserved-node exchange.
getReservedNodeExchangeConfigurationOptions_snapshotIdentifier :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Text)
-- | The action type of the reserved-node configuration. The action type
-- can be an exchange initiated from either a snapshot or a resize.
getReservedNodeExchangeConfigurationOptions_actionType :: Lens' GetReservedNodeExchangeConfigurationOptions ReservedNodeExchangeActionType
-- | See:
-- newGetReservedNodeExchangeConfigurationOptionsResponse smart
-- constructor.
data GetReservedNodeExchangeConfigurationOptionsResponse
GetReservedNodeExchangeConfigurationOptionsResponse' :: Maybe Text -> Maybe [ReservedNodeConfigurationOption] -> Int -> GetReservedNodeExchangeConfigurationOptionsResponse
-- | A pagination token provided by a previous
-- GetReservedNodeExchangeConfigurationOptions request.
[$sel:marker:GetReservedNodeExchangeConfigurationOptionsResponse'] :: GetReservedNodeExchangeConfigurationOptionsResponse -> Maybe Text
-- | the configuration options for the reserved-node exchange. These
-- options include information about the source reserved node and target
-- reserved node. Details include the node type, the price, the node
-- count, and the offering type.
[$sel:reservedNodeConfigurationOptionList:GetReservedNodeExchangeConfigurationOptionsResponse'] :: GetReservedNodeExchangeConfigurationOptionsResponse -> Maybe [ReservedNodeConfigurationOption]
-- | The response's http status code.
[$sel:httpStatus:GetReservedNodeExchangeConfigurationOptionsResponse'] :: GetReservedNodeExchangeConfigurationOptionsResponse -> Int
-- | Create a value of
-- GetReservedNodeExchangeConfigurationOptionsResponse 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:
--
-- GetReservedNodeExchangeConfigurationOptions,
-- getReservedNodeExchangeConfigurationOptionsResponse_marker - A
-- pagination token provided by a previous
-- GetReservedNodeExchangeConfigurationOptions request.
--
--
-- $sel:reservedNodeConfigurationOptionList:GetReservedNodeExchangeConfigurationOptionsResponse',
-- getReservedNodeExchangeConfigurationOptionsResponse_reservedNodeConfigurationOptionList
-- - the configuration options for the reserved-node exchange. These
-- options include information about the source reserved node and target
-- reserved node. Details include the node type, the price, the node
-- count, and the offering type.
--
--
-- $sel:httpStatus:GetReservedNodeExchangeConfigurationOptionsResponse',
-- getReservedNodeExchangeConfigurationOptionsResponse_httpStatus
-- - The response's http status code.
newGetReservedNodeExchangeConfigurationOptionsResponse :: Int -> GetReservedNodeExchangeConfigurationOptionsResponse
-- | A pagination token provided by a previous
-- GetReservedNodeExchangeConfigurationOptions request.
getReservedNodeExchangeConfigurationOptionsResponse_marker :: Lens' GetReservedNodeExchangeConfigurationOptionsResponse (Maybe Text)
-- | the configuration options for the reserved-node exchange. These
-- options include information about the source reserved node and target
-- reserved node. Details include the node type, the price, the node
-- count, and the offering type.
getReservedNodeExchangeConfigurationOptionsResponse_reservedNodeConfigurationOptionList :: Lens' GetReservedNodeExchangeConfigurationOptionsResponse (Maybe [ReservedNodeConfigurationOption])
-- | The response's http status code.
getReservedNodeExchangeConfigurationOptionsResponse_httpStatus :: Lens' GetReservedNodeExchangeConfigurationOptionsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
instance GHC.Show.Show Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
instance GHC.Read.Read Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
instance GHC.Classes.Eq Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
instance GHC.Generics.Generic Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptionsResponse
instance GHC.Show.Show Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptionsResponse
instance GHC.Read.Read Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptionsResponse
instance GHC.Classes.Eq Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptionsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
instance Control.DeepSeq.NFData Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptionsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
instance Data.Hashable.Class.Hashable Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
instance Control.DeepSeq.NFData Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.GetReservedNodeExchangeConfigurationOptions.GetReservedNodeExchangeConfigurationOptions
-- | Returns a database user name and temporary password with temporary
-- authorization to log in to an Amazon Redshift database. The database
-- user is mapped 1:1 to the source Identity and Access Management (IAM)
-- identity. For more information about IAM identities, see IAM
-- Identities (users, user groups, and roles) in the Amazon Web
-- Services Identity and Access Management User Guide.
--
-- The Identity and Access Management (IAM) identity that runs this
-- operation must have an IAM policy attached that allows access to all
-- necessary actions and resources. For more information about
-- permissions, see Using identity-based policies (IAM policies)
-- in the Amazon Redshift Cluster Management Guide.
module Amazonka.Redshift.GetClusterCredentialsWithIAM
-- | See: newGetClusterCredentialsWithIAM smart constructor.
data GetClusterCredentialsWithIAM
GetClusterCredentialsWithIAM' :: Maybe Text -> Maybe Int -> Text -> GetClusterCredentialsWithIAM
-- | The name of the database for which you are requesting credentials. If
-- the database name is specified, the IAM policy must allow access to
-- the resource dbname for the specified database name. If the
-- database name is not specified, access to all databases is allowed.
[$sel:dbName:GetClusterCredentialsWithIAM'] :: GetClusterCredentialsWithIAM -> Maybe Text
-- | The number of seconds until the returned temporary password expires.
--
-- Range: 900-3600. Default: 900.
[$sel:durationSeconds:GetClusterCredentialsWithIAM'] :: GetClusterCredentialsWithIAM -> Maybe Int
-- | The unique identifier of the cluster that contains the database for
-- which you are requesting credentials.
[$sel:clusterIdentifier:GetClusterCredentialsWithIAM'] :: GetClusterCredentialsWithIAM -> Text
-- | Create a value of GetClusterCredentialsWithIAM 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:
--
-- GetClusterCredentialsWithIAM,
-- getClusterCredentialsWithIAM_dbName - The name of the database
-- for which you are requesting credentials. If the database name is
-- specified, the IAM policy must allow access to the resource
-- dbname for the specified database name. If the database name
-- is not specified, access to all databases is allowed.
--
-- $sel:durationSeconds:GetClusterCredentialsWithIAM',
-- getClusterCredentialsWithIAM_durationSeconds - The number of
-- seconds until the returned temporary password expires.
--
-- Range: 900-3600. Default: 900.
--
-- GetClusterCredentialsWithIAM,
-- getClusterCredentialsWithIAM_clusterIdentifier - The unique
-- identifier of the cluster that contains the database for which you are
-- requesting credentials.
newGetClusterCredentialsWithIAM :: Text -> GetClusterCredentialsWithIAM
-- | The name of the database for which you are requesting credentials. If
-- the database name is specified, the IAM policy must allow access to
-- the resource dbname for the specified database name. If the
-- database name is not specified, access to all databases is allowed.
getClusterCredentialsWithIAM_dbName :: Lens' GetClusterCredentialsWithIAM (Maybe Text)
-- | The number of seconds until the returned temporary password expires.
--
-- Range: 900-3600. Default: 900.
getClusterCredentialsWithIAM_durationSeconds :: Lens' GetClusterCredentialsWithIAM (Maybe Int)
-- | The unique identifier of the cluster that contains the database for
-- which you are requesting credentials.
getClusterCredentialsWithIAM_clusterIdentifier :: Lens' GetClusterCredentialsWithIAM Text
-- | See: newGetClusterCredentialsWithIAMResponse smart
-- constructor.
data GetClusterCredentialsWithIAMResponse
GetClusterCredentialsWithIAMResponse' :: Maybe (Sensitive Text) -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Int -> GetClusterCredentialsWithIAMResponse
-- | A temporary password that you provide when you connect to a database.
[$sel:dbPassword:GetClusterCredentialsWithIAMResponse'] :: GetClusterCredentialsWithIAMResponse -> Maybe (Sensitive Text)
-- | A database user name that you provide when you connect to a database.
-- The database user is mapped 1:1 to the source IAM identity.
[$sel:dbUser:GetClusterCredentialsWithIAMResponse'] :: GetClusterCredentialsWithIAMResponse -> Maybe Text
-- | The time (UTC) when the temporary password expires. After this
-- timestamp, a log in with the temporary password fails.
[$sel:expiration:GetClusterCredentialsWithIAMResponse'] :: GetClusterCredentialsWithIAMResponse -> Maybe ISO8601
-- | Reserved for future use.
[$sel:nextRefreshTime:GetClusterCredentialsWithIAMResponse'] :: GetClusterCredentialsWithIAMResponse -> Maybe ISO8601
-- | The response's http status code.
[$sel:httpStatus:GetClusterCredentialsWithIAMResponse'] :: GetClusterCredentialsWithIAMResponse -> Int
-- | Create a value of GetClusterCredentialsWithIAMResponse 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:GetClusterCredentialsWithIAMResponse',
-- getClusterCredentialsWithIAMResponse_dbPassword - A temporary
-- password that you provide when you connect to a database.
--
-- $sel:dbUser:GetClusterCredentialsWithIAMResponse',
-- getClusterCredentialsWithIAMResponse_dbUser - A database user
-- name that you provide when you connect to a database. The database
-- user is mapped 1:1 to the source IAM identity.
--
-- $sel:expiration:GetClusterCredentialsWithIAMResponse',
-- getClusterCredentialsWithIAMResponse_expiration - The time
-- (UTC) when the temporary password expires. After this timestamp, a log
-- in with the temporary password fails.
--
-- $sel:nextRefreshTime:GetClusterCredentialsWithIAMResponse',
-- getClusterCredentialsWithIAMResponse_nextRefreshTime - Reserved
-- for future use.
--
-- $sel:httpStatus:GetClusterCredentialsWithIAMResponse',
-- getClusterCredentialsWithIAMResponse_httpStatus - The
-- response's http status code.
newGetClusterCredentialsWithIAMResponse :: Int -> GetClusterCredentialsWithIAMResponse
-- | A temporary password that you provide when you connect to a database.
getClusterCredentialsWithIAMResponse_dbPassword :: Lens' GetClusterCredentialsWithIAMResponse (Maybe Text)
-- | A database user name that you provide when you connect to a database.
-- The database user is mapped 1:1 to the source IAM identity.
getClusterCredentialsWithIAMResponse_dbUser :: Lens' GetClusterCredentialsWithIAMResponse (Maybe Text)
-- | The time (UTC) when the temporary password expires. After this
-- timestamp, a log in with the temporary password fails.
getClusterCredentialsWithIAMResponse_expiration :: Lens' GetClusterCredentialsWithIAMResponse (Maybe UTCTime)
-- | Reserved for future use.
getClusterCredentialsWithIAMResponse_nextRefreshTime :: Lens' GetClusterCredentialsWithIAMResponse (Maybe UTCTime)
-- | The response's http status code.
getClusterCredentialsWithIAMResponse_httpStatus :: Lens' GetClusterCredentialsWithIAMResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAM
instance GHC.Show.Show Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAM
instance GHC.Read.Read Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAM
instance GHC.Classes.Eq Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAM
instance GHC.Generics.Generic Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAMResponse
instance GHC.Show.Show Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAMResponse
instance GHC.Classes.Eq Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAMResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAM
instance Control.DeepSeq.NFData Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAMResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAM
instance Control.DeepSeq.NFData Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAM
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAM
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAM
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.GetClusterCredentialsWithIAM.GetClusterCredentialsWithIAM
-- | Returns a database user name and temporary password with temporary
-- authorization to log on to an Amazon Redshift database. The action
-- returns the database user name prefixed with IAM: if
-- AutoCreate is False or IAMA: if
-- AutoCreate is True. You can optionally specify one
-- or more database user groups that the user will join at log on. 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). For more information, see Using IAM
-- Authentication to Generate Database User Credentials in the Amazon
-- Redshift Cluster Management Guide.
--
-- The Identity and Access Management (IAM) user or role that runs
-- GetClusterCredentials must have an IAM policy attached that allows
-- access to all necessary actions and resources. For more information
-- about permissions, see Resource Policies for
-- GetClusterCredentials in the Amazon Redshift Cluster Management
-- Guide.
--
-- If the DbGroups parameter is specified, the IAM policy must
-- allow the redshift:JoinGroup action with access to the listed
-- dbgroups.
--
-- In addition, if the AutoCreate parameter is set to
-- True, then the policy must include the
-- redshift:CreateClusterUser permission.
--
-- If the DbName parameter is specified, the IAM policy must
-- allow access to the resource dbname for the specified
-- database name.
module Amazonka.Redshift.GetClusterCredentials
-- | The request parameters to get cluster credentials.
--
-- See: newGetClusterCredentials smart constructor.
data GetClusterCredentials
GetClusterCredentials' :: Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Int -> Text -> Text -> GetClusterCredentials
-- | Create a database user with the name specified for the user named in
-- DbUser if one does not exist.
[$sel:autoCreate:GetClusterCredentials'] :: GetClusterCredentials -> Maybe Bool
-- | A list of the names of existing database groups that the user named in
-- DbUser will join for the current session, in addition to any
-- group memberships for an existing user. If not specified, a new user
-- is added only to PUBLIC.
--
-- Database group name constraints
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens
-- - Must contain only lowercase letters, numbers, underscore, plus
-- sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
[$sel:dbGroups:GetClusterCredentials'] :: GetClusterCredentials -> Maybe [Text]
-- | The name of a database that DbUser is authorized to log on
-- to. If DbName is not specified, DbUser can log on to
-- any existing database.
--
-- Constraints:
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens
-- - Must contain uppercase or lowercase letters, numbers, underscore,
-- plus sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
[$sel:dbName:GetClusterCredentials'] :: GetClusterCredentials -> Maybe Text
-- | The number of seconds until the returned temporary password expires.
--
-- Constraint: minimum 900, maximum 3600.
--
-- Default: 900
[$sel:durationSeconds:GetClusterCredentials'] :: GetClusterCredentials -> Maybe Int
-- | The name of a database user. If a user name matching DbUser
-- exists in the database, the temporary user credentials have the same
-- permissions as the existing user. If DbUser doesn't exist in
-- the database and Autocreate is True, a new user is
-- created using the value for DbUser with PUBLIC permissions.
-- If a database user matching the value for DbUser doesn't
-- exist and Autocreate is False, then the command
-- succeeds but the connection attempt will fail because the user doesn't
-- exist in the database.
--
-- For more information, see CREATE USER in the Amazon Redshift
-- Database Developer Guide.
--
-- Constraints:
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens. The user name
-- can't be PUBLIC.
-- - Must contain uppercase or lowercase letters, numbers, underscore,
-- plus sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
[$sel:dbUser:GetClusterCredentials'] :: GetClusterCredentials -> Text
-- | The unique identifier of the cluster that contains the database for
-- which you are requesting credentials. This parameter is case
-- sensitive.
[$sel:clusterIdentifier:GetClusterCredentials'] :: GetClusterCredentials -> Text
-- | Create a value of GetClusterCredentials 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:autoCreate:GetClusterCredentials',
-- getClusterCredentials_autoCreate - Create a database user with
-- the name specified for the user named in DbUser if one does
-- not exist.
--
-- $sel:dbGroups:GetClusterCredentials',
-- getClusterCredentials_dbGroups - A list of the names of
-- existing database groups that the user named in DbUser will
-- join for the current session, in addition to any group memberships for
-- an existing user. If not specified, a new user is added only to
-- PUBLIC.
--
-- Database group name constraints
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens
-- - Must contain only lowercase letters, numbers, underscore, plus
-- sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
--
-- GetClusterCredentials, getClusterCredentials_dbName -
-- The name of a database that DbUser is authorized to log on
-- to. If DbName is not specified, DbUser can log on to
-- any existing database.
--
-- Constraints:
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens
-- - Must contain uppercase or lowercase letters, numbers, underscore,
-- plus sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
--
-- $sel:durationSeconds:GetClusterCredentials',
-- getClusterCredentials_durationSeconds - The number of seconds
-- until the returned temporary password expires.
--
-- Constraint: minimum 900, maximum 3600.
--
-- Default: 900
--
-- GetClusterCredentials, getClusterCredentials_dbUser -
-- The name of a database user. If a user name matching DbUser
-- exists in the database, the temporary user credentials have the same
-- permissions as the existing user. If DbUser doesn't exist in
-- the database and Autocreate is True, a new user is
-- created using the value for DbUser with PUBLIC permissions.
-- If a database user matching the value for DbUser doesn't
-- exist and Autocreate is False, then the command
-- succeeds but the connection attempt will fail because the user doesn't
-- exist in the database.
--
-- For more information, see CREATE USER in the Amazon Redshift
-- Database Developer Guide.
--
-- Constraints:
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens. The user name
-- can't be PUBLIC.
-- - Must contain uppercase or lowercase letters, numbers, underscore,
-- plus sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
--
-- GetClusterCredentials,
-- getClusterCredentials_clusterIdentifier - The unique identifier
-- of the cluster that contains the database for which you are requesting
-- credentials. This parameter is case sensitive.
newGetClusterCredentials :: Text -> Text -> GetClusterCredentials
-- | Create a database user with the name specified for the user named in
-- DbUser if one does not exist.
getClusterCredentials_autoCreate :: Lens' GetClusterCredentials (Maybe Bool)
-- | A list of the names of existing database groups that the user named in
-- DbUser will join for the current session, in addition to any
-- group memberships for an existing user. If not specified, a new user
-- is added only to PUBLIC.
--
-- Database group name constraints
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens
-- - Must contain only lowercase letters, numbers, underscore, plus
-- sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
getClusterCredentials_dbGroups :: Lens' GetClusterCredentials (Maybe [Text])
-- | The name of a database that DbUser is authorized to log on
-- to. If DbName is not specified, DbUser can log on to
-- any existing database.
--
-- Constraints:
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens
-- - Must contain uppercase or lowercase letters, numbers, underscore,
-- plus sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
getClusterCredentials_dbName :: Lens' GetClusterCredentials (Maybe Text)
-- | The number of seconds until the returned temporary password expires.
--
-- Constraint: minimum 900, maximum 3600.
--
-- Default: 900
getClusterCredentials_durationSeconds :: Lens' GetClusterCredentials (Maybe Int)
-- | The name of a database user. If a user name matching DbUser
-- exists in the database, the temporary user credentials have the same
-- permissions as the existing user. If DbUser doesn't exist in
-- the database and Autocreate is True, a new user is
-- created using the value for DbUser with PUBLIC permissions.
-- If a database user matching the value for DbUser doesn't
-- exist and Autocreate is False, then the command
-- succeeds but the connection attempt will fail because the user doesn't
-- exist in the database.
--
-- For more information, see CREATE USER in the Amazon Redshift
-- Database Developer Guide.
--
-- Constraints:
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens. The user name
-- can't be PUBLIC.
-- - Must contain uppercase or lowercase letters, numbers, underscore,
-- plus sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
getClusterCredentials_dbUser :: Lens' GetClusterCredentials Text
-- | The unique identifier of the cluster that contains the database for
-- which you are requesting credentials. This parameter is case
-- sensitive.
getClusterCredentials_clusterIdentifier :: Lens' GetClusterCredentials Text
-- | Temporary credentials with authorization to log on to an Amazon
-- Redshift database.
--
-- See: newGetClusterCredentialsResponse smart constructor.
data GetClusterCredentialsResponse
GetClusterCredentialsResponse' :: Maybe (Sensitive Text) -> Maybe Text -> Maybe ISO8601 -> Int -> GetClusterCredentialsResponse
-- | A temporary password that authorizes the user name returned by
-- DbUser to log on to the database DbName.
[$sel:dbPassword:GetClusterCredentialsResponse'] :: GetClusterCredentialsResponse -> 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 permissions as the the user named in DbUser. By default,
-- the user is added to PUBLIC. If the DbGroups parameter is
-- specifed, DbUser is added to the listed groups for any
-- sessions created using these credentials.
[$sel:dbUser:GetClusterCredentialsResponse'] :: GetClusterCredentialsResponse -> Maybe Text
-- | The date and time the password in DbPassword expires.
[$sel:expiration:GetClusterCredentialsResponse'] :: GetClusterCredentialsResponse -> Maybe ISO8601
-- | The response's http status code.
[$sel:httpStatus:GetClusterCredentialsResponse'] :: GetClusterCredentialsResponse -> Int
-- | Create a value of GetClusterCredentialsResponse 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:GetClusterCredentialsResponse',
-- getClusterCredentialsResponse_dbPassword - A temporary password
-- that authorizes the user name returned by DbUser to log on to
-- the database DbName.
--
-- GetClusterCredentials,
-- getClusterCredentialsResponse_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 permissions as the
-- the user named in DbUser. By default, the user is added to PUBLIC. If
-- the DbGroups parameter is specifed, DbUser is added
-- to the listed groups for any sessions created using these credentials.
--
-- $sel:expiration:GetClusterCredentialsResponse',
-- getClusterCredentialsResponse_expiration - The date and time
-- the password in DbPassword expires.
--
-- $sel:httpStatus:GetClusterCredentialsResponse',
-- getClusterCredentialsResponse_httpStatus - The response's http
-- status code.
newGetClusterCredentialsResponse :: Int -> GetClusterCredentialsResponse
-- | A temporary password that authorizes the user name returned by
-- DbUser to log on to the database DbName.
getClusterCredentialsResponse_dbPassword :: Lens' GetClusterCredentialsResponse (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 permissions as the the user named in DbUser. By default,
-- the user is added to PUBLIC. If the DbGroups parameter is
-- specifed, DbUser is added to the listed groups for any
-- sessions created using these credentials.
getClusterCredentialsResponse_dbUser :: Lens' GetClusterCredentialsResponse (Maybe Text)
-- | The date and time the password in DbPassword expires.
getClusterCredentialsResponse_expiration :: Lens' GetClusterCredentialsResponse (Maybe UTCTime)
-- | The response's http status code.
getClusterCredentialsResponse_httpStatus :: Lens' GetClusterCredentialsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.GetClusterCredentials.GetClusterCredentials
instance GHC.Show.Show Amazonka.Redshift.GetClusterCredentials.GetClusterCredentials
instance GHC.Read.Read Amazonka.Redshift.GetClusterCredentials.GetClusterCredentials
instance GHC.Classes.Eq Amazonka.Redshift.GetClusterCredentials.GetClusterCredentials
instance GHC.Generics.Generic Amazonka.Redshift.GetClusterCredentials.GetClusterCredentialsResponse
instance GHC.Show.Show Amazonka.Redshift.GetClusterCredentials.GetClusterCredentialsResponse
instance GHC.Classes.Eq Amazonka.Redshift.GetClusterCredentials.GetClusterCredentialsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.GetClusterCredentials.GetClusterCredentials
instance Control.DeepSeq.NFData Amazonka.Redshift.GetClusterCredentials.GetClusterCredentialsResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.GetClusterCredentials.GetClusterCredentials
instance Control.DeepSeq.NFData Amazonka.Redshift.GetClusterCredentials.GetClusterCredentials
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.GetClusterCredentials.GetClusterCredentials
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.GetClusterCredentials.GetClusterCredentials
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.GetClusterCredentials.GetClusterCredentials
-- | Enables the automatic copy of snapshots from one region to another
-- region for a specified cluster.
module Amazonka.Redshift.EnableSnapshotCopy
-- | See: newEnableSnapshotCopy smart constructor.
data EnableSnapshotCopy
EnableSnapshotCopy' :: Maybe Int -> Maybe Int -> Maybe Text -> Text -> Text -> EnableSnapshotCopy
-- | The number of days to retain newly copied snapshots in the destination
-- Amazon Web Services Region after they are copied from the source
-- Amazon Web Services Region. If the value is -1, the manual snapshot is
-- retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
[$sel:manualSnapshotRetentionPeriod:EnableSnapshotCopy'] :: EnableSnapshotCopy -> Maybe Int
-- | The number of days to retain automated snapshots in the destination
-- region after they are copied from the source region.
--
-- Default: 7.
--
-- Constraints: Must be at least 1 and no more than 35.
[$sel:retentionPeriod:EnableSnapshotCopy'] :: EnableSnapshotCopy -> Maybe Int
-- | The name of the snapshot copy grant to use when snapshots of an Amazon
-- Web Services KMS-encrypted cluster are copied to the destination
-- region.
[$sel:snapshotCopyGrantName:EnableSnapshotCopy'] :: EnableSnapshotCopy -> Maybe Text
-- | The unique identifier of the source cluster to copy snapshots from.
--
-- Constraints: Must be the valid name of an existing cluster that does
-- not already have cross-region snapshot copy enabled.
[$sel:clusterIdentifier:EnableSnapshotCopy'] :: EnableSnapshotCopy -> Text
-- | The destination Amazon Web Services Region that you want to copy
-- snapshots to.
--
-- Constraints: Must be the name of a valid Amazon Web Services Region.
-- For more information, see Regions and Endpoints in the Amazon
-- Web Services General Reference.
[$sel:destinationRegion:EnableSnapshotCopy'] :: EnableSnapshotCopy -> Text
-- | Create a value of EnableSnapshotCopy 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:
--
-- EnableSnapshotCopy,
-- enableSnapshotCopy_manualSnapshotRetentionPeriod - The number
-- of days to retain newly copied snapshots in the destination Amazon Web
-- Services Region after they are copied from the source Amazon Web
-- Services Region. If the value is -1, the manual snapshot is retained
-- indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- EnableSnapshotCopy, enableSnapshotCopy_retentionPeriod -
-- The number of days to retain automated snapshots in the destination
-- region after they are copied from the source region.
--
-- Default: 7.
--
-- Constraints: Must be at least 1 and no more than 35.
--
-- EnableSnapshotCopy,
-- enableSnapshotCopy_snapshotCopyGrantName - The name of the
-- snapshot copy grant to use when snapshots of an Amazon Web Services
-- KMS-encrypted cluster are copied to the destination region.
--
-- EnableSnapshotCopy, enableSnapshotCopy_clusterIdentifier
-- - The unique identifier of the source cluster to copy snapshots from.
--
-- Constraints: Must be the valid name of an existing cluster that does
-- not already have cross-region snapshot copy enabled.
--
-- EnableSnapshotCopy, enableSnapshotCopy_destinationRegion
-- - The destination Amazon Web Services Region that you want to copy
-- snapshots to.
--
-- Constraints: Must be the name of a valid Amazon Web Services Region.
-- For more information, see Regions and Endpoints in the Amazon
-- Web Services General Reference.
newEnableSnapshotCopy :: Text -> Text -> EnableSnapshotCopy
-- | The number of days to retain newly copied snapshots in the destination
-- Amazon Web Services Region after they are copied from the source
-- Amazon Web Services Region. If the value is -1, the manual snapshot is
-- retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
enableSnapshotCopy_manualSnapshotRetentionPeriod :: Lens' EnableSnapshotCopy (Maybe Int)
-- | The number of days to retain automated snapshots in the destination
-- region after they are copied from the source region.
--
-- Default: 7.
--
-- Constraints: Must be at least 1 and no more than 35.
enableSnapshotCopy_retentionPeriod :: Lens' EnableSnapshotCopy (Maybe Int)
-- | The name of the snapshot copy grant to use when snapshots of an Amazon
-- Web Services KMS-encrypted cluster are copied to the destination
-- region.
enableSnapshotCopy_snapshotCopyGrantName :: Lens' EnableSnapshotCopy (Maybe Text)
-- | The unique identifier of the source cluster to copy snapshots from.
--
-- Constraints: Must be the valid name of an existing cluster that does
-- not already have cross-region snapshot copy enabled.
enableSnapshotCopy_clusterIdentifier :: Lens' EnableSnapshotCopy Text
-- | The destination Amazon Web Services Region that you want to copy
-- snapshots to.
--
-- Constraints: Must be the name of a valid Amazon Web Services Region.
-- For more information, see Regions and Endpoints in the Amazon
-- Web Services General Reference.
enableSnapshotCopy_destinationRegion :: Lens' EnableSnapshotCopy Text
-- | See: newEnableSnapshotCopyResponse smart constructor.
data EnableSnapshotCopyResponse
EnableSnapshotCopyResponse' :: Maybe Cluster -> Int -> EnableSnapshotCopyResponse
[$sel:cluster:EnableSnapshotCopyResponse'] :: EnableSnapshotCopyResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:EnableSnapshotCopyResponse'] :: EnableSnapshotCopyResponse -> Int
-- | Create a value of EnableSnapshotCopyResponse 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:cluster:EnableSnapshotCopyResponse',
-- enableSnapshotCopyResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:EnableSnapshotCopyResponse',
-- enableSnapshotCopyResponse_httpStatus - The response's http
-- status code.
newEnableSnapshotCopyResponse :: Int -> EnableSnapshotCopyResponse
-- | Undocumented member.
enableSnapshotCopyResponse_cluster :: Lens' EnableSnapshotCopyResponse (Maybe Cluster)
-- | The response's http status code.
enableSnapshotCopyResponse_httpStatus :: Lens' EnableSnapshotCopyResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance GHC.Show.Show Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance GHC.Read.Read Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance GHC.Classes.Eq Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance GHC.Generics.Generic Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
instance GHC.Show.Show Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
instance GHC.Read.Read Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
instance GHC.Classes.Eq Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Control.DeepSeq.NFData Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopyResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Control.DeepSeq.NFData Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.EnableSnapshotCopy.EnableSnapshotCopy
-- | Starts logging information, such as queries and connection attempts,
-- for the specified Amazon Redshift cluster.
module Amazonka.Redshift.EnableLogging
-- | See: newEnableLogging smart constructor.
data EnableLogging
EnableLogging' :: Maybe Text -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Text -> Text -> EnableLogging
-- | The name of an existing S3 bucket where the log files are to be
-- stored.
--
-- Constraints:
--
--
-- - Must be in the same region as the cluster
-- - The cluster must have read bucket and put object permissions
--
[$sel:bucketName:EnableLogging'] :: EnableLogging -> Maybe Text
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
[$sel:logDestinationType:EnableLogging'] :: EnableLogging -> Maybe LogDestinationType
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
[$sel:logExports:EnableLogging'] :: EnableLogging -> Maybe [Text]
-- | The prefix applied to the log file names.
--
-- Constraints:
--
--
-- - Cannot exceed 512 characters
-- - Cannot contain spaces( ), double quotes ("), single quotes ('), a
-- backslash (\), or control characters. The hexadecimal codes for
-- invalid characters are:
- x00 to
-- x20
- x22
- x27
- x5c
- x7f or
-- larger
--
[$sel:s3KeyPrefix:EnableLogging'] :: EnableLogging -> Maybe Text
-- | The identifier of the cluster on which logging is to be started.
--
-- Example: examplecluster
[$sel:clusterIdentifier:EnableLogging'] :: EnableLogging -> Text
-- | Create a value of EnableLogging 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:
--
-- EnableLogging, enableLogging_bucketName - The name of an
-- existing S3 bucket where the log files are to be stored.
--
-- Constraints:
--
--
-- - Must be in the same region as the cluster
-- - The cluster must have read bucket and put object permissions
--
--
-- EnableLogging, enableLogging_logDestinationType - The
-- log destination type. An enum with possible values of s3 and
-- cloudwatch.
--
-- EnableLogging, enableLogging_logExports - The collection
-- of exported log types. Log types include the connection log, user log
-- and user activity log.
--
-- EnableLogging, enableLogging_s3KeyPrefix - The prefix
-- applied to the log file names.
--
-- Constraints:
--
--
-- - Cannot exceed 512 characters
-- - Cannot contain spaces( ), double quotes ("), single quotes ('), a
-- backslash (\), or control characters. The hexadecimal codes for
-- invalid characters are:
- x00 to
-- x20
- x22
- x27
- x5c
- x7f or
-- larger
--
--
-- EnableLogging, enableLogging_clusterIdentifier - The
-- identifier of the cluster on which logging is to be started.
--
-- Example: examplecluster
newEnableLogging :: Text -> EnableLogging
-- | The name of an existing S3 bucket where the log files are to be
-- stored.
--
-- Constraints:
--
--
-- - Must be in the same region as the cluster
-- - The cluster must have read bucket and put object permissions
--
enableLogging_bucketName :: Lens' EnableLogging (Maybe Text)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
enableLogging_logDestinationType :: Lens' EnableLogging (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
enableLogging_logExports :: Lens' EnableLogging (Maybe [Text])
-- | The prefix applied to the log file names.
--
-- Constraints:
--
--
-- - Cannot exceed 512 characters
-- - Cannot contain spaces( ), double quotes ("), single quotes ('), a
-- backslash (\), or control characters. The hexadecimal codes for
-- invalid characters are:
- x00 to
-- x20
- x22
- x27
- x5c
- x7f or
-- larger
--
enableLogging_s3KeyPrefix :: Lens' EnableLogging (Maybe Text)
-- | The identifier of the cluster on which logging is to be started.
--
-- Example: examplecluster
enableLogging_clusterIdentifier :: Lens' EnableLogging Text
-- | Describes the status of logging for a cluster.
--
-- See: newLoggingStatus smart constructor.
data LoggingStatus
LoggingStatus' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Bool -> Maybe Text -> LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
[$sel:bucketName:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | The message indicating that logs failed to be delivered.
[$sel:lastFailureMessage:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | The last time when logs failed to be delivered.
[$sel:lastFailureTime:LoggingStatus'] :: LoggingStatus -> Maybe ISO8601
-- | The last time that logs were delivered.
[$sel:lastSuccessfulDeliveryTime:LoggingStatus'] :: LoggingStatus -> Maybe ISO8601
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
[$sel:logDestinationType:LoggingStatus'] :: LoggingStatus -> Maybe LogDestinationType
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
[$sel:logExports:LoggingStatus'] :: LoggingStatus -> Maybe [Text]
-- | true if logging is on, false if logging is off.
[$sel:loggingEnabled:LoggingStatus'] :: LoggingStatus -> Maybe Bool
-- | The prefix applied to the log file names.
[$sel:s3KeyPrefix:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | Create a value of LoggingStatus 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:bucketName:LoggingStatus', loggingStatus_bucketName
-- - The name of the S3 bucket where the log files are stored.
--
-- $sel:lastFailureMessage:LoggingStatus',
-- loggingStatus_lastFailureMessage - The message indicating that
-- logs failed to be delivered.
--
-- $sel:lastFailureTime:LoggingStatus',
-- loggingStatus_lastFailureTime - The last time when logs failed
-- to be delivered.
--
-- $sel:lastSuccessfulDeliveryTime:LoggingStatus',
-- loggingStatus_lastSuccessfulDeliveryTime - The last time that
-- logs were delivered.
--
-- $sel:logDestinationType:LoggingStatus',
-- loggingStatus_logDestinationType - The log destination type. An
-- enum with possible values of s3 and cloudwatch.
--
-- $sel:logExports:LoggingStatus', loggingStatus_logExports
-- - The collection of exported log types. Log types include the
-- connection log, user log and user activity log.
--
-- $sel:loggingEnabled:LoggingStatus',
-- loggingStatus_loggingEnabled - true if logging is on,
-- false if logging is off.
--
-- $sel:s3KeyPrefix:LoggingStatus',
-- loggingStatus_s3KeyPrefix - The prefix applied to the log file
-- names.
newLoggingStatus :: LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text)
-- | The message indicating that logs failed to be delivered.
loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | The last time when logs failed to be delivered.
loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
loggingStatus_logDestinationType :: Lens' LoggingStatus (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
loggingStatus_logExports :: Lens' LoggingStatus (Maybe [Text])
-- | true if logging is on, false if logging is off.
loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The prefix applied to the log file names.
loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.EnableLogging.EnableLogging
instance GHC.Show.Show Amazonka.Redshift.EnableLogging.EnableLogging
instance GHC.Read.Read Amazonka.Redshift.EnableLogging.EnableLogging
instance GHC.Classes.Eq Amazonka.Redshift.EnableLogging.EnableLogging
instance Amazonka.Types.AWSRequest Amazonka.Redshift.EnableLogging.EnableLogging
instance Data.Hashable.Class.Hashable Amazonka.Redshift.EnableLogging.EnableLogging
instance Control.DeepSeq.NFData Amazonka.Redshift.EnableLogging.EnableLogging
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.EnableLogging.EnableLogging
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.EnableLogging.EnableLogging
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.EnableLogging.EnableLogging
-- | From a datashare consumer account, remove association for the
-- specified datashare.
module Amazonka.Redshift.DisassociateDataShareConsumer
-- | See: newDisassociateDataShareConsumer smart constructor.
data DisassociateDataShareConsumer
DisassociateDataShareConsumer' :: Maybe Text -> Maybe Text -> Maybe Bool -> Text -> DisassociateDataShareConsumer
-- | The Amazon Resource Name (ARN) of the consumer that association for
-- the datashare is removed from.
[$sel:consumerArn:DisassociateDataShareConsumer'] :: DisassociateDataShareConsumer -> Maybe Text
-- | From a datashare consumer account, removes association of a datashare
-- from all the existing and future namespaces in the specified Amazon
-- Web Services Region.
[$sel:consumerRegion:DisassociateDataShareConsumer'] :: DisassociateDataShareConsumer -> Maybe Text
-- | A value that specifies whether association for the datashare is
-- removed from the entire account.
[$sel:disassociateEntireAccount:DisassociateDataShareConsumer'] :: DisassociateDataShareConsumer -> Maybe Bool
-- | The Amazon Resource Name (ARN) of the datashare to remove association
-- for.
[$sel:dataShareArn:DisassociateDataShareConsumer'] :: DisassociateDataShareConsumer -> Text
-- | Create a value of DisassociateDataShareConsumer 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:consumerArn:DisassociateDataShareConsumer',
-- disassociateDataShareConsumer_consumerArn - The Amazon Resource
-- Name (ARN) of the consumer that association for the datashare is
-- removed from.
--
-- DisassociateDataShareConsumer,
-- disassociateDataShareConsumer_consumerRegion - From a datashare
-- consumer account, removes association of a datashare from all the
-- existing and future namespaces in the specified Amazon Web Services
-- Region.
--
-- $sel:disassociateEntireAccount:DisassociateDataShareConsumer',
-- disassociateDataShareConsumer_disassociateEntireAccount - A
-- value that specifies whether association for the datashare is removed
-- from the entire account.
--
-- DisassociateDataShareConsumer,
-- disassociateDataShareConsumer_dataShareArn - The Amazon
-- Resource Name (ARN) of the datashare to remove association for.
newDisassociateDataShareConsumer :: Text -> DisassociateDataShareConsumer
-- | The Amazon Resource Name (ARN) of the consumer that association for
-- the datashare is removed from.
disassociateDataShareConsumer_consumerArn :: Lens' DisassociateDataShareConsumer (Maybe Text)
-- | From a datashare consumer account, removes association of a datashare
-- from all the existing and future namespaces in the specified Amazon
-- Web Services Region.
disassociateDataShareConsumer_consumerRegion :: Lens' DisassociateDataShareConsumer (Maybe Text)
-- | A value that specifies whether association for the datashare is
-- removed from the entire account.
disassociateDataShareConsumer_disassociateEntireAccount :: Lens' DisassociateDataShareConsumer (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the datashare to remove association
-- for.
disassociateDataShareConsumer_dataShareArn :: Lens' DisassociateDataShareConsumer Text
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
[$sel:allowPubliclyAccessibleConsumers:DataShare'] :: DataShare -> Maybe Bool
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
[$sel:dataShareArn:DataShare'] :: DataShare -> Maybe Text
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
[$sel:dataShareAssociations:DataShare'] :: DataShare -> Maybe [DataShareAssociation]
-- | The identifier of a datashare to show its managing entity.
[$sel:managedBy:DataShare'] :: DataShare -> Maybe Text
-- | The Amazon Resource Name (ARN) of the producer.
[$sel:producerArn:DataShare'] :: DataShare -> Maybe Text
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.DisassociateDataShareConsumer.DisassociateDataShareConsumer
instance GHC.Show.Show Amazonka.Redshift.DisassociateDataShareConsumer.DisassociateDataShareConsumer
instance GHC.Read.Read Amazonka.Redshift.DisassociateDataShareConsumer.DisassociateDataShareConsumer
instance GHC.Classes.Eq Amazonka.Redshift.DisassociateDataShareConsumer.DisassociateDataShareConsumer
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DisassociateDataShareConsumer.DisassociateDataShareConsumer
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DisassociateDataShareConsumer.DisassociateDataShareConsumer
instance Control.DeepSeq.NFData Amazonka.Redshift.DisassociateDataShareConsumer.DisassociateDataShareConsumer
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DisassociateDataShareConsumer.DisassociateDataShareConsumer
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DisassociateDataShareConsumer.DisassociateDataShareConsumer
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DisassociateDataShareConsumer.DisassociateDataShareConsumer
-- | Disables the automatic copying of snapshots from one region to another
-- region for a specified cluster.
--
-- If your cluster and its snapshots are encrypted using an encrypted
-- symmetric key from Key Management Service, use DeleteSnapshotCopyGrant
-- to delete the grant that grants Amazon Redshift permission to the key
-- in the destination region.
module Amazonka.Redshift.DisableSnapshotCopy
-- | See: newDisableSnapshotCopy smart constructor.
data DisableSnapshotCopy
DisableSnapshotCopy' :: Text -> DisableSnapshotCopy
-- | The unique identifier of the source cluster that you want to disable
-- copying of snapshots to a destination region.
--
-- Constraints: Must be the valid name of an existing cluster that has
-- cross-region snapshot copy enabled.
[$sel:clusterIdentifier:DisableSnapshotCopy'] :: DisableSnapshotCopy -> Text
-- | Create a value of DisableSnapshotCopy 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:
--
-- DisableSnapshotCopy,
-- disableSnapshotCopy_clusterIdentifier - The unique identifier
-- of the source cluster that you want to disable copying of snapshots to
-- a destination region.
--
-- Constraints: Must be the valid name of an existing cluster that has
-- cross-region snapshot copy enabled.
newDisableSnapshotCopy :: Text -> DisableSnapshotCopy
-- | The unique identifier of the source cluster that you want to disable
-- copying of snapshots to a destination region.
--
-- Constraints: Must be the valid name of an existing cluster that has
-- cross-region snapshot copy enabled.
disableSnapshotCopy_clusterIdentifier :: Lens' DisableSnapshotCopy Text
-- | See: newDisableSnapshotCopyResponse smart constructor.
data DisableSnapshotCopyResponse
DisableSnapshotCopyResponse' :: Maybe Cluster -> Int -> DisableSnapshotCopyResponse
[$sel:cluster:DisableSnapshotCopyResponse'] :: DisableSnapshotCopyResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:DisableSnapshotCopyResponse'] :: DisableSnapshotCopyResponse -> Int
-- | Create a value of DisableSnapshotCopyResponse 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:cluster:DisableSnapshotCopyResponse',
-- disableSnapshotCopyResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:DisableSnapshotCopyResponse',
-- disableSnapshotCopyResponse_httpStatus - The response's http
-- status code.
newDisableSnapshotCopyResponse :: Int -> DisableSnapshotCopyResponse
-- | Undocumented member.
disableSnapshotCopyResponse_cluster :: Lens' DisableSnapshotCopyResponse (Maybe Cluster)
-- | The response's http status code.
disableSnapshotCopyResponse_httpStatus :: Lens' DisableSnapshotCopyResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance GHC.Show.Show Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance GHC.Read.Read Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance GHC.Classes.Eq Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance GHC.Generics.Generic Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
instance GHC.Show.Show Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
instance GHC.Read.Read Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
instance GHC.Classes.Eq Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Control.DeepSeq.NFData Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopyResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Control.DeepSeq.NFData Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DisableSnapshotCopy.DisableSnapshotCopy
-- | Stops logging information, such as queries and connection attempts,
-- for the specified Amazon Redshift cluster.
module Amazonka.Redshift.DisableLogging
-- | See: newDisableLogging smart constructor.
data DisableLogging
DisableLogging' :: Text -> DisableLogging
-- | The identifier of the cluster on which logging is to be stopped.
--
-- Example: examplecluster
[$sel:clusterIdentifier:DisableLogging'] :: DisableLogging -> Text
-- | Create a value of DisableLogging 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:
--
-- DisableLogging, disableLogging_clusterIdentifier - The
-- identifier of the cluster on which logging is to be stopped.
--
-- Example: examplecluster
newDisableLogging :: Text -> DisableLogging
-- | The identifier of the cluster on which logging is to be stopped.
--
-- Example: examplecluster
disableLogging_clusterIdentifier :: Lens' DisableLogging Text
-- | Describes the status of logging for a cluster.
--
-- See: newLoggingStatus smart constructor.
data LoggingStatus
LoggingStatus' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Bool -> Maybe Text -> LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
[$sel:bucketName:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | The message indicating that logs failed to be delivered.
[$sel:lastFailureMessage:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | The last time when logs failed to be delivered.
[$sel:lastFailureTime:LoggingStatus'] :: LoggingStatus -> Maybe ISO8601
-- | The last time that logs were delivered.
[$sel:lastSuccessfulDeliveryTime:LoggingStatus'] :: LoggingStatus -> Maybe ISO8601
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
[$sel:logDestinationType:LoggingStatus'] :: LoggingStatus -> Maybe LogDestinationType
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
[$sel:logExports:LoggingStatus'] :: LoggingStatus -> Maybe [Text]
-- | true if logging is on, false if logging is off.
[$sel:loggingEnabled:LoggingStatus'] :: LoggingStatus -> Maybe Bool
-- | The prefix applied to the log file names.
[$sel:s3KeyPrefix:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | Create a value of LoggingStatus 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:bucketName:LoggingStatus', loggingStatus_bucketName
-- - The name of the S3 bucket where the log files are stored.
--
-- $sel:lastFailureMessage:LoggingStatus',
-- loggingStatus_lastFailureMessage - The message indicating that
-- logs failed to be delivered.
--
-- $sel:lastFailureTime:LoggingStatus',
-- loggingStatus_lastFailureTime - The last time when logs failed
-- to be delivered.
--
-- $sel:lastSuccessfulDeliveryTime:LoggingStatus',
-- loggingStatus_lastSuccessfulDeliveryTime - The last time that
-- logs were delivered.
--
-- $sel:logDestinationType:LoggingStatus',
-- loggingStatus_logDestinationType - The log destination type. An
-- enum with possible values of s3 and cloudwatch.
--
-- $sel:logExports:LoggingStatus', loggingStatus_logExports
-- - The collection of exported log types. Log types include the
-- connection log, user log and user activity log.
--
-- $sel:loggingEnabled:LoggingStatus',
-- loggingStatus_loggingEnabled - true if logging is on,
-- false if logging is off.
--
-- $sel:s3KeyPrefix:LoggingStatus',
-- loggingStatus_s3KeyPrefix - The prefix applied to the log file
-- names.
newLoggingStatus :: LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text)
-- | The message indicating that logs failed to be delivered.
loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | The last time when logs failed to be delivered.
loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
loggingStatus_logDestinationType :: Lens' LoggingStatus (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
loggingStatus_logExports :: Lens' LoggingStatus (Maybe [Text])
-- | true if logging is on, false if logging is off.
loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The prefix applied to the log file names.
loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.DisableLogging.DisableLogging
instance GHC.Show.Show Amazonka.Redshift.DisableLogging.DisableLogging
instance GHC.Read.Read Amazonka.Redshift.DisableLogging.DisableLogging
instance GHC.Classes.Eq Amazonka.Redshift.DisableLogging.DisableLogging
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DisableLogging.DisableLogging
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DisableLogging.DisableLogging
instance Control.DeepSeq.NFData Amazonka.Redshift.DisableLogging.DisableLogging
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DisableLogging.DisableLogging
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DisableLogging.DisableLogging
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DisableLogging.DisableLogging
-- | Shows usage limits on a cluster. Results are filtered based on the
-- combination of input usage limit identifier, cluster identifier, and
-- feature type parameters:
--
--
-- - If usage limit identifier, cluster identifier, and feature type
-- are not provided, then all usage limit objects for the current account
-- in the current region are returned.
-- - If usage limit identifier is provided, then the corresponding
-- usage limit object is returned.
-- - If cluster identifier is provided, then all usage limit objects
-- for the specified cluster are returned.
-- - If cluster identifier and feature type are provided, then all
-- usage limit objects for the combination of cluster and feature are
-- returned.
--
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeUsageLimits
-- | See: newDescribeUsageLimits smart constructor.
data DescribeUsageLimits
DescribeUsageLimits' :: Maybe Text -> Maybe UsageLimitFeatureType -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> DescribeUsageLimits
-- | The identifier of the cluster for which you want to describe usage
-- limits.
[$sel:clusterIdentifier:DescribeUsageLimits'] :: DescribeUsageLimits -> Maybe Text
-- | The feature type for which you want to describe usage limits.
[$sel:featureType:DescribeUsageLimits'] :: DescribeUsageLimits -> Maybe UsageLimitFeatureType
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeUsageLimits
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
[$sel:marker:DescribeUsageLimits'] :: DescribeUsageLimits -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeUsageLimits'] :: DescribeUsageLimits -> Maybe Int
-- | A tag key or keys for which you want to return all matching usage
-- limit objects that are associated with the specified key or keys. For
-- example, suppose that you have parameter groups that are tagged with
-- keys called owner and environment. If you specify
-- both of these tag keys in the request, Amazon Redshift returns a
-- response with the usage limit objects have either or both of these tag
-- keys associated with them.
[$sel:tagKeys:DescribeUsageLimits'] :: DescribeUsageLimits -> Maybe [Text]
-- | A tag value or values for which you want to return all matching usage
-- limit objects that are associated with the specified tag value or
-- values. For example, suppose that you have parameter groups that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the usage limit objects that have either or
-- both of these tag values associated with them.
[$sel:tagValues:DescribeUsageLimits'] :: DescribeUsageLimits -> Maybe [Text]
-- | The identifier of the usage limit to describe.
[$sel:usageLimitId:DescribeUsageLimits'] :: DescribeUsageLimits -> Maybe Text
-- | Create a value of DescribeUsageLimits 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:
--
-- DescribeUsageLimits,
-- describeUsageLimits_clusterIdentifier - The identifier of the
-- cluster for which you want to describe usage limits.
--
-- DescribeUsageLimits, describeUsageLimits_featureType -
-- The feature type for which you want to describe usage limits.
--
-- DescribeUsageLimits, describeUsageLimits_marker - An
-- optional parameter that specifies the starting point to return a set
-- of response records. When the results of a DescribeUsageLimits request
-- exceed the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeUsageLimits',
-- describeUsageLimits_maxRecords - The maximum number of response
-- records to return in each call. If the number of remaining response
-- records exceeds the specified MaxRecords value, a value is
-- returned in a marker field of the response. You can retrieve
-- the next set of records by retrying the command with the returned
-- marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeUsageLimits',
-- describeUsageLimits_tagKeys - A tag key or keys for which you
-- want to return all matching usage limit objects that are associated
-- with the specified key or keys. For example, suppose that you have
-- parameter groups that are tagged with keys called owner and
-- environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with the usage limit
-- objects have either or both of these tag keys associated with them.
--
-- $sel:tagValues:DescribeUsageLimits',
-- describeUsageLimits_tagValues - A tag value or values for which
-- you want to return all matching usage limit objects that are
-- associated with the specified tag value or values. For example,
-- suppose that you have parameter groups that are tagged with values
-- called admin and test. If you specify both of these
-- tag values in the request, Amazon Redshift returns a response with the
-- usage limit objects that have either or both of these tag values
-- associated with them.
--
-- DescribeUsageLimits, describeUsageLimits_usageLimitId -
-- The identifier of the usage limit to describe.
newDescribeUsageLimits :: DescribeUsageLimits
-- | The identifier of the cluster for which you want to describe usage
-- limits.
describeUsageLimits_clusterIdentifier :: Lens' DescribeUsageLimits (Maybe Text)
-- | The feature type for which you want to describe usage limits.
describeUsageLimits_featureType :: Lens' DescribeUsageLimits (Maybe UsageLimitFeatureType)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeUsageLimits
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeUsageLimits_marker :: Lens' DescribeUsageLimits (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeUsageLimits_maxRecords :: Lens' DescribeUsageLimits (Maybe Int)
-- | A tag key or keys for which you want to return all matching usage
-- limit objects that are associated with the specified key or keys. For
-- example, suppose that you have parameter groups that are tagged with
-- keys called owner and environment. If you specify
-- both of these tag keys in the request, Amazon Redshift returns a
-- response with the usage limit objects have either or both of these tag
-- keys associated with them.
describeUsageLimits_tagKeys :: Lens' DescribeUsageLimits (Maybe [Text])
-- | A tag value or values for which you want to return all matching usage
-- limit objects that are associated with the specified tag value or
-- values. For example, suppose that you have parameter groups that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the usage limit objects that have either or
-- both of these tag values associated with them.
describeUsageLimits_tagValues :: Lens' DescribeUsageLimits (Maybe [Text])
-- | The identifier of the usage limit to describe.
describeUsageLimits_usageLimitId :: Lens' DescribeUsageLimits (Maybe Text)
-- | See: newDescribeUsageLimitsResponse smart constructor.
data DescribeUsageLimitsResponse
DescribeUsageLimitsResponse' :: Maybe Text -> Maybe [UsageLimit] -> Int -> DescribeUsageLimitsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeUsageLimitsResponse'] :: DescribeUsageLimitsResponse -> Maybe Text
-- | Contains the output from the DescribeUsageLimits action.
[$sel:usageLimits:DescribeUsageLimitsResponse'] :: DescribeUsageLimitsResponse -> Maybe [UsageLimit]
-- | The response's http status code.
[$sel:httpStatus:DescribeUsageLimitsResponse'] :: DescribeUsageLimitsResponse -> Int
-- | Create a value of DescribeUsageLimitsResponse 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:
--
-- DescribeUsageLimits, describeUsageLimitsResponse_marker
-- - A value that indicates the starting point for the next set of
-- response records in a subsequent request. If a value is returned in a
-- response, you can retrieve the next set of records by providing this
-- returned marker value in the Marker parameter and retrying
-- the command. If the Marker field is empty, all response
-- records have been retrieved for the request.
--
-- $sel:usageLimits:DescribeUsageLimitsResponse',
-- describeUsageLimitsResponse_usageLimits - Contains the output
-- from the DescribeUsageLimits action.
--
-- $sel:httpStatus:DescribeUsageLimitsResponse',
-- describeUsageLimitsResponse_httpStatus - The response's http
-- status code.
newDescribeUsageLimitsResponse :: Int -> DescribeUsageLimitsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeUsageLimitsResponse_marker :: Lens' DescribeUsageLimitsResponse (Maybe Text)
-- | Contains the output from the DescribeUsageLimits action.
describeUsageLimitsResponse_usageLimits :: Lens' DescribeUsageLimitsResponse (Maybe [UsageLimit])
-- | The response's http status code.
describeUsageLimitsResponse_httpStatus :: Lens' DescribeUsageLimitsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
instance GHC.Show.Show Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
instance GHC.Read.Read Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
instance GHC.Classes.Eq Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
instance GHC.Generics.Generic Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimitsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimitsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimitsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimitsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimitsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeUsageLimits.DescribeUsageLimits
-- | Returns a list of tags. You can return tags from a specific resource
-- by specifying an ARN, or you can return all tags for a given type of
-- resource, such as clusters, snapshots, and so on.
--
-- The following are limitations for DescribeTags:
--
--
-- - You cannot specify an ARN and a resource-type value together in
-- the same request.
-- - You cannot use the MaxRecords and Marker
-- parameters together with the ARN parameter.
-- - The MaxRecords parameter can be a range from 10 to 50
-- results to return in a request.
--
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all resources that match any combination of
-- the specified keys and values. For example, if you have owner
-- and environment for tag keys, and admin and
-- test for tag values, all resources that have any combination
-- of those values are returned.
--
-- If both tag keys and values are omitted from the request, resources
-- are returned regardless of whether they have tag keys or values
-- associated with them.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeTags
-- | See: newDescribeTags smart constructor.
data DescribeTags
DescribeTags' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> DescribeTags
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the marker parameter and retrying the
-- command. If the marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeTags'] :: DescribeTags -> Maybe Text
-- | The maximum number or response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
[$sel:maxRecords:DescribeTags'] :: DescribeTags -> Maybe Int
-- | The Amazon Resource Name (ARN) for which you want to describe the tag
-- or tags. For example,
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
[$sel:resourceName:DescribeTags'] :: DescribeTags -> Maybe Text
-- | The type of resource with which you want to view tags. Valid resource
-- types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
-- - Snapshot copy grant
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Specifying Policy Elements: Actions,
-- Effects, Resources, and Principals in the Amazon Redshift Cluster
-- Management Guide.
[$sel:resourceType:DescribeTags'] :: DescribeTags -> Maybe Text
-- | A tag key or keys for which you want to return all matching resources
-- that are associated with the specified key or keys. For example,
-- suppose that you have resources tagged with keys called owner
-- and environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with all resources that
-- have either or both of these tag keys associated with them.
[$sel:tagKeys:DescribeTags'] :: DescribeTags -> Maybe [Text]
-- | A tag value or values for which you want to return all matching
-- resources that are associated with the specified value or values. For
-- example, suppose that you have resources tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with all
-- resources that have either or both of these tag values associated with
-- them.
[$sel:tagValues:DescribeTags'] :: DescribeTags -> Maybe [Text]
-- | Create a value of DescribeTags 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:
--
-- DescribeTags, describeTags_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the marker parameter and retrying the command. If
-- the marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:maxRecords:DescribeTags', describeTags_maxRecords -
-- The maximum number or response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- DescribeTags, describeTags_resourceName - The Amazon
-- Resource Name (ARN) for which you want to describe the tag or tags.
-- For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
--
-- DescribeTags, describeTags_resourceType - The type of
-- resource with which you want to view tags. Valid resource types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
-- - Snapshot copy grant
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Specifying Policy Elements: Actions,
-- Effects, Resources, and Principals in the Amazon Redshift Cluster
-- Management Guide.
--
-- $sel:tagKeys:DescribeTags', describeTags_tagKeys - A tag
-- key or keys for which you want to return all matching resources that
-- are associated with the specified key or keys. For example, suppose
-- that you have resources tagged with keys called owner and
-- environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with all resources that
-- have either or both of these tag keys associated with them.
--
-- $sel:tagValues:DescribeTags', describeTags_tagValues - A
-- tag value or values for which you want to return all matching
-- resources that are associated with the specified value or values. For
-- example, suppose that you have resources tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with all
-- resources that have either or both of these tag values associated with
-- them.
newDescribeTags :: DescribeTags
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the marker parameter and retrying the
-- command. If the marker field is empty, all response records
-- have been retrieved for the request.
describeTags_marker :: Lens' DescribeTags (Maybe Text)
-- | The maximum number or response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeTags_maxRecords :: Lens' DescribeTags (Maybe Int)
-- | The Amazon Resource Name (ARN) for which you want to describe the tag
-- or tags. For example,
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
describeTags_resourceName :: Lens' DescribeTags (Maybe Text)
-- | The type of resource with which you want to view tags. Valid resource
-- types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
-- - Snapshot copy grant
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Specifying Policy Elements: Actions,
-- Effects, Resources, and Principals in the Amazon Redshift Cluster
-- Management Guide.
describeTags_resourceType :: Lens' DescribeTags (Maybe Text)
-- | A tag key or keys for which you want to return all matching resources
-- that are associated with the specified key or keys. For example,
-- suppose that you have resources tagged with keys called owner
-- and environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with all resources that
-- have either or both of these tag keys associated with them.
describeTags_tagKeys :: Lens' DescribeTags (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- resources that are associated with the specified value or values. For
-- example, suppose that you have resources tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with all
-- resources that have either or both of these tag values associated with
-- them.
describeTags_tagValues :: Lens' DescribeTags (Maybe [Text])
-- | See: newDescribeTagsResponse smart constructor.
data DescribeTagsResponse
DescribeTagsResponse' :: Maybe Text -> Maybe [TaggedResource] -> Int -> DescribeTagsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeTagsResponse'] :: DescribeTagsResponse -> Maybe Text
-- | A list of tags with their associated resources.
[$sel:taggedResources:DescribeTagsResponse'] :: DescribeTagsResponse -> Maybe [TaggedResource]
-- | The response's http status code.
[$sel:httpStatus:DescribeTagsResponse'] :: DescribeTagsResponse -> Int
-- | Create a value of DescribeTagsResponse 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:
--
-- DescribeTags, describeTagsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:taggedResources:DescribeTagsResponse',
-- describeTagsResponse_taggedResources - A list of tags with
-- their associated resources.
--
-- $sel:httpStatus:DescribeTagsResponse',
-- describeTagsResponse_httpStatus - The response's http status
-- code.
newDescribeTagsResponse :: Int -> DescribeTagsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeTagsResponse_marker :: Lens' DescribeTagsResponse (Maybe Text)
-- | A list of tags with their associated resources.
describeTagsResponse_taggedResources :: Lens' DescribeTagsResponse (Maybe [TaggedResource])
-- | The response's http status code.
describeTagsResponse_httpStatus :: Lens' DescribeTagsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeTags.DescribeTags
instance GHC.Show.Show Amazonka.Redshift.DescribeTags.DescribeTags
instance GHC.Read.Read Amazonka.Redshift.DescribeTags.DescribeTags
instance GHC.Classes.Eq Amazonka.Redshift.DescribeTags.DescribeTags
instance GHC.Generics.Generic Amazonka.Redshift.DescribeTags.DescribeTagsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeTags.DescribeTagsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeTags.DescribeTagsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeTags.DescribeTagsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeTags.DescribeTags
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeTags.DescribeTagsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeTags.DescribeTags
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeTags.DescribeTags
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeTags.DescribeTags
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeTags.DescribeTags
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeTags.DescribeTags
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeTags.DescribeTags
-- | Lists the status of one or more table restore requests made using the
-- RestoreTableFromClusterSnapshot API action. If you don't specify a
-- value for the TableRestoreRequestId parameter, then
-- DescribeTableRestoreStatus returns the status of all table
-- restore requests ordered by the date and time of the request in
-- ascending order. Otherwise DescribeTableRestoreStatus returns
-- the status of the table specified by TableRestoreRequestId.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeTableRestoreStatus
-- | See: newDescribeTableRestoreStatus smart constructor.
data DescribeTableRestoreStatus
DescribeTableRestoreStatus' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> DescribeTableRestoreStatus
-- | The Amazon Redshift cluster that the table is being restored to.
[$sel:clusterIdentifier:DescribeTableRestoreStatus'] :: DescribeTableRestoreStatus -> Maybe Text
-- | An optional pagination token provided by a previous
-- DescribeTableRestoreStatus request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
[$sel:marker:DescribeTableRestoreStatus'] :: DescribeTableRestoreStatus -> Maybe Text
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a
-- pagination token called a marker is included in the response so that
-- the remaining results can be retrieved.
[$sel:maxRecords:DescribeTableRestoreStatus'] :: DescribeTableRestoreStatus -> Maybe Int
-- | The identifier of the table restore request to return status for. If
-- you don't specify a TableRestoreRequestId value, then
-- DescribeTableRestoreStatus returns the status of all
-- in-progress table restore requests.
[$sel:tableRestoreRequestId:DescribeTableRestoreStatus'] :: DescribeTableRestoreStatus -> Maybe Text
-- | Create a value of DescribeTableRestoreStatus 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:
--
-- DescribeTableRestoreStatus,
-- describeTableRestoreStatus_clusterIdentifier - The Amazon
-- Redshift cluster that the table is being restored to.
--
-- DescribeTableRestoreStatus,
-- describeTableRestoreStatus_marker - An optional pagination
-- token provided by a previous DescribeTableRestoreStatus
-- request. If this parameter is specified, the response includes only
-- records beyond the marker, up to the value specified by the
-- MaxRecords parameter.
--
-- $sel:maxRecords:DescribeTableRestoreStatus',
-- describeTableRestoreStatus_maxRecords - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxRecords value, a pagination token called a
-- marker is included in the response so that the remaining results can
-- be retrieved.
--
-- DescribeTableRestoreStatus,
-- describeTableRestoreStatus_tableRestoreRequestId - The
-- identifier of the table restore request to return status for. If you
-- don't specify a TableRestoreRequestId value, then
-- DescribeTableRestoreStatus returns the status of all
-- in-progress table restore requests.
newDescribeTableRestoreStatus :: DescribeTableRestoreStatus
-- | The Amazon Redshift cluster that the table is being restored to.
describeTableRestoreStatus_clusterIdentifier :: Lens' DescribeTableRestoreStatus (Maybe Text)
-- | An optional pagination token provided by a previous
-- DescribeTableRestoreStatus request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
describeTableRestoreStatus_marker :: Lens' DescribeTableRestoreStatus (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a
-- pagination token called a marker is included in the response so that
-- the remaining results can be retrieved.
describeTableRestoreStatus_maxRecords :: Lens' DescribeTableRestoreStatus (Maybe Int)
-- | The identifier of the table restore request to return status for. If
-- you don't specify a TableRestoreRequestId value, then
-- DescribeTableRestoreStatus returns the status of all
-- in-progress table restore requests.
describeTableRestoreStatus_tableRestoreRequestId :: Lens' DescribeTableRestoreStatus (Maybe Text)
-- | See: newDescribeTableRestoreStatusResponse smart
-- constructor.
data DescribeTableRestoreStatusResponse
DescribeTableRestoreStatusResponse' :: Maybe Text -> Maybe [TableRestoreStatus] -> Int -> DescribeTableRestoreStatusResponse
-- | A pagination token that can be used in a subsequent
-- DescribeTableRestoreStatus request.
[$sel:marker:DescribeTableRestoreStatusResponse'] :: DescribeTableRestoreStatusResponse -> Maybe Text
-- | A list of status details for one or more table restore requests.
[$sel:tableRestoreStatusDetails:DescribeTableRestoreStatusResponse'] :: DescribeTableRestoreStatusResponse -> Maybe [TableRestoreStatus]
-- | The response's http status code.
[$sel:httpStatus:DescribeTableRestoreStatusResponse'] :: DescribeTableRestoreStatusResponse -> Int
-- | Create a value of DescribeTableRestoreStatusResponse 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:
--
-- DescribeTableRestoreStatus,
-- describeTableRestoreStatusResponse_marker - A pagination token
-- that can be used in a subsequent DescribeTableRestoreStatus request.
--
--
-- $sel:tableRestoreStatusDetails:DescribeTableRestoreStatusResponse',
-- describeTableRestoreStatusResponse_tableRestoreStatusDetails -
-- A list of status details for one or more table restore requests.
--
-- $sel:httpStatus:DescribeTableRestoreStatusResponse',
-- describeTableRestoreStatusResponse_httpStatus - The response's
-- http status code.
newDescribeTableRestoreStatusResponse :: Int -> DescribeTableRestoreStatusResponse
-- | A pagination token that can be used in a subsequent
-- DescribeTableRestoreStatus request.
describeTableRestoreStatusResponse_marker :: Lens' DescribeTableRestoreStatusResponse (Maybe Text)
-- | A list of status details for one or more table restore requests.
describeTableRestoreStatusResponse_tableRestoreStatusDetails :: Lens' DescribeTableRestoreStatusResponse (Maybe [TableRestoreStatus])
-- | The response's http status code.
describeTableRestoreStatusResponse_httpStatus :: Lens' DescribeTableRestoreStatusResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance GHC.Show.Show Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance GHC.Read.Read Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance GHC.Classes.Eq Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance GHC.Generics.Generic Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatusResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeTableRestoreStatus.DescribeTableRestoreStatus
-- | Returns account level backups storage size and provisional storage.
module Amazonka.Redshift.DescribeStorage
-- | See: newDescribeStorage smart constructor.
data DescribeStorage
DescribeStorage' :: DescribeStorage
-- | Create a value of DescribeStorage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDescribeStorage :: DescribeStorage
-- | See: newDescribeStorageResponse smart constructor.
data DescribeStorageResponse
DescribeStorageResponse' :: Maybe Double -> Maybe Double -> Int -> DescribeStorageResponse
-- | The total amount of storage currently used for snapshots.
[$sel:totalBackupSizeInMegaBytes:DescribeStorageResponse'] :: DescribeStorageResponse -> Maybe Double
-- | The total amount of storage currently provisioned.
[$sel:totalProvisionedStorageInMegaBytes:DescribeStorageResponse'] :: DescribeStorageResponse -> Maybe Double
-- | The response's http status code.
[$sel:httpStatus:DescribeStorageResponse'] :: DescribeStorageResponse -> Int
-- | Create a value of DescribeStorageResponse 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:
--
-- DescribeStorageResponse,
-- describeStorageResponse_totalBackupSizeInMegaBytes - The total
-- amount of storage currently used for snapshots.
--
--
-- $sel:totalProvisionedStorageInMegaBytes:DescribeStorageResponse',
-- describeStorageResponse_totalProvisionedStorageInMegaBytes -
-- The total amount of storage currently provisioned.
--
-- $sel:httpStatus:DescribeStorageResponse',
-- describeStorageResponse_httpStatus - The response's http status
-- code.
newDescribeStorageResponse :: Int -> DescribeStorageResponse
-- | The total amount of storage currently used for snapshots.
describeStorageResponse_totalBackupSizeInMegaBytes :: Lens' DescribeStorageResponse (Maybe Double)
-- | The total amount of storage currently provisioned.
describeStorageResponse_totalProvisionedStorageInMegaBytes :: Lens' DescribeStorageResponse (Maybe Double)
-- | The response's http status code.
describeStorageResponse_httpStatus :: Lens' DescribeStorageResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeStorage.DescribeStorage
instance GHC.Show.Show Amazonka.Redshift.DescribeStorage.DescribeStorage
instance GHC.Read.Read Amazonka.Redshift.DescribeStorage.DescribeStorage
instance GHC.Classes.Eq Amazonka.Redshift.DescribeStorage.DescribeStorage
instance GHC.Generics.Generic Amazonka.Redshift.DescribeStorage.DescribeStorageResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeStorage.DescribeStorageResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeStorage.DescribeStorageResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeStorage.DescribeStorageResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeStorage.DescribeStorage
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeStorage.DescribeStorageResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeStorage.DescribeStorage
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeStorage.DescribeStorage
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeStorage.DescribeStorage
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeStorage.DescribeStorage
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeStorage.DescribeStorage
-- | Returns a list of snapshot schedules.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeSnapshotSchedules
-- | See: newDescribeSnapshotSchedules smart constructor.
data DescribeSnapshotSchedules
DescribeSnapshotSchedules' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> DescribeSnapshotSchedules
-- | The unique identifier for the cluster whose snapshot schedules you
-- want to view.
[$sel:clusterIdentifier:DescribeSnapshotSchedules'] :: DescribeSnapshotSchedules -> Maybe Text
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the marker parameter and retrying the
-- command. If the marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeSnapshotSchedules'] :: DescribeSnapshotSchedules -> Maybe Text
-- | The maximum number or response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
[$sel:maxRecords:DescribeSnapshotSchedules'] :: DescribeSnapshotSchedules -> Maybe Int
-- | A unique identifier for a snapshot schedule.
[$sel:scheduleIdentifier:DescribeSnapshotSchedules'] :: DescribeSnapshotSchedules -> Maybe Text
-- | The key value for a snapshot schedule tag.
[$sel:tagKeys:DescribeSnapshotSchedules'] :: DescribeSnapshotSchedules -> Maybe [Text]
-- | The value corresponding to the key of the snapshot schedule tag.
[$sel:tagValues:DescribeSnapshotSchedules'] :: DescribeSnapshotSchedules -> Maybe [Text]
-- | Create a value of DescribeSnapshotSchedules 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:
--
-- DescribeSnapshotSchedules,
-- describeSnapshotSchedules_clusterIdentifier - The unique
-- identifier for the cluster whose snapshot schedules you want to view.
--
-- DescribeSnapshotSchedules,
-- describeSnapshotSchedules_marker - A value that indicates the
-- starting point for the next set of response records in a subsequent
-- request. If a value is returned in a response, you can retrieve the
-- next set of records by providing this returned marker value in the
-- marker parameter and retrying the command. If the
-- marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:maxRecords:DescribeSnapshotSchedules',
-- describeSnapshotSchedules_maxRecords - The maximum number or
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- DescribeSnapshotSchedules,
-- describeSnapshotSchedules_scheduleIdentifier - A unique
-- identifier for a snapshot schedule.
--
-- $sel:tagKeys:DescribeSnapshotSchedules',
-- describeSnapshotSchedules_tagKeys - The key value for a
-- snapshot schedule tag.
--
-- $sel:tagValues:DescribeSnapshotSchedules',
-- describeSnapshotSchedules_tagValues - The value corresponding
-- to the key of the snapshot schedule tag.
newDescribeSnapshotSchedules :: DescribeSnapshotSchedules
-- | The unique identifier for the cluster whose snapshot schedules you
-- want to view.
describeSnapshotSchedules_clusterIdentifier :: Lens' DescribeSnapshotSchedules (Maybe Text)
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the marker parameter and retrying the
-- command. If the marker field is empty, all response records
-- have been retrieved for the request.
describeSnapshotSchedules_marker :: Lens' DescribeSnapshotSchedules (Maybe Text)
-- | The maximum number or response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeSnapshotSchedules_maxRecords :: Lens' DescribeSnapshotSchedules (Maybe Int)
-- | A unique identifier for a snapshot schedule.
describeSnapshotSchedules_scheduleIdentifier :: Lens' DescribeSnapshotSchedules (Maybe Text)
-- | The key value for a snapshot schedule tag.
describeSnapshotSchedules_tagKeys :: Lens' DescribeSnapshotSchedules (Maybe [Text])
-- | The value corresponding to the key of the snapshot schedule tag.
describeSnapshotSchedules_tagValues :: Lens' DescribeSnapshotSchedules (Maybe [Text])
-- | See: newDescribeSnapshotSchedulesResponse smart
-- constructor.
data DescribeSnapshotSchedulesResponse
DescribeSnapshotSchedulesResponse' :: Maybe Text -> Maybe [SnapshotSchedule] -> Int -> DescribeSnapshotSchedulesResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the marker parameter and retrying the
-- command. If the marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeSnapshotSchedulesResponse'] :: DescribeSnapshotSchedulesResponse -> Maybe Text
-- | A list of SnapshotSchedules.
[$sel:snapshotSchedules:DescribeSnapshotSchedulesResponse'] :: DescribeSnapshotSchedulesResponse -> Maybe [SnapshotSchedule]
-- | The response's http status code.
[$sel:httpStatus:DescribeSnapshotSchedulesResponse'] :: DescribeSnapshotSchedulesResponse -> Int
-- | Create a value of DescribeSnapshotSchedulesResponse 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:
--
-- DescribeSnapshotSchedules,
-- describeSnapshotSchedulesResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the marker parameter and retrying the command. If
-- the marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:snapshotSchedules:DescribeSnapshotSchedulesResponse',
-- describeSnapshotSchedulesResponse_snapshotSchedules - A list of
-- SnapshotSchedules.
--
-- $sel:httpStatus:DescribeSnapshotSchedulesResponse',
-- describeSnapshotSchedulesResponse_httpStatus - The response's
-- http status code.
newDescribeSnapshotSchedulesResponse :: Int -> DescribeSnapshotSchedulesResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the marker parameter and retrying the
-- command. If the marker field is empty, all response records
-- have been retrieved for the request.
describeSnapshotSchedulesResponse_marker :: Lens' DescribeSnapshotSchedulesResponse (Maybe Text)
-- | A list of SnapshotSchedules.
describeSnapshotSchedulesResponse_snapshotSchedules :: Lens' DescribeSnapshotSchedulesResponse (Maybe [SnapshotSchedule])
-- | The response's http status code.
describeSnapshotSchedulesResponse_httpStatus :: Lens' DescribeSnapshotSchedulesResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
instance GHC.Show.Show Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
instance GHC.Read.Read Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
instance GHC.Classes.Eq Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
instance GHC.Generics.Generic Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedulesResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedulesResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedulesResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedulesResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedulesResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeSnapshotSchedules.DescribeSnapshotSchedules
-- | Returns a list of snapshot copy grants owned by the Amazon Web
-- Services account in the destination region.
--
-- For more information about managing snapshot copy grants, go to
-- Amazon Redshift Database Encryption in the Amazon Redshift
-- Cluster Management Guide.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeSnapshotCopyGrants
-- | The result of the DescribeSnapshotCopyGrants action.
--
-- See: newDescribeSnapshotCopyGrants smart constructor.
data DescribeSnapshotCopyGrants
DescribeSnapshotCopyGrants' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> DescribeSnapshotCopyGrants
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeSnapshotCopyGrant request exceed the value specified
-- in MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
[$sel:marker:DescribeSnapshotCopyGrants'] :: DescribeSnapshotCopyGrants -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeSnapshotCopyGrants'] :: DescribeSnapshotCopyGrants -> Maybe Int
-- | The name of the snapshot copy grant.
[$sel:snapshotCopyGrantName:DescribeSnapshotCopyGrants'] :: DescribeSnapshotCopyGrants -> Maybe Text
-- | A tag key or keys for which you want to return all matching resources
-- that are associated with the specified key or keys. For example,
-- suppose that you have resources tagged with keys called owner
-- and environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with all resources that
-- have either or both of these tag keys associated with them.
[$sel:tagKeys:DescribeSnapshotCopyGrants'] :: DescribeSnapshotCopyGrants -> Maybe [Text]
-- | A tag value or values for which you want to return all matching
-- resources that are associated with the specified value or values. For
-- example, suppose that you have resources tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with all
-- resources that have either or both of these tag values associated with
-- them.
[$sel:tagValues:DescribeSnapshotCopyGrants'] :: DescribeSnapshotCopyGrants -> Maybe [Text]
-- | Create a value of DescribeSnapshotCopyGrants 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:
--
-- DescribeSnapshotCopyGrants,
-- describeSnapshotCopyGrants_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeSnapshotCopyGrant request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- Constraints: You can specify either the SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
--
-- $sel:maxRecords:DescribeSnapshotCopyGrants',
-- describeSnapshotCopyGrants_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeSnapshotCopyGrants,
-- describeSnapshotCopyGrants_snapshotCopyGrantName - The name of
-- the snapshot copy grant.
--
-- $sel:tagKeys:DescribeSnapshotCopyGrants',
-- describeSnapshotCopyGrants_tagKeys - A tag key or keys for
-- which you want to return all matching resources that are associated
-- with the specified key or keys. For example, suppose that you have
-- resources tagged with keys called owner and
-- environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with all resources that
-- have either or both of these tag keys associated with them.
--
-- $sel:tagValues:DescribeSnapshotCopyGrants',
-- describeSnapshotCopyGrants_tagValues - A tag value or values
-- for which you want to return all matching resources that are
-- associated with the specified value or values. For example, suppose
-- that you have resources tagged with values called admin and
-- test. If you specify both of these tag values in the request,
-- Amazon Redshift returns a response with all resources that have either
-- or both of these tag values associated with them.
newDescribeSnapshotCopyGrants :: DescribeSnapshotCopyGrants
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeSnapshotCopyGrant request exceed the value specified
-- in MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
describeSnapshotCopyGrants_marker :: Lens' DescribeSnapshotCopyGrants (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeSnapshotCopyGrants_maxRecords :: Lens' DescribeSnapshotCopyGrants (Maybe Int)
-- | The name of the snapshot copy grant.
describeSnapshotCopyGrants_snapshotCopyGrantName :: Lens' DescribeSnapshotCopyGrants (Maybe Text)
-- | A tag key or keys for which you want to return all matching resources
-- that are associated with the specified key or keys. For example,
-- suppose that you have resources tagged with keys called owner
-- and environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with all resources that
-- have either or both of these tag keys associated with them.
describeSnapshotCopyGrants_tagKeys :: Lens' DescribeSnapshotCopyGrants (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- resources that are associated with the specified value or values. For
-- example, suppose that you have resources tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with all
-- resources that have either or both of these tag values associated with
-- them.
describeSnapshotCopyGrants_tagValues :: Lens' DescribeSnapshotCopyGrants (Maybe [Text])
-- | See: newDescribeSnapshotCopyGrantsResponse smart
-- constructor.
data DescribeSnapshotCopyGrantsResponse
DescribeSnapshotCopyGrantsResponse' :: Maybe Text -> Maybe [SnapshotCopyGrant] -> Int -> DescribeSnapshotCopyGrantsResponse
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeSnapshotCopyGrant request exceed the value specified
-- in MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
[$sel:marker:DescribeSnapshotCopyGrantsResponse'] :: DescribeSnapshotCopyGrantsResponse -> Maybe Text
-- | The list of SnapshotCopyGrant objects.
[$sel:snapshotCopyGrants:DescribeSnapshotCopyGrantsResponse'] :: DescribeSnapshotCopyGrantsResponse -> Maybe [SnapshotCopyGrant]
-- | The response's http status code.
[$sel:httpStatus:DescribeSnapshotCopyGrantsResponse'] :: DescribeSnapshotCopyGrantsResponse -> Int
-- | Create a value of DescribeSnapshotCopyGrantsResponse 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:
--
-- DescribeSnapshotCopyGrants,
-- describeSnapshotCopyGrantsResponse_marker - An optional
-- parameter that specifies the starting point to return a set of
-- response records. When the results of a
-- DescribeSnapshotCopyGrant request exceed the value specified
-- in MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
--
-- $sel:snapshotCopyGrants:DescribeSnapshotCopyGrantsResponse',
-- describeSnapshotCopyGrantsResponse_snapshotCopyGrants - The
-- list of SnapshotCopyGrant objects.
--
-- $sel:httpStatus:DescribeSnapshotCopyGrantsResponse',
-- describeSnapshotCopyGrantsResponse_httpStatus - The response's
-- http status code.
newDescribeSnapshotCopyGrantsResponse :: Int -> DescribeSnapshotCopyGrantsResponse
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeSnapshotCopyGrant request exceed the value specified
-- in MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
describeSnapshotCopyGrantsResponse_marker :: Lens' DescribeSnapshotCopyGrantsResponse (Maybe Text)
-- | The list of SnapshotCopyGrant objects.
describeSnapshotCopyGrantsResponse_snapshotCopyGrants :: Lens' DescribeSnapshotCopyGrantsResponse (Maybe [SnapshotCopyGrant])
-- | The response's http status code.
describeSnapshotCopyGrantsResponse_httpStatus :: Lens' DescribeSnapshotCopyGrantsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance GHC.Show.Show Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance GHC.Read.Read Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance GHC.Classes.Eq Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance GHC.Generics.Generic Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrantsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeSnapshotCopyGrants.DescribeSnapshotCopyGrants
-- | Describes properties of scheduled actions.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeScheduledActions
-- | See: newDescribeScheduledActions smart constructor.
data DescribeScheduledActions
DescribeScheduledActions' :: Maybe Bool -> Maybe ISO8601 -> Maybe [ScheduledActionFilter] -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionTypeValues -> DescribeScheduledActions
-- | If true, retrieve only active scheduled actions. If false, retrieve
-- only disabled scheduled actions.
[$sel:active:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe Bool
-- | The end time in UTC of the scheduled action to retrieve. Only active
-- scheduled actions that have invocations before this time are
-- retrieved.
[$sel:endTime:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe ISO8601
-- | List of scheduled action filters.
[$sel:filters:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe [ScheduledActionFilter]
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeScheduledActions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe Int
-- | The name of the scheduled action to retrieve.
[$sel:scheduledActionName:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe Text
-- | The start time in UTC of the scheduled actions to retrieve. Only
-- active scheduled actions that have invocations after this time are
-- retrieved.
[$sel:startTime:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe ISO8601
-- | The type of the scheduled actions to retrieve.
[$sel:targetActionType:DescribeScheduledActions'] :: DescribeScheduledActions -> Maybe ScheduledActionTypeValues
-- | Create a value of DescribeScheduledActions 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:active:DescribeScheduledActions',
-- describeScheduledActions_active - If true, retrieve only active
-- scheduled actions. If false, retrieve only disabled scheduled actions.
--
-- DescribeScheduledActions,
-- describeScheduledActions_endTime - The end time in UTC of the
-- scheduled action to retrieve. Only active scheduled actions that have
-- invocations before this time are retrieved.
--
-- $sel:filters:DescribeScheduledActions',
-- describeScheduledActions_filters - List of scheduled action
-- filters.
--
-- DescribeScheduledActions,
-- describeScheduledActions_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeScheduledActions request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeScheduledActions',
-- describeScheduledActions_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeScheduledActions,
-- describeScheduledActions_scheduledActionName - The name of the
-- scheduled action to retrieve.
--
-- DescribeScheduledActions,
-- describeScheduledActions_startTime - The start time in UTC of
-- the scheduled actions to retrieve. Only active scheduled actions that
-- have invocations after this time are retrieved.
--
-- $sel:targetActionType:DescribeScheduledActions',
-- describeScheduledActions_targetActionType - The type of the
-- scheduled actions to retrieve.
newDescribeScheduledActions :: DescribeScheduledActions
-- | If true, retrieve only active scheduled actions. If false, retrieve
-- only disabled scheduled actions.
describeScheduledActions_active :: Lens' DescribeScheduledActions (Maybe Bool)
-- | The end time in UTC of the scheduled action to retrieve. Only active
-- scheduled actions that have invocations before this time are
-- retrieved.
describeScheduledActions_endTime :: Lens' DescribeScheduledActions (Maybe UTCTime)
-- | List of scheduled action filters.
describeScheduledActions_filters :: Lens' DescribeScheduledActions (Maybe [ScheduledActionFilter])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeScheduledActions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeScheduledActions_marker :: Lens' DescribeScheduledActions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeScheduledActions_maxRecords :: Lens' DescribeScheduledActions (Maybe Int)
-- | The name of the scheduled action to retrieve.
describeScheduledActions_scheduledActionName :: Lens' DescribeScheduledActions (Maybe Text)
-- | The start time in UTC of the scheduled actions to retrieve. Only
-- active scheduled actions that have invocations after this time are
-- retrieved.
describeScheduledActions_startTime :: Lens' DescribeScheduledActions (Maybe UTCTime)
-- | The type of the scheduled actions to retrieve.
describeScheduledActions_targetActionType :: Lens' DescribeScheduledActions (Maybe ScheduledActionTypeValues)
-- | See: newDescribeScheduledActionsResponse smart
-- constructor.
data DescribeScheduledActionsResponse
DescribeScheduledActionsResponse' :: Maybe Text -> Maybe [ScheduledAction] -> Int -> DescribeScheduledActionsResponse
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeScheduledActions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeScheduledActionsResponse'] :: DescribeScheduledActionsResponse -> Maybe Text
-- | List of retrieved scheduled actions.
[$sel:scheduledActions:DescribeScheduledActionsResponse'] :: DescribeScheduledActionsResponse -> Maybe [ScheduledAction]
-- | The response's http status code.
[$sel:httpStatus:DescribeScheduledActionsResponse'] :: DescribeScheduledActionsResponse -> Int
-- | Create a value of DescribeScheduledActionsResponse 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:
--
-- DescribeScheduledActions,
-- describeScheduledActionsResponse_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeScheduledActions request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- $sel:scheduledActions:DescribeScheduledActionsResponse',
-- describeScheduledActionsResponse_scheduledActions - List of
-- retrieved scheduled actions.
--
-- $sel:httpStatus:DescribeScheduledActionsResponse',
-- describeScheduledActionsResponse_httpStatus - The response's
-- http status code.
newDescribeScheduledActionsResponse :: Int -> DescribeScheduledActionsResponse
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeScheduledActions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeScheduledActionsResponse_marker :: Lens' DescribeScheduledActionsResponse (Maybe Text)
-- | List of retrieved scheduled actions.
describeScheduledActionsResponse_scheduledActions :: Lens' DescribeScheduledActionsResponse (Maybe [ScheduledAction])
-- | The response's http status code.
describeScheduledActionsResponse_httpStatus :: Lens' DescribeScheduledActionsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
instance GHC.Show.Show Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
instance GHC.Read.Read Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
instance GHC.Classes.Eq Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
instance GHC.Generics.Generic Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActionsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActionsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActionsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActionsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActionsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeScheduledActions.DescribeScheduledActions
-- | Returns information about the last resize operation for the specified
-- cluster. If no resize operation has ever been initiated for the
-- specified cluster, a HTTP 404 error is returned. If a resize
-- operation was initiated and completed, the status of the resize
-- remains as SUCCEEDED until the next resize.
--
-- A resize operation can be requested using ModifyCluster and specifying
-- a different number or type of nodes for the cluster.
module Amazonka.Redshift.DescribeResize
-- | See: newDescribeResize smart constructor.
data DescribeResize
DescribeResize' :: Text -> DescribeResize
-- | The unique identifier of a cluster whose resize progress you are
-- requesting. This parameter is case-sensitive.
--
-- By default, resize operations for all clusters defined for an Amazon
-- Web Services account are returned.
[$sel:clusterIdentifier:DescribeResize'] :: DescribeResize -> Text
-- | Create a value of DescribeResize 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:
--
-- DescribeResize, describeResize_clusterIdentifier - The
-- unique identifier of a cluster whose resize progress you are
-- requesting. This parameter is case-sensitive.
--
-- By default, resize operations for all clusters defined for an Amazon
-- Web Services account are returned.
newDescribeResize :: Text -> DescribeResize
-- | The unique identifier of a cluster whose resize progress you are
-- requesting. This parameter is case-sensitive.
--
-- By default, resize operations for all clusters defined for an Amazon
-- Web Services account are returned.
describeResize_clusterIdentifier :: Lens' DescribeResize Text
-- | Describes the result of a cluster resize operation.
--
-- See: newResizeProgressMessage smart constructor.
data ResizeProgressMessage
ResizeProgressMessage' :: Maybe Double -> Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Integer -> ResizeProgressMessage
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
[$sel:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Double
-- | The percent of data transferred from source cluster to target cluster.
[$sel:dataTransferProgressPercent:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Double
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
[$sel:elapsedTimeInSeconds:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
[$sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
[$sel:importTablesCompleted:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
[$sel:importTablesInProgress:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
[$sel:importTablesNotStarted:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | An optional string to provide additional details about the resize
-- action.
[$sel:message:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
[$sel:progressInMegaBytes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
[$sel:resizeType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
[$sel:status:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
[$sel:targetClusterType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
[$sel:targetEncryptionType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The node type that the cluster will have after the resize operation is
-- complete.
[$sel:targetNodeType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
[$sel:targetNumberOfNodes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Int
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
[$sel:totalResizeDataInMegaBytes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | Create a value of ResizeProgressMessage 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:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage',
-- resizeProgressMessage_avgResizeRateInMegaBytesPerSecond - The
-- average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
--
-- $sel:dataTransferProgressPercent:ResizeProgressMessage',
-- resizeProgressMessage_dataTransferProgressPercent - The percent
-- of data transferred from source cluster to target cluster.
--
-- $sel:elapsedTimeInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_elapsedTimeInSeconds - The amount of
-- seconds that have elapsed since the resize operation began. After the
-- resize operation completes, this value shows the total actual time, in
-- seconds, for the resize operation.
--
-- $sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_estimatedTimeToCompletionInSeconds - The
-- estimated time remaining, in seconds, until the resize operation is
-- complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
--
-- $sel:importTablesCompleted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesCompleted - The names of
-- tables that have been completely imported .
--
-- Valid Values: List of table names.
--
-- $sel:importTablesInProgress:ResizeProgressMessage',
-- resizeProgressMessage_importTablesInProgress - The names of
-- tables that are being currently imported.
--
-- Valid Values: List of table names.
--
-- $sel:importTablesNotStarted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesNotStarted - The names of
-- tables that have not been yet imported.
--
-- Valid Values: List of table names
--
-- $sel:message:ResizeProgressMessage',
-- resizeProgressMessage_message - An optional string to provide
-- additional details about the resize action.
--
-- $sel:progressInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_progressInMegaBytes - While the resize
-- operation is in progress, this value shows the current amount of data,
-- in megabytes, that has been processed so far. When the resize
-- operation is complete, this value shows the total amount of data, in
-- megabytes, on the cluster, which may be more or less than
-- TotalResizeDataInMegaBytes (the estimated total amount of data before
-- resize).
--
-- $sel:resizeType:ResizeProgressMessage',
-- resizeProgressMessage_resizeType - An enum with possible values
-- of ClassicResize and ElasticResize. These values
-- describe the type of resize operation being performed.
--
-- $sel:status:ResizeProgressMessage',
-- resizeProgressMessage_status - The status of the resize
-- operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
--
-- $sel:targetClusterType:ResizeProgressMessage',
-- resizeProgressMessage_targetClusterType - The cluster type
-- after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
--
-- $sel:targetEncryptionType:ResizeProgressMessage',
-- resizeProgressMessage_targetEncryptionType - The type of
-- encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
--
-- $sel:targetNodeType:ResizeProgressMessage',
-- resizeProgressMessage_targetNodeType - The node type that the
-- cluster will have after the resize operation is complete.
--
-- $sel:targetNumberOfNodes:ResizeProgressMessage',
-- resizeProgressMessage_targetNumberOfNodes - The number of nodes
-- that the cluster will have after the resize operation is complete.
--
-- $sel:totalResizeDataInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_totalResizeDataInMegaBytes - The
-- estimated total amount of data, in megabytes, on the cluster before
-- the resize operation began.
newResizeProgressMessage :: ResizeProgressMessage
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
resizeProgressMessage_avgResizeRateInMegaBytesPerSecond :: Lens' ResizeProgressMessage (Maybe Double)
-- | The percent of data transferred from source cluster to target cluster.
resizeProgressMessage_dataTransferProgressPercent :: Lens' ResizeProgressMessage (Maybe Double)
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
resizeProgressMessage_elapsedTimeInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
resizeProgressMessage_estimatedTimeToCompletionInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesCompleted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesInProgress :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
resizeProgressMessage_importTablesNotStarted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | An optional string to provide additional details about the resize
-- action.
resizeProgressMessage_message :: Lens' ResizeProgressMessage (Maybe Text)
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
resizeProgressMessage_progressInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
resizeProgressMessage_resizeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
resizeProgressMessage_status :: Lens' ResizeProgressMessage (Maybe Text)
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
resizeProgressMessage_targetClusterType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
resizeProgressMessage_targetEncryptionType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The node type that the cluster will have after the resize operation is
-- complete.
resizeProgressMessage_targetNodeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
resizeProgressMessage_targetNumberOfNodes :: Lens' ResizeProgressMessage (Maybe Int)
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
resizeProgressMessage_totalResizeDataInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
instance GHC.Generics.Generic Amazonka.Redshift.DescribeResize.DescribeResize
instance GHC.Show.Show Amazonka.Redshift.DescribeResize.DescribeResize
instance GHC.Read.Read Amazonka.Redshift.DescribeResize.DescribeResize
instance GHC.Classes.Eq Amazonka.Redshift.DescribeResize.DescribeResize
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeResize.DescribeResize
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeResize.DescribeResize
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeResize.DescribeResize
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeResize.DescribeResize
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeResize.DescribeResize
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeResize.DescribeResize
-- | Returns the descriptions of the reserved nodes.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeReservedNodes
-- | See: newDescribeReservedNodes smart constructor.
data DescribeReservedNodes
DescribeReservedNodes' :: Maybe Text -> Maybe Int -> Maybe Text -> DescribeReservedNodes
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeReservedNodes
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
[$sel:marker:DescribeReservedNodes'] :: DescribeReservedNodes -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeReservedNodes'] :: DescribeReservedNodes -> Maybe Int
-- | Identifier for the node reservation.
[$sel:reservedNodeId:DescribeReservedNodes'] :: DescribeReservedNodes -> Maybe Text
-- | Create a value of DescribeReservedNodes 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:
--
-- DescribeReservedNodes, describeReservedNodes_marker - An
-- optional parameter that specifies the starting point to return a set
-- of response records. When the results of a DescribeReservedNodes
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- $sel:maxRecords:DescribeReservedNodes',
-- describeReservedNodes_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeReservedNodes,
-- describeReservedNodes_reservedNodeId - Identifier for the node
-- reservation.
newDescribeReservedNodes :: DescribeReservedNodes
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeReservedNodes
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeReservedNodes_marker :: Lens' DescribeReservedNodes (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeReservedNodes_maxRecords :: Lens' DescribeReservedNodes (Maybe Int)
-- | Identifier for the node reservation.
describeReservedNodes_reservedNodeId :: Lens' DescribeReservedNodes (Maybe Text)
-- | See: newDescribeReservedNodesResponse smart constructor.
data DescribeReservedNodesResponse
DescribeReservedNodesResponse' :: Maybe Text -> Maybe [ReservedNode] -> Int -> DescribeReservedNodesResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeReservedNodesResponse'] :: DescribeReservedNodesResponse -> Maybe Text
-- | The list of ReservedNode objects.
[$sel:reservedNodes:DescribeReservedNodesResponse'] :: DescribeReservedNodesResponse -> Maybe [ReservedNode]
-- | The response's http status code.
[$sel:httpStatus:DescribeReservedNodesResponse'] :: DescribeReservedNodesResponse -> Int
-- | Create a value of DescribeReservedNodesResponse 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:
--
-- DescribeReservedNodes,
-- describeReservedNodesResponse_marker - A value that indicates
-- the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:reservedNodes:DescribeReservedNodesResponse',
-- describeReservedNodesResponse_reservedNodes - The list of
-- ReservedNode objects.
--
-- $sel:httpStatus:DescribeReservedNodesResponse',
-- describeReservedNodesResponse_httpStatus - The response's http
-- status code.
newDescribeReservedNodesResponse :: Int -> DescribeReservedNodesResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeReservedNodesResponse_marker :: Lens' DescribeReservedNodesResponse (Maybe Text)
-- | The list of ReservedNode objects.
describeReservedNodesResponse_reservedNodes :: Lens' DescribeReservedNodesResponse (Maybe [ReservedNode])
-- | The response's http status code.
describeReservedNodesResponse_httpStatus :: Lens' DescribeReservedNodesResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Show.Show Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Read.Read Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Classes.Eq Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Generics.Generic Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodesResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeReservedNodes.DescribeReservedNodes
-- | Returns a list of the available reserved node offerings by Amazon
-- Redshift with their descriptions including the node type, the fixed
-- and recurring costs of reserving the node and duration the node will
-- be reserved for you. These descriptions help you determine which
-- reserve node offering you want to purchase. You then use the unique
-- offering ID in you call to PurchaseReservedNodeOffering to reserve one
-- or more nodes for your Amazon Redshift cluster.
--
-- For more information about reserved node offerings, go to
-- Purchasing Reserved Nodes in the Amazon Redshift Cluster
-- Management Guide.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeReservedNodeOfferings
-- | See: newDescribeReservedNodeOfferings smart constructor.
data DescribeReservedNodeOfferings
DescribeReservedNodeOfferings' :: Maybe Text -> Maybe Int -> Maybe Text -> DescribeReservedNodeOfferings
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeReservedNodeOfferings request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeReservedNodeOfferings'] :: DescribeReservedNodeOfferings -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeReservedNodeOfferings'] :: DescribeReservedNodeOfferings -> Maybe Int
-- | The unique identifier for the offering.
[$sel:reservedNodeOfferingId:DescribeReservedNodeOfferings'] :: DescribeReservedNodeOfferings -> Maybe Text
-- | Create a value of DescribeReservedNodeOfferings 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:
--
-- DescribeReservedNodeOfferings,
-- describeReservedNodeOfferings_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeReservedNodeOfferings request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeReservedNodeOfferings',
-- describeReservedNodeOfferings_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeReservedNodeOfferings,
-- describeReservedNodeOfferings_reservedNodeOfferingId - The
-- unique identifier for the offering.
newDescribeReservedNodeOfferings :: DescribeReservedNodeOfferings
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeReservedNodeOfferings request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeReservedNodeOfferings_marker :: Lens' DescribeReservedNodeOfferings (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeReservedNodeOfferings_maxRecords :: Lens' DescribeReservedNodeOfferings (Maybe Int)
-- | The unique identifier for the offering.
describeReservedNodeOfferings_reservedNodeOfferingId :: Lens' DescribeReservedNodeOfferings (Maybe Text)
-- | See: newDescribeReservedNodeOfferingsResponse smart
-- constructor.
data DescribeReservedNodeOfferingsResponse
DescribeReservedNodeOfferingsResponse' :: Maybe Text -> Maybe [ReservedNodeOffering] -> Int -> DescribeReservedNodeOfferingsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeReservedNodeOfferingsResponse'] :: DescribeReservedNodeOfferingsResponse -> Maybe Text
-- | A list of ReservedNodeOffering objects.
[$sel:reservedNodeOfferings:DescribeReservedNodeOfferingsResponse'] :: DescribeReservedNodeOfferingsResponse -> Maybe [ReservedNodeOffering]
-- | The response's http status code.
[$sel:httpStatus:DescribeReservedNodeOfferingsResponse'] :: DescribeReservedNodeOfferingsResponse -> Int
-- | Create a value of DescribeReservedNodeOfferingsResponse 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:
--
-- DescribeReservedNodeOfferings,
-- describeReservedNodeOfferingsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
--
-- $sel:reservedNodeOfferings:DescribeReservedNodeOfferingsResponse',
-- describeReservedNodeOfferingsResponse_reservedNodeOfferings - A
-- list of ReservedNodeOffering objects.
--
-- $sel:httpStatus:DescribeReservedNodeOfferingsResponse',
-- describeReservedNodeOfferingsResponse_httpStatus - The
-- response's http status code.
newDescribeReservedNodeOfferingsResponse :: Int -> DescribeReservedNodeOfferingsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeReservedNodeOfferingsResponse_marker :: Lens' DescribeReservedNodeOfferingsResponse (Maybe Text)
-- | A list of ReservedNodeOffering objects.
describeReservedNodeOfferingsResponse_reservedNodeOfferings :: Lens' DescribeReservedNodeOfferingsResponse (Maybe [ReservedNodeOffering])
-- | The response's http status code.
describeReservedNodeOfferingsResponse_httpStatus :: Lens' DescribeReservedNodeOfferingsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance GHC.Show.Show Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance GHC.Read.Read Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance GHC.Classes.Eq Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance GHC.Generics.Generic Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferingsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeReservedNodeOfferings.DescribeReservedNodeOfferings
-- | Returns exchange status details and associated metadata for a
-- reserved-node exchange. Statuses include such values as in progress
-- and requested.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeReservedNodeExchangeStatus
-- | See: newDescribeReservedNodeExchangeStatus smart
-- constructor.
data DescribeReservedNodeExchangeStatus
DescribeReservedNodeExchangeStatus' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> DescribeReservedNodeExchangeStatus
-- | An optional pagination token provided by a previous
-- DescribeReservedNodeExchangeStatus request. If this parameter
-- is specified, the response includes only records beyond the marker, up
-- to the value specified by the MaxRecords parameter. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
[$sel:marker:DescribeReservedNodeExchangeStatus'] :: DescribeReservedNodeExchangeStatus -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a Marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
[$sel:maxRecords:DescribeReservedNodeExchangeStatus'] :: DescribeReservedNodeExchangeStatus -> Maybe Int
-- | The identifier of the reserved-node exchange request.
[$sel:reservedNodeExchangeRequestId:DescribeReservedNodeExchangeStatus'] :: DescribeReservedNodeExchangeStatus -> Maybe Text
-- | The identifier of the source reserved node in a reserved-node exchange
-- request.
[$sel:reservedNodeId:DescribeReservedNodeExchangeStatus'] :: DescribeReservedNodeExchangeStatus -> Maybe Text
-- | Create a value of DescribeReservedNodeExchangeStatus 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:
--
-- DescribeReservedNodeExchangeStatus,
-- describeReservedNodeExchangeStatus_marker - An optional
-- pagination token provided by a previous
-- DescribeReservedNodeExchangeStatus request. If this parameter
-- is specified, the response includes only records beyond the marker, up
-- to the value specified by the MaxRecords parameter. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeReservedNodeExchangeStatus',
-- describeReservedNodeExchangeStatus_maxRecords - The maximum
-- number of response records to return in each call. If the number of
-- remaining response records exceeds the specified MaxRecords
-- value, a value is returned in a Marker field of the response.
-- You can retrieve the next set of records by retrying the command with
-- the returned marker value.
--
-- DescribeReservedNodeExchangeStatus,
-- describeReservedNodeExchangeStatus_reservedNodeExchangeRequestId
-- - The identifier of the reserved-node exchange request.
--
-- DescribeReservedNodeExchangeStatus,
-- describeReservedNodeExchangeStatus_reservedNodeId - The
-- identifier of the source reserved node in a reserved-node exchange
-- request.
newDescribeReservedNodeExchangeStatus :: DescribeReservedNodeExchangeStatus
-- | An optional pagination token provided by a previous
-- DescribeReservedNodeExchangeStatus request. If this parameter
-- is specified, the response includes only records beyond the marker, up
-- to the value specified by the MaxRecords parameter. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
describeReservedNodeExchangeStatus_marker :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a Marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeReservedNodeExchangeStatus_maxRecords :: Lens' DescribeReservedNodeExchangeStatus (Maybe Int)
-- | The identifier of the reserved-node exchange request.
describeReservedNodeExchangeStatus_reservedNodeExchangeRequestId :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text)
-- | The identifier of the source reserved node in a reserved-node exchange
-- request.
describeReservedNodeExchangeStatus_reservedNodeId :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text)
-- | See: newDescribeReservedNodeExchangeStatusResponse smart
-- constructor.
data DescribeReservedNodeExchangeStatusResponse
DescribeReservedNodeExchangeStatusResponse' :: Maybe Text -> Maybe [ReservedNodeExchangeStatus] -> Int -> DescribeReservedNodeExchangeStatusResponse
-- | A pagination token provided by a previous
-- DescribeReservedNodeExchangeStatus request.
[$sel:marker:DescribeReservedNodeExchangeStatusResponse'] :: DescribeReservedNodeExchangeStatusResponse -> Maybe Text
-- | The details of the reserved-node exchange request, including the
-- status, request time, source reserved-node identifier, and additional
-- details.
[$sel:reservedNodeExchangeStatusDetails:DescribeReservedNodeExchangeStatusResponse'] :: DescribeReservedNodeExchangeStatusResponse -> Maybe [ReservedNodeExchangeStatus]
-- | The response's http status code.
[$sel:httpStatus:DescribeReservedNodeExchangeStatusResponse'] :: DescribeReservedNodeExchangeStatusResponse -> Int
-- | Create a value of DescribeReservedNodeExchangeStatusResponse
-- 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:
--
-- DescribeReservedNodeExchangeStatus,
-- describeReservedNodeExchangeStatusResponse_marker - A
-- pagination token provided by a previous
-- DescribeReservedNodeExchangeStatus request.
--
--
-- $sel:reservedNodeExchangeStatusDetails:DescribeReservedNodeExchangeStatusResponse',
-- describeReservedNodeExchangeStatusResponse_reservedNodeExchangeStatusDetails
-- - The details of the reserved-node exchange request, including the
-- status, request time, source reserved-node identifier, and additional
-- details.
--
-- $sel:httpStatus:DescribeReservedNodeExchangeStatusResponse',
-- describeReservedNodeExchangeStatusResponse_httpStatus - The
-- response's http status code.
newDescribeReservedNodeExchangeStatusResponse :: Int -> DescribeReservedNodeExchangeStatusResponse
-- | A pagination token provided by a previous
-- DescribeReservedNodeExchangeStatus request.
describeReservedNodeExchangeStatusResponse_marker :: Lens' DescribeReservedNodeExchangeStatusResponse (Maybe Text)
-- | The details of the reserved-node exchange request, including the
-- status, request time, source reserved-node identifier, and additional
-- details.
describeReservedNodeExchangeStatusResponse_reservedNodeExchangeStatusDetails :: Lens' DescribeReservedNodeExchangeStatusResponse (Maybe [ReservedNodeExchangeStatus])
-- | The response's http status code.
describeReservedNodeExchangeStatusResponse_httpStatus :: Lens' DescribeReservedNodeExchangeStatusResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
instance GHC.Show.Show Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
instance GHC.Read.Read Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
instance GHC.Classes.Eq Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
instance GHC.Generics.Generic Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatusResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatusResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatusResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatusResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatusResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeReservedNodeExchangeStatus.DescribeReservedNodeExchangeStatus
-- | Returns information about the partner integrations defined for a
-- cluster.
module Amazonka.Redshift.DescribePartners
-- | See: newDescribePartners smart constructor.
data DescribePartners
DescribePartners' :: Maybe Text -> Maybe Text -> Text -> Text -> DescribePartners
-- | The name of the database whose partner integration is being described.
-- If database name is not specified, then all databases in the cluster
-- are described.
[$sel:databaseName:DescribePartners'] :: DescribePartners -> Maybe Text
-- | The name of the partner that is being described. If partner name is
-- not specified, then all partner integrations are described.
[$sel:partnerName:DescribePartners'] :: DescribePartners -> Maybe Text
-- | The Amazon Web Services account ID that owns the cluster.
[$sel:accountId:DescribePartners'] :: DescribePartners -> Text
-- | The cluster identifier of the cluster whose partner integration is
-- being described.
[$sel:clusterIdentifier:DescribePartners'] :: DescribePartners -> Text
-- | Create a value of DescribePartners 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:
--
-- DescribePartners, describePartners_databaseName - The
-- name of the database whose partner integration is being described. If
-- database name is not specified, then all databases in the cluster are
-- described.
--
-- DescribePartners, describePartners_partnerName - The
-- name of the partner that is being described. If partner name is not
-- specified, then all partner integrations are described.
--
-- DescribePartners, describePartners_accountId - The
-- Amazon Web Services account ID that owns the cluster.
--
-- DescribePartners, describePartners_clusterIdentifier -
-- The cluster identifier of the cluster whose partner integration is
-- being described.
newDescribePartners :: Text -> Text -> DescribePartners
-- | The name of the database whose partner integration is being described.
-- If database name is not specified, then all databases in the cluster
-- are described.
describePartners_databaseName :: Lens' DescribePartners (Maybe Text)
-- | The name of the partner that is being described. If partner name is
-- not specified, then all partner integrations are described.
describePartners_partnerName :: Lens' DescribePartners (Maybe Text)
-- | The Amazon Web Services account ID that owns the cluster.
describePartners_accountId :: Lens' DescribePartners Text
-- | The cluster identifier of the cluster whose partner integration is
-- being described.
describePartners_clusterIdentifier :: Lens' DescribePartners Text
-- | See: newDescribePartnersResponse smart constructor.
data DescribePartnersResponse
DescribePartnersResponse' :: Maybe [PartnerIntegrationInfo] -> Int -> DescribePartnersResponse
-- | A list of partner integrations.
[$sel:partnerIntegrationInfoList:DescribePartnersResponse'] :: DescribePartnersResponse -> Maybe [PartnerIntegrationInfo]
-- | The response's http status code.
[$sel:httpStatus:DescribePartnersResponse'] :: DescribePartnersResponse -> Int
-- | Create a value of DescribePartnersResponse 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:partnerIntegrationInfoList:DescribePartnersResponse',
-- describePartnersResponse_partnerIntegrationInfoList - A list of
-- partner integrations.
--
-- $sel:httpStatus:DescribePartnersResponse',
-- describePartnersResponse_httpStatus - The response's http
-- status code.
newDescribePartnersResponse :: Int -> DescribePartnersResponse
-- | A list of partner integrations.
describePartnersResponse_partnerIntegrationInfoList :: Lens' DescribePartnersResponse (Maybe [PartnerIntegrationInfo])
-- | The response's http status code.
describePartnersResponse_httpStatus :: Lens' DescribePartnersResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribePartners.DescribePartners
instance GHC.Show.Show Amazonka.Redshift.DescribePartners.DescribePartners
instance GHC.Read.Read Amazonka.Redshift.DescribePartners.DescribePartners
instance GHC.Classes.Eq Amazonka.Redshift.DescribePartners.DescribePartners
instance GHC.Generics.Generic Amazonka.Redshift.DescribePartners.DescribePartnersResponse
instance GHC.Show.Show Amazonka.Redshift.DescribePartners.DescribePartnersResponse
instance GHC.Read.Read Amazonka.Redshift.DescribePartners.DescribePartnersResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribePartners.DescribePartnersResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribePartners.DescribePartners
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribePartners.DescribePartnersResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribePartners.DescribePartners
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribePartners.DescribePartners
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribePartners.DescribePartners
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribePartners.DescribePartners
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribePartners.DescribePartners
-- | Returns a list of orderable cluster options. Before you create a new
-- cluster you can use this operation to find what options are available,
-- such as the EC2 Availability Zones (AZ) in the specific Amazon Web
-- Services Region that you can specify, and the node types you can
-- request. The node types differ by available storage, memory, CPU and
-- price. With the cost involved you might want to obtain a list of
-- cluster options in the specific region and specify values when
-- creating a cluster. For more information about managing clusters, go
-- to Amazon Redshift Clusters in the Amazon Redshift Cluster
-- Management Guide.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeOrderableClusterOptions
-- | See: newDescribeOrderableClusterOptions smart
-- constructor.
data DescribeOrderableClusterOptions
DescribeOrderableClusterOptions' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> DescribeOrderableClusterOptions
-- | The version filter value. Specify this parameter to show only the
-- available offerings matching the specified version.
--
-- Default: All versions.
--
-- Constraints: Must be one of the version returned from
-- DescribeClusterVersions.
[$sel:clusterVersion:DescribeOrderableClusterOptions'] :: DescribeOrderableClusterOptions -> Maybe Text
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeOrderableClusterOptions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeOrderableClusterOptions'] :: DescribeOrderableClusterOptions -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeOrderableClusterOptions'] :: DescribeOrderableClusterOptions -> Maybe Int
-- | The node type filter value. Specify this parameter to show only the
-- available offerings matching the specified node type.
[$sel:nodeType:DescribeOrderableClusterOptions'] :: DescribeOrderableClusterOptions -> Maybe Text
-- | Create a value of DescribeOrderableClusterOptions 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:
--
-- DescribeOrderableClusterOptions,
-- describeOrderableClusterOptions_clusterVersion - The version
-- filter value. Specify this parameter to show only the available
-- offerings matching the specified version.
--
-- Default: All versions.
--
-- Constraints: Must be one of the version returned from
-- DescribeClusterVersions.
--
-- DescribeOrderableClusterOptions,
-- describeOrderableClusterOptions_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeOrderableClusterOptions request exceed
-- the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeOrderableClusterOptions',
-- describeOrderableClusterOptions_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeOrderableClusterOptions,
-- describeOrderableClusterOptions_nodeType - The node type filter
-- value. Specify this parameter to show only the available offerings
-- matching the specified node type.
newDescribeOrderableClusterOptions :: DescribeOrderableClusterOptions
-- | The version filter value. Specify this parameter to show only the
-- available offerings matching the specified version.
--
-- Default: All versions.
--
-- Constraints: Must be one of the version returned from
-- DescribeClusterVersions.
describeOrderableClusterOptions_clusterVersion :: Lens' DescribeOrderableClusterOptions (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeOrderableClusterOptions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeOrderableClusterOptions_marker :: Lens' DescribeOrderableClusterOptions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeOrderableClusterOptions_maxRecords :: Lens' DescribeOrderableClusterOptions (Maybe Int)
-- | The node type filter value. Specify this parameter to show only the
-- available offerings matching the specified node type.
describeOrderableClusterOptions_nodeType :: Lens' DescribeOrderableClusterOptions (Maybe Text)
-- | Contains the output from the DescribeOrderableClusterOptions action.
--
-- See: newDescribeOrderableClusterOptionsResponse smart
-- constructor.
data DescribeOrderableClusterOptionsResponse
DescribeOrderableClusterOptionsResponse' :: Maybe Text -> Maybe [OrderableClusterOption] -> Int -> DescribeOrderableClusterOptionsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeOrderableClusterOptionsResponse'] :: DescribeOrderableClusterOptionsResponse -> Maybe Text
-- | An OrderableClusterOption structure containing information
-- about orderable options for the cluster.
[$sel:orderableClusterOptions:DescribeOrderableClusterOptionsResponse'] :: DescribeOrderableClusterOptionsResponse -> Maybe [OrderableClusterOption]
-- | The response's http status code.
[$sel:httpStatus:DescribeOrderableClusterOptionsResponse'] :: DescribeOrderableClusterOptionsResponse -> Int
-- | Create a value of DescribeOrderableClusterOptionsResponse 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:
--
-- DescribeOrderableClusterOptions,
-- describeOrderableClusterOptionsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
--
-- $sel:orderableClusterOptions:DescribeOrderableClusterOptionsResponse',
-- describeOrderableClusterOptionsResponse_orderableClusterOptions
-- - An OrderableClusterOption structure containing information
-- about orderable options for the cluster.
--
-- $sel:httpStatus:DescribeOrderableClusterOptionsResponse',
-- describeOrderableClusterOptionsResponse_httpStatus - The
-- response's http status code.
newDescribeOrderableClusterOptionsResponse :: Int -> DescribeOrderableClusterOptionsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeOrderableClusterOptionsResponse_marker :: Lens' DescribeOrderableClusterOptionsResponse (Maybe Text)
-- | An OrderableClusterOption structure containing information
-- about orderable options for the cluster.
describeOrderableClusterOptionsResponse_orderableClusterOptions :: Lens' DescribeOrderableClusterOptionsResponse (Maybe [OrderableClusterOption])
-- | The response's http status code.
describeOrderableClusterOptionsResponse_httpStatus :: Lens' DescribeOrderableClusterOptionsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance GHC.Show.Show Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance GHC.Read.Read Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance GHC.Classes.Eq Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance GHC.Generics.Generic Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptionsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeOrderableClusterOptions.DescribeOrderableClusterOptions
-- | Returns properties of possible node configurations such as node type,
-- number of nodes, and disk usage for the specified action type.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeNodeConfigurationOptions
-- | See: newDescribeNodeConfigurationOptions smart
-- constructor.
data DescribeNodeConfigurationOptions
DescribeNodeConfigurationOptions' :: Maybe Text -> Maybe [NodeConfigurationOptionsFilter] -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> ActionType -> DescribeNodeConfigurationOptions
-- | The identifier of the cluster to evaluate for possible node
-- configurations.
[$sel:clusterIdentifier:DescribeNodeConfigurationOptions'] :: DescribeNodeConfigurationOptions -> Maybe Text
-- | A set of name, operator, and value items to filter the results.
[$sel:filters:DescribeNodeConfigurationOptions'] :: DescribeNodeConfigurationOptions -> Maybe [NodeConfigurationOptionsFilter]
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeNodeConfigurationOptions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeNodeConfigurationOptions'] :: DescribeNodeConfigurationOptions -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 500
--
-- Constraints: minimum 100, maximum 500.
[$sel:maxRecords:DescribeNodeConfigurationOptions'] :: DescribeNodeConfigurationOptions -> Maybe Int
-- | The Amazon Web Services account used to create or copy the snapshot.
-- Required if you are restoring a snapshot you do not own, optional if
-- you own the snapshot.
[$sel:ownerAccount:DescribeNodeConfigurationOptions'] :: DescribeNodeConfigurationOptions -> Maybe Text
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to describe node configuration.
[$sel:snapshotArn:DescribeNodeConfigurationOptions'] :: DescribeNodeConfigurationOptions -> Maybe Text
-- | The identifier of the snapshot to evaluate for possible node
-- configurations.
[$sel:snapshotIdentifier:DescribeNodeConfigurationOptions'] :: DescribeNodeConfigurationOptions -> Maybe Text
-- | The action type to evaluate for possible node configurations. Specify
-- "restore-cluster" to get configuration combinations based on an
-- existing snapshot. Specify "recommend-node-config" to get
-- configuration recommendations based on an existing cluster or
-- snapshot. Specify "resize-cluster" to get configuration combinations
-- for elastic resize based on an existing cluster.
[$sel:actionType:DescribeNodeConfigurationOptions'] :: DescribeNodeConfigurationOptions -> ActionType
-- | Create a value of DescribeNodeConfigurationOptions 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:
--
-- DescribeNodeConfigurationOptions,
-- describeNodeConfigurationOptions_clusterIdentifier - The
-- identifier of the cluster to evaluate for possible node
-- configurations.
--
-- $sel:filters:DescribeNodeConfigurationOptions',
-- describeNodeConfigurationOptions_filters - A set of name,
-- operator, and value items to filter the results.
--
-- DescribeNodeConfigurationOptions,
-- describeNodeConfigurationOptions_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeNodeConfigurationOptions request exceed
-- the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeNodeConfigurationOptions',
-- describeNodeConfigurationOptions_maxRecords - The maximum
-- number of response records to return in each call. If the number of
-- remaining response records exceeds the specified MaxRecords
-- value, a value is returned in a marker field of the response.
-- You can retrieve the next set of records by retrying the command with
-- the returned marker value.
--
-- Default: 500
--
-- Constraints: minimum 100, maximum 500.
--
-- DescribeNodeConfigurationOptions,
-- describeNodeConfigurationOptions_ownerAccount - The Amazon Web
-- Services account used to create or copy the snapshot. Required if you
-- are restoring a snapshot you do not own, optional if you own the
-- snapshot.
--
-- $sel:snapshotArn:DescribeNodeConfigurationOptions',
-- describeNodeConfigurationOptions_snapshotArn - The Amazon
-- Resource Name (ARN) of the snapshot associated with the message to
-- describe node configuration.
--
-- DescribeNodeConfigurationOptions,
-- describeNodeConfigurationOptions_snapshotIdentifier - The
-- identifier of the snapshot to evaluate for possible node
-- configurations.
--
-- $sel:actionType:DescribeNodeConfigurationOptions',
-- describeNodeConfigurationOptions_actionType - The action type
-- to evaluate for possible node configurations. Specify
-- "restore-cluster" to get configuration combinations based on an
-- existing snapshot. Specify "recommend-node-config" to get
-- configuration recommendations based on an existing cluster or
-- snapshot. Specify "resize-cluster" to get configuration combinations
-- for elastic resize based on an existing cluster.
newDescribeNodeConfigurationOptions :: ActionType -> DescribeNodeConfigurationOptions
-- | The identifier of the cluster to evaluate for possible node
-- configurations.
describeNodeConfigurationOptions_clusterIdentifier :: Lens' DescribeNodeConfigurationOptions (Maybe Text)
-- | A set of name, operator, and value items to filter the results.
describeNodeConfigurationOptions_filters :: Lens' DescribeNodeConfigurationOptions (Maybe [NodeConfigurationOptionsFilter])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeNodeConfigurationOptions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeNodeConfigurationOptions_marker :: Lens' DescribeNodeConfigurationOptions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 500
--
-- Constraints: minimum 100, maximum 500.
describeNodeConfigurationOptions_maxRecords :: Lens' DescribeNodeConfigurationOptions (Maybe Int)
-- | The Amazon Web Services account used to create or copy the snapshot.
-- Required if you are restoring a snapshot you do not own, optional if
-- you own the snapshot.
describeNodeConfigurationOptions_ownerAccount :: Lens' DescribeNodeConfigurationOptions (Maybe Text)
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to describe node configuration.
describeNodeConfigurationOptions_snapshotArn :: Lens' DescribeNodeConfigurationOptions (Maybe Text)
-- | The identifier of the snapshot to evaluate for possible node
-- configurations.
describeNodeConfigurationOptions_snapshotIdentifier :: Lens' DescribeNodeConfigurationOptions (Maybe Text)
-- | The action type to evaluate for possible node configurations. Specify
-- "restore-cluster" to get configuration combinations based on an
-- existing snapshot. Specify "recommend-node-config" to get
-- configuration recommendations based on an existing cluster or
-- snapshot. Specify "resize-cluster" to get configuration combinations
-- for elastic resize based on an existing cluster.
describeNodeConfigurationOptions_actionType :: Lens' DescribeNodeConfigurationOptions ActionType
-- | See: newDescribeNodeConfigurationOptionsResponse smart
-- constructor.
data DescribeNodeConfigurationOptionsResponse
DescribeNodeConfigurationOptionsResponse' :: Maybe Text -> Maybe [NodeConfigurationOption] -> Int -> DescribeNodeConfigurationOptionsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeNodeConfigurationOptionsResponse'] :: DescribeNodeConfigurationOptionsResponse -> Maybe Text
-- | A list of valid node configurations.
[$sel:nodeConfigurationOptionList:DescribeNodeConfigurationOptionsResponse'] :: DescribeNodeConfigurationOptionsResponse -> Maybe [NodeConfigurationOption]
-- | The response's http status code.
[$sel:httpStatus:DescribeNodeConfigurationOptionsResponse'] :: DescribeNodeConfigurationOptionsResponse -> Int
-- | Create a value of DescribeNodeConfigurationOptionsResponse 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:
--
-- DescribeNodeConfigurationOptions,
-- describeNodeConfigurationOptionsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
--
-- $sel:nodeConfigurationOptionList:DescribeNodeConfigurationOptionsResponse',
-- describeNodeConfigurationOptionsResponse_nodeConfigurationOptionList
-- - A list of valid node configurations.
--
-- $sel:httpStatus:DescribeNodeConfigurationOptionsResponse',
-- describeNodeConfigurationOptionsResponse_httpStatus - The
-- response's http status code.
newDescribeNodeConfigurationOptionsResponse :: Int -> DescribeNodeConfigurationOptionsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeNodeConfigurationOptionsResponse_marker :: Lens' DescribeNodeConfigurationOptionsResponse (Maybe Text)
-- | A list of valid node configurations.
describeNodeConfigurationOptionsResponse_nodeConfigurationOptionList :: Lens' DescribeNodeConfigurationOptionsResponse (Maybe [NodeConfigurationOption])
-- | The response's http status code.
describeNodeConfigurationOptionsResponse_httpStatus :: Lens' DescribeNodeConfigurationOptionsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
instance GHC.Show.Show Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
instance GHC.Read.Read Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
instance GHC.Classes.Eq Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
instance GHC.Generics.Generic Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptionsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptionsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptionsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptionsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptionsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeNodeConfigurationOptions.DescribeNodeConfigurationOptions
-- | Describes whether information, such as queries and connection
-- attempts, is being logged for the specified Amazon Redshift cluster.
module Amazonka.Redshift.DescribeLoggingStatus
-- | See: newDescribeLoggingStatus smart constructor.
data DescribeLoggingStatus
DescribeLoggingStatus' :: Text -> DescribeLoggingStatus
-- | The identifier of the cluster from which to get the logging status.
--
-- Example: examplecluster
[$sel:clusterIdentifier:DescribeLoggingStatus'] :: DescribeLoggingStatus -> Text
-- | Create a value of DescribeLoggingStatus 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:
--
-- DescribeLoggingStatus,
-- describeLoggingStatus_clusterIdentifier - The identifier of the
-- cluster from which to get the logging status.
--
-- Example: examplecluster
newDescribeLoggingStatus :: Text -> DescribeLoggingStatus
-- | The identifier of the cluster from which to get the logging status.
--
-- Example: examplecluster
describeLoggingStatus_clusterIdentifier :: Lens' DescribeLoggingStatus Text
-- | Describes the status of logging for a cluster.
--
-- See: newLoggingStatus smart constructor.
data LoggingStatus
LoggingStatus' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Bool -> Maybe Text -> LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
[$sel:bucketName:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | The message indicating that logs failed to be delivered.
[$sel:lastFailureMessage:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | The last time when logs failed to be delivered.
[$sel:lastFailureTime:LoggingStatus'] :: LoggingStatus -> Maybe ISO8601
-- | The last time that logs were delivered.
[$sel:lastSuccessfulDeliveryTime:LoggingStatus'] :: LoggingStatus -> Maybe ISO8601
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
[$sel:logDestinationType:LoggingStatus'] :: LoggingStatus -> Maybe LogDestinationType
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
[$sel:logExports:LoggingStatus'] :: LoggingStatus -> Maybe [Text]
-- | true if logging is on, false if logging is off.
[$sel:loggingEnabled:LoggingStatus'] :: LoggingStatus -> Maybe Bool
-- | The prefix applied to the log file names.
[$sel:s3KeyPrefix:LoggingStatus'] :: LoggingStatus -> Maybe Text
-- | Create a value of LoggingStatus 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:bucketName:LoggingStatus', loggingStatus_bucketName
-- - The name of the S3 bucket where the log files are stored.
--
-- $sel:lastFailureMessage:LoggingStatus',
-- loggingStatus_lastFailureMessage - The message indicating that
-- logs failed to be delivered.
--
-- $sel:lastFailureTime:LoggingStatus',
-- loggingStatus_lastFailureTime - The last time when logs failed
-- to be delivered.
--
-- $sel:lastSuccessfulDeliveryTime:LoggingStatus',
-- loggingStatus_lastSuccessfulDeliveryTime - The last time that
-- logs were delivered.
--
-- $sel:logDestinationType:LoggingStatus',
-- loggingStatus_logDestinationType - The log destination type. An
-- enum with possible values of s3 and cloudwatch.
--
-- $sel:logExports:LoggingStatus', loggingStatus_logExports
-- - The collection of exported log types. Log types include the
-- connection log, user log and user activity log.
--
-- $sel:loggingEnabled:LoggingStatus',
-- loggingStatus_loggingEnabled - true if logging is on,
-- false if logging is off.
--
-- $sel:s3KeyPrefix:LoggingStatus',
-- loggingStatus_s3KeyPrefix - The prefix applied to the log file
-- names.
newLoggingStatus :: LoggingStatus
-- | The name of the S3 bucket where the log files are stored.
loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text)
-- | The message indicating that logs failed to be delivered.
loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | The last time when logs failed to be delivered.
loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
loggingStatus_logDestinationType :: Lens' LoggingStatus (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
loggingStatus_logExports :: Lens' LoggingStatus (Maybe [Text])
-- | true if logging is on, false if logging is off.
loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The prefix applied to the log file names.
loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance GHC.Show.Show Amazonka.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance GHC.Read.Read Amazonka.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance GHC.Classes.Eq Amazonka.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeLoggingStatus.DescribeLoggingStatus
-- | Returns information about the specified Amazon Redshift HSM
-- configuration. If no configuration ID is specified, returns
-- information about all the HSM configurations owned by your Amazon Web
-- Services account.
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all HSM connections that match any combination
-- of the specified keys and values. For example, if you have
-- owner and environment for tag keys, and
-- admin and test for tag values, all HSM connections
-- that have any combination of those values are returned.
--
-- If both tag keys and values are omitted from the request, HSM
-- connections are returned regardless of whether they have tag keys or
-- values associated with them.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeHsmConfigurations
-- | See: newDescribeHsmConfigurations smart constructor.
data DescribeHsmConfigurations
DescribeHsmConfigurations' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> DescribeHsmConfigurations
-- | The identifier of a specific Amazon Redshift HSM configuration to be
-- described. If no identifier is specified, information is returned for
-- all HSM configurations owned by your Amazon Web Services account.
[$sel:hsmConfigurationIdentifier:DescribeHsmConfigurations'] :: DescribeHsmConfigurations -> Maybe Text
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeHsmConfigurations request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeHsmConfigurations'] :: DescribeHsmConfigurations -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeHsmConfigurations'] :: DescribeHsmConfigurations -> Maybe Int
-- | A tag key or keys for which you want to return all matching HSM
-- configurations that are associated with the specified key or keys. For
-- example, suppose that you have HSM configurations that are tagged with
-- keys called owner and environment. If you specify
-- both of these tag keys in the request, Amazon Redshift returns a
-- response with the HSM configurations that have either or both of these
-- tag keys associated with them.
[$sel:tagKeys:DescribeHsmConfigurations'] :: DescribeHsmConfigurations -> Maybe [Text]
-- | A tag value or values for which you want to return all matching HSM
-- configurations that are associated with the specified tag value or
-- values. For example, suppose that you have HSM configurations that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the HSM configurations that have either or
-- both of these tag values associated with them.
[$sel:tagValues:DescribeHsmConfigurations'] :: DescribeHsmConfigurations -> Maybe [Text]
-- | Create a value of DescribeHsmConfigurations 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:
--
-- DescribeHsmConfigurations,
-- describeHsmConfigurations_hsmConfigurationIdentifier - The
-- identifier of a specific Amazon Redshift HSM configuration to be
-- described. If no identifier is specified, information is returned for
-- all HSM configurations owned by your Amazon Web Services account.
--
-- DescribeHsmConfigurations,
-- describeHsmConfigurations_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeHsmConfigurations request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeHsmConfigurations',
-- describeHsmConfigurations_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeHsmConfigurations',
-- describeHsmConfigurations_tagKeys - A tag key or keys for which
-- you want to return all matching HSM configurations that are associated
-- with the specified key or keys. For example, suppose that you have HSM
-- configurations that are tagged with keys called owner and
-- environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with the HSM
-- configurations that have either or both of these tag keys associated
-- with them.
--
-- $sel:tagValues:DescribeHsmConfigurations',
-- describeHsmConfigurations_tagValues - A tag value or values for
-- which you want to return all matching HSM configurations that are
-- associated with the specified tag value or values. For example,
-- suppose that you have HSM configurations that are tagged with values
-- called admin and test. If you specify both of these
-- tag values in the request, Amazon Redshift returns a response with the
-- HSM configurations that have either or both of these tag values
-- associated with them.
newDescribeHsmConfigurations :: DescribeHsmConfigurations
-- | The identifier of a specific Amazon Redshift HSM configuration to be
-- described. If no identifier is specified, information is returned for
-- all HSM configurations owned by your Amazon Web Services account.
describeHsmConfigurations_hsmConfigurationIdentifier :: Lens' DescribeHsmConfigurations (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeHsmConfigurations request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeHsmConfigurations_marker :: Lens' DescribeHsmConfigurations (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeHsmConfigurations_maxRecords :: Lens' DescribeHsmConfigurations (Maybe Int)
-- | A tag key or keys for which you want to return all matching HSM
-- configurations that are associated with the specified key or keys. For
-- example, suppose that you have HSM configurations that are tagged with
-- keys called owner and environment. If you specify
-- both of these tag keys in the request, Amazon Redshift returns a
-- response with the HSM configurations that have either or both of these
-- tag keys associated with them.
describeHsmConfigurations_tagKeys :: Lens' DescribeHsmConfigurations (Maybe [Text])
-- | A tag value or values for which you want to return all matching HSM
-- configurations that are associated with the specified tag value or
-- values. For example, suppose that you have HSM configurations that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the HSM configurations that have either or
-- both of these tag values associated with them.
describeHsmConfigurations_tagValues :: Lens' DescribeHsmConfigurations (Maybe [Text])
-- | See: newDescribeHsmConfigurationsResponse smart
-- constructor.
data DescribeHsmConfigurationsResponse
DescribeHsmConfigurationsResponse' :: Maybe [HsmConfiguration] -> Maybe Text -> Int -> DescribeHsmConfigurationsResponse
-- | A list of HsmConfiguration objects.
[$sel:hsmConfigurations:DescribeHsmConfigurationsResponse'] :: DescribeHsmConfigurationsResponse -> Maybe [HsmConfiguration]
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeHsmConfigurationsResponse'] :: DescribeHsmConfigurationsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeHsmConfigurationsResponse'] :: DescribeHsmConfigurationsResponse -> Int
-- | Create a value of DescribeHsmConfigurationsResponse 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:hsmConfigurations:DescribeHsmConfigurationsResponse',
-- describeHsmConfigurationsResponse_hsmConfigurations - A list of
-- HsmConfiguration objects.
--
-- DescribeHsmConfigurations,
-- describeHsmConfigurationsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeHsmConfigurationsResponse',
-- describeHsmConfigurationsResponse_httpStatus - The response's
-- http status code.
newDescribeHsmConfigurationsResponse :: Int -> DescribeHsmConfigurationsResponse
-- | A list of HsmConfiguration objects.
describeHsmConfigurationsResponse_hsmConfigurations :: Lens' DescribeHsmConfigurationsResponse (Maybe [HsmConfiguration])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeHsmConfigurationsResponse_marker :: Lens' DescribeHsmConfigurationsResponse (Maybe Text)
-- | The response's http status code.
describeHsmConfigurationsResponse_httpStatus :: Lens' DescribeHsmConfigurationsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
instance GHC.Show.Show Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
instance GHC.Read.Read Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
instance GHC.Classes.Eq Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
instance GHC.Generics.Generic Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurationsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurationsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurationsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurationsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurationsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeHsmConfigurations.DescribeHsmConfigurations
-- | Returns information about the specified HSM client certificate. If no
-- certificate ID is specified, returns information about all the HSM
-- certificates owned by your Amazon Web Services account.
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all HSM client certificates that match any
-- combination of the specified keys and values. For example, if you have
-- owner and environment for tag keys, and
-- admin and test for tag values, all HSM client
-- certificates that have any combination of those values are returned.
--
-- If both tag keys and values are omitted from the request, HSM client
-- certificates are returned regardless of whether they have tag keys or
-- values associated with them.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeHsmClientCertificates
-- | See: newDescribeHsmClientCertificates smart constructor.
data DescribeHsmClientCertificates
DescribeHsmClientCertificates' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> DescribeHsmClientCertificates
-- | The identifier of a specific HSM client certificate for which you want
-- information. If no identifier is specified, information is returned
-- for all HSM client certificates owned by your Amazon Web Services
-- account.
[$sel:hsmClientCertificateIdentifier:DescribeHsmClientCertificates'] :: DescribeHsmClientCertificates -> Maybe Text
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeHsmClientCertificates request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeHsmClientCertificates'] :: DescribeHsmClientCertificates -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeHsmClientCertificates'] :: DescribeHsmClientCertificates -> Maybe Int
-- | A tag key or keys for which you want to return all matching HSM client
-- certificates that are associated with the specified key or keys. For
-- example, suppose that you have HSM client certificates that are tagged
-- with keys called owner and environment. If you
-- specify both of these tag keys in the request, Amazon Redshift returns
-- a response with the HSM client certificates that have either or both
-- of these tag keys associated with them.
[$sel:tagKeys:DescribeHsmClientCertificates'] :: DescribeHsmClientCertificates -> Maybe [Text]
-- | A tag value or values for which you want to return all matching HSM
-- client certificates that are associated with the specified tag value
-- or values. For example, suppose that you have HSM client certificates
-- that are tagged with values called admin and test.
-- If you specify both of these tag values in the request, Amazon
-- Redshift returns a response with the HSM client certificates that have
-- either or both of these tag values associated with them.
[$sel:tagValues:DescribeHsmClientCertificates'] :: DescribeHsmClientCertificates -> Maybe [Text]
-- | Create a value of DescribeHsmClientCertificates 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:
--
-- DescribeHsmClientCertificates,
-- describeHsmClientCertificates_hsmClientCertificateIdentifier -
-- The identifier of a specific HSM client certificate for which you want
-- information. If no identifier is specified, information is returned
-- for all HSM client certificates owned by your Amazon Web Services
-- account.
--
-- DescribeHsmClientCertificates,
-- describeHsmClientCertificates_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeHsmClientCertificates request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeHsmClientCertificates',
-- describeHsmClientCertificates_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeHsmClientCertificates',
-- describeHsmClientCertificates_tagKeys - A tag key or keys for
-- which you want to return all matching HSM client certificates that are
-- associated with the specified key or keys. For example, suppose that
-- you have HSM client certificates that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- HSM client certificates that have either or both of these tag keys
-- associated with them.
--
-- $sel:tagValues:DescribeHsmClientCertificates',
-- describeHsmClientCertificates_tagValues - A tag value or values
-- for which you want to return all matching HSM client certificates that
-- are associated with the specified tag value or values. For example,
-- suppose that you have HSM client certificates that are tagged with
-- values called admin and test. If you specify both of
-- these tag values in the request, Amazon Redshift returns a response
-- with the HSM client certificates that have either or both of these tag
-- values associated with them.
newDescribeHsmClientCertificates :: DescribeHsmClientCertificates
-- | The identifier of a specific HSM client certificate for which you want
-- information. If no identifier is specified, information is returned
-- for all HSM client certificates owned by your Amazon Web Services
-- account.
describeHsmClientCertificates_hsmClientCertificateIdentifier :: Lens' DescribeHsmClientCertificates (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeHsmClientCertificates request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeHsmClientCertificates_marker :: Lens' DescribeHsmClientCertificates (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeHsmClientCertificates_maxRecords :: Lens' DescribeHsmClientCertificates (Maybe Int)
-- | A tag key or keys for which you want to return all matching HSM client
-- certificates that are associated with the specified key or keys. For
-- example, suppose that you have HSM client certificates that are tagged
-- with keys called owner and environment. If you
-- specify both of these tag keys in the request, Amazon Redshift returns
-- a response with the HSM client certificates that have either or both
-- of these tag keys associated with them.
describeHsmClientCertificates_tagKeys :: Lens' DescribeHsmClientCertificates (Maybe [Text])
-- | A tag value or values for which you want to return all matching HSM
-- client certificates that are associated with the specified tag value
-- or values. For example, suppose that you have HSM client certificates
-- that are tagged with values called admin and test.
-- If you specify both of these tag values in the request, Amazon
-- Redshift returns a response with the HSM client certificates that have
-- either or both of these tag values associated with them.
describeHsmClientCertificates_tagValues :: Lens' DescribeHsmClientCertificates (Maybe [Text])
-- | See: newDescribeHsmClientCertificatesResponse smart
-- constructor.
data DescribeHsmClientCertificatesResponse
DescribeHsmClientCertificatesResponse' :: Maybe [HsmClientCertificate] -> Maybe Text -> Int -> DescribeHsmClientCertificatesResponse
-- | A list of the identifiers for one or more HSM client certificates used
-- by Amazon Redshift clusters to store and retrieve database encryption
-- keys in an HSM.
[$sel:hsmClientCertificates:DescribeHsmClientCertificatesResponse'] :: DescribeHsmClientCertificatesResponse -> Maybe [HsmClientCertificate]
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeHsmClientCertificatesResponse'] :: DescribeHsmClientCertificatesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeHsmClientCertificatesResponse'] :: DescribeHsmClientCertificatesResponse -> Int
-- | Create a value of DescribeHsmClientCertificatesResponse 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:hsmClientCertificates:DescribeHsmClientCertificatesResponse',
-- describeHsmClientCertificatesResponse_hsmClientCertificates - A
-- list of the identifiers for one or more HSM client certificates used
-- by Amazon Redshift clusters to store and retrieve database encryption
-- keys in an HSM.
--
-- DescribeHsmClientCertificates,
-- describeHsmClientCertificatesResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeHsmClientCertificatesResponse',
-- describeHsmClientCertificatesResponse_httpStatus - The
-- response's http status code.
newDescribeHsmClientCertificatesResponse :: Int -> DescribeHsmClientCertificatesResponse
-- | A list of the identifiers for one or more HSM client certificates used
-- by Amazon Redshift clusters to store and retrieve database encryption
-- keys in an HSM.
describeHsmClientCertificatesResponse_hsmClientCertificates :: Lens' DescribeHsmClientCertificatesResponse (Maybe [HsmClientCertificate])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeHsmClientCertificatesResponse_marker :: Lens' DescribeHsmClientCertificatesResponse (Maybe Text)
-- | The response's http status code.
describeHsmClientCertificatesResponse_httpStatus :: Lens' DescribeHsmClientCertificatesResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
instance GHC.Show.Show Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
instance GHC.Read.Read Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
instance GHC.Classes.Eq Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
instance GHC.Generics.Generic Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificatesResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificatesResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificatesResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificatesResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificatesResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeHsmClientCertificates.DescribeHsmClientCertificates
-- | Returns events related to clusters, security groups, snapshots, and
-- parameter groups for the past 14 days. Events specific to a particular
-- cluster, security group, snapshot or parameter group can be obtained
-- by providing the name as a parameter. By default, the past hour of
-- events are returned.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeEvents
-- | See: newDescribeEvents smart constructor.
data DescribeEvents
DescribeEvents' :: Maybe Int -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe SourceType -> Maybe ISO8601 -> DescribeEvents
-- | The number of minutes prior to the time of the request for which to
-- retrieve events. For example, if the request is sent at 18:00 and you
-- specify a duration of 60, then only events which have occurred after
-- 17:00 will be returned.
--
-- Default: 60
[$sel:duration:DescribeEvents'] :: DescribeEvents -> Maybe Int
-- | The end of the time interval for which to retrieve events, specified
-- in ISO 8601 format. For more information about ISO 8601, go to the
-- ISO8601 Wikipedia page.
--
-- Example: 2009-07-08T18:00Z
[$sel:endTime:DescribeEvents'] :: DescribeEvents -> Maybe ISO8601
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeEvents request
-- exceed the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
[$sel:marker:DescribeEvents'] :: DescribeEvents -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeEvents'] :: DescribeEvents -> Maybe Int
-- | The identifier of the event source for which events will be returned.
-- If this parameter is not specified, then all sources are included in
-- the response.
--
-- Constraints:
--
-- If SourceIdentifier is supplied, SourceType must also be
-- provided.
--
--
-- - Specify a cluster identifier when SourceType is
-- cluster.
-- - Specify a cluster security group name when SourceType is
-- cluster-security-group.
-- - Specify a cluster parameter group name when SourceType is
-- cluster-parameter-group.
-- - Specify a cluster snapshot identifier when SourceType is
-- cluster-snapshot.
--
[$sel:sourceIdentifier:DescribeEvents'] :: DescribeEvents -> Maybe Text
-- | The event source to retrieve events for. If no value is specified, all
-- events are returned.
--
-- Constraints:
--
-- If SourceType is supplied, SourceIdentifier must also be
-- provided.
--
--
-- - Specify cluster when SourceIdentifier is a cluster
-- identifier.
-- - Specify cluster-security-group when
-- SourceIdentifier is a cluster security group name.
-- - Specify cluster-parameter-group when
-- SourceIdentifier is a cluster parameter group name.
-- - Specify cluster-snapshot when SourceIdentifier is
-- a cluster snapshot identifier.
--
[$sel:sourceType:DescribeEvents'] :: DescribeEvents -> Maybe SourceType
-- | The beginning of the time interval to retrieve events for, specified
-- in ISO 8601 format. For more information about ISO 8601, go to the
-- ISO8601 Wikipedia page.
--
-- Example: 2009-07-08T18:00Z
[$sel:startTime:DescribeEvents'] :: DescribeEvents -> Maybe ISO8601
-- | Create a value of DescribeEvents 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:
--
-- DescribeEvents, describeEvents_duration - The number of
-- minutes prior to the time of the request for which to retrieve events.
-- For example, if the request is sent at 18:00 and you specify a
-- duration of 60, then only events which have occurred after 17:00 will
-- be returned.
--
-- Default: 60
--
-- DescribeEvents, describeEvents_endTime - The end of the
-- time interval for which to retrieve events, specified in ISO 8601
-- format. For more information about ISO 8601, go to the ISO8601
-- Wikipedia page.
--
-- Example: 2009-07-08T18:00Z
--
-- DescribeEvents, describeEvents_marker - An optional
-- parameter that specifies the starting point to return a set of
-- response records. When the results of a DescribeEvents request exceed
-- the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeEvents',
-- describeEvents_maxRecords - The maximum number of response
-- records to return in each call. If the number of remaining response
-- records exceeds the specified MaxRecords value, a value is
-- returned in a marker field of the response. You can retrieve
-- the next set of records by retrying the command with the returned
-- marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeEvents, describeEvents_sourceIdentifier - The
-- identifier of the event source for which events will be returned. If
-- this parameter is not specified, then all sources are included in the
-- response.
--
-- Constraints:
--
-- If SourceIdentifier is supplied, SourceType must also be
-- provided.
--
--
-- - Specify a cluster identifier when SourceType is
-- cluster.
-- - Specify a cluster security group name when SourceType is
-- cluster-security-group.
-- - Specify a cluster parameter group name when SourceType is
-- cluster-parameter-group.
-- - Specify a cluster snapshot identifier when SourceType is
-- cluster-snapshot.
--
--
-- DescribeEvents, describeEvents_sourceType - The event
-- source to retrieve events for. If no value is specified, all events
-- are returned.
--
-- Constraints:
--
-- If SourceType is supplied, SourceIdentifier must also be
-- provided.
--
--
-- - Specify cluster when SourceIdentifier is a cluster
-- identifier.
-- - Specify cluster-security-group when
-- SourceIdentifier is a cluster security group name.
-- - Specify cluster-parameter-group when
-- SourceIdentifier is a cluster parameter group name.
-- - Specify cluster-snapshot when SourceIdentifier is
-- a cluster snapshot identifier.
--
--
-- DescribeEvents, describeEvents_startTime - The beginning
-- of the time interval to retrieve events for, specified in ISO 8601
-- format. For more information about ISO 8601, go to the ISO8601
-- Wikipedia page.
--
-- Example: 2009-07-08T18:00Z
newDescribeEvents :: DescribeEvents
-- | The number of minutes prior to the time of the request for which to
-- retrieve events. For example, if the request is sent at 18:00 and you
-- specify a duration of 60, then only events which have occurred after
-- 17:00 will be returned.
--
-- Default: 60
describeEvents_duration :: Lens' DescribeEvents (Maybe Int)
-- | The end of the time interval for which to retrieve events, specified
-- in ISO 8601 format. For more information about ISO 8601, go to the
-- ISO8601 Wikipedia page.
--
-- Example: 2009-07-08T18:00Z
describeEvents_endTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeEvents request
-- exceed the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
describeEvents_marker :: Lens' DescribeEvents (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeEvents_maxRecords :: Lens' DescribeEvents (Maybe Int)
-- | The identifier of the event source for which events will be returned.
-- If this parameter is not specified, then all sources are included in
-- the response.
--
-- Constraints:
--
-- If SourceIdentifier is supplied, SourceType must also be
-- provided.
--
--
-- - Specify a cluster identifier when SourceType is
-- cluster.
-- - Specify a cluster security group name when SourceType is
-- cluster-security-group.
-- - Specify a cluster parameter group name when SourceType is
-- cluster-parameter-group.
-- - Specify a cluster snapshot identifier when SourceType is
-- cluster-snapshot.
--
describeEvents_sourceIdentifier :: Lens' DescribeEvents (Maybe Text)
-- | The event source to retrieve events for. If no value is specified, all
-- events are returned.
--
-- Constraints:
--
-- If SourceType is supplied, SourceIdentifier must also be
-- provided.
--
--
-- - Specify cluster when SourceIdentifier is a cluster
-- identifier.
-- - Specify cluster-security-group when
-- SourceIdentifier is a cluster security group name.
-- - Specify cluster-parameter-group when
-- SourceIdentifier is a cluster parameter group name.
-- - Specify cluster-snapshot when SourceIdentifier is
-- a cluster snapshot identifier.
--
describeEvents_sourceType :: Lens' DescribeEvents (Maybe SourceType)
-- | The beginning of the time interval to retrieve events for, specified
-- in ISO 8601 format. For more information about ISO 8601, go to the
-- ISO8601 Wikipedia page.
--
-- Example: 2009-07-08T18:00Z
describeEvents_startTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | See: newDescribeEventsResponse smart constructor.
data DescribeEventsResponse
DescribeEventsResponse' :: Maybe [Event] -> Maybe Text -> Int -> DescribeEventsResponse
-- | A list of Event instances.
[$sel:events:DescribeEventsResponse'] :: DescribeEventsResponse -> Maybe [Event]
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeEventsResponse'] :: DescribeEventsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeEventsResponse'] :: DescribeEventsResponse -> Int
-- | Create a value of DescribeEventsResponse 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:
--
-- DescribeEventsResponse, describeEventsResponse_events -
-- A list of Event instances.
--
-- DescribeEvents, describeEventsResponse_marker - A value
-- that indicates the starting point for the next set of response records
-- in a subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeEventsResponse',
-- describeEventsResponse_httpStatus - The response's http status
-- code.
newDescribeEventsResponse :: Int -> DescribeEventsResponse
-- | A list of Event instances.
describeEventsResponse_events :: Lens' DescribeEventsResponse (Maybe [Event])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeEventsResponse_marker :: Lens' DescribeEventsResponse (Maybe Text)
-- | The response's http status code.
describeEventsResponse_httpStatus :: Lens' DescribeEventsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeEvents.DescribeEvents
instance GHC.Show.Show Amazonka.Redshift.DescribeEvents.DescribeEvents
instance GHC.Read.Read Amazonka.Redshift.DescribeEvents.DescribeEvents
instance GHC.Classes.Eq Amazonka.Redshift.DescribeEvents.DescribeEvents
instance GHC.Generics.Generic Amazonka.Redshift.DescribeEvents.DescribeEventsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeEvents.DescribeEventsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeEvents.DescribeEventsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeEvents.DescribeEventsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeEvents.DescribeEvents
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeEvents.DescribeEventsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeEvents.DescribeEvents
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeEvents.DescribeEvents
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeEvents.DescribeEvents
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeEvents.DescribeEvents
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeEvents.DescribeEvents
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeEvents.DescribeEvents
-- | Lists descriptions of all the Amazon Redshift event notification
-- subscriptions for a customer account. If you specify a subscription
-- name, lists the description for that subscription.
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all event notification subscriptions that
-- match any combination of the specified keys and values. For example,
-- if you have owner and environment for tag keys, and
-- admin and test for tag values, all subscriptions
-- that have any combination of those values are returned.
--
-- If both tag keys and values are omitted from the request,
-- subscriptions are returned regardless of whether they have tag keys or
-- values associated with them.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeEventSubscriptions
-- | See: newDescribeEventSubscriptions smart constructor.
data DescribeEventSubscriptions
DescribeEventSubscriptions' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> DescribeEventSubscriptions
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeEventSubscriptions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeEventSubscriptions'] :: DescribeEventSubscriptions -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeEventSubscriptions'] :: DescribeEventSubscriptions -> Maybe Int
-- | The name of the Amazon Redshift event notification subscription to be
-- described.
[$sel:subscriptionName:DescribeEventSubscriptions'] :: DescribeEventSubscriptions -> Maybe Text
-- | A tag key or keys for which you want to return all matching event
-- notification subscriptions that are associated with the specified key
-- or keys. For example, suppose that you have subscriptions that are
-- tagged with keys called owner and environment. If
-- you specify both of these tag keys in the request, Amazon Redshift
-- returns a response with the subscriptions that have either or both of
-- these tag keys associated with them.
[$sel:tagKeys:DescribeEventSubscriptions'] :: DescribeEventSubscriptions -> Maybe [Text]
-- | A tag value or values for which you want to return all matching event
-- notification subscriptions that are associated with the specified tag
-- value or values. For example, suppose that you have subscriptions that
-- are tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the subscriptions that have either or both of
-- these tag values associated with them.
[$sel:tagValues:DescribeEventSubscriptions'] :: DescribeEventSubscriptions -> Maybe [Text]
-- | Create a value of DescribeEventSubscriptions 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:
--
-- DescribeEventSubscriptions,
-- describeEventSubscriptions_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeEventSubscriptions request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeEventSubscriptions',
-- describeEventSubscriptions_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:subscriptionName:DescribeEventSubscriptions',
-- describeEventSubscriptions_subscriptionName - The name of the
-- Amazon Redshift event notification subscription to be described.
--
-- $sel:tagKeys:DescribeEventSubscriptions',
-- describeEventSubscriptions_tagKeys - A tag key or keys for
-- which you want to return all matching event notification subscriptions
-- that are associated with the specified key or keys. For example,
-- suppose that you have subscriptions that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- subscriptions that have either or both of these tag keys associated
-- with them.
--
-- $sel:tagValues:DescribeEventSubscriptions',
-- describeEventSubscriptions_tagValues - A tag value or values
-- for which you want to return all matching event notification
-- subscriptions that are associated with the specified tag value or
-- values. For example, suppose that you have subscriptions that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the subscriptions that have either or both of
-- these tag values associated with them.
newDescribeEventSubscriptions :: DescribeEventSubscriptions
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeEventSubscriptions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeEventSubscriptions_marker :: Lens' DescribeEventSubscriptions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeEventSubscriptions_maxRecords :: Lens' DescribeEventSubscriptions (Maybe Int)
-- | The name of the Amazon Redshift event notification subscription to be
-- described.
describeEventSubscriptions_subscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text)
-- | A tag key or keys for which you want to return all matching event
-- notification subscriptions that are associated with the specified key
-- or keys. For example, suppose that you have subscriptions that are
-- tagged with keys called owner and environment. If
-- you specify both of these tag keys in the request, Amazon Redshift
-- returns a response with the subscriptions that have either or both of
-- these tag keys associated with them.
describeEventSubscriptions_tagKeys :: Lens' DescribeEventSubscriptions (Maybe [Text])
-- | A tag value or values for which you want to return all matching event
-- notification subscriptions that are associated with the specified tag
-- value or values. For example, suppose that you have subscriptions that
-- are tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the subscriptions that have either or both of
-- these tag values associated with them.
describeEventSubscriptions_tagValues :: Lens' DescribeEventSubscriptions (Maybe [Text])
-- | See: newDescribeEventSubscriptionsResponse smart
-- constructor.
data DescribeEventSubscriptionsResponse
DescribeEventSubscriptionsResponse' :: Maybe [EventSubscription] -> Maybe Text -> Int -> DescribeEventSubscriptionsResponse
-- | A list of event subscriptions.
[$sel:eventSubscriptionsList:DescribeEventSubscriptionsResponse'] :: DescribeEventSubscriptionsResponse -> Maybe [EventSubscription]
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeEventSubscriptionsResponse'] :: DescribeEventSubscriptionsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeEventSubscriptionsResponse'] :: DescribeEventSubscriptionsResponse -> Int
-- | Create a value of DescribeEventSubscriptionsResponse 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:eventSubscriptionsList:DescribeEventSubscriptionsResponse',
-- describeEventSubscriptionsResponse_eventSubscriptionsList - A
-- list of event subscriptions.
--
-- DescribeEventSubscriptions,
-- describeEventSubscriptionsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeEventSubscriptionsResponse',
-- describeEventSubscriptionsResponse_httpStatus - The response's
-- http status code.
newDescribeEventSubscriptionsResponse :: Int -> DescribeEventSubscriptionsResponse
-- | A list of event subscriptions.
describeEventSubscriptionsResponse_eventSubscriptionsList :: Lens' DescribeEventSubscriptionsResponse (Maybe [EventSubscription])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeEventSubscriptionsResponse_marker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text)
-- | The response's http status code.
describeEventSubscriptionsResponse_httpStatus :: Lens' DescribeEventSubscriptionsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance GHC.Show.Show Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance GHC.Read.Read Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance GHC.Classes.Eq Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance GHC.Generics.Generic Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptionsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeEventSubscriptions.DescribeEventSubscriptions
-- | Displays a list of event categories for all event source types, or for
-- a specified source type. For a list of the event categories and source
-- types, go to Amazon Redshift Event Notifications.
module Amazonka.Redshift.DescribeEventCategories
-- | See: newDescribeEventCategories smart constructor.
data DescribeEventCategories
DescribeEventCategories' :: Maybe Text -> DescribeEventCategories
-- | The source type, such as cluster or parameter group, to which the
-- described event categories apply.
--
-- Valid values: cluster, cluster-snapshot, cluster-parameter-group,
-- cluster-security-group, and scheduled-action.
[$sel:sourceType:DescribeEventCategories'] :: DescribeEventCategories -> Maybe Text
-- | Create a value of DescribeEventCategories 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:
--
-- DescribeEventCategories,
-- describeEventCategories_sourceType - The source type, such as
-- cluster or parameter group, to which the described event categories
-- apply.
--
-- Valid values: cluster, cluster-snapshot, cluster-parameter-group,
-- cluster-security-group, and scheduled-action.
newDescribeEventCategories :: DescribeEventCategories
-- | The source type, such as cluster or parameter group, to which the
-- described event categories apply.
--
-- Valid values: cluster, cluster-snapshot, cluster-parameter-group,
-- cluster-security-group, and scheduled-action.
describeEventCategories_sourceType :: Lens' DescribeEventCategories (Maybe Text)
-- | See: newDescribeEventCategoriesResponse smart
-- constructor.
data DescribeEventCategoriesResponse
DescribeEventCategoriesResponse' :: Maybe [EventCategoriesMap] -> Int -> DescribeEventCategoriesResponse
-- | A list of event categories descriptions.
[$sel:eventCategoriesMapList:DescribeEventCategoriesResponse'] :: DescribeEventCategoriesResponse -> Maybe [EventCategoriesMap]
-- | The response's http status code.
[$sel:httpStatus:DescribeEventCategoriesResponse'] :: DescribeEventCategoriesResponse -> Int
-- | Create a value of DescribeEventCategoriesResponse 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:eventCategoriesMapList:DescribeEventCategoriesResponse',
-- describeEventCategoriesResponse_eventCategoriesMapList - A list
-- of event categories descriptions.
--
-- $sel:httpStatus:DescribeEventCategoriesResponse',
-- describeEventCategoriesResponse_httpStatus - The response's
-- http status code.
newDescribeEventCategoriesResponse :: Int -> DescribeEventCategoriesResponse
-- | A list of event categories descriptions.
describeEventCategoriesResponse_eventCategoriesMapList :: Lens' DescribeEventCategoriesResponse (Maybe [EventCategoriesMap])
-- | The response's http status code.
describeEventCategoriesResponse_httpStatus :: Lens' DescribeEventCategoriesResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeEventCategories.DescribeEventCategories
instance GHC.Show.Show Amazonka.Redshift.DescribeEventCategories.DescribeEventCategories
instance GHC.Read.Read Amazonka.Redshift.DescribeEventCategories.DescribeEventCategories
instance GHC.Classes.Eq Amazonka.Redshift.DescribeEventCategories.DescribeEventCategories
instance GHC.Generics.Generic Amazonka.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeEventCategories.DescribeEventCategories
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeEventCategories.DescribeEventCategoriesResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeEventCategories.DescribeEventCategories
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeEventCategories.DescribeEventCategories
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeEventCategories.DescribeEventCategories
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeEventCategories.DescribeEventCategories
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeEventCategories.DescribeEventCategories
-- | Describes an endpoint authorization.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeEndpointAuthorization
-- | See: newDescribeEndpointAuthorization smart constructor.
data DescribeEndpointAuthorization
DescribeEndpointAuthorization' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Int -> DescribeEndpointAuthorization
-- | The AAmazon Web Services account ID of either the cluster owner
-- (grantor) or grantee. If Grantee parameter is true, then the
-- Account value is of the grantor.
[$sel:account:DescribeEndpointAuthorization'] :: DescribeEndpointAuthorization -> Maybe Text
-- | The cluster identifier of the cluster to access.
[$sel:clusterIdentifier:DescribeEndpointAuthorization'] :: DescribeEndpointAuthorization -> Maybe Text
-- | Indicates whether to check authorization from a grantor or grantee
-- point of view. If true, Amazon Redshift returns endpoint
-- authorizations that you've been granted. If false (default), checks
-- authorization from a grantor point of view.
[$sel:grantee:DescribeEndpointAuthorization'] :: DescribeEndpointAuthorization -> Maybe Bool
-- | An optional pagination token provided by a previous
-- DescribeEndpointAuthorization request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
[$sel:marker:DescribeEndpointAuthorization'] :: DescribeEndpointAuthorization -> Maybe Text
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a
-- pagination token called a Marker is included in the response
-- so that the remaining results can be retrieved.
[$sel:maxRecords:DescribeEndpointAuthorization'] :: DescribeEndpointAuthorization -> Maybe Int
-- | Create a value of DescribeEndpointAuthorization 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:account:DescribeEndpointAuthorization',
-- describeEndpointAuthorization_account - The AAmazon Web
-- Services account ID of either the cluster owner (grantor) or grantee.
-- If Grantee parameter is true, then the Account value
-- is of the grantor.
--
-- DescribeEndpointAuthorization,
-- describeEndpointAuthorization_clusterIdentifier - The cluster
-- identifier of the cluster to access.
--
-- DescribeEndpointAuthorization,
-- describeEndpointAuthorization_grantee - Indicates whether to
-- check authorization from a grantor or grantee point of view. If true,
-- Amazon Redshift returns endpoint authorizations that you've been
-- granted. If false (default), checks authorization from a grantor point
-- of view.
--
-- DescribeEndpointAuthorization,
-- describeEndpointAuthorization_marker - An optional pagination
-- token provided by a previous DescribeEndpointAuthorization
-- request. If this parameter is specified, the response includes only
-- records beyond the marker, up to the value specified by the
-- MaxRecords parameter.
--
-- $sel:maxRecords:DescribeEndpointAuthorization',
-- describeEndpointAuthorization_maxRecords - The maximum number
-- of records to include in the response. If more records exist than the
-- specified MaxRecords value, a pagination token called a
-- Marker is included in the response so that the remaining
-- results can be retrieved.
newDescribeEndpointAuthorization :: DescribeEndpointAuthorization
-- | The AAmazon Web Services account ID of either the cluster owner
-- (grantor) or grantee. If Grantee parameter is true, then the
-- Account value is of the grantor.
describeEndpointAuthorization_account :: Lens' DescribeEndpointAuthorization (Maybe Text)
-- | The cluster identifier of the cluster to access.
describeEndpointAuthorization_clusterIdentifier :: Lens' DescribeEndpointAuthorization (Maybe Text)
-- | Indicates whether to check authorization from a grantor or grantee
-- point of view. If true, Amazon Redshift returns endpoint
-- authorizations that you've been granted. If false (default), checks
-- authorization from a grantor point of view.
describeEndpointAuthorization_grantee :: Lens' DescribeEndpointAuthorization (Maybe Bool)
-- | An optional pagination token provided by a previous
-- DescribeEndpointAuthorization request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
describeEndpointAuthorization_marker :: Lens' DescribeEndpointAuthorization (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a
-- pagination token called a Marker is included in the response
-- so that the remaining results can be retrieved.
describeEndpointAuthorization_maxRecords :: Lens' DescribeEndpointAuthorization (Maybe Int)
-- | See: newDescribeEndpointAuthorizationResponse smart
-- constructor.
data DescribeEndpointAuthorizationResponse
DescribeEndpointAuthorizationResponse' :: Maybe [EndpointAuthorization] -> Maybe Text -> Int -> DescribeEndpointAuthorizationResponse
-- | The authorizations to an endpoint.
[$sel:endpointAuthorizationList:DescribeEndpointAuthorizationResponse'] :: DescribeEndpointAuthorizationResponse -> Maybe [EndpointAuthorization]
-- | An optional pagination token provided by a previous
-- DescribeEndpointAuthorization request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
[$sel:marker:DescribeEndpointAuthorizationResponse'] :: DescribeEndpointAuthorizationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeEndpointAuthorizationResponse'] :: DescribeEndpointAuthorizationResponse -> Int
-- | Create a value of DescribeEndpointAuthorizationResponse 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:endpointAuthorizationList:DescribeEndpointAuthorizationResponse',
-- describeEndpointAuthorizationResponse_endpointAuthorizationList
-- - The authorizations to an endpoint.
--
-- DescribeEndpointAuthorization,
-- describeEndpointAuthorizationResponse_marker - An optional
-- pagination token provided by a previous
-- DescribeEndpointAuthorization request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
--
-- $sel:httpStatus:DescribeEndpointAuthorizationResponse',
-- describeEndpointAuthorizationResponse_httpStatus - The
-- response's http status code.
newDescribeEndpointAuthorizationResponse :: Int -> DescribeEndpointAuthorizationResponse
-- | The authorizations to an endpoint.
describeEndpointAuthorizationResponse_endpointAuthorizationList :: Lens' DescribeEndpointAuthorizationResponse (Maybe [EndpointAuthorization])
-- | An optional pagination token provided by a previous
-- DescribeEndpointAuthorization request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
describeEndpointAuthorizationResponse_marker :: Lens' DescribeEndpointAuthorizationResponse (Maybe Text)
-- | The response's http status code.
describeEndpointAuthorizationResponse_httpStatus :: Lens' DescribeEndpointAuthorizationResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
instance GHC.Show.Show Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
instance GHC.Read.Read Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
instance GHC.Classes.Eq Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
instance GHC.Generics.Generic Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorizationResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorizationResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorizationResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorizationResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorizationResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeEndpointAuthorization.DescribeEndpointAuthorization
-- | Describes a Redshift-managed VPC endpoint.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeEndpointAccess
-- | See: newDescribeEndpointAccess smart constructor.
data DescribeEndpointAccess
DescribeEndpointAccess' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> DescribeEndpointAccess
-- | The cluster identifier associated with the described endpoint.
[$sel:clusterIdentifier:DescribeEndpointAccess'] :: DescribeEndpointAccess -> Maybe Text
-- | The name of the endpoint to be described.
[$sel:endpointName:DescribeEndpointAccess'] :: DescribeEndpointAccess -> Maybe Text
-- | An optional pagination token provided by a previous
-- DescribeEndpointAccess request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
[$sel:marker:DescribeEndpointAccess'] :: DescribeEndpointAccess -> Maybe Text
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a
-- pagination token called a Marker is included in the response
-- so that the remaining results can be retrieved.
[$sel:maxRecords:DescribeEndpointAccess'] :: DescribeEndpointAccess -> Maybe Int
-- | The Amazon Web Services account ID of the owner of the cluster.
[$sel:resourceOwner:DescribeEndpointAccess'] :: DescribeEndpointAccess -> Maybe Text
-- | The virtual private cloud (VPC) identifier with access to the cluster.
[$sel:vpcId:DescribeEndpointAccess'] :: DescribeEndpointAccess -> Maybe Text
-- | Create a value of DescribeEndpointAccess 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:
--
-- DescribeEndpointAccess,
-- describeEndpointAccess_clusterIdentifier - The cluster
-- identifier associated with the described endpoint.
--
-- DescribeEndpointAccess,
-- describeEndpointAccess_endpointName - The name of the endpoint
-- to be described.
--
-- DescribeEndpointAccess, describeEndpointAccess_marker -
-- An optional pagination token provided by a previous
-- DescribeEndpointAccess request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
--
-- $sel:maxRecords:DescribeEndpointAccess',
-- describeEndpointAccess_maxRecords - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxRecords value, a pagination token called a
-- Marker is included in the response so that the remaining
-- results can be retrieved.
--
-- DescribeEndpointAccess,
-- describeEndpointAccess_resourceOwner - The Amazon Web Services
-- account ID of the owner of the cluster.
--
-- DescribeEndpointAccess, describeEndpointAccess_vpcId -
-- The virtual private cloud (VPC) identifier with access to the cluster.
newDescribeEndpointAccess :: DescribeEndpointAccess
-- | The cluster identifier associated with the described endpoint.
describeEndpointAccess_clusterIdentifier :: Lens' DescribeEndpointAccess (Maybe Text)
-- | The name of the endpoint to be described.
describeEndpointAccess_endpointName :: Lens' DescribeEndpointAccess (Maybe Text)
-- | An optional pagination token provided by a previous
-- DescribeEndpointAccess request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
describeEndpointAccess_marker :: Lens' DescribeEndpointAccess (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a
-- pagination token called a Marker is included in the response
-- so that the remaining results can be retrieved.
describeEndpointAccess_maxRecords :: Lens' DescribeEndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
describeEndpointAccess_resourceOwner :: Lens' DescribeEndpointAccess (Maybe Text)
-- | The virtual private cloud (VPC) identifier with access to the cluster.
describeEndpointAccess_vpcId :: Lens' DescribeEndpointAccess (Maybe Text)
-- | See: newDescribeEndpointAccessResponse smart
-- constructor.
data DescribeEndpointAccessResponse
DescribeEndpointAccessResponse' :: Maybe [EndpointAccess] -> Maybe Text -> Int -> DescribeEndpointAccessResponse
-- | The list of endpoints with access to the cluster.
[$sel:endpointAccessList:DescribeEndpointAccessResponse'] :: DescribeEndpointAccessResponse -> Maybe [EndpointAccess]
-- | An optional pagination token provided by a previous
-- DescribeEndpointAccess request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
[$sel:marker:DescribeEndpointAccessResponse'] :: DescribeEndpointAccessResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeEndpointAccessResponse'] :: DescribeEndpointAccessResponse -> Int
-- | Create a value of DescribeEndpointAccessResponse 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:endpointAccessList:DescribeEndpointAccessResponse',
-- describeEndpointAccessResponse_endpointAccessList - The list of
-- endpoints with access to the cluster.
--
-- DescribeEndpointAccess,
-- describeEndpointAccessResponse_marker - An optional pagination
-- token provided by a previous DescribeEndpointAccess request.
-- If this parameter is specified, the response includes only records
-- beyond the marker, up to the value specified by the
-- MaxRecords parameter.
--
-- $sel:httpStatus:DescribeEndpointAccessResponse',
-- describeEndpointAccessResponse_httpStatus - The response's http
-- status code.
newDescribeEndpointAccessResponse :: Int -> DescribeEndpointAccessResponse
-- | The list of endpoints with access to the cluster.
describeEndpointAccessResponse_endpointAccessList :: Lens' DescribeEndpointAccessResponse (Maybe [EndpointAccess])
-- | An optional pagination token provided by a previous
-- DescribeEndpointAccess request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
describeEndpointAccessResponse_marker :: Lens' DescribeEndpointAccessResponse (Maybe Text)
-- | The response's http status code.
describeEndpointAccessResponse_httpStatus :: Lens' DescribeEndpointAccessResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
instance GHC.Show.Show Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
instance GHC.Read.Read Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
instance GHC.Classes.Eq Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
instance GHC.Generics.Generic Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccessResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccessResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccessResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccessResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccessResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeEndpointAccess.DescribeEndpointAccess
-- | Returns a list of parameter settings for the specified parameter group
-- family.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeDefaultClusterParameters
-- | See: newDescribeDefaultClusterParameters smart
-- constructor.
data DescribeDefaultClusterParameters
DescribeDefaultClusterParameters' :: Maybe Text -> Maybe Int -> Text -> DescribeDefaultClusterParameters
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDefaultClusterParameters request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeDefaultClusterParameters'] :: DescribeDefaultClusterParameters -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeDefaultClusterParameters'] :: DescribeDefaultClusterParameters -> Maybe Int
-- | The name of the cluster parameter group family.
[$sel:parameterGroupFamily:DescribeDefaultClusterParameters'] :: DescribeDefaultClusterParameters -> Text
-- | Create a value of DescribeDefaultClusterParameters 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:
--
-- DescribeDefaultClusterParameters,
-- describeDefaultClusterParameters_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeDefaultClusterParameters request exceed
-- the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeDefaultClusterParameters',
-- describeDefaultClusterParameters_maxRecords - The maximum
-- number of response records to return in each call. If the number of
-- remaining response records exceeds the specified MaxRecords
-- value, a value is returned in a marker field of the response.
-- You can retrieve the next set of records by retrying the command with
-- the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeDefaultClusterParameters,
-- describeDefaultClusterParameters_parameterGroupFamily - The
-- name of the cluster parameter group family.
newDescribeDefaultClusterParameters :: Text -> DescribeDefaultClusterParameters
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDefaultClusterParameters request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeDefaultClusterParameters_marker :: Lens' DescribeDefaultClusterParameters (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeDefaultClusterParameters_maxRecords :: Lens' DescribeDefaultClusterParameters (Maybe Int)
-- | The name of the cluster parameter group family.
describeDefaultClusterParameters_parameterGroupFamily :: Lens' DescribeDefaultClusterParameters Text
-- | See: newDescribeDefaultClusterParametersResponse smart
-- constructor.
data DescribeDefaultClusterParametersResponse
DescribeDefaultClusterParametersResponse' :: Int -> DefaultClusterParameters -> DescribeDefaultClusterParametersResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeDefaultClusterParametersResponse'] :: DescribeDefaultClusterParametersResponse -> Int
[$sel:defaultClusterParameters:DescribeDefaultClusterParametersResponse'] :: DescribeDefaultClusterParametersResponse -> DefaultClusterParameters
-- | Create a value of DescribeDefaultClusterParametersResponse 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:DescribeDefaultClusterParametersResponse',
-- describeDefaultClusterParametersResponse_httpStatus - The
-- response's http status code.
--
--
-- $sel:defaultClusterParameters:DescribeDefaultClusterParametersResponse',
-- describeDefaultClusterParametersResponse_defaultClusterParameters
-- - Undocumented member.
newDescribeDefaultClusterParametersResponse :: Int -> DefaultClusterParameters -> DescribeDefaultClusterParametersResponse
-- | The response's http status code.
describeDefaultClusterParametersResponse_httpStatus :: Lens' DescribeDefaultClusterParametersResponse Int
-- | Undocumented member.
describeDefaultClusterParametersResponse_defaultClusterParameters :: Lens' DescribeDefaultClusterParametersResponse DefaultClusterParameters
instance GHC.Generics.Generic Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance GHC.Show.Show Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance GHC.Read.Read Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance GHC.Classes.Eq Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance GHC.Generics.Generic Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParametersResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeDefaultClusterParameters.DescribeDefaultClusterParameters
-- | Returns a list of datashares when the account identifier being called
-- is a producer account identifier.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeDataSharesForProducer
-- | See: newDescribeDataSharesForProducer smart constructor.
data DescribeDataSharesForProducer
DescribeDataSharesForProducer' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe DataShareStatusForProducer -> DescribeDataSharesForProducer
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForProducer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeDataSharesForProducer'] :: DescribeDataSharesForProducer -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
[$sel:maxRecords:DescribeDataSharesForProducer'] :: DescribeDataSharesForProducer -> Maybe Int
-- | The Amazon Resource Name (ARN) of the producer that returns in the
-- list of datashares.
[$sel:producerArn:DescribeDataSharesForProducer'] :: DescribeDataSharesForProducer -> Maybe Text
-- | An identifier giving the status of a datashare in the producer. If
-- this field is specified, Amazon Redshift returns the list of
-- datashares that have the specified status.
[$sel:status:DescribeDataSharesForProducer'] :: DescribeDataSharesForProducer -> Maybe DataShareStatusForProducer
-- | Create a value of DescribeDataSharesForProducer 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:
--
-- DescribeDataSharesForProducer,
-- describeDataSharesForProducer_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeDataSharesForProducer request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeDataSharesForProducer',
-- describeDataSharesForProducer_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- DescribeDataSharesForProducer,
-- describeDataSharesForProducer_producerArn - The Amazon Resource
-- Name (ARN) of the producer that returns in the list of datashares.
--
-- DescribeDataSharesForProducer,
-- describeDataSharesForProducer_status - An identifier giving the
-- status of a datashare in the producer. If this field is specified,
-- Amazon Redshift returns the list of datashares that have the specified
-- status.
newDescribeDataSharesForProducer :: DescribeDataSharesForProducer
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForProducer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeDataSharesForProducer_marker :: Lens' DescribeDataSharesForProducer (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeDataSharesForProducer_maxRecords :: Lens' DescribeDataSharesForProducer (Maybe Int)
-- | The Amazon Resource Name (ARN) of the producer that returns in the
-- list of datashares.
describeDataSharesForProducer_producerArn :: Lens' DescribeDataSharesForProducer (Maybe Text)
-- | An identifier giving the status of a datashare in the producer. If
-- this field is specified, Amazon Redshift returns the list of
-- datashares that have the specified status.
describeDataSharesForProducer_status :: Lens' DescribeDataSharesForProducer (Maybe DataShareStatusForProducer)
-- | See: newDescribeDataSharesForProducerResponse smart
-- constructor.
data DescribeDataSharesForProducerResponse
DescribeDataSharesForProducerResponse' :: Maybe [DataShare] -> Maybe Text -> Int -> DescribeDataSharesForProducerResponse
-- | Shows the results of datashares available for producers.
[$sel:dataShares:DescribeDataSharesForProducerResponse'] :: DescribeDataSharesForProducerResponse -> Maybe [DataShare]
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForProducer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeDataSharesForProducerResponse'] :: DescribeDataSharesForProducerResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeDataSharesForProducerResponse'] :: DescribeDataSharesForProducerResponse -> Int
-- | Create a value of DescribeDataSharesForProducerResponse 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:dataShares:DescribeDataSharesForProducerResponse',
-- describeDataSharesForProducerResponse_dataShares - Shows the
-- results of datashares available for producers.
--
-- DescribeDataSharesForProducer,
-- describeDataSharesForProducerResponse_marker - An optional
-- parameter that specifies the starting point to return a set of
-- response records. When the results of a DescribeDataSharesForProducer
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- $sel:httpStatus:DescribeDataSharesForProducerResponse',
-- describeDataSharesForProducerResponse_httpStatus - The
-- response's http status code.
newDescribeDataSharesForProducerResponse :: Int -> DescribeDataSharesForProducerResponse
-- | Shows the results of datashares available for producers.
describeDataSharesForProducerResponse_dataShares :: Lens' DescribeDataSharesForProducerResponse (Maybe [DataShare])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForProducer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeDataSharesForProducerResponse_marker :: Lens' DescribeDataSharesForProducerResponse (Maybe Text)
-- | The response's http status code.
describeDataSharesForProducerResponse_httpStatus :: Lens' DescribeDataSharesForProducerResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
instance GHC.Show.Show Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
instance GHC.Read.Read Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
instance GHC.Classes.Eq Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
instance GHC.Generics.Generic Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducerResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducerResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducerResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducerResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducerResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeDataSharesForProducer.DescribeDataSharesForProducer
-- | Returns a list of datashares where the account identifier being called
-- is a consumer account identifier.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeDataSharesForConsumer
-- | See: newDescribeDataSharesForConsumer smart constructor.
data DescribeDataSharesForConsumer
DescribeDataSharesForConsumer' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe DataShareStatusForConsumer -> DescribeDataSharesForConsumer
-- | The Amazon Resource Name (ARN) of the consumer that returns in the
-- list of datashares.
[$sel:consumerArn:DescribeDataSharesForConsumer'] :: DescribeDataSharesForConsumer -> Maybe Text
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForConsumer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeDataSharesForConsumer'] :: DescribeDataSharesForConsumer -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
[$sel:maxRecords:DescribeDataSharesForConsumer'] :: DescribeDataSharesForConsumer -> Maybe Int
-- | An identifier giving the status of a datashare in the consumer
-- cluster. If this field is specified, Amazon Redshift returns the list
-- of datashares that have the specified status.
[$sel:status:DescribeDataSharesForConsumer'] :: DescribeDataSharesForConsumer -> Maybe DataShareStatusForConsumer
-- | Create a value of DescribeDataSharesForConsumer 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:consumerArn:DescribeDataSharesForConsumer',
-- describeDataSharesForConsumer_consumerArn - The Amazon Resource
-- Name (ARN) of the consumer that returns in the list of datashares.
--
-- DescribeDataSharesForConsumer,
-- describeDataSharesForConsumer_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeDataSharesForConsumer request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeDataSharesForConsumer',
-- describeDataSharesForConsumer_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- DescribeDataSharesForConsumer,
-- describeDataSharesForConsumer_status - An identifier giving the
-- status of a datashare in the consumer cluster. If this field is
-- specified, Amazon Redshift returns the list of datashares that have
-- the specified status.
newDescribeDataSharesForConsumer :: DescribeDataSharesForConsumer
-- | The Amazon Resource Name (ARN) of the consumer that returns in the
-- list of datashares.
describeDataSharesForConsumer_consumerArn :: Lens' DescribeDataSharesForConsumer (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForConsumer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeDataSharesForConsumer_marker :: Lens' DescribeDataSharesForConsumer (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeDataSharesForConsumer_maxRecords :: Lens' DescribeDataSharesForConsumer (Maybe Int)
-- | An identifier giving the status of a datashare in the consumer
-- cluster. If this field is specified, Amazon Redshift returns the list
-- of datashares that have the specified status.
describeDataSharesForConsumer_status :: Lens' DescribeDataSharesForConsumer (Maybe DataShareStatusForConsumer)
-- | See: newDescribeDataSharesForConsumerResponse smart
-- constructor.
data DescribeDataSharesForConsumerResponse
DescribeDataSharesForConsumerResponse' :: Maybe [DataShare] -> Maybe Text -> Int -> DescribeDataSharesForConsumerResponse
-- | Shows the results of datashares available for consumers.
[$sel:dataShares:DescribeDataSharesForConsumerResponse'] :: DescribeDataSharesForConsumerResponse -> Maybe [DataShare]
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForConsumer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeDataSharesForConsumerResponse'] :: DescribeDataSharesForConsumerResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeDataSharesForConsumerResponse'] :: DescribeDataSharesForConsumerResponse -> Int
-- | Create a value of DescribeDataSharesForConsumerResponse 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:dataShares:DescribeDataSharesForConsumerResponse',
-- describeDataSharesForConsumerResponse_dataShares - Shows the
-- results of datashares available for consumers.
--
-- DescribeDataSharesForConsumer,
-- describeDataSharesForConsumerResponse_marker - An optional
-- parameter that specifies the starting point to return a set of
-- response records. When the results of a DescribeDataSharesForConsumer
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- $sel:httpStatus:DescribeDataSharesForConsumerResponse',
-- describeDataSharesForConsumerResponse_httpStatus - The
-- response's http status code.
newDescribeDataSharesForConsumerResponse :: Int -> DescribeDataSharesForConsumerResponse
-- | Shows the results of datashares available for consumers.
describeDataSharesForConsumerResponse_dataShares :: Lens' DescribeDataSharesForConsumerResponse (Maybe [DataShare])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForConsumer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeDataSharesForConsumerResponse_marker :: Lens' DescribeDataSharesForConsumerResponse (Maybe Text)
-- | The response's http status code.
describeDataSharesForConsumerResponse_httpStatus :: Lens' DescribeDataSharesForConsumerResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
instance GHC.Show.Show Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
instance GHC.Read.Read Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
instance GHC.Classes.Eq Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
instance GHC.Generics.Generic Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumerResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumerResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumerResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumerResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumerResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeDataSharesForConsumer.DescribeDataSharesForConsumer
-- | Shows the status of any inbound or outbound datashares available in
-- the specified account.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeDataShares
-- | See: newDescribeDataShares smart constructor.
data DescribeDataShares
DescribeDataShares' :: Maybe Text -> Maybe Text -> Maybe Int -> DescribeDataShares
-- | The identifier of the datashare to describe details of.
[$sel:dataShareArn:DescribeDataShares'] :: DescribeDataShares -> Maybe Text
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeDataShares
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
[$sel:marker:DescribeDataShares'] :: DescribeDataShares -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
[$sel:maxRecords:DescribeDataShares'] :: DescribeDataShares -> Maybe Int
-- | Create a value of DescribeDataShares 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:
--
-- DescribeDataShares, describeDataShares_dataShareArn -
-- The identifier of the datashare to describe details of.
--
-- DescribeDataShares, describeDataShares_marker - An
-- optional parameter that specifies the starting point to return a set
-- of response records. When the results of a DescribeDataShares request
-- exceed the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeDataShares',
-- describeDataShares_maxRecords - The maximum number of response
-- records to return in each call. If the number of remaining response
-- records exceeds the specified MaxRecords value, a value is
-- returned in a marker field of the response. You can retrieve
-- the next set of records by retrying the command with the returned
-- marker value.
newDescribeDataShares :: DescribeDataShares
-- | The identifier of the datashare to describe details of.
describeDataShares_dataShareArn :: Lens' DescribeDataShares (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeDataShares
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeDataShares_marker :: Lens' DescribeDataShares (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeDataShares_maxRecords :: Lens' DescribeDataShares (Maybe Int)
-- | See: newDescribeDataSharesResponse smart constructor.
data DescribeDataSharesResponse
DescribeDataSharesResponse' :: Maybe [DataShare] -> Maybe Text -> Int -> DescribeDataSharesResponse
-- | The results returned from describing datashares.
[$sel:dataShares:DescribeDataSharesResponse'] :: DescribeDataSharesResponse -> Maybe [DataShare]
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeDataShares
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
[$sel:marker:DescribeDataSharesResponse'] :: DescribeDataSharesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeDataSharesResponse'] :: DescribeDataSharesResponse -> Int
-- | Create a value of DescribeDataSharesResponse 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:dataShares:DescribeDataSharesResponse',
-- describeDataSharesResponse_dataShares - The results returned
-- from describing datashares.
--
-- DescribeDataShares, describeDataSharesResponse_marker -
-- An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeDataShares
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- $sel:httpStatus:DescribeDataSharesResponse',
-- describeDataSharesResponse_httpStatus - The response's http
-- status code.
newDescribeDataSharesResponse :: Int -> DescribeDataSharesResponse
-- | The results returned from describing datashares.
describeDataSharesResponse_dataShares :: Lens' DescribeDataSharesResponse (Maybe [DataShare])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeDataShares
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeDataSharesResponse_marker :: Lens' DescribeDataSharesResponse (Maybe Text)
-- | The response's http status code.
describeDataSharesResponse_httpStatus :: Lens' DescribeDataSharesResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeDataShares.DescribeDataShares
instance GHC.Show.Show Amazonka.Redshift.DescribeDataShares.DescribeDataShares
instance GHC.Read.Read Amazonka.Redshift.DescribeDataShares.DescribeDataShares
instance GHC.Classes.Eq Amazonka.Redshift.DescribeDataShares.DescribeDataShares
instance GHC.Generics.Generic Amazonka.Redshift.DescribeDataShares.DescribeDataSharesResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeDataShares.DescribeDataSharesResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeDataShares.DescribeDataSharesResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeDataShares.DescribeDataSharesResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeDataShares.DescribeDataShares
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeDataShares.DescribeDataSharesResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeDataShares.DescribeDataShares
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeDataShares.DescribeDataShares
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeDataShares.DescribeDataShares
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeDataShares.DescribeDataShares
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeDataShares.DescribeDataShares
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeDataShares.DescribeDataShares
-- | Returns properties of provisioned clusters including general cluster
-- properties, cluster database properties, maintenance and backup
-- properties, and security and access properties. This operation
-- supports pagination. For more information about managing clusters, go
-- to Amazon Redshift Clusters in the Amazon Redshift Cluster
-- Management Guide.
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all clusters that match any combination of the
-- specified keys and values. For example, if you have owner and
-- environment for tag keys, and admin and
-- test for tag values, all clusters that have any combination
-- of those values are returned.
--
-- If both tag keys and values are omitted from the request, clusters are
-- returned regardless of whether they have tag keys or values associated
-- with them.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeClusters
-- | See: newDescribeClusters smart constructor.
data DescribeClusters
DescribeClusters' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> DescribeClusters
-- | The unique identifier of a cluster whose properties you are
-- requesting. This parameter is case sensitive.
--
-- The default is that all clusters defined for an account are returned.
[$sel:clusterIdentifier:DescribeClusters'] :: DescribeClusters -> Maybe Text
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeClusters
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- Constraints: You can specify either the ClusterIdentifier
-- parameter or the Marker parameter, but not both.
[$sel:marker:DescribeClusters'] :: DescribeClusters -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeClusters'] :: DescribeClusters -> Maybe Int
-- | A tag key or keys for which you want to return all matching clusters
-- that are associated with the specified key or keys. For example,
-- suppose that you have clusters that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- clusters that have either or both of these tag keys associated with
-- them.
[$sel:tagKeys:DescribeClusters'] :: DescribeClusters -> Maybe [Text]
-- | A tag value or values for which you want to return all matching
-- clusters that are associated with the specified tag value or values.
-- For example, suppose that you have clusters that are tagged with
-- values called admin and test. If you specify both of
-- these tag values in the request, Amazon Redshift returns a response
-- with the clusters that have either or both of these tag values
-- associated with them.
[$sel:tagValues:DescribeClusters'] :: DescribeClusters -> Maybe [Text]
-- | Create a value of DescribeClusters 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:
--
-- DescribeClusters, describeClusters_clusterIdentifier -
-- The unique identifier of a cluster whose properties you are
-- requesting. This parameter is case sensitive.
--
-- The default is that all clusters defined for an account are returned.
--
-- DescribeClusters, describeClusters_marker - An optional
-- parameter that specifies the starting point to return a set of
-- response records. When the results of a DescribeClusters request
-- exceed the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- Constraints: You can specify either the ClusterIdentifier
-- parameter or the Marker parameter, but not both.
--
-- $sel:maxRecords:DescribeClusters',
-- describeClusters_maxRecords - The maximum number of response
-- records to return in each call. If the number of remaining response
-- records exceeds the specified MaxRecords value, a value is
-- returned in a marker field of the response. You can retrieve
-- the next set of records by retrying the command with the returned
-- marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeClusters', describeClusters_tagKeys
-- - A tag key or keys for which you want to return all matching clusters
-- that are associated with the specified key or keys. For example,
-- suppose that you have clusters that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- clusters that have either or both of these tag keys associated with
-- them.
--
-- $sel:tagValues:DescribeClusters',
-- describeClusters_tagValues - A tag value or values for which
-- you want to return all matching clusters that are associated with the
-- specified tag value or values. For example, suppose that you have
-- clusters that are tagged with values called admin and
-- test. If you specify both of these tag values in the request,
-- Amazon Redshift returns a response with the clusters that have either
-- or both of these tag values associated with them.
newDescribeClusters :: DescribeClusters
-- | The unique identifier of a cluster whose properties you are
-- requesting. This parameter is case sensitive.
--
-- The default is that all clusters defined for an account are returned.
describeClusters_clusterIdentifier :: Lens' DescribeClusters (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeClusters
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- Constraints: You can specify either the ClusterIdentifier
-- parameter or the Marker parameter, but not both.
describeClusters_marker :: Lens' DescribeClusters (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusters_maxRecords :: Lens' DescribeClusters (Maybe Int)
-- | A tag key or keys for which you want to return all matching clusters
-- that are associated with the specified key or keys. For example,
-- suppose that you have clusters that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- clusters that have either or both of these tag keys associated with
-- them.
describeClusters_tagKeys :: Lens' DescribeClusters (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- clusters that are associated with the specified tag value or values.
-- For example, suppose that you have clusters that are tagged with
-- values called admin and test. If you specify both of
-- these tag values in the request, Amazon Redshift returns a response
-- with the clusters that have either or both of these tag values
-- associated with them.
describeClusters_tagValues :: Lens' DescribeClusters (Maybe [Text])
-- | Contains the output from the DescribeClusters action.
--
-- See: newDescribeClustersResponse smart constructor.
data DescribeClustersResponse
DescribeClustersResponse' :: Maybe [Cluster] -> Maybe Text -> Int -> DescribeClustersResponse
-- | A list of Cluster objects, where each object describes one
-- cluster.
[$sel:clusters:DescribeClustersResponse'] :: DescribeClustersResponse -> Maybe [Cluster]
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeClustersResponse'] :: DescribeClustersResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeClustersResponse'] :: DescribeClustersResponse -> Int
-- | Create a value of DescribeClustersResponse 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:clusters:DescribeClustersResponse',
-- describeClustersResponse_clusters - A list of Cluster
-- objects, where each object describes one cluster.
--
-- DescribeClusters, describeClustersResponse_marker - A
-- value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
--
-- $sel:httpStatus:DescribeClustersResponse',
-- describeClustersResponse_httpStatus - The response's http
-- status code.
newDescribeClustersResponse :: Int -> DescribeClustersResponse
-- | A list of Cluster objects, where each object describes one
-- cluster.
describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClustersResponse_marker :: Lens' DescribeClustersResponse (Maybe Text)
-- | The response's http status code.
describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusters.DescribeClusters
instance GHC.Show.Show Amazonka.Redshift.DescribeClusters.DescribeClusters
instance GHC.Read.Read Amazonka.Redshift.DescribeClusters.DescribeClusters
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusters.DescribeClusters
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusters.DescribeClustersResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeClusters.DescribeClustersResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeClusters.DescribeClustersResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusters.DescribeClustersResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeClusters.DescribeClusters
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusters.DescribeClustersResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeClusters.DescribeClusters
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeClusters.DescribeClusters
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusters.DescribeClusters
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeClusters.DescribeClusters
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeClusters.DescribeClusters
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeClusters.DescribeClusters
-- | Returns descriptions of the available Amazon Redshift cluster
-- versions. You can call this operation even before creating any
-- clusters to learn more about the Amazon Redshift versions. For more
-- information about managing clusters, go to Amazon Redshift
-- Clusters in the Amazon Redshift Cluster Management Guide.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeClusterVersions
-- | See: newDescribeClusterVersions smart constructor.
data DescribeClusterVersions
DescribeClusterVersions' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> DescribeClusterVersions
-- | The name of a specific cluster parameter group family to return
-- details for.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
[$sel:clusterParameterGroupFamily:DescribeClusterVersions'] :: DescribeClusterVersions -> Maybe Text
-- | The specific cluster version to return.
--
-- Example: 1.0
[$sel:clusterVersion:DescribeClusterVersions'] :: DescribeClusterVersions -> Maybe Text
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeClusterVersions
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
[$sel:marker:DescribeClusterVersions'] :: DescribeClusterVersions -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeClusterVersions'] :: DescribeClusterVersions -> Maybe Int
-- | Create a value of DescribeClusterVersions 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:
--
-- DescribeClusterVersions,
-- describeClusterVersions_clusterParameterGroupFamily - The name
-- of a specific cluster parameter group family to return details for.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
--
-- DescribeClusterVersions,
-- describeClusterVersions_clusterVersion - The specific cluster
-- version to return.
--
-- Example: 1.0
--
-- DescribeClusterVersions, describeClusterVersions_marker
-- - An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeClusterVersions
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- $sel:maxRecords:DescribeClusterVersions',
-- describeClusterVersions_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
newDescribeClusterVersions :: DescribeClusterVersions
-- | The name of a specific cluster parameter group family to return
-- details for.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
describeClusterVersions_clusterParameterGroupFamily :: Lens' DescribeClusterVersions (Maybe Text)
-- | The specific cluster version to return.
--
-- Example: 1.0
describeClusterVersions_clusterVersion :: Lens' DescribeClusterVersions (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeClusterVersions
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeClusterVersions_marker :: Lens' DescribeClusterVersions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterVersions_maxRecords :: Lens' DescribeClusterVersions (Maybe Int)
-- | Contains the output from the DescribeClusterVersions action.
--
-- See: newDescribeClusterVersionsResponse smart
-- constructor.
data DescribeClusterVersionsResponse
DescribeClusterVersionsResponse' :: Maybe [ClusterVersion] -> Maybe Text -> Int -> DescribeClusterVersionsResponse
-- | A list of Version elements.
[$sel:clusterVersions:DescribeClusterVersionsResponse'] :: DescribeClusterVersionsResponse -> Maybe [ClusterVersion]
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeClusterVersionsResponse'] :: DescribeClusterVersionsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeClusterVersionsResponse'] :: DescribeClusterVersionsResponse -> Int
-- | Create a value of DescribeClusterVersionsResponse 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:clusterVersions:DescribeClusterVersionsResponse',
-- describeClusterVersionsResponse_clusterVersions - A list of
-- Version elements.
--
-- DescribeClusterVersions,
-- describeClusterVersionsResponse_marker - A value that indicates
-- the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeClusterVersionsResponse',
-- describeClusterVersionsResponse_httpStatus - The response's
-- http status code.
newDescribeClusterVersionsResponse :: Int -> DescribeClusterVersionsResponse
-- | A list of Version elements.
describeClusterVersionsResponse_clusterVersions :: Lens' DescribeClusterVersionsResponse (Maybe [ClusterVersion])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterVersionsResponse_marker :: Lens' DescribeClusterVersionsResponse (Maybe Text)
-- | The response's http status code.
describeClusterVersionsResponse_httpStatus :: Lens' DescribeClusterVersionsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersionsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeClusterVersions.DescribeClusterVersions
-- | Returns a list of all the available maintenance tracks.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeClusterTracks
-- | See: newDescribeClusterTracks smart constructor.
data DescribeClusterTracks
DescribeClusterTracks' :: Maybe Text -> Maybe Text -> Maybe Int -> DescribeClusterTracks
-- | The name of the maintenance track.
[$sel:maintenanceTrackName:DescribeClusterTracks'] :: DescribeClusterTracks -> Maybe Text
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterTracks request exceed the value specified in
-- MaxRecords, Amazon Redshift returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeClusterTracks'] :: DescribeClusterTracks -> Maybe Text
-- | An integer value for the maximum number of maintenance tracks to
-- return.
[$sel:maxRecords:DescribeClusterTracks'] :: DescribeClusterTracks -> Maybe Int
-- | Create a value of DescribeClusterTracks 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:
--
-- DescribeClusterTracks,
-- describeClusterTracks_maintenanceTrackName - The name of the
-- maintenance track.
--
-- DescribeClusterTracks, describeClusterTracks_marker - An
-- optional parameter that specifies the starting point to return a set
-- of response records. When the results of a
-- DescribeClusterTracks request exceed the value specified in
-- MaxRecords, Amazon Redshift returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeClusterTracks',
-- describeClusterTracks_maxRecords - An integer value for the
-- maximum number of maintenance tracks to return.
newDescribeClusterTracks :: DescribeClusterTracks
-- | The name of the maintenance track.
describeClusterTracks_maintenanceTrackName :: Lens' DescribeClusterTracks (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterTracks request exceed the value specified in
-- MaxRecords, Amazon Redshift returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeClusterTracks_marker :: Lens' DescribeClusterTracks (Maybe Text)
-- | An integer value for the maximum number of maintenance tracks to
-- return.
describeClusterTracks_maxRecords :: Lens' DescribeClusterTracks (Maybe Int)
-- | See: newDescribeClusterTracksResponse smart constructor.
data DescribeClusterTracksResponse
DescribeClusterTracksResponse' :: Maybe [MaintenanceTrack] -> Maybe Text -> Int -> DescribeClusterTracksResponse
-- | A list of maintenance tracks output by the
-- DescribeClusterTracks operation.
[$sel:maintenanceTracks:DescribeClusterTracksResponse'] :: DescribeClusterTracksResponse -> Maybe [MaintenanceTrack]
-- | The starting point to return a set of response tracklist records. You
-- can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
[$sel:marker:DescribeClusterTracksResponse'] :: DescribeClusterTracksResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeClusterTracksResponse'] :: DescribeClusterTracksResponse -> Int
-- | Create a value of DescribeClusterTracksResponse 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:maintenanceTracks:DescribeClusterTracksResponse',
-- describeClusterTracksResponse_maintenanceTracks - A list of
-- maintenance tracks output by the DescribeClusterTracks
-- operation.
--
-- DescribeClusterTracks,
-- describeClusterTracksResponse_marker - The starting point to
-- return a set of response tracklist records. You can retrieve the next
-- set of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- $sel:httpStatus:DescribeClusterTracksResponse',
-- describeClusterTracksResponse_httpStatus - The response's http
-- status code.
newDescribeClusterTracksResponse :: Int -> DescribeClusterTracksResponse
-- | A list of maintenance tracks output by the
-- DescribeClusterTracks operation.
describeClusterTracksResponse_maintenanceTracks :: Lens' DescribeClusterTracksResponse (Maybe [MaintenanceTrack])
-- | The starting point to return a set of response tracklist records. You
-- can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeClusterTracksResponse_marker :: Lens' DescribeClusterTracksResponse (Maybe Text)
-- | The response's http status code.
describeClusterTracksResponse_httpStatus :: Lens' DescribeClusterTracksResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracksResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracksResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracksResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracksResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracksResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeClusterTracks.DescribeClusterTracks
-- | Returns one or more cluster subnet group objects, which contain
-- metadata about your cluster subnet groups. By default, this operation
-- returns information about all cluster subnet groups that are defined
-- in your Amazon Web Services account.
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all subnet groups that match any combination
-- of the specified keys and values. For example, if you have
-- owner and environment for tag keys, and
-- admin and test for tag values, all subnet groups
-- that have any combination of those values are returned.
--
-- If both tag keys and values are omitted from the request, subnet
-- groups are returned regardless of whether they have tag keys or values
-- associated with them.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeClusterSubnetGroups
-- | See: newDescribeClusterSubnetGroups smart constructor.
data DescribeClusterSubnetGroups
DescribeClusterSubnetGroups' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> DescribeClusterSubnetGroups
-- | The name of the cluster subnet group for which information is
-- requested.
[$sel:clusterSubnetGroupName:DescribeClusterSubnetGroups'] :: DescribeClusterSubnetGroups -> Maybe Text
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterSubnetGroups request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeClusterSubnetGroups'] :: DescribeClusterSubnetGroups -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeClusterSubnetGroups'] :: DescribeClusterSubnetGroups -> Maybe Int
-- | A tag key or keys for which you want to return all matching cluster
-- subnet groups that are associated with the specified key or keys. For
-- example, suppose that you have subnet groups that are tagged with keys
-- called owner and environment. If you specify both of
-- these tag keys in the request, Amazon Redshift returns a response with
-- the subnet groups that have either or both of these tag keys
-- associated with them.
[$sel:tagKeys:DescribeClusterSubnetGroups'] :: DescribeClusterSubnetGroups -> Maybe [Text]
-- | A tag value or values for which you want to return all matching
-- cluster subnet groups that are associated with the specified tag value
-- or values. For example, suppose that you have subnet groups that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the subnet groups that have either or both of
-- these tag values associated with them.
[$sel:tagValues:DescribeClusterSubnetGroups'] :: DescribeClusterSubnetGroups -> Maybe [Text]
-- | Create a value of DescribeClusterSubnetGroups 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:
--
-- DescribeClusterSubnetGroups,
-- describeClusterSubnetGroups_clusterSubnetGroupName - The name
-- of the cluster subnet group for which information is requested.
--
-- DescribeClusterSubnetGroups,
-- describeClusterSubnetGroups_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeClusterSubnetGroups request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeClusterSubnetGroups',
-- describeClusterSubnetGroups_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeClusterSubnetGroups',
-- describeClusterSubnetGroups_tagKeys - A tag key or keys for
-- which you want to return all matching cluster subnet groups that are
-- associated with the specified key or keys. For example, suppose that
-- you have subnet groups that are tagged with keys called owner
-- and environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with the subnet groups
-- that have either or both of these tag keys associated with them.
--
-- $sel:tagValues:DescribeClusterSubnetGroups',
-- describeClusterSubnetGroups_tagValues - A tag value or values
-- for which you want to return all matching cluster subnet groups that
-- are associated with the specified tag value or values. For example,
-- suppose that you have subnet groups that are tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with the
-- subnet groups that have either or both of these tag values associated
-- with them.
newDescribeClusterSubnetGroups :: DescribeClusterSubnetGroups
-- | The name of the cluster subnet group for which information is
-- requested.
describeClusterSubnetGroups_clusterSubnetGroupName :: Lens' DescribeClusterSubnetGroups (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterSubnetGroups request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeClusterSubnetGroups_marker :: Lens' DescribeClusterSubnetGroups (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterSubnetGroups_maxRecords :: Lens' DescribeClusterSubnetGroups (Maybe Int)
-- | A tag key or keys for which you want to return all matching cluster
-- subnet groups that are associated with the specified key or keys. For
-- example, suppose that you have subnet groups that are tagged with keys
-- called owner and environment. If you specify both of
-- these tag keys in the request, Amazon Redshift returns a response with
-- the subnet groups that have either or both of these tag keys
-- associated with them.
describeClusterSubnetGroups_tagKeys :: Lens' DescribeClusterSubnetGroups (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- cluster subnet groups that are associated with the specified tag value
-- or values. For example, suppose that you have subnet groups that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the subnet groups that have either or both of
-- these tag values associated with them.
describeClusterSubnetGroups_tagValues :: Lens' DescribeClusterSubnetGroups (Maybe [Text])
-- | Contains the output from the DescribeClusterSubnetGroups action.
--
-- See: newDescribeClusterSubnetGroupsResponse smart
-- constructor.
data DescribeClusterSubnetGroupsResponse
DescribeClusterSubnetGroupsResponse' :: Maybe [ClusterSubnetGroup] -> Maybe Text -> Int -> DescribeClusterSubnetGroupsResponse
-- | A list of ClusterSubnetGroup instances.
[$sel:clusterSubnetGroups:DescribeClusterSubnetGroupsResponse'] :: DescribeClusterSubnetGroupsResponse -> Maybe [ClusterSubnetGroup]
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeClusterSubnetGroupsResponse'] :: DescribeClusterSubnetGroupsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeClusterSubnetGroupsResponse'] :: DescribeClusterSubnetGroupsResponse -> Int
-- | Create a value of DescribeClusterSubnetGroupsResponse 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:clusterSubnetGroups:DescribeClusterSubnetGroupsResponse',
-- describeClusterSubnetGroupsResponse_clusterSubnetGroups - A
-- list of ClusterSubnetGroup instances.
--
-- DescribeClusterSubnetGroups,
-- describeClusterSubnetGroupsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeClusterSubnetGroupsResponse',
-- describeClusterSubnetGroupsResponse_httpStatus - The response's
-- http status code.
newDescribeClusterSubnetGroupsResponse :: Int -> DescribeClusterSubnetGroupsResponse
-- | A list of ClusterSubnetGroup instances.
describeClusterSubnetGroupsResponse_clusterSubnetGroups :: Lens' DescribeClusterSubnetGroupsResponse (Maybe [ClusterSubnetGroup])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterSubnetGroupsResponse_marker :: Lens' DescribeClusterSubnetGroupsResponse (Maybe Text)
-- | The response's http status code.
describeClusterSubnetGroupsResponse_httpStatus :: Lens' DescribeClusterSubnetGroupsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroupsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeClusterSubnetGroups.DescribeClusterSubnetGroups
-- | Returns one or more snapshot objects, which contain metadata about
-- your cluster snapshots. By default, this operation returns information
-- about all snapshots of all clusters that are owned by your Amazon Web
-- Services account. No information is returned for snapshots owned by
-- inactive Amazon Web Services accounts.
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all snapshots that match any combination of
-- the specified keys and values. For example, if you have owner
-- and environment for tag keys, and admin and
-- test for tag values, all snapshots that have any combination
-- of those values are returned. Only snapshots that you own are returned
-- in the response; shared snapshots are not returned with the tag key
-- and tag value request parameters.
--
-- If both tag keys and values are omitted from the request, snapshots
-- are returned regardless of whether they have tag keys or values
-- associated with them.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeClusterSnapshots
-- | See: newDescribeClusterSnapshots smart constructor.
data DescribeClusterSnapshots
DescribeClusterSnapshots' :: Maybe Bool -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [SnapshotSortingEntity] -> Maybe ISO8601 -> Maybe [Text] -> Maybe [Text] -> DescribeClusterSnapshots
-- | A value that indicates whether to return snapshots only for an
-- existing cluster. You can perform table-level restore only by using a
-- snapshot of an existing cluster, that is, a cluster that has not been
-- deleted. Values for this parameter work as follows:
--
--
-- - If ClusterExists is set to true,
-- ClusterIdentifier is required.
-- - If ClusterExists is set to false and
-- ClusterIdentifier isn't specified, all snapshots associated
-- with deleted clusters (orphaned snapshots) are returned.
-- - If ClusterExists is set to false and
-- ClusterIdentifier is specified for a deleted cluster,
-- snapshots associated with that cluster are returned.
-- - If ClusterExists is set to false and
-- ClusterIdentifier is specified for an existing cluster, no
-- snapshots are returned.
--
[$sel:clusterExists:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe Bool
-- | The identifier of the cluster which generated the requested snapshots.
[$sel:clusterIdentifier:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe Text
-- | A time value that requests only snapshots created at or before the
-- specified time. The time value is specified in ISO 8601 format. For
-- more information about ISO 8601, go to the ISO8601 Wikipedia
-- page.
--
-- Example: 2012-07-16T18:00:00Z
[$sel:endTime:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe ISO8601
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterSnapshots request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe Int
-- | The Amazon Web Services account used to create or copy the snapshot.
-- Use this field to filter the results to snapshots owned by a
-- particular account. To describe snapshots you own, either specify your
-- Amazon Web Services account, or do not specify the parameter.
[$sel:ownerAccount:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe Text
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to describe cluster snapshots.
[$sel:snapshotArn:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe Text
-- | The snapshot identifier of the snapshot about which to return
-- information.
[$sel:snapshotIdentifier:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe Text
-- | The type of snapshots for which you are requesting information. By
-- default, snapshots of all types are returned.
--
-- Valid Values: automated | manual
[$sel:snapshotType:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe Text
[$sel:sortingEntities:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe [SnapshotSortingEntity]
-- | A value that requests only snapshots created at or after the specified
-- time. The time value is specified in ISO 8601 format. For more
-- information about ISO 8601, go to the ISO8601 Wikipedia page.
--
-- Example: 2012-07-16T18:00:00Z
[$sel:startTime:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe ISO8601
-- | A tag key or keys for which you want to return all matching cluster
-- snapshots that are associated with the specified key or keys. For
-- example, suppose that you have snapshots that are tagged with keys
-- called owner and environment. If you specify both of
-- these tag keys in the request, Amazon Redshift returns a response with
-- the snapshots that have either or both of these tag keys associated
-- with them.
[$sel:tagKeys:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe [Text]
-- | A tag value or values for which you want to return all matching
-- cluster snapshots that are associated with the specified tag value or
-- values. For example, suppose that you have snapshots that are tagged
-- with values called admin and test. If you specify
-- both of these tag values in the request, Amazon Redshift returns a
-- response with the snapshots that have either or both of these tag
-- values associated with them.
[$sel:tagValues:DescribeClusterSnapshots'] :: DescribeClusterSnapshots -> Maybe [Text]
-- | Create a value of DescribeClusterSnapshots 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:clusterExists:DescribeClusterSnapshots',
-- describeClusterSnapshots_clusterExists - A value that indicates
-- whether to return snapshots only for an existing cluster. You can
-- perform table-level restore only by using a snapshot of an existing
-- cluster, that is, a cluster that has not been deleted. Values for this
-- parameter work as follows:
--
--
-- - If ClusterExists is set to true,
-- ClusterIdentifier is required.
-- - If ClusterExists is set to false and
-- ClusterIdentifier isn't specified, all snapshots associated
-- with deleted clusters (orphaned snapshots) are returned.
-- - If ClusterExists is set to false and
-- ClusterIdentifier is specified for a deleted cluster,
-- snapshots associated with that cluster are returned.
-- - If ClusterExists is set to false and
-- ClusterIdentifier is specified for an existing cluster, no
-- snapshots are returned.
--
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_clusterIdentifier - The identifier of
-- the cluster which generated the requested snapshots.
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_endTime - A time value that requests
-- only snapshots created at or before the specified time. The time value
-- is specified in ISO 8601 format. For more information about ISO 8601,
-- go to the ISO8601 Wikipedia page.
--
-- Example: 2012-07-16T18:00:00Z
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeClusterSnapshots request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeClusterSnapshots',
-- describeClusterSnapshots_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_ownerAccount - The Amazon Web Services
-- account used to create or copy the snapshot. Use this field to filter
-- the results to snapshots owned by a particular account. To describe
-- snapshots you own, either specify your Amazon Web Services account, or
-- do not specify the parameter.
--
-- $sel:snapshotArn:DescribeClusterSnapshots',
-- describeClusterSnapshots_snapshotArn - The Amazon Resource Name
-- (ARN) of the snapshot associated with the message to describe cluster
-- snapshots.
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_snapshotIdentifier - The snapshot
-- identifier of the snapshot about which to return information.
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_snapshotType - The type of snapshots
-- for which you are requesting information. By default, snapshots of all
-- types are returned.
--
-- Valid Values: automated | manual
--
-- $sel:sortingEntities:DescribeClusterSnapshots',
-- describeClusterSnapshots_sortingEntities -
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_startTime - A value that requests only
-- snapshots created at or after the specified time. The time value is
-- specified in ISO 8601 format. For more information about ISO 8601, go
-- to the ISO8601 Wikipedia page.
--
-- Example: 2012-07-16T18:00:00Z
--
-- $sel:tagKeys:DescribeClusterSnapshots',
-- describeClusterSnapshots_tagKeys - A tag key or keys for which
-- you want to return all matching cluster snapshots that are associated
-- with the specified key or keys. For example, suppose that you have
-- snapshots that are tagged with keys called owner and
-- environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with the snapshots that
-- have either or both of these tag keys associated with them.
--
-- $sel:tagValues:DescribeClusterSnapshots',
-- describeClusterSnapshots_tagValues - A tag value or values for
-- which you want to return all matching cluster snapshots that are
-- associated with the specified tag value or values. For example,
-- suppose that you have snapshots that are tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with the
-- snapshots that have either or both of these tag values associated with
-- them.
newDescribeClusterSnapshots :: DescribeClusterSnapshots
-- | A value that indicates whether to return snapshots only for an
-- existing cluster. You can perform table-level restore only by using a
-- snapshot of an existing cluster, that is, a cluster that has not been
-- deleted. Values for this parameter work as follows:
--
--
-- - If ClusterExists is set to true,
-- ClusterIdentifier is required.
-- - If ClusterExists is set to false and
-- ClusterIdentifier isn't specified, all snapshots associated
-- with deleted clusters (orphaned snapshots) are returned.
-- - If ClusterExists is set to false and
-- ClusterIdentifier is specified for a deleted cluster,
-- snapshots associated with that cluster are returned.
-- - If ClusterExists is set to false and
-- ClusterIdentifier is specified for an existing cluster, no
-- snapshots are returned.
--
describeClusterSnapshots_clusterExists :: Lens' DescribeClusterSnapshots (Maybe Bool)
-- | The identifier of the cluster which generated the requested snapshots.
describeClusterSnapshots_clusterIdentifier :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | A time value that requests only snapshots created at or before the
-- specified time. The time value is specified in ISO 8601 format. For
-- more information about ISO 8601, go to the ISO8601 Wikipedia
-- page.
--
-- Example: 2012-07-16T18:00:00Z
describeClusterSnapshots_endTime :: Lens' DescribeClusterSnapshots (Maybe UTCTime)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterSnapshots request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeClusterSnapshots_marker :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterSnapshots_maxRecords :: Lens' DescribeClusterSnapshots (Maybe Int)
-- | The Amazon Web Services account used to create or copy the snapshot.
-- Use this field to filter the results to snapshots owned by a
-- particular account. To describe snapshots you own, either specify your
-- Amazon Web Services account, or do not specify the parameter.
describeClusterSnapshots_ownerAccount :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to describe cluster snapshots.
describeClusterSnapshots_snapshotArn :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | The snapshot identifier of the snapshot about which to return
-- information.
describeClusterSnapshots_snapshotIdentifier :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | The type of snapshots for which you are requesting information. By
-- default, snapshots of all types are returned.
--
-- Valid Values: automated | manual
describeClusterSnapshots_snapshotType :: Lens' DescribeClusterSnapshots (Maybe Text)
describeClusterSnapshots_sortingEntities :: Lens' DescribeClusterSnapshots (Maybe [SnapshotSortingEntity])
-- | A value that requests only snapshots created at or after the specified
-- time. The time value is specified in ISO 8601 format. For more
-- information about ISO 8601, go to the ISO8601 Wikipedia page.
--
-- Example: 2012-07-16T18:00:00Z
describeClusterSnapshots_startTime :: Lens' DescribeClusterSnapshots (Maybe UTCTime)
-- | A tag key or keys for which you want to return all matching cluster
-- snapshots that are associated with the specified key or keys. For
-- example, suppose that you have snapshots that are tagged with keys
-- called owner and environment. If you specify both of
-- these tag keys in the request, Amazon Redshift returns a response with
-- the snapshots that have either or both of these tag keys associated
-- with them.
describeClusterSnapshots_tagKeys :: Lens' DescribeClusterSnapshots (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- cluster snapshots that are associated with the specified tag value or
-- values. For example, suppose that you have snapshots that are tagged
-- with values called admin and test. If you specify
-- both of these tag values in the request, Amazon Redshift returns a
-- response with the snapshots that have either or both of these tag
-- values associated with them.
describeClusterSnapshots_tagValues :: Lens' DescribeClusterSnapshots (Maybe [Text])
-- | Contains the output from the DescribeClusterSnapshots action.
--
-- See: newDescribeClusterSnapshotsResponse smart
-- constructor.
data DescribeClusterSnapshotsResponse
DescribeClusterSnapshotsResponse' :: Maybe Text -> Maybe [Snapshot] -> Int -> DescribeClusterSnapshotsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeClusterSnapshotsResponse'] :: DescribeClusterSnapshotsResponse -> Maybe Text
-- | A list of Snapshot instances.
[$sel:snapshots:DescribeClusterSnapshotsResponse'] :: DescribeClusterSnapshotsResponse -> Maybe [Snapshot]
-- | The response's http status code.
[$sel:httpStatus:DescribeClusterSnapshotsResponse'] :: DescribeClusterSnapshotsResponse -> Int
-- | Create a value of DescribeClusterSnapshotsResponse 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:
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshotsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:snapshots:DescribeClusterSnapshotsResponse',
-- describeClusterSnapshotsResponse_snapshots - A list of Snapshot
-- instances.
--
-- $sel:httpStatus:DescribeClusterSnapshotsResponse',
-- describeClusterSnapshotsResponse_httpStatus - The response's
-- http status code.
newDescribeClusterSnapshotsResponse :: Int -> DescribeClusterSnapshotsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterSnapshotsResponse_marker :: Lens' DescribeClusterSnapshotsResponse (Maybe Text)
-- | A list of Snapshot instances.
describeClusterSnapshotsResponse_snapshots :: Lens' DescribeClusterSnapshotsResponse (Maybe [Snapshot])
-- | The response's http status code.
describeClusterSnapshotsResponse_httpStatus :: Lens' DescribeClusterSnapshotsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshotsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeClusterSnapshots.DescribeClusterSnapshots
-- | Returns information about Amazon Redshift security groups. If the name
-- of a security group is specified, the response will contain only
-- information about only that security group.
--
-- For information about managing security groups, go to Amazon
-- Redshift Cluster Security Groups in the Amazon Redshift Cluster
-- Management Guide.
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all security groups that match any combination
-- of the specified keys and values. For example, if you have
-- owner and environment for tag keys, and
-- admin and test for tag values, all security groups
-- that have any combination of those values are returned.
--
-- If both tag keys and values are omitted from the request, security
-- groups are returned regardless of whether they have tag keys or values
-- associated with them.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeClusterSecurityGroups
-- | See: newDescribeClusterSecurityGroups smart constructor.
data DescribeClusterSecurityGroups
DescribeClusterSecurityGroups' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> DescribeClusterSecurityGroups
-- | The name of a cluster security group for which you are requesting
-- details. You can specify either the Marker parameter or a
-- ClusterSecurityGroupName parameter, but not both.
--
-- Example: securitygroup1
[$sel:clusterSecurityGroupName:DescribeClusterSecurityGroups'] :: DescribeClusterSecurityGroups -> Maybe Text
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterSecurityGroups request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the
-- ClusterSecurityGroupName parameter or the Marker
-- parameter, but not both.
[$sel:marker:DescribeClusterSecurityGroups'] :: DescribeClusterSecurityGroups -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeClusterSecurityGroups'] :: DescribeClusterSecurityGroups -> Maybe Int
-- | A tag key or keys for which you want to return all matching cluster
-- security groups that are associated with the specified key or keys.
-- For example, suppose that you have security groups that are tagged
-- with keys called owner and environment. If you
-- specify both of these tag keys in the request, Amazon Redshift returns
-- a response with the security groups that have either or both of these
-- tag keys associated with them.
[$sel:tagKeys:DescribeClusterSecurityGroups'] :: DescribeClusterSecurityGroups -> Maybe [Text]
-- | A tag value or values for which you want to return all matching
-- cluster security groups that are associated with the specified tag
-- value or values. For example, suppose that you have security groups
-- that are tagged with values called admin and test.
-- If you specify both of these tag values in the request, Amazon
-- Redshift returns a response with the security groups that have either
-- or both of these tag values associated with them.
[$sel:tagValues:DescribeClusterSecurityGroups'] :: DescribeClusterSecurityGroups -> Maybe [Text]
-- | Create a value of DescribeClusterSecurityGroups 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:
--
-- DescribeClusterSecurityGroups,
-- describeClusterSecurityGroups_clusterSecurityGroupName - The
-- name of a cluster security group for which you are requesting details.
-- You can specify either the Marker parameter or a
-- ClusterSecurityGroupName parameter, but not both.
--
-- Example: securitygroup1
--
-- DescribeClusterSecurityGroups,
-- describeClusterSecurityGroups_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeClusterSecurityGroups request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- Constraints: You can specify either the
-- ClusterSecurityGroupName parameter or the Marker
-- parameter, but not both.
--
-- $sel:maxRecords:DescribeClusterSecurityGroups',
-- describeClusterSecurityGroups_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeClusterSecurityGroups',
-- describeClusterSecurityGroups_tagKeys - A tag key or keys for
-- which you want to return all matching cluster security groups that are
-- associated with the specified key or keys. For example, suppose that
-- you have security groups that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- security groups that have either or both of these tag keys associated
-- with them.
--
-- $sel:tagValues:DescribeClusterSecurityGroups',
-- describeClusterSecurityGroups_tagValues - A tag value or values
-- for which you want to return all matching cluster security groups that
-- are associated with the specified tag value or values. For example,
-- suppose that you have security groups that are tagged with values
-- called admin and test. If you specify both of these
-- tag values in the request, Amazon Redshift returns a response with the
-- security groups that have either or both of these tag values
-- associated with them.
newDescribeClusterSecurityGroups :: DescribeClusterSecurityGroups
-- | The name of a cluster security group for which you are requesting
-- details. You can specify either the Marker parameter or a
-- ClusterSecurityGroupName parameter, but not both.
--
-- Example: securitygroup1
describeClusterSecurityGroups_clusterSecurityGroupName :: Lens' DescribeClusterSecurityGroups (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterSecurityGroups request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the
-- ClusterSecurityGroupName parameter or the Marker
-- parameter, but not both.
describeClusterSecurityGroups_marker :: Lens' DescribeClusterSecurityGroups (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterSecurityGroups_maxRecords :: Lens' DescribeClusterSecurityGroups (Maybe Int)
-- | A tag key or keys for which you want to return all matching cluster
-- security groups that are associated with the specified key or keys.
-- For example, suppose that you have security groups that are tagged
-- with keys called owner and environment. If you
-- specify both of these tag keys in the request, Amazon Redshift returns
-- a response with the security groups that have either or both of these
-- tag keys associated with them.
describeClusterSecurityGroups_tagKeys :: Lens' DescribeClusterSecurityGroups (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- cluster security groups that are associated with the specified tag
-- value or values. For example, suppose that you have security groups
-- that are tagged with values called admin and test.
-- If you specify both of these tag values in the request, Amazon
-- Redshift returns a response with the security groups that have either
-- or both of these tag values associated with them.
describeClusterSecurityGroups_tagValues :: Lens' DescribeClusterSecurityGroups (Maybe [Text])
-- | See: newDescribeClusterSecurityGroupsResponse smart
-- constructor.
data DescribeClusterSecurityGroupsResponse
DescribeClusterSecurityGroupsResponse' :: Maybe [ClusterSecurityGroup] -> Maybe Text -> Int -> DescribeClusterSecurityGroupsResponse
-- | A list of ClusterSecurityGroup instances.
[$sel:clusterSecurityGroups:DescribeClusterSecurityGroupsResponse'] :: DescribeClusterSecurityGroupsResponse -> Maybe [ClusterSecurityGroup]
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeClusterSecurityGroupsResponse'] :: DescribeClusterSecurityGroupsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeClusterSecurityGroupsResponse'] :: DescribeClusterSecurityGroupsResponse -> Int
-- | Create a value of DescribeClusterSecurityGroupsResponse 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:
--
-- DescribeClusterSecurityGroupsResponse,
-- describeClusterSecurityGroupsResponse_clusterSecurityGroups - A
-- list of ClusterSecurityGroup instances.
--
-- DescribeClusterSecurityGroups,
-- describeClusterSecurityGroupsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeClusterSecurityGroupsResponse',
-- describeClusterSecurityGroupsResponse_httpStatus - The
-- response's http status code.
newDescribeClusterSecurityGroupsResponse :: Int -> DescribeClusterSecurityGroupsResponse
-- | A list of ClusterSecurityGroup instances.
describeClusterSecurityGroupsResponse_clusterSecurityGroups :: Lens' DescribeClusterSecurityGroupsResponse (Maybe [ClusterSecurityGroup])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterSecurityGroupsResponse_marker :: Lens' DescribeClusterSecurityGroupsResponse (Maybe Text)
-- | The response's http status code.
describeClusterSecurityGroupsResponse_httpStatus :: Lens' DescribeClusterSecurityGroupsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroupsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeClusterSecurityGroups.DescribeClusterSecurityGroups
-- | Returns a detailed list of parameters contained within the specified
-- Amazon Redshift parameter group. For each parameter the response
-- includes information such as parameter name, description, data type,
-- value, whether the parameter value is modifiable, and so on.
--
-- You can specify source filter to retrieve parameters of only
-- specific type. For example, to retrieve parameters that were modified
-- by a user action such as from ModifyClusterParameterGroup, you can
-- specify source equal to user.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeClusterParameters
-- | See: newDescribeClusterParameters smart constructor.
data DescribeClusterParameters
DescribeClusterParameters' :: Maybe Text -> Maybe Int -> Maybe Text -> Text -> DescribeClusterParameters
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterParameters request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeClusterParameters'] :: DescribeClusterParameters -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeClusterParameters'] :: DescribeClusterParameters -> Maybe Int
-- | The parameter types to return. Specify user to show
-- parameters that are different form the default. Similarly, specify
-- engine-default to show parameters that are the same as the
-- default parameter group.
--
-- Default: All parameter types returned.
--
-- Valid Values: user | engine-default
[$sel:source:DescribeClusterParameters'] :: DescribeClusterParameters -> Maybe Text
-- | The name of a cluster parameter group for which to return details.
[$sel:parameterGroupName:DescribeClusterParameters'] :: DescribeClusterParameters -> Text
-- | Create a value of DescribeClusterParameters 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:
--
-- DescribeClusterParameters,
-- describeClusterParameters_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeClusterParameters request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeClusterParameters',
-- describeClusterParameters_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeClusterParameters,
-- describeClusterParameters_source - The parameter types to
-- return. Specify user to show parameters that are different
-- form the default. Similarly, specify engine-default to show
-- parameters that are the same as the default parameter group.
--
-- Default: All parameter types returned.
--
-- Valid Values: user | engine-default
--
-- DescribeClusterParameters,
-- describeClusterParameters_parameterGroupName - The name of a
-- cluster parameter group for which to return details.
newDescribeClusterParameters :: Text -> DescribeClusterParameters
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterParameters request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeClusterParameters_marker :: Lens' DescribeClusterParameters (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterParameters_maxRecords :: Lens' DescribeClusterParameters (Maybe Int)
-- | The parameter types to return. Specify user to show
-- parameters that are different form the default. Similarly, specify
-- engine-default to show parameters that are the same as the
-- default parameter group.
--
-- Default: All parameter types returned.
--
-- Valid Values: user | engine-default
describeClusterParameters_source :: Lens' DescribeClusterParameters (Maybe Text)
-- | The name of a cluster parameter group for which to return details.
describeClusterParameters_parameterGroupName :: Lens' DescribeClusterParameters Text
-- | Contains the output from the DescribeClusterParameters action.
--
-- See: newDescribeClusterParametersResponse smart
-- constructor.
data DescribeClusterParametersResponse
DescribeClusterParametersResponse' :: Maybe Text -> Maybe [Parameter] -> Int -> DescribeClusterParametersResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeClusterParametersResponse'] :: DescribeClusterParametersResponse -> Maybe Text
-- | A list of Parameter instances. Each instance lists the parameters of
-- one cluster parameter group.
[$sel:parameters:DescribeClusterParametersResponse'] :: DescribeClusterParametersResponse -> Maybe [Parameter]
-- | The response's http status code.
[$sel:httpStatus:DescribeClusterParametersResponse'] :: DescribeClusterParametersResponse -> Int
-- | Create a value of DescribeClusterParametersResponse 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:
--
-- DescribeClusterParameters,
-- describeClusterParametersResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- DescribeClusterParametersResponse,
-- describeClusterParametersResponse_parameters - A list of
-- Parameter instances. Each instance lists the parameters of one cluster
-- parameter group.
--
-- $sel:httpStatus:DescribeClusterParametersResponse',
-- describeClusterParametersResponse_httpStatus - The response's
-- http status code.
newDescribeClusterParametersResponse :: Int -> DescribeClusterParametersResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterParametersResponse_marker :: Lens' DescribeClusterParametersResponse (Maybe Text)
-- | A list of Parameter instances. Each instance lists the parameters of
-- one cluster parameter group.
describeClusterParametersResponse_parameters :: Lens' DescribeClusterParametersResponse (Maybe [Parameter])
-- | The response's http status code.
describeClusterParametersResponse_httpStatus :: Lens' DescribeClusterParametersResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParametersResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeClusterParameters.DescribeClusterParameters
-- | Returns a list of Amazon Redshift parameter groups, including
-- parameter groups you created and the default parameter group. For each
-- parameter group, the response includes the parameter group name,
-- description, and parameter group family name. You can optionally
-- specify a name to retrieve the description of a specific parameter
-- group.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
--
-- If you specify both tag keys and tag values in the same request,
-- Amazon Redshift returns all parameter groups that match any
-- combination of the specified keys and values. For example, if you have
-- owner and environment for tag keys, and
-- admin and test for tag values, all parameter groups
-- that have any combination of those values are returned.
--
-- If both tag keys and values are omitted from the request, parameter
-- groups are returned regardless of whether they have tag keys or values
-- associated with them.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeClusterParameterGroups
-- | See: newDescribeClusterParameterGroups smart
-- constructor.
data DescribeClusterParameterGroups
DescribeClusterParameterGroups' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> DescribeClusterParameterGroups
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterParameterGroups request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
[$sel:marker:DescribeClusterParameterGroups'] :: DescribeClusterParameterGroups -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeClusterParameterGroups'] :: DescribeClusterParameterGroups -> Maybe Int
-- | The name of a specific parameter group for which to return details. By
-- default, details about all parameter groups and the default parameter
-- group are returned.
[$sel:parameterGroupName:DescribeClusterParameterGroups'] :: DescribeClusterParameterGroups -> Maybe Text
-- | A tag key or keys for which you want to return all matching cluster
-- parameter groups that are associated with the specified key or keys.
-- For example, suppose that you have parameter groups that are tagged
-- with keys called owner and environment. If you
-- specify both of these tag keys in the request, Amazon Redshift returns
-- a response with the parameter groups that have either or both of these
-- tag keys associated with them.
[$sel:tagKeys:DescribeClusterParameterGroups'] :: DescribeClusterParameterGroups -> Maybe [Text]
-- | A tag value or values for which you want to return all matching
-- cluster parameter groups that are associated with the specified tag
-- value or values. For example, suppose that you have parameter groups
-- that are tagged with values called admin and test.
-- If you specify both of these tag values in the request, Amazon
-- Redshift returns a response with the parameter groups that have either
-- or both of these tag values associated with them.
[$sel:tagValues:DescribeClusterParameterGroups'] :: DescribeClusterParameterGroups -> Maybe [Text]
-- | Create a value of DescribeClusterParameterGroups 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:
--
-- DescribeClusterParameterGroups,
-- describeClusterParameterGroups_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeClusterParameterGroups request exceed
-- the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeClusterParameterGroups',
-- describeClusterParameterGroups_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeClusterParameterGroups,
-- describeClusterParameterGroups_parameterGroupName - The name of
-- a specific parameter group for which to return details. By default,
-- details about all parameter groups and the default parameter group are
-- returned.
--
-- $sel:tagKeys:DescribeClusterParameterGroups',
-- describeClusterParameterGroups_tagKeys - A tag key or keys for
-- which you want to return all matching cluster parameter groups that
-- are associated with the specified key or keys. For example, suppose
-- that you have parameter groups that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- parameter groups that have either or both of these tag keys associated
-- with them.
--
-- $sel:tagValues:DescribeClusterParameterGroups',
-- describeClusterParameterGroups_tagValues - A tag value or
-- values for which you want to return all matching cluster parameter
-- groups that are associated with the specified tag value or values. For
-- example, suppose that you have parameter groups that are tagged with
-- values called admin and test. If you specify both of
-- these tag values in the request, Amazon Redshift returns a response
-- with the parameter groups that have either or both of these tag values
-- associated with them.
newDescribeClusterParameterGroups :: DescribeClusterParameterGroups
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterParameterGroups request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeClusterParameterGroups_marker :: Lens' DescribeClusterParameterGroups (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterParameterGroups_maxRecords :: Lens' DescribeClusterParameterGroups (Maybe Int)
-- | The name of a specific parameter group for which to return details. By
-- default, details about all parameter groups and the default parameter
-- group are returned.
describeClusterParameterGroups_parameterGroupName :: Lens' DescribeClusterParameterGroups (Maybe Text)
-- | A tag key or keys for which you want to return all matching cluster
-- parameter groups that are associated with the specified key or keys.
-- For example, suppose that you have parameter groups that are tagged
-- with keys called owner and environment. If you
-- specify both of these tag keys in the request, Amazon Redshift returns
-- a response with the parameter groups that have either or both of these
-- tag keys associated with them.
describeClusterParameterGroups_tagKeys :: Lens' DescribeClusterParameterGroups (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- cluster parameter groups that are associated with the specified tag
-- value or values. For example, suppose that you have parameter groups
-- that are tagged with values called admin and test.
-- If you specify both of these tag values in the request, Amazon
-- Redshift returns a response with the parameter groups that have either
-- or both of these tag values associated with them.
describeClusterParameterGroups_tagValues :: Lens' DescribeClusterParameterGroups (Maybe [Text])
-- | Contains the output from the DescribeClusterParameterGroups action.
--
-- See: newDescribeClusterParameterGroupsResponse smart
-- constructor.
data DescribeClusterParameterGroupsResponse
DescribeClusterParameterGroupsResponse' :: Maybe Text -> Maybe [ClusterParameterGroup] -> Int -> DescribeClusterParameterGroupsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
[$sel:marker:DescribeClusterParameterGroupsResponse'] :: DescribeClusterParameterGroupsResponse -> Maybe Text
-- | A list of ClusterParameterGroup instances. Each instance describes one
-- cluster parameter group.
[$sel:parameterGroups:DescribeClusterParameterGroupsResponse'] :: DescribeClusterParameterGroupsResponse -> Maybe [ClusterParameterGroup]
-- | The response's http status code.
[$sel:httpStatus:DescribeClusterParameterGroupsResponse'] :: DescribeClusterParameterGroupsResponse -> Int
-- | Create a value of DescribeClusterParameterGroupsResponse 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:
--
-- DescribeClusterParameterGroups,
-- describeClusterParameterGroupsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:parameterGroups:DescribeClusterParameterGroupsResponse',
-- describeClusterParameterGroupsResponse_parameterGroups - A list
-- of ClusterParameterGroup instances. Each instance describes one
-- cluster parameter group.
--
-- $sel:httpStatus:DescribeClusterParameterGroupsResponse',
-- describeClusterParameterGroupsResponse_httpStatus - The
-- response's http status code.
newDescribeClusterParameterGroupsResponse :: Int -> DescribeClusterParameterGroupsResponse
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterParameterGroupsResponse_marker :: Lens' DescribeClusterParameterGroupsResponse (Maybe Text)
-- | A list of ClusterParameterGroup instances. Each instance describes one
-- cluster parameter group.
describeClusterParameterGroupsResponse_parameterGroups :: Lens' DescribeClusterParameterGroupsResponse (Maybe [ClusterParameterGroup])
-- | The response's http status code.
describeClusterParameterGroupsResponse_httpStatus :: Lens' DescribeClusterParameterGroupsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroupsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeClusterParameterGroups.DescribeClusterParameterGroups
-- | Returns an array of ClusterDbRevision objects.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeClusterDbRevisions
-- | See: newDescribeClusterDbRevisions smart constructor.
data DescribeClusterDbRevisions
DescribeClusterDbRevisions' :: Maybe Text -> Maybe Text -> Maybe Int -> DescribeClusterDbRevisions
-- | A unique identifier for a cluster whose ClusterDbRevisions
-- you are requesting. This parameter is case sensitive. All clusters
-- defined for an account are returned by default.
[$sel:clusterIdentifier:DescribeClusterDbRevisions'] :: DescribeClusterDbRevisions -> Maybe Text
-- | An optional parameter that specifies the starting point for returning
-- a set of response records. When the results of a
-- DescribeClusterDbRevisions request exceed the value specified
-- in MaxRecords, Amazon Redshift returns a value in the
-- marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in
-- the marker parameter and retrying the request.
--
-- Constraints: You can specify either the ClusterIdentifier
-- parameter, or the marker parameter, but not both.
[$sel:marker:DescribeClusterDbRevisions'] :: DescribeClusterDbRevisions -> Maybe Text
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified MaxRecords
-- value, a value is returned in the marker field of the
-- response. You can retrieve the next set of response records by
-- providing the returned marker value in the marker
-- parameter and retrying the request.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
[$sel:maxRecords:DescribeClusterDbRevisions'] :: DescribeClusterDbRevisions -> Maybe Int
-- | Create a value of DescribeClusterDbRevisions 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:
--
-- DescribeClusterDbRevisions,
-- describeClusterDbRevisions_clusterIdentifier - A unique
-- identifier for a cluster whose ClusterDbRevisions you are
-- requesting. This parameter is case sensitive. All clusters defined for
-- an account are returned by default.
--
-- DescribeClusterDbRevisions,
-- describeClusterDbRevisions_marker - An optional parameter that
-- specifies the starting point for returning a set of response records.
-- When the results of a DescribeClusterDbRevisions request
-- exceed the value specified in MaxRecords, Amazon Redshift
-- returns a value in the marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the marker parameter and retrying
-- the request.
--
-- Constraints: You can specify either the ClusterIdentifier
-- parameter, or the marker parameter, but not both.
--
-- $sel:maxRecords:DescribeClusterDbRevisions',
-- describeClusterDbRevisions_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a value is
-- returned in the marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the marker parameter and retrying
-- the request.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
newDescribeClusterDbRevisions :: DescribeClusterDbRevisions
-- | A unique identifier for a cluster whose ClusterDbRevisions
-- you are requesting. This parameter is case sensitive. All clusters
-- defined for an account are returned by default.
describeClusterDbRevisions_clusterIdentifier :: Lens' DescribeClusterDbRevisions (Maybe Text)
-- | An optional parameter that specifies the starting point for returning
-- a set of response records. When the results of a
-- DescribeClusterDbRevisions request exceed the value specified
-- in MaxRecords, Amazon Redshift returns a value in the
-- marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in
-- the marker parameter and retrying the request.
--
-- Constraints: You can specify either the ClusterIdentifier
-- parameter, or the marker parameter, but not both.
describeClusterDbRevisions_marker :: Lens' DescribeClusterDbRevisions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified MaxRecords
-- value, a value is returned in the marker field of the
-- response. You can retrieve the next set of response records by
-- providing the returned marker value in the marker
-- parameter and retrying the request.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterDbRevisions_maxRecords :: Lens' DescribeClusterDbRevisions (Maybe Int)
-- | See: newDescribeClusterDbRevisionsResponse smart
-- constructor.
data DescribeClusterDbRevisionsResponse
DescribeClusterDbRevisionsResponse' :: Maybe [ClusterDbRevision] -> Maybe Text -> Int -> DescribeClusterDbRevisionsResponse
-- | A list of revisions.
[$sel:clusterDbRevisions:DescribeClusterDbRevisionsResponse'] :: DescribeClusterDbRevisionsResponse -> Maybe [ClusterDbRevision]
-- | A string representing the starting point for the next set of
-- revisions. If a value is returned in a response, you can retrieve the
-- next set of revisions by providing the value in the marker
-- parameter and retrying the command. If the marker field is
-- empty, all revisions have already been returned.
[$sel:marker:DescribeClusterDbRevisionsResponse'] :: DescribeClusterDbRevisionsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeClusterDbRevisionsResponse'] :: DescribeClusterDbRevisionsResponse -> Int
-- | Create a value of DescribeClusterDbRevisionsResponse 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:clusterDbRevisions:DescribeClusterDbRevisionsResponse',
-- describeClusterDbRevisionsResponse_clusterDbRevisions - A list
-- of revisions.
--
-- DescribeClusterDbRevisions,
-- describeClusterDbRevisionsResponse_marker - A string
-- representing the starting point for the next set of revisions. If a
-- value is returned in a response, you can retrieve the next set of
-- revisions by providing the value in the marker parameter and
-- retrying the command. If the marker field is empty, all
-- revisions have already been returned.
--
-- $sel:httpStatus:DescribeClusterDbRevisionsResponse',
-- describeClusterDbRevisionsResponse_httpStatus - The response's
-- http status code.
newDescribeClusterDbRevisionsResponse :: Int -> DescribeClusterDbRevisionsResponse
-- | A list of revisions.
describeClusterDbRevisionsResponse_clusterDbRevisions :: Lens' DescribeClusterDbRevisionsResponse (Maybe [ClusterDbRevision])
-- | A string representing the starting point for the next set of
-- revisions. If a value is returned in a response, you can retrieve the
-- next set of revisions by providing the value in the marker
-- parameter and retrying the command. If the marker field is
-- empty, all revisions have already been returned.
describeClusterDbRevisionsResponse_marker :: Lens' DescribeClusterDbRevisionsResponse (Maybe Text)
-- | The response's http status code.
describeClusterDbRevisionsResponse_httpStatus :: Lens' DescribeClusterDbRevisionsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
instance GHC.Generics.Generic Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisionsResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisionsResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisionsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisionsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisionsResponse
instance Amazonka.Pager.AWSPager Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeClusterDbRevisions.DescribeClusterDbRevisions
-- | Describes an authentication profile.
module Amazonka.Redshift.DescribeAuthenticationProfiles
-- | See: newDescribeAuthenticationProfiles smart
-- constructor.
data DescribeAuthenticationProfiles
DescribeAuthenticationProfiles' :: Maybe Text -> DescribeAuthenticationProfiles
-- | The name of the authentication profile to describe. If not specified
-- then all authentication profiles owned by the account are listed.
[$sel:authenticationProfileName:DescribeAuthenticationProfiles'] :: DescribeAuthenticationProfiles -> Maybe Text
-- | Create a value of DescribeAuthenticationProfiles 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:
--
-- DescribeAuthenticationProfiles,
-- describeAuthenticationProfiles_authenticationProfileName - The
-- name of the authentication profile to describe. If not specified then
-- all authentication profiles owned by the account are listed.
newDescribeAuthenticationProfiles :: DescribeAuthenticationProfiles
-- | The name of the authentication profile to describe. If not specified
-- then all authentication profiles owned by the account are listed.
describeAuthenticationProfiles_authenticationProfileName :: Lens' DescribeAuthenticationProfiles (Maybe Text)
-- | See: newDescribeAuthenticationProfilesResponse smart
-- constructor.
data DescribeAuthenticationProfilesResponse
DescribeAuthenticationProfilesResponse' :: Maybe [AuthenticationProfile] -> Int -> DescribeAuthenticationProfilesResponse
-- | The list of authentication profiles.
[$sel:authenticationProfiles:DescribeAuthenticationProfilesResponse'] :: DescribeAuthenticationProfilesResponse -> Maybe [AuthenticationProfile]
-- | The response's http status code.
[$sel:httpStatus:DescribeAuthenticationProfilesResponse'] :: DescribeAuthenticationProfilesResponse -> Int
-- | Create a value of DescribeAuthenticationProfilesResponse 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:authenticationProfiles:DescribeAuthenticationProfilesResponse',
-- describeAuthenticationProfilesResponse_authenticationProfiles -
-- The list of authentication profiles.
--
-- $sel:httpStatus:DescribeAuthenticationProfilesResponse',
-- describeAuthenticationProfilesResponse_httpStatus - The
-- response's http status code.
newDescribeAuthenticationProfilesResponse :: Int -> DescribeAuthenticationProfilesResponse
-- | The list of authentication profiles.
describeAuthenticationProfilesResponse_authenticationProfiles :: Lens' DescribeAuthenticationProfilesResponse (Maybe [AuthenticationProfile])
-- | The response's http status code.
describeAuthenticationProfilesResponse_httpStatus :: Lens' DescribeAuthenticationProfilesResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfiles
instance GHC.Show.Show Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfiles
instance GHC.Read.Read Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfiles
instance GHC.Classes.Eq Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfiles
instance GHC.Generics.Generic Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfilesResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfilesResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfilesResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfilesResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfiles
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfilesResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfiles
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfiles
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfiles
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfiles
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeAuthenticationProfiles.DescribeAuthenticationProfiles
-- | Returns a list of attributes attached to an account
module Amazonka.Redshift.DescribeAccountAttributes
-- | See: newDescribeAccountAttributes smart constructor.
data DescribeAccountAttributes
DescribeAccountAttributes' :: Maybe [Text] -> DescribeAccountAttributes
-- | A list of attribute names.
[$sel:attributeNames:DescribeAccountAttributes'] :: DescribeAccountAttributes -> Maybe [Text]
-- | Create a value of DescribeAccountAttributes 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:attributeNames:DescribeAccountAttributes',
-- describeAccountAttributes_attributeNames - A list of attribute
-- names.
newDescribeAccountAttributes :: DescribeAccountAttributes
-- | A list of attribute names.
describeAccountAttributes_attributeNames :: Lens' DescribeAccountAttributes (Maybe [Text])
-- | See: newDescribeAccountAttributesResponse smart
-- constructor.
data DescribeAccountAttributesResponse
DescribeAccountAttributesResponse' :: Maybe [AccountAttribute] -> Int -> DescribeAccountAttributesResponse
-- | A list of attributes assigned to an account.
[$sel:accountAttributes:DescribeAccountAttributesResponse'] :: DescribeAccountAttributesResponse -> Maybe [AccountAttribute]
-- | The response's http status code.
[$sel:httpStatus:DescribeAccountAttributesResponse'] :: DescribeAccountAttributesResponse -> Int
-- | Create a value of DescribeAccountAttributesResponse 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:accountAttributes:DescribeAccountAttributesResponse',
-- describeAccountAttributesResponse_accountAttributes - A list of
-- attributes assigned to an account.
--
-- $sel:httpStatus:DescribeAccountAttributesResponse',
-- describeAccountAttributesResponse_httpStatus - The response's
-- http status code.
newDescribeAccountAttributesResponse :: Int -> DescribeAccountAttributesResponse
-- | A list of attributes assigned to an account.
describeAccountAttributesResponse_accountAttributes :: Lens' DescribeAccountAttributesResponse (Maybe [AccountAttribute])
-- | The response's http status code.
describeAccountAttributesResponse_httpStatus :: Lens' DescribeAccountAttributesResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributes
instance GHC.Show.Show Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributes
instance GHC.Read.Read Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributes
instance GHC.Classes.Eq Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributes
instance GHC.Generics.Generic Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance GHC.Show.Show Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance GHC.Read.Read Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance GHC.Classes.Eq Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributes
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributesResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributes
instance Control.DeepSeq.NFData Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributes
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributes
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributes
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DescribeAccountAttributes.DescribeAccountAttributes
-- | Deletes a usage limit from a cluster.
module Amazonka.Redshift.DeleteUsageLimit
-- | See: newDeleteUsageLimit smart constructor.
data DeleteUsageLimit
DeleteUsageLimit' :: Text -> DeleteUsageLimit
-- | The 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
-- identifier of the usage limit to delete.
newDeleteUsageLimit :: Text -> DeleteUsageLimit
-- | The identifier of the usage limit to delete.
deleteUsageLimit_usageLimitId :: Lens' DeleteUsageLimit Text
-- | See: newDeleteUsageLimitResponse smart constructor.
data DeleteUsageLimitResponse
DeleteUsageLimitResponse' :: DeleteUsageLimitResponse
-- | Create a value of DeleteUsageLimitResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteUsageLimitResponse :: DeleteUsageLimitResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimit
instance GHC.Show.Show Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimit
instance GHC.Read.Read Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimit
instance GHC.Classes.Eq Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimit
instance GHC.Generics.Generic Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimitResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimitResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimitResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimitResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimit
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimitResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimit
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimit
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimit
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimit
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteUsageLimit.DeleteUsageLimit
-- | Deletes tags from a resource. You must provide the ARN of the resource
-- from which you want to delete the tag or tags.
module Amazonka.Redshift.DeleteTags
-- | Contains the output from the DeleteTags action.
--
-- See: newDeleteTags smart constructor.
data DeleteTags
DeleteTags' :: Text -> [Text] -> DeleteTags
-- | The Amazon Resource Name (ARN) from which you want to remove the tag
-- or tags. For example,
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
[$sel:resourceName:DeleteTags'] :: DeleteTags -> Text
-- | The tag key that you want to delete.
[$sel:tagKeys:DeleteTags'] :: DeleteTags -> [Text]
-- | Create a value of DeleteTags 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:
--
-- DeleteTags, deleteTags_resourceName - The Amazon
-- Resource Name (ARN) from which you want to remove the tag or tags. For
-- example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
--
-- $sel:tagKeys:DeleteTags', deleteTags_tagKeys - The tag
-- key that you want to delete.
newDeleteTags :: Text -> DeleteTags
-- | The Amazon Resource Name (ARN) from which you want to remove the tag
-- or tags. For example,
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
deleteTags_resourceName :: Lens' DeleteTags Text
-- | The tag key that you want to delete.
deleteTags_tagKeys :: Lens' DeleteTags [Text]
-- | See: newDeleteTagsResponse smart constructor.
data DeleteTagsResponse
DeleteTagsResponse' :: DeleteTagsResponse
-- | Create a value of DeleteTagsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteTagsResponse :: DeleteTagsResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteTags.DeleteTags
instance GHC.Show.Show Amazonka.Redshift.DeleteTags.DeleteTags
instance GHC.Read.Read Amazonka.Redshift.DeleteTags.DeleteTags
instance GHC.Classes.Eq Amazonka.Redshift.DeleteTags.DeleteTags
instance GHC.Generics.Generic Amazonka.Redshift.DeleteTags.DeleteTagsResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteTags.DeleteTagsResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteTags.DeleteTagsResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteTags.DeleteTagsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteTags.DeleteTags
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteTags.DeleteTagsResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteTags.DeleteTags
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteTags.DeleteTags
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteTags.DeleteTags
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteTags.DeleteTags
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteTags.DeleteTags
-- | Deletes a snapshot schedule.
module Amazonka.Redshift.DeleteSnapshotSchedule
-- | See: newDeleteSnapshotSchedule smart constructor.
data DeleteSnapshotSchedule
DeleteSnapshotSchedule' :: Text -> DeleteSnapshotSchedule
-- | A unique identifier of the snapshot schedule to delete.
[$sel:scheduleIdentifier:DeleteSnapshotSchedule'] :: DeleteSnapshotSchedule -> Text
-- | Create a value of DeleteSnapshotSchedule 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:
--
-- DeleteSnapshotSchedule,
-- deleteSnapshotSchedule_scheduleIdentifier - A unique identifier
-- of the snapshot schedule to delete.
newDeleteSnapshotSchedule :: Text -> DeleteSnapshotSchedule
-- | A unique identifier of the snapshot schedule to delete.
deleteSnapshotSchedule_scheduleIdentifier :: Lens' DeleteSnapshotSchedule Text
-- | See: newDeleteSnapshotScheduleResponse smart
-- constructor.
data DeleteSnapshotScheduleResponse
DeleteSnapshotScheduleResponse' :: DeleteSnapshotScheduleResponse
-- | Create a value of DeleteSnapshotScheduleResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteSnapshotScheduleResponse :: DeleteSnapshotScheduleResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotSchedule
instance GHC.Show.Show Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotSchedule
instance GHC.Read.Read Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotSchedule
instance GHC.Classes.Eq Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotSchedule
instance GHC.Generics.Generic Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotScheduleResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotScheduleResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotScheduleResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotScheduleResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotSchedule
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotScheduleResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotSchedule
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotSchedule
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotSchedule
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotSchedule
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteSnapshotSchedule.DeleteSnapshotSchedule
-- | Deletes the specified snapshot copy grant.
module Amazonka.Redshift.DeleteSnapshotCopyGrant
-- | The result of the DeleteSnapshotCopyGrant action.
--
-- See: newDeleteSnapshotCopyGrant smart constructor.
data DeleteSnapshotCopyGrant
DeleteSnapshotCopyGrant' :: Text -> DeleteSnapshotCopyGrant
-- | The name of the snapshot copy grant to delete.
[$sel:snapshotCopyGrantName:DeleteSnapshotCopyGrant'] :: DeleteSnapshotCopyGrant -> Text
-- | Create a value of DeleteSnapshotCopyGrant 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:
--
-- DeleteSnapshotCopyGrant,
-- deleteSnapshotCopyGrant_snapshotCopyGrantName - The name of the
-- snapshot copy grant to delete.
newDeleteSnapshotCopyGrant :: Text -> DeleteSnapshotCopyGrant
-- | The name of the snapshot copy grant to delete.
deleteSnapshotCopyGrant_snapshotCopyGrantName :: Lens' DeleteSnapshotCopyGrant Text
-- | See: newDeleteSnapshotCopyGrantResponse smart
-- constructor.
data DeleteSnapshotCopyGrantResponse
DeleteSnapshotCopyGrantResponse' :: DeleteSnapshotCopyGrantResponse
-- | Create a value of DeleteSnapshotCopyGrantResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteSnapshotCopyGrantResponse :: DeleteSnapshotCopyGrantResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance GHC.Show.Show Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance GHC.Read.Read Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance GHC.Classes.Eq Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance GHC.Generics.Generic Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrantResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteSnapshotCopyGrant.DeleteSnapshotCopyGrant
-- | Deletes a scheduled action.
module Amazonka.Redshift.DeleteScheduledAction
-- | See: newDeleteScheduledAction smart constructor.
data DeleteScheduledAction
DeleteScheduledAction' :: Text -> DeleteScheduledAction
-- | The name of the scheduled action to delete.
[$sel:scheduledActionName:DeleteScheduledAction'] :: DeleteScheduledAction -> Text
-- | Create a value of DeleteScheduledAction 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:
--
-- DeleteScheduledAction,
-- deleteScheduledAction_scheduledActionName - The name of the
-- scheduled action to delete.
newDeleteScheduledAction :: Text -> DeleteScheduledAction
-- | The name of the scheduled action to delete.
deleteScheduledAction_scheduledActionName :: Lens' DeleteScheduledAction Text
-- | See: newDeleteScheduledActionResponse smart constructor.
data DeleteScheduledActionResponse
DeleteScheduledActionResponse' :: DeleteScheduledActionResponse
-- | Create a value of DeleteScheduledActionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteScheduledActionResponse :: DeleteScheduledActionResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledAction
instance GHC.Show.Show Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledAction
instance GHC.Read.Read Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledAction
instance GHC.Classes.Eq Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledAction
instance GHC.Generics.Generic Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledActionResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledActionResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledActionResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledActionResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledAction
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledActionResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledAction
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledAction
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledAction
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledAction
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteScheduledAction.DeleteScheduledAction
-- | Deletes a partner integration from a cluster. Data can still flow to
-- the cluster until the integration is deleted at the partner's website.
module Amazonka.Redshift.DeletePartner
-- | See: newDeletePartner smart constructor.
data DeletePartner
DeletePartner' :: Text -> Text -> Text -> Text -> DeletePartner
-- | The Amazon Web Services account ID that owns the cluster.
[$sel:accountId:DeletePartner'] :: DeletePartner -> Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
[$sel:clusterIdentifier:DeletePartner'] :: DeletePartner -> Text
-- | The name of the database that receives data from the partner.
[$sel:databaseName:DeletePartner'] :: DeletePartner -> Text
-- | The name of the partner that is authorized to send data.
[$sel:partnerName:DeletePartner'] :: DeletePartner -> Text
-- | Create a value of DeletePartner 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:
--
-- DeletePartner, deletePartner_accountId - The Amazon Web
-- Services account ID that owns the cluster.
--
-- DeletePartner, deletePartner_clusterIdentifier - The
-- cluster identifier of the cluster that receives data from the partner.
--
-- DeletePartner, deletePartner_databaseName - The name of
-- the database that receives data from the partner.
--
-- DeletePartner, deletePartner_partnerName - The name of
-- the partner that is authorized to send data.
newDeletePartner :: Text -> Text -> Text -> Text -> DeletePartner
-- | The Amazon Web Services account ID that owns the cluster.
deletePartner_accountId :: Lens' DeletePartner Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
deletePartner_clusterIdentifier :: Lens' DeletePartner Text
-- | The name of the database that receives data from the partner.
deletePartner_databaseName :: Lens' DeletePartner Text
-- | The name of the partner that is authorized to send data.
deletePartner_partnerName :: Lens' DeletePartner Text
-- | See: newPartnerIntegrationOutputMessage smart
-- constructor.
data PartnerIntegrationOutputMessage
PartnerIntegrationOutputMessage' :: Maybe Text -> Maybe Text -> PartnerIntegrationOutputMessage
-- | The name of the database that receives data from the partner.
[$sel:databaseName:PartnerIntegrationOutputMessage'] :: PartnerIntegrationOutputMessage -> Maybe Text
-- | The name of the partner that is authorized to send data.
[$sel:partnerName:PartnerIntegrationOutputMessage'] :: PartnerIntegrationOutputMessage -> Maybe Text
-- | Create a value of PartnerIntegrationOutputMessage 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:databaseName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage
-- | The name of the database that receives data from the partner.
partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the partner that is authorized to send data.
partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.DeletePartner.DeletePartner
instance GHC.Show.Show Amazonka.Redshift.DeletePartner.DeletePartner
instance GHC.Read.Read Amazonka.Redshift.DeletePartner.DeletePartner
instance GHC.Classes.Eq Amazonka.Redshift.DeletePartner.DeletePartner
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeletePartner.DeletePartner
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeletePartner.DeletePartner
instance Control.DeepSeq.NFData Amazonka.Redshift.DeletePartner.DeletePartner
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeletePartner.DeletePartner
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeletePartner.DeletePartner
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeletePartner.DeletePartner
-- | Deletes the specified Amazon Redshift HSM configuration.
module Amazonka.Redshift.DeleteHsmConfiguration
-- | See: newDeleteHsmConfiguration smart constructor.
data DeleteHsmConfiguration
DeleteHsmConfiguration' :: Text -> DeleteHsmConfiguration
-- | The identifier of the Amazon Redshift HSM configuration to be deleted.
[$sel:hsmConfigurationIdentifier:DeleteHsmConfiguration'] :: DeleteHsmConfiguration -> Text
-- | Create a value of DeleteHsmConfiguration 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:
--
-- DeleteHsmConfiguration,
-- deleteHsmConfiguration_hsmConfigurationIdentifier - The
-- identifier of the Amazon Redshift HSM configuration to be deleted.
newDeleteHsmConfiguration :: Text -> DeleteHsmConfiguration
-- | The identifier of the Amazon Redshift HSM configuration to be deleted.
deleteHsmConfiguration_hsmConfigurationIdentifier :: Lens' DeleteHsmConfiguration Text
-- | See: newDeleteHsmConfigurationResponse smart
-- constructor.
data DeleteHsmConfigurationResponse
DeleteHsmConfigurationResponse' :: DeleteHsmConfigurationResponse
-- | Create a value of DeleteHsmConfigurationResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteHsmConfigurationResponse :: DeleteHsmConfigurationResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfiguration
instance GHC.Show.Show Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfiguration
instance GHC.Read.Read Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfiguration
instance GHC.Classes.Eq Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfiguration
instance GHC.Generics.Generic Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfigurationResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfigurationResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfigurationResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfiguration
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfiguration
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteHsmConfiguration.DeleteHsmConfiguration
-- | Deletes the specified HSM client certificate.
module Amazonka.Redshift.DeleteHsmClientCertificate
-- | See: newDeleteHsmClientCertificate smart constructor.
data DeleteHsmClientCertificate
DeleteHsmClientCertificate' :: Text -> DeleteHsmClientCertificate
-- | The identifier of the HSM client certificate to be deleted.
[$sel:hsmClientCertificateIdentifier:DeleteHsmClientCertificate'] :: DeleteHsmClientCertificate -> Text
-- | Create a value of DeleteHsmClientCertificate 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:
--
-- DeleteHsmClientCertificate,
-- deleteHsmClientCertificate_hsmClientCertificateIdentifier - The
-- identifier of the HSM client certificate to be deleted.
newDeleteHsmClientCertificate :: Text -> DeleteHsmClientCertificate
-- | The identifier of the HSM client certificate to be deleted.
deleteHsmClientCertificate_hsmClientCertificateIdentifier :: Lens' DeleteHsmClientCertificate Text
-- | See: newDeleteHsmClientCertificateResponse smart
-- constructor.
data DeleteHsmClientCertificateResponse
DeleteHsmClientCertificateResponse' :: DeleteHsmClientCertificateResponse
-- | Create a value of DeleteHsmClientCertificateResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteHsmClientCertificateResponse :: DeleteHsmClientCertificateResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificate
instance GHC.Show.Show Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificate
instance GHC.Read.Read Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificate
instance GHC.Classes.Eq Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificate
instance GHC.Generics.Generic Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificateResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificateResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificateResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificateResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificate
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificateResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificate
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificate
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificate
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificate
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteHsmClientCertificate.DeleteHsmClientCertificate
-- | Deletes an Amazon Redshift event notification subscription.
module Amazonka.Redshift.DeleteEventSubscription
-- | See: newDeleteEventSubscription smart constructor.
data DeleteEventSubscription
DeleteEventSubscription' :: Text -> DeleteEventSubscription
-- | The name of the Amazon Redshift event notification subscription to be
-- deleted.
[$sel:subscriptionName:DeleteEventSubscription'] :: DeleteEventSubscription -> Text
-- | Create a value of DeleteEventSubscription 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:subscriptionName:DeleteEventSubscription',
-- deleteEventSubscription_subscriptionName - The name of the
-- Amazon Redshift event notification subscription to be deleted.
newDeleteEventSubscription :: Text -> DeleteEventSubscription
-- | The name of the Amazon Redshift event notification subscription to be
-- deleted.
deleteEventSubscription_subscriptionName :: Lens' DeleteEventSubscription Text
-- | See: newDeleteEventSubscriptionResponse smart
-- constructor.
data DeleteEventSubscriptionResponse
DeleteEventSubscriptionResponse' :: DeleteEventSubscriptionResponse
-- | Create a value of DeleteEventSubscriptionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteEventSubscriptionResponse :: DeleteEventSubscriptionResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance GHC.Show.Show Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance GHC.Read.Read Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance GHC.Classes.Eq Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance GHC.Generics.Generic Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscriptionResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscription
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteEventSubscription.DeleteEventSubscription
-- | Deletes a Redshift-managed VPC endpoint.
module Amazonka.Redshift.DeleteEndpointAccess
-- | See: newDeleteEndpointAccess smart constructor.
data DeleteEndpointAccess
DeleteEndpointAccess' :: Text -> DeleteEndpointAccess
-- | The Redshift-managed 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 Redshift-managed VPC endpoint to delete.
newDeleteEndpointAccess :: Text -> DeleteEndpointAccess
-- | The Redshift-managed VPC endpoint to delete.
deleteEndpointAccess_endpointName :: Lens' DeleteEndpointAccess Text
-- | Describes a Redshift-managed VPC endpoint.
--
-- See: newEndpointAccess smart constructor.
data EndpointAccess
EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> EndpointAccess
-- | The DNS address of the endpoint.
[$sel:address:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The cluster identifier of the cluster associated with the endpoint.
[$sel:clusterIdentifier:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The time (UTC) that the endpoint was created.
[$sel:endpointCreateTime:EndpointAccess'] :: EndpointAccess -> Maybe ISO8601
-- | The name of the endpoint.
[$sel:endpointName:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The status of the endpoint.
[$sel:endpointStatus:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The port number on which the cluster accepts incoming connections.
[$sel:port:EndpointAccess'] :: EndpointAccess -> Maybe Int
-- | The Amazon Web Services account ID of the owner of the cluster.
[$sel:resourceOwner:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
[$sel:subnetGroupName:EndpointAccess'] :: EndpointAccess -> Maybe Text
[$sel:vpcEndpoint:EndpointAccess'] :: EndpointAccess -> Maybe VpcEndpoint
-- | The security groups associated with the endpoint.
[$sel:vpcSecurityGroups:EndpointAccess'] :: EndpointAccess -> Maybe [VpcSecurityGroupMembership]
-- | 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:clusterIdentifier:EndpointAccess',
-- endpointAccess_clusterIdentifier - The cluster identifier of
-- the cluster associated with the endpoint.
--
-- $sel:endpointCreateTime:EndpointAccess',
-- endpointAccess_endpointCreateTime - The time (UTC) that the
-- endpoint was created.
--
-- $sel:endpointName:EndpointAccess',
-- endpointAccess_endpointName - The name of the endpoint.
--
-- $sel:endpointStatus:EndpointAccess',
-- endpointAccess_endpointStatus - The status of the endpoint.
--
-- $sel:port:EndpointAccess', endpointAccess_port - The
-- port number on which the cluster accepts incoming connections.
--
-- $sel:resourceOwner:EndpointAccess',
-- endpointAccess_resourceOwner - The Amazon Web Services account
-- ID of the owner of the cluster.
--
-- $sel:subnetGroupName:EndpointAccess',
-- endpointAccess_subnetGroupName - The subnet group name where
-- Amazon Redshift chooses to deploy the endpoint.
--
-- $sel:vpcEndpoint:EndpointAccess',
-- endpointAccess_vpcEndpoint - Undocumented member.
--
-- $sel:vpcSecurityGroups:EndpointAccess',
-- endpointAccess_vpcSecurityGroups - The security groups
-- associated with the endpoint.
newEndpointAccess :: EndpointAccess
-- | The DNS address of the endpoint.
endpointAccess_address :: Lens' EndpointAccess (Maybe Text)
-- | The cluster identifier of the cluster associated with the endpoint.
endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text)
-- | The time (UTC) that the endpoint was created.
endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime)
-- | The name of the endpoint.
endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text)
-- | The status of the endpoint.
endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text)
-- | The port number on which the cluster accepts incoming connections.
endpointAccess_port :: Lens' EndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text)
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text)
-- | Undocumented member.
endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint)
-- | The security groups associated with the endpoint.
endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership])
instance GHC.Generics.Generic Amazonka.Redshift.DeleteEndpointAccess.DeleteEndpointAccess
instance GHC.Show.Show Amazonka.Redshift.DeleteEndpointAccess.DeleteEndpointAccess
instance GHC.Read.Read Amazonka.Redshift.DeleteEndpointAccess.DeleteEndpointAccess
instance GHC.Classes.Eq Amazonka.Redshift.DeleteEndpointAccess.DeleteEndpointAccess
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteEndpointAccess.DeleteEndpointAccess
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteEndpointAccess.DeleteEndpointAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteEndpointAccess.DeleteEndpointAccess
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteEndpointAccess.DeleteEndpointAccess
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteEndpointAccess.DeleteEndpointAccess
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteEndpointAccess.DeleteEndpointAccess
-- | Deletes the specified cluster subnet group.
module Amazonka.Redshift.DeleteClusterSubnetGroup
-- | See: newDeleteClusterSubnetGroup smart constructor.
data DeleteClusterSubnetGroup
DeleteClusterSubnetGroup' :: Text -> DeleteClusterSubnetGroup
-- | The name of the cluster subnet group name to be deleted.
[$sel:clusterSubnetGroupName:DeleteClusterSubnetGroup'] :: DeleteClusterSubnetGroup -> Text
-- | Create a value of DeleteClusterSubnetGroup 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:
--
-- DeleteClusterSubnetGroup,
-- deleteClusterSubnetGroup_clusterSubnetGroupName - The name of
-- the cluster subnet group name to be deleted.
newDeleteClusterSubnetGroup :: Text -> DeleteClusterSubnetGroup
-- | The name of the cluster subnet group name to be deleted.
deleteClusterSubnetGroup_clusterSubnetGroupName :: Lens' DeleteClusterSubnetGroup Text
-- | See: newDeleteClusterSubnetGroupResponse smart
-- constructor.
data DeleteClusterSubnetGroupResponse
DeleteClusterSubnetGroupResponse' :: DeleteClusterSubnetGroupResponse
-- | Create a value of DeleteClusterSubnetGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteClusterSubnetGroupResponse :: DeleteClusterSubnetGroupResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance GHC.Show.Show Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance GHC.Read.Read Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance GHC.Classes.Eq Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance GHC.Generics.Generic Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteClusterSubnetGroup.DeleteClusterSubnetGroup
-- | Deletes the specified manual snapshot. The snapshot must be in the
-- available state, with no other users authorized to access the
-- snapshot.
--
-- Unlike automated snapshots, manual snapshots are retained even after
-- you delete your cluster. Amazon Redshift does not delete your manual
-- snapshots. You must delete manual snapshot explicitly to avoid getting
-- charged. If other accounts are authorized to access the snapshot, you
-- must revoke all of the authorizations before you can delete the
-- snapshot.
module Amazonka.Redshift.DeleteClusterSnapshot
-- | See: newDeleteClusterSnapshot smart constructor.
data DeleteClusterSnapshot
DeleteClusterSnapshot' :: Maybe Text -> Text -> DeleteClusterSnapshot
-- | The unique identifier of the cluster the snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
[$sel:snapshotClusterIdentifier:DeleteClusterSnapshot'] :: DeleteClusterSnapshot -> Maybe Text
-- | The unique identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
[$sel:snapshotIdentifier:DeleteClusterSnapshot'] :: DeleteClusterSnapshot -> Text
-- | Create a value of DeleteClusterSnapshot 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:
--
-- DeleteClusterSnapshot,
-- deleteClusterSnapshot_snapshotClusterIdentifier - The unique
-- identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
--
-- DeleteClusterSnapshot,
-- deleteClusterSnapshot_snapshotIdentifier - The unique
-- identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
newDeleteClusterSnapshot :: Text -> DeleteClusterSnapshot
-- | The unique identifier of the cluster the snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
deleteClusterSnapshot_snapshotClusterIdentifier :: Lens' DeleteClusterSnapshot (Maybe Text)
-- | The unique identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
deleteClusterSnapshot_snapshotIdentifier :: Lens' DeleteClusterSnapshot Text
-- | See: newDeleteClusterSnapshotResponse smart constructor.
data DeleteClusterSnapshotResponse
DeleteClusterSnapshotResponse' :: Maybe Snapshot -> Int -> DeleteClusterSnapshotResponse
[$sel:snapshot:DeleteClusterSnapshotResponse'] :: DeleteClusterSnapshotResponse -> Maybe Snapshot
-- | The response's http status code.
[$sel:httpStatus:DeleteClusterSnapshotResponse'] :: DeleteClusterSnapshotResponse -> Int
-- | Create a value of DeleteClusterSnapshotResponse 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:DeleteClusterSnapshotResponse',
-- deleteClusterSnapshotResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:DeleteClusterSnapshotResponse',
-- deleteClusterSnapshotResponse_httpStatus - The response's http
-- status code.
newDeleteClusterSnapshotResponse :: Int -> DeleteClusterSnapshotResponse
-- | Undocumented member.
deleteClusterSnapshotResponse_snapshot :: Lens' DeleteClusterSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
deleteClusterSnapshotResponse_httpStatus :: Lens' DeleteClusterSnapshotResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance GHC.Show.Show Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance GHC.Read.Read Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance GHC.Classes.Eq Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance GHC.Generics.Generic Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshotResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteClusterSnapshot.DeleteClusterSnapshot
-- | Deletes an Amazon Redshift security group.
--
-- You cannot delete a security group that is associated with any
-- clusters. You cannot delete the default security group.
--
-- For information about managing security groups, go to Amazon
-- Redshift Cluster Security Groups in the Amazon Redshift Cluster
-- Management Guide.
module Amazonka.Redshift.DeleteClusterSecurityGroup
-- | See: newDeleteClusterSecurityGroup smart constructor.
data DeleteClusterSecurityGroup
DeleteClusterSecurityGroup' :: Text -> DeleteClusterSecurityGroup
-- | The name of the cluster security group to be deleted.
[$sel:clusterSecurityGroupName:DeleteClusterSecurityGroup'] :: DeleteClusterSecurityGroup -> Text
-- | Create a value of DeleteClusterSecurityGroup 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:
--
-- DeleteClusterSecurityGroup,
-- deleteClusterSecurityGroup_clusterSecurityGroupName - The name
-- of the cluster security group to be deleted.
newDeleteClusterSecurityGroup :: Text -> DeleteClusterSecurityGroup
-- | The name of the cluster security group to be deleted.
deleteClusterSecurityGroup_clusterSecurityGroupName :: Lens' DeleteClusterSecurityGroup Text
-- | See: newDeleteClusterSecurityGroupResponse smart
-- constructor.
data DeleteClusterSecurityGroupResponse
DeleteClusterSecurityGroupResponse' :: DeleteClusterSecurityGroupResponse
-- | Create a value of DeleteClusterSecurityGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteClusterSecurityGroupResponse :: DeleteClusterSecurityGroupResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance GHC.Show.Show Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance GHC.Read.Read Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance GHC.Classes.Eq Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance GHC.Generics.Generic Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteClusterSecurityGroup.DeleteClusterSecurityGroup
-- | Deletes a specified Amazon Redshift parameter group.
--
-- You cannot delete a parameter group if it is associated with a
-- cluster.
module Amazonka.Redshift.DeleteClusterParameterGroup
-- | See: newDeleteClusterParameterGroup smart constructor.
data DeleteClusterParameterGroup
DeleteClusterParameterGroup' :: Text -> DeleteClusterParameterGroup
-- | The name of the parameter group to be deleted.
--
-- Constraints:
--
--
-- - Must be the name of an existing cluster parameter group.
-- - Cannot delete a default cluster parameter group.
--
[$sel:parameterGroupName:DeleteClusterParameterGroup'] :: DeleteClusterParameterGroup -> Text
-- | Create a value of DeleteClusterParameterGroup 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:
--
-- DeleteClusterParameterGroup,
-- deleteClusterParameterGroup_parameterGroupName - The name of
-- the parameter group to be deleted.
--
-- Constraints:
--
--
-- - Must be the name of an existing cluster parameter group.
-- - Cannot delete a default cluster parameter group.
--
newDeleteClusterParameterGroup :: Text -> DeleteClusterParameterGroup
-- | The name of the parameter group to be deleted.
--
-- Constraints:
--
--
-- - Must be the name of an existing cluster parameter group.
-- - Cannot delete a default cluster parameter group.
--
deleteClusterParameterGroup_parameterGroupName :: Lens' DeleteClusterParameterGroup Text
-- | See: newDeleteClusterParameterGroupResponse smart
-- constructor.
data DeleteClusterParameterGroupResponse
DeleteClusterParameterGroupResponse' :: DeleteClusterParameterGroupResponse
-- | Create a value of DeleteClusterParameterGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteClusterParameterGroupResponse :: DeleteClusterParameterGroupResponse
instance GHC.Generics.Generic Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance GHC.Show.Show Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance GHC.Read.Read Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance GHC.Classes.Eq Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance GHC.Generics.Generic Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteClusterParameterGroup.DeleteClusterParameterGroup
-- | Deletes a previously provisioned cluster without its final snapshot
-- being created. A successful response from the web service indicates
-- that the request was received correctly. Use DescribeClusters to
-- monitor the status of the deletion. The delete operation cannot be
-- canceled or reverted once submitted. For more information about
-- managing clusters, go to Amazon Redshift Clusters in the
-- Amazon Redshift Cluster Management Guide.
--
-- If you want to shut down the cluster and retain it for future use, set
-- SkipFinalClusterSnapshot to false and specify a name
-- for FinalClusterSnapshotIdentifier. You can later restore this
-- snapshot to resume using the cluster. If a final cluster snapshot is
-- requested, the status of the cluster will be "final-snapshot" while
-- the snapshot is being taken, then it's "deleting" once Amazon Redshift
-- begins deleting the cluster.
--
-- For more information about managing clusters, go to Amazon Redshift
-- Clusters in the Amazon Redshift Cluster Management Guide.
module Amazonka.Redshift.DeleteCluster
-- | See: newDeleteCluster smart constructor.
data DeleteCluster
DeleteCluster' :: Maybe Text -> Maybe Int -> Maybe Bool -> Text -> DeleteCluster
-- | The identifier of the final snapshot that is to be created immediately
-- before deleting the cluster. If this parameter is provided,
-- SkipFinalClusterSnapshot must be false.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
[$sel:finalClusterSnapshotIdentifier:DeleteCluster'] :: DeleteCluster -> Maybe Text
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
[$sel:finalClusterSnapshotRetentionPeriod:DeleteCluster'] :: DeleteCluster -> Maybe Int
-- | Determines whether a final snapshot of the cluster is created before
-- Amazon Redshift deletes the cluster. If true, a final cluster
-- snapshot is not created. If false, a final cluster snapshot
-- is created before the cluster is deleted.
--
-- The FinalClusterSnapshotIdentifier parameter must be specified
-- if SkipFinalClusterSnapshot is false.
--
-- Default: false
[$sel:skipFinalClusterSnapshot:DeleteCluster'] :: DeleteCluster -> Maybe Bool
-- | The identifier of the cluster to be deleted.
--
-- Constraints:
--
--
-- - Must contain lowercase characters.
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
[$sel:clusterIdentifier:DeleteCluster'] :: DeleteCluster -> Text
-- | Create a value of DeleteCluster 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:finalClusterSnapshotIdentifier:DeleteCluster',
-- deleteCluster_finalClusterSnapshotIdentifier - The identifier
-- of the final snapshot that is to be created immediately before
-- deleting the cluster. If this parameter is provided,
-- SkipFinalClusterSnapshot must be false.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
--
-- $sel:finalClusterSnapshotRetentionPeriod:DeleteCluster',
-- deleteCluster_finalClusterSnapshotRetentionPeriod - The number
-- of days that a manual snapshot is retained. If the value is -1, the
-- manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
--
-- $sel:skipFinalClusterSnapshot:DeleteCluster',
-- deleteCluster_skipFinalClusterSnapshot - Determines whether a
-- final snapshot of the cluster is created before Amazon Redshift
-- deletes the cluster. If true, a final cluster snapshot is not
-- created. If false, a final cluster snapshot is created before
-- the cluster is deleted.
--
-- The FinalClusterSnapshotIdentifier parameter must be specified
-- if SkipFinalClusterSnapshot is false.
--
-- Default: false
--
-- DeleteCluster, deleteCluster_clusterIdentifier - The
-- identifier of the cluster to be deleted.
--
-- Constraints:
--
--
-- - Must contain lowercase characters.
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
newDeleteCluster :: Text -> DeleteCluster
-- | The identifier of the final snapshot that is to be created immediately
-- before deleting the cluster. If this parameter is provided,
-- SkipFinalClusterSnapshot must be false.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
deleteCluster_finalClusterSnapshotIdentifier :: Lens' DeleteCluster (Maybe Text)
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
deleteCluster_finalClusterSnapshotRetentionPeriod :: Lens' DeleteCluster (Maybe Int)
-- | Determines whether a final snapshot of the cluster is created before
-- Amazon Redshift deletes the cluster. If true, a final cluster
-- snapshot is not created. If false, a final cluster snapshot
-- is created before the cluster is deleted.
--
-- The FinalClusterSnapshotIdentifier parameter must be specified
-- if SkipFinalClusterSnapshot is false.
--
-- Default: false
deleteCluster_skipFinalClusterSnapshot :: Lens' DeleteCluster (Maybe Bool)
-- | The identifier of the cluster to be deleted.
--
-- Constraints:
--
--
-- - Must contain lowercase characters.
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
deleteCluster_clusterIdentifier :: Lens' DeleteCluster Text
-- | See: newDeleteClusterResponse smart constructor.
data DeleteClusterResponse
DeleteClusterResponse' :: Maybe Cluster -> Int -> DeleteClusterResponse
[$sel:cluster:DeleteClusterResponse'] :: DeleteClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:DeleteClusterResponse'] :: DeleteClusterResponse -> Int
-- | Create a value of DeleteClusterResponse 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:cluster:DeleteClusterResponse',
-- deleteClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:DeleteClusterResponse',
-- deleteClusterResponse_httpStatus - The response's http status
-- code.
newDeleteClusterResponse :: Int -> DeleteClusterResponse
-- | Undocumented member.
deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
-- | The response's http status code.
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DeleteCluster.DeleteCluster
instance GHC.Show.Show Amazonka.Redshift.DeleteCluster.DeleteCluster
instance GHC.Read.Read Amazonka.Redshift.DeleteCluster.DeleteCluster
instance GHC.Classes.Eq Amazonka.Redshift.DeleteCluster.DeleteCluster
instance GHC.Generics.Generic Amazonka.Redshift.DeleteCluster.DeleteClusterResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteCluster.DeleteClusterResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteCluster.DeleteClusterResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteCluster.DeleteClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteCluster.DeleteCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteCluster.DeleteClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteCluster.DeleteCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteCluster.DeleteCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteCluster.DeleteCluster
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteCluster.DeleteCluster
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteCluster.DeleteCluster
-- | Deletes an authentication profile.
module Amazonka.Redshift.DeleteAuthenticationProfile
-- | See: newDeleteAuthenticationProfile smart constructor.
data DeleteAuthenticationProfile
DeleteAuthenticationProfile' :: Text -> DeleteAuthenticationProfile
-- | The name of the authentication profile to delete.
[$sel:authenticationProfileName:DeleteAuthenticationProfile'] :: DeleteAuthenticationProfile -> Text
-- | Create a value of DeleteAuthenticationProfile 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:
--
-- DeleteAuthenticationProfile,
-- deleteAuthenticationProfile_authenticationProfileName - The
-- name of the authentication profile to delete.
newDeleteAuthenticationProfile :: Text -> DeleteAuthenticationProfile
-- | The name of the authentication profile to delete.
deleteAuthenticationProfile_authenticationProfileName :: Lens' DeleteAuthenticationProfile Text
-- | See: newDeleteAuthenticationProfileResponse smart
-- constructor.
data DeleteAuthenticationProfileResponse
DeleteAuthenticationProfileResponse' :: Maybe Text -> Int -> DeleteAuthenticationProfileResponse
-- | The name of the authentication profile that was deleted.
[$sel:authenticationProfileName:DeleteAuthenticationProfileResponse'] :: DeleteAuthenticationProfileResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteAuthenticationProfileResponse'] :: DeleteAuthenticationProfileResponse -> Int
-- | Create a value of DeleteAuthenticationProfileResponse 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:
--
-- DeleteAuthenticationProfile,
-- deleteAuthenticationProfileResponse_authenticationProfileName -
-- The name of the authentication profile that was deleted.
--
-- $sel:httpStatus:DeleteAuthenticationProfileResponse',
-- deleteAuthenticationProfileResponse_httpStatus - The response's
-- http status code.
newDeleteAuthenticationProfileResponse :: Int -> DeleteAuthenticationProfileResponse
-- | The name of the authentication profile that was deleted.
deleteAuthenticationProfileResponse_authenticationProfileName :: Lens' DeleteAuthenticationProfileResponse (Maybe Text)
-- | The response's http status code.
deleteAuthenticationProfileResponse_httpStatus :: Lens' DeleteAuthenticationProfileResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfile
instance GHC.Show.Show Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfile
instance GHC.Read.Read Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfile
instance GHC.Classes.Eq Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfile
instance GHC.Generics.Generic Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfileResponse
instance GHC.Show.Show Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfileResponse
instance GHC.Read.Read Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfileResponse
instance GHC.Classes.Eq Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfileResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfile
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfileResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfile
instance Control.DeepSeq.NFData Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfile
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfile
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfile
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeleteAuthenticationProfile.DeleteAuthenticationProfile
-- | From a datashare producer account, removes authorization from the
-- specified datashare.
module Amazonka.Redshift.DeauthorizeDataShare
-- | See: newDeauthorizeDataShare smart constructor.
data DeauthorizeDataShare
DeauthorizeDataShare' :: Text -> Text -> DeauthorizeDataShare
-- | The Amazon Resource Name (ARN) of the datashare to remove
-- authorization from.
[$sel:dataShareArn:DeauthorizeDataShare'] :: DeauthorizeDataShare -> Text
-- | The identifier of the data consumer that is to have authorization
-- removed from the datashare. This identifier is an Amazon Web Services
-- account ID or a keyword, such as ADX.
[$sel:consumerIdentifier:DeauthorizeDataShare'] :: DeauthorizeDataShare -> Text
-- | Create a value of DeauthorizeDataShare 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:
--
-- DeauthorizeDataShare, deauthorizeDataShare_dataShareArn
-- - The Amazon Resource Name (ARN) of the datashare to remove
-- authorization from.
--
-- DeauthorizeDataShare,
-- deauthorizeDataShare_consumerIdentifier - The identifier of the
-- data consumer that is to have authorization removed from the
-- datashare. This identifier is an Amazon Web Services account ID or a
-- keyword, such as ADX.
newDeauthorizeDataShare :: Text -> Text -> DeauthorizeDataShare
-- | The Amazon Resource Name (ARN) of the datashare to remove
-- authorization from.
deauthorizeDataShare_dataShareArn :: Lens' DeauthorizeDataShare Text
-- | The identifier of the data consumer that is to have authorization
-- removed from the datashare. This identifier is an Amazon Web Services
-- account ID or a keyword, such as ADX.
deauthorizeDataShare_consumerIdentifier :: Lens' DeauthorizeDataShare Text
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
[$sel:allowPubliclyAccessibleConsumers:DataShare'] :: DataShare -> Maybe Bool
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
[$sel:dataShareArn:DataShare'] :: DataShare -> Maybe Text
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
[$sel:dataShareAssociations:DataShare'] :: DataShare -> Maybe [DataShareAssociation]
-- | The identifier of a datashare to show its managing entity.
[$sel:managedBy:DataShare'] :: DataShare -> Maybe Text
-- | The Amazon Resource Name (ARN) of the producer.
[$sel:producerArn:DataShare'] :: DataShare -> Maybe Text
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.DeauthorizeDataShare.DeauthorizeDataShare
instance GHC.Show.Show Amazonka.Redshift.DeauthorizeDataShare.DeauthorizeDataShare
instance GHC.Read.Read Amazonka.Redshift.DeauthorizeDataShare.DeauthorizeDataShare
instance GHC.Classes.Eq Amazonka.Redshift.DeauthorizeDataShare.DeauthorizeDataShare
instance Amazonka.Types.AWSRequest Amazonka.Redshift.DeauthorizeDataShare.DeauthorizeDataShare
instance Data.Hashable.Class.Hashable Amazonka.Redshift.DeauthorizeDataShare.DeauthorizeDataShare
instance Control.DeepSeq.NFData Amazonka.Redshift.DeauthorizeDataShare.DeauthorizeDataShare
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.DeauthorizeDataShare.DeauthorizeDataShare
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.DeauthorizeDataShare.DeauthorizeDataShare
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.DeauthorizeDataShare.DeauthorizeDataShare
-- | Creates a usage limit for a specified Amazon Redshift feature on a
-- cluster. The usage limit is identified by the returned usage limit
-- identifier.
module Amazonka.Redshift.CreateUsageLimit
-- | See: newCreateUsageLimit smart constructor.
data CreateUsageLimit
CreateUsageLimit' :: Maybe UsageLimitBreachAction -> Maybe UsageLimitPeriod -> Maybe [Tag] -> Text -> UsageLimitFeatureType -> UsageLimitLimitType -> Integer -> CreateUsageLimit
-- | The action that Amazon Redshift takes when the limit is reached. The
-- default is log. For more information about this parameter, see
-- UsageLimit.
[$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
-- | A list of tag instances.
[$sel:tags:CreateUsageLimit'] :: CreateUsageLimit -> Maybe [Tag]
-- | The identifier of the cluster that you want to limit usage.
[$sel:clusterIdentifier:CreateUsageLimit'] :: CreateUsageLimit -> Text
-- | The Amazon Redshift feature that you want to limit.
[$sel:featureType:CreateUsageLimit'] :: CreateUsageLimit -> UsageLimitFeatureType
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size. If FeatureType is
-- spectrum, then LimitType must be
-- data-scanned. If FeatureType is
-- concurrency-scaling, then LimitType must be
-- time. If FeatureType is
-- cross-region-datasharing, then LimitType must be
-- data-scanned.
[$sel:limitType:CreateUsageLimit'] :: CreateUsageLimit -> UsageLimitLimitType
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB). The value must be a
-- positive number.
[$sel:amount:CreateUsageLimit'] :: CreateUsageLimit -> Integer
-- | 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 takes when the limit is reached. The
-- default is log. For more information about this parameter, see
-- UsageLimit.
--
-- CreateUsageLimit, createUsageLimit_period - The time
-- period that the amount applies to. A weekly period begins on
-- Sunday. The default is monthly.
--
-- CreateUsageLimit, createUsageLimit_tags - A list of tag
-- instances.
--
-- CreateUsageLimit, createUsageLimit_clusterIdentifier -
-- The identifier of the cluster that you want to limit usage.
--
-- CreateUsageLimit, createUsageLimit_featureType - The
-- Amazon Redshift feature that you want to limit.
--
-- CreateUsageLimit, createUsageLimit_limitType - The type
-- of limit. Depending on the feature type, this can be based on a time
-- duration or data size. If FeatureType is spectrum,
-- then LimitType must be data-scanned. If
-- FeatureType is concurrency-scaling, then
-- LimitType must be time. If FeatureType is
-- cross-region-datasharing, then LimitType must be
-- data-scanned.
--
-- CreateUsageLimit, createUsageLimit_amount - The limit
-- amount. If time-based, this amount is in minutes. If data-based, this
-- amount is in terabytes (TB). The value must be a positive number.
newCreateUsageLimit :: Text -> UsageLimitFeatureType -> UsageLimitLimitType -> Integer -> CreateUsageLimit
-- | The action that Amazon Redshift takes when the limit is reached. The
-- default is log. For more information about this parameter, see
-- UsageLimit.
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)
-- | A list of tag instances.
createUsageLimit_tags :: Lens' CreateUsageLimit (Maybe [Tag])
-- | The identifier of the cluster that you want to limit usage.
createUsageLimit_clusterIdentifier :: Lens' CreateUsageLimit Text
-- | The Amazon Redshift feature that you want to limit.
createUsageLimit_featureType :: Lens' CreateUsageLimit UsageLimitFeatureType
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size. If FeatureType is
-- spectrum, then LimitType must be
-- data-scanned. If FeatureType is
-- concurrency-scaling, then LimitType must be
-- time. If FeatureType is
-- cross-region-datasharing, then LimitType must be
-- data-scanned.
createUsageLimit_limitType :: Lens' CreateUsageLimit UsageLimitLimitType
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB). The value must be a
-- positive number.
createUsageLimit_amount :: Lens' CreateUsageLimit Integer
-- | Describes a usage limit object for a cluster.
--
-- See: newUsageLimit smart constructor.
data UsageLimit
UsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Maybe Text -> Maybe UsageLimitFeatureType -> Maybe UsageLimitLimitType -> Maybe UsageLimitPeriod -> Maybe [Tag] -> Maybe Text -> UsageLimit
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
[$sel:amount:UsageLimit'] :: UsageLimit -> Maybe Integer
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
[$sel:breachAction:UsageLimit'] :: UsageLimit -> Maybe UsageLimitBreachAction
-- | The identifier of the cluster with a usage limit.
[$sel:clusterIdentifier:UsageLimit'] :: UsageLimit -> Maybe Text
-- | The Amazon Redshift feature to which the limit applies.
[$sel:featureType:UsageLimit'] :: UsageLimit -> Maybe UsageLimitFeatureType
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
[$sel:limitType:UsageLimit'] :: UsageLimit -> Maybe UsageLimitLimitType
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
[$sel:period:UsageLimit'] :: UsageLimit -> Maybe UsageLimitPeriod
-- | A list of tag instances.
[$sel:tags:UsageLimit'] :: UsageLimit -> Maybe [Tag]
-- | The identifier of the usage limit.
[$sel:usageLimitId:UsageLimit'] :: UsageLimit -> Maybe Text
-- | 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 minutes. If data-based, this
-- amount is in terabytes (TB).
--
-- $sel:breachAction:UsageLimit', usageLimit_breachAction -
-- The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
--
-- $sel:clusterIdentifier:UsageLimit',
-- usageLimit_clusterIdentifier - The identifier of the cluster
-- with a usage limit.
--
-- $sel:featureType:UsageLimit', usageLimit_featureType -
-- The Amazon Redshift feature to which the limit applies.
--
-- $sel:limitType:UsageLimit', usageLimit_limitType - The
-- type of limit. Depending on the feature type, this can be based on a
-- time duration or data size.
--
-- $sel:period:UsageLimit', usageLimit_period - The time
-- period that the amount applies to. A weekly period begins on
-- Sunday. The default is monthly.
--
-- $sel:tags:UsageLimit', usageLimit_tags - A list of tag
-- instances.
--
-- $sel:usageLimitId:UsageLimit', usageLimit_usageLimitId -
-- The identifier of the usage limit.
newUsageLimit :: UsageLimit
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
usageLimit_amount :: Lens' UsageLimit (Maybe Integer)
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction)
-- | The identifier of the cluster with a usage limit.
usageLimit_clusterIdentifier :: Lens' UsageLimit (Maybe Text)
-- | The Amazon Redshift feature to which the limit applies.
usageLimit_featureType :: Lens' UsageLimit (Maybe UsageLimitFeatureType)
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
usageLimit_limitType :: Lens' UsageLimit (Maybe UsageLimitLimitType)
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod)
-- | A list of tag instances.
usageLimit_tags :: Lens' UsageLimit (Maybe [Tag])
-- | The identifier of the usage limit.
usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.CreateUsageLimit.CreateUsageLimit
instance GHC.Show.Show Amazonka.Redshift.CreateUsageLimit.CreateUsageLimit
instance GHC.Read.Read Amazonka.Redshift.CreateUsageLimit.CreateUsageLimit
instance GHC.Classes.Eq Amazonka.Redshift.CreateUsageLimit.CreateUsageLimit
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateUsageLimit.CreateUsageLimit
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateUsageLimit.CreateUsageLimit
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateUsageLimit.CreateUsageLimit
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateUsageLimit.CreateUsageLimit
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateUsageLimit.CreateUsageLimit
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateUsageLimit.CreateUsageLimit
-- | Adds tags to a cluster.
--
-- A resource can have up to 50 tags. If you try to create more than 50
-- tags for a resource, you will receive an error and the attempt will
-- fail.
--
-- If you specify a key that already exists for the resource, the value
-- for that key will be updated with the new value.
module Amazonka.Redshift.CreateTags
-- | Contains the output from the CreateTags action.
--
-- See: newCreateTags smart constructor.
data CreateTags
CreateTags' :: Text -> [Tag] -> CreateTags
-- | The Amazon Resource Name (ARN) to which you want to add the tag or
-- tags. For example,
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
[$sel:resourceName:CreateTags'] :: CreateTags -> Text
-- | One or more name/value pairs to add as tags to the specified resource.
-- Each tag name is passed in with the parameter Key and the
-- corresponding value is passed in with the parameter Value.
-- The Key and Value parameters are separated by a
-- comma (,). Separate multiple tags with a space. For example,
-- --tags "Key"="owner","Value"="admin"
-- "Key"="environment","Value"="test" "Key"="version","Value"="1.0".
[$sel:tags:CreateTags'] :: CreateTags -> [Tag]
-- | Create a value of CreateTags 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:
--
-- CreateTags, createTags_resourceName - The Amazon
-- Resource Name (ARN) to which you want to add the tag or tags. For
-- example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
--
-- CreateTags, createTags_tags - One or more name/value
-- pairs to add as tags to the specified resource. Each tag name is
-- passed in with the parameter Key and the corresponding value
-- is passed in with the parameter Value. The Key and
-- Value parameters are separated by a comma (,). Separate
-- multiple tags with a space. For example, --tags
-- "Key"="owner","Value"="admin" "Key"="environment","Value"="test"
-- "Key"="version","Value"="1.0".
newCreateTags :: Text -> CreateTags
-- | The Amazon Resource Name (ARN) to which you want to add the tag or
-- tags. For example,
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
createTags_resourceName :: Lens' CreateTags Text
-- | One or more name/value pairs to add as tags to the specified resource.
-- Each tag name is passed in with the parameter Key and the
-- corresponding value is passed in with the parameter Value.
-- The Key and Value parameters are separated by a
-- comma (,). Separate multiple tags with a space. For example,
-- --tags "Key"="owner","Value"="admin"
-- "Key"="environment","Value"="test" "Key"="version","Value"="1.0".
createTags_tags :: Lens' CreateTags [Tag]
-- | See: newCreateTagsResponse smart constructor.
data CreateTagsResponse
CreateTagsResponse' :: CreateTagsResponse
-- | Create a value of CreateTagsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newCreateTagsResponse :: CreateTagsResponse
instance GHC.Generics.Generic Amazonka.Redshift.CreateTags.CreateTags
instance GHC.Show.Show Amazonka.Redshift.CreateTags.CreateTags
instance GHC.Read.Read Amazonka.Redshift.CreateTags.CreateTags
instance GHC.Classes.Eq Amazonka.Redshift.CreateTags.CreateTags
instance GHC.Generics.Generic Amazonka.Redshift.CreateTags.CreateTagsResponse
instance GHC.Show.Show Amazonka.Redshift.CreateTags.CreateTagsResponse
instance GHC.Read.Read Amazonka.Redshift.CreateTags.CreateTagsResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateTags.CreateTagsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateTags.CreateTags
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateTags.CreateTagsResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateTags.CreateTags
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateTags.CreateTags
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateTags.CreateTags
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateTags.CreateTags
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateTags.CreateTags
-- | Create a snapshot schedule that can be associated to a cluster and
-- which overrides the default system backup schedule.
module Amazonka.Redshift.CreateSnapshotSchedule
-- | See: newCreateSnapshotSchedule smart constructor.
data CreateSnapshotSchedule
CreateSnapshotSchedule' :: Maybe Bool -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Tag] -> CreateSnapshotSchedule
[$sel:dryRun:CreateSnapshotSchedule'] :: CreateSnapshotSchedule -> Maybe Bool
[$sel:nextInvocations:CreateSnapshotSchedule'] :: CreateSnapshotSchedule -> Maybe Int
-- | The definition of the snapshot schedule. The definition is made up of
-- schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
[$sel:scheduleDefinitions:CreateSnapshotSchedule'] :: CreateSnapshotSchedule -> Maybe [Text]
-- | The description of the snapshot schedule.
[$sel:scheduleDescription:CreateSnapshotSchedule'] :: CreateSnapshotSchedule -> Maybe Text
-- | A unique identifier for a snapshot schedule. Only alphanumeric
-- characters are allowed for the identifier.
[$sel:scheduleIdentifier:CreateSnapshotSchedule'] :: CreateSnapshotSchedule -> Maybe Text
-- | An optional set of tags you can use to search for the schedule.
[$sel:tags:CreateSnapshotSchedule'] :: CreateSnapshotSchedule -> Maybe [Tag]
-- | Create a value of CreateSnapshotSchedule 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:dryRun:CreateSnapshotSchedule',
-- createSnapshotSchedule_dryRun -
--
-- CreateSnapshotSchedule,
-- createSnapshotSchedule_nextInvocations -
--
-- CreateSnapshotSchedule,
-- createSnapshotSchedule_scheduleDefinitions - The definition of
-- the snapshot schedule. The definition is made up of schedule
-- expressions, for example "cron(30 12 *)" or "rate(12 hours)".
--
-- CreateSnapshotSchedule,
-- createSnapshotSchedule_scheduleDescription - The description of
-- the snapshot schedule.
--
-- CreateSnapshotSchedule,
-- createSnapshotSchedule_scheduleIdentifier - A unique identifier
-- for a snapshot schedule. Only alphanumeric characters are allowed for
-- the identifier.
--
-- CreateSnapshotSchedule, createSnapshotSchedule_tags - An
-- optional set of tags you can use to search for the schedule.
newCreateSnapshotSchedule :: CreateSnapshotSchedule
createSnapshotSchedule_dryRun :: Lens' CreateSnapshotSchedule (Maybe Bool)
createSnapshotSchedule_nextInvocations :: Lens' CreateSnapshotSchedule (Maybe Int)
-- | The definition of the snapshot schedule. The definition is made up of
-- schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
createSnapshotSchedule_scheduleDefinitions :: Lens' CreateSnapshotSchedule (Maybe [Text])
-- | The description of the snapshot schedule.
createSnapshotSchedule_scheduleDescription :: Lens' CreateSnapshotSchedule (Maybe Text)
-- | A unique identifier for a snapshot schedule. Only alphanumeric
-- characters are allowed for the identifier.
createSnapshotSchedule_scheduleIdentifier :: Lens' CreateSnapshotSchedule (Maybe Text)
-- | An optional set of tags you can use to search for the schedule.
createSnapshotSchedule_tags :: Lens' CreateSnapshotSchedule (Maybe [Tag])
-- | Describes a snapshot schedule. You can set a regular interval for
-- creating snapshots of a cluster. You can also schedule snapshots for
-- specific dates.
--
-- See: newSnapshotSchedule smart constructor.
data SnapshotSchedule
SnapshotSchedule' :: Maybe Int -> Maybe [ClusterAssociatedToSchedule] -> Maybe [ISO8601] -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Tag] -> SnapshotSchedule
-- | The number of clusters associated with the schedule.
[$sel:associatedClusterCount:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Int
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
[$sel:associatedClusters:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [ClusterAssociatedToSchedule]
[$sel:nextInvocations:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [ISO8601]
-- | A list of ScheduleDefinitions.
[$sel:scheduleDefinitions:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [Text]
-- | The description of the schedule.
[$sel:scheduleDescription:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Text
-- | A unique identifier for the schedule.
[$sel:scheduleIdentifier:SnapshotSchedule'] :: SnapshotSchedule -> Maybe Text
-- | An optional set of tags describing the schedule.
[$sel:tags:SnapshotSchedule'] :: SnapshotSchedule -> Maybe [Tag]
-- | Create a value of SnapshotSchedule 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:associatedClusterCount:SnapshotSchedule',
-- snapshotSchedule_associatedClusterCount - The number of
-- clusters associated with the schedule.
--
-- $sel:associatedClusters:SnapshotSchedule',
-- snapshotSchedule_associatedClusters - A list of clusters
-- associated with the schedule. A maximum of 100 clusters is returned.
--
-- $sel:nextInvocations:SnapshotSchedule',
-- snapshotSchedule_nextInvocations -
--
-- $sel:scheduleDefinitions:SnapshotSchedule',
-- snapshotSchedule_scheduleDefinitions - A list of
-- ScheduleDefinitions.
--
-- $sel:scheduleDescription:SnapshotSchedule',
-- snapshotSchedule_scheduleDescription - The description of the
-- schedule.
--
-- $sel:scheduleIdentifier:SnapshotSchedule',
-- snapshotSchedule_scheduleIdentifier - A unique identifier for
-- the schedule.
--
-- $sel:tags:SnapshotSchedule', snapshotSchedule_tags - An
-- optional set of tags describing the schedule.
newSnapshotSchedule :: SnapshotSchedule
-- | The number of clusters associated with the schedule.
snapshotSchedule_associatedClusterCount :: Lens' SnapshotSchedule (Maybe Int)
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
snapshotSchedule_associatedClusters :: Lens' SnapshotSchedule (Maybe [ClusterAssociatedToSchedule])
snapshotSchedule_nextInvocations :: Lens' SnapshotSchedule (Maybe [UTCTime])
-- | A list of ScheduleDefinitions.
snapshotSchedule_scheduleDefinitions :: Lens' SnapshotSchedule (Maybe [Text])
-- | The description of the schedule.
snapshotSchedule_scheduleDescription :: Lens' SnapshotSchedule (Maybe Text)
-- | A unique identifier for the schedule.
snapshotSchedule_scheduleIdentifier :: Lens' SnapshotSchedule (Maybe Text)
-- | An optional set of tags describing the schedule.
snapshotSchedule_tags :: Lens' SnapshotSchedule (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.Redshift.CreateSnapshotSchedule.CreateSnapshotSchedule
instance GHC.Show.Show Amazonka.Redshift.CreateSnapshotSchedule.CreateSnapshotSchedule
instance GHC.Read.Read Amazonka.Redshift.CreateSnapshotSchedule.CreateSnapshotSchedule
instance GHC.Classes.Eq Amazonka.Redshift.CreateSnapshotSchedule.CreateSnapshotSchedule
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateSnapshotSchedule.CreateSnapshotSchedule
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateSnapshotSchedule.CreateSnapshotSchedule
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateSnapshotSchedule.CreateSnapshotSchedule
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateSnapshotSchedule.CreateSnapshotSchedule
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateSnapshotSchedule.CreateSnapshotSchedule
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateSnapshotSchedule.CreateSnapshotSchedule
-- | Creates a snapshot copy grant that permits Amazon Redshift to use an
-- encrypted symmetric key from Key Management Service (KMS) to encrypt
-- copied snapshots in a destination region.
--
-- For more information about managing snapshot copy grants, go to
-- Amazon Redshift Database Encryption in the Amazon Redshift
-- Cluster Management Guide.
module Amazonka.Redshift.CreateSnapshotCopyGrant
-- | The result of the CreateSnapshotCopyGrant action.
--
-- See: newCreateSnapshotCopyGrant smart constructor.
data CreateSnapshotCopyGrant
CreateSnapshotCopyGrant' :: Maybe Text -> Maybe [Tag] -> Text -> CreateSnapshotCopyGrant
-- | The unique identifier of the encrypted symmetric key to which to grant
-- Amazon Redshift permission. If no key is specified, the default key is
-- used.
[$sel:kmsKeyId:CreateSnapshotCopyGrant'] :: CreateSnapshotCopyGrant -> Maybe Text
-- | A list of tag instances.
[$sel:tags:CreateSnapshotCopyGrant'] :: CreateSnapshotCopyGrant -> Maybe [Tag]
-- | The name of the snapshot copy grant. This name must be unique in the
-- region for the Amazon Web Services account.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
[$sel:snapshotCopyGrantName:CreateSnapshotCopyGrant'] :: CreateSnapshotCopyGrant -> Text
-- | Create a value of CreateSnapshotCopyGrant 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:
--
-- CreateSnapshotCopyGrant,
-- createSnapshotCopyGrant_kmsKeyId - The unique identifier of the
-- encrypted symmetric key to which to grant Amazon Redshift permission.
-- If no key is specified, the default key is used.
--
-- CreateSnapshotCopyGrant, createSnapshotCopyGrant_tags -
-- A list of tag instances.
--
-- CreateSnapshotCopyGrant,
-- createSnapshotCopyGrant_snapshotCopyGrantName - The name of the
-- snapshot copy grant. This name must be unique in the region for the
-- Amazon Web Services account.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
newCreateSnapshotCopyGrant :: Text -> CreateSnapshotCopyGrant
-- | The unique identifier of the encrypted symmetric key to which to grant
-- Amazon Redshift permission. If no key is specified, the default key is
-- used.
createSnapshotCopyGrant_kmsKeyId :: Lens' CreateSnapshotCopyGrant (Maybe Text)
-- | A list of tag instances.
createSnapshotCopyGrant_tags :: Lens' CreateSnapshotCopyGrant (Maybe [Tag])
-- | The name of the snapshot copy grant. This name must be unique in the
-- region for the Amazon Web Services account.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
createSnapshotCopyGrant_snapshotCopyGrantName :: Lens' CreateSnapshotCopyGrant Text
-- | See: newCreateSnapshotCopyGrantResponse smart
-- constructor.
data CreateSnapshotCopyGrantResponse
CreateSnapshotCopyGrantResponse' :: Maybe SnapshotCopyGrant -> Int -> CreateSnapshotCopyGrantResponse
[$sel:snapshotCopyGrant:CreateSnapshotCopyGrantResponse'] :: CreateSnapshotCopyGrantResponse -> Maybe SnapshotCopyGrant
-- | The response's http status code.
[$sel:httpStatus:CreateSnapshotCopyGrantResponse'] :: CreateSnapshotCopyGrantResponse -> Int
-- | Create a value of CreateSnapshotCopyGrantResponse 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:snapshotCopyGrant:CreateSnapshotCopyGrantResponse',
-- createSnapshotCopyGrantResponse_snapshotCopyGrant -
-- Undocumented member.
--
-- $sel:httpStatus:CreateSnapshotCopyGrantResponse',
-- createSnapshotCopyGrantResponse_httpStatus - The response's
-- http status code.
newCreateSnapshotCopyGrantResponse :: Int -> CreateSnapshotCopyGrantResponse
-- | Undocumented member.
createSnapshotCopyGrantResponse_snapshotCopyGrant :: Lens' CreateSnapshotCopyGrantResponse (Maybe SnapshotCopyGrant)
-- | The response's http status code.
createSnapshotCopyGrantResponse_httpStatus :: Lens' CreateSnapshotCopyGrantResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance GHC.Show.Show Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance GHC.Read.Read Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance GHC.Classes.Eq Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance GHC.Generics.Generic Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
instance GHC.Show.Show Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
instance GHC.Read.Read Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrantResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateSnapshotCopyGrant.CreateSnapshotCopyGrant
-- | Creates a scheduled action. A scheduled action contains a schedule and
-- an Amazon Redshift API action. For example, you can create a schedule
-- of when to run the ResizeCluster API operation.
module Amazonka.Redshift.CreateScheduledAction
-- | See: newCreateScheduledAction smart constructor.
data CreateScheduledAction
CreateScheduledAction' :: Maybe Bool -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Text -> ScheduledActionType -> Text -> Text -> CreateScheduledAction
-- | If true, the schedule is enabled. If false, the scheduled action does
-- not trigger. For more information about state of the
-- scheduled action, see ScheduledAction.
[$sel:enable:CreateScheduledAction'] :: CreateScheduledAction -> Maybe Bool
-- | The end time in UTC of the scheduled action. After this time, the
-- scheduled action does not trigger. For more information about this
-- parameter, see ScheduledAction.
[$sel:endTime:CreateScheduledAction'] :: CreateScheduledAction -> Maybe ISO8601
-- | The description of the scheduled action.
[$sel:scheduledActionDescription:CreateScheduledAction'] :: CreateScheduledAction -> Maybe Text
-- | The start time in UTC of the scheduled action. Before this time, the
-- scheduled action does not trigger. For more information about this
-- parameter, see ScheduledAction.
[$sel:startTime:CreateScheduledAction'] :: CreateScheduledAction -> Maybe ISO8601
-- | The name of the scheduled action. The name must be unique within an
-- account. For more information about this parameter, see
-- ScheduledAction.
[$sel:scheduledActionName:CreateScheduledAction'] :: CreateScheduledAction -> Text
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters. For more information about this parameter, see
-- ScheduledAction.
[$sel:targetAction:CreateScheduledAction'] :: CreateScheduledAction -> ScheduledActionType
-- | The schedule in at( ) or cron( ) format. For more
-- information about this parameter, see ScheduledAction.
[$sel:schedule:CreateScheduledAction'] :: CreateScheduledAction -> Text
-- | The IAM role to assume to run the target action. For more information
-- about this parameter, see ScheduledAction.
[$sel:iamRole:CreateScheduledAction'] :: CreateScheduledAction -> Text
-- | Create a value of CreateScheduledAction 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:enable:CreateScheduledAction',
-- createScheduledAction_enable - If true, the schedule is
-- enabled. If false, the scheduled action does not trigger. For more
-- information about state of the scheduled action, see
-- ScheduledAction.
--
-- CreateScheduledAction, createScheduledAction_endTime -
-- The end time in UTC of the scheduled action. After this time, the
-- scheduled action does not trigger. For more information about this
-- parameter, see ScheduledAction.
--
-- CreateScheduledAction,
-- createScheduledAction_scheduledActionDescription - The
-- description of the scheduled action.
--
-- CreateScheduledAction, createScheduledAction_startTime -
-- The start time in UTC of the scheduled action. Before this time, the
-- scheduled action does not trigger. For more information about this
-- parameter, see ScheduledAction.
--
-- CreateScheduledAction,
-- createScheduledAction_scheduledActionName - The name of the
-- scheduled action. The name must be unique within an account. For more
-- information about this parameter, see ScheduledAction.
--
-- CreateScheduledAction,
-- createScheduledAction_targetAction - A JSON format string of
-- the Amazon Redshift API operation with input parameters. For more
-- information about this parameter, see ScheduledAction.
--
-- CreateScheduledAction, createScheduledAction_schedule -
-- The schedule in at( ) or cron( ) format. For more
-- information about this parameter, see ScheduledAction.
--
-- CreateScheduledAction, createScheduledAction_iamRole -
-- The IAM role to assume to run the target action. For more information
-- about this parameter, see ScheduledAction.
newCreateScheduledAction :: Text -> ScheduledActionType -> Text -> Text -> CreateScheduledAction
-- | If true, the schedule is enabled. If false, the scheduled action does
-- not trigger. For more information about state of the
-- scheduled action, see ScheduledAction.
createScheduledAction_enable :: Lens' CreateScheduledAction (Maybe Bool)
-- | The end time in UTC of the scheduled action. After this time, the
-- scheduled action does not trigger. For more information about this
-- parameter, see ScheduledAction.
createScheduledAction_endTime :: Lens' CreateScheduledAction (Maybe UTCTime)
-- | The description of the scheduled action.
createScheduledAction_scheduledActionDescription :: Lens' CreateScheduledAction (Maybe Text)
-- | The start time in UTC of the scheduled action. Before this time, the
-- scheduled action does not trigger. For more information about this
-- parameter, see ScheduledAction.
createScheduledAction_startTime :: Lens' CreateScheduledAction (Maybe UTCTime)
-- | The name of the scheduled action. The name must be unique within an
-- account. For more information about this parameter, see
-- ScheduledAction.
createScheduledAction_scheduledActionName :: Lens' CreateScheduledAction Text
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters. For more information about this parameter, see
-- ScheduledAction.
createScheduledAction_targetAction :: Lens' CreateScheduledAction ScheduledActionType
-- | The schedule in at( ) or cron( ) format. For more
-- information about this parameter, see ScheduledAction.
createScheduledAction_schedule :: Lens' CreateScheduledAction Text
-- | The IAM role to assume to run the target action. For more information
-- about this parameter, see ScheduledAction.
createScheduledAction_iamRole :: Lens' CreateScheduledAction Text
-- | Describes a scheduled action. You can use a scheduled action to
-- trigger some Amazon Redshift API operations on a schedule. For
-- information about which API operations can be scheduled, see
-- ScheduledActionType.
--
-- See: newScheduledAction smart constructor.
data ScheduledAction
ScheduledAction' :: Maybe ISO8601 -> Maybe Text -> Maybe [ISO8601] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionState -> Maybe ScheduledActionType -> ScheduledAction
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
[$sel:endTime:ScheduledAction'] :: ScheduledAction -> Maybe ISO8601
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
[$sel:iamRole:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | List of times when the scheduled action will run.
[$sel:nextInvocations:ScheduledAction'] :: ScheduledAction -> Maybe [ISO8601]
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
[$sel:schedule:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The description of the scheduled action.
[$sel:scheduledActionDescription:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The name of the scheduled action.
[$sel:scheduledActionName:ScheduledAction'] :: ScheduledAction -> Maybe Text
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
[$sel:startTime:ScheduledAction'] :: ScheduledAction -> Maybe ISO8601
-- | The state of the scheduled action. For example, DISABLED.
[$sel:state:ScheduledAction'] :: ScheduledAction -> Maybe ScheduledActionState
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
[$sel:targetAction:ScheduledAction'] :: ScheduledAction -> Maybe ScheduledActionType
-- | Create a value of ScheduledAction 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:ScheduledAction', scheduledAction_endTime -
-- The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
--
-- $sel:iamRole:ScheduledAction', scheduledAction_iamRole -
-- The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- $sel:nextInvocations:ScheduledAction',
-- scheduledAction_nextInvocations - List of times when the
-- scheduled action will run.
--
-- $sel:schedule:ScheduledAction', scheduledAction_schedule
-- - The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
--
-- $sel:scheduledActionDescription:ScheduledAction',
-- scheduledAction_scheduledActionDescription - The description of
-- the scheduled action.
--
-- $sel:scheduledActionName:ScheduledAction',
-- scheduledAction_scheduledActionName - The name of the scheduled
-- action.
--
-- $sel:startTime:ScheduledAction',
-- scheduledAction_startTime - The start time in UTC when the
-- schedule is active. Before this time, the scheduled action does not
-- trigger.
--
-- $sel:state:ScheduledAction', scheduledAction_state - The
-- state of the scheduled action. For example, DISABLED.
--
-- $sel:targetAction:ScheduledAction',
-- scheduledAction_targetAction - A JSON format string of the
-- Amazon Redshift API operation with input parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
newScheduledAction :: ScheduledAction
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
scheduledAction_endTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
scheduledAction_iamRole :: Lens' ScheduledAction (Maybe Text)
-- | List of times when the scheduled action will run.
scheduledAction_nextInvocations :: Lens' ScheduledAction (Maybe [UTCTime])
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
scheduledAction_schedule :: Lens' ScheduledAction (Maybe Text)
-- | The description of the scheduled action.
scheduledAction_scheduledActionDescription :: Lens' ScheduledAction (Maybe Text)
-- | The name of the scheduled action.
scheduledAction_scheduledActionName :: Lens' ScheduledAction (Maybe Text)
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
scheduledAction_startTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The state of the scheduled action. For example, DISABLED.
scheduledAction_state :: Lens' ScheduledAction (Maybe ScheduledActionState)
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
scheduledAction_targetAction :: Lens' ScheduledAction (Maybe ScheduledActionType)
instance GHC.Generics.Generic Amazonka.Redshift.CreateScheduledAction.CreateScheduledAction
instance GHC.Show.Show Amazonka.Redshift.CreateScheduledAction.CreateScheduledAction
instance GHC.Read.Read Amazonka.Redshift.CreateScheduledAction.CreateScheduledAction
instance GHC.Classes.Eq Amazonka.Redshift.CreateScheduledAction.CreateScheduledAction
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateScheduledAction.CreateScheduledAction
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateScheduledAction.CreateScheduledAction
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateScheduledAction.CreateScheduledAction
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateScheduledAction.CreateScheduledAction
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateScheduledAction.CreateScheduledAction
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateScheduledAction.CreateScheduledAction
-- | Creates an HSM configuration that contains the information required by
-- an Amazon Redshift cluster to store and use database encryption keys
-- in a Hardware Security Module (HSM). After creating the HSM
-- configuration, you can specify it as a parameter when creating a
-- cluster. The cluster will then store its encryption keys in the HSM.
--
-- In addition to creating an HSM configuration, you must also create an
-- HSM client certificate. For more information, go to Hardware
-- Security Modules in the Amazon Redshift Cluster Management Guide.
module Amazonka.Redshift.CreateHsmConfiguration
-- | See: newCreateHsmConfiguration smart constructor.
data CreateHsmConfiguration
CreateHsmConfiguration' :: Maybe [Tag] -> Text -> Text -> Text -> Text -> Text -> Text -> CreateHsmConfiguration
-- | A list of tag instances.
[$sel:tags:CreateHsmConfiguration'] :: CreateHsmConfiguration -> Maybe [Tag]
-- | The identifier to be assigned to the new Amazon Redshift HSM
-- configuration.
[$sel:hsmConfigurationIdentifier:CreateHsmConfiguration'] :: CreateHsmConfiguration -> Text
-- | A text description of the HSM configuration to be created.
[$sel:description:CreateHsmConfiguration'] :: CreateHsmConfiguration -> Text
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
[$sel:hsmIpAddress:CreateHsmConfiguration'] :: CreateHsmConfiguration -> Text
-- | The name of the partition in the HSM where the Amazon Redshift
-- clusters will store their database encryption keys.
[$sel:hsmPartitionName:CreateHsmConfiguration'] :: CreateHsmConfiguration -> Text
-- | The password required to access the HSM partition.
[$sel:hsmPartitionPassword:CreateHsmConfiguration'] :: CreateHsmConfiguration -> Text
-- | The HSMs public certificate file. When using Cloud HSM, the file name
-- is server.pem.
[$sel:hsmServerPublicCertificate:CreateHsmConfiguration'] :: CreateHsmConfiguration -> Text
-- | Create a value of CreateHsmConfiguration 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:
--
-- CreateHsmConfiguration, createHsmConfiguration_tags - A
-- list of tag instances.
--
-- CreateHsmConfiguration,
-- createHsmConfiguration_hsmConfigurationIdentifier - The
-- identifier to be assigned to the new Amazon Redshift HSM
-- configuration.
--
-- CreateHsmConfiguration,
-- createHsmConfiguration_description - A text description of the
-- HSM configuration to be created.
--
-- CreateHsmConfiguration,
-- createHsmConfiguration_hsmIpAddress - The IP address that the
-- Amazon Redshift cluster must use to access the HSM.
--
-- CreateHsmConfiguration,
-- createHsmConfiguration_hsmPartitionName - The name of the
-- partition in the HSM where the Amazon Redshift clusters will store
-- their database encryption keys.
--
-- $sel:hsmPartitionPassword:CreateHsmConfiguration',
-- createHsmConfiguration_hsmPartitionPassword - The password
-- required to access the HSM partition.
--
-- $sel:hsmServerPublicCertificate:CreateHsmConfiguration',
-- createHsmConfiguration_hsmServerPublicCertificate - The HSMs
-- public certificate file. When using Cloud HSM, the file name is
-- server.pem.
newCreateHsmConfiguration :: Text -> Text -> Text -> Text -> Text -> Text -> CreateHsmConfiguration
-- | A list of tag instances.
createHsmConfiguration_tags :: Lens' CreateHsmConfiguration (Maybe [Tag])
-- | The identifier to be assigned to the new Amazon Redshift HSM
-- configuration.
createHsmConfiguration_hsmConfigurationIdentifier :: Lens' CreateHsmConfiguration Text
-- | A text description of the HSM configuration to be created.
createHsmConfiguration_description :: Lens' CreateHsmConfiguration Text
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
createHsmConfiguration_hsmIpAddress :: Lens' CreateHsmConfiguration Text
-- | The name of the partition in the HSM where the Amazon Redshift
-- clusters will store their database encryption keys.
createHsmConfiguration_hsmPartitionName :: Lens' CreateHsmConfiguration Text
-- | The password required to access the HSM partition.
createHsmConfiguration_hsmPartitionPassword :: Lens' CreateHsmConfiguration Text
-- | The HSMs public certificate file. When using Cloud HSM, the file name
-- is server.pem.
createHsmConfiguration_hsmServerPublicCertificate :: Lens' CreateHsmConfiguration Text
-- | See: newCreateHsmConfigurationResponse smart
-- constructor.
data CreateHsmConfigurationResponse
CreateHsmConfigurationResponse' :: Maybe HsmConfiguration -> Int -> CreateHsmConfigurationResponse
[$sel:hsmConfiguration:CreateHsmConfigurationResponse'] :: CreateHsmConfigurationResponse -> Maybe HsmConfiguration
-- | The response's http status code.
[$sel:httpStatus:CreateHsmConfigurationResponse'] :: CreateHsmConfigurationResponse -> Int
-- | Create a value of CreateHsmConfigurationResponse 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:hsmConfiguration:CreateHsmConfigurationResponse',
-- createHsmConfigurationResponse_hsmConfiguration - Undocumented
-- member.
--
-- $sel:httpStatus:CreateHsmConfigurationResponse',
-- createHsmConfigurationResponse_httpStatus - The response's http
-- status code.
newCreateHsmConfigurationResponse :: Int -> CreateHsmConfigurationResponse
-- | Undocumented member.
createHsmConfigurationResponse_hsmConfiguration :: Lens' CreateHsmConfigurationResponse (Maybe HsmConfiguration)
-- | The response's http status code.
createHsmConfigurationResponse_httpStatus :: Lens' CreateHsmConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfiguration
instance GHC.Show.Show Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfiguration
instance GHC.Read.Read Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfiguration
instance GHC.Classes.Eq Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfiguration
instance GHC.Generics.Generic Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfigurationResponse
instance GHC.Show.Show Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfigurationResponse
instance GHC.Read.Read Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfigurationResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfiguration
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfiguration
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateHsmConfiguration.CreateHsmConfiguration
-- | Creates an HSM client certificate that an Amazon Redshift cluster will
-- use to connect to the client's HSM in order to store and retrieve the
-- keys used to encrypt the cluster databases.
--
-- The command returns a public key, which you must store in the HSM. In
-- addition to creating the HSM certificate, you must create an Amazon
-- Redshift HSM configuration that provides a cluster the information
-- needed to store and use encryption keys in the HSM. For more
-- information, go to Hardware Security Modules in the Amazon
-- Redshift Cluster Management Guide.
module Amazonka.Redshift.CreateHsmClientCertificate
-- | See: newCreateHsmClientCertificate smart constructor.
data CreateHsmClientCertificate
CreateHsmClientCertificate' :: Maybe [Tag] -> Text -> CreateHsmClientCertificate
-- | A list of tag instances.
[$sel:tags:CreateHsmClientCertificate'] :: CreateHsmClientCertificate -> Maybe [Tag]
-- | The identifier to be assigned to the new HSM client certificate that
-- the cluster will use to connect to the HSM to use the database
-- encryption keys.
[$sel:hsmClientCertificateIdentifier:CreateHsmClientCertificate'] :: CreateHsmClientCertificate -> Text
-- | Create a value of CreateHsmClientCertificate 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:
--
-- CreateHsmClientCertificate,
-- createHsmClientCertificate_tags - A list of tag instances.
--
-- CreateHsmClientCertificate,
-- createHsmClientCertificate_hsmClientCertificateIdentifier - The
-- identifier to be assigned to the new HSM client certificate that the
-- cluster will use to connect to the HSM to use the database encryption
-- keys.
newCreateHsmClientCertificate :: Text -> CreateHsmClientCertificate
-- | A list of tag instances.
createHsmClientCertificate_tags :: Lens' CreateHsmClientCertificate (Maybe [Tag])
-- | The identifier to be assigned to the new HSM client certificate that
-- the cluster will use to connect to the HSM to use the database
-- encryption keys.
createHsmClientCertificate_hsmClientCertificateIdentifier :: Lens' CreateHsmClientCertificate Text
-- | See: newCreateHsmClientCertificateResponse smart
-- constructor.
data CreateHsmClientCertificateResponse
CreateHsmClientCertificateResponse' :: Maybe HsmClientCertificate -> Int -> CreateHsmClientCertificateResponse
[$sel:hsmClientCertificate:CreateHsmClientCertificateResponse'] :: CreateHsmClientCertificateResponse -> Maybe HsmClientCertificate
-- | The response's http status code.
[$sel:httpStatus:CreateHsmClientCertificateResponse'] :: CreateHsmClientCertificateResponse -> Int
-- | Create a value of CreateHsmClientCertificateResponse 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:hsmClientCertificate:CreateHsmClientCertificateResponse',
-- createHsmClientCertificateResponse_hsmClientCertificate -
-- Undocumented member.
--
-- $sel:httpStatus:CreateHsmClientCertificateResponse',
-- createHsmClientCertificateResponse_httpStatus - The response's
-- http status code.
newCreateHsmClientCertificateResponse :: Int -> CreateHsmClientCertificateResponse
-- | Undocumented member.
createHsmClientCertificateResponse_hsmClientCertificate :: Lens' CreateHsmClientCertificateResponse (Maybe HsmClientCertificate)
-- | The response's http status code.
createHsmClientCertificateResponse_httpStatus :: Lens' CreateHsmClientCertificateResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificate
instance GHC.Show.Show Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificate
instance GHC.Read.Read Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificate
instance GHC.Classes.Eq Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificate
instance GHC.Generics.Generic Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificateResponse
instance GHC.Show.Show Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificateResponse
instance GHC.Read.Read Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificateResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificateResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificate
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificateResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificate
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificate
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificate
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificate
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateHsmClientCertificate.CreateHsmClientCertificate
-- | Creates an Amazon Redshift event notification subscription. This
-- action requires an ARN (Amazon Resource Name) of an Amazon SNS topic
-- created by either the Amazon Redshift console, the Amazon SNS console,
-- or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must
-- create a topic in Amazon SNS and subscribe to the topic. The ARN is
-- displayed in the SNS console.
--
-- You can specify the source type, and lists of Amazon Redshift source
-- IDs, event categories, and event severities. Notifications will be
-- sent for all events you want that match those criteria. For example,
-- you can specify source type = cluster, source ID = my-cluster-1 and
-- mycluster2, event categories = Availability, Backup, and severity =
-- ERROR. The subscription will only send notifications for those ERROR
-- events in the Availability and Backup categories for the specified
-- clusters.
--
-- If you specify both the source type and source IDs, such as source
-- type = cluster and source identifier = my-cluster-1, notifications
-- will be sent for all the cluster events for my-cluster-1. If you
-- specify a source type but do not specify a source identifier, you will
-- receive notice of the events for the objects of that type in your
-- Amazon Web Services account. If you do not specify either the
-- SourceType nor the SourceIdentifier, you will be notified of events
-- generated from all Amazon Redshift sources belonging to your Amazon
-- Web Services account. You must specify a source type if you specify a
-- source ID.
module Amazonka.Redshift.CreateEventSubscription
-- | See: newCreateEventSubscription smart constructor.
data CreateEventSubscription
CreateEventSubscription' :: Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe [Tag] -> Text -> Text -> CreateEventSubscription
-- | A boolean value; set to true to activate the subscription,
-- and set to false to create the subscription but not activate
-- it.
[$sel:enabled:CreateEventSubscription'] :: CreateEventSubscription -> Maybe Bool
-- | Specifies the Amazon Redshift event categories to be published by the
-- event notification subscription.
--
-- Values: configuration, management, monitoring, security, pending
[$sel:eventCategories:CreateEventSubscription'] :: CreateEventSubscription -> Maybe [Text]
-- | Specifies the Amazon Redshift event severity to be published by the
-- event notification subscription.
--
-- Values: ERROR, INFO
[$sel:severity:CreateEventSubscription'] :: CreateEventSubscription -> Maybe Text
-- | A list of one or more identifiers of Amazon Redshift source objects.
-- All of the objects must be of the same type as was specified in the
-- source type parameter. The event subscription will return only events
-- generated by the specified objects. If not specified, then events are
-- returned for all objects within the source type specified.
--
-- Example: my-cluster-1, my-cluster-2
--
-- Example: my-snapshot-20131010
[$sel:sourceIds:CreateEventSubscription'] :: CreateEventSubscription -> Maybe [Text]
-- | The type of source that will be generating the events. For example, if
-- you want to be notified of events generated by a cluster, you would
-- set this parameter to cluster. If this value is not specified, events
-- are returned for all Amazon Redshift objects in your Amazon Web
-- Services account. You must specify a source type in order to specify
-- source IDs.
--
-- Valid values: cluster, cluster-parameter-group,
-- cluster-security-group, cluster-snapshot, and scheduled-action.
[$sel:sourceType:CreateEventSubscription'] :: CreateEventSubscription -> Maybe Text
-- | A list of tag instances.
[$sel:tags:CreateEventSubscription'] :: CreateEventSubscription -> Maybe [Tag]
-- | The name of the event subscription to be created.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank.
-- - Must contain from 1 to 255 alphanumeric characters or
-- hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
[$sel:subscriptionName:CreateEventSubscription'] :: CreateEventSubscription -> Text
-- | The Amazon Resource Name (ARN) of the Amazon SNS topic used to
-- transmit the event notifications. The ARN is created by Amazon SNS
-- when you create a topic and subscribe to it.
[$sel:snsTopicArn:CreateEventSubscription'] :: CreateEventSubscription -> Text
-- | Create a value of CreateEventSubscription 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:
--
-- CreateEventSubscription, createEventSubscription_enabled
-- - A boolean value; set to true to activate the subscription,
-- and set to false to create the subscription but not activate
-- it.
--
-- CreateEventSubscription,
-- createEventSubscription_eventCategories - Specifies the Amazon
-- Redshift event categories to be published by the event notification
-- subscription.
--
-- Values: configuration, management, monitoring, security, pending
--
-- CreateEventSubscription,
-- createEventSubscription_severity - Specifies the Amazon
-- Redshift event severity to be published by the event notification
-- subscription.
--
-- Values: ERROR, INFO
--
-- $sel:sourceIds:CreateEventSubscription',
-- createEventSubscription_sourceIds - A list of one or more
-- identifiers of Amazon Redshift source objects. All of the objects must
-- be of the same type as was specified in the source type parameter. The
-- event subscription will return only events generated by the specified
-- objects. If not specified, then events are returned for all objects
-- within the source type specified.
--
-- Example: my-cluster-1, my-cluster-2
--
-- Example: my-snapshot-20131010
--
-- CreateEventSubscription,
-- createEventSubscription_sourceType - The type of source that
-- will be generating the events. For example, if you want to be notified
-- of events generated by a cluster, you would set this parameter to
-- cluster. If this value is not specified, events are returned for all
-- Amazon Redshift objects in your Amazon Web Services account. You must
-- specify a source type in order to specify source IDs.
--
-- Valid values: cluster, cluster-parameter-group,
-- cluster-security-group, cluster-snapshot, and scheduled-action.
--
-- CreateEventSubscription, createEventSubscription_tags -
-- A list of tag instances.
--
-- $sel:subscriptionName:CreateEventSubscription',
-- createEventSubscription_subscriptionName - The name of the
-- event subscription to be created.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank.
-- - Must contain from 1 to 255 alphanumeric characters or
-- hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
--
-- CreateEventSubscription,
-- createEventSubscription_snsTopicArn - The Amazon Resource Name
-- (ARN) of the Amazon SNS topic used to transmit the event
-- notifications. The ARN is created by Amazon SNS when you create a
-- topic and subscribe to it.
newCreateEventSubscription :: Text -> Text -> CreateEventSubscription
-- | A boolean value; set to true to activate the subscription,
-- and set to false to create the subscription but not activate
-- it.
createEventSubscription_enabled :: Lens' CreateEventSubscription (Maybe Bool)
-- | Specifies the Amazon Redshift event categories to be published by the
-- event notification subscription.
--
-- Values: configuration, management, monitoring, security, pending
createEventSubscription_eventCategories :: Lens' CreateEventSubscription (Maybe [Text])
-- | Specifies the Amazon Redshift event severity to be published by the
-- event notification subscription.
--
-- Values: ERROR, INFO
createEventSubscription_severity :: Lens' CreateEventSubscription (Maybe Text)
-- | A list of one or more identifiers of Amazon Redshift source objects.
-- All of the objects must be of the same type as was specified in the
-- source type parameter. The event subscription will return only events
-- generated by the specified objects. If not specified, then events are
-- returned for all objects within the source type specified.
--
-- Example: my-cluster-1, my-cluster-2
--
-- Example: my-snapshot-20131010
createEventSubscription_sourceIds :: Lens' CreateEventSubscription (Maybe [Text])
-- | The type of source that will be generating the events. For example, if
-- you want to be notified of events generated by a cluster, you would
-- set this parameter to cluster. If this value is not specified, events
-- are returned for all Amazon Redshift objects in your Amazon Web
-- Services account. You must specify a source type in order to specify
-- source IDs.
--
-- Valid values: cluster, cluster-parameter-group,
-- cluster-security-group, cluster-snapshot, and scheduled-action.
createEventSubscription_sourceType :: Lens' CreateEventSubscription (Maybe Text)
-- | A list of tag instances.
createEventSubscription_tags :: Lens' CreateEventSubscription (Maybe [Tag])
-- | The name of the event subscription to be created.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank.
-- - Must contain from 1 to 255 alphanumeric characters or
-- hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
createEventSubscription_subscriptionName :: Lens' CreateEventSubscription Text
-- | The Amazon Resource Name (ARN) of the Amazon SNS topic used to
-- transmit the event notifications. The ARN is created by Amazon SNS
-- when you create a topic and subscribe to it.
createEventSubscription_snsTopicArn :: Lens' CreateEventSubscription Text
-- | See: newCreateEventSubscriptionResponse smart
-- constructor.
data CreateEventSubscriptionResponse
CreateEventSubscriptionResponse' :: Maybe EventSubscription -> Int -> CreateEventSubscriptionResponse
[$sel:eventSubscription:CreateEventSubscriptionResponse'] :: CreateEventSubscriptionResponse -> Maybe EventSubscription
-- | The response's http status code.
[$sel:httpStatus:CreateEventSubscriptionResponse'] :: CreateEventSubscriptionResponse -> Int
-- | Create a value of CreateEventSubscriptionResponse 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:eventSubscription:CreateEventSubscriptionResponse',
-- createEventSubscriptionResponse_eventSubscription -
-- Undocumented member.
--
-- $sel:httpStatus:CreateEventSubscriptionResponse',
-- createEventSubscriptionResponse_httpStatus - The response's
-- http status code.
newCreateEventSubscriptionResponse :: Int -> CreateEventSubscriptionResponse
-- | Undocumented member.
createEventSubscriptionResponse_eventSubscription :: Lens' CreateEventSubscriptionResponse (Maybe EventSubscription)
-- | The response's http status code.
createEventSubscriptionResponse_httpStatus :: Lens' CreateEventSubscriptionResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CreateEventSubscription.CreateEventSubscription
instance GHC.Show.Show Amazonka.Redshift.CreateEventSubscription.CreateEventSubscription
instance GHC.Read.Read Amazonka.Redshift.CreateEventSubscription.CreateEventSubscription
instance GHC.Classes.Eq Amazonka.Redshift.CreateEventSubscription.CreateEventSubscription
instance GHC.Generics.Generic Amazonka.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Show.Show Amazonka.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Read.Read Amazonka.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateEventSubscription.CreateEventSubscription
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateEventSubscription.CreateEventSubscriptionResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateEventSubscription.CreateEventSubscription
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateEventSubscription.CreateEventSubscription
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateEventSubscription.CreateEventSubscription
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateEventSubscription.CreateEventSubscription
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateEventSubscription.CreateEventSubscription
-- | Creates a Redshift-managed VPC endpoint.
module Amazonka.Redshift.CreateEndpointAccess
-- | See: newCreateEndpointAccess smart constructor.
data CreateEndpointAccess
CreateEndpointAccess' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Text -> Text -> CreateEndpointAccess
-- | The cluster identifier of the cluster to access.
[$sel:clusterIdentifier:CreateEndpointAccess'] :: CreateEndpointAccess -> Maybe Text
-- | The Amazon Web Services account ID of the owner of the cluster. This
-- is only required if the cluster is in another Amazon Web Services
-- account.
[$sel:resourceOwner:CreateEndpointAccess'] :: CreateEndpointAccess -> Maybe Text
-- | 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 Redshift-managed VPC endpoint name.
--
-- 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 subnet group from which Amazon Redshift chooses the subnet to
-- deploy the endpoint.
[$sel:subnetGroupName: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:
--
-- CreateEndpointAccess,
-- createEndpointAccess_clusterIdentifier - The cluster identifier
-- of the cluster to access.
--
-- CreateEndpointAccess, createEndpointAccess_resourceOwner
-- - The Amazon Web Services account ID of the owner of the cluster. This
-- is only required if the cluster is in another Amazon Web Services
-- account.
--
-- $sel:vpcSecurityGroupIds:CreateEndpointAccess',
-- createEndpointAccess_vpcSecurityGroupIds - The security group
-- that defines the ports, protocols, and sources for inbound traffic
-- that you are authorizing into your endpoint.
--
-- CreateEndpointAccess, createEndpointAccess_endpointName
-- - The Redshift-managed VPC endpoint name.
--
-- 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_subnetGroupName - The subnet group from
-- which Amazon Redshift chooses the subnet to deploy the endpoint.
newCreateEndpointAccess :: Text -> Text -> CreateEndpointAccess
-- | The cluster identifier of the cluster to access.
createEndpointAccess_clusterIdentifier :: Lens' CreateEndpointAccess (Maybe Text)
-- | The Amazon Web Services account ID of the owner of the cluster. This
-- is only required if the cluster is in another Amazon Web Services
-- account.
createEndpointAccess_resourceOwner :: Lens' CreateEndpointAccess (Maybe Text)
-- | 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 Redshift-managed VPC endpoint name.
--
-- 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 subnet group from which Amazon Redshift chooses the subnet to
-- deploy the endpoint.
createEndpointAccess_subnetGroupName :: Lens' CreateEndpointAccess Text
-- | Describes a Redshift-managed VPC endpoint.
--
-- See: newEndpointAccess smart constructor.
data EndpointAccess
EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> EndpointAccess
-- | The DNS address of the endpoint.
[$sel:address:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The cluster identifier of the cluster associated with the endpoint.
[$sel:clusterIdentifier:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The time (UTC) that the endpoint was created.
[$sel:endpointCreateTime:EndpointAccess'] :: EndpointAccess -> Maybe ISO8601
-- | The name of the endpoint.
[$sel:endpointName:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The status of the endpoint.
[$sel:endpointStatus:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The port number on which the cluster accepts incoming connections.
[$sel:port:EndpointAccess'] :: EndpointAccess -> Maybe Int
-- | The Amazon Web Services account ID of the owner of the cluster.
[$sel:resourceOwner:EndpointAccess'] :: EndpointAccess -> Maybe Text
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
[$sel:subnetGroupName:EndpointAccess'] :: EndpointAccess -> Maybe Text
[$sel:vpcEndpoint:EndpointAccess'] :: EndpointAccess -> Maybe VpcEndpoint
-- | The security groups associated with the endpoint.
[$sel:vpcSecurityGroups:EndpointAccess'] :: EndpointAccess -> Maybe [VpcSecurityGroupMembership]
-- | 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:clusterIdentifier:EndpointAccess',
-- endpointAccess_clusterIdentifier - The cluster identifier of
-- the cluster associated with the endpoint.
--
-- $sel:endpointCreateTime:EndpointAccess',
-- endpointAccess_endpointCreateTime - The time (UTC) that the
-- endpoint was created.
--
-- $sel:endpointName:EndpointAccess',
-- endpointAccess_endpointName - The name of the endpoint.
--
-- $sel:endpointStatus:EndpointAccess',
-- endpointAccess_endpointStatus - The status of the endpoint.
--
-- $sel:port:EndpointAccess', endpointAccess_port - The
-- port number on which the cluster accepts incoming connections.
--
-- $sel:resourceOwner:EndpointAccess',
-- endpointAccess_resourceOwner - The Amazon Web Services account
-- ID of the owner of the cluster.
--
-- $sel:subnetGroupName:EndpointAccess',
-- endpointAccess_subnetGroupName - The subnet group name where
-- Amazon Redshift chooses to deploy the endpoint.
--
-- $sel:vpcEndpoint:EndpointAccess',
-- endpointAccess_vpcEndpoint - Undocumented member.
--
-- $sel:vpcSecurityGroups:EndpointAccess',
-- endpointAccess_vpcSecurityGroups - The security groups
-- associated with the endpoint.
newEndpointAccess :: EndpointAccess
-- | The DNS address of the endpoint.
endpointAccess_address :: Lens' EndpointAccess (Maybe Text)
-- | The cluster identifier of the cluster associated with the endpoint.
endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text)
-- | The time (UTC) that the endpoint was created.
endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime)
-- | The name of the endpoint.
endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text)
-- | The status of the endpoint.
endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text)
-- | The port number on which the cluster accepts incoming connections.
endpointAccess_port :: Lens' EndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text)
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text)
-- | Undocumented member.
endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint)
-- | The security groups associated with the endpoint.
endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership])
instance GHC.Generics.Generic Amazonka.Redshift.CreateEndpointAccess.CreateEndpointAccess
instance GHC.Show.Show Amazonka.Redshift.CreateEndpointAccess.CreateEndpointAccess
instance GHC.Read.Read Amazonka.Redshift.CreateEndpointAccess.CreateEndpointAccess
instance GHC.Classes.Eq Amazonka.Redshift.CreateEndpointAccess.CreateEndpointAccess
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateEndpointAccess.CreateEndpointAccess
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateEndpointAccess.CreateEndpointAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateEndpointAccess.CreateEndpointAccess
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateEndpointAccess.CreateEndpointAccess
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateEndpointAccess.CreateEndpointAccess
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateEndpointAccess.CreateEndpointAccess
-- | Creates a new Amazon Redshift subnet group. You must provide a list of
-- one or more subnets in your existing Amazon Virtual Private Cloud
-- (Amazon VPC) when creating Amazon Redshift subnet group.
--
-- For information about subnet groups, go to Amazon Redshift Cluster
-- Subnet Groups in the Amazon Redshift Cluster Management
-- Guide.
module Amazonka.Redshift.CreateClusterSubnetGroup
-- | See: newCreateClusterSubnetGroup smart constructor.
data CreateClusterSubnetGroup
CreateClusterSubnetGroup' :: Maybe [Tag] -> Text -> Text -> [Text] -> CreateClusterSubnetGroup
-- | A list of tag instances.
[$sel:tags:CreateClusterSubnetGroup'] :: CreateClusterSubnetGroup -> Maybe [Tag]
-- | The name for the subnet group. Amazon Redshift stores the value as a
-- lowercase string.
--
-- Constraints:
--
--
-- - Must contain no more than 255 alphanumeric characters or
-- hyphens.
-- - Must not be "Default".
-- - Must be unique for all subnet groups that are created by your
-- Amazon Web Services account.
--
--
-- Example: examplesubnetgroup
[$sel:clusterSubnetGroupName:CreateClusterSubnetGroup'] :: CreateClusterSubnetGroup -> Text
-- | A description for the subnet group.
[$sel:description:CreateClusterSubnetGroup'] :: CreateClusterSubnetGroup -> Text
-- | An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
-- a single request.
[$sel:subnetIds:CreateClusterSubnetGroup'] :: CreateClusterSubnetGroup -> [Text]
-- | Create a value of CreateClusterSubnetGroup 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:
--
-- CreateClusterSubnetGroup, createClusterSubnetGroup_tags
-- - A list of tag instances.
--
-- CreateClusterSubnetGroup,
-- createClusterSubnetGroup_clusterSubnetGroupName - The name for
-- the subnet group. Amazon Redshift stores the value as a lowercase
-- string.
--
-- Constraints:
--
--
-- - Must contain no more than 255 alphanumeric characters or
-- hyphens.
-- - Must not be "Default".
-- - Must be unique for all subnet groups that are created by your
-- Amazon Web Services account.
--
--
-- Example: examplesubnetgroup
--
-- CreateClusterSubnetGroup,
-- createClusterSubnetGroup_description - A description for the
-- subnet group.
--
-- $sel:subnetIds:CreateClusterSubnetGroup',
-- createClusterSubnetGroup_subnetIds - An array of VPC subnet
-- IDs. A maximum of 20 subnets can be modified in a single request.
newCreateClusterSubnetGroup :: Text -> Text -> CreateClusterSubnetGroup
-- | A list of tag instances.
createClusterSubnetGroup_tags :: Lens' CreateClusterSubnetGroup (Maybe [Tag])
-- | The name for the subnet group. Amazon Redshift stores the value as a
-- lowercase string.
--
-- Constraints:
--
--
-- - Must contain no more than 255 alphanumeric characters or
-- hyphens.
-- - Must not be "Default".
-- - Must be unique for all subnet groups that are created by your
-- Amazon Web Services account.
--
--
-- Example: examplesubnetgroup
createClusterSubnetGroup_clusterSubnetGroupName :: Lens' CreateClusterSubnetGroup Text
-- | A description for the subnet group.
createClusterSubnetGroup_description :: Lens' CreateClusterSubnetGroup Text
-- | An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
-- a single request.
createClusterSubnetGroup_subnetIds :: Lens' CreateClusterSubnetGroup [Text]
-- | See: newCreateClusterSubnetGroupResponse smart
-- constructor.
data CreateClusterSubnetGroupResponse
CreateClusterSubnetGroupResponse' :: Maybe ClusterSubnetGroup -> Int -> CreateClusterSubnetGroupResponse
[$sel:clusterSubnetGroup:CreateClusterSubnetGroupResponse'] :: CreateClusterSubnetGroupResponse -> Maybe ClusterSubnetGroup
-- | The response's http status code.
[$sel:httpStatus:CreateClusterSubnetGroupResponse'] :: CreateClusterSubnetGroupResponse -> Int
-- | Create a value of CreateClusterSubnetGroupResponse 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:clusterSubnetGroup:CreateClusterSubnetGroupResponse',
-- createClusterSubnetGroupResponse_clusterSubnetGroup -
-- Undocumented member.
--
-- $sel:httpStatus:CreateClusterSubnetGroupResponse',
-- createClusterSubnetGroupResponse_httpStatus - The response's
-- http status code.
newCreateClusterSubnetGroupResponse :: Int -> CreateClusterSubnetGroupResponse
-- | Undocumented member.
createClusterSubnetGroupResponse_clusterSubnetGroup :: Lens' CreateClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
-- | The response's http status code.
createClusterSubnetGroupResponse_httpStatus :: Lens' CreateClusterSubnetGroupResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance GHC.Show.Show Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance GHC.Read.Read Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance GHC.Classes.Eq Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance GHC.Generics.Generic Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
instance GHC.Show.Show Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
instance GHC.Read.Read Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateClusterSubnetGroup.CreateClusterSubnetGroup
-- | Creates a manual snapshot of the specified cluster. The cluster must
-- be in the available state.
--
-- For more information about working with snapshots, go to Amazon
-- Redshift Snapshots in the Amazon Redshift Cluster Management
-- Guide.
module Amazonka.Redshift.CreateClusterSnapshot
-- | See: newCreateClusterSnapshot smart constructor.
data CreateClusterSnapshot
CreateClusterSnapshot' :: Maybe Int -> Maybe [Tag] -> Text -> Text -> CreateClusterSnapshot
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
[$sel:manualSnapshotRetentionPeriod:CreateClusterSnapshot'] :: CreateClusterSnapshot -> Maybe Int
-- | A list of tag instances.
[$sel:tags:CreateClusterSnapshot'] :: CreateClusterSnapshot -> Maybe [Tag]
-- | A unique identifier for the snapshot that you are requesting. This
-- identifier must be unique for all snapshots within the Amazon Web
-- Services account.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank
-- - Must contain from 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
--
-- Example: my-snapshot-id
[$sel:snapshotIdentifier:CreateClusterSnapshot'] :: CreateClusterSnapshot -> Text
-- | The cluster identifier for which you want a snapshot.
[$sel:clusterIdentifier:CreateClusterSnapshot'] :: CreateClusterSnapshot -> Text
-- | Create a value of CreateClusterSnapshot 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:
--
-- CreateClusterSnapshot,
-- createClusterSnapshot_manualSnapshotRetentionPeriod - The
-- number of days that a manual snapshot is retained. If the value is -1,
-- the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
--
-- CreateClusterSnapshot, createClusterSnapshot_tags - A
-- list of tag instances.
--
-- CreateClusterSnapshot,
-- createClusterSnapshot_snapshotIdentifier - A unique identifier
-- for the snapshot that you are requesting. This identifier must be
-- unique for all snapshots within the Amazon Web Services account.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank
-- - Must contain from 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
--
-- Example: my-snapshot-id
--
-- CreateClusterSnapshot,
-- createClusterSnapshot_clusterIdentifier - The cluster
-- identifier for which you want a snapshot.
newCreateClusterSnapshot :: Text -> Text -> CreateClusterSnapshot
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
createClusterSnapshot_manualSnapshotRetentionPeriod :: Lens' CreateClusterSnapshot (Maybe Int)
-- | A list of tag instances.
createClusterSnapshot_tags :: Lens' CreateClusterSnapshot (Maybe [Tag])
-- | A unique identifier for the snapshot that you are requesting. This
-- identifier must be unique for all snapshots within the Amazon Web
-- Services account.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank
-- - Must contain from 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
--
-- Example: my-snapshot-id
createClusterSnapshot_snapshotIdentifier :: Lens' CreateClusterSnapshot Text
-- | The cluster identifier for which you want a snapshot.
createClusterSnapshot_clusterIdentifier :: Lens' CreateClusterSnapshot Text
-- | See: newCreateClusterSnapshotResponse smart constructor.
data CreateClusterSnapshotResponse
CreateClusterSnapshotResponse' :: Maybe Snapshot -> Int -> CreateClusterSnapshotResponse
[$sel:snapshot:CreateClusterSnapshotResponse'] :: CreateClusterSnapshotResponse -> Maybe Snapshot
-- | The response's http status code.
[$sel:httpStatus:CreateClusterSnapshotResponse'] :: CreateClusterSnapshotResponse -> Int
-- | Create a value of CreateClusterSnapshotResponse 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:CreateClusterSnapshotResponse',
-- createClusterSnapshotResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:CreateClusterSnapshotResponse',
-- createClusterSnapshotResponse_httpStatus - The response's http
-- status code.
newCreateClusterSnapshotResponse :: Int -> CreateClusterSnapshotResponse
-- | Undocumented member.
createClusterSnapshotResponse_snapshot :: Lens' CreateClusterSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
createClusterSnapshotResponse_httpStatus :: Lens' CreateClusterSnapshotResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance GHC.Show.Show Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance GHC.Read.Read Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance GHC.Classes.Eq Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance GHC.Generics.Generic Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
instance GHC.Show.Show Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
instance GHC.Read.Read Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshotResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateClusterSnapshot.CreateClusterSnapshot
-- | Creates a new Amazon Redshift security group. You use security groups
-- to control access to non-VPC clusters.
--
-- For information about managing security groups, go to Amazon
-- Redshift Cluster Security Groups in the Amazon Redshift Cluster
-- Management Guide.
module Amazonka.Redshift.CreateClusterSecurityGroup
-- | See: newCreateClusterSecurityGroup smart constructor.
data CreateClusterSecurityGroup
CreateClusterSecurityGroup' :: Maybe [Tag] -> Text -> Text -> CreateClusterSecurityGroup
-- | A list of tag instances.
[$sel:tags:CreateClusterSecurityGroup'] :: CreateClusterSecurityGroup -> Maybe [Tag]
-- | The name for the security group. Amazon Redshift stores the value as a
-- lowercase string.
--
-- Constraints:
--
--
-- - Must contain no more than 255 alphanumeric characters or
-- hyphens.
-- - Must not be "Default".
-- - Must be unique for all security groups that are created by your
-- Amazon Web Services account.
--
--
-- Example: examplesecuritygroup
[$sel:clusterSecurityGroupName:CreateClusterSecurityGroup'] :: CreateClusterSecurityGroup -> Text
-- | A description for the security group.
[$sel:description:CreateClusterSecurityGroup'] :: CreateClusterSecurityGroup -> Text
-- | Create a value of CreateClusterSecurityGroup 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:
--
-- CreateClusterSecurityGroup,
-- createClusterSecurityGroup_tags - A list of tag instances.
--
-- CreateClusterSecurityGroup,
-- createClusterSecurityGroup_clusterSecurityGroupName - The name
-- for the security group. Amazon Redshift stores the value as a
-- lowercase string.
--
-- Constraints:
--
--
-- - Must contain no more than 255 alphanumeric characters or
-- hyphens.
-- - Must not be "Default".
-- - Must be unique for all security groups that are created by your
-- Amazon Web Services account.
--
--
-- Example: examplesecuritygroup
--
-- CreateClusterSecurityGroup,
-- createClusterSecurityGroup_description - A description for the
-- security group.
newCreateClusterSecurityGroup :: Text -> Text -> CreateClusterSecurityGroup
-- | A list of tag instances.
createClusterSecurityGroup_tags :: Lens' CreateClusterSecurityGroup (Maybe [Tag])
-- | The name for the security group. Amazon Redshift stores the value as a
-- lowercase string.
--
-- Constraints:
--
--
-- - Must contain no more than 255 alphanumeric characters or
-- hyphens.
-- - Must not be "Default".
-- - Must be unique for all security groups that are created by your
-- Amazon Web Services account.
--
--
-- Example: examplesecuritygroup
createClusterSecurityGroup_clusterSecurityGroupName :: Lens' CreateClusterSecurityGroup Text
-- | A description for the security group.
createClusterSecurityGroup_description :: Lens' CreateClusterSecurityGroup Text
-- | See: newCreateClusterSecurityGroupResponse smart
-- constructor.
data CreateClusterSecurityGroupResponse
CreateClusterSecurityGroupResponse' :: Maybe ClusterSecurityGroup -> Int -> CreateClusterSecurityGroupResponse
[$sel:clusterSecurityGroup:CreateClusterSecurityGroupResponse'] :: CreateClusterSecurityGroupResponse -> Maybe ClusterSecurityGroup
-- | The response's http status code.
[$sel:httpStatus:CreateClusterSecurityGroupResponse'] :: CreateClusterSecurityGroupResponse -> Int
-- | Create a value of CreateClusterSecurityGroupResponse 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:clusterSecurityGroup:CreateClusterSecurityGroupResponse',
-- createClusterSecurityGroupResponse_clusterSecurityGroup -
-- Undocumented member.
--
-- $sel:httpStatus:CreateClusterSecurityGroupResponse',
-- createClusterSecurityGroupResponse_httpStatus - The response's
-- http status code.
newCreateClusterSecurityGroupResponse :: Int -> CreateClusterSecurityGroupResponse
-- | Undocumented member.
createClusterSecurityGroupResponse_clusterSecurityGroup :: Lens' CreateClusterSecurityGroupResponse (Maybe ClusterSecurityGroup)
-- | The response's http status code.
createClusterSecurityGroupResponse_httpStatus :: Lens' CreateClusterSecurityGroupResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance GHC.Show.Show Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance GHC.Read.Read Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance GHC.Classes.Eq Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance GHC.Generics.Generic Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
instance GHC.Show.Show Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
instance GHC.Read.Read Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateClusterSecurityGroup.CreateClusterSecurityGroup
-- | Creates an Amazon Redshift parameter group.
--
-- Creating parameter groups is independent of creating clusters. You can
-- associate a cluster with a parameter group when you create the
-- cluster. You can also associate an existing cluster with a parameter
-- group after the cluster is created by using ModifyCluster.
--
-- Parameters in the parameter group define specific behavior that
-- applies to the databases you create on the cluster. For more
-- information about parameters and parameter groups, go to Amazon
-- Redshift Parameter Groups in the Amazon Redshift Cluster
-- Management Guide.
module Amazonka.Redshift.CreateClusterParameterGroup
-- | See: newCreateClusterParameterGroup smart constructor.
data CreateClusterParameterGroup
CreateClusterParameterGroup' :: Maybe [Tag] -> Text -> Text -> Text -> CreateClusterParameterGroup
-- | A list of tag instances.
[$sel:tags:CreateClusterParameterGroup'] :: CreateClusterParameterGroup -> Maybe [Tag]
-- | The name of the cluster parameter group.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique withing your Amazon Web Services account.
--
--
-- This value is stored as a lower-case string.
[$sel:parameterGroupName:CreateClusterParameterGroup'] :: CreateClusterParameterGroup -> Text
-- | The Amazon Redshift engine version to which the cluster parameter
-- group applies. The cluster engine version determines the set of
-- parameters.
--
-- To get a list of valid parameter group family names, you can call
-- DescribeClusterParameterGroups. By default, Amazon Redshift returns a
-- list of all the parameter groups that are owned by your Amazon Web
-- Services account, including the default parameter groups for each
-- Amazon Redshift engine version. The parameter group family names
-- associated with the default parameter groups provide you the valid
-- values. For example, a valid family name is "redshift-1.0".
[$sel:parameterGroupFamily:CreateClusterParameterGroup'] :: CreateClusterParameterGroup -> Text
-- | A description of the parameter group.
[$sel:description:CreateClusterParameterGroup'] :: CreateClusterParameterGroup -> Text
-- | Create a value of CreateClusterParameterGroup 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:
--
-- CreateClusterParameterGroup,
-- createClusterParameterGroup_tags - A list of tag instances.
--
-- CreateClusterParameterGroup,
-- createClusterParameterGroup_parameterGroupName - The name of
-- the cluster parameter group.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique withing your Amazon Web Services account.
--
--
-- This value is stored as a lower-case string.
--
-- CreateClusterParameterGroup,
-- createClusterParameterGroup_parameterGroupFamily - The Amazon
-- Redshift engine version to which the cluster parameter group applies.
-- The cluster engine version determines the set of parameters.
--
-- To get a list of valid parameter group family names, you can call
-- DescribeClusterParameterGroups. By default, Amazon Redshift returns a
-- list of all the parameter groups that are owned by your Amazon Web
-- Services account, including the default parameter groups for each
-- Amazon Redshift engine version. The parameter group family names
-- associated with the default parameter groups provide you the valid
-- values. For example, a valid family name is "redshift-1.0".
--
-- CreateClusterParameterGroup,
-- createClusterParameterGroup_description - A description of the
-- parameter group.
newCreateClusterParameterGroup :: Text -> Text -> Text -> CreateClusterParameterGroup
-- | A list of tag instances.
createClusterParameterGroup_tags :: Lens' CreateClusterParameterGroup (Maybe [Tag])
-- | The name of the cluster parameter group.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique withing your Amazon Web Services account.
--
--
-- This value is stored as a lower-case string.
createClusterParameterGroup_parameterGroupName :: Lens' CreateClusterParameterGroup Text
-- | The Amazon Redshift engine version to which the cluster parameter
-- group applies. The cluster engine version determines the set of
-- parameters.
--
-- To get a list of valid parameter group family names, you can call
-- DescribeClusterParameterGroups. By default, Amazon Redshift returns a
-- list of all the parameter groups that are owned by your Amazon Web
-- Services account, including the default parameter groups for each
-- Amazon Redshift engine version. The parameter group family names
-- associated with the default parameter groups provide you the valid
-- values. For example, a valid family name is "redshift-1.0".
createClusterParameterGroup_parameterGroupFamily :: Lens' CreateClusterParameterGroup Text
-- | A description of the parameter group.
createClusterParameterGroup_description :: Lens' CreateClusterParameterGroup Text
-- | See: newCreateClusterParameterGroupResponse smart
-- constructor.
data CreateClusterParameterGroupResponse
CreateClusterParameterGroupResponse' :: Maybe ClusterParameterGroup -> Int -> CreateClusterParameterGroupResponse
[$sel:clusterParameterGroup:CreateClusterParameterGroupResponse'] :: CreateClusterParameterGroupResponse -> Maybe ClusterParameterGroup
-- | The response's http status code.
[$sel:httpStatus:CreateClusterParameterGroupResponse'] :: CreateClusterParameterGroupResponse -> Int
-- | Create a value of CreateClusterParameterGroupResponse 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:clusterParameterGroup:CreateClusterParameterGroupResponse',
-- createClusterParameterGroupResponse_clusterParameterGroup -
-- Undocumented member.
--
-- $sel:httpStatus:CreateClusterParameterGroupResponse',
-- createClusterParameterGroupResponse_httpStatus - The response's
-- http status code.
newCreateClusterParameterGroupResponse :: Int -> CreateClusterParameterGroupResponse
-- | Undocumented member.
createClusterParameterGroupResponse_clusterParameterGroup :: Lens' CreateClusterParameterGroupResponse (Maybe ClusterParameterGroup)
-- | The response's http status code.
createClusterParameterGroupResponse_httpStatus :: Lens' CreateClusterParameterGroupResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance GHC.Show.Show Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance GHC.Read.Read Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance GHC.Classes.Eq Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance GHC.Generics.Generic Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
instance GHC.Show.Show Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
instance GHC.Read.Read Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateClusterParameterGroup.CreateClusterParameterGroup
-- | Creates a new cluster with the specified parameters.
--
-- To create a cluster in Virtual Private Cloud (VPC), you must provide a
-- cluster subnet group name. The cluster subnet group identifies the
-- subnets of your VPC that Amazon Redshift uses when creating the
-- cluster. For more information about managing clusters, go to Amazon
-- Redshift Clusters in the Amazon Redshift Cluster Management
-- Guide.
module Amazonka.Redshift.CreateCluster
-- | See: newCreateCluster smart constructor.
data CreateCluster
CreateCluster' :: Maybe Text -> Maybe Bool -> Maybe AquaConfigurationStatus -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [Tag] -> Maybe [Text] -> Text -> Text -> Text -> Text -> CreateCluster
-- | Reserved.
[$sel:additionalInfo:CreateCluster'] :: CreateCluster -> Maybe Text
-- | If true, major version upgrades can be applied during the
-- maintenance window to the Amazon Redshift engine that is running on
-- the cluster.
--
-- When a new major version of the Amazon Redshift engine is released,
-- you can request that the service automatically apply upgrades during
-- the maintenance window to the Amazon Redshift engine that is running
-- on your cluster.
--
-- Default: true
[$sel:allowVersionUpgrade:CreateCluster'] :: CreateCluster -> Maybe Bool
-- | This parameter is retired. It does not set the AQUA configuration
-- status. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
[$sel:aquaConfigurationStatus:CreateCluster'] :: CreateCluster -> Maybe AquaConfigurationStatus
-- | The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: 1
--
-- Constraints: Must be a value from 0 to 35.
[$sel:automatedSnapshotRetentionPeriod:CreateCluster'] :: CreateCluster -> Maybe Int
-- | The EC2 Availability Zone (AZ) in which you want Amazon Redshift to
-- provision the cluster. For example, if you have several EC2 instances
-- running in a specific Availability Zone, then you might want the
-- cluster to be provisioned in the same zone in order to decrease
-- network latency.
--
-- Default: A random, system-chosen Availability Zone in the region that
-- is specified by the endpoint.
--
-- Example: us-east-2d
--
-- Constraint: The specified Availability Zone must be in the same region
-- as the current endpoint.
[$sel:availabilityZone:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster is created.
[$sel:availabilityZoneRelocation:CreateCluster'] :: CreateCluster -> Maybe Bool
-- | The name of the parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
[$sel:clusterParameterGroupName:CreateCluster'] :: CreateCluster -> Maybe Text
-- | A list of security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
[$sel:clusterSecurityGroups:CreateCluster'] :: CreateCluster -> Maybe [Text]
-- | The name of a cluster subnet group to be associated with this cluster.
--
-- If this parameter is not provided the resulting cluster will be
-- deployed outside virtual private cloud (VPC).
[$sel:clusterSubnetGroupName:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The type of the cluster. When cluster type is specified as
--
--
-- - single-node, the NumberOfNodes parameter is not
-- required.
-- - multi-node, the NumberOfNodes parameter is
-- required.
--
--
-- Valid Values: multi-node | single-node
--
-- Default: multi-node
[$sel:clusterType:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The version of the Amazon Redshift engine software that you want to
-- deploy on the cluster.
--
-- The version selected runs on all the nodes in the cluster.
--
-- Constraints: Only version 1.0 is currently available.
--
-- Example: 1.0
[$sel:clusterVersion:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The name of the first database to be created when the cluster is
-- created.
--
-- To create additional databases after the cluster is created, connect
-- to the cluster with a SQL client and use SQL commands to create a
-- database. For more information, go to Create a Database in the
-- Amazon Redshift Database Developer Guide.
--
-- Default: dev
--
-- Constraints:
--
--
-- - Must contain 1 to 64 alphanumeric characters.
-- - Must contain only lowercase letters.
-- - Cannot be a word that is reserved by the service. A list of
-- reserved words can be found in Reserved Words in the Amazon
-- Redshift Database Developer Guide.
--
[$sel:dbName:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The Amazon Resource Name (ARN) for the IAM role that was set as
-- default for the cluster when the cluster was created.
[$sel:defaultIamRoleArn:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The Elastic IP (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. Don't specify the
-- Elastic IP address for a publicly accessible cluster with availability
-- zone relocation turned on. For more information about provisioning
-- clusters in EC2-VPC, go to Supported Platforms to Launch Your
-- Cluster in the Amazon Redshift Cluster Management Guide.
[$sel:elasticIp:CreateCluster'] :: CreateCluster -> Maybe Text
-- | If true, the data in the cluster is encrypted at rest.
--
-- Default: false
[$sel:encrypted:CreateCluster'] :: CreateCluster -> Maybe Bool
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
[$sel:enhancedVpcRouting:CreateCluster'] :: CreateCluster -> Maybe Bool
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
[$sel:hsmClientCertificateIdentifier:CreateCluster'] :: CreateCluster -> Maybe Text
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
[$sel:hsmConfigurationIdentifier:CreateCluster'] :: CreateCluster -> Maybe Text
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services. You must
-- supply the IAM roles in their Amazon Resource Name (ARN) format.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
[$sel:iamRoles:CreateCluster'] :: CreateCluster -> Maybe [Text]
-- | The Key Management Service (KMS) key ID of the encryption key that you
-- want to use to encrypt data in the cluster.
[$sel:kmsKeyId:CreateCluster'] :: CreateCluster -> Maybe Text
-- | A flag that specifies whether to load sample data once the cluster is
-- created.
[$sel:loadSampleData:CreateCluster'] :: CreateCluster -> Maybe Text
-- | An optional parameter for the name of the maintenance track for the
-- cluster. If you don't provide a maintenance track name, the cluster is
-- assigned to the current track.
[$sel:maintenanceTrackName:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
[$sel:manualSnapshotRetentionPeriod:CreateCluster'] :: CreateCluster -> Maybe Int
-- | The number of compute nodes in the cluster. This parameter is required
-- when the ClusterType parameter is specified as
-- multi-node.
--
-- For information about determining how many nodes you need, go to
-- Working with Clusters in the Amazon Redshift Cluster
-- Management Guide.
--
-- If you don't specify this parameter, you get a single-node cluster.
-- When requesting a multi-node cluster, you must specify the number of
-- nodes that you want in the cluster.
--
-- Default: 1
--
-- Constraints: Value must be at least 1 and no more than 100.
[$sel:numberOfNodes:CreateCluster'] :: CreateCluster -> Maybe Int
-- | The port number on which the cluster accepts incoming connections.
--
-- The cluster is accessible only via the JDBC and ODBC connection
-- strings. Part of the connection string requires the port on which the
-- cluster will listen for incoming connections.
--
-- Default: 5439
--
-- Valid Values: 1150-65535
[$sel:port:CreateCluster'] :: CreateCluster -> Maybe Int
-- | The weekly time range (in UTC) during which automated cluster
-- maintenance can occur.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi
--
-- Default: A 30-minute window selected at random from an 8-hour block of
-- time per region, occurring on a random day of the week. For more
-- information about the time blocks for each region, see Maintenance
-- Windows in Amazon Redshift Cluster Management Guide.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Minimum 30-minute window.
[$sel:preferredMaintenanceWindow:CreateCluster'] :: CreateCluster -> Maybe Text
-- | If true, the cluster can be accessed from a public network.
[$sel:publiclyAccessible:CreateCluster'] :: CreateCluster -> Maybe Bool
-- | A unique identifier for the snapshot schedule.
[$sel:snapshotScheduleIdentifier:CreateCluster'] :: CreateCluster -> Maybe Text
-- | A list of tag instances.
[$sel:tags:CreateCluster'] :: CreateCluster -> Maybe [Tag]
-- | A list of Virtual Private Cloud (VPC) security groups to be associated
-- with the cluster.
--
-- Default: The default VPC security group is associated with the
-- cluster.
[$sel:vpcSecurityGroupIds:CreateCluster'] :: CreateCluster -> Maybe [Text]
-- | A unique identifier for the cluster. You use this identifier to refer
-- to the cluster for any subsequent cluster operations such as deleting
-- or modifying. The identifier also appears in the Amazon Redshift
-- console.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
--
-- Example: myexamplecluster
[$sel:clusterIdentifier:CreateCluster'] :: CreateCluster -> Text
-- | The node type to be provisioned for the cluster. For information about
-- node types, go to Working with Clusters in the Amazon
-- Redshift Cluster Management Guide.
--
-- Valid Values: ds2.xlarge | ds2.8xlarge |
-- dc1.large | dc1.8xlarge | dc2.large |
-- dc2.8xlarge | ra3.xlplus | ra3.4xlarge |
-- ra3.16xlarge
[$sel:nodeType:CreateCluster'] :: CreateCluster -> Text
-- | The user name associated with the admin user account for the cluster
-- that is being created.
--
-- Constraints:
--
--
-- - Must be 1 - 128 alphanumeric characters. The user name can't be
-- PUBLIC.
-- - First character must be a letter.
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
[$sel:masterUsername:CreateCluster'] :: CreateCluster -> Text
-- | The password associated with the admin user account for the cluster
-- that is being created.
--
-- Constraints:
--
--
-- - Must be between 8 and 64 characters in length.
-- - Must contain at least one uppercase letter.
-- - Must contain at least one lowercase letter.
-- - Must contain one number.
-- - Can be any printable ASCII character (ASCII code 33-126) except
-- ' (single quote), " (double quote), \,
-- /, or @.
--
[$sel:masterUserPassword:CreateCluster'] :: CreateCluster -> Text
-- | Create a value of CreateCluster 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:additionalInfo:CreateCluster',
-- createCluster_additionalInfo - Reserved.
--
-- CreateCluster, createCluster_allowVersionUpgrade - If
-- true, major version upgrades can be applied during the
-- maintenance window to the Amazon Redshift engine that is running on
-- the cluster.
--
-- When a new major version of the Amazon Redshift engine is released,
-- you can request that the service automatically apply upgrades during
-- the maintenance window to the Amazon Redshift engine that is running
-- on your cluster.
--
-- Default: true
--
-- CreateCluster, createCluster_aquaConfigurationStatus -
-- This parameter is retired. It does not set the AQUA configuration
-- status. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
--
-- CreateCluster,
-- createCluster_automatedSnapshotRetentionPeriod - The number of
-- days that automated snapshots are retained. If the value is 0,
-- automated snapshots are disabled. Even if automated snapshots are
-- disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: 1
--
-- Constraints: Must be a value from 0 to 35.
--
-- CreateCluster, createCluster_availabilityZone - The EC2
-- Availability Zone (AZ) in which you want Amazon Redshift to provision
-- the cluster. For example, if you have several EC2 instances running in
-- a specific Availability Zone, then you might want the cluster to be
-- provisioned in the same zone in order to decrease network latency.
--
-- Default: A random, system-chosen Availability Zone in the region that
-- is specified by the endpoint.
--
-- Example: us-east-2d
--
-- Constraint: The specified Availability Zone must be in the same region
-- as the current endpoint.
--
-- $sel:availabilityZoneRelocation:CreateCluster',
-- createCluster_availabilityZoneRelocation - The option to enable
-- relocation for an Amazon Redshift cluster between Availability Zones
-- after the cluster is created.
--
-- $sel:clusterParameterGroupName:CreateCluster',
-- createCluster_clusterParameterGroupName - The name of the
-- parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
--
-- CreateCluster, createCluster_clusterSecurityGroups - A
-- list of security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
--
-- CreateCluster, createCluster_clusterSubnetGroupName -
-- The name of a cluster subnet group to be associated with this cluster.
--
-- If this parameter is not provided the resulting cluster will be
-- deployed outside virtual private cloud (VPC).
--
-- CreateCluster, createCluster_clusterType - The type of
-- the cluster. When cluster type is specified as
--
--
-- - single-node, the NumberOfNodes parameter is not
-- required.
-- - multi-node, the NumberOfNodes parameter is
-- required.
--
--
-- Valid Values: multi-node | single-node
--
-- Default: multi-node
--
-- CreateCluster, createCluster_clusterVersion - The
-- version of the Amazon Redshift engine software that you want to deploy
-- on the cluster.
--
-- The version selected runs on all the nodes in the cluster.
--
-- Constraints: Only version 1.0 is currently available.
--
-- Example: 1.0
--
-- CreateCluster, createCluster_dbName - The name of the
-- first database to be created when the cluster is created.
--
-- To create additional databases after the cluster is created, connect
-- to the cluster with a SQL client and use SQL commands to create a
-- database. For more information, go to Create a Database in the
-- Amazon Redshift Database Developer Guide.
--
-- Default: dev
--
-- Constraints:
--
--
-- - Must contain 1 to 64 alphanumeric characters.
-- - Must contain only lowercase letters.
-- - Cannot be a word that is reserved by the service. A list of
-- reserved words can be found in Reserved Words in the Amazon
-- Redshift Database Developer Guide.
--
--
-- CreateCluster, createCluster_defaultIamRoleArn - The
-- Amazon Resource Name (ARN) for the IAM role that was set as default
-- for the cluster when the cluster was created.
--
-- CreateCluster, createCluster_elasticIp - The Elastic IP
-- (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. Don't specify the
-- Elastic IP address for a publicly accessible cluster with availability
-- zone relocation turned on. For more information about provisioning
-- clusters in EC2-VPC, go to Supported Platforms to Launch Your
-- Cluster in the Amazon Redshift Cluster Management Guide.
--
-- CreateCluster, createCluster_encrypted - If
-- true, the data in the cluster is encrypted at rest.
--
-- Default: false
--
-- CreateCluster, createCluster_enhancedVpcRouting - An
-- option that specifies whether to create the cluster with enhanced VPC
-- routing enabled. To create a cluster that uses enhanced VPC routing,
-- the cluster must be in a VPC. For more information, see Enhanced
-- VPC Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- CreateCluster,
-- createCluster_hsmClientCertificateIdentifier - Specifies the
-- name of the HSM client certificate the Amazon Redshift cluster uses to
-- retrieve the data encryption keys stored in an HSM.
--
-- CreateCluster, createCluster_hsmConfigurationIdentifier
-- - Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
--
-- CreateCluster, createCluster_iamRoles - A list of
-- Identity and Access Management (IAM) roles that can be used by the
-- cluster to access other Amazon Web Services services. You must supply
-- the IAM roles in their Amazon Resource Name (ARN) format.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
--
-- CreateCluster, createCluster_kmsKeyId - The Key
-- Management Service (KMS) key ID of the encryption key that you want to
-- use to encrypt data in the cluster.
--
-- $sel:loadSampleData:CreateCluster',
-- createCluster_loadSampleData - A flag that specifies whether to
-- load sample data once the cluster is created.
--
-- CreateCluster, createCluster_maintenanceTrackName - An
-- optional parameter for the name of the maintenance track for the
-- cluster. If you don't provide a maintenance track name, the cluster is
-- assigned to the current track.
--
-- CreateCluster,
-- createCluster_manualSnapshotRetentionPeriod - The default
-- number of days to retain a manual snapshot. If the value is -1, the
-- snapshot is retained indefinitely. This setting doesn't change the
-- retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- CreateCluster, createCluster_numberOfNodes - The number
-- of compute nodes in the cluster. This parameter is required when the
-- ClusterType parameter is specified as multi-node.
--
-- For information about determining how many nodes you need, go to
-- Working with Clusters in the Amazon Redshift Cluster
-- Management Guide.
--
-- If you don't specify this parameter, you get a single-node cluster.
-- When requesting a multi-node cluster, you must specify the number of
-- nodes that you want in the cluster.
--
-- Default: 1
--
-- Constraints: Value must be at least 1 and no more than 100.
--
-- CreateCluster, createCluster_port - The port number on
-- which the cluster accepts incoming connections.
--
-- The cluster is accessible only via the JDBC and ODBC connection
-- strings. Part of the connection string requires the port on which the
-- cluster will listen for incoming connections.
--
-- Default: 5439
--
-- Valid Values: 1150-65535
--
-- CreateCluster, createCluster_preferredMaintenanceWindow
-- - The weekly time range (in UTC) during which automated cluster
-- maintenance can occur.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi
--
-- Default: A 30-minute window selected at random from an 8-hour block of
-- time per region, occurring on a random day of the week. For more
-- information about the time blocks for each region, see Maintenance
-- Windows in Amazon Redshift Cluster Management Guide.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Minimum 30-minute window.
--
-- CreateCluster, createCluster_publiclyAccessible - If
-- true, the cluster can be accessed from a public network.
--
-- CreateCluster, createCluster_snapshotScheduleIdentifier
-- - A unique identifier for the snapshot schedule.
--
-- CreateCluster, createCluster_tags - A list of tag
-- instances.
--
-- $sel:vpcSecurityGroupIds:CreateCluster',
-- createCluster_vpcSecurityGroupIds - A list of Virtual Private
-- Cloud (VPC) security groups to be associated with the cluster.
--
-- Default: The default VPC security group is associated with the
-- cluster.
--
-- CreateCluster, createCluster_clusterIdentifier - A
-- unique identifier for the cluster. You use this identifier to refer to
-- the cluster for any subsequent cluster operations such as deleting or
-- modifying. The identifier also appears in the Amazon Redshift console.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
--
-- Example: myexamplecluster
--
-- CreateCluster, createCluster_nodeType - The node type to
-- be provisioned for the cluster. For information about node types, go
-- to Working with Clusters in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: ds2.xlarge | ds2.8xlarge |
-- dc1.large | dc1.8xlarge | dc2.large |
-- dc2.8xlarge | ra3.xlplus | ra3.4xlarge |
-- ra3.16xlarge
--
-- CreateCluster, createCluster_masterUsername - The user
-- name associated with the admin user account for the cluster that is
-- being created.
--
-- Constraints:
--
--
-- - Must be 1 - 128 alphanumeric characters. The user name can't be
-- PUBLIC.
-- - First character must be a letter.
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
--
-- CreateCluster, createCluster_masterUserPassword - The
-- password associated with the admin user account for the cluster that
-- is being created.
--
-- Constraints:
--
--
-- - Must be between 8 and 64 characters in length.
-- - Must contain at least one uppercase letter.
-- - Must contain at least one lowercase letter.
-- - Must contain one number.
-- - Can be any printable ASCII character (ASCII code 33-126) except
-- ' (single quote), " (double quote), \,
-- /, or @.
--
newCreateCluster :: Text -> Text -> Text -> Text -> CreateCluster
-- | Reserved.
createCluster_additionalInfo :: Lens' CreateCluster (Maybe Text)
-- | If true, major version upgrades can be applied during the
-- maintenance window to the Amazon Redshift engine that is running on
-- the cluster.
--
-- When a new major version of the Amazon Redshift engine is released,
-- you can request that the service automatically apply upgrades during
-- the maintenance window to the Amazon Redshift engine that is running
-- on your cluster.
--
-- Default: true
createCluster_allowVersionUpgrade :: Lens' CreateCluster (Maybe Bool)
-- | This parameter is retired. It does not set the AQUA configuration
-- status. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
createCluster_aquaConfigurationStatus :: Lens' CreateCluster (Maybe AquaConfigurationStatus)
-- | The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: 1
--
-- Constraints: Must be a value from 0 to 35.
createCluster_automatedSnapshotRetentionPeriod :: Lens' CreateCluster (Maybe Int)
-- | The EC2 Availability Zone (AZ) in which you want Amazon Redshift to
-- provision the cluster. For example, if you have several EC2 instances
-- running in a specific Availability Zone, then you might want the
-- cluster to be provisioned in the same zone in order to decrease
-- network latency.
--
-- Default: A random, system-chosen Availability Zone in the region that
-- is specified by the endpoint.
--
-- Example: us-east-2d
--
-- Constraint: The specified Availability Zone must be in the same region
-- as the current endpoint.
createCluster_availabilityZone :: Lens' CreateCluster (Maybe Text)
-- | The option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster is created.
createCluster_availabilityZoneRelocation :: Lens' CreateCluster (Maybe Bool)
-- | The name of the parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
createCluster_clusterParameterGroupName :: Lens' CreateCluster (Maybe Text)
-- | A list of security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
createCluster_clusterSecurityGroups :: Lens' CreateCluster (Maybe [Text])
-- | The name of a cluster subnet group to be associated with this cluster.
--
-- If this parameter is not provided the resulting cluster will be
-- deployed outside virtual private cloud (VPC).
createCluster_clusterSubnetGroupName :: Lens' CreateCluster (Maybe Text)
-- | The type of the cluster. When cluster type is specified as
--
--
-- - single-node, the NumberOfNodes parameter is not
-- required.
-- - multi-node, the NumberOfNodes parameter is
-- required.
--
--
-- Valid Values: multi-node | single-node
--
-- Default: multi-node
createCluster_clusterType :: Lens' CreateCluster (Maybe Text)
-- | The version of the Amazon Redshift engine software that you want to
-- deploy on the cluster.
--
-- The version selected runs on all the nodes in the cluster.
--
-- Constraints: Only version 1.0 is currently available.
--
-- Example: 1.0
createCluster_clusterVersion :: Lens' CreateCluster (Maybe Text)
-- | The name of the first database to be created when the cluster is
-- created.
--
-- To create additional databases after the cluster is created, connect
-- to the cluster with a SQL client and use SQL commands to create a
-- database. For more information, go to Create a Database in the
-- Amazon Redshift Database Developer Guide.
--
-- Default: dev
--
-- Constraints:
--
--
-- - Must contain 1 to 64 alphanumeric characters.
-- - Must contain only lowercase letters.
-- - Cannot be a word that is reserved by the service. A list of
-- reserved words can be found in Reserved Words in the Amazon
-- Redshift Database Developer Guide.
--
createCluster_dbName :: Lens' CreateCluster (Maybe Text)
-- | The Amazon Resource Name (ARN) for the IAM role that was set as
-- default for the cluster when the cluster was created.
createCluster_defaultIamRoleArn :: Lens' CreateCluster (Maybe Text)
-- | The Elastic IP (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. Don't specify the
-- Elastic IP address for a publicly accessible cluster with availability
-- zone relocation turned on. For more information about provisioning
-- clusters in EC2-VPC, go to Supported Platforms to Launch Your
-- Cluster in the Amazon Redshift Cluster Management Guide.
createCluster_elasticIp :: Lens' CreateCluster (Maybe Text)
-- | If true, the data in the cluster is encrypted at rest.
--
-- Default: false
createCluster_encrypted :: Lens' CreateCluster (Maybe Bool)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
createCluster_enhancedVpcRouting :: Lens' CreateCluster (Maybe Bool)
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
createCluster_hsmClientCertificateIdentifier :: Lens' CreateCluster (Maybe Text)
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
createCluster_hsmConfigurationIdentifier :: Lens' CreateCluster (Maybe Text)
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services. You must
-- supply the IAM roles in their Amazon Resource Name (ARN) format.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
createCluster_iamRoles :: Lens' CreateCluster (Maybe [Text])
-- | The Key Management Service (KMS) key ID of the encryption key that you
-- want to use to encrypt data in the cluster.
createCluster_kmsKeyId :: Lens' CreateCluster (Maybe Text)
-- | A flag that specifies whether to load sample data once the cluster is
-- created.
createCluster_loadSampleData :: Lens' CreateCluster (Maybe Text)
-- | An optional parameter for the name of the maintenance track for the
-- cluster. If you don't provide a maintenance track name, the cluster is
-- assigned to the current track.
createCluster_maintenanceTrackName :: Lens' CreateCluster (Maybe Text)
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
createCluster_manualSnapshotRetentionPeriod :: Lens' CreateCluster (Maybe Int)
-- | The number of compute nodes in the cluster. This parameter is required
-- when the ClusterType parameter is specified as
-- multi-node.
--
-- For information about determining how many nodes you need, go to
-- Working with Clusters in the Amazon Redshift Cluster
-- Management Guide.
--
-- If you don't specify this parameter, you get a single-node cluster.
-- When requesting a multi-node cluster, you must specify the number of
-- nodes that you want in the cluster.
--
-- Default: 1
--
-- Constraints: Value must be at least 1 and no more than 100.
createCluster_numberOfNodes :: Lens' CreateCluster (Maybe Int)
-- | The port number on which the cluster accepts incoming connections.
--
-- The cluster is accessible only via the JDBC and ODBC connection
-- strings. Part of the connection string requires the port on which the
-- cluster will listen for incoming connections.
--
-- Default: 5439
--
-- Valid Values: 1150-65535
createCluster_port :: Lens' CreateCluster (Maybe Int)
-- | The weekly time range (in UTC) during which automated cluster
-- maintenance can occur.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi
--
-- Default: A 30-minute window selected at random from an 8-hour block of
-- time per region, occurring on a random day of the week. For more
-- information about the time blocks for each region, see Maintenance
-- Windows in Amazon Redshift Cluster Management Guide.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Minimum 30-minute window.
createCluster_preferredMaintenanceWindow :: Lens' CreateCluster (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
createCluster_publiclyAccessible :: Lens' CreateCluster (Maybe Bool)
-- | A unique identifier for the snapshot schedule.
createCluster_snapshotScheduleIdentifier :: Lens' CreateCluster (Maybe Text)
-- | A list of tag instances.
createCluster_tags :: Lens' CreateCluster (Maybe [Tag])
-- | A list of Virtual Private Cloud (VPC) security groups to be associated
-- with the cluster.
--
-- Default: The default VPC security group is associated with the
-- cluster.
createCluster_vpcSecurityGroupIds :: Lens' CreateCluster (Maybe [Text])
-- | A unique identifier for the cluster. You use this identifier to refer
-- to the cluster for any subsequent cluster operations such as deleting
-- or modifying. The identifier also appears in the Amazon Redshift
-- console.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
--
-- Example: myexamplecluster
createCluster_clusterIdentifier :: Lens' CreateCluster Text
-- | The node type to be provisioned for the cluster. For information about
-- node types, go to Working with Clusters in the Amazon
-- Redshift Cluster Management Guide.
--
-- Valid Values: ds2.xlarge | ds2.8xlarge |
-- dc1.large | dc1.8xlarge | dc2.large |
-- dc2.8xlarge | ra3.xlplus | ra3.4xlarge |
-- ra3.16xlarge
createCluster_nodeType :: Lens' CreateCluster Text
-- | The user name associated with the admin user account for the cluster
-- that is being created.
--
-- Constraints:
--
--
-- - Must be 1 - 128 alphanumeric characters. The user name can't be
-- PUBLIC.
-- - First character must be a letter.
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
createCluster_masterUsername :: Lens' CreateCluster Text
-- | The password associated with the admin user account for the cluster
-- that is being created.
--
-- Constraints:
--
--
-- - Must be between 8 and 64 characters in length.
-- - Must contain at least one uppercase letter.
-- - Must contain at least one lowercase letter.
-- - Must contain one number.
-- - Can be any printable ASCII character (ASCII code 33-126) except
-- ' (single quote), " (double quote), \,
-- /, or @.
--
createCluster_masterUserPassword :: Lens' CreateCluster Text
-- | See: newCreateClusterResponse smart constructor.
data CreateClusterResponse
CreateClusterResponse' :: Maybe Cluster -> Int -> CreateClusterResponse
[$sel:cluster:CreateClusterResponse'] :: CreateClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:CreateClusterResponse'] :: CreateClusterResponse -> Int
-- | Create a value of CreateClusterResponse 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:cluster:CreateClusterResponse',
-- createClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:CreateClusterResponse',
-- createClusterResponse_httpStatus - The response's http status
-- code.
newCreateClusterResponse :: Int -> CreateClusterResponse
-- | Undocumented member.
createClusterResponse_cluster :: Lens' CreateClusterResponse (Maybe Cluster)
-- | The response's http status code.
createClusterResponse_httpStatus :: Lens' CreateClusterResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CreateCluster.CreateCluster
instance GHC.Show.Show Amazonka.Redshift.CreateCluster.CreateCluster
instance GHC.Read.Read Amazonka.Redshift.CreateCluster.CreateCluster
instance GHC.Classes.Eq Amazonka.Redshift.CreateCluster.CreateCluster
instance GHC.Generics.Generic Amazonka.Redshift.CreateCluster.CreateClusterResponse
instance GHC.Show.Show Amazonka.Redshift.CreateCluster.CreateClusterResponse
instance GHC.Read.Read Amazonka.Redshift.CreateCluster.CreateClusterResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateCluster.CreateClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateCluster.CreateCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateCluster.CreateClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateCluster.CreateCluster
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateCluster.CreateCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateCluster.CreateCluster
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateCluster.CreateCluster
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateCluster.CreateCluster
-- | Creates an authentication profile with the specified parameters.
module Amazonka.Redshift.CreateAuthenticationProfile
-- | See: newCreateAuthenticationProfile smart constructor.
data CreateAuthenticationProfile
CreateAuthenticationProfile' :: Text -> Text -> CreateAuthenticationProfile
-- | The name of the authentication profile to be created.
[$sel:authenticationProfileName:CreateAuthenticationProfile'] :: CreateAuthenticationProfile -> Text
-- | The content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
[$sel:authenticationProfileContent:CreateAuthenticationProfile'] :: CreateAuthenticationProfile -> Text
-- | Create a value of CreateAuthenticationProfile 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:
--
-- CreateAuthenticationProfile,
-- createAuthenticationProfile_authenticationProfileName - The
-- name of the authentication profile to be created.
--
-- CreateAuthenticationProfile,
-- createAuthenticationProfile_authenticationProfileContent - The
-- content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
newCreateAuthenticationProfile :: Text -> Text -> CreateAuthenticationProfile
-- | The name of the authentication profile to be created.
createAuthenticationProfile_authenticationProfileName :: Lens' CreateAuthenticationProfile Text
-- | The content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
createAuthenticationProfile_authenticationProfileContent :: Lens' CreateAuthenticationProfile Text
-- | See: newCreateAuthenticationProfileResponse smart
-- constructor.
data CreateAuthenticationProfileResponse
CreateAuthenticationProfileResponse' :: Maybe Text -> Maybe Text -> Int -> CreateAuthenticationProfileResponse
-- | The content of the authentication profile in JSON format.
[$sel:authenticationProfileContent:CreateAuthenticationProfileResponse'] :: CreateAuthenticationProfileResponse -> Maybe Text
-- | The name of the authentication profile that was created.
[$sel:authenticationProfileName:CreateAuthenticationProfileResponse'] :: CreateAuthenticationProfileResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateAuthenticationProfileResponse'] :: CreateAuthenticationProfileResponse -> Int
-- | Create a value of CreateAuthenticationProfileResponse 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:
--
-- CreateAuthenticationProfile,
-- createAuthenticationProfileResponse_authenticationProfileContent
-- - The content of the authentication profile in JSON format.
--
-- CreateAuthenticationProfile,
-- createAuthenticationProfileResponse_authenticationProfileName -
-- The name of the authentication profile that was created.
--
-- $sel:httpStatus:CreateAuthenticationProfileResponse',
-- createAuthenticationProfileResponse_httpStatus - The response's
-- http status code.
newCreateAuthenticationProfileResponse :: Int -> CreateAuthenticationProfileResponse
-- | The content of the authentication profile in JSON format.
createAuthenticationProfileResponse_authenticationProfileContent :: Lens' CreateAuthenticationProfileResponse (Maybe Text)
-- | The name of the authentication profile that was created.
createAuthenticationProfileResponse_authenticationProfileName :: Lens' CreateAuthenticationProfileResponse (Maybe Text)
-- | The response's http status code.
createAuthenticationProfileResponse_httpStatus :: Lens' CreateAuthenticationProfileResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfile
instance GHC.Show.Show Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfile
instance GHC.Read.Read Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfile
instance GHC.Classes.Eq Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfile
instance GHC.Generics.Generic Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfileResponse
instance GHC.Show.Show Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfileResponse
instance GHC.Read.Read Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfileResponse
instance GHC.Classes.Eq Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfileResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfile
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfileResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfile
instance Control.DeepSeq.NFData Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfile
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfile
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfile
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CreateAuthenticationProfile.CreateAuthenticationProfile
-- | Copies the specified automated cluster snapshot to a new manual
-- cluster snapshot. The source must be an automated snapshot and it must
-- be in the available state.
--
-- When you delete a cluster, Amazon Redshift deletes any automated
-- snapshots of the cluster. Also, when the retention period of the
-- snapshot expires, Amazon Redshift automatically deletes it. If you
-- want to keep an automated snapshot for a longer period, you can make a
-- manual copy of the snapshot. Manual snapshots are retained until you
-- delete them.
--
-- For more information about working with snapshots, go to Amazon
-- Redshift Snapshots in the Amazon Redshift Cluster Management
-- Guide.
module Amazonka.Redshift.CopyClusterSnapshot
-- | See: newCopyClusterSnapshot smart constructor.
data CopyClusterSnapshot
CopyClusterSnapshot' :: Maybe Int -> Maybe Text -> Text -> Text -> CopyClusterSnapshot
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
[$sel:manualSnapshotRetentionPeriod:CopyClusterSnapshot'] :: CopyClusterSnapshot -> Maybe Int
-- | The identifier of the cluster the source snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints:
--
--
-- - Must be the identifier for a valid cluster.
--
[$sel:sourceSnapshotClusterIdentifier:CopyClusterSnapshot'] :: CopyClusterSnapshot -> Maybe Text
-- | The identifier for the source snapshot.
--
-- Constraints:
--
--
-- - Must be the identifier for a valid automated snapshot whose state
-- is available.
--
[$sel:sourceSnapshotIdentifier:CopyClusterSnapshot'] :: CopyClusterSnapshot -> Text
-- | The identifier given to the new manual snapshot.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank.
-- - Must contain from 1 to 255 alphanumeric characters or
-- hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for the Amazon Web Services account that is making
-- the request.
--
[$sel:targetSnapshotIdentifier:CopyClusterSnapshot'] :: CopyClusterSnapshot -> Text
-- | Create a value of CopyClusterSnapshot 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:
--
-- CopyClusterSnapshot,
-- copyClusterSnapshot_manualSnapshotRetentionPeriod - The number
-- of days that a manual snapshot is retained. If the value is -1, the
-- manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
--
-- $sel:sourceSnapshotClusterIdentifier:CopyClusterSnapshot',
-- copyClusterSnapshot_sourceSnapshotClusterIdentifier - The
-- identifier of the cluster the source snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints:
--
--
-- - Must be the identifier for a valid cluster.
--
--
-- $sel:sourceSnapshotIdentifier:CopyClusterSnapshot',
-- copyClusterSnapshot_sourceSnapshotIdentifier - The identifier
-- for the source snapshot.
--
-- Constraints:
--
--
-- - Must be the identifier for a valid automated snapshot whose state
-- is available.
--
--
-- $sel:targetSnapshotIdentifier:CopyClusterSnapshot',
-- copyClusterSnapshot_targetSnapshotIdentifier - The identifier
-- given to the new manual snapshot.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank.
-- - Must contain from 1 to 255 alphanumeric characters or
-- hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for the Amazon Web Services account that is making
-- the request.
--
newCopyClusterSnapshot :: Text -> Text -> CopyClusterSnapshot
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
copyClusterSnapshot_manualSnapshotRetentionPeriod :: Lens' CopyClusterSnapshot (Maybe Int)
-- | The identifier of the cluster the source snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints:
--
--
-- - Must be the identifier for a valid cluster.
--
copyClusterSnapshot_sourceSnapshotClusterIdentifier :: Lens' CopyClusterSnapshot (Maybe Text)
-- | The identifier for the source snapshot.
--
-- Constraints:
--
--
-- - Must be the identifier for a valid automated snapshot whose state
-- is available.
--
copyClusterSnapshot_sourceSnapshotIdentifier :: Lens' CopyClusterSnapshot Text
-- | The identifier given to the new manual snapshot.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank.
-- - Must contain from 1 to 255 alphanumeric characters or
-- hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for the Amazon Web Services account that is making
-- the request.
--
copyClusterSnapshot_targetSnapshotIdentifier :: Lens' CopyClusterSnapshot Text
-- | See: newCopyClusterSnapshotResponse smart constructor.
data CopyClusterSnapshotResponse
CopyClusterSnapshotResponse' :: Maybe Snapshot -> Int -> CopyClusterSnapshotResponse
[$sel:snapshot:CopyClusterSnapshotResponse'] :: CopyClusterSnapshotResponse -> Maybe Snapshot
-- | The response's http status code.
[$sel:httpStatus:CopyClusterSnapshotResponse'] :: CopyClusterSnapshotResponse -> Int
-- | Create a value of CopyClusterSnapshotResponse 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:CopyClusterSnapshotResponse',
-- copyClusterSnapshotResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:CopyClusterSnapshotResponse',
-- copyClusterSnapshotResponse_httpStatus - The response's http
-- status code.
newCopyClusterSnapshotResponse :: Int -> CopyClusterSnapshotResponse
-- | Undocumented member.
copyClusterSnapshotResponse_snapshot :: Lens' CopyClusterSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
copyClusterSnapshotResponse_httpStatus :: Lens' CopyClusterSnapshotResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance GHC.Show.Show Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance GHC.Read.Read Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance GHC.Classes.Eq Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance GHC.Generics.Generic Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
instance GHC.Show.Show Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
instance GHC.Read.Read Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
instance GHC.Classes.Eq Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshotResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Control.DeepSeq.NFData Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CopyClusterSnapshot.CopyClusterSnapshot
-- | Cancels a resize operation for a cluster.
module Amazonka.Redshift.CancelResize
-- | See: newCancelResize smart constructor.
data CancelResize
CancelResize' :: Text -> CancelResize
-- | The unique identifier for the cluster that you want to cancel a resize
-- operation for.
[$sel:clusterIdentifier:CancelResize'] :: CancelResize -> Text
-- | Create a value of CancelResize 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:
--
-- CancelResize, cancelResize_clusterIdentifier - The
-- unique identifier for the cluster that you want to cancel a resize
-- operation for.
newCancelResize :: Text -> CancelResize
-- | The unique identifier for the cluster that you want to cancel a resize
-- operation for.
cancelResize_clusterIdentifier :: Lens' CancelResize Text
-- | Describes the result of a cluster resize operation.
--
-- See: newResizeProgressMessage smart constructor.
data ResizeProgressMessage
ResizeProgressMessage' :: Maybe Double -> Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Integer -> ResizeProgressMessage
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
[$sel:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Double
-- | The percent of data transferred from source cluster to target cluster.
[$sel:dataTransferProgressPercent:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Double
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
[$sel:elapsedTimeInSeconds:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
[$sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
[$sel:importTablesCompleted:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
[$sel:importTablesInProgress:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
[$sel:importTablesNotStarted:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe [Text]
-- | An optional string to provide additional details about the resize
-- action.
[$sel:message:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
[$sel:progressInMegaBytes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
[$sel:resizeType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
[$sel:status:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
[$sel:targetClusterType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
[$sel:targetEncryptionType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The node type that the cluster will have after the resize operation is
-- complete.
[$sel:targetNodeType:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Text
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
[$sel:targetNumberOfNodes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Int
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
[$sel:totalResizeDataInMegaBytes:ResizeProgressMessage'] :: ResizeProgressMessage -> Maybe Integer
-- | Create a value of ResizeProgressMessage 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:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage',
-- resizeProgressMessage_avgResizeRateInMegaBytesPerSecond - The
-- average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
--
-- $sel:dataTransferProgressPercent:ResizeProgressMessage',
-- resizeProgressMessage_dataTransferProgressPercent - The percent
-- of data transferred from source cluster to target cluster.
--
-- $sel:elapsedTimeInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_elapsedTimeInSeconds - The amount of
-- seconds that have elapsed since the resize operation began. After the
-- resize operation completes, this value shows the total actual time, in
-- seconds, for the resize operation.
--
-- $sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_estimatedTimeToCompletionInSeconds - The
-- estimated time remaining, in seconds, until the resize operation is
-- complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
--
-- $sel:importTablesCompleted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesCompleted - The names of
-- tables that have been completely imported .
--
-- Valid Values: List of table names.
--
-- $sel:importTablesInProgress:ResizeProgressMessage',
-- resizeProgressMessage_importTablesInProgress - The names of
-- tables that are being currently imported.
--
-- Valid Values: List of table names.
--
-- $sel:importTablesNotStarted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesNotStarted - The names of
-- tables that have not been yet imported.
--
-- Valid Values: List of table names
--
-- $sel:message:ResizeProgressMessage',
-- resizeProgressMessage_message - An optional string to provide
-- additional details about the resize action.
--
-- $sel:progressInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_progressInMegaBytes - While the resize
-- operation is in progress, this value shows the current amount of data,
-- in megabytes, that has been processed so far. When the resize
-- operation is complete, this value shows the total amount of data, in
-- megabytes, on the cluster, which may be more or less than
-- TotalResizeDataInMegaBytes (the estimated total amount of data before
-- resize).
--
-- $sel:resizeType:ResizeProgressMessage',
-- resizeProgressMessage_resizeType - An enum with possible values
-- of ClassicResize and ElasticResize. These values
-- describe the type of resize operation being performed.
--
-- $sel:status:ResizeProgressMessage',
-- resizeProgressMessage_status - The status of the resize
-- operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
--
-- $sel:targetClusterType:ResizeProgressMessage',
-- resizeProgressMessage_targetClusterType - The cluster type
-- after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
--
-- $sel:targetEncryptionType:ResizeProgressMessage',
-- resizeProgressMessage_targetEncryptionType - The type of
-- encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
--
-- $sel:targetNodeType:ResizeProgressMessage',
-- resizeProgressMessage_targetNodeType - The node type that the
-- cluster will have after the resize operation is complete.
--
-- $sel:targetNumberOfNodes:ResizeProgressMessage',
-- resizeProgressMessage_targetNumberOfNodes - The number of nodes
-- that the cluster will have after the resize operation is complete.
--
-- $sel:totalResizeDataInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_totalResizeDataInMegaBytes - The
-- estimated total amount of data, in megabytes, on the cluster before
-- the resize operation began.
newResizeProgressMessage :: ResizeProgressMessage
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
resizeProgressMessage_avgResizeRateInMegaBytesPerSecond :: Lens' ResizeProgressMessage (Maybe Double)
-- | The percent of data transferred from source cluster to target cluster.
resizeProgressMessage_dataTransferProgressPercent :: Lens' ResizeProgressMessage (Maybe Double)
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
resizeProgressMessage_elapsedTimeInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
resizeProgressMessage_estimatedTimeToCompletionInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesCompleted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesInProgress :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
resizeProgressMessage_importTablesNotStarted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | An optional string to provide additional details about the resize
-- action.
resizeProgressMessage_message :: Lens' ResizeProgressMessage (Maybe Text)
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
resizeProgressMessage_progressInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
resizeProgressMessage_resizeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
resizeProgressMessage_status :: Lens' ResizeProgressMessage (Maybe Text)
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
resizeProgressMessage_targetClusterType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
resizeProgressMessage_targetEncryptionType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The node type that the cluster will have after the resize operation is
-- complete.
resizeProgressMessage_targetNodeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
resizeProgressMessage_targetNumberOfNodes :: Lens' ResizeProgressMessage (Maybe Int)
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
resizeProgressMessage_totalResizeDataInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
instance GHC.Generics.Generic Amazonka.Redshift.CancelResize.CancelResize
instance GHC.Show.Show Amazonka.Redshift.CancelResize.CancelResize
instance GHC.Read.Read Amazonka.Redshift.CancelResize.CancelResize
instance GHC.Classes.Eq Amazonka.Redshift.CancelResize.CancelResize
instance Amazonka.Types.AWSRequest Amazonka.Redshift.CancelResize.CancelResize
instance Data.Hashable.Class.Hashable Amazonka.Redshift.CancelResize.CancelResize
instance Control.DeepSeq.NFData Amazonka.Redshift.CancelResize.CancelResize
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.CancelResize.CancelResize
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.CancelResize.CancelResize
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.CancelResize.CancelResize
-- | Modifies the settings for a set of cluster snapshots.
module Amazonka.Redshift.BatchModifyClusterSnapshots
-- | See: newBatchModifyClusterSnapshots smart constructor.
data BatchModifyClusterSnapshots
BatchModifyClusterSnapshots' :: Maybe Bool -> Maybe Int -> [Text] -> BatchModifyClusterSnapshots
-- | A boolean value indicating whether to override an exception if the
-- retention period has passed.
[$sel:force:BatchModifyClusterSnapshots'] :: BatchModifyClusterSnapshots -> Maybe Bool
-- | The number of days that a manual snapshot is retained. If you specify
-- the value -1, the manual snapshot is retained indefinitely.
--
-- The number must be either -1 or an integer between 1 and 3,653.
--
-- If you decrease the manual snapshot retention period from its current
-- value, existing manual snapshots that fall outside of the new
-- retention period will return an error. If you want to suppress the
-- errors and delete the snapshots, use the force option.
[$sel:manualSnapshotRetentionPeriod:BatchModifyClusterSnapshots'] :: BatchModifyClusterSnapshots -> Maybe Int
-- | A list of snapshot identifiers you want to modify.
[$sel:snapshotIdentifierList:BatchModifyClusterSnapshots'] :: BatchModifyClusterSnapshots -> [Text]
-- | Create a value of BatchModifyClusterSnapshots 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:force:BatchModifyClusterSnapshots',
-- batchModifyClusterSnapshots_force - A boolean value indicating
-- whether to override an exception if the retention period has passed.
--
-- BatchModifyClusterSnapshots,
-- batchModifyClusterSnapshots_manualSnapshotRetentionPeriod - The
-- number of days that a manual snapshot is retained. If you specify the
-- value -1, the manual snapshot is retained indefinitely.
--
-- The number must be either -1 or an integer between 1 and 3,653.
--
-- If you decrease the manual snapshot retention period from its current
-- value, existing manual snapshots that fall outside of the new
-- retention period will return an error. If you want to suppress the
-- errors and delete the snapshots, use the force option.
--
-- $sel:snapshotIdentifierList:BatchModifyClusterSnapshots',
-- batchModifyClusterSnapshots_snapshotIdentifierList - A list of
-- snapshot identifiers you want to modify.
newBatchModifyClusterSnapshots :: BatchModifyClusterSnapshots
-- | A boolean value indicating whether to override an exception if the
-- retention period has passed.
batchModifyClusterSnapshots_force :: Lens' BatchModifyClusterSnapshots (Maybe Bool)
-- | The number of days that a manual snapshot is retained. If you specify
-- the value -1, the manual snapshot is retained indefinitely.
--
-- The number must be either -1 or an integer between 1 and 3,653.
--
-- If you decrease the manual snapshot retention period from its current
-- value, existing manual snapshots that fall outside of the new
-- retention period will return an error. If you want to suppress the
-- errors and delete the snapshots, use the force option.
batchModifyClusterSnapshots_manualSnapshotRetentionPeriod :: Lens' BatchModifyClusterSnapshots (Maybe Int)
-- | A list of snapshot identifiers you want to modify.
batchModifyClusterSnapshots_snapshotIdentifierList :: Lens' BatchModifyClusterSnapshots [Text]
-- | See: newBatchModifyClusterSnapshotsResponse smart
-- constructor.
data BatchModifyClusterSnapshotsResponse
BatchModifyClusterSnapshotsResponse' :: Maybe [SnapshotErrorMessage] -> Maybe [Text] -> Int -> BatchModifyClusterSnapshotsResponse
-- | A list of any errors returned.
[$sel:errors:BatchModifyClusterSnapshotsResponse'] :: BatchModifyClusterSnapshotsResponse -> Maybe [SnapshotErrorMessage]
-- | A list of the snapshots that were modified.
[$sel:resources:BatchModifyClusterSnapshotsResponse'] :: BatchModifyClusterSnapshotsResponse -> Maybe [Text]
-- | The response's http status code.
[$sel:httpStatus:BatchModifyClusterSnapshotsResponse'] :: BatchModifyClusterSnapshotsResponse -> Int
-- | Create a value of BatchModifyClusterSnapshotsResponse 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:errors:BatchModifyClusterSnapshotsResponse',
-- batchModifyClusterSnapshotsResponse_errors - A list of any
-- errors returned.
--
-- $sel:resources:BatchModifyClusterSnapshotsResponse',
-- batchModifyClusterSnapshotsResponse_resources - A list of the
-- snapshots that were modified.
--
-- $sel:httpStatus:BatchModifyClusterSnapshotsResponse',
-- batchModifyClusterSnapshotsResponse_httpStatus - The response's
-- http status code.
newBatchModifyClusterSnapshotsResponse :: Int -> BatchModifyClusterSnapshotsResponse
-- | A list of any errors returned.
batchModifyClusterSnapshotsResponse_errors :: Lens' BatchModifyClusterSnapshotsResponse (Maybe [SnapshotErrorMessage])
-- | A list of the snapshots that were modified.
batchModifyClusterSnapshotsResponse_resources :: Lens' BatchModifyClusterSnapshotsResponse (Maybe [Text])
-- | The response's http status code.
batchModifyClusterSnapshotsResponse_httpStatus :: Lens' BatchModifyClusterSnapshotsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshots
instance GHC.Show.Show Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshots
instance GHC.Read.Read Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshots
instance GHC.Classes.Eq Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshots
instance GHC.Generics.Generic Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshotsResponse
instance GHC.Show.Show Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshotsResponse
instance GHC.Read.Read Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshotsResponse
instance GHC.Classes.Eq Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshotsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshots
instance Control.DeepSeq.NFData Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshotsResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshots
instance Control.DeepSeq.NFData Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshots
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshots
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshots
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.BatchModifyClusterSnapshots.BatchModifyClusterSnapshots
-- | Deletes a set of cluster snapshots.
module Amazonka.Redshift.BatchDeleteClusterSnapshots
-- | See: newBatchDeleteClusterSnapshots smart constructor.
data BatchDeleteClusterSnapshots
BatchDeleteClusterSnapshots' :: [DeleteClusterSnapshotMessage] -> BatchDeleteClusterSnapshots
-- | A list of identifiers for the snapshots that you want to delete.
[$sel:identifiers:BatchDeleteClusterSnapshots'] :: BatchDeleteClusterSnapshots -> [DeleteClusterSnapshotMessage]
-- | Create a value of BatchDeleteClusterSnapshots 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:identifiers:BatchDeleteClusterSnapshots',
-- batchDeleteClusterSnapshots_identifiers - A list of identifiers
-- for the snapshots that you want to delete.
newBatchDeleteClusterSnapshots :: BatchDeleteClusterSnapshots
-- | A list of identifiers for the snapshots that you want to delete.
batchDeleteClusterSnapshots_identifiers :: Lens' BatchDeleteClusterSnapshots [DeleteClusterSnapshotMessage]
-- | See: newBatchDeleteClusterSnapshotsResponse smart
-- constructor.
data BatchDeleteClusterSnapshotsResponse
BatchDeleteClusterSnapshotsResponse' :: Maybe [SnapshotErrorMessage] -> Maybe [Text] -> Int -> BatchDeleteClusterSnapshotsResponse
-- | A list of any errors returned.
[$sel:errors:BatchDeleteClusterSnapshotsResponse'] :: BatchDeleteClusterSnapshotsResponse -> Maybe [SnapshotErrorMessage]
-- | A list of the snapshot identifiers that were deleted.
[$sel:resources:BatchDeleteClusterSnapshotsResponse'] :: BatchDeleteClusterSnapshotsResponse -> Maybe [Text]
-- | The response's http status code.
[$sel:httpStatus:BatchDeleteClusterSnapshotsResponse'] :: BatchDeleteClusterSnapshotsResponse -> Int
-- | Create a value of BatchDeleteClusterSnapshotsResponse 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:errors:BatchDeleteClusterSnapshotsResponse',
-- batchDeleteClusterSnapshotsResponse_errors - A list of any
-- errors returned.
--
-- $sel:resources:BatchDeleteClusterSnapshotsResponse',
-- batchDeleteClusterSnapshotsResponse_resources - A list of the
-- snapshot identifiers that were deleted.
--
-- $sel:httpStatus:BatchDeleteClusterSnapshotsResponse',
-- batchDeleteClusterSnapshotsResponse_httpStatus - The response's
-- http status code.
newBatchDeleteClusterSnapshotsResponse :: Int -> BatchDeleteClusterSnapshotsResponse
-- | A list of any errors returned.
batchDeleteClusterSnapshotsResponse_errors :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [SnapshotErrorMessage])
-- | A list of the snapshot identifiers that were deleted.
batchDeleteClusterSnapshotsResponse_resources :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [Text])
-- | The response's http status code.
batchDeleteClusterSnapshotsResponse_httpStatus :: Lens' BatchDeleteClusterSnapshotsResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshots
instance GHC.Show.Show Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshots
instance GHC.Read.Read Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshots
instance GHC.Classes.Eq Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshots
instance GHC.Generics.Generic Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshotsResponse
instance GHC.Show.Show Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshotsResponse
instance GHC.Read.Read Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshotsResponse
instance GHC.Classes.Eq Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshotsResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshots
instance Control.DeepSeq.NFData Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshotsResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshots
instance Control.DeepSeq.NFData Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshots
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshots
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshots
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.BatchDeleteClusterSnapshots.BatchDeleteClusterSnapshots
-- | Authorizes the specified Amazon Web Services account to restore the
-- specified snapshot.
--
-- For more information about working with snapshots, go to Amazon
-- Redshift Snapshots in the Amazon Redshift Cluster Management
-- Guide.
module Amazonka.Redshift.AuthorizeSnapshotAccess
-- | See: newAuthorizeSnapshotAccess smart constructor.
data AuthorizeSnapshotAccess
AuthorizeSnapshotAccess' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> AuthorizeSnapshotAccess
-- | The Amazon Resource Name (ARN) of the snapshot to authorize access to.
[$sel:snapshotArn:AuthorizeSnapshotAccess'] :: AuthorizeSnapshotAccess -> Maybe Text
-- | The identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
[$sel:snapshotClusterIdentifier:AuthorizeSnapshotAccess'] :: AuthorizeSnapshotAccess -> Maybe Text
-- | The identifier of the snapshot the account is authorized to restore.
[$sel:snapshotIdentifier:AuthorizeSnapshotAccess'] :: AuthorizeSnapshotAccess -> Maybe Text
-- | The identifier of the Amazon Web Services account authorized to
-- restore the specified snapshot.
--
-- To share a snapshot with Amazon Web Services Support, specify
-- amazon-redshift-support.
[$sel:accountWithRestoreAccess:AuthorizeSnapshotAccess'] :: AuthorizeSnapshotAccess -> Text
-- | Create a value of AuthorizeSnapshotAccess 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:snapshotArn:AuthorizeSnapshotAccess',
-- authorizeSnapshotAccess_snapshotArn - The Amazon Resource Name
-- (ARN) of the snapshot to authorize access to.
--
-- AuthorizeSnapshotAccess,
-- authorizeSnapshotAccess_snapshotClusterIdentifier - The
-- identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- AuthorizeSnapshotAccess,
-- authorizeSnapshotAccess_snapshotIdentifier - The identifier of
-- the snapshot the account is authorized to restore.
--
-- $sel:accountWithRestoreAccess:AuthorizeSnapshotAccess',
-- authorizeSnapshotAccess_accountWithRestoreAccess - The
-- identifier of the Amazon Web Services account authorized to restore
-- the specified snapshot.
--
-- To share a snapshot with Amazon Web Services Support, specify
-- amazon-redshift-support.
newAuthorizeSnapshotAccess :: Text -> AuthorizeSnapshotAccess
-- | The Amazon Resource Name (ARN) of the snapshot to authorize access to.
authorizeSnapshotAccess_snapshotArn :: Lens' AuthorizeSnapshotAccess (Maybe Text)
-- | The identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
authorizeSnapshotAccess_snapshotClusterIdentifier :: Lens' AuthorizeSnapshotAccess (Maybe Text)
-- | The identifier of the snapshot the account is authorized to restore.
authorizeSnapshotAccess_snapshotIdentifier :: Lens' AuthorizeSnapshotAccess (Maybe Text)
-- | The identifier of the Amazon Web Services account authorized to
-- restore the specified snapshot.
--
-- To share a snapshot with Amazon Web Services Support, specify
-- amazon-redshift-support.
authorizeSnapshotAccess_accountWithRestoreAccess :: Lens' AuthorizeSnapshotAccess Text
-- | See: newAuthorizeSnapshotAccessResponse smart
-- constructor.
data AuthorizeSnapshotAccessResponse
AuthorizeSnapshotAccessResponse' :: Maybe Snapshot -> Int -> AuthorizeSnapshotAccessResponse
[$sel:snapshot:AuthorizeSnapshotAccessResponse'] :: AuthorizeSnapshotAccessResponse -> Maybe Snapshot
-- | The response's http status code.
[$sel:httpStatus:AuthorizeSnapshotAccessResponse'] :: AuthorizeSnapshotAccessResponse -> Int
-- | Create a value of AuthorizeSnapshotAccessResponse 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:AuthorizeSnapshotAccessResponse',
-- authorizeSnapshotAccessResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:AuthorizeSnapshotAccessResponse',
-- authorizeSnapshotAccessResponse_httpStatus - The response's
-- http status code.
newAuthorizeSnapshotAccessResponse :: Int -> AuthorizeSnapshotAccessResponse
-- | Undocumented member.
authorizeSnapshotAccessResponse_snapshot :: Lens' AuthorizeSnapshotAccessResponse (Maybe Snapshot)
-- | The response's http status code.
authorizeSnapshotAccessResponse_httpStatus :: Lens' AuthorizeSnapshotAccessResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance GHC.Show.Show Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance GHC.Read.Read Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance GHC.Classes.Eq Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance GHC.Generics.Generic Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
instance GHC.Show.Show Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
instance GHC.Read.Read Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
instance GHC.Classes.Eq Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccessResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.AuthorizeSnapshotAccess.AuthorizeSnapshotAccess
-- | Grants access to a cluster.
module Amazonka.Redshift.AuthorizeEndpointAccess
-- | See: newAuthorizeEndpointAccess smart constructor.
data AuthorizeEndpointAccess
AuthorizeEndpointAccess' :: Maybe Text -> Maybe [Text] -> Text -> AuthorizeEndpointAccess
-- | The cluster identifier of the cluster to grant access to.
[$sel:clusterIdentifier:AuthorizeEndpointAccess'] :: AuthorizeEndpointAccess -> Maybe Text
-- | The virtual private cloud (VPC) identifiers to grant access to.
[$sel:vpcIds:AuthorizeEndpointAccess'] :: AuthorizeEndpointAccess -> Maybe [Text]
-- | The Amazon Web Services account ID to grant access to.
[$sel:account:AuthorizeEndpointAccess'] :: AuthorizeEndpointAccess -> Text
-- | Create a value of AuthorizeEndpointAccess 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:
--
-- AuthorizeEndpointAccess,
-- authorizeEndpointAccess_clusterIdentifier - The cluster
-- identifier of the cluster to grant access to.
--
-- $sel:vpcIds:AuthorizeEndpointAccess',
-- authorizeEndpointAccess_vpcIds - The virtual private cloud
-- (VPC) identifiers to grant access to.
--
-- $sel:account:AuthorizeEndpointAccess',
-- authorizeEndpointAccess_account - The Amazon Web Services
-- account ID to grant access to.
newAuthorizeEndpointAccess :: Text -> AuthorizeEndpointAccess
-- | The cluster identifier of the cluster to grant access to.
authorizeEndpointAccess_clusterIdentifier :: Lens' AuthorizeEndpointAccess (Maybe Text)
-- | The virtual private cloud (VPC) identifiers to grant access to.
authorizeEndpointAccess_vpcIds :: Lens' AuthorizeEndpointAccess (Maybe [Text])
-- | The Amazon Web Services account ID to grant access to.
authorizeEndpointAccess_account :: Lens' AuthorizeEndpointAccess Text
-- | Describes an endpoint authorization for authorizing Redshift-managed
-- VPC endpoint access to a cluster across Amazon Web Services accounts.
--
-- See: newEndpointAuthorization smart constructor.
data EndpointAuthorization
EndpointAuthorization' :: Maybe Bool -> Maybe [Text] -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe AuthorizationStatus -> EndpointAuthorization
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
[$sel:allowedAllVPCs:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Bool
-- | The VPCs allowed access to the cluster.
[$sel:allowedVPCs:EndpointAuthorization'] :: EndpointAuthorization -> Maybe [Text]
-- | The time (UTC) when the authorization was created.
[$sel:authorizeTime:EndpointAuthorization'] :: EndpointAuthorization -> Maybe ISO8601
-- | The cluster identifier.
[$sel:clusterIdentifier:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The status of the cluster.
[$sel:clusterStatus:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
[$sel:endpointCount:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Int
-- | The Amazon Web Services account ID of the grantee of the cluster.
[$sel:grantee:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The Amazon Web Services account ID of the cluster owner.
[$sel:grantor:EndpointAuthorization'] :: EndpointAuthorization -> Maybe Text
-- | The status of the authorization action.
[$sel:status:EndpointAuthorization'] :: EndpointAuthorization -> Maybe AuthorizationStatus
-- | Create a value of EndpointAuthorization 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:allowedAllVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedAllVPCs - Indicates whether all
-- VPCs in the grantee account are allowed access to the cluster.
--
-- $sel:allowedVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedVPCs - The VPCs allowed access to
-- the cluster.
--
-- $sel:authorizeTime:EndpointAuthorization',
-- endpointAuthorization_authorizeTime - The time (UTC) when the
-- authorization was created.
--
-- $sel:clusterIdentifier:EndpointAuthorization',
-- endpointAuthorization_clusterIdentifier - The cluster
-- identifier.
--
-- $sel:clusterStatus:EndpointAuthorization',
-- endpointAuthorization_clusterStatus - The status of the
-- cluster.
--
-- $sel:endpointCount:EndpointAuthorization',
-- endpointAuthorization_endpointCount - The number of
-- Redshift-managed VPC endpoints created for the authorization.
--
-- $sel:grantee:EndpointAuthorization',
-- endpointAuthorization_grantee - The Amazon Web Services account
-- ID of the grantee of the cluster.
--
-- $sel:grantor:EndpointAuthorization',
-- endpointAuthorization_grantor - The Amazon Web Services account
-- ID of the cluster owner.
--
-- $sel:status:EndpointAuthorization',
-- endpointAuthorization_status - The status of the authorization
-- action.
newEndpointAuthorization :: EndpointAuthorization
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool)
-- | The VPCs allowed access to the cluster.
endpointAuthorization_allowedVPCs :: Lens' EndpointAuthorization (Maybe [Text])
-- | The time (UTC) when the authorization was created.
endpointAuthorization_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime)
-- | The cluster identifier.
endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the cluster.
endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text)
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int)
-- | The Amazon Web Services account ID of the grantee of the cluster.
endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text)
-- | The Amazon Web Services account ID of the cluster owner.
endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the authorization action.
endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus)
instance GHC.Generics.Generic Amazonka.Redshift.AuthorizeEndpointAccess.AuthorizeEndpointAccess
instance GHC.Show.Show Amazonka.Redshift.AuthorizeEndpointAccess.AuthorizeEndpointAccess
instance GHC.Read.Read Amazonka.Redshift.AuthorizeEndpointAccess.AuthorizeEndpointAccess
instance GHC.Classes.Eq Amazonka.Redshift.AuthorizeEndpointAccess.AuthorizeEndpointAccess
instance Amazonka.Types.AWSRequest Amazonka.Redshift.AuthorizeEndpointAccess.AuthorizeEndpointAccess
instance Data.Hashable.Class.Hashable Amazonka.Redshift.AuthorizeEndpointAccess.AuthorizeEndpointAccess
instance Control.DeepSeq.NFData Amazonka.Redshift.AuthorizeEndpointAccess.AuthorizeEndpointAccess
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.AuthorizeEndpointAccess.AuthorizeEndpointAccess
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.AuthorizeEndpointAccess.AuthorizeEndpointAccess
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.AuthorizeEndpointAccess.AuthorizeEndpointAccess
-- | From a data producer account, authorizes the sharing of a datashare
-- with one or more consumer accounts or managing entities. To authorize
-- a datashare for a data consumer, the producer account must have the
-- correct access permissions.
module Amazonka.Redshift.AuthorizeDataShare
-- | See: newAuthorizeDataShare smart constructor.
data AuthorizeDataShare
AuthorizeDataShare' :: Text -> Text -> AuthorizeDataShare
-- | The Amazon Resource Name (ARN) of the datashare that producers are to
-- authorize sharing for.
[$sel:dataShareArn:AuthorizeDataShare'] :: AuthorizeDataShare -> Text
-- | The identifier of the data consumer that is authorized to access the
-- datashare. This identifier is an Amazon Web Services account ID or a
-- keyword, such as ADX.
[$sel:consumerIdentifier:AuthorizeDataShare'] :: AuthorizeDataShare -> Text
-- | Create a value of AuthorizeDataShare 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:
--
-- AuthorizeDataShare, authorizeDataShare_dataShareArn -
-- The Amazon Resource Name (ARN) of the datashare that producers are to
-- authorize sharing for.
--
-- AuthorizeDataShare,
-- authorizeDataShare_consumerIdentifier - The identifier of the
-- data consumer that is authorized to access the datashare. This
-- identifier is an Amazon Web Services account ID or a keyword, such as
-- ADX.
newAuthorizeDataShare :: Text -> Text -> AuthorizeDataShare
-- | The Amazon Resource Name (ARN) of the datashare that producers are to
-- authorize sharing for.
authorizeDataShare_dataShareArn :: Lens' AuthorizeDataShare Text
-- | The identifier of the data consumer that is authorized to access the
-- datashare. This identifier is an Amazon Web Services account ID or a
-- keyword, such as ADX.
authorizeDataShare_consumerIdentifier :: Lens' AuthorizeDataShare Text
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
[$sel:allowPubliclyAccessibleConsumers:DataShare'] :: DataShare -> Maybe Bool
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
[$sel:dataShareArn:DataShare'] :: DataShare -> Maybe Text
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
[$sel:dataShareAssociations:DataShare'] :: DataShare -> Maybe [DataShareAssociation]
-- | The identifier of a datashare to show its managing entity.
[$sel:managedBy:DataShare'] :: DataShare -> Maybe Text
-- | The Amazon Resource Name (ARN) of the producer.
[$sel:producerArn:DataShare'] :: DataShare -> Maybe Text
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.AuthorizeDataShare.AuthorizeDataShare
instance GHC.Show.Show Amazonka.Redshift.AuthorizeDataShare.AuthorizeDataShare
instance GHC.Read.Read Amazonka.Redshift.AuthorizeDataShare.AuthorizeDataShare
instance GHC.Classes.Eq Amazonka.Redshift.AuthorizeDataShare.AuthorizeDataShare
instance Amazonka.Types.AWSRequest Amazonka.Redshift.AuthorizeDataShare.AuthorizeDataShare
instance Data.Hashable.Class.Hashable Amazonka.Redshift.AuthorizeDataShare.AuthorizeDataShare
instance Control.DeepSeq.NFData Amazonka.Redshift.AuthorizeDataShare.AuthorizeDataShare
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.AuthorizeDataShare.AuthorizeDataShare
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.AuthorizeDataShare.AuthorizeDataShare
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.AuthorizeDataShare.AuthorizeDataShare
-- | Adds an inbound (ingress) rule to an Amazon Redshift security group.
-- Depending on whether the application accessing your cluster is running
-- on the Internet or an Amazon EC2 instance, you can authorize inbound
-- access to either a Classless Interdomain Routing (CIDR)/Internet
-- Protocol (IP) range or to an Amazon EC2 security group. You can add as
-- many as 20 ingress rules to an Amazon Redshift security group.
--
-- If you authorize access to an Amazon EC2 security group, specify
-- EC2SecurityGroupName and EC2SecurityGroupOwnerId. The
-- Amazon EC2 security group and Amazon Redshift cluster must be in the
-- same Amazon Web Services Region.
--
-- If you authorize access to a CIDR/IP address range, specify
-- CIDRIP. For an overview of CIDR blocks, see the Wikipedia
-- article on Classless Inter-Domain Routing.
--
-- You must also associate the security group with a cluster so that
-- clients running on these IP addresses or the EC2 instance are
-- authorized to connect to the cluster. For information about managing
-- security groups, go to Working with Security Groups in the
-- Amazon Redshift Cluster Management Guide.
module Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress
-- | See: newAuthorizeClusterSecurityGroupIngress smart
-- constructor.
data AuthorizeClusterSecurityGroupIngress
AuthorizeClusterSecurityGroupIngress' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> AuthorizeClusterSecurityGroupIngress
-- | The IP range to be added the Amazon Redshift security group.
[$sel:cidrip:AuthorizeClusterSecurityGroupIngress'] :: AuthorizeClusterSecurityGroupIngress -> Maybe Text
-- | The EC2 security group to be added the Amazon Redshift security group.
[$sel:eC2SecurityGroupName:AuthorizeClusterSecurityGroupIngress'] :: AuthorizeClusterSecurityGroupIngress -> Maybe Text
-- | The Amazon Web Services account number of the owner of the security
-- group specified by the EC2SecurityGroupName parameter. The
-- Amazon Web Services Access Key ID is not an acceptable value.
--
-- Example: 111122223333
[$sel:eC2SecurityGroupOwnerId:AuthorizeClusterSecurityGroupIngress'] :: AuthorizeClusterSecurityGroupIngress -> Maybe Text
-- | The name of the security group to which the ingress rule is added.
[$sel:clusterSecurityGroupName:AuthorizeClusterSecurityGroupIngress'] :: AuthorizeClusterSecurityGroupIngress -> Text
-- | Create a value of AuthorizeClusterSecurityGroupIngress 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:
--
-- AuthorizeClusterSecurityGroupIngress,
-- authorizeClusterSecurityGroupIngress_cidrip - The IP range to
-- be added the Amazon Redshift security group.
--
-- AuthorizeClusterSecurityGroupIngress,
-- authorizeClusterSecurityGroupIngress_eC2SecurityGroupName - The
-- EC2 security group to be added the Amazon Redshift security group.
--
-- AuthorizeClusterSecurityGroupIngress,
-- authorizeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId -
-- The Amazon Web Services account number of the owner of the security
-- group specified by the EC2SecurityGroupName parameter. The
-- Amazon Web Services Access Key ID is not an acceptable value.
--
-- Example: 111122223333
--
-- AuthorizeClusterSecurityGroupIngress,
-- authorizeClusterSecurityGroupIngress_clusterSecurityGroupName -
-- The name of the security group to which the ingress rule is added.
newAuthorizeClusterSecurityGroupIngress :: Text -> AuthorizeClusterSecurityGroupIngress
-- | The IP range to be added the Amazon Redshift security group.
authorizeClusterSecurityGroupIngress_cidrip :: Lens' AuthorizeClusterSecurityGroupIngress (Maybe Text)
-- | The EC2 security group to be added the Amazon Redshift security group.
authorizeClusterSecurityGroupIngress_eC2SecurityGroupName :: Lens' AuthorizeClusterSecurityGroupIngress (Maybe Text)
-- | The Amazon Web Services account number of the owner of the security
-- group specified by the EC2SecurityGroupName parameter. The
-- Amazon Web Services Access Key ID is not an acceptable value.
--
-- Example: 111122223333
authorizeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' AuthorizeClusterSecurityGroupIngress (Maybe Text)
-- | The name of the security group to which the ingress rule is added.
authorizeClusterSecurityGroupIngress_clusterSecurityGroupName :: Lens' AuthorizeClusterSecurityGroupIngress Text
-- | See: newAuthorizeClusterSecurityGroupIngressResponse
-- smart constructor.
data AuthorizeClusterSecurityGroupIngressResponse
AuthorizeClusterSecurityGroupIngressResponse' :: Maybe ClusterSecurityGroup -> Int -> AuthorizeClusterSecurityGroupIngressResponse
[$sel:clusterSecurityGroup:AuthorizeClusterSecurityGroupIngressResponse'] :: AuthorizeClusterSecurityGroupIngressResponse -> Maybe ClusterSecurityGroup
-- | The response's http status code.
[$sel:httpStatus:AuthorizeClusterSecurityGroupIngressResponse'] :: AuthorizeClusterSecurityGroupIngressResponse -> Int
-- | Create a value of AuthorizeClusterSecurityGroupIngressResponse
-- 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:clusterSecurityGroup:AuthorizeClusterSecurityGroupIngressResponse',
-- authorizeClusterSecurityGroupIngressResponse_clusterSecurityGroup
-- - Undocumented member.
--
-- $sel:httpStatus:AuthorizeClusterSecurityGroupIngressResponse',
-- authorizeClusterSecurityGroupIngressResponse_httpStatus - The
-- response's http status code.
newAuthorizeClusterSecurityGroupIngressResponse :: Int -> AuthorizeClusterSecurityGroupIngressResponse
-- | Undocumented member.
authorizeClusterSecurityGroupIngressResponse_clusterSecurityGroup :: Lens' AuthorizeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup)
-- | The response's http status code.
authorizeClusterSecurityGroupIngressResponse_httpStatus :: Lens' AuthorizeClusterSecurityGroupIngressResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance GHC.Show.Show Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance GHC.Read.Read Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance GHC.Classes.Eq Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance GHC.Generics.Generic Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
instance GHC.Show.Show Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
instance GHC.Read.Read Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
instance GHC.Classes.Eq Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Control.DeepSeq.NFData Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngressResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Control.DeepSeq.NFData Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.AuthorizeClusterSecurityGroupIngress.AuthorizeClusterSecurityGroupIngress
-- | From a datashare consumer account, associates a datashare with the
-- account (AssociateEntireAccount) or the specified namespace
-- (ConsumerArn). If you make this association, the consumer can consume
-- the datashare.
module Amazonka.Redshift.AssociateDataShareConsumer
-- | See: newAssociateDataShareConsumer smart constructor.
data AssociateDataShareConsumer
AssociateDataShareConsumer' :: Maybe Bool -> Maybe Text -> Maybe Text -> Text -> AssociateDataShareConsumer
-- | A value that specifies whether the datashare is associated with the
-- entire account.
[$sel:associateEntireAccount:AssociateDataShareConsumer'] :: AssociateDataShareConsumer -> Maybe Bool
-- | The Amazon Resource Name (ARN) of the consumer that is associated with
-- the datashare.
[$sel:consumerArn:AssociateDataShareConsumer'] :: AssociateDataShareConsumer -> Maybe Text
-- | From a datashare consumer account, associates a datashare with all
-- existing and future namespaces in the specified Amazon Web Services
-- Region.
[$sel:consumerRegion:AssociateDataShareConsumer'] :: AssociateDataShareConsumer -> Maybe Text
-- | The Amazon Resource Name (ARN) of the datashare that the consumer is
-- to use with the account or the namespace.
[$sel:dataShareArn:AssociateDataShareConsumer'] :: AssociateDataShareConsumer -> Text
-- | Create a value of AssociateDataShareConsumer 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:associateEntireAccount:AssociateDataShareConsumer',
-- associateDataShareConsumer_associateEntireAccount - A value
-- that specifies whether the datashare is associated with the entire
-- account.
--
-- $sel:consumerArn:AssociateDataShareConsumer',
-- associateDataShareConsumer_consumerArn - The Amazon Resource
-- Name (ARN) of the consumer that is associated with the datashare.
--
-- AssociateDataShareConsumer,
-- associateDataShareConsumer_consumerRegion - From a datashare
-- consumer account, associates a datashare with all existing and future
-- namespaces in the specified Amazon Web Services Region.
--
-- AssociateDataShareConsumer,
-- associateDataShareConsumer_dataShareArn - The Amazon Resource
-- Name (ARN) of the datashare that the consumer is to use with the
-- account or the namespace.
newAssociateDataShareConsumer :: Text -> AssociateDataShareConsumer
-- | A value that specifies whether the datashare is associated with the
-- entire account.
associateDataShareConsumer_associateEntireAccount :: Lens' AssociateDataShareConsumer (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the consumer that is associated with
-- the datashare.
associateDataShareConsumer_consumerArn :: Lens' AssociateDataShareConsumer (Maybe Text)
-- | From a datashare consumer account, associates a datashare with all
-- existing and future namespaces in the specified Amazon Web Services
-- Region.
associateDataShareConsumer_consumerRegion :: Lens' AssociateDataShareConsumer (Maybe Text)
-- | The Amazon Resource Name (ARN) of the datashare that the consumer is
-- to use with the account or the namespace.
associateDataShareConsumer_dataShareArn :: Lens' AssociateDataShareConsumer Text
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
[$sel:allowPubliclyAccessibleConsumers:DataShare'] :: DataShare -> Maybe Bool
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
[$sel:dataShareArn:DataShare'] :: DataShare -> Maybe Text
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
[$sel:dataShareAssociations:DataShare'] :: DataShare -> Maybe [DataShareAssociation]
-- | The identifier of a datashare to show its managing entity.
[$sel:managedBy:DataShare'] :: DataShare -> Maybe Text
-- | The Amazon Resource Name (ARN) of the producer.
[$sel:producerArn:DataShare'] :: DataShare -> Maybe Text
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.AssociateDataShareConsumer.AssociateDataShareConsumer
instance GHC.Show.Show Amazonka.Redshift.AssociateDataShareConsumer.AssociateDataShareConsumer
instance GHC.Read.Read Amazonka.Redshift.AssociateDataShareConsumer.AssociateDataShareConsumer
instance GHC.Classes.Eq Amazonka.Redshift.AssociateDataShareConsumer.AssociateDataShareConsumer
instance Amazonka.Types.AWSRequest Amazonka.Redshift.AssociateDataShareConsumer.AssociateDataShareConsumer
instance Data.Hashable.Class.Hashable Amazonka.Redshift.AssociateDataShareConsumer.AssociateDataShareConsumer
instance Control.DeepSeq.NFData Amazonka.Redshift.AssociateDataShareConsumer.AssociateDataShareConsumer
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.AssociateDataShareConsumer.AssociateDataShareConsumer
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.AssociateDataShareConsumer.AssociateDataShareConsumer
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.AssociateDataShareConsumer.AssociateDataShareConsumer
-- | Adds a partner integration to a cluster. This operation authorizes a
-- partner to push status updates for the specified database. To complete
-- the integration, you also set up the integration on the partner
-- website.
module Amazonka.Redshift.AddPartner
-- | See: newAddPartner smart constructor.
data AddPartner
AddPartner' :: Text -> Text -> Text -> Text -> AddPartner
-- | The Amazon Web Services account ID that owns the cluster.
[$sel:accountId:AddPartner'] :: AddPartner -> Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
[$sel:clusterIdentifier:AddPartner'] :: AddPartner -> Text
-- | The name of the database that receives data from the partner.
[$sel:databaseName:AddPartner'] :: AddPartner -> Text
-- | The name of the partner that is authorized to send data.
[$sel:partnerName:AddPartner'] :: AddPartner -> Text
-- | Create a value of AddPartner 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:
--
-- AddPartner, addPartner_accountId - The Amazon Web
-- Services account ID that owns the cluster.
--
-- AddPartner, addPartner_clusterIdentifier - The cluster
-- identifier of the cluster that receives data from the partner.
--
-- AddPartner, addPartner_databaseName - The name of the
-- database that receives data from the partner.
--
-- AddPartner, addPartner_partnerName - The name of the
-- partner that is authorized to send data.
newAddPartner :: Text -> Text -> Text -> Text -> AddPartner
-- | The Amazon Web Services account ID that owns the cluster.
addPartner_accountId :: Lens' AddPartner Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
addPartner_clusterIdentifier :: Lens' AddPartner Text
-- | The name of the database that receives data from the partner.
addPartner_databaseName :: Lens' AddPartner Text
-- | The name of the partner that is authorized to send data.
addPartner_partnerName :: Lens' AddPartner Text
-- | See: newPartnerIntegrationOutputMessage smart
-- constructor.
data PartnerIntegrationOutputMessage
PartnerIntegrationOutputMessage' :: Maybe Text -> Maybe Text -> PartnerIntegrationOutputMessage
-- | The name of the database that receives data from the partner.
[$sel:databaseName:PartnerIntegrationOutputMessage'] :: PartnerIntegrationOutputMessage -> Maybe Text
-- | The name of the partner that is authorized to send data.
[$sel:partnerName:PartnerIntegrationOutputMessage'] :: PartnerIntegrationOutputMessage -> Maybe Text
-- | Create a value of PartnerIntegrationOutputMessage 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:databaseName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage
-- | The name of the database that receives data from the partner.
partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the partner that is authorized to send data.
partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.AddPartner.AddPartner
instance GHC.Show.Show Amazonka.Redshift.AddPartner.AddPartner
instance GHC.Read.Read Amazonka.Redshift.AddPartner.AddPartner
instance GHC.Classes.Eq Amazonka.Redshift.AddPartner.AddPartner
instance Amazonka.Types.AWSRequest Amazonka.Redshift.AddPartner.AddPartner
instance Data.Hashable.Class.Hashable Amazonka.Redshift.AddPartner.AddPartner
instance Control.DeepSeq.NFData Amazonka.Redshift.AddPartner.AddPartner
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.AddPartner.AddPartner
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.AddPartner.AddPartner
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.AddPartner.AddPartner
-- | Exchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes
-- to the configuration (term, payment type, or number of nodes) and no
-- additional costs.
module Amazonka.Redshift.AcceptReservedNodeExchange
-- | See: newAcceptReservedNodeExchange smart constructor.
data AcceptReservedNodeExchange
AcceptReservedNodeExchange' :: Text -> Text -> AcceptReservedNodeExchange
-- | A string representing the node identifier of the DC1 Reserved Node to
-- be exchanged.
[$sel:reservedNodeId:AcceptReservedNodeExchange'] :: AcceptReservedNodeExchange -> Text
-- | The unique identifier of the DC2 Reserved Node offering to be used for
-- the exchange. You can obtain the value for the parameter by calling
-- GetReservedNodeExchangeOfferings
[$sel:targetReservedNodeOfferingId:AcceptReservedNodeExchange'] :: AcceptReservedNodeExchange -> Text
-- | Create a value of AcceptReservedNodeExchange 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:
--
-- AcceptReservedNodeExchange,
-- acceptReservedNodeExchange_reservedNodeId - A string
-- representing the node identifier of the DC1 Reserved Node to be
-- exchanged.
--
-- AcceptReservedNodeExchange,
-- acceptReservedNodeExchange_targetReservedNodeOfferingId - The
-- unique identifier of the DC2 Reserved Node offering to be used for the
-- exchange. You can obtain the value for the parameter by calling
-- GetReservedNodeExchangeOfferings
newAcceptReservedNodeExchange :: Text -> Text -> AcceptReservedNodeExchange
-- | A string representing the node identifier of the DC1 Reserved Node to
-- be exchanged.
acceptReservedNodeExchange_reservedNodeId :: Lens' AcceptReservedNodeExchange Text
-- | The unique identifier of the DC2 Reserved Node offering to be used for
-- the exchange. You can obtain the value for the parameter by calling
-- GetReservedNodeExchangeOfferings
acceptReservedNodeExchange_targetReservedNodeOfferingId :: Lens' AcceptReservedNodeExchange Text
-- | See: newAcceptReservedNodeExchangeResponse smart
-- constructor.
data AcceptReservedNodeExchangeResponse
AcceptReservedNodeExchangeResponse' :: Maybe ReservedNode -> Int -> AcceptReservedNodeExchangeResponse
[$sel:exchangedReservedNode:AcceptReservedNodeExchangeResponse'] :: AcceptReservedNodeExchangeResponse -> Maybe ReservedNode
-- | The response's http status code.
[$sel:httpStatus:AcceptReservedNodeExchangeResponse'] :: AcceptReservedNodeExchangeResponse -> Int
-- | Create a value of AcceptReservedNodeExchangeResponse 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:exchangedReservedNode:AcceptReservedNodeExchangeResponse',
-- acceptReservedNodeExchangeResponse_exchangedReservedNode -
--
-- $sel:httpStatus:AcceptReservedNodeExchangeResponse',
-- acceptReservedNodeExchangeResponse_httpStatus - The response's
-- http status code.
newAcceptReservedNodeExchangeResponse :: Int -> AcceptReservedNodeExchangeResponse
acceptReservedNodeExchangeResponse_exchangedReservedNode :: Lens' AcceptReservedNodeExchangeResponse (Maybe ReservedNode)
-- | The response's http status code.
acceptReservedNodeExchangeResponse_httpStatus :: Lens' AcceptReservedNodeExchangeResponse Int
instance GHC.Generics.Generic Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchange
instance GHC.Show.Show Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchange
instance GHC.Read.Read Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchange
instance GHC.Classes.Eq Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchange
instance GHC.Generics.Generic Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchangeResponse
instance GHC.Show.Show Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchangeResponse
instance GHC.Read.Read Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchangeResponse
instance GHC.Classes.Eq Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchangeResponse
instance Amazonka.Types.AWSRequest Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchange
instance Control.DeepSeq.NFData Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchangeResponse
instance Data.Hashable.Class.Hashable Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchange
instance Control.DeepSeq.NFData Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchange
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchange
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchange
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.AcceptReservedNodeExchange.AcceptReservedNodeExchange
-- | Updates the status of a partner integration.
module Amazonka.Redshift.UpdatePartnerStatus
-- | See: newUpdatePartnerStatus smart constructor.
data UpdatePartnerStatus
UpdatePartnerStatus' :: Maybe Text -> Text -> Text -> Text -> Text -> PartnerIntegrationStatus -> UpdatePartnerStatus
-- | The status message provided by the partner.
[$sel:statusMessage:UpdatePartnerStatus'] :: UpdatePartnerStatus -> Maybe Text
-- | The Amazon Web Services account ID that owns the cluster.
[$sel:accountId:UpdatePartnerStatus'] :: UpdatePartnerStatus -> Text
-- | The cluster identifier of the cluster whose partner integration status
-- is being updated.
[$sel:clusterIdentifier:UpdatePartnerStatus'] :: UpdatePartnerStatus -> Text
-- | The name of the database whose partner integration status is being
-- updated.
[$sel:databaseName:UpdatePartnerStatus'] :: UpdatePartnerStatus -> Text
-- | The name of the partner whose integration status is being updated.
[$sel:partnerName:UpdatePartnerStatus'] :: UpdatePartnerStatus -> Text
-- | The value of the updated status.
[$sel:status:UpdatePartnerStatus'] :: UpdatePartnerStatus -> PartnerIntegrationStatus
-- | Create a value of UpdatePartnerStatus 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:
--
-- UpdatePartnerStatus, updatePartnerStatus_statusMessage -
-- The status message provided by the partner.
--
-- UpdatePartnerStatus, updatePartnerStatus_accountId - The
-- Amazon Web Services account ID that owns the cluster.
--
-- UpdatePartnerStatus,
-- updatePartnerStatus_clusterIdentifier - The cluster identifier
-- of the cluster whose partner integration status is being updated.
--
-- UpdatePartnerStatus, updatePartnerStatus_databaseName -
-- The name of the database whose partner integration status is being
-- updated.
--
-- UpdatePartnerStatus, updatePartnerStatus_partnerName -
-- The name of the partner whose integration status is being updated.
--
-- UpdatePartnerStatus, updatePartnerStatus_status - The
-- value of the updated status.
newUpdatePartnerStatus :: Text -> Text -> Text -> Text -> PartnerIntegrationStatus -> UpdatePartnerStatus
-- | The status message provided by the partner.
updatePartnerStatus_statusMessage :: Lens' UpdatePartnerStatus (Maybe Text)
-- | The Amazon Web Services account ID that owns the cluster.
updatePartnerStatus_accountId :: Lens' UpdatePartnerStatus Text
-- | The cluster identifier of the cluster whose partner integration status
-- is being updated.
updatePartnerStatus_clusterIdentifier :: Lens' UpdatePartnerStatus Text
-- | The name of the database whose partner integration status is being
-- updated.
updatePartnerStatus_databaseName :: Lens' UpdatePartnerStatus Text
-- | The name of the partner whose integration status is being updated.
updatePartnerStatus_partnerName :: Lens' UpdatePartnerStatus Text
-- | The value of the updated status.
updatePartnerStatus_status :: Lens' UpdatePartnerStatus PartnerIntegrationStatus
-- | See: newPartnerIntegrationOutputMessage smart
-- constructor.
data PartnerIntegrationOutputMessage
PartnerIntegrationOutputMessage' :: Maybe Text -> Maybe Text -> PartnerIntegrationOutputMessage
-- | The name of the database that receives data from the partner.
[$sel:databaseName:PartnerIntegrationOutputMessage'] :: PartnerIntegrationOutputMessage -> Maybe Text
-- | The name of the partner that is authorized to send data.
[$sel:partnerName:PartnerIntegrationOutputMessage'] :: PartnerIntegrationOutputMessage -> Maybe Text
-- | Create a value of PartnerIntegrationOutputMessage 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:databaseName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage
-- | The name of the database that receives data from the partner.
partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the partner that is authorized to send data.
partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
instance GHC.Generics.Generic Amazonka.Redshift.UpdatePartnerStatus.UpdatePartnerStatus
instance GHC.Show.Show Amazonka.Redshift.UpdatePartnerStatus.UpdatePartnerStatus
instance GHC.Read.Read Amazonka.Redshift.UpdatePartnerStatus.UpdatePartnerStatus
instance GHC.Classes.Eq Amazonka.Redshift.UpdatePartnerStatus.UpdatePartnerStatus
instance Amazonka.Types.AWSRequest Amazonka.Redshift.UpdatePartnerStatus.UpdatePartnerStatus
instance Data.Hashable.Class.Hashable Amazonka.Redshift.UpdatePartnerStatus.UpdatePartnerStatus
instance Control.DeepSeq.NFData Amazonka.Redshift.UpdatePartnerStatus.UpdatePartnerStatus
instance Amazonka.Data.Headers.ToHeaders Amazonka.Redshift.UpdatePartnerStatus.UpdatePartnerStatus
instance Amazonka.Data.Path.ToPath Amazonka.Redshift.UpdatePartnerStatus.UpdatePartnerStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Redshift.UpdatePartnerStatus.UpdatePartnerStatus
module Amazonka.Redshift.Lens
-- | A string representing the node identifier of the DC1 Reserved Node to
-- be exchanged.
acceptReservedNodeExchange_reservedNodeId :: Lens' AcceptReservedNodeExchange Text
-- | The unique identifier of the DC2 Reserved Node offering to be used for
-- the exchange. You can obtain the value for the parameter by calling
-- GetReservedNodeExchangeOfferings
acceptReservedNodeExchange_targetReservedNodeOfferingId :: Lens' AcceptReservedNodeExchange Text
acceptReservedNodeExchangeResponse_exchangedReservedNode :: Lens' AcceptReservedNodeExchangeResponse (Maybe ReservedNode)
-- | The response's http status code.
acceptReservedNodeExchangeResponse_httpStatus :: Lens' AcceptReservedNodeExchangeResponse Int
-- | The Amazon Web Services account ID that owns the cluster.
addPartner_accountId :: Lens' AddPartner Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
addPartner_clusterIdentifier :: Lens' AddPartner Text
-- | The name of the database that receives data from the partner.
addPartner_databaseName :: Lens' AddPartner Text
-- | The name of the partner that is authorized to send data.
addPartner_partnerName :: Lens' AddPartner Text
-- | The name of the database that receives data from the partner.
partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the partner that is authorized to send data.
partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | A value that specifies whether the datashare is associated with the
-- entire account.
associateDataShareConsumer_associateEntireAccount :: Lens' AssociateDataShareConsumer (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the consumer that is associated with
-- the datashare.
associateDataShareConsumer_consumerArn :: Lens' AssociateDataShareConsumer (Maybe Text)
-- | From a datashare consumer account, associates a datashare with all
-- existing and future namespaces in the specified Amazon Web Services
-- Region.
associateDataShareConsumer_consumerRegion :: Lens' AssociateDataShareConsumer (Maybe Text)
-- | The Amazon Resource Name (ARN) of the datashare that the consumer is
-- to use with the account or the namespace.
associateDataShareConsumer_dataShareArn :: Lens' AssociateDataShareConsumer Text
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
-- | The IP range to be added the Amazon Redshift security group.
authorizeClusterSecurityGroupIngress_cidrip :: Lens' AuthorizeClusterSecurityGroupIngress (Maybe Text)
-- | The EC2 security group to be added the Amazon Redshift security group.
authorizeClusterSecurityGroupIngress_eC2SecurityGroupName :: Lens' AuthorizeClusterSecurityGroupIngress (Maybe Text)
-- | The Amazon Web Services account number of the owner of the security
-- group specified by the EC2SecurityGroupName parameter. The
-- Amazon Web Services Access Key ID is not an acceptable value.
--
-- Example: 111122223333
authorizeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' AuthorizeClusterSecurityGroupIngress (Maybe Text)
-- | The name of the security group to which the ingress rule is added.
authorizeClusterSecurityGroupIngress_clusterSecurityGroupName :: Lens' AuthorizeClusterSecurityGroupIngress Text
-- | Undocumented member.
authorizeClusterSecurityGroupIngressResponse_clusterSecurityGroup :: Lens' AuthorizeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup)
-- | The response's http status code.
authorizeClusterSecurityGroupIngressResponse_httpStatus :: Lens' AuthorizeClusterSecurityGroupIngressResponse Int
-- | The Amazon Resource Name (ARN) of the datashare that producers are to
-- authorize sharing for.
authorizeDataShare_dataShareArn :: Lens' AuthorizeDataShare Text
-- | The identifier of the data consumer that is authorized to access the
-- datashare. This identifier is an Amazon Web Services account ID or a
-- keyword, such as ADX.
authorizeDataShare_consumerIdentifier :: Lens' AuthorizeDataShare Text
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
-- | The cluster identifier of the cluster to grant access to.
authorizeEndpointAccess_clusterIdentifier :: Lens' AuthorizeEndpointAccess (Maybe Text)
-- | The virtual private cloud (VPC) identifiers to grant access to.
authorizeEndpointAccess_vpcIds :: Lens' AuthorizeEndpointAccess (Maybe [Text])
-- | The Amazon Web Services account ID to grant access to.
authorizeEndpointAccess_account :: Lens' AuthorizeEndpointAccess Text
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool)
-- | The VPCs allowed access to the cluster.
endpointAuthorization_allowedVPCs :: Lens' EndpointAuthorization (Maybe [Text])
-- | The time (UTC) when the authorization was created.
endpointAuthorization_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime)
-- | The cluster identifier.
endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the cluster.
endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text)
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int)
-- | The Amazon Web Services account ID of the grantee of the cluster.
endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text)
-- | The Amazon Web Services account ID of the cluster owner.
endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the authorization action.
endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus)
-- | The Amazon Resource Name (ARN) of the snapshot to authorize access to.
authorizeSnapshotAccess_snapshotArn :: Lens' AuthorizeSnapshotAccess (Maybe Text)
-- | The identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
authorizeSnapshotAccess_snapshotClusterIdentifier :: Lens' AuthorizeSnapshotAccess (Maybe Text)
-- | The identifier of the snapshot the account is authorized to restore.
authorizeSnapshotAccess_snapshotIdentifier :: Lens' AuthorizeSnapshotAccess (Maybe Text)
-- | The identifier of the Amazon Web Services account authorized to
-- restore the specified snapshot.
--
-- To share a snapshot with Amazon Web Services Support, specify
-- amazon-redshift-support.
authorizeSnapshotAccess_accountWithRestoreAccess :: Lens' AuthorizeSnapshotAccess Text
-- | Undocumented member.
authorizeSnapshotAccessResponse_snapshot :: Lens' AuthorizeSnapshotAccessResponse (Maybe Snapshot)
-- | The response's http status code.
authorizeSnapshotAccessResponse_httpStatus :: Lens' AuthorizeSnapshotAccessResponse Int
-- | A list of identifiers for the snapshots that you want to delete.
batchDeleteClusterSnapshots_identifiers :: Lens' BatchDeleteClusterSnapshots [DeleteClusterSnapshotMessage]
-- | A list of any errors returned.
batchDeleteClusterSnapshotsResponse_errors :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [SnapshotErrorMessage])
-- | A list of the snapshot identifiers that were deleted.
batchDeleteClusterSnapshotsResponse_resources :: Lens' BatchDeleteClusterSnapshotsResponse (Maybe [Text])
-- | The response's http status code.
batchDeleteClusterSnapshotsResponse_httpStatus :: Lens' BatchDeleteClusterSnapshotsResponse Int
-- | A boolean value indicating whether to override an exception if the
-- retention period has passed.
batchModifyClusterSnapshots_force :: Lens' BatchModifyClusterSnapshots (Maybe Bool)
-- | The number of days that a manual snapshot is retained. If you specify
-- the value -1, the manual snapshot is retained indefinitely.
--
-- The number must be either -1 or an integer between 1 and 3,653.
--
-- If you decrease the manual snapshot retention period from its current
-- value, existing manual snapshots that fall outside of the new
-- retention period will return an error. If you want to suppress the
-- errors and delete the snapshots, use the force option.
batchModifyClusterSnapshots_manualSnapshotRetentionPeriod :: Lens' BatchModifyClusterSnapshots (Maybe Int)
-- | A list of snapshot identifiers you want to modify.
batchModifyClusterSnapshots_snapshotIdentifierList :: Lens' BatchModifyClusterSnapshots [Text]
-- | A list of any errors returned.
batchModifyClusterSnapshotsResponse_errors :: Lens' BatchModifyClusterSnapshotsResponse (Maybe [SnapshotErrorMessage])
-- | A list of the snapshots that were modified.
batchModifyClusterSnapshotsResponse_resources :: Lens' BatchModifyClusterSnapshotsResponse (Maybe [Text])
-- | The response's http status code.
batchModifyClusterSnapshotsResponse_httpStatus :: Lens' BatchModifyClusterSnapshotsResponse Int
-- | The unique identifier for the cluster that you want to cancel a resize
-- operation for.
cancelResize_clusterIdentifier :: Lens' CancelResize Text
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
resizeProgressMessage_avgResizeRateInMegaBytesPerSecond :: Lens' ResizeProgressMessage (Maybe Double)
-- | The percent of data transferred from source cluster to target cluster.
resizeProgressMessage_dataTransferProgressPercent :: Lens' ResizeProgressMessage (Maybe Double)
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
resizeProgressMessage_elapsedTimeInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
resizeProgressMessage_estimatedTimeToCompletionInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesCompleted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesInProgress :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
resizeProgressMessage_importTablesNotStarted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | An optional string to provide additional details about the resize
-- action.
resizeProgressMessage_message :: Lens' ResizeProgressMessage (Maybe Text)
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
resizeProgressMessage_progressInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
resizeProgressMessage_resizeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
resizeProgressMessage_status :: Lens' ResizeProgressMessage (Maybe Text)
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
resizeProgressMessage_targetClusterType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
resizeProgressMessage_targetEncryptionType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The node type that the cluster will have after the resize operation is
-- complete.
resizeProgressMessage_targetNodeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
resizeProgressMessage_targetNumberOfNodes :: Lens' ResizeProgressMessage (Maybe Int)
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
resizeProgressMessage_totalResizeDataInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
copyClusterSnapshot_manualSnapshotRetentionPeriod :: Lens' CopyClusterSnapshot (Maybe Int)
-- | The identifier of the cluster the source snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints:
--
--
-- - Must be the identifier for a valid cluster.
--
copyClusterSnapshot_sourceSnapshotClusterIdentifier :: Lens' CopyClusterSnapshot (Maybe Text)
-- | The identifier for the source snapshot.
--
-- Constraints:
--
--
-- - Must be the identifier for a valid automated snapshot whose state
-- is available.
--
copyClusterSnapshot_sourceSnapshotIdentifier :: Lens' CopyClusterSnapshot Text
-- | The identifier given to the new manual snapshot.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank.
-- - Must contain from 1 to 255 alphanumeric characters or
-- hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for the Amazon Web Services account that is making
-- the request.
--
copyClusterSnapshot_targetSnapshotIdentifier :: Lens' CopyClusterSnapshot Text
-- | Undocumented member.
copyClusterSnapshotResponse_snapshot :: Lens' CopyClusterSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
copyClusterSnapshotResponse_httpStatus :: Lens' CopyClusterSnapshotResponse Int
-- | The name of the authentication profile to be created.
createAuthenticationProfile_authenticationProfileName :: Lens' CreateAuthenticationProfile Text
-- | The content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
createAuthenticationProfile_authenticationProfileContent :: Lens' CreateAuthenticationProfile Text
-- | The content of the authentication profile in JSON format.
createAuthenticationProfileResponse_authenticationProfileContent :: Lens' CreateAuthenticationProfileResponse (Maybe Text)
-- | The name of the authentication profile that was created.
createAuthenticationProfileResponse_authenticationProfileName :: Lens' CreateAuthenticationProfileResponse (Maybe Text)
-- | The response's http status code.
createAuthenticationProfileResponse_httpStatus :: Lens' CreateAuthenticationProfileResponse Int
-- | Reserved.
createCluster_additionalInfo :: Lens' CreateCluster (Maybe Text)
-- | If true, major version upgrades can be applied during the
-- maintenance window to the Amazon Redshift engine that is running on
-- the cluster.
--
-- When a new major version of the Amazon Redshift engine is released,
-- you can request that the service automatically apply upgrades during
-- the maintenance window to the Amazon Redshift engine that is running
-- on your cluster.
--
-- Default: true
createCluster_allowVersionUpgrade :: Lens' CreateCluster (Maybe Bool)
-- | This parameter is retired. It does not set the AQUA configuration
-- status. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
createCluster_aquaConfigurationStatus :: Lens' CreateCluster (Maybe AquaConfigurationStatus)
-- | The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: 1
--
-- Constraints: Must be a value from 0 to 35.
createCluster_automatedSnapshotRetentionPeriod :: Lens' CreateCluster (Maybe Int)
-- | The EC2 Availability Zone (AZ) in which you want Amazon Redshift to
-- provision the cluster. For example, if you have several EC2 instances
-- running in a specific Availability Zone, then you might want the
-- cluster to be provisioned in the same zone in order to decrease
-- network latency.
--
-- Default: A random, system-chosen Availability Zone in the region that
-- is specified by the endpoint.
--
-- Example: us-east-2d
--
-- Constraint: The specified Availability Zone must be in the same region
-- as the current endpoint.
createCluster_availabilityZone :: Lens' CreateCluster (Maybe Text)
-- | The option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster is created.
createCluster_availabilityZoneRelocation :: Lens' CreateCluster (Maybe Bool)
-- | The name of the parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
createCluster_clusterParameterGroupName :: Lens' CreateCluster (Maybe Text)
-- | A list of security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
createCluster_clusterSecurityGroups :: Lens' CreateCluster (Maybe [Text])
-- | The name of a cluster subnet group to be associated with this cluster.
--
-- If this parameter is not provided the resulting cluster will be
-- deployed outside virtual private cloud (VPC).
createCluster_clusterSubnetGroupName :: Lens' CreateCluster (Maybe Text)
-- | The type of the cluster. When cluster type is specified as
--
--
-- - single-node, the NumberOfNodes parameter is not
-- required.
-- - multi-node, the NumberOfNodes parameter is
-- required.
--
--
-- Valid Values: multi-node | single-node
--
-- Default: multi-node
createCluster_clusterType :: Lens' CreateCluster (Maybe Text)
-- | The version of the Amazon Redshift engine software that you want to
-- deploy on the cluster.
--
-- The version selected runs on all the nodes in the cluster.
--
-- Constraints: Only version 1.0 is currently available.
--
-- Example: 1.0
createCluster_clusterVersion :: Lens' CreateCluster (Maybe Text)
-- | The name of the first database to be created when the cluster is
-- created.
--
-- To create additional databases after the cluster is created, connect
-- to the cluster with a SQL client and use SQL commands to create a
-- database. For more information, go to Create a Database in the
-- Amazon Redshift Database Developer Guide.
--
-- Default: dev
--
-- Constraints:
--
--
-- - Must contain 1 to 64 alphanumeric characters.
-- - Must contain only lowercase letters.
-- - Cannot be a word that is reserved by the service. A list of
-- reserved words can be found in Reserved Words in the Amazon
-- Redshift Database Developer Guide.
--
createCluster_dbName :: Lens' CreateCluster (Maybe Text)
-- | The Amazon Resource Name (ARN) for the IAM role that was set as
-- default for the cluster when the cluster was created.
createCluster_defaultIamRoleArn :: Lens' CreateCluster (Maybe Text)
-- | The Elastic IP (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. Don't specify the
-- Elastic IP address for a publicly accessible cluster with availability
-- zone relocation turned on. For more information about provisioning
-- clusters in EC2-VPC, go to Supported Platforms to Launch Your
-- Cluster in the Amazon Redshift Cluster Management Guide.
createCluster_elasticIp :: Lens' CreateCluster (Maybe Text)
-- | If true, the data in the cluster is encrypted at rest.
--
-- Default: false
createCluster_encrypted :: Lens' CreateCluster (Maybe Bool)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
createCluster_enhancedVpcRouting :: Lens' CreateCluster (Maybe Bool)
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
createCluster_hsmClientCertificateIdentifier :: Lens' CreateCluster (Maybe Text)
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
createCluster_hsmConfigurationIdentifier :: Lens' CreateCluster (Maybe Text)
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services. You must
-- supply the IAM roles in their Amazon Resource Name (ARN) format.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
createCluster_iamRoles :: Lens' CreateCluster (Maybe [Text])
-- | The Key Management Service (KMS) key ID of the encryption key that you
-- want to use to encrypt data in the cluster.
createCluster_kmsKeyId :: Lens' CreateCluster (Maybe Text)
-- | A flag that specifies whether to load sample data once the cluster is
-- created.
createCluster_loadSampleData :: Lens' CreateCluster (Maybe Text)
-- | An optional parameter for the name of the maintenance track for the
-- cluster. If you don't provide a maintenance track name, the cluster is
-- assigned to the current track.
createCluster_maintenanceTrackName :: Lens' CreateCluster (Maybe Text)
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
createCluster_manualSnapshotRetentionPeriod :: Lens' CreateCluster (Maybe Int)
-- | The number of compute nodes in the cluster. This parameter is required
-- when the ClusterType parameter is specified as
-- multi-node.
--
-- For information about determining how many nodes you need, go to
-- Working with Clusters in the Amazon Redshift Cluster
-- Management Guide.
--
-- If you don't specify this parameter, you get a single-node cluster.
-- When requesting a multi-node cluster, you must specify the number of
-- nodes that you want in the cluster.
--
-- Default: 1
--
-- Constraints: Value must be at least 1 and no more than 100.
createCluster_numberOfNodes :: Lens' CreateCluster (Maybe Int)
-- | The port number on which the cluster accepts incoming connections.
--
-- The cluster is accessible only via the JDBC and ODBC connection
-- strings. Part of the connection string requires the port on which the
-- cluster will listen for incoming connections.
--
-- Default: 5439
--
-- Valid Values: 1150-65535
createCluster_port :: Lens' CreateCluster (Maybe Int)
-- | The weekly time range (in UTC) during which automated cluster
-- maintenance can occur.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi
--
-- Default: A 30-minute window selected at random from an 8-hour block of
-- time per region, occurring on a random day of the week. For more
-- information about the time blocks for each region, see Maintenance
-- Windows in Amazon Redshift Cluster Management Guide.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Minimum 30-minute window.
createCluster_preferredMaintenanceWindow :: Lens' CreateCluster (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
createCluster_publiclyAccessible :: Lens' CreateCluster (Maybe Bool)
-- | A unique identifier for the snapshot schedule.
createCluster_snapshotScheduleIdentifier :: Lens' CreateCluster (Maybe Text)
-- | A list of tag instances.
createCluster_tags :: Lens' CreateCluster (Maybe [Tag])
-- | A list of Virtual Private Cloud (VPC) security groups to be associated
-- with the cluster.
--
-- Default: The default VPC security group is associated with the
-- cluster.
createCluster_vpcSecurityGroupIds :: Lens' CreateCluster (Maybe [Text])
-- | A unique identifier for the cluster. You use this identifier to refer
-- to the cluster for any subsequent cluster operations such as deleting
-- or modifying. The identifier also appears in the Amazon Redshift
-- console.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
--
-- Example: myexamplecluster
createCluster_clusterIdentifier :: Lens' CreateCluster Text
-- | The node type to be provisioned for the cluster. For information about
-- node types, go to Working with Clusters in the Amazon
-- Redshift Cluster Management Guide.
--
-- Valid Values: ds2.xlarge | ds2.8xlarge |
-- dc1.large | dc1.8xlarge | dc2.large |
-- dc2.8xlarge | ra3.xlplus | ra3.4xlarge |
-- ra3.16xlarge
createCluster_nodeType :: Lens' CreateCluster Text
-- | The user name associated with the admin user account for the cluster
-- that is being created.
--
-- Constraints:
--
--
-- - Must be 1 - 128 alphanumeric characters. The user name can't be
-- PUBLIC.
-- - First character must be a letter.
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
createCluster_masterUsername :: Lens' CreateCluster Text
-- | The password associated with the admin user account for the cluster
-- that is being created.
--
-- Constraints:
--
--
-- - Must be between 8 and 64 characters in length.
-- - Must contain at least one uppercase letter.
-- - Must contain at least one lowercase letter.
-- - Must contain one number.
-- - Can be any printable ASCII character (ASCII code 33-126) except
-- ' (single quote), " (double quote), \,
-- /, or @.
--
createCluster_masterUserPassword :: Lens' CreateCluster Text
-- | Undocumented member.
createClusterResponse_cluster :: Lens' CreateClusterResponse (Maybe Cluster)
-- | The response's http status code.
createClusterResponse_httpStatus :: Lens' CreateClusterResponse Int
-- | A list of tag instances.
createClusterParameterGroup_tags :: Lens' CreateClusterParameterGroup (Maybe [Tag])
-- | The name of the cluster parameter group.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique withing your Amazon Web Services account.
--
--
-- This value is stored as a lower-case string.
createClusterParameterGroup_parameterGroupName :: Lens' CreateClusterParameterGroup Text
-- | The Amazon Redshift engine version to which the cluster parameter
-- group applies. The cluster engine version determines the set of
-- parameters.
--
-- To get a list of valid parameter group family names, you can call
-- DescribeClusterParameterGroups. By default, Amazon Redshift returns a
-- list of all the parameter groups that are owned by your Amazon Web
-- Services account, including the default parameter groups for each
-- Amazon Redshift engine version. The parameter group family names
-- associated with the default parameter groups provide you the valid
-- values. For example, a valid family name is "redshift-1.0".
createClusterParameterGroup_parameterGroupFamily :: Lens' CreateClusterParameterGroup Text
-- | A description of the parameter group.
createClusterParameterGroup_description :: Lens' CreateClusterParameterGroup Text
-- | Undocumented member.
createClusterParameterGroupResponse_clusterParameterGroup :: Lens' CreateClusterParameterGroupResponse (Maybe ClusterParameterGroup)
-- | The response's http status code.
createClusterParameterGroupResponse_httpStatus :: Lens' CreateClusterParameterGroupResponse Int
-- | A list of tag instances.
createClusterSecurityGroup_tags :: Lens' CreateClusterSecurityGroup (Maybe [Tag])
-- | The name for the security group. Amazon Redshift stores the value as a
-- lowercase string.
--
-- Constraints:
--
--
-- - Must contain no more than 255 alphanumeric characters or
-- hyphens.
-- - Must not be "Default".
-- - Must be unique for all security groups that are created by your
-- Amazon Web Services account.
--
--
-- Example: examplesecuritygroup
createClusterSecurityGroup_clusterSecurityGroupName :: Lens' CreateClusterSecurityGroup Text
-- | A description for the security group.
createClusterSecurityGroup_description :: Lens' CreateClusterSecurityGroup Text
-- | Undocumented member.
createClusterSecurityGroupResponse_clusterSecurityGroup :: Lens' CreateClusterSecurityGroupResponse (Maybe ClusterSecurityGroup)
-- | The response's http status code.
createClusterSecurityGroupResponse_httpStatus :: Lens' CreateClusterSecurityGroupResponse Int
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
createClusterSnapshot_manualSnapshotRetentionPeriod :: Lens' CreateClusterSnapshot (Maybe Int)
-- | A list of tag instances.
createClusterSnapshot_tags :: Lens' CreateClusterSnapshot (Maybe [Tag])
-- | A unique identifier for the snapshot that you are requesting. This
-- identifier must be unique for all snapshots within the Amazon Web
-- Services account.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank
-- - Must contain from 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
--
-- Example: my-snapshot-id
createClusterSnapshot_snapshotIdentifier :: Lens' CreateClusterSnapshot Text
-- | The cluster identifier for which you want a snapshot.
createClusterSnapshot_clusterIdentifier :: Lens' CreateClusterSnapshot Text
-- | Undocumented member.
createClusterSnapshotResponse_snapshot :: Lens' CreateClusterSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
createClusterSnapshotResponse_httpStatus :: Lens' CreateClusterSnapshotResponse Int
-- | A list of tag instances.
createClusterSubnetGroup_tags :: Lens' CreateClusterSubnetGroup (Maybe [Tag])
-- | The name for the subnet group. Amazon Redshift stores the value as a
-- lowercase string.
--
-- Constraints:
--
--
-- - Must contain no more than 255 alphanumeric characters or
-- hyphens.
-- - Must not be "Default".
-- - Must be unique for all subnet groups that are created by your
-- Amazon Web Services account.
--
--
-- Example: examplesubnetgroup
createClusterSubnetGroup_clusterSubnetGroupName :: Lens' CreateClusterSubnetGroup Text
-- | A description for the subnet group.
createClusterSubnetGroup_description :: Lens' CreateClusterSubnetGroup Text
-- | An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
-- a single request.
createClusterSubnetGroup_subnetIds :: Lens' CreateClusterSubnetGroup [Text]
-- | Undocumented member.
createClusterSubnetGroupResponse_clusterSubnetGroup :: Lens' CreateClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
-- | The response's http status code.
createClusterSubnetGroupResponse_httpStatus :: Lens' CreateClusterSubnetGroupResponse Int
-- | The cluster identifier of the cluster to access.
createEndpointAccess_clusterIdentifier :: Lens' CreateEndpointAccess (Maybe Text)
-- | The Amazon Web Services account ID of the owner of the cluster. This
-- is only required if the cluster is in another Amazon Web Services
-- account.
createEndpointAccess_resourceOwner :: Lens' CreateEndpointAccess (Maybe Text)
-- | 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 Redshift-managed VPC endpoint name.
--
-- 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 subnet group from which Amazon Redshift chooses the subnet to
-- deploy the endpoint.
createEndpointAccess_subnetGroupName :: Lens' CreateEndpointAccess Text
-- | The DNS address of the endpoint.
endpointAccess_address :: Lens' EndpointAccess (Maybe Text)
-- | The cluster identifier of the cluster associated with the endpoint.
endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text)
-- | The time (UTC) that the endpoint was created.
endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime)
-- | The name of the endpoint.
endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text)
-- | The status of the endpoint.
endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text)
-- | The port number on which the cluster accepts incoming connections.
endpointAccess_port :: Lens' EndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text)
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text)
-- | Undocumented member.
endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint)
-- | The security groups associated with the endpoint.
endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership])
-- | A boolean value; set to true to activate the subscription,
-- and set to false to create the subscription but not activate
-- it.
createEventSubscription_enabled :: Lens' CreateEventSubscription (Maybe Bool)
-- | Specifies the Amazon Redshift event categories to be published by the
-- event notification subscription.
--
-- Values: configuration, management, monitoring, security, pending
createEventSubscription_eventCategories :: Lens' CreateEventSubscription (Maybe [Text])
-- | Specifies the Amazon Redshift event severity to be published by the
-- event notification subscription.
--
-- Values: ERROR, INFO
createEventSubscription_severity :: Lens' CreateEventSubscription (Maybe Text)
-- | A list of one or more identifiers of Amazon Redshift source objects.
-- All of the objects must be of the same type as was specified in the
-- source type parameter. The event subscription will return only events
-- generated by the specified objects. If not specified, then events are
-- returned for all objects within the source type specified.
--
-- Example: my-cluster-1, my-cluster-2
--
-- Example: my-snapshot-20131010
createEventSubscription_sourceIds :: Lens' CreateEventSubscription (Maybe [Text])
-- | The type of source that will be generating the events. For example, if
-- you want to be notified of events generated by a cluster, you would
-- set this parameter to cluster. If this value is not specified, events
-- are returned for all Amazon Redshift objects in your Amazon Web
-- Services account. You must specify a source type in order to specify
-- source IDs.
--
-- Valid values: cluster, cluster-parameter-group,
-- cluster-security-group, cluster-snapshot, and scheduled-action.
createEventSubscription_sourceType :: Lens' CreateEventSubscription (Maybe Text)
-- | A list of tag instances.
createEventSubscription_tags :: Lens' CreateEventSubscription (Maybe [Tag])
-- | The name of the event subscription to be created.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank.
-- - Must contain from 1 to 255 alphanumeric characters or
-- hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
createEventSubscription_subscriptionName :: Lens' CreateEventSubscription Text
-- | The Amazon Resource Name (ARN) of the Amazon SNS topic used to
-- transmit the event notifications. The ARN is created by Amazon SNS
-- when you create a topic and subscribe to it.
createEventSubscription_snsTopicArn :: Lens' CreateEventSubscription Text
-- | Undocumented member.
createEventSubscriptionResponse_eventSubscription :: Lens' CreateEventSubscriptionResponse (Maybe EventSubscription)
-- | The response's http status code.
createEventSubscriptionResponse_httpStatus :: Lens' CreateEventSubscriptionResponse Int
-- | A list of tag instances.
createHsmClientCertificate_tags :: Lens' CreateHsmClientCertificate (Maybe [Tag])
-- | The identifier to be assigned to the new HSM client certificate that
-- the cluster will use to connect to the HSM to use the database
-- encryption keys.
createHsmClientCertificate_hsmClientCertificateIdentifier :: Lens' CreateHsmClientCertificate Text
-- | Undocumented member.
createHsmClientCertificateResponse_hsmClientCertificate :: Lens' CreateHsmClientCertificateResponse (Maybe HsmClientCertificate)
-- | The response's http status code.
createHsmClientCertificateResponse_httpStatus :: Lens' CreateHsmClientCertificateResponse Int
-- | A list of tag instances.
createHsmConfiguration_tags :: Lens' CreateHsmConfiguration (Maybe [Tag])
-- | The identifier to be assigned to the new Amazon Redshift HSM
-- configuration.
createHsmConfiguration_hsmConfigurationIdentifier :: Lens' CreateHsmConfiguration Text
-- | A text description of the HSM configuration to be created.
createHsmConfiguration_description :: Lens' CreateHsmConfiguration Text
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
createHsmConfiguration_hsmIpAddress :: Lens' CreateHsmConfiguration Text
-- | The name of the partition in the HSM where the Amazon Redshift
-- clusters will store their database encryption keys.
createHsmConfiguration_hsmPartitionName :: Lens' CreateHsmConfiguration Text
-- | The password required to access the HSM partition.
createHsmConfiguration_hsmPartitionPassword :: Lens' CreateHsmConfiguration Text
-- | The HSMs public certificate file. When using Cloud HSM, the file name
-- is server.pem.
createHsmConfiguration_hsmServerPublicCertificate :: Lens' CreateHsmConfiguration Text
-- | Undocumented member.
createHsmConfigurationResponse_hsmConfiguration :: Lens' CreateHsmConfigurationResponse (Maybe HsmConfiguration)
-- | The response's http status code.
createHsmConfigurationResponse_httpStatus :: Lens' CreateHsmConfigurationResponse Int
-- | If true, the schedule is enabled. If false, the scheduled action does
-- not trigger. For more information about state of the
-- scheduled action, see ScheduledAction.
createScheduledAction_enable :: Lens' CreateScheduledAction (Maybe Bool)
-- | The end time in UTC of the scheduled action. After this time, the
-- scheduled action does not trigger. For more information about this
-- parameter, see ScheduledAction.
createScheduledAction_endTime :: Lens' CreateScheduledAction (Maybe UTCTime)
-- | The description of the scheduled action.
createScheduledAction_scheduledActionDescription :: Lens' CreateScheduledAction (Maybe Text)
-- | The start time in UTC of the scheduled action. Before this time, the
-- scheduled action does not trigger. For more information about this
-- parameter, see ScheduledAction.
createScheduledAction_startTime :: Lens' CreateScheduledAction (Maybe UTCTime)
-- | The name of the scheduled action. The name must be unique within an
-- account. For more information about this parameter, see
-- ScheduledAction.
createScheduledAction_scheduledActionName :: Lens' CreateScheduledAction Text
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters. For more information about this parameter, see
-- ScheduledAction.
createScheduledAction_targetAction :: Lens' CreateScheduledAction ScheduledActionType
-- | The schedule in at( ) or cron( ) format. For more
-- information about this parameter, see ScheduledAction.
createScheduledAction_schedule :: Lens' CreateScheduledAction Text
-- | The IAM role to assume to run the target action. For more information
-- about this parameter, see ScheduledAction.
createScheduledAction_iamRole :: Lens' CreateScheduledAction Text
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
scheduledAction_endTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
scheduledAction_iamRole :: Lens' ScheduledAction (Maybe Text)
-- | List of times when the scheduled action will run.
scheduledAction_nextInvocations :: Lens' ScheduledAction (Maybe [UTCTime])
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
scheduledAction_schedule :: Lens' ScheduledAction (Maybe Text)
-- | The description of the scheduled action.
scheduledAction_scheduledActionDescription :: Lens' ScheduledAction (Maybe Text)
-- | The name of the scheduled action.
scheduledAction_scheduledActionName :: Lens' ScheduledAction (Maybe Text)
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
scheduledAction_startTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The state of the scheduled action. For example, DISABLED.
scheduledAction_state :: Lens' ScheduledAction (Maybe ScheduledActionState)
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
scheduledAction_targetAction :: Lens' ScheduledAction (Maybe ScheduledActionType)
-- | The unique identifier of the encrypted symmetric key to which to grant
-- Amazon Redshift permission. If no key is specified, the default key is
-- used.
createSnapshotCopyGrant_kmsKeyId :: Lens' CreateSnapshotCopyGrant (Maybe Text)
-- | A list of tag instances.
createSnapshotCopyGrant_tags :: Lens' CreateSnapshotCopyGrant (Maybe [Tag])
-- | The name of the snapshot copy grant. This name must be unique in the
-- region for the Amazon Web Services account.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
createSnapshotCopyGrant_snapshotCopyGrantName :: Lens' CreateSnapshotCopyGrant Text
-- | Undocumented member.
createSnapshotCopyGrantResponse_snapshotCopyGrant :: Lens' CreateSnapshotCopyGrantResponse (Maybe SnapshotCopyGrant)
-- | The response's http status code.
createSnapshotCopyGrantResponse_httpStatus :: Lens' CreateSnapshotCopyGrantResponse Int
createSnapshotSchedule_dryRun :: Lens' CreateSnapshotSchedule (Maybe Bool)
createSnapshotSchedule_nextInvocations :: Lens' CreateSnapshotSchedule (Maybe Int)
-- | The definition of the snapshot schedule. The definition is made up of
-- schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
createSnapshotSchedule_scheduleDefinitions :: Lens' CreateSnapshotSchedule (Maybe [Text])
-- | The description of the snapshot schedule.
createSnapshotSchedule_scheduleDescription :: Lens' CreateSnapshotSchedule (Maybe Text)
-- | A unique identifier for a snapshot schedule. Only alphanumeric
-- characters are allowed for the identifier.
createSnapshotSchedule_scheduleIdentifier :: Lens' CreateSnapshotSchedule (Maybe Text)
-- | An optional set of tags you can use to search for the schedule.
createSnapshotSchedule_tags :: Lens' CreateSnapshotSchedule (Maybe [Tag])
-- | The number of clusters associated with the schedule.
snapshotSchedule_associatedClusterCount :: Lens' SnapshotSchedule (Maybe Int)
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
snapshotSchedule_associatedClusters :: Lens' SnapshotSchedule (Maybe [ClusterAssociatedToSchedule])
snapshotSchedule_nextInvocations :: Lens' SnapshotSchedule (Maybe [UTCTime])
-- | A list of ScheduleDefinitions.
snapshotSchedule_scheduleDefinitions :: Lens' SnapshotSchedule (Maybe [Text])
-- | The description of the schedule.
snapshotSchedule_scheduleDescription :: Lens' SnapshotSchedule (Maybe Text)
-- | A unique identifier for the schedule.
snapshotSchedule_scheduleIdentifier :: Lens' SnapshotSchedule (Maybe Text)
-- | An optional set of tags describing the schedule.
snapshotSchedule_tags :: Lens' SnapshotSchedule (Maybe [Tag])
-- | The Amazon Resource Name (ARN) to which you want to add the tag or
-- tags. For example,
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
createTags_resourceName :: Lens' CreateTags Text
-- | One or more name/value pairs to add as tags to the specified resource.
-- Each tag name is passed in with the parameter Key and the
-- corresponding value is passed in with the parameter Value.
-- The Key and Value parameters are separated by a
-- comma (,). Separate multiple tags with a space. For example,
-- --tags "Key"="owner","Value"="admin"
-- "Key"="environment","Value"="test" "Key"="version","Value"="1.0".
createTags_tags :: Lens' CreateTags [Tag]
-- | The action that Amazon Redshift takes when the limit is reached. The
-- default is log. For more information about this parameter, see
-- UsageLimit.
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)
-- | A list of tag instances.
createUsageLimit_tags :: Lens' CreateUsageLimit (Maybe [Tag])
-- | The identifier of the cluster that you want to limit usage.
createUsageLimit_clusterIdentifier :: Lens' CreateUsageLimit Text
-- | The Amazon Redshift feature that you want to limit.
createUsageLimit_featureType :: Lens' CreateUsageLimit UsageLimitFeatureType
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size. If FeatureType is
-- spectrum, then LimitType must be
-- data-scanned. If FeatureType is
-- concurrency-scaling, then LimitType must be
-- time. If FeatureType is
-- cross-region-datasharing, then LimitType must be
-- data-scanned.
createUsageLimit_limitType :: Lens' CreateUsageLimit UsageLimitLimitType
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB). The value must be a
-- positive number.
createUsageLimit_amount :: Lens' CreateUsageLimit Integer
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
usageLimit_amount :: Lens' UsageLimit (Maybe Integer)
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction)
-- | The identifier of the cluster with a usage limit.
usageLimit_clusterIdentifier :: Lens' UsageLimit (Maybe Text)
-- | The Amazon Redshift feature to which the limit applies.
usageLimit_featureType :: Lens' UsageLimit (Maybe UsageLimitFeatureType)
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
usageLimit_limitType :: Lens' UsageLimit (Maybe UsageLimitLimitType)
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod)
-- | A list of tag instances.
usageLimit_tags :: Lens' UsageLimit (Maybe [Tag])
-- | The identifier of the usage limit.
usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text)
-- | The Amazon Resource Name (ARN) of the datashare to remove
-- authorization from.
deauthorizeDataShare_dataShareArn :: Lens' DeauthorizeDataShare Text
-- | The identifier of the data consumer that is to have authorization
-- removed from the datashare. This identifier is an Amazon Web Services
-- account ID or a keyword, such as ADX.
deauthorizeDataShare_consumerIdentifier :: Lens' DeauthorizeDataShare Text
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
-- | The name of the authentication profile to delete.
deleteAuthenticationProfile_authenticationProfileName :: Lens' DeleteAuthenticationProfile Text
-- | The name of the authentication profile that was deleted.
deleteAuthenticationProfileResponse_authenticationProfileName :: Lens' DeleteAuthenticationProfileResponse (Maybe Text)
-- | The response's http status code.
deleteAuthenticationProfileResponse_httpStatus :: Lens' DeleteAuthenticationProfileResponse Int
-- | The identifier of the final snapshot that is to be created immediately
-- before deleting the cluster. If this parameter is provided,
-- SkipFinalClusterSnapshot must be false.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
deleteCluster_finalClusterSnapshotIdentifier :: Lens' DeleteCluster (Maybe Text)
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
deleteCluster_finalClusterSnapshotRetentionPeriod :: Lens' DeleteCluster (Maybe Int)
-- | Determines whether a final snapshot of the cluster is created before
-- Amazon Redshift deletes the cluster. If true, a final cluster
-- snapshot is not created. If false, a final cluster snapshot
-- is created before the cluster is deleted.
--
-- The FinalClusterSnapshotIdentifier parameter must be specified
-- if SkipFinalClusterSnapshot is false.
--
-- Default: false
deleteCluster_skipFinalClusterSnapshot :: Lens' DeleteCluster (Maybe Bool)
-- | The identifier of the cluster to be deleted.
--
-- Constraints:
--
--
-- - Must contain lowercase characters.
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
deleteCluster_clusterIdentifier :: Lens' DeleteCluster Text
-- | Undocumented member.
deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
-- | The response's http status code.
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
-- | The name of the parameter group to be deleted.
--
-- Constraints:
--
--
-- - Must be the name of an existing cluster parameter group.
-- - Cannot delete a default cluster parameter group.
--
deleteClusterParameterGroup_parameterGroupName :: Lens' DeleteClusterParameterGroup Text
-- | The name of the cluster security group to be deleted.
deleteClusterSecurityGroup_clusterSecurityGroupName :: Lens' DeleteClusterSecurityGroup Text
-- | The unique identifier of the cluster the snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
deleteClusterSnapshot_snapshotClusterIdentifier :: Lens' DeleteClusterSnapshot (Maybe Text)
-- | The unique identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
deleteClusterSnapshot_snapshotIdentifier :: Lens' DeleteClusterSnapshot Text
-- | Undocumented member.
deleteClusterSnapshotResponse_snapshot :: Lens' DeleteClusterSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
deleteClusterSnapshotResponse_httpStatus :: Lens' DeleteClusterSnapshotResponse Int
-- | The name of the cluster subnet group name to be deleted.
deleteClusterSubnetGroup_clusterSubnetGroupName :: Lens' DeleteClusterSubnetGroup Text
-- | The Redshift-managed VPC endpoint to delete.
deleteEndpointAccess_endpointName :: Lens' DeleteEndpointAccess Text
-- | The DNS address of the endpoint.
endpointAccess_address :: Lens' EndpointAccess (Maybe Text)
-- | The cluster identifier of the cluster associated with the endpoint.
endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text)
-- | The time (UTC) that the endpoint was created.
endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime)
-- | The name of the endpoint.
endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text)
-- | The status of the endpoint.
endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text)
-- | The port number on which the cluster accepts incoming connections.
endpointAccess_port :: Lens' EndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text)
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text)
-- | Undocumented member.
endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint)
-- | The security groups associated with the endpoint.
endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership])
-- | The name of the Amazon Redshift event notification subscription to be
-- deleted.
deleteEventSubscription_subscriptionName :: Lens' DeleteEventSubscription Text
-- | The identifier of the HSM client certificate to be deleted.
deleteHsmClientCertificate_hsmClientCertificateIdentifier :: Lens' DeleteHsmClientCertificate Text
-- | The identifier of the Amazon Redshift HSM configuration to be deleted.
deleteHsmConfiguration_hsmConfigurationIdentifier :: Lens' DeleteHsmConfiguration Text
-- | The Amazon Web Services account ID that owns the cluster.
deletePartner_accountId :: Lens' DeletePartner Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
deletePartner_clusterIdentifier :: Lens' DeletePartner Text
-- | The name of the database that receives data from the partner.
deletePartner_databaseName :: Lens' DeletePartner Text
-- | The name of the partner that is authorized to send data.
deletePartner_partnerName :: Lens' DeletePartner Text
-- | The name of the database that receives data from the partner.
partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the partner that is authorized to send data.
partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the scheduled action to delete.
deleteScheduledAction_scheduledActionName :: Lens' DeleteScheduledAction Text
-- | The name of the snapshot copy grant to delete.
deleteSnapshotCopyGrant_snapshotCopyGrantName :: Lens' DeleteSnapshotCopyGrant Text
-- | A unique identifier of the snapshot schedule to delete.
deleteSnapshotSchedule_scheduleIdentifier :: Lens' DeleteSnapshotSchedule Text
-- | The Amazon Resource Name (ARN) from which you want to remove the tag
-- or tags. For example,
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
deleteTags_resourceName :: Lens' DeleteTags Text
-- | The tag key that you want to delete.
deleteTags_tagKeys :: Lens' DeleteTags [Text]
-- | The identifier of the usage limit to delete.
deleteUsageLimit_usageLimitId :: Lens' DeleteUsageLimit Text
-- | A list of attribute names.
describeAccountAttributes_attributeNames :: Lens' DescribeAccountAttributes (Maybe [Text])
-- | A list of attributes assigned to an account.
describeAccountAttributesResponse_accountAttributes :: Lens' DescribeAccountAttributesResponse (Maybe [AccountAttribute])
-- | The response's http status code.
describeAccountAttributesResponse_httpStatus :: Lens' DescribeAccountAttributesResponse Int
-- | The name of the authentication profile to describe. If not specified
-- then all authentication profiles owned by the account are listed.
describeAuthenticationProfiles_authenticationProfileName :: Lens' DescribeAuthenticationProfiles (Maybe Text)
-- | The list of authentication profiles.
describeAuthenticationProfilesResponse_authenticationProfiles :: Lens' DescribeAuthenticationProfilesResponse (Maybe [AuthenticationProfile])
-- | The response's http status code.
describeAuthenticationProfilesResponse_httpStatus :: Lens' DescribeAuthenticationProfilesResponse Int
-- | A unique identifier for a cluster whose ClusterDbRevisions
-- you are requesting. This parameter is case sensitive. All clusters
-- defined for an account are returned by default.
describeClusterDbRevisions_clusterIdentifier :: Lens' DescribeClusterDbRevisions (Maybe Text)
-- | An optional parameter that specifies the starting point for returning
-- a set of response records. When the results of a
-- DescribeClusterDbRevisions request exceed the value specified
-- in MaxRecords, Amazon Redshift returns a value in the
-- marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in
-- the marker parameter and retrying the request.
--
-- Constraints: You can specify either the ClusterIdentifier
-- parameter, or the marker parameter, but not both.
describeClusterDbRevisions_marker :: Lens' DescribeClusterDbRevisions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified MaxRecords
-- value, a value is returned in the marker field of the
-- response. You can retrieve the next set of response records by
-- providing the returned marker value in the marker
-- parameter and retrying the request.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterDbRevisions_maxRecords :: Lens' DescribeClusterDbRevisions (Maybe Int)
-- | A list of revisions.
describeClusterDbRevisionsResponse_clusterDbRevisions :: Lens' DescribeClusterDbRevisionsResponse (Maybe [ClusterDbRevision])
-- | A string representing the starting point for the next set of
-- revisions. If a value is returned in a response, you can retrieve the
-- next set of revisions by providing the value in the marker
-- parameter and retrying the command. If the marker field is
-- empty, all revisions have already been returned.
describeClusterDbRevisionsResponse_marker :: Lens' DescribeClusterDbRevisionsResponse (Maybe Text)
-- | The response's http status code.
describeClusterDbRevisionsResponse_httpStatus :: Lens' DescribeClusterDbRevisionsResponse Int
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterParameterGroups request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeClusterParameterGroups_marker :: Lens' DescribeClusterParameterGroups (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterParameterGroups_maxRecords :: Lens' DescribeClusterParameterGroups (Maybe Int)
-- | The name of a specific parameter group for which to return details. By
-- default, details about all parameter groups and the default parameter
-- group are returned.
describeClusterParameterGroups_parameterGroupName :: Lens' DescribeClusterParameterGroups (Maybe Text)
-- | A tag key or keys for which you want to return all matching cluster
-- parameter groups that are associated with the specified key or keys.
-- For example, suppose that you have parameter groups that are tagged
-- with keys called owner and environment. If you
-- specify both of these tag keys in the request, Amazon Redshift returns
-- a response with the parameter groups that have either or both of these
-- tag keys associated with them.
describeClusterParameterGroups_tagKeys :: Lens' DescribeClusterParameterGroups (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- cluster parameter groups that are associated with the specified tag
-- value or values. For example, suppose that you have parameter groups
-- that are tagged with values called admin and test.
-- If you specify both of these tag values in the request, Amazon
-- Redshift returns a response with the parameter groups that have either
-- or both of these tag values associated with them.
describeClusterParameterGroups_tagValues :: Lens' DescribeClusterParameterGroups (Maybe [Text])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterParameterGroupsResponse_marker :: Lens' DescribeClusterParameterGroupsResponse (Maybe Text)
-- | A list of ClusterParameterGroup instances. Each instance describes one
-- cluster parameter group.
describeClusterParameterGroupsResponse_parameterGroups :: Lens' DescribeClusterParameterGroupsResponse (Maybe [ClusterParameterGroup])
-- | The response's http status code.
describeClusterParameterGroupsResponse_httpStatus :: Lens' DescribeClusterParameterGroupsResponse Int
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterParameters request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeClusterParameters_marker :: Lens' DescribeClusterParameters (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterParameters_maxRecords :: Lens' DescribeClusterParameters (Maybe Int)
-- | The parameter types to return. Specify user to show
-- parameters that are different form the default. Similarly, specify
-- engine-default to show parameters that are the same as the
-- default parameter group.
--
-- Default: All parameter types returned.
--
-- Valid Values: user | engine-default
describeClusterParameters_source :: Lens' DescribeClusterParameters (Maybe Text)
-- | The name of a cluster parameter group for which to return details.
describeClusterParameters_parameterGroupName :: Lens' DescribeClusterParameters Text
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterParametersResponse_marker :: Lens' DescribeClusterParametersResponse (Maybe Text)
-- | A list of Parameter instances. Each instance lists the parameters of
-- one cluster parameter group.
describeClusterParametersResponse_parameters :: Lens' DescribeClusterParametersResponse (Maybe [Parameter])
-- | The response's http status code.
describeClusterParametersResponse_httpStatus :: Lens' DescribeClusterParametersResponse Int
-- | The name of a cluster security group for which you are requesting
-- details. You can specify either the Marker parameter or a
-- ClusterSecurityGroupName parameter, but not both.
--
-- Example: securitygroup1
describeClusterSecurityGroups_clusterSecurityGroupName :: Lens' DescribeClusterSecurityGroups (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterSecurityGroups request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the
-- ClusterSecurityGroupName parameter or the Marker
-- parameter, but not both.
describeClusterSecurityGroups_marker :: Lens' DescribeClusterSecurityGroups (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterSecurityGroups_maxRecords :: Lens' DescribeClusterSecurityGroups (Maybe Int)
-- | A tag key or keys for which you want to return all matching cluster
-- security groups that are associated with the specified key or keys.
-- For example, suppose that you have security groups that are tagged
-- with keys called owner and environment. If you
-- specify both of these tag keys in the request, Amazon Redshift returns
-- a response with the security groups that have either or both of these
-- tag keys associated with them.
describeClusterSecurityGroups_tagKeys :: Lens' DescribeClusterSecurityGroups (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- cluster security groups that are associated with the specified tag
-- value or values. For example, suppose that you have security groups
-- that are tagged with values called admin and test.
-- If you specify both of these tag values in the request, Amazon
-- Redshift returns a response with the security groups that have either
-- or both of these tag values associated with them.
describeClusterSecurityGroups_tagValues :: Lens' DescribeClusterSecurityGroups (Maybe [Text])
-- | A list of ClusterSecurityGroup instances.
describeClusterSecurityGroupsResponse_clusterSecurityGroups :: Lens' DescribeClusterSecurityGroupsResponse (Maybe [ClusterSecurityGroup])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterSecurityGroupsResponse_marker :: Lens' DescribeClusterSecurityGroupsResponse (Maybe Text)
-- | The response's http status code.
describeClusterSecurityGroupsResponse_httpStatus :: Lens' DescribeClusterSecurityGroupsResponse Int
-- | A value that indicates whether to return snapshots only for an
-- existing cluster. You can perform table-level restore only by using a
-- snapshot of an existing cluster, that is, a cluster that has not been
-- deleted. Values for this parameter work as follows:
--
--
-- - If ClusterExists is set to true,
-- ClusterIdentifier is required.
-- - If ClusterExists is set to false and
-- ClusterIdentifier isn't specified, all snapshots associated
-- with deleted clusters (orphaned snapshots) are returned.
-- - If ClusterExists is set to false and
-- ClusterIdentifier is specified for a deleted cluster,
-- snapshots associated with that cluster are returned.
-- - If ClusterExists is set to false and
-- ClusterIdentifier is specified for an existing cluster, no
-- snapshots are returned.
--
describeClusterSnapshots_clusterExists :: Lens' DescribeClusterSnapshots (Maybe Bool)
-- | The identifier of the cluster which generated the requested snapshots.
describeClusterSnapshots_clusterIdentifier :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | A time value that requests only snapshots created at or before the
-- specified time. The time value is specified in ISO 8601 format. For
-- more information about ISO 8601, go to the ISO8601 Wikipedia
-- page.
--
-- Example: 2012-07-16T18:00:00Z
describeClusterSnapshots_endTime :: Lens' DescribeClusterSnapshots (Maybe UTCTime)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterSnapshots request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeClusterSnapshots_marker :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterSnapshots_maxRecords :: Lens' DescribeClusterSnapshots (Maybe Int)
-- | The Amazon Web Services account used to create or copy the snapshot.
-- Use this field to filter the results to snapshots owned by a
-- particular account. To describe snapshots you own, either specify your
-- Amazon Web Services account, or do not specify the parameter.
describeClusterSnapshots_ownerAccount :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to describe cluster snapshots.
describeClusterSnapshots_snapshotArn :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | The snapshot identifier of the snapshot about which to return
-- information.
describeClusterSnapshots_snapshotIdentifier :: Lens' DescribeClusterSnapshots (Maybe Text)
-- | The type of snapshots for which you are requesting information. By
-- default, snapshots of all types are returned.
--
-- Valid Values: automated | manual
describeClusterSnapshots_snapshotType :: Lens' DescribeClusterSnapshots (Maybe Text)
describeClusterSnapshots_sortingEntities :: Lens' DescribeClusterSnapshots (Maybe [SnapshotSortingEntity])
-- | A value that requests only snapshots created at or after the specified
-- time. The time value is specified in ISO 8601 format. For more
-- information about ISO 8601, go to the ISO8601 Wikipedia page.
--
-- Example: 2012-07-16T18:00:00Z
describeClusterSnapshots_startTime :: Lens' DescribeClusterSnapshots (Maybe UTCTime)
-- | A tag key or keys for which you want to return all matching cluster
-- snapshots that are associated with the specified key or keys. For
-- example, suppose that you have snapshots that are tagged with keys
-- called owner and environment. If you specify both of
-- these tag keys in the request, Amazon Redshift returns a response with
-- the snapshots that have either or both of these tag keys associated
-- with them.
describeClusterSnapshots_tagKeys :: Lens' DescribeClusterSnapshots (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- cluster snapshots that are associated with the specified tag value or
-- values. For example, suppose that you have snapshots that are tagged
-- with values called admin and test. If you specify
-- both of these tag values in the request, Amazon Redshift returns a
-- response with the snapshots that have either or both of these tag
-- values associated with them.
describeClusterSnapshots_tagValues :: Lens' DescribeClusterSnapshots (Maybe [Text])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterSnapshotsResponse_marker :: Lens' DescribeClusterSnapshotsResponse (Maybe Text)
-- | A list of Snapshot instances.
describeClusterSnapshotsResponse_snapshots :: Lens' DescribeClusterSnapshotsResponse (Maybe [Snapshot])
-- | The response's http status code.
describeClusterSnapshotsResponse_httpStatus :: Lens' DescribeClusterSnapshotsResponse Int
-- | The name of the cluster subnet group for which information is
-- requested.
describeClusterSubnetGroups_clusterSubnetGroupName :: Lens' DescribeClusterSubnetGroups (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterSubnetGroups request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeClusterSubnetGroups_marker :: Lens' DescribeClusterSubnetGroups (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterSubnetGroups_maxRecords :: Lens' DescribeClusterSubnetGroups (Maybe Int)
-- | A tag key or keys for which you want to return all matching cluster
-- subnet groups that are associated with the specified key or keys. For
-- example, suppose that you have subnet groups that are tagged with keys
-- called owner and environment. If you specify both of
-- these tag keys in the request, Amazon Redshift returns a response with
-- the subnet groups that have either or both of these tag keys
-- associated with them.
describeClusterSubnetGroups_tagKeys :: Lens' DescribeClusterSubnetGroups (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- cluster subnet groups that are associated with the specified tag value
-- or values. For example, suppose that you have subnet groups that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the subnet groups that have either or both of
-- these tag values associated with them.
describeClusterSubnetGroups_tagValues :: Lens' DescribeClusterSubnetGroups (Maybe [Text])
-- | A list of ClusterSubnetGroup instances.
describeClusterSubnetGroupsResponse_clusterSubnetGroups :: Lens' DescribeClusterSubnetGroupsResponse (Maybe [ClusterSubnetGroup])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterSubnetGroupsResponse_marker :: Lens' DescribeClusterSubnetGroupsResponse (Maybe Text)
-- | The response's http status code.
describeClusterSubnetGroupsResponse_httpStatus :: Lens' DescribeClusterSubnetGroupsResponse Int
-- | The name of the maintenance track.
describeClusterTracks_maintenanceTrackName :: Lens' DescribeClusterTracks (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeClusterTracks request exceed the value specified in
-- MaxRecords, Amazon Redshift returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeClusterTracks_marker :: Lens' DescribeClusterTracks (Maybe Text)
-- | An integer value for the maximum number of maintenance tracks to
-- return.
describeClusterTracks_maxRecords :: Lens' DescribeClusterTracks (Maybe Int)
-- | A list of maintenance tracks output by the
-- DescribeClusterTracks operation.
describeClusterTracksResponse_maintenanceTracks :: Lens' DescribeClusterTracksResponse (Maybe [MaintenanceTrack])
-- | The starting point to return a set of response tracklist records. You
-- can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeClusterTracksResponse_marker :: Lens' DescribeClusterTracksResponse (Maybe Text)
-- | The response's http status code.
describeClusterTracksResponse_httpStatus :: Lens' DescribeClusterTracksResponse Int
-- | The name of a specific cluster parameter group family to return
-- details for.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
describeClusterVersions_clusterParameterGroupFamily :: Lens' DescribeClusterVersions (Maybe Text)
-- | The specific cluster version to return.
--
-- Example: 1.0
describeClusterVersions_clusterVersion :: Lens' DescribeClusterVersions (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeClusterVersions
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeClusterVersions_marker :: Lens' DescribeClusterVersions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusterVersions_maxRecords :: Lens' DescribeClusterVersions (Maybe Int)
-- | A list of Version elements.
describeClusterVersionsResponse_clusterVersions :: Lens' DescribeClusterVersionsResponse (Maybe [ClusterVersion])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClusterVersionsResponse_marker :: Lens' DescribeClusterVersionsResponse (Maybe Text)
-- | The response's http status code.
describeClusterVersionsResponse_httpStatus :: Lens' DescribeClusterVersionsResponse Int
-- | The unique identifier of a cluster whose properties you are
-- requesting. This parameter is case sensitive.
--
-- The default is that all clusters defined for an account are returned.
describeClusters_clusterIdentifier :: Lens' DescribeClusters (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeClusters
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- Constraints: You can specify either the ClusterIdentifier
-- parameter or the Marker parameter, but not both.
describeClusters_marker :: Lens' DescribeClusters (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeClusters_maxRecords :: Lens' DescribeClusters (Maybe Int)
-- | A tag key or keys for which you want to return all matching clusters
-- that are associated with the specified key or keys. For example,
-- suppose that you have clusters that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- clusters that have either or both of these tag keys associated with
-- them.
describeClusters_tagKeys :: Lens' DescribeClusters (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- clusters that are associated with the specified tag value or values.
-- For example, suppose that you have clusters that are tagged with
-- values called admin and test. If you specify both of
-- these tag values in the request, Amazon Redshift returns a response
-- with the clusters that have either or both of these tag values
-- associated with them.
describeClusters_tagValues :: Lens' DescribeClusters (Maybe [Text])
-- | A list of Cluster objects, where each object describes one
-- cluster.
describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeClustersResponse_marker :: Lens' DescribeClustersResponse (Maybe Text)
-- | The response's http status code.
describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
-- | The identifier of the datashare to describe details of.
describeDataShares_dataShareArn :: Lens' DescribeDataShares (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeDataShares
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeDataShares_marker :: Lens' DescribeDataShares (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeDataShares_maxRecords :: Lens' DescribeDataShares (Maybe Int)
-- | The results returned from describing datashares.
describeDataSharesResponse_dataShares :: Lens' DescribeDataSharesResponse (Maybe [DataShare])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeDataShares
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeDataSharesResponse_marker :: Lens' DescribeDataSharesResponse (Maybe Text)
-- | The response's http status code.
describeDataSharesResponse_httpStatus :: Lens' DescribeDataSharesResponse Int
-- | The Amazon Resource Name (ARN) of the consumer that returns in the
-- list of datashares.
describeDataSharesForConsumer_consumerArn :: Lens' DescribeDataSharesForConsumer (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForConsumer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeDataSharesForConsumer_marker :: Lens' DescribeDataSharesForConsumer (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeDataSharesForConsumer_maxRecords :: Lens' DescribeDataSharesForConsumer (Maybe Int)
-- | An identifier giving the status of a datashare in the consumer
-- cluster. If this field is specified, Amazon Redshift returns the list
-- of datashares that have the specified status.
describeDataSharesForConsumer_status :: Lens' DescribeDataSharesForConsumer (Maybe DataShareStatusForConsumer)
-- | Shows the results of datashares available for consumers.
describeDataSharesForConsumerResponse_dataShares :: Lens' DescribeDataSharesForConsumerResponse (Maybe [DataShare])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForConsumer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeDataSharesForConsumerResponse_marker :: Lens' DescribeDataSharesForConsumerResponse (Maybe Text)
-- | The response's http status code.
describeDataSharesForConsumerResponse_httpStatus :: Lens' DescribeDataSharesForConsumerResponse Int
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForProducer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeDataSharesForProducer_marker :: Lens' DescribeDataSharesForProducer (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeDataSharesForProducer_maxRecords :: Lens' DescribeDataSharesForProducer (Maybe Int)
-- | The Amazon Resource Name (ARN) of the producer that returns in the
-- list of datashares.
describeDataSharesForProducer_producerArn :: Lens' DescribeDataSharesForProducer (Maybe Text)
-- | An identifier giving the status of a datashare in the producer. If
-- this field is specified, Amazon Redshift returns the list of
-- datashares that have the specified status.
describeDataSharesForProducer_status :: Lens' DescribeDataSharesForProducer (Maybe DataShareStatusForProducer)
-- | Shows the results of datashares available for producers.
describeDataSharesForProducerResponse_dataShares :: Lens' DescribeDataSharesForProducerResponse (Maybe [DataShare])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDataSharesForProducer request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeDataSharesForProducerResponse_marker :: Lens' DescribeDataSharesForProducerResponse (Maybe Text)
-- | The response's http status code.
describeDataSharesForProducerResponse_httpStatus :: Lens' DescribeDataSharesForProducerResponse Int
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeDefaultClusterParameters request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeDefaultClusterParameters_marker :: Lens' DescribeDefaultClusterParameters (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeDefaultClusterParameters_maxRecords :: Lens' DescribeDefaultClusterParameters (Maybe Int)
-- | The name of the cluster parameter group family.
describeDefaultClusterParameters_parameterGroupFamily :: Lens' DescribeDefaultClusterParameters Text
-- | The response's http status code.
describeDefaultClusterParametersResponse_httpStatus :: Lens' DescribeDefaultClusterParametersResponse Int
-- | Undocumented member.
describeDefaultClusterParametersResponse_defaultClusterParameters :: Lens' DescribeDefaultClusterParametersResponse DefaultClusterParameters
-- | The cluster identifier associated with the described endpoint.
describeEndpointAccess_clusterIdentifier :: Lens' DescribeEndpointAccess (Maybe Text)
-- | The name of the endpoint to be described.
describeEndpointAccess_endpointName :: Lens' DescribeEndpointAccess (Maybe Text)
-- | An optional pagination token provided by a previous
-- DescribeEndpointAccess request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
describeEndpointAccess_marker :: Lens' DescribeEndpointAccess (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a
-- pagination token called a Marker is included in the response
-- so that the remaining results can be retrieved.
describeEndpointAccess_maxRecords :: Lens' DescribeEndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
describeEndpointAccess_resourceOwner :: Lens' DescribeEndpointAccess (Maybe Text)
-- | The virtual private cloud (VPC) identifier with access to the cluster.
describeEndpointAccess_vpcId :: Lens' DescribeEndpointAccess (Maybe Text)
-- | The list of endpoints with access to the cluster.
describeEndpointAccessResponse_endpointAccessList :: Lens' DescribeEndpointAccessResponse (Maybe [EndpointAccess])
-- | An optional pagination token provided by a previous
-- DescribeEndpointAccess request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
describeEndpointAccessResponse_marker :: Lens' DescribeEndpointAccessResponse (Maybe Text)
-- | The response's http status code.
describeEndpointAccessResponse_httpStatus :: Lens' DescribeEndpointAccessResponse Int
-- | The AAmazon Web Services account ID of either the cluster owner
-- (grantor) or grantee. If Grantee parameter is true, then the
-- Account value is of the grantor.
describeEndpointAuthorization_account :: Lens' DescribeEndpointAuthorization (Maybe Text)
-- | The cluster identifier of the cluster to access.
describeEndpointAuthorization_clusterIdentifier :: Lens' DescribeEndpointAuthorization (Maybe Text)
-- | Indicates whether to check authorization from a grantor or grantee
-- point of view. If true, Amazon Redshift returns endpoint
-- authorizations that you've been granted. If false (default), checks
-- authorization from a grantor point of view.
describeEndpointAuthorization_grantee :: Lens' DescribeEndpointAuthorization (Maybe Bool)
-- | An optional pagination token provided by a previous
-- DescribeEndpointAuthorization request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
describeEndpointAuthorization_marker :: Lens' DescribeEndpointAuthorization (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a
-- pagination token called a Marker is included in the response
-- so that the remaining results can be retrieved.
describeEndpointAuthorization_maxRecords :: Lens' DescribeEndpointAuthorization (Maybe Int)
-- | The authorizations to an endpoint.
describeEndpointAuthorizationResponse_endpointAuthorizationList :: Lens' DescribeEndpointAuthorizationResponse (Maybe [EndpointAuthorization])
-- | An optional pagination token provided by a previous
-- DescribeEndpointAuthorization request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
describeEndpointAuthorizationResponse_marker :: Lens' DescribeEndpointAuthorizationResponse (Maybe Text)
-- | The response's http status code.
describeEndpointAuthorizationResponse_httpStatus :: Lens' DescribeEndpointAuthorizationResponse Int
-- | The source type, such as cluster or parameter group, to which the
-- described event categories apply.
--
-- Valid values: cluster, cluster-snapshot, cluster-parameter-group,
-- cluster-security-group, and scheduled-action.
describeEventCategories_sourceType :: Lens' DescribeEventCategories (Maybe Text)
-- | A list of event categories descriptions.
describeEventCategoriesResponse_eventCategoriesMapList :: Lens' DescribeEventCategoriesResponse (Maybe [EventCategoriesMap])
-- | The response's http status code.
describeEventCategoriesResponse_httpStatus :: Lens' DescribeEventCategoriesResponse Int
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeEventSubscriptions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeEventSubscriptions_marker :: Lens' DescribeEventSubscriptions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeEventSubscriptions_maxRecords :: Lens' DescribeEventSubscriptions (Maybe Int)
-- | The name of the Amazon Redshift event notification subscription to be
-- described.
describeEventSubscriptions_subscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text)
-- | A tag key or keys for which you want to return all matching event
-- notification subscriptions that are associated with the specified key
-- or keys. For example, suppose that you have subscriptions that are
-- tagged with keys called owner and environment. If
-- you specify both of these tag keys in the request, Amazon Redshift
-- returns a response with the subscriptions that have either or both of
-- these tag keys associated with them.
describeEventSubscriptions_tagKeys :: Lens' DescribeEventSubscriptions (Maybe [Text])
-- | A tag value or values for which you want to return all matching event
-- notification subscriptions that are associated with the specified tag
-- value or values. For example, suppose that you have subscriptions that
-- are tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the subscriptions that have either or both of
-- these tag values associated with them.
describeEventSubscriptions_tagValues :: Lens' DescribeEventSubscriptions (Maybe [Text])
-- | A list of event subscriptions.
describeEventSubscriptionsResponse_eventSubscriptionsList :: Lens' DescribeEventSubscriptionsResponse (Maybe [EventSubscription])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeEventSubscriptionsResponse_marker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text)
-- | The response's http status code.
describeEventSubscriptionsResponse_httpStatus :: Lens' DescribeEventSubscriptionsResponse Int
-- | The number of minutes prior to the time of the request for which to
-- retrieve events. For example, if the request is sent at 18:00 and you
-- specify a duration of 60, then only events which have occurred after
-- 17:00 will be returned.
--
-- Default: 60
describeEvents_duration :: Lens' DescribeEvents (Maybe Int)
-- | The end of the time interval for which to retrieve events, specified
-- in ISO 8601 format. For more information about ISO 8601, go to the
-- ISO8601 Wikipedia page.
--
-- Example: 2009-07-08T18:00Z
describeEvents_endTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeEvents request
-- exceed the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
describeEvents_marker :: Lens' DescribeEvents (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeEvents_maxRecords :: Lens' DescribeEvents (Maybe Int)
-- | The identifier of the event source for which events will be returned.
-- If this parameter is not specified, then all sources are included in
-- the response.
--
-- Constraints:
--
-- If SourceIdentifier is supplied, SourceType must also be
-- provided.
--
--
-- - Specify a cluster identifier when SourceType is
-- cluster.
-- - Specify a cluster security group name when SourceType is
-- cluster-security-group.
-- - Specify a cluster parameter group name when SourceType is
-- cluster-parameter-group.
-- - Specify a cluster snapshot identifier when SourceType is
-- cluster-snapshot.
--
describeEvents_sourceIdentifier :: Lens' DescribeEvents (Maybe Text)
-- | The event source to retrieve events for. If no value is specified, all
-- events are returned.
--
-- Constraints:
--
-- If SourceType is supplied, SourceIdentifier must also be
-- provided.
--
--
-- - Specify cluster when SourceIdentifier is a cluster
-- identifier.
-- - Specify cluster-security-group when
-- SourceIdentifier is a cluster security group name.
-- - Specify cluster-parameter-group when
-- SourceIdentifier is a cluster parameter group name.
-- - Specify cluster-snapshot when SourceIdentifier is
-- a cluster snapshot identifier.
--
describeEvents_sourceType :: Lens' DescribeEvents (Maybe SourceType)
-- | The beginning of the time interval to retrieve events for, specified
-- in ISO 8601 format. For more information about ISO 8601, go to the
-- ISO8601 Wikipedia page.
--
-- Example: 2009-07-08T18:00Z
describeEvents_startTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | A list of Event instances.
describeEventsResponse_events :: Lens' DescribeEventsResponse (Maybe [Event])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeEventsResponse_marker :: Lens' DescribeEventsResponse (Maybe Text)
-- | The response's http status code.
describeEventsResponse_httpStatus :: Lens' DescribeEventsResponse Int
-- | The identifier of a specific HSM client certificate for which you want
-- information. If no identifier is specified, information is returned
-- for all HSM client certificates owned by your Amazon Web Services
-- account.
describeHsmClientCertificates_hsmClientCertificateIdentifier :: Lens' DescribeHsmClientCertificates (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeHsmClientCertificates request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeHsmClientCertificates_marker :: Lens' DescribeHsmClientCertificates (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeHsmClientCertificates_maxRecords :: Lens' DescribeHsmClientCertificates (Maybe Int)
-- | A tag key or keys for which you want to return all matching HSM client
-- certificates that are associated with the specified key or keys. For
-- example, suppose that you have HSM client certificates that are tagged
-- with keys called owner and environment. If you
-- specify both of these tag keys in the request, Amazon Redshift returns
-- a response with the HSM client certificates that have either or both
-- of these tag keys associated with them.
describeHsmClientCertificates_tagKeys :: Lens' DescribeHsmClientCertificates (Maybe [Text])
-- | A tag value or values for which you want to return all matching HSM
-- client certificates that are associated with the specified tag value
-- or values. For example, suppose that you have HSM client certificates
-- that are tagged with values called admin and test.
-- If you specify both of these tag values in the request, Amazon
-- Redshift returns a response with the HSM client certificates that have
-- either or both of these tag values associated with them.
describeHsmClientCertificates_tagValues :: Lens' DescribeHsmClientCertificates (Maybe [Text])
-- | A list of the identifiers for one or more HSM client certificates used
-- by Amazon Redshift clusters to store and retrieve database encryption
-- keys in an HSM.
describeHsmClientCertificatesResponse_hsmClientCertificates :: Lens' DescribeHsmClientCertificatesResponse (Maybe [HsmClientCertificate])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeHsmClientCertificatesResponse_marker :: Lens' DescribeHsmClientCertificatesResponse (Maybe Text)
-- | The response's http status code.
describeHsmClientCertificatesResponse_httpStatus :: Lens' DescribeHsmClientCertificatesResponse Int
-- | The identifier of a specific Amazon Redshift HSM configuration to be
-- described. If no identifier is specified, information is returned for
-- all HSM configurations owned by your Amazon Web Services account.
describeHsmConfigurations_hsmConfigurationIdentifier :: Lens' DescribeHsmConfigurations (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeHsmConfigurations request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeHsmConfigurations_marker :: Lens' DescribeHsmConfigurations (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeHsmConfigurations_maxRecords :: Lens' DescribeHsmConfigurations (Maybe Int)
-- | A tag key or keys for which you want to return all matching HSM
-- configurations that are associated with the specified key or keys. For
-- example, suppose that you have HSM configurations that are tagged with
-- keys called owner and environment. If you specify
-- both of these tag keys in the request, Amazon Redshift returns a
-- response with the HSM configurations that have either or both of these
-- tag keys associated with them.
describeHsmConfigurations_tagKeys :: Lens' DescribeHsmConfigurations (Maybe [Text])
-- | A tag value or values for which you want to return all matching HSM
-- configurations that are associated with the specified tag value or
-- values. For example, suppose that you have HSM configurations that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the HSM configurations that have either or
-- both of these tag values associated with them.
describeHsmConfigurations_tagValues :: Lens' DescribeHsmConfigurations (Maybe [Text])
-- | A list of HsmConfiguration objects.
describeHsmConfigurationsResponse_hsmConfigurations :: Lens' DescribeHsmConfigurationsResponse (Maybe [HsmConfiguration])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeHsmConfigurationsResponse_marker :: Lens' DescribeHsmConfigurationsResponse (Maybe Text)
-- | The response's http status code.
describeHsmConfigurationsResponse_httpStatus :: Lens' DescribeHsmConfigurationsResponse Int
-- | The identifier of the cluster from which to get the logging status.
--
-- Example: examplecluster
describeLoggingStatus_clusterIdentifier :: Lens' DescribeLoggingStatus Text
-- | The name of the S3 bucket where the log files are stored.
loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text)
-- | The message indicating that logs failed to be delivered.
loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | The last time when logs failed to be delivered.
loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
loggingStatus_logDestinationType :: Lens' LoggingStatus (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
loggingStatus_logExports :: Lens' LoggingStatus (Maybe [Text])
-- | true if logging is on, false if logging is off.
loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The prefix applied to the log file names.
loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
-- | The identifier of the cluster to evaluate for possible node
-- configurations.
describeNodeConfigurationOptions_clusterIdentifier :: Lens' DescribeNodeConfigurationOptions (Maybe Text)
-- | A set of name, operator, and value items to filter the results.
describeNodeConfigurationOptions_filters :: Lens' DescribeNodeConfigurationOptions (Maybe [NodeConfigurationOptionsFilter])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeNodeConfigurationOptions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeNodeConfigurationOptions_marker :: Lens' DescribeNodeConfigurationOptions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 500
--
-- Constraints: minimum 100, maximum 500.
describeNodeConfigurationOptions_maxRecords :: Lens' DescribeNodeConfigurationOptions (Maybe Int)
-- | The Amazon Web Services account used to create or copy the snapshot.
-- Required if you are restoring a snapshot you do not own, optional if
-- you own the snapshot.
describeNodeConfigurationOptions_ownerAccount :: Lens' DescribeNodeConfigurationOptions (Maybe Text)
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to describe node configuration.
describeNodeConfigurationOptions_snapshotArn :: Lens' DescribeNodeConfigurationOptions (Maybe Text)
-- | The identifier of the snapshot to evaluate for possible node
-- configurations.
describeNodeConfigurationOptions_snapshotIdentifier :: Lens' DescribeNodeConfigurationOptions (Maybe Text)
-- | The action type to evaluate for possible node configurations. Specify
-- "restore-cluster" to get configuration combinations based on an
-- existing snapshot. Specify "recommend-node-config" to get
-- configuration recommendations based on an existing cluster or
-- snapshot. Specify "resize-cluster" to get configuration combinations
-- for elastic resize based on an existing cluster.
describeNodeConfigurationOptions_actionType :: Lens' DescribeNodeConfigurationOptions ActionType
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeNodeConfigurationOptionsResponse_marker :: Lens' DescribeNodeConfigurationOptionsResponse (Maybe Text)
-- | A list of valid node configurations.
describeNodeConfigurationOptionsResponse_nodeConfigurationOptionList :: Lens' DescribeNodeConfigurationOptionsResponse (Maybe [NodeConfigurationOption])
-- | The response's http status code.
describeNodeConfigurationOptionsResponse_httpStatus :: Lens' DescribeNodeConfigurationOptionsResponse Int
-- | The version filter value. Specify this parameter to show only the
-- available offerings matching the specified version.
--
-- Default: All versions.
--
-- Constraints: Must be one of the version returned from
-- DescribeClusterVersions.
describeOrderableClusterOptions_clusterVersion :: Lens' DescribeOrderableClusterOptions (Maybe Text)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeOrderableClusterOptions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeOrderableClusterOptions_marker :: Lens' DescribeOrderableClusterOptions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeOrderableClusterOptions_maxRecords :: Lens' DescribeOrderableClusterOptions (Maybe Int)
-- | The node type filter value. Specify this parameter to show only the
-- available offerings matching the specified node type.
describeOrderableClusterOptions_nodeType :: Lens' DescribeOrderableClusterOptions (Maybe Text)
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeOrderableClusterOptionsResponse_marker :: Lens' DescribeOrderableClusterOptionsResponse (Maybe Text)
-- | An OrderableClusterOption structure containing information
-- about orderable options for the cluster.
describeOrderableClusterOptionsResponse_orderableClusterOptions :: Lens' DescribeOrderableClusterOptionsResponse (Maybe [OrderableClusterOption])
-- | The response's http status code.
describeOrderableClusterOptionsResponse_httpStatus :: Lens' DescribeOrderableClusterOptionsResponse Int
-- | The name of the database whose partner integration is being described.
-- If database name is not specified, then all databases in the cluster
-- are described.
describePartners_databaseName :: Lens' DescribePartners (Maybe Text)
-- | The name of the partner that is being described. If partner name is
-- not specified, then all partner integrations are described.
describePartners_partnerName :: Lens' DescribePartners (Maybe Text)
-- | The Amazon Web Services account ID that owns the cluster.
describePartners_accountId :: Lens' DescribePartners Text
-- | The cluster identifier of the cluster whose partner integration is
-- being described.
describePartners_clusterIdentifier :: Lens' DescribePartners Text
-- | A list of partner integrations.
describePartnersResponse_partnerIntegrationInfoList :: Lens' DescribePartnersResponse (Maybe [PartnerIntegrationInfo])
-- | The response's http status code.
describePartnersResponse_httpStatus :: Lens' DescribePartnersResponse Int
-- | An optional pagination token provided by a previous
-- DescribeReservedNodeExchangeStatus request. If this parameter
-- is specified, the response includes only records beyond the marker, up
-- to the value specified by the MaxRecords parameter. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
describeReservedNodeExchangeStatus_marker :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a Marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeReservedNodeExchangeStatus_maxRecords :: Lens' DescribeReservedNodeExchangeStatus (Maybe Int)
-- | The identifier of the reserved-node exchange request.
describeReservedNodeExchangeStatus_reservedNodeExchangeRequestId :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text)
-- | The identifier of the source reserved node in a reserved-node exchange
-- request.
describeReservedNodeExchangeStatus_reservedNodeId :: Lens' DescribeReservedNodeExchangeStatus (Maybe Text)
-- | A pagination token provided by a previous
-- DescribeReservedNodeExchangeStatus request.
describeReservedNodeExchangeStatusResponse_marker :: Lens' DescribeReservedNodeExchangeStatusResponse (Maybe Text)
-- | The details of the reserved-node exchange request, including the
-- status, request time, source reserved-node identifier, and additional
-- details.
describeReservedNodeExchangeStatusResponse_reservedNodeExchangeStatusDetails :: Lens' DescribeReservedNodeExchangeStatusResponse (Maybe [ReservedNodeExchangeStatus])
-- | The response's http status code.
describeReservedNodeExchangeStatusResponse_httpStatus :: Lens' DescribeReservedNodeExchangeStatusResponse Int
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeReservedNodeOfferings request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeReservedNodeOfferings_marker :: Lens' DescribeReservedNodeOfferings (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeReservedNodeOfferings_maxRecords :: Lens' DescribeReservedNodeOfferings (Maybe Int)
-- | The unique identifier for the offering.
describeReservedNodeOfferings_reservedNodeOfferingId :: Lens' DescribeReservedNodeOfferings (Maybe Text)
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeReservedNodeOfferingsResponse_marker :: Lens' DescribeReservedNodeOfferingsResponse (Maybe Text)
-- | A list of ReservedNodeOffering objects.
describeReservedNodeOfferingsResponse_reservedNodeOfferings :: Lens' DescribeReservedNodeOfferingsResponse (Maybe [ReservedNodeOffering])
-- | The response's http status code.
describeReservedNodeOfferingsResponse_httpStatus :: Lens' DescribeReservedNodeOfferingsResponse Int
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeReservedNodes
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeReservedNodes_marker :: Lens' DescribeReservedNodes (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeReservedNodes_maxRecords :: Lens' DescribeReservedNodes (Maybe Int)
-- | Identifier for the node reservation.
describeReservedNodes_reservedNodeId :: Lens' DescribeReservedNodes (Maybe Text)
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeReservedNodesResponse_marker :: Lens' DescribeReservedNodesResponse (Maybe Text)
-- | The list of ReservedNode objects.
describeReservedNodesResponse_reservedNodes :: Lens' DescribeReservedNodesResponse (Maybe [ReservedNode])
-- | The response's http status code.
describeReservedNodesResponse_httpStatus :: Lens' DescribeReservedNodesResponse Int
-- | The unique identifier of a cluster whose resize progress you are
-- requesting. This parameter is case-sensitive.
--
-- By default, resize operations for all clusters defined for an Amazon
-- Web Services account are returned.
describeResize_clusterIdentifier :: Lens' DescribeResize Text
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
resizeProgressMessage_avgResizeRateInMegaBytesPerSecond :: Lens' ResizeProgressMessage (Maybe Double)
-- | The percent of data transferred from source cluster to target cluster.
resizeProgressMessage_dataTransferProgressPercent :: Lens' ResizeProgressMessage (Maybe Double)
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
resizeProgressMessage_elapsedTimeInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
resizeProgressMessage_estimatedTimeToCompletionInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesCompleted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesInProgress :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
resizeProgressMessage_importTablesNotStarted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | An optional string to provide additional details about the resize
-- action.
resizeProgressMessage_message :: Lens' ResizeProgressMessage (Maybe Text)
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
resizeProgressMessage_progressInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
resizeProgressMessage_resizeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
resizeProgressMessage_status :: Lens' ResizeProgressMessage (Maybe Text)
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
resizeProgressMessage_targetClusterType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
resizeProgressMessage_targetEncryptionType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The node type that the cluster will have after the resize operation is
-- complete.
resizeProgressMessage_targetNodeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
resizeProgressMessage_targetNumberOfNodes :: Lens' ResizeProgressMessage (Maybe Int)
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
resizeProgressMessage_totalResizeDataInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | If true, retrieve only active scheduled actions. If false, retrieve
-- only disabled scheduled actions.
describeScheduledActions_active :: Lens' DescribeScheduledActions (Maybe Bool)
-- | The end time in UTC of the scheduled action to retrieve. Only active
-- scheduled actions that have invocations before this time are
-- retrieved.
describeScheduledActions_endTime :: Lens' DescribeScheduledActions (Maybe UTCTime)
-- | List of scheduled action filters.
describeScheduledActions_filters :: Lens' DescribeScheduledActions (Maybe [ScheduledActionFilter])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeScheduledActions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeScheduledActions_marker :: Lens' DescribeScheduledActions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeScheduledActions_maxRecords :: Lens' DescribeScheduledActions (Maybe Int)
-- | The name of the scheduled action to retrieve.
describeScheduledActions_scheduledActionName :: Lens' DescribeScheduledActions (Maybe Text)
-- | The start time in UTC of the scheduled actions to retrieve. Only
-- active scheduled actions that have invocations after this time are
-- retrieved.
describeScheduledActions_startTime :: Lens' DescribeScheduledActions (Maybe UTCTime)
-- | The type of the scheduled actions to retrieve.
describeScheduledActions_targetActionType :: Lens' DescribeScheduledActions (Maybe ScheduledActionTypeValues)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeScheduledActions request exceed the value specified in
-- MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
describeScheduledActionsResponse_marker :: Lens' DescribeScheduledActionsResponse (Maybe Text)
-- | List of retrieved scheduled actions.
describeScheduledActionsResponse_scheduledActions :: Lens' DescribeScheduledActionsResponse (Maybe [ScheduledAction])
-- | The response's http status code.
describeScheduledActionsResponse_httpStatus :: Lens' DescribeScheduledActionsResponse Int
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeSnapshotCopyGrant request exceed the value specified
-- in MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
describeSnapshotCopyGrants_marker :: Lens' DescribeSnapshotCopyGrants (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeSnapshotCopyGrants_maxRecords :: Lens' DescribeSnapshotCopyGrants (Maybe Int)
-- | The name of the snapshot copy grant.
describeSnapshotCopyGrants_snapshotCopyGrantName :: Lens' DescribeSnapshotCopyGrants (Maybe Text)
-- | A tag key or keys for which you want to return all matching resources
-- that are associated with the specified key or keys. For example,
-- suppose that you have resources tagged with keys called owner
-- and environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with all resources that
-- have either or both of these tag keys associated with them.
describeSnapshotCopyGrants_tagKeys :: Lens' DescribeSnapshotCopyGrants (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- resources that are associated with the specified value or values. For
-- example, suppose that you have resources tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with all
-- resources that have either or both of these tag values associated with
-- them.
describeSnapshotCopyGrants_tagValues :: Lens' DescribeSnapshotCopyGrants (Maybe [Text])
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a
-- DescribeSnapshotCopyGrant request exceed the value specified
-- in MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
describeSnapshotCopyGrantsResponse_marker :: Lens' DescribeSnapshotCopyGrantsResponse (Maybe Text)
-- | The list of SnapshotCopyGrant objects.
describeSnapshotCopyGrantsResponse_snapshotCopyGrants :: Lens' DescribeSnapshotCopyGrantsResponse (Maybe [SnapshotCopyGrant])
-- | The response's http status code.
describeSnapshotCopyGrantsResponse_httpStatus :: Lens' DescribeSnapshotCopyGrantsResponse Int
-- | The unique identifier for the cluster whose snapshot schedules you
-- want to view.
describeSnapshotSchedules_clusterIdentifier :: Lens' DescribeSnapshotSchedules (Maybe Text)
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the marker parameter and retrying the
-- command. If the marker field is empty, all response records
-- have been retrieved for the request.
describeSnapshotSchedules_marker :: Lens' DescribeSnapshotSchedules (Maybe Text)
-- | The maximum number or response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeSnapshotSchedules_maxRecords :: Lens' DescribeSnapshotSchedules (Maybe Int)
-- | A unique identifier for a snapshot schedule.
describeSnapshotSchedules_scheduleIdentifier :: Lens' DescribeSnapshotSchedules (Maybe Text)
-- | The key value for a snapshot schedule tag.
describeSnapshotSchedules_tagKeys :: Lens' DescribeSnapshotSchedules (Maybe [Text])
-- | The value corresponding to the key of the snapshot schedule tag.
describeSnapshotSchedules_tagValues :: Lens' DescribeSnapshotSchedules (Maybe [Text])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the marker parameter and retrying the
-- command. If the marker field is empty, all response records
-- have been retrieved for the request.
describeSnapshotSchedulesResponse_marker :: Lens' DescribeSnapshotSchedulesResponse (Maybe Text)
-- | A list of SnapshotSchedules.
describeSnapshotSchedulesResponse_snapshotSchedules :: Lens' DescribeSnapshotSchedulesResponse (Maybe [SnapshotSchedule])
-- | The response's http status code.
describeSnapshotSchedulesResponse_httpStatus :: Lens' DescribeSnapshotSchedulesResponse Int
-- | The total amount of storage currently used for snapshots.
describeStorageResponse_totalBackupSizeInMegaBytes :: Lens' DescribeStorageResponse (Maybe Double)
-- | The total amount of storage currently provisioned.
describeStorageResponse_totalProvisionedStorageInMegaBytes :: Lens' DescribeStorageResponse (Maybe Double)
-- | The response's http status code.
describeStorageResponse_httpStatus :: Lens' DescribeStorageResponse Int
-- | The Amazon Redshift cluster that the table is being restored to.
describeTableRestoreStatus_clusterIdentifier :: Lens' DescribeTableRestoreStatus (Maybe Text)
-- | An optional pagination token provided by a previous
-- DescribeTableRestoreStatus request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
describeTableRestoreStatus_marker :: Lens' DescribeTableRestoreStatus (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a
-- pagination token called a marker is included in the response so that
-- the remaining results can be retrieved.
describeTableRestoreStatus_maxRecords :: Lens' DescribeTableRestoreStatus (Maybe Int)
-- | The identifier of the table restore request to return status for. If
-- you don't specify a TableRestoreRequestId value, then
-- DescribeTableRestoreStatus returns the status of all
-- in-progress table restore requests.
describeTableRestoreStatus_tableRestoreRequestId :: Lens' DescribeTableRestoreStatus (Maybe Text)
-- | A pagination token that can be used in a subsequent
-- DescribeTableRestoreStatus request.
describeTableRestoreStatusResponse_marker :: Lens' DescribeTableRestoreStatusResponse (Maybe Text)
-- | A list of status details for one or more table restore requests.
describeTableRestoreStatusResponse_tableRestoreStatusDetails :: Lens' DescribeTableRestoreStatusResponse (Maybe [TableRestoreStatus])
-- | The response's http status code.
describeTableRestoreStatusResponse_httpStatus :: Lens' DescribeTableRestoreStatusResponse Int
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the marker parameter and retrying the
-- command. If the marker field is empty, all response records
-- have been retrieved for the request.
describeTags_marker :: Lens' DescribeTags (Maybe Text)
-- | The maximum number or response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
describeTags_maxRecords :: Lens' DescribeTags (Maybe Int)
-- | The Amazon Resource Name (ARN) for which you want to describe the tag
-- or tags. For example,
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
describeTags_resourceName :: Lens' DescribeTags (Maybe Text)
-- | The type of resource with which you want to view tags. Valid resource
-- types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
-- - Snapshot copy grant
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Specifying Policy Elements: Actions,
-- Effects, Resources, and Principals in the Amazon Redshift Cluster
-- Management Guide.
describeTags_resourceType :: Lens' DescribeTags (Maybe Text)
-- | A tag key or keys for which you want to return all matching resources
-- that are associated with the specified key or keys. For example,
-- suppose that you have resources tagged with keys called owner
-- and environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with all resources that
-- have either or both of these tag keys associated with them.
describeTags_tagKeys :: Lens' DescribeTags (Maybe [Text])
-- | A tag value or values for which you want to return all matching
-- resources that are associated with the specified value or values. For
-- example, suppose that you have resources tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with all
-- resources that have either or both of these tag values associated with
-- them.
describeTags_tagValues :: Lens' DescribeTags (Maybe [Text])
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeTagsResponse_marker :: Lens' DescribeTagsResponse (Maybe Text)
-- | A list of tags with their associated resources.
describeTagsResponse_taggedResources :: Lens' DescribeTagsResponse (Maybe [TaggedResource])
-- | The response's http status code.
describeTagsResponse_httpStatus :: Lens' DescribeTagsResponse Int
-- | The identifier of the cluster for which you want to describe usage
-- limits.
describeUsageLimits_clusterIdentifier :: Lens' DescribeUsageLimits (Maybe Text)
-- | The feature type for which you want to describe usage limits.
describeUsageLimits_featureType :: Lens' DescribeUsageLimits (Maybe UsageLimitFeatureType)
-- | An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeUsageLimits
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
describeUsageLimits_marker :: Lens' DescribeUsageLimits (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
describeUsageLimits_maxRecords :: Lens' DescribeUsageLimits (Maybe Int)
-- | A tag key or keys for which you want to return all matching usage
-- limit objects that are associated with the specified key or keys. For
-- example, suppose that you have parameter groups that are tagged with
-- keys called owner and environment. If you specify
-- both of these tag keys in the request, Amazon Redshift returns a
-- response with the usage limit objects have either or both of these tag
-- keys associated with them.
describeUsageLimits_tagKeys :: Lens' DescribeUsageLimits (Maybe [Text])
-- | A tag value or values for which you want to return all matching usage
-- limit objects that are associated with the specified tag value or
-- values. For example, suppose that you have parameter groups that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the usage limit objects that have either or
-- both of these tag values associated with them.
describeUsageLimits_tagValues :: Lens' DescribeUsageLimits (Maybe [Text])
-- | The identifier of the usage limit to describe.
describeUsageLimits_usageLimitId :: Lens' DescribeUsageLimits (Maybe Text)
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
describeUsageLimitsResponse_marker :: Lens' DescribeUsageLimitsResponse (Maybe Text)
-- | Contains the output from the DescribeUsageLimits action.
describeUsageLimitsResponse_usageLimits :: Lens' DescribeUsageLimitsResponse (Maybe [UsageLimit])
-- | The response's http status code.
describeUsageLimitsResponse_httpStatus :: Lens' DescribeUsageLimitsResponse Int
-- | The identifier of the cluster on which logging is to be stopped.
--
-- Example: examplecluster
disableLogging_clusterIdentifier :: Lens' DisableLogging Text
-- | The name of the S3 bucket where the log files are stored.
loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text)
-- | The message indicating that logs failed to be delivered.
loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | The last time when logs failed to be delivered.
loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
loggingStatus_logDestinationType :: Lens' LoggingStatus (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
loggingStatus_logExports :: Lens' LoggingStatus (Maybe [Text])
-- | true if logging is on, false if logging is off.
loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The prefix applied to the log file names.
loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
-- | The unique identifier of the source cluster that you want to disable
-- copying of snapshots to a destination region.
--
-- Constraints: Must be the valid name of an existing cluster that has
-- cross-region snapshot copy enabled.
disableSnapshotCopy_clusterIdentifier :: Lens' DisableSnapshotCopy Text
-- | Undocumented member.
disableSnapshotCopyResponse_cluster :: Lens' DisableSnapshotCopyResponse (Maybe Cluster)
-- | The response's http status code.
disableSnapshotCopyResponse_httpStatus :: Lens' DisableSnapshotCopyResponse Int
-- | The Amazon Resource Name (ARN) of the consumer that association for
-- the datashare is removed from.
disassociateDataShareConsumer_consumerArn :: Lens' DisassociateDataShareConsumer (Maybe Text)
-- | From a datashare consumer account, removes association of a datashare
-- from all the existing and future namespaces in the specified Amazon
-- Web Services Region.
disassociateDataShareConsumer_consumerRegion :: Lens' DisassociateDataShareConsumer (Maybe Text)
-- | A value that specifies whether association for the datashare is
-- removed from the entire account.
disassociateDataShareConsumer_disassociateEntireAccount :: Lens' DisassociateDataShareConsumer (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the datashare to remove association
-- for.
disassociateDataShareConsumer_dataShareArn :: Lens' DisassociateDataShareConsumer Text
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
-- | The name of an existing S3 bucket where the log files are to be
-- stored.
--
-- Constraints:
--
--
-- - Must be in the same region as the cluster
-- - The cluster must have read bucket and put object permissions
--
enableLogging_bucketName :: Lens' EnableLogging (Maybe Text)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
enableLogging_logDestinationType :: Lens' EnableLogging (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
enableLogging_logExports :: Lens' EnableLogging (Maybe [Text])
-- | The prefix applied to the log file names.
--
-- Constraints:
--
--
-- - Cannot exceed 512 characters
-- - Cannot contain spaces( ), double quotes ("), single quotes ('), a
-- backslash (\), or control characters. The hexadecimal codes for
-- invalid characters are:
- x00 to
-- x20
- x22
- x27
- x5c
- x7f or
-- larger
--
enableLogging_s3KeyPrefix :: Lens' EnableLogging (Maybe Text)
-- | The identifier of the cluster on which logging is to be started.
--
-- Example: examplecluster
enableLogging_clusterIdentifier :: Lens' EnableLogging Text
-- | The name of the S3 bucket where the log files are stored.
loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text)
-- | The message indicating that logs failed to be delivered.
loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | The last time when logs failed to be delivered.
loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
loggingStatus_logDestinationType :: Lens' LoggingStatus (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
loggingStatus_logExports :: Lens' LoggingStatus (Maybe [Text])
-- | true if logging is on, false if logging is off.
loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The prefix applied to the log file names.
loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
-- | The number of days to retain newly copied snapshots in the destination
-- Amazon Web Services Region after they are copied from the source
-- Amazon Web Services Region. If the value is -1, the manual snapshot is
-- retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
enableSnapshotCopy_manualSnapshotRetentionPeriod :: Lens' EnableSnapshotCopy (Maybe Int)
-- | The number of days to retain automated snapshots in the destination
-- region after they are copied from the source region.
--
-- Default: 7.
--
-- Constraints: Must be at least 1 and no more than 35.
enableSnapshotCopy_retentionPeriod :: Lens' EnableSnapshotCopy (Maybe Int)
-- | The name of the snapshot copy grant to use when snapshots of an Amazon
-- Web Services KMS-encrypted cluster are copied to the destination
-- region.
enableSnapshotCopy_snapshotCopyGrantName :: Lens' EnableSnapshotCopy (Maybe Text)
-- | The unique identifier of the source cluster to copy snapshots from.
--
-- Constraints: Must be the valid name of an existing cluster that does
-- not already have cross-region snapshot copy enabled.
enableSnapshotCopy_clusterIdentifier :: Lens' EnableSnapshotCopy Text
-- | The destination Amazon Web Services Region that you want to copy
-- snapshots to.
--
-- Constraints: Must be the name of a valid Amazon Web Services Region.
-- For more information, see Regions and Endpoints in the Amazon
-- Web Services General Reference.
enableSnapshotCopy_destinationRegion :: Lens' EnableSnapshotCopy Text
-- | Undocumented member.
enableSnapshotCopyResponse_cluster :: Lens' EnableSnapshotCopyResponse (Maybe Cluster)
-- | The response's http status code.
enableSnapshotCopyResponse_httpStatus :: Lens' EnableSnapshotCopyResponse Int
-- | Create a database user with the name specified for the user named in
-- DbUser if one does not exist.
getClusterCredentials_autoCreate :: Lens' GetClusterCredentials (Maybe Bool)
-- | A list of the names of existing database groups that the user named in
-- DbUser will join for the current session, in addition to any
-- group memberships for an existing user. If not specified, a new user
-- is added only to PUBLIC.
--
-- Database group name constraints
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens
-- - Must contain only lowercase letters, numbers, underscore, plus
-- sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
getClusterCredentials_dbGroups :: Lens' GetClusterCredentials (Maybe [Text])
-- | The name of a database that DbUser is authorized to log on
-- to. If DbName is not specified, DbUser can log on to
-- any existing database.
--
-- Constraints:
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens
-- - Must contain uppercase or lowercase letters, numbers, underscore,
-- plus sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
getClusterCredentials_dbName :: Lens' GetClusterCredentials (Maybe Text)
-- | The number of seconds until the returned temporary password expires.
--
-- Constraint: minimum 900, maximum 3600.
--
-- Default: 900
getClusterCredentials_durationSeconds :: Lens' GetClusterCredentials (Maybe Int)
-- | The name of a database user. If a user name matching DbUser
-- exists in the database, the temporary user credentials have the same
-- permissions as the existing user. If DbUser doesn't exist in
-- the database and Autocreate is True, a new user is
-- created using the value for DbUser with PUBLIC permissions.
-- If a database user matching the value for DbUser doesn't
-- exist and Autocreate is False, then the command
-- succeeds but the connection attempt will fail because the user doesn't
-- exist in the database.
--
-- For more information, see CREATE USER in the Amazon Redshift
-- Database Developer Guide.
--
-- Constraints:
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens. The user name
-- can't be PUBLIC.
-- - Must contain uppercase or lowercase letters, numbers, underscore,
-- plus sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
getClusterCredentials_dbUser :: Lens' GetClusterCredentials Text
-- | The unique identifier of the cluster that contains the database for
-- which you are requesting credentials. This parameter is case
-- sensitive.
getClusterCredentials_clusterIdentifier :: Lens' GetClusterCredentials Text
-- | A temporary password that authorizes the user name returned by
-- DbUser to log on to the database DbName.
getClusterCredentialsResponse_dbPassword :: Lens' GetClusterCredentialsResponse (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 permissions as the the user named in DbUser. By default,
-- the user is added to PUBLIC. If the DbGroups parameter is
-- specifed, DbUser is added to the listed groups for any
-- sessions created using these credentials.
getClusterCredentialsResponse_dbUser :: Lens' GetClusterCredentialsResponse (Maybe Text)
-- | The date and time the password in DbPassword expires.
getClusterCredentialsResponse_expiration :: Lens' GetClusterCredentialsResponse (Maybe UTCTime)
-- | The response's http status code.
getClusterCredentialsResponse_httpStatus :: Lens' GetClusterCredentialsResponse Int
-- | The name of the database for which you are requesting credentials. If
-- the database name is specified, the IAM policy must allow access to
-- the resource dbname for the specified database name. If the
-- database name is not specified, access to all databases is allowed.
getClusterCredentialsWithIAM_dbName :: Lens' GetClusterCredentialsWithIAM (Maybe Text)
-- | The number of seconds until the returned temporary password expires.
--
-- Range: 900-3600. Default: 900.
getClusterCredentialsWithIAM_durationSeconds :: Lens' GetClusterCredentialsWithIAM (Maybe Int)
-- | The unique identifier of the cluster that contains the database for
-- which you are requesting credentials.
getClusterCredentialsWithIAM_clusterIdentifier :: Lens' GetClusterCredentialsWithIAM Text
-- | A temporary password that you provide when you connect to a database.
getClusterCredentialsWithIAMResponse_dbPassword :: Lens' GetClusterCredentialsWithIAMResponse (Maybe Text)
-- | A database user name that you provide when you connect to a database.
-- The database user is mapped 1:1 to the source IAM identity.
getClusterCredentialsWithIAMResponse_dbUser :: Lens' GetClusterCredentialsWithIAMResponse (Maybe Text)
-- | The time (UTC) when the temporary password expires. After this
-- timestamp, a log in with the temporary password fails.
getClusterCredentialsWithIAMResponse_expiration :: Lens' GetClusterCredentialsWithIAMResponse (Maybe UTCTime)
-- | Reserved for future use.
getClusterCredentialsWithIAMResponse_nextRefreshTime :: Lens' GetClusterCredentialsWithIAMResponse (Maybe UTCTime)
-- | The response's http status code.
getClusterCredentialsWithIAMResponse_httpStatus :: Lens' GetClusterCredentialsWithIAMResponse Int
-- | The identifier for the cluster that is the source for a reserved-node
-- exchange.
getReservedNodeExchangeConfigurationOptions_clusterIdentifier :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Text)
-- | An optional pagination token provided by a previous
-- GetReservedNodeExchangeConfigurationOptions request. If this
-- parameter is specified, the response includes only records beyond the
-- marker, up to the value specified by the MaxRecords
-- parameter. You can retrieve the next set of response records by
-- providing the returned marker value in the Marker parameter
-- and retrying the request.
getReservedNodeExchangeConfigurationOptions_marker :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Text)
-- | The maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a Marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
getReservedNodeExchangeConfigurationOptions_maxRecords :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Int)
-- | The identifier for the snapshot that is the source for the
-- reserved-node exchange.
getReservedNodeExchangeConfigurationOptions_snapshotIdentifier :: Lens' GetReservedNodeExchangeConfigurationOptions (Maybe Text)
-- | The action type of the reserved-node configuration. The action type
-- can be an exchange initiated from either a snapshot or a resize.
getReservedNodeExchangeConfigurationOptions_actionType :: Lens' GetReservedNodeExchangeConfigurationOptions ReservedNodeExchangeActionType
-- | A pagination token provided by a previous
-- GetReservedNodeExchangeConfigurationOptions request.
getReservedNodeExchangeConfigurationOptionsResponse_marker :: Lens' GetReservedNodeExchangeConfigurationOptionsResponse (Maybe Text)
-- | the configuration options for the reserved-node exchange. These
-- options include information about the source reserved node and target
-- reserved node. Details include the node type, the price, the node
-- count, and the offering type.
getReservedNodeExchangeConfigurationOptionsResponse_reservedNodeConfigurationOptionList :: Lens' GetReservedNodeExchangeConfigurationOptionsResponse (Maybe [ReservedNodeConfigurationOption])
-- | The response's http status code.
getReservedNodeExchangeConfigurationOptionsResponse_httpStatus :: Lens' GetReservedNodeExchangeConfigurationOptionsResponse Int
-- | A value that indicates the starting point for the next set of
-- ReservedNodeOfferings.
getReservedNodeExchangeOfferings_marker :: Lens' GetReservedNodeExchangeOfferings (Maybe Text)
-- | An integer setting the maximum number of ReservedNodeOfferings to
-- retrieve.
getReservedNodeExchangeOfferings_maxRecords :: Lens' GetReservedNodeExchangeOfferings (Maybe Int)
-- | A string representing the node identifier for the DC1 Reserved Node to
-- be exchanged.
getReservedNodeExchangeOfferings_reservedNodeId :: Lens' GetReservedNodeExchangeOfferings Text
-- | An optional parameter that specifies the starting point for returning
-- a set of response records. When the results of a
-- GetReservedNodeExchangeOfferings request exceed the value
-- specified in MaxRecords, Amazon Redshift returns a value in the marker
-- field of the response. You can retrieve the next set of response
-- records by providing the returned marker value in the marker parameter
-- and retrying the request.
getReservedNodeExchangeOfferingsResponse_marker :: Lens' GetReservedNodeExchangeOfferingsResponse (Maybe Text)
-- | Returns an array of ReservedNodeOffering objects.
getReservedNodeExchangeOfferingsResponse_reservedNodeOfferings :: Lens' GetReservedNodeExchangeOfferingsResponse (Maybe [ReservedNodeOffering])
-- | The response's http status code.
getReservedNodeExchangeOfferingsResponse_httpStatus :: Lens' GetReservedNodeExchangeOfferingsResponse Int
-- | This parameter is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
modifyAquaConfiguration_aquaConfigurationStatus :: Lens' ModifyAquaConfiguration (Maybe AquaConfigurationStatus)
-- | The identifier of the cluster to be modified.
modifyAquaConfiguration_clusterIdentifier :: Lens' ModifyAquaConfiguration Text
-- | This parameter is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
modifyAquaConfigurationResponse_aquaConfiguration :: Lens' ModifyAquaConfigurationResponse (Maybe AquaConfiguration)
-- | The response's http status code.
modifyAquaConfigurationResponse_httpStatus :: Lens' ModifyAquaConfigurationResponse Int
-- | The name of the authentication profile to replace.
modifyAuthenticationProfile_authenticationProfileName :: Lens' ModifyAuthenticationProfile Text
-- | The new content of the authentication profile in JSON format. The
-- maximum length of the JSON string is determined by a quota for your
-- account.
modifyAuthenticationProfile_authenticationProfileContent :: Lens' ModifyAuthenticationProfile Text
-- | The updated content of the authentication profile in JSON format.
modifyAuthenticationProfileResponse_authenticationProfileContent :: Lens' ModifyAuthenticationProfileResponse (Maybe Text)
-- | The name of the authentication profile that was replaced.
modifyAuthenticationProfileResponse_authenticationProfileName :: Lens' ModifyAuthenticationProfileResponse (Maybe Text)
-- | The response's http status code.
modifyAuthenticationProfileResponse_httpStatus :: Lens' ModifyAuthenticationProfileResponse Int
-- | If true, major version upgrades will be applied automatically
-- to the cluster during the maintenance window.
--
-- Default: false
modifyCluster_allowVersionUpgrade :: Lens' ModifyCluster (Maybe Bool)
-- | The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- If you decrease the automated snapshot retention period from its
-- current value, existing automated snapshots that fall outside of the
-- new retention period will be immediately deleted.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: Uses existing setting.
--
-- Constraints: Must be a value from 0 to 35.
modifyCluster_automatedSnapshotRetentionPeriod :: Lens' ModifyCluster (Maybe Int)
-- | The option to initiate relocation for an Amazon Redshift cluster to
-- the target Availability Zone.
modifyCluster_availabilityZone :: Lens' ModifyCluster (Maybe Text)
-- | The option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster modification is complete.
modifyCluster_availabilityZoneRelocation :: Lens' ModifyCluster (Maybe Bool)
-- | The name of the cluster parameter group to apply to this cluster. This
-- change is applied only after the cluster is rebooted. To reboot a
-- cluster use RebootCluster.
--
-- Default: Uses existing setting.
--
-- Constraints: The cluster parameter group must be in the same parameter
-- group family that matches the cluster version.
modifyCluster_clusterParameterGroupName :: Lens' ModifyCluster (Maybe Text)
-- | A list of cluster security groups to be authorized on this cluster.
-- This change is asynchronously applied as soon as possible.
--
-- Security groups currently associated with the cluster, and not in the
-- list of groups to apply, will be revoked from the cluster.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
modifyCluster_clusterSecurityGroups :: Lens' ModifyCluster (Maybe [Text])
-- | The new cluster type.
--
-- When you submit your cluster resize request, your existing cluster
-- goes into a read-only mode. After Amazon Redshift provisions a new
-- cluster based on your resize requirements, there will be outage for a
-- period while the old cluster is deleted and your connection is
-- switched to the new cluster. You can use DescribeResize to track the
-- progress of the resize request.
--
-- Valid Values: multi-node | single-node
modifyCluster_clusterType :: Lens' ModifyCluster (Maybe Text)
-- | The new version number of the Amazon Redshift engine to upgrade to.
--
-- For major version upgrades, if a non-default cluster parameter group
-- is currently in use, a new cluster parameter group in the cluster
-- parameter group family for the new version must be specified. The new
-- cluster parameter group can be the default for that cluster parameter
-- group family. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
--
-- Example: 1.0
modifyCluster_clusterVersion :: Lens' ModifyCluster (Maybe Text)
-- | The Elastic IP (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. For more information
-- about provisioning clusters in EC2-VPC, go to Supported Platforms
-- to Launch Your Cluster in the Amazon Redshift Cluster Management
-- Guide.
modifyCluster_elasticIp :: Lens' ModifyCluster (Maybe Text)
-- | Indicates whether the cluster is encrypted. If the value is encrypted
-- (true) and you provide a value for the KmsKeyId parameter, we
-- encrypt the cluster with the provided KmsKeyId. If you don't
-- provide a KmsKeyId, we encrypt with the default key.
--
-- If the value is not encrypted (false), then the cluster is decrypted.
modifyCluster_encrypted :: Lens' ModifyCluster (Maybe Bool)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
modifyCluster_enhancedVpcRouting :: Lens' ModifyCluster (Maybe Bool)
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
modifyCluster_hsmClientCertificateIdentifier :: Lens' ModifyCluster (Maybe Text)
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
modifyCluster_hsmConfigurationIdentifier :: Lens' ModifyCluster (Maybe Text)
-- | The Key Management Service (KMS) key ID of the encryption key that you
-- want to use to encrypt data in the cluster.
modifyCluster_kmsKeyId :: Lens' ModifyCluster (Maybe Text)
-- | The name for the maintenance track that you want to assign for the
-- cluster. This name change is asynchronous. The new track name stays in
-- the PendingModifiedValues for the cluster until the next
-- maintenance window. When the maintenance track changes, the cluster is
-- switched to the latest cluster release available for the maintenance
-- track. At this point, the maintenance track name is applied.
modifyCluster_maintenanceTrackName :: Lens' ModifyCluster (Maybe Text)
-- | The default for number of days that a newly created manual snapshot is
-- retained. If the value is -1, the manual snapshot is retained
-- indefinitely. This value doesn't retroactively change the retention
-- periods of existing manual snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
modifyCluster_manualSnapshotRetentionPeriod :: Lens' ModifyCluster (Maybe Int)
-- | The new password for the cluster admin user. This change is
-- asynchronously applied as soon as possible. Between the time of the
-- request and the completion of the request, the
-- MasterUserPassword element exists in the
-- PendingModifiedValues element of the operation response.
--
-- Operations never return the password, so this operation provides a way
-- to regain access to the admin user account for a cluster if the
-- password is lost.
--
-- Default: Uses existing setting.
--
-- Constraints:
--
--
-- - Must be between 8 and 64 characters in length.
-- - Must contain at least one uppercase letter.
-- - Must contain at least one lowercase letter.
-- - Must contain one number.
-- - Can be any printable ASCII character (ASCII code 33-126) except
-- ' (single quote), " (double quote), \,
-- /, or @.
--
modifyCluster_masterUserPassword :: Lens' ModifyCluster (Maybe Text)
-- | The new identifier for the cluster.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
--
-- Example: examplecluster
modifyCluster_newClusterIdentifier :: Lens' ModifyCluster (Maybe Text)
-- | The new node type of the cluster. If you specify a new node type, you
-- must also specify the number of nodes parameter.
--
-- For more information about resizing clusters, go to Resizing
-- Clusters in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: ds2.xlarge | ds2.8xlarge |
-- dc1.large | dc1.8xlarge | dc2.large |
-- dc2.8xlarge | ra3.xlplus | ra3.4xlarge |
-- ra3.16xlarge
modifyCluster_nodeType :: Lens' ModifyCluster (Maybe Text)
-- | The new number of nodes of the cluster. If you specify a new number of
-- nodes, you must also specify the node type parameter.
--
-- For more information about resizing clusters, go to Resizing
-- Clusters in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: Integer greater than 0.
modifyCluster_numberOfNodes :: Lens' ModifyCluster (Maybe Int)
-- | The option to change the port of an Amazon Redshift cluster.
modifyCluster_port :: Lens' ModifyCluster (Maybe Int)
-- | The weekly time range (in UTC) during which system maintenance can
-- occur, if necessary. If system maintenance is necessary during the
-- window, it may result in an outage.
--
-- This maintenance window change is made immediately. If the new
-- maintenance window indicates the current time, there must be at least
-- 120 minutes between the current time and end of the window in order to
-- ensure that pending changes are applied.
--
-- Default: Uses existing setting.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi, for example
-- wed:07:30-wed:08:00.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Must be at least 30 minutes.
modifyCluster_preferredMaintenanceWindow :: Lens' ModifyCluster (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
-- Only clusters in VPCs can be set to be publicly available.
modifyCluster_publiclyAccessible :: Lens' ModifyCluster (Maybe Bool)
-- | A list of virtual private cloud (VPC) security groups to be associated
-- with the cluster. This change is asynchronously applied as soon as
-- possible.
modifyCluster_vpcSecurityGroupIds :: Lens' ModifyCluster (Maybe [Text])
-- | The unique identifier of the cluster to be modified.
--
-- Example: examplecluster
modifyCluster_clusterIdentifier :: Lens' ModifyCluster Text
-- | Undocumented member.
modifyClusterResponse_cluster :: Lens' ModifyClusterResponse (Maybe Cluster)
-- | The response's http status code.
modifyClusterResponse_httpStatus :: Lens' ModifyClusterResponse Int
-- | The unique identifier of a cluster whose database revision you want to
-- modify.
--
-- Example: examplecluster
modifyClusterDbRevision_clusterIdentifier :: Lens' ModifyClusterDbRevision Text
-- | The identifier of the database revision. You can retrieve this value
-- from the response to the DescribeClusterDbRevisions request.
modifyClusterDbRevision_revisionTarget :: Lens' ModifyClusterDbRevision Text
-- | Undocumented member.
modifyClusterDbRevisionResponse_cluster :: Lens' ModifyClusterDbRevisionResponse (Maybe Cluster)
-- | The response's http status code.
modifyClusterDbRevisionResponse_httpStatus :: Lens' ModifyClusterDbRevisionResponse Int
-- | Zero or more IAM roles to associate with the cluster. The roles must
-- be in their Amazon Resource Name (ARN) format.
modifyClusterIamRoles_addIamRoles :: Lens' ModifyClusterIamRoles (Maybe [Text])
-- | The Amazon Resource Name (ARN) for the IAM role that was set as
-- default for the cluster when the cluster was last modified.
modifyClusterIamRoles_defaultIamRoleArn :: Lens' ModifyClusterIamRoles (Maybe Text)
-- | Zero or more IAM roles in ARN format to disassociate from the cluster.
modifyClusterIamRoles_removeIamRoles :: Lens' ModifyClusterIamRoles (Maybe [Text])
-- | The unique identifier of the cluster for which you want to associate
-- or disassociate IAM roles.
modifyClusterIamRoles_clusterIdentifier :: Lens' ModifyClusterIamRoles Text
-- | Undocumented member.
modifyClusterIamRolesResponse_cluster :: Lens' ModifyClusterIamRolesResponse (Maybe Cluster)
-- | The response's http status code.
modifyClusterIamRolesResponse_httpStatus :: Lens' ModifyClusterIamRolesResponse Int
-- | A boolean indicating whether to enable the deferred maintenance
-- window.
modifyClusterMaintenance_deferMaintenance :: Lens' ModifyClusterMaintenance (Maybe Bool)
-- | An integer indicating the duration of the maintenance window in days.
-- If you specify a duration, you can't specify an end time. The duration
-- must be 45 days or less.
modifyClusterMaintenance_deferMaintenanceDuration :: Lens' ModifyClusterMaintenance (Maybe Int)
-- | A timestamp indicating end time for the deferred maintenance window.
-- If you specify an end time, you can't specify a duration.
modifyClusterMaintenance_deferMaintenanceEndTime :: Lens' ModifyClusterMaintenance (Maybe UTCTime)
-- | A unique identifier for the deferred maintenance window.
modifyClusterMaintenance_deferMaintenanceIdentifier :: Lens' ModifyClusterMaintenance (Maybe Text)
-- | A timestamp indicating the start time for the deferred maintenance
-- window.
modifyClusterMaintenance_deferMaintenanceStartTime :: Lens' ModifyClusterMaintenance (Maybe UTCTime)
-- | A unique identifier for the cluster.
modifyClusterMaintenance_clusterIdentifier :: Lens' ModifyClusterMaintenance Text
-- | Undocumented member.
modifyClusterMaintenanceResponse_cluster :: Lens' ModifyClusterMaintenanceResponse (Maybe Cluster)
-- | The response's http status code.
modifyClusterMaintenanceResponse_httpStatus :: Lens' ModifyClusterMaintenanceResponse Int
-- | The name of the parameter group to be modified.
modifyClusterParameterGroup_parameterGroupName :: Lens' ModifyClusterParameterGroup Text
-- | An array of parameters to be modified. A maximum of 20 parameters can
-- be modified in a single request.
--
-- For each parameter to be modified, you must supply at least the
-- parameter name and parameter value; other name-value pairs of the
-- parameter are optional.
--
-- For the workload management (WLM) configuration, you must supply all
-- the name-value pairs in the wlm_json_configuration parameter.
modifyClusterParameterGroup_parameters :: Lens' ModifyClusterParameterGroup [Parameter]
-- | The name of the cluster parameter group.
clusterParameterGroupNameMessage_parameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
clusterParameterGroupNameMessage_parameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | A Boolean option to override an exception if the retention period has
-- already passed.
modifyClusterSnapshot_force :: Lens' ModifyClusterSnapshot (Maybe Bool)
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- If the manual snapshot falls outside of the new retention period, you
-- can specify the force option to immediately delete the snapshot.
--
-- The value must be either -1 or an integer between 1 and 3,653.
modifyClusterSnapshot_manualSnapshotRetentionPeriod :: Lens' ModifyClusterSnapshot (Maybe Int)
-- | The identifier of the snapshot whose setting you want to modify.
modifyClusterSnapshot_snapshotIdentifier :: Lens' ModifyClusterSnapshot Text
-- | Undocumented member.
modifyClusterSnapshotResponse_snapshot :: Lens' ModifyClusterSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
modifyClusterSnapshotResponse_httpStatus :: Lens' ModifyClusterSnapshotResponse Int
-- | A boolean to indicate whether to remove the assoiciation between the
-- cluster and the schedule.
modifyClusterSnapshotSchedule_disassociateSchedule :: Lens' ModifyClusterSnapshotSchedule (Maybe Bool)
-- | A unique alphanumeric identifier for the schedule that you want to
-- associate with the cluster.
modifyClusterSnapshotSchedule_scheduleIdentifier :: Lens' ModifyClusterSnapshotSchedule (Maybe Text)
-- | A unique identifier for the cluster whose snapshot schedule you want
-- to modify.
modifyClusterSnapshotSchedule_clusterIdentifier :: Lens' ModifyClusterSnapshotSchedule Text
-- | A text description of the subnet group to be modified.
modifyClusterSubnetGroup_description :: Lens' ModifyClusterSubnetGroup (Maybe Text)
-- | The name of the subnet group to be modified.
modifyClusterSubnetGroup_clusterSubnetGroupName :: Lens' ModifyClusterSubnetGroup Text
-- | An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
-- a single request.
modifyClusterSubnetGroup_subnetIds :: Lens' ModifyClusterSubnetGroup [Text]
-- | Undocumented member.
modifyClusterSubnetGroupResponse_clusterSubnetGroup :: Lens' ModifyClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
-- | The response's http status code.
modifyClusterSubnetGroupResponse_httpStatus :: Lens' ModifyClusterSubnetGroupResponse Int
-- | The complete list of VPC security groups associated with the endpoint
-- after the endpoint is modified.
modifyEndpointAccess_vpcSecurityGroupIds :: Lens' ModifyEndpointAccess (Maybe [Text])
-- | The endpoint to be modified.
modifyEndpointAccess_endpointName :: Lens' ModifyEndpointAccess Text
-- | The DNS address of the endpoint.
endpointAccess_address :: Lens' EndpointAccess (Maybe Text)
-- | The cluster identifier of the cluster associated with the endpoint.
endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text)
-- | The time (UTC) that the endpoint was created.
endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime)
-- | The name of the endpoint.
endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text)
-- | The status of the endpoint.
endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text)
-- | The port number on which the cluster accepts incoming connections.
endpointAccess_port :: Lens' EndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text)
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text)
-- | Undocumented member.
endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint)
-- | The security groups associated with the endpoint.
endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership])
-- | A Boolean value indicating if the subscription is enabled.
-- true indicates the subscription is enabled
modifyEventSubscription_enabled :: Lens' ModifyEventSubscription (Maybe Bool)
-- | Specifies the Amazon Redshift event categories to be published by the
-- event notification subscription.
--
-- Values: configuration, management, monitoring, security, pending
modifyEventSubscription_eventCategories :: Lens' ModifyEventSubscription (Maybe [Text])
-- | Specifies the Amazon Redshift event severity to be published by the
-- event notification subscription.
--
-- Values: ERROR, INFO
modifyEventSubscription_severity :: Lens' ModifyEventSubscription (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SNS topic to be used by the
-- event notification subscription.
modifyEventSubscription_snsTopicArn :: Lens' ModifyEventSubscription (Maybe Text)
-- | A list of one or more identifiers of Amazon Redshift source objects.
-- All of the objects must be of the same type as was specified in the
-- source type parameter. The event subscription will return only events
-- generated by the specified objects. If not specified, then events are
-- returned for all objects within the source type specified.
--
-- Example: my-cluster-1, my-cluster-2
--
-- Example: my-snapshot-20131010
modifyEventSubscription_sourceIds :: Lens' ModifyEventSubscription (Maybe [Text])
-- | The type of source that will be generating the events. For example, if
-- you want to be notified of events generated by a cluster, you would
-- set this parameter to cluster. If this value is not specified, events
-- are returned for all Amazon Redshift objects in your Amazon Web
-- Services account. You must specify a source type in order to specify
-- source IDs.
--
-- Valid values: cluster, cluster-parameter-group,
-- cluster-security-group, cluster-snapshot, and scheduled-action.
modifyEventSubscription_sourceType :: Lens' ModifyEventSubscription (Maybe Text)
-- | The name of the modified Amazon Redshift event notification
-- subscription.
modifyEventSubscription_subscriptionName :: Lens' ModifyEventSubscription Text
-- | Undocumented member.
modifyEventSubscriptionResponse_eventSubscription :: Lens' ModifyEventSubscriptionResponse (Maybe EventSubscription)
-- | The response's http status code.
modifyEventSubscriptionResponse_httpStatus :: Lens' ModifyEventSubscriptionResponse Int
-- | A modified enable flag of the scheduled action. If true, the scheduled
-- action is active. If false, the scheduled action is disabled.
modifyScheduledAction_enable :: Lens' ModifyScheduledAction (Maybe Bool)
-- | A modified end time of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
modifyScheduledAction_endTime :: Lens' ModifyScheduledAction (Maybe UTCTime)
-- | A different IAM role to assume to run the target action. For more
-- information about this parameter, see ScheduledAction.
modifyScheduledAction_iamRole :: Lens' ModifyScheduledAction (Maybe Text)
-- | A modified schedule in either at( ) or cron( )
-- format. For more information about this parameter, see
-- ScheduledAction.
modifyScheduledAction_schedule :: Lens' ModifyScheduledAction (Maybe Text)
-- | A modified description of the scheduled action.
modifyScheduledAction_scheduledActionDescription :: Lens' ModifyScheduledAction (Maybe Text)
-- | A modified start time of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
modifyScheduledAction_startTime :: Lens' ModifyScheduledAction (Maybe UTCTime)
-- | A modified JSON format of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
modifyScheduledAction_targetAction :: Lens' ModifyScheduledAction (Maybe ScheduledActionType)
-- | The name of the scheduled action to modify.
modifyScheduledAction_scheduledActionName :: Lens' ModifyScheduledAction Text
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
scheduledAction_endTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
scheduledAction_iamRole :: Lens' ScheduledAction (Maybe Text)
-- | List of times when the scheduled action will run.
scheduledAction_nextInvocations :: Lens' ScheduledAction (Maybe [UTCTime])
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
scheduledAction_schedule :: Lens' ScheduledAction (Maybe Text)
-- | The description of the scheduled action.
scheduledAction_scheduledActionDescription :: Lens' ScheduledAction (Maybe Text)
-- | The name of the scheduled action.
scheduledAction_scheduledActionName :: Lens' ScheduledAction (Maybe Text)
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
scheduledAction_startTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The state of the scheduled action. For example, DISABLED.
scheduledAction_state :: Lens' ScheduledAction (Maybe ScheduledActionState)
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
scheduledAction_targetAction :: Lens' ScheduledAction (Maybe ScheduledActionType)
-- | Indicates whether to apply the snapshot retention period to newly
-- copied manual snapshots instead of automated snapshots.
modifySnapshotCopyRetentionPeriod_manual :: Lens' ModifySnapshotCopyRetentionPeriod (Maybe Bool)
-- | The unique identifier of the cluster for which you want to change the
-- retention period for either automated or manual snapshots that are
-- copied to a destination Amazon Web Services Region.
--
-- Constraints: Must be the valid name of an existing cluster that has
-- cross-region snapshot copy enabled.
modifySnapshotCopyRetentionPeriod_clusterIdentifier :: Lens' ModifySnapshotCopyRetentionPeriod Text
-- | The number of days to retain automated snapshots in the destination
-- Amazon Web Services Region after they are copied from the source
-- Amazon Web Services Region.
--
-- By default, this only changes the retention period of copied automated
-- snapshots.
--
-- If you decrease the retention period for automated snapshots that are
-- copied to a destination Amazon Web Services Region, Amazon Redshift
-- deletes any existing automated snapshots that were copied to the
-- destination Amazon Web Services Region and that fall outside of the
-- new retention period.
--
-- Constraints: Must be at least 1 and no more than 35 for automated
-- snapshots.
--
-- If you specify the manual option, only newly copied manual
-- snapshots will have the new retention period.
--
-- If you specify the value of -1 newly copied manual snapshots are
-- retained indefinitely.
--
-- Constraints: The number of days must be either -1 or an integer
-- between 1 and 3,653 for manual snapshots.
modifySnapshotCopyRetentionPeriod_retentionPeriod :: Lens' ModifySnapshotCopyRetentionPeriod Int
-- | Undocumented member.
modifySnapshotCopyRetentionPeriodResponse_cluster :: Lens' ModifySnapshotCopyRetentionPeriodResponse (Maybe Cluster)
-- | The response's http status code.
modifySnapshotCopyRetentionPeriodResponse_httpStatus :: Lens' ModifySnapshotCopyRetentionPeriodResponse Int
-- | A unique alphanumeric identifier of the schedule to modify.
modifySnapshotSchedule_scheduleIdentifier :: Lens' ModifySnapshotSchedule Text
-- | An updated list of schedule definitions. A schedule definition is made
-- up of schedule expressions, for example, "cron(30 12 *)" or "rate(12
-- hours)".
modifySnapshotSchedule_scheduleDefinitions :: Lens' ModifySnapshotSchedule [Text]
-- | The number of clusters associated with the schedule.
snapshotSchedule_associatedClusterCount :: Lens' SnapshotSchedule (Maybe Int)
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
snapshotSchedule_associatedClusters :: Lens' SnapshotSchedule (Maybe [ClusterAssociatedToSchedule])
snapshotSchedule_nextInvocations :: Lens' SnapshotSchedule (Maybe [UTCTime])
-- | A list of ScheduleDefinitions.
snapshotSchedule_scheduleDefinitions :: Lens' SnapshotSchedule (Maybe [Text])
-- | The description of the schedule.
snapshotSchedule_scheduleDescription :: Lens' SnapshotSchedule (Maybe Text)
-- | A unique identifier for the schedule.
snapshotSchedule_scheduleIdentifier :: Lens' SnapshotSchedule (Maybe Text)
-- | An optional set of tags describing the schedule.
snapshotSchedule_tags :: Lens' SnapshotSchedule (Maybe [Tag])
-- | The new limit amount. For more information about this parameter, see
-- UsageLimit.
modifyUsageLimit_amount :: Lens' ModifyUsageLimit (Maybe Integer)
-- | The new action that Amazon Redshift takes when the limit is reached.
-- For more information about this parameter, see UsageLimit.
modifyUsageLimit_breachAction :: Lens' ModifyUsageLimit (Maybe UsageLimitBreachAction)
-- | The identifier of the usage limit to modify.
modifyUsageLimit_usageLimitId :: Lens' ModifyUsageLimit Text
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
usageLimit_amount :: Lens' UsageLimit (Maybe Integer)
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction)
-- | The identifier of the cluster with a usage limit.
usageLimit_clusterIdentifier :: Lens' UsageLimit (Maybe Text)
-- | The Amazon Redshift feature to which the limit applies.
usageLimit_featureType :: Lens' UsageLimit (Maybe UsageLimitFeatureType)
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
usageLimit_limitType :: Lens' UsageLimit (Maybe UsageLimitLimitType)
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod)
-- | A list of tag instances.
usageLimit_tags :: Lens' UsageLimit (Maybe [Tag])
-- | The identifier of the usage limit.
usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text)
-- | The identifier of the cluster to be paused.
pauseCluster_clusterIdentifier :: Lens' PauseCluster Text
-- | Undocumented member.
pauseClusterResponse_cluster :: Lens' PauseClusterResponse (Maybe Cluster)
-- | The response's http status code.
pauseClusterResponse_httpStatus :: Lens' PauseClusterResponse Int
-- | The number of reserved nodes that you want to purchase.
--
-- Default: 1
purchaseReservedNodeOffering_nodeCount :: Lens' PurchaseReservedNodeOffering (Maybe Int)
-- | The unique identifier of the reserved node offering you want to
-- purchase.
purchaseReservedNodeOffering_reservedNodeOfferingId :: Lens' PurchaseReservedNodeOffering Text
-- | Undocumented member.
purchaseReservedNodeOfferingResponse_reservedNode :: Lens' PurchaseReservedNodeOfferingResponse (Maybe ReservedNode)
-- | The response's http status code.
purchaseReservedNodeOfferingResponse_httpStatus :: Lens' PurchaseReservedNodeOfferingResponse Int
-- | The cluster identifier.
rebootCluster_clusterIdentifier :: Lens' RebootCluster Text
-- | Undocumented member.
rebootClusterResponse_cluster :: Lens' RebootClusterResponse (Maybe Cluster)
-- | The response's http status code.
rebootClusterResponse_httpStatus :: Lens' RebootClusterResponse Int
-- | The Amazon Resource Name (ARN) of the datashare to reject.
rejectDataShare_dataShareArn :: Lens' RejectDataShare Text
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
-- | An array of names of parameters to be reset. If
-- ResetAllParameters option is not used, then at least one
-- parameter name must be supplied.
--
-- Constraints: A maximum of 20 parameters can be reset in a single
-- request.
resetClusterParameterGroup_parameters :: Lens' ResetClusterParameterGroup (Maybe [Parameter])
-- | If true, all parameters in the specified parameter group will
-- be reset to their default values.
--
-- Default: true
resetClusterParameterGroup_resetAllParameters :: Lens' ResetClusterParameterGroup (Maybe Bool)
-- | The name of the cluster parameter group to be reset.
resetClusterParameterGroup_parameterGroupName :: Lens' ResetClusterParameterGroup Text
-- | The name of the cluster parameter group.
clusterParameterGroupNameMessage_parameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
clusterParameterGroupNameMessage_parameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | A boolean value indicating whether the resize operation is using the
-- classic resize process. If you don't provide this parameter or set the
-- value to false, the resize type is elastic.
resizeCluster_classic :: Lens' ResizeCluster (Maybe Bool)
-- | The new cluster type for the specified cluster.
resizeCluster_clusterType :: Lens' ResizeCluster (Maybe Text)
-- | The new node type for the nodes you are adding. If not specified, the
-- cluster's current node type is used.
resizeCluster_nodeType :: Lens' ResizeCluster (Maybe Text)
-- | The new number of nodes for the cluster. If not specified, the
-- cluster's current number of nodes is used.
resizeCluster_numberOfNodes :: Lens' ResizeCluster (Maybe Int)
-- | The identifier of the reserved node.
resizeCluster_reservedNodeId :: Lens' ResizeCluster (Maybe Text)
-- | The identifier of the target reserved node offering.
resizeCluster_targetReservedNodeOfferingId :: Lens' ResizeCluster (Maybe Text)
-- | The unique identifier for the cluster to resize.
resizeCluster_clusterIdentifier :: Lens' ResizeCluster Text
-- | Undocumented member.
resizeClusterResponse_cluster :: Lens' ResizeClusterResponse (Maybe Cluster)
-- | The response's http status code.
resizeClusterResponse_httpStatus :: Lens' ResizeClusterResponse Int
-- | Reserved.
restoreFromClusterSnapshot_additionalInfo :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | If true, major version upgrades can be applied during the
-- maintenance window to the Amazon Redshift engine that is running on
-- the cluster.
--
-- Default: true
restoreFromClusterSnapshot_allowVersionUpgrade :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | This parameter is retired. It does not set the AQUA configuration
-- status. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
restoreFromClusterSnapshot_aquaConfigurationStatus :: Lens' RestoreFromClusterSnapshot (Maybe AquaConfigurationStatus)
-- | The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: The value selected for the cluster from which the snapshot
-- was taken.
--
-- Constraints: Must be a value from 0 to 35.
restoreFromClusterSnapshot_automatedSnapshotRetentionPeriod :: Lens' RestoreFromClusterSnapshot (Maybe Int)
-- | The Amazon EC2 Availability Zone in which to restore the cluster.
--
-- Default: A random, system-chosen Availability Zone.
--
-- Example: us-east-2a
restoreFromClusterSnapshot_availabilityZone :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster is restored.
restoreFromClusterSnapshot_availabilityZoneRelocation :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | The name of the parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
restoreFromClusterSnapshot_clusterParameterGroupName :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | A list of security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
--
-- Cluster security groups only apply to clusters outside of VPCs.
restoreFromClusterSnapshot_clusterSecurityGroups :: Lens' RestoreFromClusterSnapshot (Maybe [Text])
-- | The name of the subnet group where you want to cluster restored.
--
-- A snapshot of cluster in VPC can be restored only in VPC. Therefore,
-- you must provide subnet group name where you want the cluster
-- restored.
restoreFromClusterSnapshot_clusterSubnetGroupName :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The Amazon Resource Name (ARN) for the IAM role that was set as
-- default for the cluster when the cluster was last modified while it
-- was restored from a snapshot.
restoreFromClusterSnapshot_defaultIamRoleArn :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The Elastic IP (EIP) address for the cluster. Don't specify the
-- Elastic IP address for a publicly accessible cluster with availability
-- zone relocation turned on.
restoreFromClusterSnapshot_elasticIp :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | Enables support for restoring an unencrypted snapshot to a cluster
-- encrypted with Key Management Service (KMS) and a customer managed
-- key.
restoreFromClusterSnapshot_encrypted :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
restoreFromClusterSnapshot_enhancedVpcRouting :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
restoreFromClusterSnapshot_hsmClientCertificateIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
restoreFromClusterSnapshot_hsmConfigurationIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services. You must
-- supply the IAM roles in their Amazon Resource Name (ARN) format.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
restoreFromClusterSnapshot_iamRoles :: Lens' RestoreFromClusterSnapshot (Maybe [Text])
-- | The Key Management Service (KMS) key ID of the encryption key that
-- encrypts data in the cluster restored from a shared snapshot. You can
-- also provide the key ID when you restore from an unencrypted snapshot
-- to an encrypted cluster in the same account. Additionally, you can
-- specify a new KMS key ID when you restore from an encrypted snapshot
-- in the same account in order to change it. In that case, the restored
-- cluster is encrypted with the new KMS key ID.
restoreFromClusterSnapshot_kmsKeyId :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The name of the maintenance track for the restored cluster. When you
-- take a snapshot, the snapshot inherits the MaintenanceTrack
-- value from the cluster. The snapshot might be on a different track
-- than the cluster that was the source for the snapshot. For example,
-- suppose that you take a snapshot of a cluster that is on the current
-- track and then change the cluster to be on the trailing track. In this
-- case, the snapshot and the source cluster are on different tracks.
restoreFromClusterSnapshot_maintenanceTrackName :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
restoreFromClusterSnapshot_manualSnapshotRetentionPeriod :: Lens' RestoreFromClusterSnapshot (Maybe Int)
-- | The node type that the restored cluster will be provisioned with.
--
-- Default: The node type of the cluster from which the snapshot was
-- taken. You can modify this if you are using any DS node type. In that
-- case, you can choose to restore into another DS node type of the same
-- size. For example, you can restore ds1.8xlarge into ds2.8xlarge, or
-- ds1.xlarge into ds2.xlarge. If you have a DC instance type, you must
-- restore into that same instance type and size. In other words, you can
-- only restore a dc1.large instance type into another dc1.large instance
-- type or dc2.large instance type. You can't restore dc1.8xlarge to
-- dc2.8xlarge. First restore to a dc1.8xlarge cluster, then resize to a
-- dc2.8large cluster. For more information about node types, see
-- About Clusters and Nodes in the Amazon Redshift Cluster
-- Management Guide.
restoreFromClusterSnapshot_nodeType :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The number of nodes specified when provisioning the restored cluster.
restoreFromClusterSnapshot_numberOfNodes :: Lens' RestoreFromClusterSnapshot (Maybe Int)
-- | The Amazon Web Services account used to create or copy the snapshot.
-- Required if you are restoring a snapshot you do not own, optional if
-- you own the snapshot.
restoreFromClusterSnapshot_ownerAccount :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The port number on which the cluster accepts connections.
--
-- Default: The same port as the original cluster.
--
-- Constraints: Must be between 1115 and 65535.
restoreFromClusterSnapshot_port :: Lens' RestoreFromClusterSnapshot (Maybe Int)
-- | The weekly time range (in UTC) during which automated cluster
-- maintenance can occur.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi
--
-- Default: The value selected for the cluster from which the snapshot
-- was taken. For more information about the time blocks for each region,
-- see Maintenance Windows in Amazon Redshift Cluster Management
-- Guide.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Minimum 30-minute window.
restoreFromClusterSnapshot_preferredMaintenanceWindow :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | If true, the cluster can be accessed from a public network.
restoreFromClusterSnapshot_publiclyAccessible :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
-- | The identifier of the target reserved node offering.
restoreFromClusterSnapshot_reservedNodeId :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to restore from a cluster. You can specify this parameter or
-- snapshotIdentifier, but not both.
restoreFromClusterSnapshot_snapshotArn :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The name of the cluster the source snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
restoreFromClusterSnapshot_snapshotClusterIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The name of the snapshot from which to create the new cluster. This
-- parameter isn't case sensitive. You can specify this parameter or
-- snapshotArn, but not both.
--
-- Example: my-snapshot-id
restoreFromClusterSnapshot_snapshotIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | A unique identifier for the snapshot schedule.
restoreFromClusterSnapshot_snapshotScheduleIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | The identifier of the target reserved node offering.
restoreFromClusterSnapshot_targetReservedNodeOfferingId :: Lens' RestoreFromClusterSnapshot (Maybe Text)
-- | A list of Virtual Private Cloud (VPC) security groups to be associated
-- with the cluster.
--
-- Default: The default VPC security group is associated with the
-- cluster.
--
-- VPC security groups only apply to clusters in VPCs.
restoreFromClusterSnapshot_vpcSecurityGroupIds :: Lens' RestoreFromClusterSnapshot (Maybe [Text])
-- | The identifier of the cluster that will be created from restoring the
-- snapshot.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
restoreFromClusterSnapshot_clusterIdentifier :: Lens' RestoreFromClusterSnapshot Text
-- | Undocumented member.
restoreFromClusterSnapshotResponse_cluster :: Lens' RestoreFromClusterSnapshotResponse (Maybe Cluster)
-- | The response's http status code.
restoreFromClusterSnapshotResponse_httpStatus :: Lens' RestoreFromClusterSnapshotResponse Int
-- | Indicates whether name identifiers for database, schema, and table are
-- case sensitive. If true, the names are case sensitive. If
-- false (default), the names are not case sensitive.
restoreTableFromClusterSnapshot_enableCaseSensitiveIdentifier :: Lens' RestoreTableFromClusterSnapshot (Maybe Bool)
-- | The name of the source schema that contains the table to restore from.
-- If you do not specify a SourceSchemaName value, the default
-- is public.
restoreTableFromClusterSnapshot_sourceSchemaName :: Lens' RestoreTableFromClusterSnapshot (Maybe Text)
-- | The name of the database to restore the table to.
restoreTableFromClusterSnapshot_targetDatabaseName :: Lens' RestoreTableFromClusterSnapshot (Maybe Text)
-- | The name of the schema to restore the table to.
restoreTableFromClusterSnapshot_targetSchemaName :: Lens' RestoreTableFromClusterSnapshot (Maybe Text)
-- | The identifier of the Amazon Redshift cluster to restore the table to.
restoreTableFromClusterSnapshot_clusterIdentifier :: Lens' RestoreTableFromClusterSnapshot Text
-- | The identifier of the snapshot to restore the table from. This
-- snapshot must have been created from the Amazon Redshift cluster
-- specified by the ClusterIdentifier parameter.
restoreTableFromClusterSnapshot_snapshotIdentifier :: Lens' RestoreTableFromClusterSnapshot Text
-- | The name of the source database that contains the table to restore
-- from.
restoreTableFromClusterSnapshot_sourceDatabaseName :: Lens' RestoreTableFromClusterSnapshot Text
-- | The name of the source table to restore from.
restoreTableFromClusterSnapshot_sourceTableName :: Lens' RestoreTableFromClusterSnapshot Text
-- | The name of the table to create as a result of the current request.
restoreTableFromClusterSnapshot_newTableName :: Lens' RestoreTableFromClusterSnapshot Text
-- | Undocumented member.
restoreTableFromClusterSnapshotResponse_tableRestoreStatus :: Lens' RestoreTableFromClusterSnapshotResponse (Maybe TableRestoreStatus)
-- | The response's http status code.
restoreTableFromClusterSnapshotResponse_httpStatus :: Lens' RestoreTableFromClusterSnapshotResponse Int
-- | The identifier of the cluster to be resumed.
resumeCluster_clusterIdentifier :: Lens' ResumeCluster Text
-- | Undocumented member.
resumeClusterResponse_cluster :: Lens' ResumeClusterResponse (Maybe Cluster)
-- | The response's http status code.
resumeClusterResponse_httpStatus :: Lens' ResumeClusterResponse Int
-- | The IP range for which to revoke access. This range must be a valid
-- Classless Inter-Domain Routing (CIDR) block of IP addresses. If
-- CIDRIP is specified, EC2SecurityGroupName and
-- EC2SecurityGroupOwnerId cannot be provided.
revokeClusterSecurityGroupIngress_cidrip :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
-- | The name of the EC2 Security Group whose access is to be revoked. If
-- EC2SecurityGroupName is specified,
-- EC2SecurityGroupOwnerId must also be provided and
-- CIDRIP cannot be provided.
revokeClusterSecurityGroupIngress_eC2SecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
-- | The Amazon Web Services account number of the owner of the security
-- group specified in the EC2SecurityGroupName parameter. The
-- Amazon Web Services access key ID is not an acceptable value. If
-- EC2SecurityGroupOwnerId is specified,
-- EC2SecurityGroupName must also be provided. and
-- CIDRIP cannot be provided.
--
-- Example: 111122223333
revokeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text)
-- | The name of the security Group from which to revoke the ingress rule.
revokeClusterSecurityGroupIngress_clusterSecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress Text
-- | Undocumented member.
revokeClusterSecurityGroupIngressResponse_clusterSecurityGroup :: Lens' RevokeClusterSecurityGroupIngressResponse (Maybe ClusterSecurityGroup)
-- | The response's http status code.
revokeClusterSecurityGroupIngressResponse_httpStatus :: Lens' RevokeClusterSecurityGroupIngressResponse Int
-- | The Amazon Web Services account ID whose access is to be revoked.
revokeEndpointAccess_account :: Lens' RevokeEndpointAccess (Maybe Text)
-- | The cluster to revoke access from.
revokeEndpointAccess_clusterIdentifier :: Lens' RevokeEndpointAccess (Maybe Text)
-- | Indicates whether to force the revoke action. If true, the
-- Redshift-managed VPC endpoints associated with the endpoint
-- authorization are also deleted.
revokeEndpointAccess_force :: Lens' RevokeEndpointAccess (Maybe Bool)
-- | The virtual private cloud (VPC) identifiers for which access is to be
-- revoked.
revokeEndpointAccess_vpcIds :: Lens' RevokeEndpointAccess (Maybe [Text])
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool)
-- | The VPCs allowed access to the cluster.
endpointAuthorization_allowedVPCs :: Lens' EndpointAuthorization (Maybe [Text])
-- | The time (UTC) when the authorization was created.
endpointAuthorization_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime)
-- | The cluster identifier.
endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the cluster.
endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text)
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int)
-- | The Amazon Web Services account ID of the grantee of the cluster.
endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text)
-- | The Amazon Web Services account ID of the cluster owner.
endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the authorization action.
endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus)
-- | The Amazon Resource Name (ARN) of the snapshot associated with the
-- message to revoke access.
revokeSnapshotAccess_snapshotArn :: Lens' RevokeSnapshotAccess (Maybe Text)
-- | The identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
revokeSnapshotAccess_snapshotClusterIdentifier :: Lens' RevokeSnapshotAccess (Maybe Text)
-- | The identifier of the snapshot that the account can no longer access.
revokeSnapshotAccess_snapshotIdentifier :: Lens' RevokeSnapshotAccess (Maybe Text)
-- | The identifier of the Amazon Web Services account that can no longer
-- restore the specified snapshot.
revokeSnapshotAccess_accountWithRestoreAccess :: Lens' RevokeSnapshotAccess Text
-- | Undocumented member.
revokeSnapshotAccessResponse_snapshot :: Lens' RevokeSnapshotAccessResponse (Maybe Snapshot)
-- | The response's http status code.
revokeSnapshotAccessResponse_httpStatus :: Lens' RevokeSnapshotAccessResponse Int
-- | The unique identifier of the cluster that you want to rotate the
-- encryption keys for.
--
-- Constraints: Must be the name of valid cluster that has encryption
-- enabled.
rotateEncryptionKey_clusterIdentifier :: Lens' RotateEncryptionKey Text
-- | Undocumented member.
rotateEncryptionKeyResponse_cluster :: Lens' RotateEncryptionKeyResponse (Maybe Cluster)
-- | The response's http status code.
rotateEncryptionKeyResponse_httpStatus :: Lens' RotateEncryptionKeyResponse Int
-- | The status message provided by the partner.
updatePartnerStatus_statusMessage :: Lens' UpdatePartnerStatus (Maybe Text)
-- | The Amazon Web Services account ID that owns the cluster.
updatePartnerStatus_accountId :: Lens' UpdatePartnerStatus Text
-- | The cluster identifier of the cluster whose partner integration status
-- is being updated.
updatePartnerStatus_clusterIdentifier :: Lens' UpdatePartnerStatus Text
-- | The name of the database whose partner integration status is being
-- updated.
updatePartnerStatus_databaseName :: Lens' UpdatePartnerStatus Text
-- | The name of the partner whose integration status is being updated.
updatePartnerStatus_partnerName :: Lens' UpdatePartnerStatus Text
-- | The value of the updated status.
updatePartnerStatus_status :: Lens' UpdatePartnerStatus PartnerIntegrationStatus
-- | The name of the database that receives data from the partner.
partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the partner that is authorized to send data.
partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the attribute.
accountAttribute_attributeName :: Lens' AccountAttribute (Maybe Text)
-- | A list of attribute values.
accountAttribute_attributeValues :: Lens' AccountAttribute (Maybe [AttributeValueTarget])
-- | The identifier of an Amazon Web Services support account authorized to
-- restore a snapshot. For Amazon Web Services Support, the identifier is
-- amazon-redshift-support.
accountWithRestoreAccess_accountAlias :: Lens' AccountWithRestoreAccess (Maybe Text)
-- | The identifier of an Amazon Web Services account authorized to restore
-- a snapshot.
accountWithRestoreAccess_accountId :: Lens' AccountWithRestoreAccess (Maybe Text)
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
aquaConfiguration_aquaConfigurationStatus :: Lens' AquaConfiguration (Maybe AquaConfigurationStatus)
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
aquaConfiguration_aquaStatus :: Lens' AquaConfiguration (Maybe AquaStatus)
-- | The value of the attribute.
attributeValueTarget_attributeValue :: Lens' AttributeValueTarget (Maybe Text)
-- | The content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
authenticationProfile_authenticationProfileContent :: Lens' AuthenticationProfile (Maybe Text)
-- | The name of the authentication profile.
authenticationProfile_authenticationProfileName :: Lens' AuthenticationProfile (Maybe Text)
-- | The name of the availability zone.
availabilityZone_name :: Lens' AvailabilityZone (Maybe Text)
availabilityZone_supportedPlatforms :: Lens' AvailabilityZone (Maybe [SupportedPlatform])
-- | A boolean value that, if true, indicates that major version
-- upgrades will be applied automatically to the cluster during the
-- maintenance window.
cluster_allowVersionUpgrade :: Lens' Cluster (Maybe Bool)
-- | This field is retired. Amazon Redshift automatically determines
-- whether to use AQUA (Advanced Query Accelerator).
cluster_aquaConfiguration :: Lens' Cluster (Maybe AquaConfiguration)
-- | The number of days that automatic cluster snapshots are retained.
cluster_automatedSnapshotRetentionPeriod :: Lens' Cluster (Maybe Int)
-- | The name of the Availability Zone in which the cluster is located.
cluster_availabilityZone :: Lens' Cluster (Maybe Text)
-- | Describes the status of the Availability Zone relocation operation.
cluster_availabilityZoneRelocationStatus :: Lens' Cluster (Maybe Text)
-- | The availability status of the cluster for queries. Possible values
-- are the following:
--
--
-- - Available - The cluster is available for queries.
-- - Unavailable - The cluster is not available for queries.
-- - Maintenance - The cluster is intermittently available for queries
-- due to maintenance activities.
-- - Modifying - The cluster is intermittently available for queries
-- due to changes that modify the cluster.
-- - Failed - The cluster failed and is not available for queries.
--
cluster_clusterAvailabilityStatus :: Lens' Cluster (Maybe Text)
-- | The date and time that the cluster was created.
cluster_clusterCreateTime :: Lens' Cluster (Maybe UTCTime)
-- | The unique identifier of the cluster.
cluster_clusterIdentifier :: Lens' Cluster (Maybe Text)
-- | The namespace Amazon Resource Name (ARN) of the cluster.
cluster_clusterNamespaceArn :: Lens' Cluster (Maybe Text)
-- | The nodes in the cluster.
cluster_clusterNodes :: Lens' Cluster (Maybe [ClusterNode])
-- | The list of cluster parameter groups that are associated with this
-- cluster. Each parameter group in the list is returned with its status.
cluster_clusterParameterGroups :: Lens' Cluster (Maybe [ClusterParameterGroupStatus])
-- | The public key for the cluster.
cluster_clusterPublicKey :: Lens' Cluster (Maybe Text)
-- | The specific revision number of the database in the cluster.
cluster_clusterRevisionNumber :: Lens' Cluster (Maybe Text)
-- | A list of cluster security group that are associated with the cluster.
-- Each security group is represented by an element that contains
-- ClusterSecurityGroup.Name and
-- ClusterSecurityGroup.Status subelements.
--
-- Cluster security groups are used when the cluster is not created in an
-- Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC
-- use VPC security groups, which are listed by the
-- VpcSecurityGroups parameter.
cluster_clusterSecurityGroups :: Lens' Cluster (Maybe [ClusterSecurityGroupMembership])
-- | A value that returns the destination region and retention period that
-- are configured for cross-region snapshot copy.
cluster_clusterSnapshotCopyStatus :: Lens' Cluster (Maybe ClusterSnapshotCopyStatus)
-- | The current state of the cluster. Possible values are the following:
--
--
-- available
-- available, prep-for-resize
-- available, resize-cleanup
-- cancelling-resize
-- creating
-- deleting
-- final-snapshot
-- hardware-failure
-- incompatible-hsm
-- incompatible-network
-- incompatible-parameters
-- incompatible-restore
-- modifying
-- paused
-- rebooting
-- renaming
-- resizing
-- rotating-keys
-- storage-full
-- updating-hsm
--
cluster_clusterStatus :: Lens' Cluster (Maybe Text)
-- | The name of the subnet group that is associated with the cluster. This
-- parameter is valid only when the cluster is in a VPC.
cluster_clusterSubnetGroupName :: Lens' Cluster (Maybe Text)
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
cluster_clusterVersion :: Lens' Cluster (Maybe Text)
-- | The name of the initial database that was created when the cluster was
-- created. This same name is returned for the life of the cluster. If an
-- initial database was not specified, a database named devdev
-- was created by default.
cluster_dbName :: Lens' Cluster (Maybe Text)
cluster_dataTransferProgress :: Lens' Cluster (Maybe DataTransferProgress)
-- | The Amazon Resource Name (ARN) for the IAM role set as default for the
-- cluster.
cluster_defaultIamRoleArn :: Lens' Cluster (Maybe Text)
-- | Describes a group of DeferredMaintenanceWindow objects.
cluster_deferredMaintenanceWindows :: Lens' Cluster (Maybe [DeferredMaintenanceWindow])
-- | The status of the elastic IP (EIP) address.
cluster_elasticIpStatus :: Lens' Cluster (Maybe ElasticIpStatus)
-- | The number of nodes that you can resize the cluster to with the
-- elastic resize method.
cluster_elasticResizeNumberOfNodeOptions :: Lens' Cluster (Maybe Text)
-- | A boolean value that, if true, indicates that data in the
-- cluster is encrypted at rest.
cluster_encrypted :: Lens' Cluster (Maybe Bool)
-- | The connection endpoint.
cluster_endpoint :: Lens' Cluster (Maybe Endpoint)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
cluster_enhancedVpcRouting :: Lens' Cluster (Maybe Bool)
-- | The date and time when the next snapshot is expected to be taken for
-- clusters with a valid snapshot schedule and backups enabled.
cluster_expectedNextSnapshotScheduleTime :: Lens' Cluster (Maybe UTCTime)
-- | The status of next expected snapshot for clusters having a valid
-- snapshot schedule and backups enabled. Possible values are the
-- following:
--
--
-- - OnTrack - The next snapshot is expected to be taken on time.
-- - Pending - The next snapshot is pending to be taken.
--
cluster_expectedNextSnapshotScheduleTimeStatus :: Lens' Cluster (Maybe Text)
-- | A value that reports whether the Amazon Redshift cluster has finished
-- applying any hardware security module (HSM) settings changes specified
-- in a modify cluster command.
--
-- Values: active, applying
cluster_hsmStatus :: Lens' Cluster (Maybe HsmStatus)
-- | A list of Identity and Access Management (IAM) roles that can be used
-- by the cluster to access other Amazon Web Services services.
cluster_iamRoles :: Lens' Cluster (Maybe [ClusterIamRole])
-- | The Key Management Service (KMS) key ID of the encryption key used to
-- encrypt data in the cluster.
cluster_kmsKeyId :: Lens' Cluster (Maybe Text)
-- | The name of the maintenance track for the cluster.
cluster_maintenanceTrackName :: Lens' Cluster (Maybe Text)
-- | The default number of days to retain a manual snapshot. If the value
-- is -1, the snapshot is retained indefinitely. This setting doesn't
-- change the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
cluster_manualSnapshotRetentionPeriod :: Lens' Cluster (Maybe Int)
-- | The admin user name for the cluster. This name is used to connect to
-- the database that is specified in the DBName parameter.
cluster_masterUsername :: Lens' Cluster (Maybe Text)
-- | The status of a modify operation, if any, initiated for the cluster.
cluster_modifyStatus :: Lens' Cluster (Maybe Text)
-- | The date and time in UTC when system maintenance can begin.
cluster_nextMaintenanceWindowStartTime :: Lens' Cluster (Maybe UTCTime)
-- | The node type for the nodes in the cluster.
cluster_nodeType :: Lens' Cluster (Maybe Text)
-- | The number of compute nodes in the cluster.
cluster_numberOfNodes :: Lens' Cluster (Maybe Int)
-- | Cluster operations that are waiting to be started.
cluster_pendingActions :: Lens' Cluster (Maybe [Text])
-- | A value that, if present, indicates that changes to the cluster are
-- pending. Specific pending changes are identified by subelements.
cluster_pendingModifiedValues :: Lens' Cluster (Maybe PendingModifiedValues)
-- | The weekly time range, in Universal Coordinated Time (UTC), during
-- which system maintenance can occur.
cluster_preferredMaintenanceWindow :: Lens' Cluster (Maybe Text)
-- | A boolean value that, if true, indicates that the cluster can
-- be accessed from a public network.
cluster_publiclyAccessible :: Lens' Cluster (Maybe Bool)
-- | The status of the reserved-node exchange request. Statuses include
-- in-progress and requested.
cluster_reservedNodeExchangeStatus :: Lens' Cluster (Maybe ReservedNodeExchangeStatus)
-- | Returns the following:
--
--
-- - AllowCancelResize: a boolean value indicating if the resize
-- operation can be cancelled.
-- - ResizeType: Returns ClassicResize
--
cluster_resizeInfo :: Lens' Cluster (Maybe ResizeInfo)
-- | A value that describes the status of a cluster restore action. This
-- parameter returns null if the cluster was not created by restoring a
-- snapshot.
cluster_restoreStatus :: Lens' Cluster (Maybe RestoreStatus)
-- | A unique identifier for the cluster snapshot schedule.
cluster_snapshotScheduleIdentifier :: Lens' Cluster (Maybe Text)
-- | The current state of the cluster snapshot schedule.
cluster_snapshotScheduleState :: Lens' Cluster (Maybe ScheduleState)
-- | The list of tags for the cluster.
cluster_tags :: Lens' Cluster (Maybe [Tag])
-- | The total storage capacity of the cluster in megabytes.
cluster_totalStorageCapacityInMegaBytes :: Lens' Cluster (Maybe Integer)
-- | The identifier of the VPC the cluster is in, if the cluster is in a
-- VPC.
cluster_vpcId :: Lens' Cluster (Maybe Text)
-- | A list of Amazon Virtual Private Cloud (Amazon VPC) security groups
-- that are associated with the cluster. This parameter is returned only
-- if the cluster is in a VPC.
cluster_vpcSecurityGroups :: Lens' Cluster (Maybe [VpcSecurityGroupMembership])
clusterAssociatedToSchedule_clusterIdentifier :: Lens' ClusterAssociatedToSchedule (Maybe Text)
clusterAssociatedToSchedule_scheduleAssociationState :: Lens' ClusterAssociatedToSchedule (Maybe ScheduleState)
-- | The unique identifier of the cluster.
clusterDbRevision_clusterIdentifier :: Lens' ClusterDbRevision (Maybe Text)
-- | A string representing the current cluster version.
clusterDbRevision_currentDatabaseRevision :: Lens' ClusterDbRevision (Maybe Text)
-- | The date on which the database revision was released.
clusterDbRevision_databaseRevisionReleaseDate :: Lens' ClusterDbRevision (Maybe UTCTime)
-- | A list of RevisionTarget objects, where each object describes
-- the database revision that a cluster can be updated to.
clusterDbRevision_revisionTargets :: Lens' ClusterDbRevision (Maybe [RevisionTarget])
-- | A value that describes the status of the IAM role's association with
-- an Amazon Redshift cluster.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The role is available for use by the
-- cluster.
-- - adding: The role is in the process of being associated
-- with the cluster.
-- - removing: The role is in the process of being
-- disassociated with the cluster.
--
clusterIamRole_applyStatus :: Lens' ClusterIamRole (Maybe Text)
-- | The Amazon Resource Name (ARN) of the IAM role, for example,
-- arn:aws:iam::123456789012:role/RedshiftCopyUnload.
clusterIamRole_iamRoleArn :: Lens' ClusterIamRole (Maybe Text)
-- | Whether the node is a leader node or a compute node.
clusterNode_nodeRole :: Lens' ClusterNode (Maybe Text)
-- | The private IP address of a node within a cluster.
clusterNode_privateIPAddress :: Lens' ClusterNode (Maybe Text)
-- | The public IP address of a node within a cluster.
clusterNode_publicIPAddress :: Lens' ClusterNode (Maybe Text)
-- | The description of the parameter group.
clusterParameterGroup_description :: Lens' ClusterParameterGroup (Maybe Text)
-- | The name of the cluster parameter group family that this cluster
-- parameter group is compatible with.
clusterParameterGroup_parameterGroupFamily :: Lens' ClusterParameterGroup (Maybe Text)
-- | The name of the cluster parameter group.
clusterParameterGroup_parameterGroupName :: Lens' ClusterParameterGroup (Maybe Text)
-- | The list of tags for the cluster parameter group.
clusterParameterGroup_tags :: Lens' ClusterParameterGroup (Maybe [Tag])
-- | The name of the cluster parameter group.
clusterParameterGroupNameMessage_parameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | The status of the parameter group. For example, if you made a change
-- to a parameter group name-value pair, then the change could be pending
-- a reboot of an associated cluster.
clusterParameterGroupNameMessage_parameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
-- | The list of parameter statuses.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
clusterParameterGroupStatus_clusterParameterStatusList :: Lens' ClusterParameterGroupStatus (Maybe [ClusterParameterStatus])
-- | The status of parameter updates.
clusterParameterGroupStatus_parameterApplyStatus :: Lens' ClusterParameterGroupStatus (Maybe Text)
-- | The name of the cluster parameter group.
clusterParameterGroupStatus_parameterGroupName :: Lens' ClusterParameterGroupStatus (Maybe Text)
-- | The error that prevented the parameter from being applied to the
-- database.
clusterParameterStatus_parameterApplyErrorDescription :: Lens' ClusterParameterStatus (Maybe Text)
-- | The status of the parameter that indicates whether the parameter is in
-- sync with the database, waiting for a cluster reboot, or encountered
-- an error when being applied.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The parameter value is in sync with the
-- database.
-- - pending-reboot: The parameter value will be applied after
-- the cluster reboots.
-- - applying: The parameter value is being applied to the
-- database.
-- - invalid-parameter: Cannot apply the parameter value
-- because it has an invalid value or syntax.
-- - apply-deferred: The parameter contains static property
-- changes. The changes are deferred until the cluster reboots.
-- - apply-error: Cannot connect to the cluster. The parameter
-- change will be applied after the cluster reboots.
-- - unknown-error: Cannot apply the parameter change right
-- now. The change will be applied after the cluster reboots.
--
clusterParameterStatus_parameterApplyStatus :: Lens' ClusterParameterStatus (Maybe Text)
-- | The name of the parameter.
clusterParameterStatus_parameterName :: Lens' ClusterParameterStatus (Maybe Text)
-- | The name of the cluster security group to which the operation was
-- applied.
clusterSecurityGroup_clusterSecurityGroupName :: Lens' ClusterSecurityGroup (Maybe Text)
-- | A description of the security group.
clusterSecurityGroup_description :: Lens' ClusterSecurityGroup (Maybe Text)
-- | A list of EC2 security groups that are permitted to access clusters
-- associated with this cluster security group.
clusterSecurityGroup_eC2SecurityGroups :: Lens' ClusterSecurityGroup (Maybe [EC2SecurityGroup])
-- | A list of IP ranges (CIDR blocks) that are permitted to access
-- clusters associated with this cluster security group.
clusterSecurityGroup_iPRanges :: Lens' ClusterSecurityGroup (Maybe [IPRange])
-- | The list of tags for the cluster security group.
clusterSecurityGroup_tags :: Lens' ClusterSecurityGroup (Maybe [Tag])
-- | The name of the cluster security group.
clusterSecurityGroupMembership_clusterSecurityGroupName :: Lens' ClusterSecurityGroupMembership (Maybe Text)
-- | The status of the cluster security group.
clusterSecurityGroupMembership_status :: Lens' ClusterSecurityGroupMembership (Maybe Text)
-- | The destination region that snapshots are automatically copied to when
-- cross-region snapshot copy is enabled.
clusterSnapshotCopyStatus_destinationRegion :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
-- | The number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region. If the
-- value is -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
clusterSnapshotCopyStatus_manualSnapshotRetentionPeriod :: Lens' ClusterSnapshotCopyStatus (Maybe Int)
-- | The number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region.
clusterSnapshotCopyStatus_retentionPeriod :: Lens' ClusterSnapshotCopyStatus (Maybe Integer)
-- | The name of the snapshot copy grant.
clusterSnapshotCopyStatus_snapshotCopyGrantName :: Lens' ClusterSnapshotCopyStatus (Maybe Text)
-- | The name of the cluster subnet group.
clusterSubnetGroup_clusterSubnetGroupName :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The description of the cluster subnet group.
clusterSubnetGroup_description :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The status of the cluster subnet group. Possible values are
-- Complete, Incomplete and Invalid.
clusterSubnetGroup_subnetGroupStatus :: Lens' ClusterSubnetGroup (Maybe Text)
-- | A list of the VPC Subnet elements.
clusterSubnetGroup_subnets :: Lens' ClusterSubnetGroup (Maybe [Subnet])
-- | The list of tags for the cluster subnet group.
clusterSubnetGroup_tags :: Lens' ClusterSubnetGroup (Maybe [Tag])
-- | The VPC ID of the cluster subnet group.
clusterSubnetGroup_vpcId :: Lens' ClusterSubnetGroup (Maybe Text)
-- | The name of the cluster parameter group family for the cluster.
clusterVersion_clusterParameterGroupFamily :: Lens' ClusterVersion (Maybe Text)
-- | The version number used by the cluster.
clusterVersion_clusterVersion :: Lens' ClusterVersion (Maybe Text)
-- | The description of the cluster version.
clusterVersion_description :: Lens' ClusterVersion (Maybe Text)
-- | A value that specifies whether the datashare can be shared to a
-- publicly accessible cluster.
dataShare_allowPubliclyAccessibleConsumers :: Lens' DataShare (Maybe Bool)
-- | An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
dataShare_dataShareArn :: Lens' DataShare (Maybe Text)
-- | A value that specifies when the datashare has an association between
-- producer and data consumers.
dataShare_dataShareAssociations :: Lens' DataShare (Maybe [DataShareAssociation])
-- | The identifier of a datashare to show its managing entity.
dataShare_managedBy :: Lens' DataShare (Maybe Text)
-- | The Amazon Resource Name (ARN) of the producer.
dataShare_producerArn :: Lens' DataShare (Maybe Text)
-- | The name of the consumer accounts that have an association with a
-- producer datashare.
dataShareAssociation_consumerIdentifier :: Lens' DataShareAssociation (Maybe Text)
-- | The Amazon Web Services Region of the consumer accounts that have an
-- association with a producer datashare.
dataShareAssociation_consumerRegion :: Lens' DataShareAssociation (Maybe Text)
-- | The creation date of the datashare that is associated.
dataShareAssociation_createdDate :: Lens' DataShareAssociation (Maybe UTCTime)
-- | The status of the datashare that is associated.
dataShareAssociation_status :: Lens' DataShareAssociation (Maybe DataShareStatus)
-- | The status change data of the datashare that is associated.
dataShareAssociation_statusChangeDate :: Lens' DataShareAssociation (Maybe UTCTime)
-- | Describes the data transfer rate in MB's per second.
dataTransferProgress_currentRateInMegaBytesPerSecond :: Lens' DataTransferProgress (Maybe Double)
-- | Describes the total amount of data that has been transfered in MB's.
dataTransferProgress_dataTransferredInMegaBytes :: Lens' DataTransferProgress (Maybe Integer)
-- | Describes the number of seconds that have elapsed during the data
-- transfer.
dataTransferProgress_elapsedTimeInSeconds :: Lens' DataTransferProgress (Maybe Integer)
-- | Describes the estimated number of seconds remaining to complete the
-- transfer.
dataTransferProgress_estimatedTimeToCompletionInSeconds :: Lens' DataTransferProgress (Maybe Integer)
-- | Describes the status of the cluster. While the transfer is in progress
-- the status is transferringdata.
dataTransferProgress_status :: Lens' DataTransferProgress (Maybe Text)
-- | Describes the total amount of data to be transfered in megabytes.
dataTransferProgress_totalDataInMegaBytes :: Lens' DataTransferProgress (Maybe Integer)
-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
defaultClusterParameters_marker :: Lens' DefaultClusterParameters (Maybe Text)
-- | The name of the cluster parameter group family to which the engine
-- default parameters apply.
defaultClusterParameters_parameterGroupFamily :: Lens' DefaultClusterParameters (Maybe Text)
-- | The list of cluster default parameters.
defaultClusterParameters_parameters :: Lens' DefaultClusterParameters (Maybe [Parameter])
-- | A timestamp for the end of the time period when we defer maintenance.
deferredMaintenanceWindow_deferMaintenanceEndTime :: Lens' DeferredMaintenanceWindow (Maybe UTCTime)
-- | A unique identifier for the maintenance window.
deferredMaintenanceWindow_deferMaintenanceIdentifier :: Lens' DeferredMaintenanceWindow (Maybe Text)
-- | A timestamp for the beginning of the time period when we defer
-- maintenance.
deferredMaintenanceWindow_deferMaintenanceStartTime :: Lens' DeferredMaintenanceWindow (Maybe UTCTime)
-- | The unique identifier of the cluster the snapshot was created from.
-- This parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
deleteClusterSnapshotMessage_snapshotClusterIdentifier :: Lens' DeleteClusterSnapshotMessage (Maybe Text)
-- | The unique identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
deleteClusterSnapshotMessage_snapshotIdentifier :: Lens' DeleteClusterSnapshotMessage Text
-- | The name of the EC2 Security Group.
eC2SecurityGroup_eC2SecurityGroupName :: Lens' EC2SecurityGroup (Maybe Text)
-- | The Amazon Web Services account ID of the owner of the EC2 security
-- group specified in the EC2SecurityGroupName field.
eC2SecurityGroup_eC2SecurityGroupOwnerId :: Lens' EC2SecurityGroup (Maybe Text)
-- | The status of the EC2 security group.
eC2SecurityGroup_status :: Lens' EC2SecurityGroup (Maybe Text)
-- | The list of tags for the EC2 security group.
eC2SecurityGroup_tags :: Lens' EC2SecurityGroup (Maybe [Tag])
-- | The elastic IP (EIP) address for the cluster.
elasticIpStatus_elasticIp :: Lens' ElasticIpStatus (Maybe Text)
-- | The status of the elastic IP (EIP) address.
elasticIpStatus_status :: Lens' ElasticIpStatus (Maybe Text)
-- | The DNS address of the Cluster.
endpoint_address :: Lens' Endpoint (Maybe Text)
-- | The port that the database engine is listening on.
endpoint_port :: Lens' Endpoint (Maybe Int)
-- | Describes a connection endpoint.
endpoint_vpcEndpoints :: Lens' Endpoint (Maybe [VpcEndpoint])
-- | The DNS address of the endpoint.
endpointAccess_address :: Lens' EndpointAccess (Maybe Text)
-- | The cluster identifier of the cluster associated with the endpoint.
endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text)
-- | The time (UTC) that the endpoint was created.
endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime)
-- | The name of the endpoint.
endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text)
-- | The status of the endpoint.
endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text)
-- | The port number on which the cluster accepts incoming connections.
endpointAccess_port :: Lens' EndpointAccess (Maybe Int)
-- | The Amazon Web Services account ID of the owner of the cluster.
endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text)
-- | The subnet group name where Amazon Redshift chooses to deploy the
-- endpoint.
endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text)
-- | Undocumented member.
endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint)
-- | The security groups associated with the endpoint.
endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership])
-- | Indicates whether all VPCs in the grantee account are allowed access
-- to the cluster.
endpointAuthorization_allowedAllVPCs :: Lens' EndpointAuthorization (Maybe Bool)
-- | The VPCs allowed access to the cluster.
endpointAuthorization_allowedVPCs :: Lens' EndpointAuthorization (Maybe [Text])
-- | The time (UTC) when the authorization was created.
endpointAuthorization_authorizeTime :: Lens' EndpointAuthorization (Maybe UTCTime)
-- | The cluster identifier.
endpointAuthorization_clusterIdentifier :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the cluster.
endpointAuthorization_clusterStatus :: Lens' EndpointAuthorization (Maybe Text)
-- | The number of Redshift-managed VPC endpoints created for the
-- authorization.
endpointAuthorization_endpointCount :: Lens' EndpointAuthorization (Maybe Int)
-- | The Amazon Web Services account ID of the grantee of the cluster.
endpointAuthorization_grantee :: Lens' EndpointAuthorization (Maybe Text)
-- | The Amazon Web Services account ID of the cluster owner.
endpointAuthorization_grantor :: Lens' EndpointAuthorization (Maybe Text)
-- | The status of the authorization action.
endpointAuthorization_status :: Lens' EndpointAuthorization (Maybe AuthorizationStatus)
-- | The date and time of the event.
event_date :: Lens' Event (Maybe UTCTime)
-- | A list of the event categories.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
event_eventCategories :: Lens' Event (Maybe [Text])
-- | The identifier of the event.
event_eventId :: Lens' Event (Maybe Text)
-- | The text of this event.
event_message :: Lens' Event (Maybe Text)
-- | The severity of the event.
--
-- Values: ERROR, INFO
event_severity :: Lens' Event (Maybe Text)
-- | The identifier for the source of the event.
event_sourceIdentifier :: Lens' Event (Maybe Text)
-- | The source type for this event.
event_sourceType :: Lens' Event (Maybe SourceType)
-- | The events in the event category.
eventCategoriesMap_events :: Lens' EventCategoriesMap (Maybe [EventInfoMap])
-- | The source type, such as cluster or cluster-snapshot, that the
-- returned categories belong to.
eventCategoriesMap_sourceType :: Lens' EventCategoriesMap (Maybe Text)
-- | The category of an Amazon Redshift event.
eventInfoMap_eventCategories :: Lens' EventInfoMap (Maybe [Text])
-- | The description of an Amazon Redshift event.
eventInfoMap_eventDescription :: Lens' EventInfoMap (Maybe Text)
-- | The identifier of an Amazon Redshift event.
eventInfoMap_eventId :: Lens' EventInfoMap (Maybe Text)
-- | The severity of the event.
--
-- Values: ERROR, INFO
eventInfoMap_severity :: Lens' EventInfoMap (Maybe Text)
-- | The name of the Amazon Redshift event notification subscription.
eventSubscription_custSubscriptionId :: Lens' EventSubscription (Maybe Text)
-- | The Amazon Web Services account associated with the Amazon Redshift
-- event notification subscription.
eventSubscription_customerAwsId :: Lens' EventSubscription (Maybe Text)
-- | A boolean value indicating whether the subscription is enabled;
-- true indicates that the subscription is enabled.
eventSubscription_enabled :: Lens' EventSubscription (Maybe Bool)
-- | The list of Amazon Redshift event categories specified in the event
-- notification subscription.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
eventSubscription_eventCategoriesList :: Lens' EventSubscription (Maybe [Text])
-- | The event severity specified in the Amazon Redshift event notification
-- subscription.
--
-- Values: ERROR, INFO
eventSubscription_severity :: Lens' EventSubscription (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
-- event notification subscription.
eventSubscription_snsTopicArn :: Lens' EventSubscription (Maybe Text)
-- | A list of the sources that publish events to the Amazon Redshift event
-- notification subscription.
eventSubscription_sourceIdsList :: Lens' EventSubscription (Maybe [Text])
-- | The source type of the events returned by the Amazon Redshift event
-- notification, such as cluster, cluster-snapshot,
-- cluster-parameter-group, cluster-security-group, or scheduled-action.
eventSubscription_sourceType :: Lens' EventSubscription (Maybe Text)
-- | The status of the Amazon Redshift event notification subscription.
--
-- Constraints:
--
--
-- - Can be one of the following: active | no-permission |
-- topic-not-exist
-- - The status "no-permission" indicates that Amazon Redshift no
-- longer has permission to post to the Amazon SNS topic. The status
-- "topic-not-exist" indicates that the topic was deleted after the
-- subscription was created.
--
eventSubscription_status :: Lens' EventSubscription (Maybe Text)
-- | The date and time the Amazon Redshift event notification subscription
-- was created.
eventSubscription_subscriptionCreationTime :: Lens' EventSubscription (Maybe UTCTime)
-- | The list of tags for the event subscription.
eventSubscription_tags :: Lens' EventSubscription (Maybe [Tag])
-- | The identifier of the HSM client certificate.
hsmClientCertificate_hsmClientCertificateIdentifier :: Lens' HsmClientCertificate (Maybe Text)
-- | The public key that the Amazon Redshift cluster will use to connect to
-- the HSM. You must register the public key in the HSM.
hsmClientCertificate_hsmClientCertificatePublicKey :: Lens' HsmClientCertificate (Maybe Text)
-- | The list of tags for the HSM client certificate.
hsmClientCertificate_tags :: Lens' HsmClientCertificate (Maybe [Tag])
-- | A text description of the HSM configuration.
hsmConfiguration_description :: Lens' HsmConfiguration (Maybe Text)
-- | The name of the Amazon Redshift HSM configuration.
hsmConfiguration_hsmConfigurationIdentifier :: Lens' HsmConfiguration (Maybe Text)
-- | The IP address that the Amazon Redshift cluster must use to access the
-- HSM.
hsmConfiguration_hsmIpAddress :: Lens' HsmConfiguration (Maybe Text)
-- | The name of the partition in the HSM where the Amazon Redshift
-- clusters will store their database encryption keys.
hsmConfiguration_hsmPartitionName :: Lens' HsmConfiguration (Maybe Text)
-- | The list of tags for the HSM configuration.
hsmConfiguration_tags :: Lens' HsmConfiguration (Maybe [Tag])
-- | Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
hsmStatus_hsmClientCertificateIdentifier :: Lens' HsmStatus (Maybe Text)
-- | Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
hsmStatus_hsmConfigurationIdentifier :: Lens' HsmStatus (Maybe Text)
-- | Reports whether the Amazon Redshift cluster has finished applying any
-- HSM settings changes specified in a modify cluster command.
--
-- Values: active, applying
hsmStatus_status :: Lens' HsmStatus (Maybe Text)
-- | The IP range in Classless Inter-Domain Routing (CIDR) notation.
iPRange_cidrip :: Lens' IPRange (Maybe Text)
-- | The status of the IP range, for example, "authorized".
iPRange_status :: Lens' IPRange (Maybe Text)
-- | The list of tags for the IP range.
iPRange_tags :: Lens' IPRange (Maybe [Tag])
-- | The name of the S3 bucket where the log files are stored.
loggingStatus_bucketName :: Lens' LoggingStatus (Maybe Text)
-- | The message indicating that logs failed to be delivered.
loggingStatus_lastFailureMessage :: Lens' LoggingStatus (Maybe Text)
-- | The last time when logs failed to be delivered.
loggingStatus_lastFailureTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The last time that logs were delivered.
loggingStatus_lastSuccessfulDeliveryTime :: Lens' LoggingStatus (Maybe UTCTime)
-- | The log destination type. An enum with possible values of s3
-- and cloudwatch.
loggingStatus_logDestinationType :: Lens' LoggingStatus (Maybe LogDestinationType)
-- | The collection of exported log types. Log types include the connection
-- log, user log and user activity log.
loggingStatus_logExports :: Lens' LoggingStatus (Maybe [Text])
-- | true if logging is on, false if logging is off.
loggingStatus_loggingEnabled :: Lens' LoggingStatus (Maybe Bool)
-- | The prefix applied to the log file names.
loggingStatus_s3KeyPrefix :: Lens' LoggingStatus (Maybe Text)
-- | The version number for the cluster release.
maintenanceTrack_databaseVersion :: Lens' MaintenanceTrack (Maybe Text)
-- | The name of the maintenance track. Possible values are
-- current and trailing.
maintenanceTrack_maintenanceTrackName :: Lens' MaintenanceTrack (Maybe Text)
-- | An array of UpdateTarget objects to update with the maintenance track.
maintenanceTrack_updateTargets :: Lens' MaintenanceTrack (Maybe [UpdateTarget])
-- | The Availability Zone.
networkInterface_availabilityZone :: Lens' NetworkInterface (Maybe Text)
-- | The network interface identifier.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
-- | The IPv4 address of the network interface within the subnet.
networkInterface_privateIpAddress :: Lens' NetworkInterface (Maybe Text)
-- | The subnet identifier.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
-- | The estimated disk utilizaton percentage.
nodeConfigurationOption_estimatedDiskUtilizationPercent :: Lens' NodeConfigurationOption (Maybe Double)
-- | The category of the node configuration recommendation.
nodeConfigurationOption_mode :: Lens' NodeConfigurationOption (Maybe Mode)
-- | The node type, such as, "ds2.8xlarge".
nodeConfigurationOption_nodeType :: Lens' NodeConfigurationOption (Maybe Text)
-- | The number of nodes.
nodeConfigurationOption_numberOfNodes :: Lens' NodeConfigurationOption (Maybe Int)
-- | The name of the element to filter.
nodeConfigurationOptionsFilter_name :: Lens' NodeConfigurationOptionsFilter (Maybe NodeConfigurationOptionsFilterName)
-- | The filter operator. If filter Name is NodeType only the 'in' operator
-- is supported. Provide one value to evaluate for 'eq', 'lt', 'le',
-- 'gt', and 'ge'. Provide two values to evaluate for 'between'. Provide
-- a list of values for 'in'.
nodeConfigurationOptionsFilter_operator :: Lens' NodeConfigurationOptionsFilter (Maybe OperatorType)
-- | List of values. Compare Name using Operator to Values. If filter Name
-- is NumberOfNodes, then values can range from 0 to 200. If filter Name
-- is EstimatedDiskUtilizationPercent, then values can range from 0 to
-- 100. For example, filter NumberOfNodes (name) GT (operator) 3
-- (values).
nodeConfigurationOptionsFilter_values :: Lens' NodeConfigurationOptionsFilter (Maybe [Text])
-- | A list of availability zones for the orderable cluster.
orderableClusterOption_availabilityZones :: Lens' OrderableClusterOption (Maybe [AvailabilityZone])
-- | The cluster type, for example multi-node.
orderableClusterOption_clusterType :: Lens' OrderableClusterOption (Maybe Text)
-- | The version of the orderable cluster.
orderableClusterOption_clusterVersion :: Lens' OrderableClusterOption (Maybe Text)
-- | The node type for the orderable cluster.
orderableClusterOption_nodeType :: Lens' OrderableClusterOption (Maybe Text)
-- | The valid range of values for the parameter.
parameter_allowedValues :: Lens' Parameter (Maybe Text)
-- | Specifies how to apply the WLM configuration parameter. Some
-- properties can be applied dynamically, while other properties require
-- that any associated clusters be rebooted for the configuration changes
-- to be applied. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
parameter_applyType :: Lens' Parameter (Maybe ParameterApplyType)
-- | The data type of the parameter.
parameter_dataType :: Lens' Parameter (Maybe Text)
-- | A description of the parameter.
parameter_description :: Lens' Parameter (Maybe Text)
-- | If true, the parameter can be modified. Some parameters have
-- security or operational implications that prevent them from being
-- changed.
parameter_isModifiable :: Lens' Parameter (Maybe Bool)
-- | The earliest engine version to which the parameter can apply.
parameter_minimumEngineVersion :: Lens' Parameter (Maybe Text)
-- | The name of the parameter.
parameter_parameterName :: Lens' Parameter (Maybe Text)
-- | The value of the parameter. If ParameterName is
-- wlm_json_configuration, then the maximum size of
-- ParameterValue is 8000 characters.
parameter_parameterValue :: Lens' Parameter (Maybe Text)
-- | The source of the parameter value, such as "engine-default" or "user".
parameter_source :: Lens' Parameter (Maybe Text)
-- | The date (UTC) that the partner integration was created.
partnerIntegrationInfo_createdAt :: Lens' PartnerIntegrationInfo (Maybe UTCTime)
-- | The name of the database that receives data from a partner.
partnerIntegrationInfo_databaseName :: Lens' PartnerIntegrationInfo (Maybe Text)
-- | The name of the partner.
partnerIntegrationInfo_partnerName :: Lens' PartnerIntegrationInfo (Maybe Text)
-- | The partner integration status.
partnerIntegrationInfo_status :: Lens' PartnerIntegrationInfo (Maybe PartnerIntegrationStatus)
-- | The status message provided by the partner.
partnerIntegrationInfo_statusMessage :: Lens' PartnerIntegrationInfo (Maybe Text)
-- | The date (UTC) that the partner integration status was last updated by
-- the partner.
partnerIntegrationInfo_updatedAt :: Lens' PartnerIntegrationInfo (Maybe UTCTime)
-- | The Amazon Web Services account ID that owns the cluster.
partnerIntegrationInputMessage_accountId :: Lens' PartnerIntegrationInputMessage Text
-- | The cluster identifier of the cluster that receives data from the
-- partner.
partnerIntegrationInputMessage_clusterIdentifier :: Lens' PartnerIntegrationInputMessage Text
-- | The name of the database that receives data from the partner.
partnerIntegrationInputMessage_databaseName :: Lens' PartnerIntegrationInputMessage Text
-- | The name of the partner that is authorized to send data.
partnerIntegrationInputMessage_partnerName :: Lens' PartnerIntegrationInputMessage Text
-- | The name of the database that receives data from the partner.
partnerIntegrationOutputMessage_databaseName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The name of the partner that is authorized to send data.
partnerIntegrationOutputMessage_partnerName :: Lens' PartnerIntegrationOutputMessage (Maybe Text)
-- | The identifier of the cluster to be paused.
pauseClusterMessage_clusterIdentifier :: Lens' PauseClusterMessage Text
-- | The pending or in-progress change of the automated snapshot retention
-- period.
pendingModifiedValues_automatedSnapshotRetentionPeriod :: Lens' PendingModifiedValues (Maybe Int)
-- | The pending or in-progress change of the new identifier for the
-- cluster.
pendingModifiedValues_clusterIdentifier :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the cluster type.
pendingModifiedValues_clusterType :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the service version.
pendingModifiedValues_clusterVersion :: Lens' PendingModifiedValues (Maybe Text)
-- | The encryption type for a cluster. Possible values are: KMS and None.
pendingModifiedValues_encryptionType :: Lens' PendingModifiedValues (Maybe Text)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
pendingModifiedValues_enhancedVpcRouting :: Lens' PendingModifiedValues (Maybe Bool)
-- | The name of the maintenance track that the cluster will change to
-- during the next maintenance window.
pendingModifiedValues_maintenanceTrackName :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the admin user password for the
-- cluster.
pendingModifiedValues_masterUserPassword :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the cluster's node type.
pendingModifiedValues_nodeType :: Lens' PendingModifiedValues (Maybe Text)
-- | The pending or in-progress change of the number of nodes in the
-- cluster.
pendingModifiedValues_numberOfNodes :: Lens' PendingModifiedValues (Maybe Int)
-- | The pending or in-progress change of the ability to connect to the
-- cluster from the public network.
pendingModifiedValues_publiclyAccessible :: Lens' PendingModifiedValues (Maybe Bool)
-- | The amount charged per the period of time specified by the recurring
-- charge frequency.
recurringCharge_recurringChargeAmount :: Lens' RecurringCharge (Maybe Double)
-- | The frequency at which the recurring charge amount is applied.
recurringCharge_recurringChargeFrequency :: Lens' RecurringCharge (Maybe Text)
-- | The currency code for the reserved cluster.
reservedNode_currencyCode :: Lens' ReservedNode (Maybe Text)
-- | The duration of the node reservation in seconds.
reservedNode_duration :: Lens' ReservedNode (Maybe Int)
-- | The fixed cost Amazon Redshift charges you for this reserved node.
reservedNode_fixedPrice :: Lens' ReservedNode (Maybe Double)
-- | The number of reserved compute nodes.
reservedNode_nodeCount :: Lens' ReservedNode (Maybe Int)
-- | The node type of the reserved node.
reservedNode_nodeType :: Lens' ReservedNode (Maybe Text)
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
reservedNode_offeringType :: Lens' ReservedNode (Maybe Text)
-- | The recurring charges for the reserved node.
reservedNode_recurringCharges :: Lens' ReservedNode (Maybe [RecurringCharge])
-- | The unique identifier for the reservation.
reservedNode_reservedNodeId :: Lens' ReservedNode (Maybe Text)
-- | The identifier for the reserved node offering.
reservedNode_reservedNodeOfferingId :: Lens' ReservedNode (Maybe Text)
reservedNode_reservedNodeOfferingType :: Lens' ReservedNode (Maybe ReservedNodeOfferingType)
-- | The time the reservation started. You purchase a reserved node
-- offering for a duration. This is the start time of that duration.
reservedNode_startTime :: Lens' ReservedNode (Maybe UTCTime)
-- | The state of the reserved compute node.
--
-- Possible Values:
--
--
-- - pending-payment-This reserved node has recently been purchased,
-- and the sale has been approved, but payment has not yet been
-- confirmed.
-- - active-This reserved node is owned by the caller and is available
-- for use.
-- - payment-failed-Payment failed for the purchase attempt.
-- - retired-The reserved node is no longer available.
-- - exchanging-The owner is exchanging the reserved node for another
-- reserved node.
--
reservedNode_state :: Lens' ReservedNode (Maybe Text)
-- | The hourly rate Amazon Redshift charges you for this reserved node.
reservedNode_usagePrice :: Lens' ReservedNode (Maybe Double)
-- | Undocumented member.
reservedNodeConfigurationOption_sourceReservedNode :: Lens' ReservedNodeConfigurationOption (Maybe ReservedNode)
-- | The target reserved-node count.
reservedNodeConfigurationOption_targetReservedNodeCount :: Lens' ReservedNodeConfigurationOption (Maybe Int)
-- | Undocumented member.
reservedNodeConfigurationOption_targetReservedNodeOffering :: Lens' ReservedNodeConfigurationOption (Maybe ReservedNodeOffering)
-- | A date and time that indicate when the reserved-node exchange was
-- requested.
reservedNodeExchangeStatus_requestTime :: Lens' ReservedNodeExchangeStatus (Maybe UTCTime)
-- | The identifier of the reserved-node exchange request.
reservedNodeExchangeStatus_reservedNodeExchangeRequestId :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The source reserved-node count in the cluster.
reservedNodeExchangeStatus_sourceReservedNodeCount :: Lens' ReservedNodeExchangeStatus (Maybe Int)
-- | The identifier of the source reserved node.
reservedNodeExchangeStatus_sourceReservedNodeId :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The source reserved-node type, for example ds2.xlarge.
reservedNodeExchangeStatus_sourceReservedNodeType :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The status of the reserved-node exchange request. Statuses include
-- in-progress and requested.
reservedNodeExchangeStatus_status :: Lens' ReservedNodeExchangeStatus (Maybe ReservedNodeExchangeStatusType)
-- | The count of target reserved nodes in the cluster.
reservedNodeExchangeStatus_targetReservedNodeCount :: Lens' ReservedNodeExchangeStatus (Maybe Int)
-- | The identifier of the target reserved node offering.
reservedNodeExchangeStatus_targetReservedNodeOfferingId :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The node type of the target reserved node, for example ra3.4xlarge.
reservedNodeExchangeStatus_targetReservedNodeType :: Lens' ReservedNodeExchangeStatus (Maybe Text)
-- | The currency code for the compute nodes offering.
reservedNodeOffering_currencyCode :: Lens' ReservedNodeOffering (Maybe Text)
-- | The duration, in seconds, for which the offering will reserve the
-- node.
reservedNodeOffering_duration :: Lens' ReservedNodeOffering (Maybe Int)
-- | The upfront fixed charge you will pay to purchase the specific
-- reserved node offering.
reservedNodeOffering_fixedPrice :: Lens' ReservedNodeOffering (Maybe Double)
-- | The node type offered by the reserved node offering.
reservedNodeOffering_nodeType :: Lens' ReservedNodeOffering (Maybe Text)
-- | The anticipated utilization of the reserved node, as defined in the
-- reserved node offering.
reservedNodeOffering_offeringType :: Lens' ReservedNodeOffering (Maybe Text)
-- | The charge to your account regardless of whether you are creating any
-- clusters using the node offering. Recurring charges are only in effect
-- for heavy-utilization reserved nodes.
reservedNodeOffering_recurringCharges :: Lens' ReservedNodeOffering (Maybe [RecurringCharge])
-- | The offering identifier.
reservedNodeOffering_reservedNodeOfferingId :: Lens' ReservedNodeOffering (Maybe Text)
reservedNodeOffering_reservedNodeOfferingType :: Lens' ReservedNodeOffering (Maybe ReservedNodeOfferingType)
-- | The rate you are charged for each hour the cluster that is using the
-- offering is running.
reservedNodeOffering_usagePrice :: Lens' ReservedNodeOffering (Maybe Double)
-- | A boolean value indicating whether the resize operation is using the
-- classic resize process. If you don't provide this parameter or set the
-- value to false, the resize type is elastic.
resizeClusterMessage_classic :: Lens' ResizeClusterMessage (Maybe Bool)
-- | The new cluster type for the specified cluster.
resizeClusterMessage_clusterType :: Lens' ResizeClusterMessage (Maybe Text)
-- | The new node type for the nodes you are adding. If not specified, the
-- cluster's current node type is used.
resizeClusterMessage_nodeType :: Lens' ResizeClusterMessage (Maybe Text)
-- | The new number of nodes for the cluster. If not specified, the
-- cluster's current number of nodes is used.
resizeClusterMessage_numberOfNodes :: Lens' ResizeClusterMessage (Maybe Int)
-- | The identifier of the reserved node.
resizeClusterMessage_reservedNodeId :: Lens' ResizeClusterMessage (Maybe Text)
-- | The identifier of the target reserved node offering.
resizeClusterMessage_targetReservedNodeOfferingId :: Lens' ResizeClusterMessage (Maybe Text)
-- | The unique identifier for the cluster to resize.
resizeClusterMessage_clusterIdentifier :: Lens' ResizeClusterMessage Text
-- | A boolean value indicating if the resize operation can be cancelled.
resizeInfo_allowCancelResize :: Lens' ResizeInfo (Maybe Bool)
-- | Returns the value ClassicResize.
resizeInfo_resizeType :: Lens' ResizeInfo (Maybe Text)
-- | The average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
resizeProgressMessage_avgResizeRateInMegaBytesPerSecond :: Lens' ResizeProgressMessage (Maybe Double)
-- | The percent of data transferred from source cluster to target cluster.
resizeProgressMessage_dataTransferProgressPercent :: Lens' ResizeProgressMessage (Maybe Double)
-- | The amount of seconds that have elapsed since the resize operation
-- began. After the resize operation completes, this value shows the
-- total actual time, in seconds, for the resize operation.
resizeProgressMessage_elapsedTimeInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The estimated time remaining, in seconds, until the resize operation
-- is complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
resizeProgressMessage_estimatedTimeToCompletionInSeconds :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The names of tables that have been completely imported .
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesCompleted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that are being currently imported.
--
-- Valid Values: List of table names.
resizeProgressMessage_importTablesInProgress :: Lens' ResizeProgressMessage (Maybe [Text])
-- | The names of tables that have not been yet imported.
--
-- Valid Values: List of table names
resizeProgressMessage_importTablesNotStarted :: Lens' ResizeProgressMessage (Maybe [Text])
-- | An optional string to provide additional details about the resize
-- action.
resizeProgressMessage_message :: Lens' ResizeProgressMessage (Maybe Text)
-- | While the resize operation is in progress, this value shows the
-- current amount of data, in megabytes, that has been processed so far.
-- When the resize operation is complete, this value shows the total
-- amount of data, in megabytes, on the cluster, which may be more or
-- less than TotalResizeDataInMegaBytes (the estimated total amount of
-- data before resize).
resizeProgressMessage_progressInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | An enum with possible values of ClassicResize and
-- ElasticResize. These values describe the type of resize
-- operation being performed.
resizeProgressMessage_resizeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The status of the resize operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
resizeProgressMessage_status :: Lens' ResizeProgressMessage (Maybe Text)
-- | The cluster type after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
resizeProgressMessage_targetClusterType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The type of encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
resizeProgressMessage_targetEncryptionType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The node type that the cluster will have after the resize operation is
-- complete.
resizeProgressMessage_targetNodeType :: Lens' ResizeProgressMessage (Maybe Text)
-- | The number of nodes that the cluster will have after the resize
-- operation is complete.
resizeProgressMessage_targetNumberOfNodes :: Lens' ResizeProgressMessage (Maybe Int)
-- | The estimated total amount of data, in megabytes, on the cluster
-- before the resize operation began.
resizeProgressMessage_totalResizeDataInMegaBytes :: Lens' ResizeProgressMessage (Maybe Integer)
-- | The number of megabytes per second being transferred from the backup
-- storage. Returns the average rate for a completed backup. This field
-- is only updated when you restore to DC2 and DS2 node types.
restoreStatus_currentRestoreRateInMegaBytesPerSecond :: Lens' RestoreStatus (Maybe Double)
-- | The amount of time an in-progress restore has been running, or the
-- amount of time it took a completed restore to finish. This field is
-- only updated when you restore to DC2 and DS2 node types.
restoreStatus_elapsedTimeInSeconds :: Lens' RestoreStatus (Maybe Integer)
-- | The estimate of the time remaining before the restore will complete.
-- Returns 0 for a completed restore. This field is only updated when you
-- restore to DC2 and DS2 node types.
restoreStatus_estimatedTimeToCompletionInSeconds :: Lens' RestoreStatus (Maybe Integer)
-- | The number of megabytes that have been transferred from snapshot
-- storage. This field is only updated when you restore to DC2 and DS2
-- node types.
restoreStatus_progressInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | The size of the set of snapshot data used to restore the cluster. This
-- field is only updated when you restore to DC2 and DS2 node types.
restoreStatus_snapshotSizeInMegaBytes :: Lens' RestoreStatus (Maybe Integer)
-- | The status of the restore action. Returns starting, restoring,
-- completed, or failed.
restoreStatus_status :: Lens' RestoreStatus (Maybe Text)
-- | The identifier of the cluster to be resumed.
resumeClusterMessage_clusterIdentifier :: Lens' ResumeClusterMessage Text
-- | A unique string that identifies the version to update the cluster to.
-- You can use this value in ModifyClusterDbRevision.
revisionTarget_databaseRevision :: Lens' RevisionTarget (Maybe Text)
-- | The date on which the database revision was released.
revisionTarget_databaseRevisionReleaseDate :: Lens' RevisionTarget (Maybe UTCTime)
-- | A string that describes the changes and features that will be applied
-- to the cluster when it is updated to the corresponding
-- ClusterDbRevision.
revisionTarget_description :: Lens' RevisionTarget (Maybe Text)
-- | The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
scheduledAction_endTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
scheduledAction_iamRole :: Lens' ScheduledAction (Maybe Text)
-- | List of times when the scheduled action will run.
scheduledAction_nextInvocations :: Lens' ScheduledAction (Maybe [UTCTime])
-- | The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
scheduledAction_schedule :: Lens' ScheduledAction (Maybe Text)
-- | The description of the scheduled action.
scheduledAction_scheduledActionDescription :: Lens' ScheduledAction (Maybe Text)
-- | The name of the scheduled action.
scheduledAction_scheduledActionName :: Lens' ScheduledAction (Maybe Text)
-- | The start time in UTC when the schedule is active. Before this time,
-- the scheduled action does not trigger.
scheduledAction_startTime :: Lens' ScheduledAction (Maybe UTCTime)
-- | The state of the scheduled action. For example, DISABLED.
scheduledAction_state :: Lens' ScheduledAction (Maybe ScheduledActionState)
-- | A JSON format string of the Amazon Redshift API operation with input
-- parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
scheduledAction_targetAction :: Lens' ScheduledAction (Maybe ScheduledActionType)
-- | The type of element to filter.
scheduledActionFilter_name :: Lens' ScheduledActionFilter ScheduledActionFilterName
-- | List of values. Compare if the value (of type defined by
-- Name) equals an item in the list of scheduled actions.
scheduledActionFilter_values :: Lens' ScheduledActionFilter [Text]
-- | An action that runs a PauseCluster API operation.
scheduledActionType_pauseCluster :: Lens' ScheduledActionType (Maybe PauseClusterMessage)
-- | An action that runs a ResizeCluster API operation.
scheduledActionType_resizeCluster :: Lens' ScheduledActionType (Maybe ResizeClusterMessage)
-- | An action that runs a ResumeCluster API operation.
scheduledActionType_resumeCluster :: Lens' ScheduledActionType (Maybe ResumeClusterMessage)
-- | A list of the Amazon Web Services accounts authorized to restore the
-- snapshot. Returns null if no accounts are authorized. Visible
-- only to the snapshot owner.
snapshot_accountsWithRestoreAccess :: Lens' Snapshot (Maybe [AccountWithRestoreAccess])
-- | The size of the incremental backup.
snapshot_actualIncrementalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The Availability Zone in which the cluster was created.
snapshot_availabilityZone :: Lens' Snapshot (Maybe Text)
-- | The number of megabytes that have been transferred to the snapshot
-- backup.
snapshot_backupProgressInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The time (UTC) when the cluster was originally created.
snapshot_clusterCreateTime :: Lens' Snapshot (Maybe UTCTime)
-- | The identifier of the cluster for which the snapshot was taken.
snapshot_clusterIdentifier :: Lens' Snapshot (Maybe Text)
-- | The version ID of the Amazon Redshift engine that is running on the
-- cluster.
snapshot_clusterVersion :: Lens' Snapshot (Maybe Text)
-- | The number of megabytes per second being transferred to the snapshot
-- backup. Returns 0 for a completed backup.
snapshot_currentBackupRateInMegaBytesPerSecond :: Lens' Snapshot (Maybe Double)
-- | The name of the database that was created when the cluster was
-- created.
snapshot_dbName :: Lens' Snapshot (Maybe Text)
-- | The amount of time an in-progress snapshot backup has been running, or
-- the amount of time it took a completed backup to finish.
snapshot_elapsedTimeInSeconds :: Lens' Snapshot (Maybe Integer)
-- | If true, the data in the snapshot is encrypted at rest.
snapshot_encrypted :: Lens' Snapshot (Maybe Bool)
-- | A boolean that indicates whether the snapshot data is encrypted using
-- the HSM keys of the source cluster. true indicates that the
-- data is encrypted using HSM keys.
snapshot_encryptedWithHSM :: Lens' Snapshot (Maybe Bool)
-- | The cluster version of the cluster used to create the snapshot. For
-- example, 1.0.15503.
snapshot_engineFullVersion :: Lens' Snapshot (Maybe Text)
-- | An option that specifies whether to create the cluster with enhanced
-- VPC routing enabled. To create a cluster that uses enhanced VPC
-- routing, the cluster must be in a VPC. For more information, see
-- Enhanced VPC Routing in the Amazon Redshift Cluster Management
-- Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
snapshot_enhancedVpcRouting :: Lens' Snapshot (Maybe Bool)
-- | The estimate of the time remaining before the snapshot backup will
-- complete. Returns 0 for a completed backup.
snapshot_estimatedSecondsToCompletion :: Lens' Snapshot (Maybe Integer)
-- | The Key Management Service (KMS) key ID of the encryption key that was
-- used to encrypt data in the cluster from which the snapshot was taken.
snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text)
-- | The name of the maintenance track for the snapshot.
snapshot_maintenanceTrackName :: Lens' Snapshot (Maybe Text)
-- | The number of days until a manual snapshot will pass its retention
-- period.
snapshot_manualSnapshotRemainingDays :: Lens' Snapshot (Maybe Int)
-- | The number of days that a manual snapshot is retained. If the value is
-- -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
snapshot_manualSnapshotRetentionPeriod :: Lens' Snapshot (Maybe Int)
-- | The admin user name for the cluster.
snapshot_masterUsername :: Lens' Snapshot (Maybe Text)
-- | The node type of the nodes in the cluster.
snapshot_nodeType :: Lens' Snapshot (Maybe Text)
-- | The number of nodes in the cluster.
snapshot_numberOfNodes :: Lens' Snapshot (Maybe Int)
-- | For manual snapshots, the Amazon Web Services account used to create
-- or copy the snapshot. For automatic snapshots, the owner of the
-- cluster. The owner can perform all snapshot actions, such as sharing a
-- manual snapshot.
snapshot_ownerAccount :: Lens' Snapshot (Maybe Text)
-- | The port that the cluster is listening on.
snapshot_port :: Lens' Snapshot (Maybe Int)
-- | The list of node types that this cluster snapshot is able to restore
-- into.
snapshot_restorableNodeTypes :: Lens' Snapshot (Maybe [Text])
-- | The time (in UTC format) when Amazon Redshift began the snapshot. A
-- snapshot contains a copy of the cluster data as of this exact time.
snapshot_snapshotCreateTime :: Lens' Snapshot (Maybe UTCTime)
-- | The snapshot identifier that is provided in the request.
snapshot_snapshotIdentifier :: Lens' Snapshot (Maybe Text)
-- | A timestamp representing the start of the retention period for the
-- snapshot.
snapshot_snapshotRetentionStartTime :: Lens' Snapshot (Maybe UTCTime)
-- | The snapshot type. Snapshots created using CreateClusterSnapshot and
-- CopyClusterSnapshot are of type "manual".
snapshot_snapshotType :: Lens' Snapshot (Maybe Text)
-- | The source region from which the snapshot was copied.
snapshot_sourceRegion :: Lens' Snapshot (Maybe Text)
-- | The snapshot status. The value of the status depends on the API
-- operation used:
--
--
-- - CreateClusterSnapshot and CopyClusterSnapshot returns status as
-- "creating".
-- - DescribeClusterSnapshots returns status as "creating",
-- "available", "final snapshot", or "failed".
-- - DeleteClusterSnapshot returns status as "deleted".
--
snapshot_status :: Lens' Snapshot (Maybe Text)
-- | The list of tags for the cluster snapshot.
snapshot_tags :: Lens' Snapshot (Maybe [Tag])
-- | The size of the complete set of backup data that would be used to
-- restore the cluster.
snapshot_totalBackupSizeInMegaBytes :: Lens' Snapshot (Maybe Double)
-- | The VPC identifier of the cluster if the snapshot is from a cluster in
-- a VPC. Otherwise, this field is not in the output.
snapshot_vpcId :: Lens' Snapshot (Maybe Text)
-- | The unique identifier of the encrypted symmetric key in Amazon Web
-- Services KMS to which Amazon Redshift is granted permission.
snapshotCopyGrant_kmsKeyId :: Lens' SnapshotCopyGrant (Maybe Text)
-- | The name of the snapshot copy grant.
snapshotCopyGrant_snapshotCopyGrantName :: Lens' SnapshotCopyGrant (Maybe Text)
-- | A list of tag instances.
snapshotCopyGrant_tags :: Lens' SnapshotCopyGrant (Maybe [Tag])
-- | The failure code for the error.
snapshotErrorMessage_failureCode :: Lens' SnapshotErrorMessage (Maybe Text)
-- | The text message describing the error.
snapshotErrorMessage_failureReason :: Lens' SnapshotErrorMessage (Maybe Text)
-- | A unique identifier for the cluster.
snapshotErrorMessage_snapshotClusterIdentifier :: Lens' SnapshotErrorMessage (Maybe Text)
-- | A unique identifier for the snapshot returning the error.
snapshotErrorMessage_snapshotIdentifier :: Lens' SnapshotErrorMessage (Maybe Text)
-- | The number of clusters associated with the schedule.
snapshotSchedule_associatedClusterCount :: Lens' SnapshotSchedule (Maybe Int)
-- | A list of clusters associated with the schedule. A maximum of 100
-- clusters is returned.
snapshotSchedule_associatedClusters :: Lens' SnapshotSchedule (Maybe [ClusterAssociatedToSchedule])
snapshotSchedule_nextInvocations :: Lens' SnapshotSchedule (Maybe [UTCTime])
-- | A list of ScheduleDefinitions.
snapshotSchedule_scheduleDefinitions :: Lens' SnapshotSchedule (Maybe [Text])
-- | The description of the schedule.
snapshotSchedule_scheduleDescription :: Lens' SnapshotSchedule (Maybe Text)
-- | A unique identifier for the schedule.
snapshotSchedule_scheduleIdentifier :: Lens' SnapshotSchedule (Maybe Text)
-- | An optional set of tags describing the schedule.
snapshotSchedule_tags :: Lens' SnapshotSchedule (Maybe [Tag])
-- | The order for listing the attributes.
snapshotSortingEntity_sortOrder :: Lens' SnapshotSortingEntity (Maybe SortByOrder)
-- | The category for sorting the snapshots.
snapshotSortingEntity_attribute :: Lens' SnapshotSortingEntity SnapshotAttributeToSortBy
subnet_subnetAvailabilityZone :: Lens' Subnet (Maybe AvailabilityZone)
-- | The identifier of the subnet.
subnet_subnetIdentifier :: Lens' Subnet (Maybe Text)
-- | The status of the subnet.
subnet_subnetStatus :: Lens' Subnet (Maybe Text)
-- | A list of the supported operations.
supportedOperation_operationName :: Lens' SupportedOperation (Maybe Text)
supportedPlatform_name :: Lens' SupportedPlatform (Maybe Text)
-- | The identifier of the Amazon Redshift cluster that the table is being
-- restored to.
tableRestoreStatus_clusterIdentifier :: Lens' TableRestoreStatus (Maybe Text)
-- | 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 name of the table to create as a result of the table restore
-- request.
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 identifier of the snapshot that the table is being restored from.
tableRestoreStatus_snapshotIdentifier :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source database that contains the table being
-- restored.
tableRestoreStatus_sourceDatabaseName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source schema that contains the table being restored.
tableRestoreStatus_sourceSchemaName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the source table being restored.
tableRestoreStatus_sourceTableName :: Lens' TableRestoreStatus (Maybe Text)
-- | A value that describes the current state of the table restore request.
--
-- Valid Values: SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS
tableRestoreStatus_status :: Lens' TableRestoreStatus (Maybe TableRestoreStatusType)
-- | The unique identifier for the table restore request.
tableRestoreStatus_tableRestoreRequestId :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the database to restore the table to.
tableRestoreStatus_targetDatabaseName :: Lens' TableRestoreStatus (Maybe Text)
-- | The name of the schema to restore the table 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 key, or name, for the resource tag.
tag_key :: Lens' Tag (Maybe Text)
-- | The value for the resource tag.
tag_value :: Lens' Tag (Maybe Text)
-- | The Amazon Resource Name (ARN) with which the tag is associated, for
-- example: arn:aws:redshift:us-east-2:123456789:cluster:t1.
taggedResource_resourceName :: Lens' TaggedResource (Maybe Text)
-- | The type of resource with which the tag is associated. Valid resource
-- types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Constructing an Amazon Redshift Amazon
-- Resource Name (ARN) in the Amazon Redshift Cluster Management
-- Guide.
taggedResource_resourceType :: Lens' TaggedResource (Maybe Text)
-- | The tag for the resource.
taggedResource_tag :: Lens' TaggedResource (Maybe Tag)
-- | The cluster version for the new maintenance track.
updateTarget_databaseVersion :: Lens' UpdateTarget (Maybe Text)
-- | The name of the new maintenance track.
updateTarget_maintenanceTrackName :: Lens' UpdateTarget (Maybe Text)
-- | A list of operations supported by the maintenance track.
updateTarget_supportedOperations :: Lens' UpdateTarget (Maybe [SupportedOperation])
-- | The limit amount. If time-based, this amount is in minutes. If
-- data-based, this amount is in terabytes (TB).
usageLimit_amount :: Lens' UsageLimit (Maybe Integer)
-- | The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction)
-- | The identifier of the cluster with a usage limit.
usageLimit_clusterIdentifier :: Lens' UsageLimit (Maybe Text)
-- | The Amazon Redshift feature to which the limit applies.
usageLimit_featureType :: Lens' UsageLimit (Maybe UsageLimitFeatureType)
-- | The type of limit. Depending on the feature type, this can be based on
-- a time duration or data size.
usageLimit_limitType :: Lens' UsageLimit (Maybe UsageLimitLimitType)
-- | The time period that the amount applies to. A weekly period
-- begins on Sunday. The default is monthly.
usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod)
-- | A list of tag instances.
usageLimit_tags :: Lens' UsageLimit (Maybe [Tag])
-- | The identifier of the usage limit.
usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text)
-- | 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 an Amazon Redshift cluster
-- through the proxy.
vpcEndpoint_vpcEndpointId :: Lens' VpcEndpoint (Maybe Text)
-- | The VPC identifier that the endpoint is associated.
vpcEndpoint_vpcId :: Lens' VpcEndpoint (Maybe Text)
-- | The status of the VPC security group.
vpcSecurityGroupMembership_status :: Lens' VpcSecurityGroupMembership (Maybe Text)
-- | The identifier of the VPC security group.
vpcSecurityGroupMembership_vpcSecurityGroupId :: Lens' VpcSecurityGroupMembership (Maybe Text)
module Amazonka.Redshift.Waiters
-- | Polls DescribeClusters every 60 seconds until a successful
-- state is reached. An error is returned after 30 failed checks.
newClusterAvailable :: Wait DescribeClusters
-- | Polls DescribeClusters every 60 seconds until a successful
-- state is reached. An error is returned after 30 failed checks.
newClusterDeleted :: Wait DescribeClusters
-- | Polls DescribeClusters every 60 seconds until a successful
-- state is reached. An error is returned after 30 failed checks.
newClusterRestored :: Wait DescribeClusters
-- | Polls DescribeClusterSnapshots every 15 seconds until a
-- successful state is reached. An error is returned after 20 failed
-- checks.
newSnapshotAvailable :: Wait DescribeClusterSnapshots
-- | Derived from API version 2012-12-01 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- Amazon Redshift
--
-- Overview
--
-- This is an interface reference for Amazon Redshift. It contains
-- documentation for one of the programming or command line interfaces
-- you can use to manage Amazon Redshift clusters. Note that Amazon
-- Redshift is asynchronous, which means that some interfaces may require
-- techniques, such as polling or asynchronous callback handlers, to
-- determine when a command has been applied. In this reference, the
-- parameter descriptions indicate whether a change is applied
-- immediately, on the next instance reboot, or during the next
-- maintenance window. For a summary of the Amazon Redshift cluster
-- management interfaces, go to Using the Amazon Redshift Management
-- Interfaces.
--
-- Amazon Redshift manages all the work of setting up, operating, and
-- scaling a data warehouse: provisioning capacity, monitoring and
-- backing up the cluster, and applying patches and upgrades to the
-- Amazon Redshift engine. You can focus on using your data to acquire
-- new insights for your business and customers.
--
-- If you are a first-time user of Amazon Redshift, we recommend that you
-- begin by reading the Amazon Redshift Getting Started Guide.
--
-- If you are a database developer, the Amazon Redshift Database
-- Developer Guide explains how to design, build, query, and maintain
-- the databases that make up your data warehouse.
module Amazonka.Redshift
-- | API version 2012-12-01 of the Amazon Redshift SDK
-- configuration.
defaultService :: Service
-- | You are not authorized to access the cluster.
_AccessToClusterDeniedFault :: AsError a => Fold a ServiceError
-- | The owner of the specified snapshot has not authorized your account to
-- access the snapshot.
_AccessToSnapshotDeniedFault :: AsError a => Fold a ServiceError
-- | The authentication profile already exists.
_AuthenticationProfileAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The authentication profile can't be found.
_AuthenticationProfileNotFoundFault :: AsError a => Fold a ServiceError
-- | The size or number of authentication profiles has exceeded the quota.
-- The maximum length of the JSON string and maximum number of
-- authentication profiles is determined by a quota for your account.
_AuthenticationProfileQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The specified CIDR block or EC2 security group is already authorized
-- for the specified cluster security group.
_AuthorizationAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The specified CIDR IP range or EC2 security group is not authorized
-- for the specified cluster security group.
_AuthorizationNotFoundFault :: AsError a => Fold a ServiceError
-- | The authorization quota for the cluster security group has been
-- reached.
_AuthorizationQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The maximum number for a batch delete of snapshots has been reached.
-- The limit is 100.
_BatchDeleteRequestSizeExceededFault :: AsError a => Fold a ServiceError
-- | The maximum number for snapshot identifiers has been reached. The
-- limit is 100.
_BatchModifyClusterSnapshotsLimitExceededFault :: AsError a => Fold a ServiceError
-- | Could not find the specified S3 bucket.
_BucketNotFoundFault :: AsError a => Fold a ServiceError
-- | The account already has a cluster with the given identifier.
_ClusterAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The ClusterIdentifier parameter does not refer to an existing
-- cluster.
_ClusterNotFoundFault :: AsError a => Fold a ServiceError
-- | Cluster is already on the latest database revision.
_ClusterOnLatestRevisionFault :: AsError a => Fold a ServiceError
-- | A cluster parameter group with the same name already exists.
_ClusterParameterGroupAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The parameter group name does not refer to an existing parameter
-- group.
_ClusterParameterGroupNotFoundFault :: AsError a => Fold a ServiceError
-- | The request would result in the user exceeding the allowed number of
-- cluster parameter groups. For information about increasing your quota,
-- go to Limits in Amazon Redshift in the Amazon Redshift
-- Cluster Management Guide.
_ClusterParameterGroupQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The request would exceed the allowed number of cluster instances for
-- this account. For information about increasing your quota, go to
-- Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_ClusterQuotaExceededFault :: AsError a => Fold a ServiceError
-- | A cluster security group with the same name already exists.
_ClusterSecurityGroupAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The cluster security group name does not refer to an existing cluster
-- security group.
_ClusterSecurityGroupNotFoundFault :: AsError a => Fold a ServiceError
-- | The request would result in the user exceeding the allowed number of
-- cluster security groups. For information about increasing your quota,
-- go to Limits in Amazon Redshift in the Amazon Redshift
-- Cluster Management Guide.
_ClusterSecurityGroupQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The value specified as a snapshot identifier is already used by an
-- existing snapshot.
_ClusterSnapshotAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The snapshot identifier does not refer to an existing cluster
-- snapshot.
_ClusterSnapshotNotFoundFault :: AsError a => Fold a ServiceError
-- | The request would result in the user exceeding the allowed number of
-- cluster snapshots.
_ClusterSnapshotQuotaExceededFault :: AsError a => Fold a ServiceError
-- | A ClusterSubnetGroupName is already used by an existing cluster
-- subnet group.
_ClusterSubnetGroupAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The cluster subnet group name does not refer to an existing cluster
-- subnet group.
_ClusterSubnetGroupNotFoundFault :: AsError a => Fold a ServiceError
-- | The request would result in user exceeding the allowed number of
-- cluster subnet groups. For information about increasing your quota, go
-- to Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_ClusterSubnetGroupQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The request would result in user exceeding the allowed number of
-- subnets in a cluster subnet groups. For information about increasing
-- your quota, go to Limits in Amazon Redshift in the Amazon
-- Redshift Cluster Management Guide.
_ClusterSubnetQuotaExceededFault :: AsError a => Fold a ServiceError
-- | Cross-region snapshot copy was temporarily disabled. Try your request
-- again.
_CopyToRegionDisabledFault :: AsError a => Fold a ServiceError
-- | The request cannot be completed because a dependent service is
-- throttling requests made by Amazon Redshift on your behalf. Wait and
-- retry the request.
_DependentServiceRequestThrottlingFault :: AsError a => Fold a ServiceError
-- | Your request cannot be completed because a dependent internal service
-- is temporarily unavailable. Wait 30 to 60 seconds and try again.
_DependentServiceUnavailableFault :: AsError a => Fold a ServiceError
-- | The account already has a Redshift-managed VPC endpoint with the given
-- identifier.
_EndpointAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The authorization already exists for this endpoint.
_EndpointAuthorizationAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The authorization for this endpoint can't be found.
_EndpointAuthorizationNotFoundFault :: AsError a => Fold a ServiceError
-- | The number of endpoint authorizations per cluster has exceeded its
-- limit.
_EndpointAuthorizationsPerClusterLimitExceededFault :: AsError a => Fold a ServiceError
-- | The endpoint name doesn't refer to an existing endpoint.
_EndpointNotFoundFault :: AsError a => Fold a ServiceError
-- | The number of Redshift-managed VPC endpoints per authorization has
-- exceeded its limit.
_EndpointsPerAuthorizationLimitExceededFault :: AsError a => Fold a ServiceError
-- | The number of Redshift-managed VPC endpoints per cluster has exceeded
-- its limit.
_EndpointsPerClusterLimitExceededFault :: AsError a => Fold a ServiceError
-- | The request would exceed the allowed number of event subscriptions for
-- this account. For information about increasing your quota, go to
-- Limits in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
_EventSubscriptionQuotaExceededFault :: AsError a => Fold a ServiceError
-- | There is already an existing Amazon Redshift HSM client certificate
-- with the specified identifier.
_HsmClientCertificateAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | There is no Amazon Redshift HSM client certificate with the specified
-- identifier.
_HsmClientCertificateNotFoundFault :: AsError a => Fold a ServiceError
-- | The quota for HSM client certificates has been reached. For
-- information about increasing your quota, go to Limits in Amazon
-- Redshift in the Amazon Redshift Cluster Management Guide.
_HsmClientCertificateQuotaExceededFault :: AsError a => Fold a ServiceError
-- | There is already an existing Amazon Redshift HSM configuration with
-- the specified identifier.
_HsmConfigurationAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | There is no Amazon Redshift HSM configuration with the specified
-- identifier.
_HsmConfigurationNotFoundFault :: AsError a => Fold a ServiceError
-- | The quota for HSM configurations has been reached. For information
-- about increasing your quota, go to Limits in Amazon Redshift in
-- the Amazon Redshift Cluster Management Guide.
_HsmConfigurationQuotaExceededFault :: AsError a => Fold a ServiceError
-- | You have exceeded the allowed number of table restore requests. Wait
-- for your current table restore requests to complete before making a
-- new request.
_InProgressTableRestoreQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The specified options are incompatible.
_IncompatibleOrderableOptions :: AsError a => Fold a ServiceError
-- | The number of nodes specified exceeds the allotted capacity of the
-- cluster.
_InsufficientClusterCapacityFault :: AsError a => Fold a ServiceError
-- | The cluster does not have read bucket or put object permissions on the
-- S3 bucket specified when enabling logging.
_InsufficientS3BucketPolicyFault :: AsError a => Fold a ServiceError
-- | The authentication profile request is not valid. The profile name
-- can't be null or empty. The authentication profile API operation must
-- be available in the Amazon Web Services Region.
_InvalidAuthenticationProfileRequestFault :: AsError a => Fold a ServiceError
-- | The status of the authorization is not valid.
_InvalidAuthorizationStateFault :: AsError a => Fold a ServiceError
-- | The cluster parameter group action can not be completed because
-- another task is in progress that involves the parameter group. Wait a
-- few moments and try the operation again.
_InvalidClusterParameterGroupStateFault :: AsError a => Fold a ServiceError
-- | The state of the cluster security group is not available.
_InvalidClusterSecurityGroupStateFault :: AsError a => Fold a ServiceError
-- | The cluster snapshot schedule state is not valid.
_InvalidClusterSnapshotScheduleStateFault :: AsError a => Fold a ServiceError
-- | The specified cluster snapshot is not in the available state,
-- or other accounts are authorized to access the snapshot.
_InvalidClusterSnapshotStateFault :: AsError a => Fold a ServiceError
-- | The specified cluster is not in the available state.
_InvalidClusterStateFault :: AsError a => Fold a ServiceError
-- | The cluster subnet group cannot be deleted because it is in use.
_InvalidClusterSubnetGroupStateFault :: AsError a => Fold a ServiceError
-- | The state of the subnet is invalid.
_InvalidClusterSubnetStateFault :: AsError a => Fold a ServiceError
-- | The provided cluster track name is not valid.
_InvalidClusterTrackFault :: AsError a => Fold a ServiceError
-- | There is an error with the datashare.
_InvalidDataShareFault :: AsError a => Fold a ServiceError
-- | The Elastic IP (EIP) is invalid or cannot be found.
_InvalidElasticIpFault :: AsError a => Fold a ServiceError
-- | The status of the endpoint is not valid.
_InvalidEndpointStateFault :: AsError a => Fold a ServiceError
-- | The specified HSM client certificate is not in the available
-- state, or it is still in use by one or more Amazon Redshift clusters.
_InvalidHsmClientCertificateStateFault :: AsError a => Fold a ServiceError
-- | The specified HSM configuration is not in the available
-- state, or it is still in use by one or more Amazon Redshift clusters.
_InvalidHsmConfigurationStateFault :: AsError a => Fold a ServiceError
-- | The namespace isn't valid because the namespace doesn't exist. Provide
-- a valid namespace.
_InvalidNamespaceFault :: AsError a => Fold a ServiceError
-- | Indicates that the Reserved Node being exchanged is not in an active
-- state.
_InvalidReservedNodeStateFault :: AsError a => Fold a ServiceError
-- | The restore is invalid.
_InvalidRestoreFault :: AsError a => Fold a ServiceError
-- | The retention period specified is either in the past or is not a valid
-- value.
--
-- The value must be either -1 or an integer between 1 and 3,653.
_InvalidRetentionPeriodFault :: AsError a => Fold a ServiceError
-- | The S3 bucket name is invalid. For more information about naming
-- rules, go to Bucket Restrictions and Limitations in the Amazon
-- Simple Storage Service (S3) Developer Guide.
_InvalidS3BucketNameFault :: AsError a => Fold a ServiceError
-- | The string specified for the logging S3 key prefix does not comply
-- with the documented constraints.
_InvalidS3KeyPrefixFault :: AsError a => Fold a ServiceError
-- | The schedule you submitted isn't valid.
_InvalidScheduleFault :: AsError a => Fold a ServiceError
-- | The scheduled action is not valid.
_InvalidScheduledActionFault :: AsError a => Fold a ServiceError
-- | The snapshot copy grant can't be deleted because it is used by one or
-- more clusters.
_InvalidSnapshotCopyGrantStateFault :: AsError a => Fold a ServiceError
-- | The requested subnet is not valid, or not all of the subnets are in
-- the same VPC.
_InvalidSubnet :: AsError a => Fold a ServiceError
-- | The subscription request is invalid because it is a duplicate request.
-- This subscription request is already in progress.
_InvalidSubscriptionStateFault :: AsError a => Fold a ServiceError
-- | The value specified for the sourceDatabaseName,
-- sourceSchemaName, or sourceTableName parameter, or a
-- combination of these, doesn't exist in the snapshot.
_InvalidTableRestoreArgumentFault :: AsError a => Fold a ServiceError
-- | The tag is invalid.
_InvalidTagFault :: AsError a => Fold a ServiceError
-- | The usage limit is not valid.
_InvalidUsageLimitFault :: AsError a => Fold a ServiceError
-- | The cluster subnet group does not cover all Availability Zones.
_InvalidVPCNetworkStateFault :: AsError a => Fold a ServiceError
-- | The encryption key has exceeded its grant limit in Amazon Web Services
-- KMS.
_LimitExceededFault :: AsError a => Fold a ServiceError
-- | The operation would exceed the number of nodes allowed for a cluster.
_NumberOfNodesPerClusterLimitExceededFault :: AsError a => Fold a ServiceError
-- | The operation would exceed the number of nodes allotted to the
-- account. For information about increasing your quota, go to Limits
-- in Amazon Redshift in the Amazon Redshift Cluster Management
-- Guide.
_NumberOfNodesQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The name of the partner was not found.
_PartnerNotFoundFault :: AsError a => Fold a ServiceError
-- | User already has a reservation with the given identifier.
_ReservedNodeAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | Indicates that the reserved node has already been exchanged.
_ReservedNodeAlreadyMigratedFault :: AsError a => Fold a ServiceError
-- | The reserved-node exchange status wasn't found.
_ReservedNodeExchangeNotFoundFault :: AsError a => Fold a ServiceError
-- | The specified reserved compute node not found.
_ReservedNodeNotFoundFault :: AsError a => Fold a ServiceError
-- | Specified offering does not exist.
_ReservedNodeOfferingNotFoundFault :: AsError a => Fold a ServiceError
-- | Request would exceed the user's compute node quota. For information
-- about increasing your quota, go to Limits in Amazon Redshift in
-- the Amazon Redshift Cluster Management Guide.
_ReservedNodeQuotaExceededFault :: AsError a => Fold a ServiceError
-- | A resize operation for the specified cluster is not found.
_ResizeNotFoundFault :: AsError a => Fold a ServiceError
-- | The resource could not be found.
_ResourceNotFoundFault :: AsError a => Fold a ServiceError
-- | Amazon SNS has responded that there is a problem with the specified
-- Amazon SNS topic.
_SNSInvalidTopicFault :: AsError a => Fold a ServiceError
-- | You do not have permission to publish to the specified Amazon SNS
-- topic.
_SNSNoAuthorizationFault :: AsError a => Fold a ServiceError
-- | An Amazon SNS topic with the specified Amazon Resource Name (ARN) does
-- not exist.
_SNSTopicArnNotFoundFault :: AsError a => Fold a ServiceError
-- | The definition you submitted is not supported.
_ScheduleDefinitionTypeUnsupportedFault :: AsError a => Fold a ServiceError
-- | The scheduled action already exists.
_ScheduledActionAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The scheduled action cannot be found.
_ScheduledActionNotFoundFault :: AsError a => Fold a ServiceError
-- | The quota for scheduled actions exceeded.
_ScheduledActionQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The action type specified for a scheduled action is not supported.
_ScheduledActionTypeUnsupportedFault :: AsError a => Fold a ServiceError
-- | The cluster already has cross-region snapshot copy disabled.
_SnapshotCopyAlreadyDisabledFault :: AsError a => Fold a ServiceError
-- | The cluster already has cross-region snapshot copy enabled.
_SnapshotCopyAlreadyEnabledFault :: AsError a => Fold a ServiceError
-- | Cross-region snapshot copy was temporarily disabled. Try your request
-- again.
_SnapshotCopyDisabledFault :: AsError a => Fold a ServiceError
-- | The snapshot copy grant can't be created because a grant with the same
-- name already exists.
_SnapshotCopyGrantAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The specified snapshot copy grant can't be found. Make sure that the
-- name is typed correctly and that the grant exists in the destination
-- region.
_SnapshotCopyGrantNotFoundFault :: AsError a => Fold a ServiceError
-- | The Amazon Web Services account has exceeded the maximum number of
-- snapshot copy grants in this region.
_SnapshotCopyGrantQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The specified snapshot schedule already exists.
_SnapshotScheduleAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | We could not find the specified snapshot schedule.
_SnapshotScheduleNotFoundFault :: AsError a => Fold a ServiceError
-- | You have exceeded the quota of snapshot schedules.
_SnapshotScheduleQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The specified snapshot schedule is already being updated.
_SnapshotScheduleUpdateInProgressFault :: AsError a => Fold a ServiceError
-- | The specified Amazon Redshift event source could not be found.
_SourceNotFoundFault :: AsError a => Fold a ServiceError
-- | A specified subnet is already in use by another cluster.
_SubnetAlreadyInUse :: AsError a => Fold a ServiceError
-- | There is already an existing event notification subscription with the
-- specified name.
_SubscriptionAlreadyExistFault :: AsError a => Fold a ServiceError
-- | The value specified for the event category was not one of the allowed
-- values, or it specified a category that does not apply to the
-- specified source type. The allowed values are Configuration,
-- Management, Monitoring, and Security.
_SubscriptionCategoryNotFoundFault :: AsError a => Fold a ServiceError
-- | An Amazon Redshift event with the specified event ID does not exist.
_SubscriptionEventIdNotFoundFault :: AsError a => Fold a ServiceError
-- | An Amazon Redshift event notification subscription with the specified
-- name does not exist.
_SubscriptionNotFoundFault :: AsError a => Fold a ServiceError
-- | The value specified for the event severity was not one of the allowed
-- values, or it specified a severity that does not apply to the
-- specified source type. The allowed values are ERROR and INFO.
_SubscriptionSeverityNotFoundFault :: AsError a => Fold a ServiceError
-- | The number of tables in the cluster exceeds the limit for the
-- requested new cluster node type.
_TableLimitExceededFault :: AsError a => Fold a ServiceError
-- | The specified TableRestoreRequestId value was not found.
_TableRestoreNotFoundFault :: AsError a => Fold a ServiceError
-- | You have exceeded the number of tags allowed.
_TagLimitExceededFault :: AsError a => Fold a ServiceError
-- | Your account is not authorized to perform the requested operation.
_UnauthorizedOperation :: AsError a => Fold a ServiceError
-- | The partner integration is not authorized.
_UnauthorizedPartnerIntegrationFault :: AsError a => Fold a ServiceError
-- | The specified region is incorrect or does not exist.
_UnknownSnapshotCopyRegionFault :: AsError a => Fold a ServiceError
-- | The requested operation isn't supported.
_UnsupportedOperationFault :: AsError a => Fold a ServiceError
-- | A request option was specified that is not supported.
_UnsupportedOptionFault :: AsError a => Fold a ServiceError
-- | The usage limit already exists.
_UsageLimitAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The usage limit identifier can't be found.
_UsageLimitNotFoundFault :: AsError a => Fold a ServiceError
-- | Polls DescribeClusters every 60 seconds until a successful
-- state is reached. An error is returned after 30 failed checks.
newClusterAvailable :: Wait DescribeClusters
-- | Polls DescribeClusters every 60 seconds until a successful
-- state is reached. An error is returned after 30 failed checks.
newClusterDeleted :: Wait DescribeClusters
-- | Polls DescribeClusters every 60 seconds until a successful
-- state is reached. An error is returned after 30 failed checks.
newClusterRestored :: Wait DescribeClusters
-- | Polls DescribeClusterSnapshots every 15 seconds until a
-- successful state is reached. An error is returned after 20 failed
-- checks.
newSnapshotAvailable :: Wait DescribeClusterSnapshots
-- | See: newAcceptReservedNodeExchange smart constructor.
data AcceptReservedNodeExchange
AcceptReservedNodeExchange' :: Text -> Text -> AcceptReservedNodeExchange
-- | Create a value of AcceptReservedNodeExchange 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:
--
-- AcceptReservedNodeExchange,
-- acceptReservedNodeExchange_reservedNodeId - A string
-- representing the node identifier of the DC1 Reserved Node to be
-- exchanged.
--
-- AcceptReservedNodeExchange,
-- acceptReservedNodeExchange_targetReservedNodeOfferingId - The
-- unique identifier of the DC2 Reserved Node offering to be used for the
-- exchange. You can obtain the value for the parameter by calling
-- GetReservedNodeExchangeOfferings
newAcceptReservedNodeExchange :: Text -> Text -> AcceptReservedNodeExchange
-- | See: newAcceptReservedNodeExchangeResponse smart
-- constructor.
data AcceptReservedNodeExchangeResponse
AcceptReservedNodeExchangeResponse' :: Maybe ReservedNode -> Int -> AcceptReservedNodeExchangeResponse
-- | Create a value of AcceptReservedNodeExchangeResponse 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:exchangedReservedNode:AcceptReservedNodeExchangeResponse',
-- acceptReservedNodeExchangeResponse_exchangedReservedNode -
--
-- $sel:httpStatus:AcceptReservedNodeExchangeResponse',
-- acceptReservedNodeExchangeResponse_httpStatus - The response's
-- http status code.
newAcceptReservedNodeExchangeResponse :: Int -> AcceptReservedNodeExchangeResponse
-- | See: newAddPartner smart constructor.
data AddPartner
AddPartner' :: Text -> Text -> Text -> Text -> AddPartner
-- | Create a value of AddPartner 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:
--
-- AddPartner, addPartner_accountId - The Amazon Web
-- Services account ID that owns the cluster.
--
-- AddPartner, addPartner_clusterIdentifier - The cluster
-- identifier of the cluster that receives data from the partner.
--
-- AddPartner, addPartner_databaseName - The name of the
-- database that receives data from the partner.
--
-- AddPartner, addPartner_partnerName - The name of the
-- partner that is authorized to send data.
newAddPartner :: Text -> Text -> Text -> Text -> AddPartner
-- | See: newPartnerIntegrationOutputMessage smart
-- constructor.
data PartnerIntegrationOutputMessage
PartnerIntegrationOutputMessage' :: Maybe Text -> Maybe Text -> PartnerIntegrationOutputMessage
-- | Create a value of PartnerIntegrationOutputMessage 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:databaseName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage
-- | See: newAssociateDataShareConsumer smart constructor.
data AssociateDataShareConsumer
AssociateDataShareConsumer' :: Maybe Bool -> Maybe Text -> Maybe Text -> Text -> AssociateDataShareConsumer
-- | Create a value of AssociateDataShareConsumer 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:associateEntireAccount:AssociateDataShareConsumer',
-- associateDataShareConsumer_associateEntireAccount - A value
-- that specifies whether the datashare is associated with the entire
-- account.
--
-- $sel:consumerArn:AssociateDataShareConsumer',
-- associateDataShareConsumer_consumerArn - The Amazon Resource
-- Name (ARN) of the consumer that is associated with the datashare.
--
-- AssociateDataShareConsumer,
-- associateDataShareConsumer_consumerRegion - From a datashare
-- consumer account, associates a datashare with all existing and future
-- namespaces in the specified Amazon Web Services Region.
--
-- AssociateDataShareConsumer,
-- associateDataShareConsumer_dataShareArn - The Amazon Resource
-- Name (ARN) of the datashare that the consumer is to use with the
-- account or the namespace.
newAssociateDataShareConsumer :: Text -> AssociateDataShareConsumer
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | See: newAuthorizeClusterSecurityGroupIngress smart
-- constructor.
data AuthorizeClusterSecurityGroupIngress
AuthorizeClusterSecurityGroupIngress' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> AuthorizeClusterSecurityGroupIngress
-- | Create a value of AuthorizeClusterSecurityGroupIngress 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:
--
-- AuthorizeClusterSecurityGroupIngress,
-- authorizeClusterSecurityGroupIngress_cidrip - The IP range to
-- be added the Amazon Redshift security group.
--
-- AuthorizeClusterSecurityGroupIngress,
-- authorizeClusterSecurityGroupIngress_eC2SecurityGroupName - The
-- EC2 security group to be added the Amazon Redshift security group.
--
-- AuthorizeClusterSecurityGroupIngress,
-- authorizeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId -
-- The Amazon Web Services account number of the owner of the security
-- group specified by the EC2SecurityGroupName parameter. The
-- Amazon Web Services Access Key ID is not an acceptable value.
--
-- Example: 111122223333
--
-- AuthorizeClusterSecurityGroupIngress,
-- authorizeClusterSecurityGroupIngress_clusterSecurityGroupName -
-- The name of the security group to which the ingress rule is added.
newAuthorizeClusterSecurityGroupIngress :: Text -> AuthorizeClusterSecurityGroupIngress
-- | See: newAuthorizeClusterSecurityGroupIngressResponse
-- smart constructor.
data AuthorizeClusterSecurityGroupIngressResponse
AuthorizeClusterSecurityGroupIngressResponse' :: Maybe ClusterSecurityGroup -> Int -> AuthorizeClusterSecurityGroupIngressResponse
-- | Create a value of AuthorizeClusterSecurityGroupIngressResponse
-- 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:clusterSecurityGroup:AuthorizeClusterSecurityGroupIngressResponse',
-- authorizeClusterSecurityGroupIngressResponse_clusterSecurityGroup
-- - Undocumented member.
--
-- $sel:httpStatus:AuthorizeClusterSecurityGroupIngressResponse',
-- authorizeClusterSecurityGroupIngressResponse_httpStatus - The
-- response's http status code.
newAuthorizeClusterSecurityGroupIngressResponse :: Int -> AuthorizeClusterSecurityGroupIngressResponse
-- | See: newAuthorizeDataShare smart constructor.
data AuthorizeDataShare
AuthorizeDataShare' :: Text -> Text -> AuthorizeDataShare
-- | Create a value of AuthorizeDataShare 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:
--
-- AuthorizeDataShare, authorizeDataShare_dataShareArn -
-- The Amazon Resource Name (ARN) of the datashare that producers are to
-- authorize sharing for.
--
-- AuthorizeDataShare,
-- authorizeDataShare_consumerIdentifier - The identifier of the
-- data consumer that is authorized to access the datashare. This
-- identifier is an Amazon Web Services account ID or a keyword, such as
-- ADX.
newAuthorizeDataShare :: Text -> Text -> AuthorizeDataShare
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | See: newAuthorizeEndpointAccess smart constructor.
data AuthorizeEndpointAccess
AuthorizeEndpointAccess' :: Maybe Text -> Maybe [Text] -> Text -> AuthorizeEndpointAccess
-- | Create a value of AuthorizeEndpointAccess 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:
--
-- AuthorizeEndpointAccess,
-- authorizeEndpointAccess_clusterIdentifier - The cluster
-- identifier of the cluster to grant access to.
--
-- $sel:vpcIds:AuthorizeEndpointAccess',
-- authorizeEndpointAccess_vpcIds - The virtual private cloud
-- (VPC) identifiers to grant access to.
--
-- $sel:account:AuthorizeEndpointAccess',
-- authorizeEndpointAccess_account - The Amazon Web Services
-- account ID to grant access to.
newAuthorizeEndpointAccess :: Text -> AuthorizeEndpointAccess
-- | Describes an endpoint authorization for authorizing Redshift-managed
-- VPC endpoint access to a cluster across Amazon Web Services accounts.
--
-- See: newEndpointAuthorization smart constructor.
data EndpointAuthorization
EndpointAuthorization' :: Maybe Bool -> Maybe [Text] -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe AuthorizationStatus -> EndpointAuthorization
-- | Create a value of EndpointAuthorization 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:allowedAllVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedAllVPCs - Indicates whether all
-- VPCs in the grantee account are allowed access to the cluster.
--
-- $sel:allowedVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedVPCs - The VPCs allowed access to
-- the cluster.
--
-- $sel:authorizeTime:EndpointAuthorization',
-- endpointAuthorization_authorizeTime - The time (UTC) when the
-- authorization was created.
--
-- $sel:clusterIdentifier:EndpointAuthorization',
-- endpointAuthorization_clusterIdentifier - The cluster
-- identifier.
--
-- $sel:clusterStatus:EndpointAuthorization',
-- endpointAuthorization_clusterStatus - The status of the
-- cluster.
--
-- $sel:endpointCount:EndpointAuthorization',
-- endpointAuthorization_endpointCount - The number of
-- Redshift-managed VPC endpoints created for the authorization.
--
-- $sel:grantee:EndpointAuthorization',
-- endpointAuthorization_grantee - The Amazon Web Services account
-- ID of the grantee of the cluster.
--
-- $sel:grantor:EndpointAuthorization',
-- endpointAuthorization_grantor - The Amazon Web Services account
-- ID of the cluster owner.
--
-- $sel:status:EndpointAuthorization',
-- endpointAuthorization_status - The status of the authorization
-- action.
newEndpointAuthorization :: EndpointAuthorization
-- | See: newAuthorizeSnapshotAccess smart constructor.
data AuthorizeSnapshotAccess
AuthorizeSnapshotAccess' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> AuthorizeSnapshotAccess
-- | Create a value of AuthorizeSnapshotAccess 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:snapshotArn:AuthorizeSnapshotAccess',
-- authorizeSnapshotAccess_snapshotArn - The Amazon Resource Name
-- (ARN) of the snapshot to authorize access to.
--
-- AuthorizeSnapshotAccess,
-- authorizeSnapshotAccess_snapshotClusterIdentifier - The
-- identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- AuthorizeSnapshotAccess,
-- authorizeSnapshotAccess_snapshotIdentifier - The identifier of
-- the snapshot the account is authorized to restore.
--
-- $sel:accountWithRestoreAccess:AuthorizeSnapshotAccess',
-- authorizeSnapshotAccess_accountWithRestoreAccess - The
-- identifier of the Amazon Web Services account authorized to restore
-- the specified snapshot.
--
-- To share a snapshot with Amazon Web Services Support, specify
-- amazon-redshift-support.
newAuthorizeSnapshotAccess :: Text -> AuthorizeSnapshotAccess
-- | See: newAuthorizeSnapshotAccessResponse smart
-- constructor.
data AuthorizeSnapshotAccessResponse
AuthorizeSnapshotAccessResponse' :: Maybe Snapshot -> Int -> AuthorizeSnapshotAccessResponse
-- | Create a value of AuthorizeSnapshotAccessResponse 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:AuthorizeSnapshotAccessResponse',
-- authorizeSnapshotAccessResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:AuthorizeSnapshotAccessResponse',
-- authorizeSnapshotAccessResponse_httpStatus - The response's
-- http status code.
newAuthorizeSnapshotAccessResponse :: Int -> AuthorizeSnapshotAccessResponse
-- | See: newBatchDeleteClusterSnapshots smart constructor.
data BatchDeleteClusterSnapshots
BatchDeleteClusterSnapshots' :: [DeleteClusterSnapshotMessage] -> BatchDeleteClusterSnapshots
-- | Create a value of BatchDeleteClusterSnapshots 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:identifiers:BatchDeleteClusterSnapshots',
-- batchDeleteClusterSnapshots_identifiers - A list of identifiers
-- for the snapshots that you want to delete.
newBatchDeleteClusterSnapshots :: BatchDeleteClusterSnapshots
-- | See: newBatchDeleteClusterSnapshotsResponse smart
-- constructor.
data BatchDeleteClusterSnapshotsResponse
BatchDeleteClusterSnapshotsResponse' :: Maybe [SnapshotErrorMessage] -> Maybe [Text] -> Int -> BatchDeleteClusterSnapshotsResponse
-- | Create a value of BatchDeleteClusterSnapshotsResponse 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:errors:BatchDeleteClusterSnapshotsResponse',
-- batchDeleteClusterSnapshotsResponse_errors - A list of any
-- errors returned.
--
-- $sel:resources:BatchDeleteClusterSnapshotsResponse',
-- batchDeleteClusterSnapshotsResponse_resources - A list of the
-- snapshot identifiers that were deleted.
--
-- $sel:httpStatus:BatchDeleteClusterSnapshotsResponse',
-- batchDeleteClusterSnapshotsResponse_httpStatus - The response's
-- http status code.
newBatchDeleteClusterSnapshotsResponse :: Int -> BatchDeleteClusterSnapshotsResponse
-- | See: newBatchModifyClusterSnapshots smart constructor.
data BatchModifyClusterSnapshots
BatchModifyClusterSnapshots' :: Maybe Bool -> Maybe Int -> [Text] -> BatchModifyClusterSnapshots
-- | Create a value of BatchModifyClusterSnapshots 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:force:BatchModifyClusterSnapshots',
-- batchModifyClusterSnapshots_force - A boolean value indicating
-- whether to override an exception if the retention period has passed.
--
-- BatchModifyClusterSnapshots,
-- batchModifyClusterSnapshots_manualSnapshotRetentionPeriod - The
-- number of days that a manual snapshot is retained. If you specify the
-- value -1, the manual snapshot is retained indefinitely.
--
-- The number must be either -1 or an integer between 1 and 3,653.
--
-- If you decrease the manual snapshot retention period from its current
-- value, existing manual snapshots that fall outside of the new
-- retention period will return an error. If you want to suppress the
-- errors and delete the snapshots, use the force option.
--
-- $sel:snapshotIdentifierList:BatchModifyClusterSnapshots',
-- batchModifyClusterSnapshots_snapshotIdentifierList - A list of
-- snapshot identifiers you want to modify.
newBatchModifyClusterSnapshots :: BatchModifyClusterSnapshots
-- | See: newBatchModifyClusterSnapshotsResponse smart
-- constructor.
data BatchModifyClusterSnapshotsResponse
BatchModifyClusterSnapshotsResponse' :: Maybe [SnapshotErrorMessage] -> Maybe [Text] -> Int -> BatchModifyClusterSnapshotsResponse
-- | Create a value of BatchModifyClusterSnapshotsResponse 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:errors:BatchModifyClusterSnapshotsResponse',
-- batchModifyClusterSnapshotsResponse_errors - A list of any
-- errors returned.
--
-- $sel:resources:BatchModifyClusterSnapshotsResponse',
-- batchModifyClusterSnapshotsResponse_resources - A list of the
-- snapshots that were modified.
--
-- $sel:httpStatus:BatchModifyClusterSnapshotsResponse',
-- batchModifyClusterSnapshotsResponse_httpStatus - The response's
-- http status code.
newBatchModifyClusterSnapshotsResponse :: Int -> BatchModifyClusterSnapshotsResponse
-- | See: newCancelResize smart constructor.
data CancelResize
CancelResize' :: Text -> CancelResize
-- | Create a value of CancelResize 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:
--
-- CancelResize, cancelResize_clusterIdentifier - The
-- unique identifier for the cluster that you want to cancel a resize
-- operation for.
newCancelResize :: Text -> CancelResize
-- | Describes the result of a cluster resize operation.
--
-- See: newResizeProgressMessage smart constructor.
data ResizeProgressMessage
ResizeProgressMessage' :: Maybe Double -> Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Integer -> ResizeProgressMessage
-- | Create a value of ResizeProgressMessage 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:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage',
-- resizeProgressMessage_avgResizeRateInMegaBytesPerSecond - The
-- average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
--
-- $sel:dataTransferProgressPercent:ResizeProgressMessage',
-- resizeProgressMessage_dataTransferProgressPercent - The percent
-- of data transferred from source cluster to target cluster.
--
-- $sel:elapsedTimeInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_elapsedTimeInSeconds - The amount of
-- seconds that have elapsed since the resize operation began. After the
-- resize operation completes, this value shows the total actual time, in
-- seconds, for the resize operation.
--
-- $sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_estimatedTimeToCompletionInSeconds - The
-- estimated time remaining, in seconds, until the resize operation is
-- complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
--
-- $sel:importTablesCompleted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesCompleted - The names of
-- tables that have been completely imported .
--
-- Valid Values: List of table names.
--
-- $sel:importTablesInProgress:ResizeProgressMessage',
-- resizeProgressMessage_importTablesInProgress - The names of
-- tables that are being currently imported.
--
-- Valid Values: List of table names.
--
-- $sel:importTablesNotStarted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesNotStarted - The names of
-- tables that have not been yet imported.
--
-- Valid Values: List of table names
--
-- $sel:message:ResizeProgressMessage',
-- resizeProgressMessage_message - An optional string to provide
-- additional details about the resize action.
--
-- $sel:progressInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_progressInMegaBytes - While the resize
-- operation is in progress, this value shows the current amount of data,
-- in megabytes, that has been processed so far. When the resize
-- operation is complete, this value shows the total amount of data, in
-- megabytes, on the cluster, which may be more or less than
-- TotalResizeDataInMegaBytes (the estimated total amount of data before
-- resize).
--
-- $sel:resizeType:ResizeProgressMessage',
-- resizeProgressMessage_resizeType - An enum with possible values
-- of ClassicResize and ElasticResize. These values
-- describe the type of resize operation being performed.
--
-- $sel:status:ResizeProgressMessage',
-- resizeProgressMessage_status - The status of the resize
-- operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
--
-- $sel:targetClusterType:ResizeProgressMessage',
-- resizeProgressMessage_targetClusterType - The cluster type
-- after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
--
-- $sel:targetEncryptionType:ResizeProgressMessage',
-- resizeProgressMessage_targetEncryptionType - The type of
-- encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
--
-- $sel:targetNodeType:ResizeProgressMessage',
-- resizeProgressMessage_targetNodeType - The node type that the
-- cluster will have after the resize operation is complete.
--
-- $sel:targetNumberOfNodes:ResizeProgressMessage',
-- resizeProgressMessage_targetNumberOfNodes - The number of nodes
-- that the cluster will have after the resize operation is complete.
--
-- $sel:totalResizeDataInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_totalResizeDataInMegaBytes - The
-- estimated total amount of data, in megabytes, on the cluster before
-- the resize operation began.
newResizeProgressMessage :: ResizeProgressMessage
-- | See: newCopyClusterSnapshot smart constructor.
data CopyClusterSnapshot
CopyClusterSnapshot' :: Maybe Int -> Maybe Text -> Text -> Text -> CopyClusterSnapshot
-- | Create a value of CopyClusterSnapshot 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:
--
-- CopyClusterSnapshot,
-- copyClusterSnapshot_manualSnapshotRetentionPeriod - The number
-- of days that a manual snapshot is retained. If the value is -1, the
-- manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
--
-- $sel:sourceSnapshotClusterIdentifier:CopyClusterSnapshot',
-- copyClusterSnapshot_sourceSnapshotClusterIdentifier - The
-- identifier of the cluster the source snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints:
--
--
-- - Must be the identifier for a valid cluster.
--
--
-- $sel:sourceSnapshotIdentifier:CopyClusterSnapshot',
-- copyClusterSnapshot_sourceSnapshotIdentifier - The identifier
-- for the source snapshot.
--
-- Constraints:
--
--
-- - Must be the identifier for a valid automated snapshot whose state
-- is available.
--
--
-- $sel:targetSnapshotIdentifier:CopyClusterSnapshot',
-- copyClusterSnapshot_targetSnapshotIdentifier - The identifier
-- given to the new manual snapshot.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank.
-- - Must contain from 1 to 255 alphanumeric characters or
-- hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for the Amazon Web Services account that is making
-- the request.
--
newCopyClusterSnapshot :: Text -> Text -> CopyClusterSnapshot
-- | See: newCopyClusterSnapshotResponse smart constructor.
data CopyClusterSnapshotResponse
CopyClusterSnapshotResponse' :: Maybe Snapshot -> Int -> CopyClusterSnapshotResponse
-- | Create a value of CopyClusterSnapshotResponse 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:CopyClusterSnapshotResponse',
-- copyClusterSnapshotResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:CopyClusterSnapshotResponse',
-- copyClusterSnapshotResponse_httpStatus - The response's http
-- status code.
newCopyClusterSnapshotResponse :: Int -> CopyClusterSnapshotResponse
-- | See: newCreateAuthenticationProfile smart constructor.
data CreateAuthenticationProfile
CreateAuthenticationProfile' :: Text -> Text -> CreateAuthenticationProfile
-- | Create a value of CreateAuthenticationProfile 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:
--
-- CreateAuthenticationProfile,
-- createAuthenticationProfile_authenticationProfileName - The
-- name of the authentication profile to be created.
--
-- CreateAuthenticationProfile,
-- createAuthenticationProfile_authenticationProfileContent - The
-- content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
newCreateAuthenticationProfile :: Text -> Text -> CreateAuthenticationProfile
-- | See: newCreateAuthenticationProfileResponse smart
-- constructor.
data CreateAuthenticationProfileResponse
CreateAuthenticationProfileResponse' :: Maybe Text -> Maybe Text -> Int -> CreateAuthenticationProfileResponse
-- | Create a value of CreateAuthenticationProfileResponse 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:
--
-- CreateAuthenticationProfile,
-- createAuthenticationProfileResponse_authenticationProfileContent
-- - The content of the authentication profile in JSON format.
--
-- CreateAuthenticationProfile,
-- createAuthenticationProfileResponse_authenticationProfileName -
-- The name of the authentication profile that was created.
--
-- $sel:httpStatus:CreateAuthenticationProfileResponse',
-- createAuthenticationProfileResponse_httpStatus - The response's
-- http status code.
newCreateAuthenticationProfileResponse :: Int -> CreateAuthenticationProfileResponse
-- | See: newCreateCluster smart constructor.
data CreateCluster
CreateCluster' :: Maybe Text -> Maybe Bool -> Maybe AquaConfigurationStatus -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [Tag] -> Maybe [Text] -> Text -> Text -> Text -> Text -> CreateCluster
-- | Create a value of CreateCluster 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:additionalInfo:CreateCluster',
-- createCluster_additionalInfo - Reserved.
--
-- CreateCluster, createCluster_allowVersionUpgrade - If
-- true, major version upgrades can be applied during the
-- maintenance window to the Amazon Redshift engine that is running on
-- the cluster.
--
-- When a new major version of the Amazon Redshift engine is released,
-- you can request that the service automatically apply upgrades during
-- the maintenance window to the Amazon Redshift engine that is running
-- on your cluster.
--
-- Default: true
--
-- CreateCluster, createCluster_aquaConfigurationStatus -
-- This parameter is retired. It does not set the AQUA configuration
-- status. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
--
-- CreateCluster,
-- createCluster_automatedSnapshotRetentionPeriod - The number of
-- days that automated snapshots are retained. If the value is 0,
-- automated snapshots are disabled. Even if automated snapshots are
-- disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: 1
--
-- Constraints: Must be a value from 0 to 35.
--
-- CreateCluster, createCluster_availabilityZone - The EC2
-- Availability Zone (AZ) in which you want Amazon Redshift to provision
-- the cluster. For example, if you have several EC2 instances running in
-- a specific Availability Zone, then you might want the cluster to be
-- provisioned in the same zone in order to decrease network latency.
--
-- Default: A random, system-chosen Availability Zone in the region that
-- is specified by the endpoint.
--
-- Example: us-east-2d
--
-- Constraint: The specified Availability Zone must be in the same region
-- as the current endpoint.
--
-- $sel:availabilityZoneRelocation:CreateCluster',
-- createCluster_availabilityZoneRelocation - The option to enable
-- relocation for an Amazon Redshift cluster between Availability Zones
-- after the cluster is created.
--
-- $sel:clusterParameterGroupName:CreateCluster',
-- createCluster_clusterParameterGroupName - The name of the
-- parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
--
-- CreateCluster, createCluster_clusterSecurityGroups - A
-- list of security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
--
-- CreateCluster, createCluster_clusterSubnetGroupName -
-- The name of a cluster subnet group to be associated with this cluster.
--
-- If this parameter is not provided the resulting cluster will be
-- deployed outside virtual private cloud (VPC).
--
-- CreateCluster, createCluster_clusterType - The type of
-- the cluster. When cluster type is specified as
--
--
-- - single-node, the NumberOfNodes parameter is not
-- required.
-- - multi-node, the NumberOfNodes parameter is
-- required.
--
--
-- Valid Values: multi-node | single-node
--
-- Default: multi-node
--
-- CreateCluster, createCluster_clusterVersion - The
-- version of the Amazon Redshift engine software that you want to deploy
-- on the cluster.
--
-- The version selected runs on all the nodes in the cluster.
--
-- Constraints: Only version 1.0 is currently available.
--
-- Example: 1.0
--
-- CreateCluster, createCluster_dbName - The name of the
-- first database to be created when the cluster is created.
--
-- To create additional databases after the cluster is created, connect
-- to the cluster with a SQL client and use SQL commands to create a
-- database. For more information, go to Create a Database in the
-- Amazon Redshift Database Developer Guide.
--
-- Default: dev
--
-- Constraints:
--
--
-- - Must contain 1 to 64 alphanumeric characters.
-- - Must contain only lowercase letters.
-- - Cannot be a word that is reserved by the service. A list of
-- reserved words can be found in Reserved Words in the Amazon
-- Redshift Database Developer Guide.
--
--
-- CreateCluster, createCluster_defaultIamRoleArn - The
-- Amazon Resource Name (ARN) for the IAM role that was set as default
-- for the cluster when the cluster was created.
--
-- CreateCluster, createCluster_elasticIp - The Elastic IP
-- (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. Don't specify the
-- Elastic IP address for a publicly accessible cluster with availability
-- zone relocation turned on. For more information about provisioning
-- clusters in EC2-VPC, go to Supported Platforms to Launch Your
-- Cluster in the Amazon Redshift Cluster Management Guide.
--
-- CreateCluster, createCluster_encrypted - If
-- true, the data in the cluster is encrypted at rest.
--
-- Default: false
--
-- CreateCluster, createCluster_enhancedVpcRouting - An
-- option that specifies whether to create the cluster with enhanced VPC
-- routing enabled. To create a cluster that uses enhanced VPC routing,
-- the cluster must be in a VPC. For more information, see Enhanced
-- VPC Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- CreateCluster,
-- createCluster_hsmClientCertificateIdentifier - Specifies the
-- name of the HSM client certificate the Amazon Redshift cluster uses to
-- retrieve the data encryption keys stored in an HSM.
--
-- CreateCluster, createCluster_hsmConfigurationIdentifier
-- - Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
--
-- CreateCluster, createCluster_iamRoles - A list of
-- Identity and Access Management (IAM) roles that can be used by the
-- cluster to access other Amazon Web Services services. You must supply
-- the IAM roles in their Amazon Resource Name (ARN) format.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
--
-- CreateCluster, createCluster_kmsKeyId - The Key
-- Management Service (KMS) key ID of the encryption key that you want to
-- use to encrypt data in the cluster.
--
-- $sel:loadSampleData:CreateCluster',
-- createCluster_loadSampleData - A flag that specifies whether to
-- load sample data once the cluster is created.
--
-- CreateCluster, createCluster_maintenanceTrackName - An
-- optional parameter for the name of the maintenance track for the
-- cluster. If you don't provide a maintenance track name, the cluster is
-- assigned to the current track.
--
-- CreateCluster,
-- createCluster_manualSnapshotRetentionPeriod - The default
-- number of days to retain a manual snapshot. If the value is -1, the
-- snapshot is retained indefinitely. This setting doesn't change the
-- retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- CreateCluster, createCluster_numberOfNodes - The number
-- of compute nodes in the cluster. This parameter is required when the
-- ClusterType parameter is specified as multi-node.
--
-- For information about determining how many nodes you need, go to
-- Working with Clusters in the Amazon Redshift Cluster
-- Management Guide.
--
-- If you don't specify this parameter, you get a single-node cluster.
-- When requesting a multi-node cluster, you must specify the number of
-- nodes that you want in the cluster.
--
-- Default: 1
--
-- Constraints: Value must be at least 1 and no more than 100.
--
-- CreateCluster, createCluster_port - The port number on
-- which the cluster accepts incoming connections.
--
-- The cluster is accessible only via the JDBC and ODBC connection
-- strings. Part of the connection string requires the port on which the
-- cluster will listen for incoming connections.
--
-- Default: 5439
--
-- Valid Values: 1150-65535
--
-- CreateCluster, createCluster_preferredMaintenanceWindow
-- - The weekly time range (in UTC) during which automated cluster
-- maintenance can occur.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi
--
-- Default: A 30-minute window selected at random from an 8-hour block of
-- time per region, occurring on a random day of the week. For more
-- information about the time blocks for each region, see Maintenance
-- Windows in Amazon Redshift Cluster Management Guide.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Minimum 30-minute window.
--
-- CreateCluster, createCluster_publiclyAccessible - If
-- true, the cluster can be accessed from a public network.
--
-- CreateCluster, createCluster_snapshotScheduleIdentifier
-- - A unique identifier for the snapshot schedule.
--
-- CreateCluster, createCluster_tags - A list of tag
-- instances.
--
-- $sel:vpcSecurityGroupIds:CreateCluster',
-- createCluster_vpcSecurityGroupIds - A list of Virtual Private
-- Cloud (VPC) security groups to be associated with the cluster.
--
-- Default: The default VPC security group is associated with the
-- cluster.
--
-- CreateCluster, createCluster_clusterIdentifier - A
-- unique identifier for the cluster. You use this identifier to refer to
-- the cluster for any subsequent cluster operations such as deleting or
-- modifying. The identifier also appears in the Amazon Redshift console.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
--
-- Example: myexamplecluster
--
-- CreateCluster, createCluster_nodeType - The node type to
-- be provisioned for the cluster. For information about node types, go
-- to Working with Clusters in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: ds2.xlarge | ds2.8xlarge |
-- dc1.large | dc1.8xlarge | dc2.large |
-- dc2.8xlarge | ra3.xlplus | ra3.4xlarge |
-- ra3.16xlarge
--
-- CreateCluster, createCluster_masterUsername - The user
-- name associated with the admin user account for the cluster that is
-- being created.
--
-- Constraints:
--
--
-- - Must be 1 - 128 alphanumeric characters. The user name can't be
-- PUBLIC.
-- - First character must be a letter.
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
--
-- CreateCluster, createCluster_masterUserPassword - The
-- password associated with the admin user account for the cluster that
-- is being created.
--
-- Constraints:
--
--
-- - Must be between 8 and 64 characters in length.
-- - Must contain at least one uppercase letter.
-- - Must contain at least one lowercase letter.
-- - Must contain one number.
-- - Can be any printable ASCII character (ASCII code 33-126) except
-- ' (single quote), " (double quote), \,
-- /, or @.
--
newCreateCluster :: Text -> Text -> Text -> Text -> CreateCluster
-- | See: newCreateClusterResponse smart constructor.
data CreateClusterResponse
CreateClusterResponse' :: Maybe Cluster -> Int -> CreateClusterResponse
-- | Create a value of CreateClusterResponse 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:cluster:CreateClusterResponse',
-- createClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:CreateClusterResponse',
-- createClusterResponse_httpStatus - The response's http status
-- code.
newCreateClusterResponse :: Int -> CreateClusterResponse
-- | See: newCreateClusterParameterGroup smart constructor.
data CreateClusterParameterGroup
CreateClusterParameterGroup' :: Maybe [Tag] -> Text -> Text -> Text -> CreateClusterParameterGroup
-- | Create a value of CreateClusterParameterGroup 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:
--
-- CreateClusterParameterGroup,
-- createClusterParameterGroup_tags - A list of tag instances.
--
-- CreateClusterParameterGroup,
-- createClusterParameterGroup_parameterGroupName - The name of
-- the cluster parameter group.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique withing your Amazon Web Services account.
--
--
-- This value is stored as a lower-case string.
--
-- CreateClusterParameterGroup,
-- createClusterParameterGroup_parameterGroupFamily - The Amazon
-- Redshift engine version to which the cluster parameter group applies.
-- The cluster engine version determines the set of parameters.
--
-- To get a list of valid parameter group family names, you can call
-- DescribeClusterParameterGroups. By default, Amazon Redshift returns a
-- list of all the parameter groups that are owned by your Amazon Web
-- Services account, including the default parameter groups for each
-- Amazon Redshift engine version. The parameter group family names
-- associated with the default parameter groups provide you the valid
-- values. For example, a valid family name is "redshift-1.0".
--
-- CreateClusterParameterGroup,
-- createClusterParameterGroup_description - A description of the
-- parameter group.
newCreateClusterParameterGroup :: Text -> Text -> Text -> CreateClusterParameterGroup
-- | See: newCreateClusterParameterGroupResponse smart
-- constructor.
data CreateClusterParameterGroupResponse
CreateClusterParameterGroupResponse' :: Maybe ClusterParameterGroup -> Int -> CreateClusterParameterGroupResponse
-- | Create a value of CreateClusterParameterGroupResponse 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:clusterParameterGroup:CreateClusterParameterGroupResponse',
-- createClusterParameterGroupResponse_clusterParameterGroup -
-- Undocumented member.
--
-- $sel:httpStatus:CreateClusterParameterGroupResponse',
-- createClusterParameterGroupResponse_httpStatus - The response's
-- http status code.
newCreateClusterParameterGroupResponse :: Int -> CreateClusterParameterGroupResponse
-- | See: newCreateClusterSecurityGroup smart constructor.
data CreateClusterSecurityGroup
CreateClusterSecurityGroup' :: Maybe [Tag] -> Text -> Text -> CreateClusterSecurityGroup
-- | Create a value of CreateClusterSecurityGroup 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:
--
-- CreateClusterSecurityGroup,
-- createClusterSecurityGroup_tags - A list of tag instances.
--
-- CreateClusterSecurityGroup,
-- createClusterSecurityGroup_clusterSecurityGroupName - The name
-- for the security group. Amazon Redshift stores the value as a
-- lowercase string.
--
-- Constraints:
--
--
-- - Must contain no more than 255 alphanumeric characters or
-- hyphens.
-- - Must not be "Default".
-- - Must be unique for all security groups that are created by your
-- Amazon Web Services account.
--
--
-- Example: examplesecuritygroup
--
-- CreateClusterSecurityGroup,
-- createClusterSecurityGroup_description - A description for the
-- security group.
newCreateClusterSecurityGroup :: Text -> Text -> CreateClusterSecurityGroup
-- | See: newCreateClusterSecurityGroupResponse smart
-- constructor.
data CreateClusterSecurityGroupResponse
CreateClusterSecurityGroupResponse' :: Maybe ClusterSecurityGroup -> Int -> CreateClusterSecurityGroupResponse
-- | Create a value of CreateClusterSecurityGroupResponse 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:clusterSecurityGroup:CreateClusterSecurityGroupResponse',
-- createClusterSecurityGroupResponse_clusterSecurityGroup -
-- Undocumented member.
--
-- $sel:httpStatus:CreateClusterSecurityGroupResponse',
-- createClusterSecurityGroupResponse_httpStatus - The response's
-- http status code.
newCreateClusterSecurityGroupResponse :: Int -> CreateClusterSecurityGroupResponse
-- | See: newCreateClusterSnapshot smart constructor.
data CreateClusterSnapshot
CreateClusterSnapshot' :: Maybe Int -> Maybe [Tag] -> Text -> Text -> CreateClusterSnapshot
-- | Create a value of CreateClusterSnapshot 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:
--
-- CreateClusterSnapshot,
-- createClusterSnapshot_manualSnapshotRetentionPeriod - The
-- number of days that a manual snapshot is retained. If the value is -1,
-- the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
--
-- CreateClusterSnapshot, createClusterSnapshot_tags - A
-- list of tag instances.
--
-- CreateClusterSnapshot,
-- createClusterSnapshot_snapshotIdentifier - A unique identifier
-- for the snapshot that you are requesting. This identifier must be
-- unique for all snapshots within the Amazon Web Services account.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank
-- - Must contain from 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
--
-- Example: my-snapshot-id
--
-- CreateClusterSnapshot,
-- createClusterSnapshot_clusterIdentifier - The cluster
-- identifier for which you want a snapshot.
newCreateClusterSnapshot :: Text -> Text -> CreateClusterSnapshot
-- | See: newCreateClusterSnapshotResponse smart constructor.
data CreateClusterSnapshotResponse
CreateClusterSnapshotResponse' :: Maybe Snapshot -> Int -> CreateClusterSnapshotResponse
-- | Create a value of CreateClusterSnapshotResponse 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:CreateClusterSnapshotResponse',
-- createClusterSnapshotResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:CreateClusterSnapshotResponse',
-- createClusterSnapshotResponse_httpStatus - The response's http
-- status code.
newCreateClusterSnapshotResponse :: Int -> CreateClusterSnapshotResponse
-- | See: newCreateClusterSubnetGroup smart constructor.
data CreateClusterSubnetGroup
CreateClusterSubnetGroup' :: Maybe [Tag] -> Text -> Text -> [Text] -> CreateClusterSubnetGroup
-- | Create a value of CreateClusterSubnetGroup 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:
--
-- CreateClusterSubnetGroup, createClusterSubnetGroup_tags
-- - A list of tag instances.
--
-- CreateClusterSubnetGroup,
-- createClusterSubnetGroup_clusterSubnetGroupName - The name for
-- the subnet group. Amazon Redshift stores the value as a lowercase
-- string.
--
-- Constraints:
--
--
-- - Must contain no more than 255 alphanumeric characters or
-- hyphens.
-- - Must not be "Default".
-- - Must be unique for all subnet groups that are created by your
-- Amazon Web Services account.
--
--
-- Example: examplesubnetgroup
--
-- CreateClusterSubnetGroup,
-- createClusterSubnetGroup_description - A description for the
-- subnet group.
--
-- $sel:subnetIds:CreateClusterSubnetGroup',
-- createClusterSubnetGroup_subnetIds - An array of VPC subnet
-- IDs. A maximum of 20 subnets can be modified in a single request.
newCreateClusterSubnetGroup :: Text -> Text -> CreateClusterSubnetGroup
-- | See: newCreateClusterSubnetGroupResponse smart
-- constructor.
data CreateClusterSubnetGroupResponse
CreateClusterSubnetGroupResponse' :: Maybe ClusterSubnetGroup -> Int -> CreateClusterSubnetGroupResponse
-- | Create a value of CreateClusterSubnetGroupResponse 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:clusterSubnetGroup:CreateClusterSubnetGroupResponse',
-- createClusterSubnetGroupResponse_clusterSubnetGroup -
-- Undocumented member.
--
-- $sel:httpStatus:CreateClusterSubnetGroupResponse',
-- createClusterSubnetGroupResponse_httpStatus - The response's
-- http status code.
newCreateClusterSubnetGroupResponse :: Int -> CreateClusterSubnetGroupResponse
-- | See: newCreateEndpointAccess smart constructor.
data CreateEndpointAccess
CreateEndpointAccess' :: Maybe Text -> Maybe Text -> Maybe [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:
--
-- CreateEndpointAccess,
-- createEndpointAccess_clusterIdentifier - The cluster identifier
-- of the cluster to access.
--
-- CreateEndpointAccess, createEndpointAccess_resourceOwner
-- - The Amazon Web Services account ID of the owner of the cluster. This
-- is only required if the cluster is in another Amazon Web Services
-- account.
--
-- $sel:vpcSecurityGroupIds:CreateEndpointAccess',
-- createEndpointAccess_vpcSecurityGroupIds - The security group
-- that defines the ports, protocols, and sources for inbound traffic
-- that you are authorizing into your endpoint.
--
-- CreateEndpointAccess, createEndpointAccess_endpointName
-- - The Redshift-managed VPC endpoint name.
--
-- 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_subnetGroupName - The subnet group from
-- which Amazon Redshift chooses the subnet to deploy the endpoint.
newCreateEndpointAccess :: Text -> Text -> CreateEndpointAccess
-- | Describes a Redshift-managed VPC endpoint.
--
-- See: newEndpointAccess smart constructor.
data EndpointAccess
EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> 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:clusterIdentifier:EndpointAccess',
-- endpointAccess_clusterIdentifier - The cluster identifier of
-- the cluster associated with the endpoint.
--
-- $sel:endpointCreateTime:EndpointAccess',
-- endpointAccess_endpointCreateTime - The time (UTC) that the
-- endpoint was created.
--
-- $sel:endpointName:EndpointAccess',
-- endpointAccess_endpointName - The name of the endpoint.
--
-- $sel:endpointStatus:EndpointAccess',
-- endpointAccess_endpointStatus - The status of the endpoint.
--
-- $sel:port:EndpointAccess', endpointAccess_port - The
-- port number on which the cluster accepts incoming connections.
--
-- $sel:resourceOwner:EndpointAccess',
-- endpointAccess_resourceOwner - The Amazon Web Services account
-- ID of the owner of the cluster.
--
-- $sel:subnetGroupName:EndpointAccess',
-- endpointAccess_subnetGroupName - The subnet group name where
-- Amazon Redshift chooses to deploy the endpoint.
--
-- $sel:vpcEndpoint:EndpointAccess',
-- endpointAccess_vpcEndpoint - Undocumented member.
--
-- $sel:vpcSecurityGroups:EndpointAccess',
-- endpointAccess_vpcSecurityGroups - The security groups
-- associated with the endpoint.
newEndpointAccess :: EndpointAccess
-- | See: newCreateEventSubscription smart constructor.
data CreateEventSubscription
CreateEventSubscription' :: Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe [Tag] -> Text -> Text -> CreateEventSubscription
-- | Create a value of CreateEventSubscription 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:
--
-- CreateEventSubscription, createEventSubscription_enabled
-- - A boolean value; set to true to activate the subscription,
-- and set to false to create the subscription but not activate
-- it.
--
-- CreateEventSubscription,
-- createEventSubscription_eventCategories - Specifies the Amazon
-- Redshift event categories to be published by the event notification
-- subscription.
--
-- Values: configuration, management, monitoring, security, pending
--
-- CreateEventSubscription,
-- createEventSubscription_severity - Specifies the Amazon
-- Redshift event severity to be published by the event notification
-- subscription.
--
-- Values: ERROR, INFO
--
-- $sel:sourceIds:CreateEventSubscription',
-- createEventSubscription_sourceIds - A list of one or more
-- identifiers of Amazon Redshift source objects. All of the objects must
-- be of the same type as was specified in the source type parameter. The
-- event subscription will return only events generated by the specified
-- objects. If not specified, then events are returned for all objects
-- within the source type specified.
--
-- Example: my-cluster-1, my-cluster-2
--
-- Example: my-snapshot-20131010
--
-- CreateEventSubscription,
-- createEventSubscription_sourceType - The type of source that
-- will be generating the events. For example, if you want to be notified
-- of events generated by a cluster, you would set this parameter to
-- cluster. If this value is not specified, events are returned for all
-- Amazon Redshift objects in your Amazon Web Services account. You must
-- specify a source type in order to specify source IDs.
--
-- Valid values: cluster, cluster-parameter-group,
-- cluster-security-group, cluster-snapshot, and scheduled-action.
--
-- CreateEventSubscription, createEventSubscription_tags -
-- A list of tag instances.
--
-- $sel:subscriptionName:CreateEventSubscription',
-- createEventSubscription_subscriptionName - The name of the
-- event subscription to be created.
--
-- Constraints:
--
--
-- - Cannot be null, empty, or blank.
-- - Must contain from 1 to 255 alphanumeric characters or
-- hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
--
-- CreateEventSubscription,
-- createEventSubscription_snsTopicArn - The Amazon Resource Name
-- (ARN) of the Amazon SNS topic used to transmit the event
-- notifications. The ARN is created by Amazon SNS when you create a
-- topic and subscribe to it.
newCreateEventSubscription :: Text -> Text -> CreateEventSubscription
-- | See: newCreateEventSubscriptionResponse smart
-- constructor.
data CreateEventSubscriptionResponse
CreateEventSubscriptionResponse' :: Maybe EventSubscription -> Int -> CreateEventSubscriptionResponse
-- | Create a value of CreateEventSubscriptionResponse 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:eventSubscription:CreateEventSubscriptionResponse',
-- createEventSubscriptionResponse_eventSubscription -
-- Undocumented member.
--
-- $sel:httpStatus:CreateEventSubscriptionResponse',
-- createEventSubscriptionResponse_httpStatus - The response's
-- http status code.
newCreateEventSubscriptionResponse :: Int -> CreateEventSubscriptionResponse
-- | See: newCreateHsmClientCertificate smart constructor.
data CreateHsmClientCertificate
CreateHsmClientCertificate' :: Maybe [Tag] -> Text -> CreateHsmClientCertificate
-- | Create a value of CreateHsmClientCertificate 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:
--
-- CreateHsmClientCertificate,
-- createHsmClientCertificate_tags - A list of tag instances.
--
-- CreateHsmClientCertificate,
-- createHsmClientCertificate_hsmClientCertificateIdentifier - The
-- identifier to be assigned to the new HSM client certificate that the
-- cluster will use to connect to the HSM to use the database encryption
-- keys.
newCreateHsmClientCertificate :: Text -> CreateHsmClientCertificate
-- | See: newCreateHsmClientCertificateResponse smart
-- constructor.
data CreateHsmClientCertificateResponse
CreateHsmClientCertificateResponse' :: Maybe HsmClientCertificate -> Int -> CreateHsmClientCertificateResponse
-- | Create a value of CreateHsmClientCertificateResponse 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:hsmClientCertificate:CreateHsmClientCertificateResponse',
-- createHsmClientCertificateResponse_hsmClientCertificate -
-- Undocumented member.
--
-- $sel:httpStatus:CreateHsmClientCertificateResponse',
-- createHsmClientCertificateResponse_httpStatus - The response's
-- http status code.
newCreateHsmClientCertificateResponse :: Int -> CreateHsmClientCertificateResponse
-- | See: newCreateHsmConfiguration smart constructor.
data CreateHsmConfiguration
CreateHsmConfiguration' :: Maybe [Tag] -> Text -> Text -> Text -> Text -> Text -> Text -> CreateHsmConfiguration
-- | Create a value of CreateHsmConfiguration 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:
--
-- CreateHsmConfiguration, createHsmConfiguration_tags - A
-- list of tag instances.
--
-- CreateHsmConfiguration,
-- createHsmConfiguration_hsmConfigurationIdentifier - The
-- identifier to be assigned to the new Amazon Redshift HSM
-- configuration.
--
-- CreateHsmConfiguration,
-- createHsmConfiguration_description - A text description of the
-- HSM configuration to be created.
--
-- CreateHsmConfiguration,
-- createHsmConfiguration_hsmIpAddress - The IP address that the
-- Amazon Redshift cluster must use to access the HSM.
--
-- CreateHsmConfiguration,
-- createHsmConfiguration_hsmPartitionName - The name of the
-- partition in the HSM where the Amazon Redshift clusters will store
-- their database encryption keys.
--
-- $sel:hsmPartitionPassword:CreateHsmConfiguration',
-- createHsmConfiguration_hsmPartitionPassword - The password
-- required to access the HSM partition.
--
-- $sel:hsmServerPublicCertificate:CreateHsmConfiguration',
-- createHsmConfiguration_hsmServerPublicCertificate - The HSMs
-- public certificate file. When using Cloud HSM, the file name is
-- server.pem.
newCreateHsmConfiguration :: Text -> Text -> Text -> Text -> Text -> Text -> CreateHsmConfiguration
-- | See: newCreateHsmConfigurationResponse smart
-- constructor.
data CreateHsmConfigurationResponse
CreateHsmConfigurationResponse' :: Maybe HsmConfiguration -> Int -> CreateHsmConfigurationResponse
-- | Create a value of CreateHsmConfigurationResponse 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:hsmConfiguration:CreateHsmConfigurationResponse',
-- createHsmConfigurationResponse_hsmConfiguration - Undocumented
-- member.
--
-- $sel:httpStatus:CreateHsmConfigurationResponse',
-- createHsmConfigurationResponse_httpStatus - The response's http
-- status code.
newCreateHsmConfigurationResponse :: Int -> CreateHsmConfigurationResponse
-- | See: newCreateScheduledAction smart constructor.
data CreateScheduledAction
CreateScheduledAction' :: Maybe Bool -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Text -> ScheduledActionType -> Text -> Text -> CreateScheduledAction
-- | Create a value of CreateScheduledAction 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:enable:CreateScheduledAction',
-- createScheduledAction_enable - If true, the schedule is
-- enabled. If false, the scheduled action does not trigger. For more
-- information about state of the scheduled action, see
-- ScheduledAction.
--
-- CreateScheduledAction, createScheduledAction_endTime -
-- The end time in UTC of the scheduled action. After this time, the
-- scheduled action does not trigger. For more information about this
-- parameter, see ScheduledAction.
--
-- CreateScheduledAction,
-- createScheduledAction_scheduledActionDescription - The
-- description of the scheduled action.
--
-- CreateScheduledAction, createScheduledAction_startTime -
-- The start time in UTC of the scheduled action. Before this time, the
-- scheduled action does not trigger. For more information about this
-- parameter, see ScheduledAction.
--
-- CreateScheduledAction,
-- createScheduledAction_scheduledActionName - The name of the
-- scheduled action. The name must be unique within an account. For more
-- information about this parameter, see ScheduledAction.
--
-- CreateScheduledAction,
-- createScheduledAction_targetAction - A JSON format string of
-- the Amazon Redshift API operation with input parameters. For more
-- information about this parameter, see ScheduledAction.
--
-- CreateScheduledAction, createScheduledAction_schedule -
-- The schedule in at( ) or cron( ) format. For more
-- information about this parameter, see ScheduledAction.
--
-- CreateScheduledAction, createScheduledAction_iamRole -
-- The IAM role to assume to run the target action. For more information
-- about this parameter, see ScheduledAction.
newCreateScheduledAction :: Text -> ScheduledActionType -> Text -> Text -> CreateScheduledAction
-- | Describes a scheduled action. You can use a scheduled action to
-- trigger some Amazon Redshift API operations on a schedule. For
-- information about which API operations can be scheduled, see
-- ScheduledActionType.
--
-- See: newScheduledAction smart constructor.
data ScheduledAction
ScheduledAction' :: Maybe ISO8601 -> Maybe Text -> Maybe [ISO8601] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionState -> Maybe ScheduledActionType -> ScheduledAction
-- | Create a value of ScheduledAction 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:ScheduledAction', scheduledAction_endTime -
-- The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
--
-- $sel:iamRole:ScheduledAction', scheduledAction_iamRole -
-- The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- $sel:nextInvocations:ScheduledAction',
-- scheduledAction_nextInvocations - List of times when the
-- scheduled action will run.
--
-- $sel:schedule:ScheduledAction', scheduledAction_schedule
-- - The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
--
-- $sel:scheduledActionDescription:ScheduledAction',
-- scheduledAction_scheduledActionDescription - The description of
-- the scheduled action.
--
-- $sel:scheduledActionName:ScheduledAction',
-- scheduledAction_scheduledActionName - The name of the scheduled
-- action.
--
-- $sel:startTime:ScheduledAction',
-- scheduledAction_startTime - The start time in UTC when the
-- schedule is active. Before this time, the scheduled action does not
-- trigger.
--
-- $sel:state:ScheduledAction', scheduledAction_state - The
-- state of the scheduled action. For example, DISABLED.
--
-- $sel:targetAction:ScheduledAction',
-- scheduledAction_targetAction - A JSON format string of the
-- Amazon Redshift API operation with input parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
newScheduledAction :: ScheduledAction
-- | The result of the CreateSnapshotCopyGrant action.
--
-- See: newCreateSnapshotCopyGrant smart constructor.
data CreateSnapshotCopyGrant
CreateSnapshotCopyGrant' :: Maybe Text -> Maybe [Tag] -> Text -> CreateSnapshotCopyGrant
-- | Create a value of CreateSnapshotCopyGrant 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:
--
-- CreateSnapshotCopyGrant,
-- createSnapshotCopyGrant_kmsKeyId - The unique identifier of the
-- encrypted symmetric key to which to grant Amazon Redshift permission.
-- If no key is specified, the default key is used.
--
-- CreateSnapshotCopyGrant, createSnapshotCopyGrant_tags -
-- A list of tag instances.
--
-- CreateSnapshotCopyGrant,
-- createSnapshotCopyGrant_snapshotCopyGrantName - The name of the
-- snapshot copy grant. This name must be unique in the region for the
-- Amazon Web Services account.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
newCreateSnapshotCopyGrant :: Text -> CreateSnapshotCopyGrant
-- | See: newCreateSnapshotCopyGrantResponse smart
-- constructor.
data CreateSnapshotCopyGrantResponse
CreateSnapshotCopyGrantResponse' :: Maybe SnapshotCopyGrant -> Int -> CreateSnapshotCopyGrantResponse
-- | Create a value of CreateSnapshotCopyGrantResponse 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:snapshotCopyGrant:CreateSnapshotCopyGrantResponse',
-- createSnapshotCopyGrantResponse_snapshotCopyGrant -
-- Undocumented member.
--
-- $sel:httpStatus:CreateSnapshotCopyGrantResponse',
-- createSnapshotCopyGrantResponse_httpStatus - The response's
-- http status code.
newCreateSnapshotCopyGrantResponse :: Int -> CreateSnapshotCopyGrantResponse
-- | See: newCreateSnapshotSchedule smart constructor.
data CreateSnapshotSchedule
CreateSnapshotSchedule' :: Maybe Bool -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Tag] -> CreateSnapshotSchedule
-- | Create a value of CreateSnapshotSchedule 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:dryRun:CreateSnapshotSchedule',
-- createSnapshotSchedule_dryRun -
--
-- CreateSnapshotSchedule,
-- createSnapshotSchedule_nextInvocations -
--
-- CreateSnapshotSchedule,
-- createSnapshotSchedule_scheduleDefinitions - The definition of
-- the snapshot schedule. The definition is made up of schedule
-- expressions, for example "cron(30 12 *)" or "rate(12 hours)".
--
-- CreateSnapshotSchedule,
-- createSnapshotSchedule_scheduleDescription - The description of
-- the snapshot schedule.
--
-- CreateSnapshotSchedule,
-- createSnapshotSchedule_scheduleIdentifier - A unique identifier
-- for a snapshot schedule. Only alphanumeric characters are allowed for
-- the identifier.
--
-- CreateSnapshotSchedule, createSnapshotSchedule_tags - An
-- optional set of tags you can use to search for the schedule.
newCreateSnapshotSchedule :: CreateSnapshotSchedule
-- | Describes a snapshot schedule. You can set a regular interval for
-- creating snapshots of a cluster. You can also schedule snapshots for
-- specific dates.
--
-- See: newSnapshotSchedule smart constructor.
data SnapshotSchedule
SnapshotSchedule' :: Maybe Int -> Maybe [ClusterAssociatedToSchedule] -> Maybe [ISO8601] -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Tag] -> SnapshotSchedule
-- | Create a value of SnapshotSchedule 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:associatedClusterCount:SnapshotSchedule',
-- snapshotSchedule_associatedClusterCount - The number of
-- clusters associated with the schedule.
--
-- $sel:associatedClusters:SnapshotSchedule',
-- snapshotSchedule_associatedClusters - A list of clusters
-- associated with the schedule. A maximum of 100 clusters is returned.
--
-- $sel:nextInvocations:SnapshotSchedule',
-- snapshotSchedule_nextInvocations -
--
-- $sel:scheduleDefinitions:SnapshotSchedule',
-- snapshotSchedule_scheduleDefinitions - A list of
-- ScheduleDefinitions.
--
-- $sel:scheduleDescription:SnapshotSchedule',
-- snapshotSchedule_scheduleDescription - The description of the
-- schedule.
--
-- $sel:scheduleIdentifier:SnapshotSchedule',
-- snapshotSchedule_scheduleIdentifier - A unique identifier for
-- the schedule.
--
-- $sel:tags:SnapshotSchedule', snapshotSchedule_tags - An
-- optional set of tags describing the schedule.
newSnapshotSchedule :: SnapshotSchedule
-- | Contains the output from the CreateTags action.
--
-- See: newCreateTags smart constructor.
data CreateTags
CreateTags' :: Text -> [Tag] -> CreateTags
-- | Create a value of CreateTags 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:
--
-- CreateTags, createTags_resourceName - The Amazon
-- Resource Name (ARN) to which you want to add the tag or tags. For
-- example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
--
-- CreateTags, createTags_tags - One or more name/value
-- pairs to add as tags to the specified resource. Each tag name is
-- passed in with the parameter Key and the corresponding value
-- is passed in with the parameter Value. The Key and
-- Value parameters are separated by a comma (,). Separate
-- multiple tags with a space. For example, --tags
-- "Key"="owner","Value"="admin" "Key"="environment","Value"="test"
-- "Key"="version","Value"="1.0".
newCreateTags :: Text -> CreateTags
-- | See: newCreateTagsResponse smart constructor.
data CreateTagsResponse
CreateTagsResponse' :: CreateTagsResponse
-- | Create a value of CreateTagsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newCreateTagsResponse :: CreateTagsResponse
-- | See: newCreateUsageLimit smart constructor.
data CreateUsageLimit
CreateUsageLimit' :: Maybe UsageLimitBreachAction -> Maybe UsageLimitPeriod -> Maybe [Tag] -> Text -> UsageLimitFeatureType -> UsageLimitLimitType -> Integer -> 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 takes when the limit is reached. The
-- default is log. For more information about this parameter, see
-- UsageLimit.
--
-- CreateUsageLimit, createUsageLimit_period - The time
-- period that the amount applies to. A weekly period begins on
-- Sunday. The default is monthly.
--
-- CreateUsageLimit, createUsageLimit_tags - A list of tag
-- instances.
--
-- CreateUsageLimit, createUsageLimit_clusterIdentifier -
-- The identifier of the cluster that you want to limit usage.
--
-- CreateUsageLimit, createUsageLimit_featureType - The
-- Amazon Redshift feature that you want to limit.
--
-- CreateUsageLimit, createUsageLimit_limitType - The type
-- of limit. Depending on the feature type, this can be based on a time
-- duration or data size. If FeatureType is spectrum,
-- then LimitType must be data-scanned. If
-- FeatureType is concurrency-scaling, then
-- LimitType must be time. If FeatureType is
-- cross-region-datasharing, then LimitType must be
-- data-scanned.
--
-- CreateUsageLimit, createUsageLimit_amount - The limit
-- amount. If time-based, this amount is in minutes. If data-based, this
-- amount is in terabytes (TB). The value must be a positive number.
newCreateUsageLimit :: Text -> UsageLimitFeatureType -> UsageLimitLimitType -> Integer -> CreateUsageLimit
-- | Describes a usage limit object for a cluster.
--
-- See: newUsageLimit smart constructor.
data UsageLimit
UsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Maybe Text -> Maybe UsageLimitFeatureType -> Maybe UsageLimitLimitType -> Maybe UsageLimitPeriod -> Maybe [Tag] -> Maybe Text -> 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 minutes. If data-based, this
-- amount is in terabytes (TB).
--
-- $sel:breachAction:UsageLimit', usageLimit_breachAction -
-- The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
--
-- $sel:clusterIdentifier:UsageLimit',
-- usageLimit_clusterIdentifier - The identifier of the cluster
-- with a usage limit.
--
-- $sel:featureType:UsageLimit', usageLimit_featureType -
-- The Amazon Redshift feature to which the limit applies.
--
-- $sel:limitType:UsageLimit', usageLimit_limitType - The
-- type of limit. Depending on the feature type, this can be based on a
-- time duration or data size.
--
-- $sel:period:UsageLimit', usageLimit_period - The time
-- period that the amount applies to. A weekly period begins on
-- Sunday. The default is monthly.
--
-- $sel:tags:UsageLimit', usageLimit_tags - A list of tag
-- instances.
--
-- $sel:usageLimitId:UsageLimit', usageLimit_usageLimitId -
-- The identifier of the usage limit.
newUsageLimit :: UsageLimit
-- | See: newDeauthorizeDataShare smart constructor.
data DeauthorizeDataShare
DeauthorizeDataShare' :: Text -> Text -> DeauthorizeDataShare
-- | Create a value of DeauthorizeDataShare 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:
--
-- DeauthorizeDataShare, deauthorizeDataShare_dataShareArn
-- - The Amazon Resource Name (ARN) of the datashare to remove
-- authorization from.
--
-- DeauthorizeDataShare,
-- deauthorizeDataShare_consumerIdentifier - The identifier of the
-- data consumer that is to have authorization removed from the
-- datashare. This identifier is an Amazon Web Services account ID or a
-- keyword, such as ADX.
newDeauthorizeDataShare :: Text -> Text -> DeauthorizeDataShare
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | See: newDeleteAuthenticationProfile smart constructor.
data DeleteAuthenticationProfile
DeleteAuthenticationProfile' :: Text -> DeleteAuthenticationProfile
-- | Create a value of DeleteAuthenticationProfile 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:
--
-- DeleteAuthenticationProfile,
-- deleteAuthenticationProfile_authenticationProfileName - The
-- name of the authentication profile to delete.
newDeleteAuthenticationProfile :: Text -> DeleteAuthenticationProfile
-- | See: newDeleteAuthenticationProfileResponse smart
-- constructor.
data DeleteAuthenticationProfileResponse
DeleteAuthenticationProfileResponse' :: Maybe Text -> Int -> DeleteAuthenticationProfileResponse
-- | Create a value of DeleteAuthenticationProfileResponse 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:
--
-- DeleteAuthenticationProfile,
-- deleteAuthenticationProfileResponse_authenticationProfileName -
-- The name of the authentication profile that was deleted.
--
-- $sel:httpStatus:DeleteAuthenticationProfileResponse',
-- deleteAuthenticationProfileResponse_httpStatus - The response's
-- http status code.
newDeleteAuthenticationProfileResponse :: Int -> DeleteAuthenticationProfileResponse
-- | See: newDeleteCluster smart constructor.
data DeleteCluster
DeleteCluster' :: Maybe Text -> Maybe Int -> Maybe Bool -> Text -> DeleteCluster
-- | Create a value of DeleteCluster 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:finalClusterSnapshotIdentifier:DeleteCluster',
-- deleteCluster_finalClusterSnapshotIdentifier - The identifier
-- of the final snapshot that is to be created immediately before
-- deleting the cluster. If this parameter is provided,
-- SkipFinalClusterSnapshot must be false.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
--
-- $sel:finalClusterSnapshotRetentionPeriod:DeleteCluster',
-- deleteCluster_finalClusterSnapshotRetentionPeriod - The number
-- of days that a manual snapshot is retained. If the value is -1, the
-- manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
--
-- $sel:skipFinalClusterSnapshot:DeleteCluster',
-- deleteCluster_skipFinalClusterSnapshot - Determines whether a
-- final snapshot of the cluster is created before Amazon Redshift
-- deletes the cluster. If true, a final cluster snapshot is not
-- created. If false, a final cluster snapshot is created before
-- the cluster is deleted.
--
-- The FinalClusterSnapshotIdentifier parameter must be specified
-- if SkipFinalClusterSnapshot is false.
--
-- Default: false
--
-- DeleteCluster, deleteCluster_clusterIdentifier - The
-- identifier of the cluster to be deleted.
--
-- Constraints:
--
--
-- - Must contain lowercase characters.
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
newDeleteCluster :: Text -> DeleteCluster
-- | See: newDeleteClusterResponse smart constructor.
data DeleteClusterResponse
DeleteClusterResponse' :: Maybe Cluster -> Int -> DeleteClusterResponse
-- | Create a value of DeleteClusterResponse 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:cluster:DeleteClusterResponse',
-- deleteClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:DeleteClusterResponse',
-- deleteClusterResponse_httpStatus - The response's http status
-- code.
newDeleteClusterResponse :: Int -> DeleteClusterResponse
-- | See: newDeleteClusterParameterGroup smart constructor.
data DeleteClusterParameterGroup
DeleteClusterParameterGroup' :: Text -> DeleteClusterParameterGroup
-- | Create a value of DeleteClusterParameterGroup 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:
--
-- DeleteClusterParameterGroup,
-- deleteClusterParameterGroup_parameterGroupName - The name of
-- the parameter group to be deleted.
--
-- Constraints:
--
--
-- - Must be the name of an existing cluster parameter group.
-- - Cannot delete a default cluster parameter group.
--
newDeleteClusterParameterGroup :: Text -> DeleteClusterParameterGroup
-- | See: newDeleteClusterParameterGroupResponse smart
-- constructor.
data DeleteClusterParameterGroupResponse
DeleteClusterParameterGroupResponse' :: DeleteClusterParameterGroupResponse
-- | Create a value of DeleteClusterParameterGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteClusterParameterGroupResponse :: DeleteClusterParameterGroupResponse
-- | See: newDeleteClusterSecurityGroup smart constructor.
data DeleteClusterSecurityGroup
DeleteClusterSecurityGroup' :: Text -> DeleteClusterSecurityGroup
-- | Create a value of DeleteClusterSecurityGroup 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:
--
-- DeleteClusterSecurityGroup,
-- deleteClusterSecurityGroup_clusterSecurityGroupName - The name
-- of the cluster security group to be deleted.
newDeleteClusterSecurityGroup :: Text -> DeleteClusterSecurityGroup
-- | See: newDeleteClusterSecurityGroupResponse smart
-- constructor.
data DeleteClusterSecurityGroupResponse
DeleteClusterSecurityGroupResponse' :: DeleteClusterSecurityGroupResponse
-- | Create a value of DeleteClusterSecurityGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteClusterSecurityGroupResponse :: DeleteClusterSecurityGroupResponse
-- | See: newDeleteClusterSnapshot smart constructor.
data DeleteClusterSnapshot
DeleteClusterSnapshot' :: Maybe Text -> Text -> DeleteClusterSnapshot
-- | Create a value of DeleteClusterSnapshot 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:
--
-- DeleteClusterSnapshot,
-- deleteClusterSnapshot_snapshotClusterIdentifier - The unique
-- identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
--
-- DeleteClusterSnapshot,
-- deleteClusterSnapshot_snapshotIdentifier - The unique
-- identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
newDeleteClusterSnapshot :: Text -> DeleteClusterSnapshot
-- | See: newDeleteClusterSnapshotResponse smart constructor.
data DeleteClusterSnapshotResponse
DeleteClusterSnapshotResponse' :: Maybe Snapshot -> Int -> DeleteClusterSnapshotResponse
-- | Create a value of DeleteClusterSnapshotResponse 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:DeleteClusterSnapshotResponse',
-- deleteClusterSnapshotResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:DeleteClusterSnapshotResponse',
-- deleteClusterSnapshotResponse_httpStatus - The response's http
-- status code.
newDeleteClusterSnapshotResponse :: Int -> DeleteClusterSnapshotResponse
-- | See: newDeleteClusterSubnetGroup smart constructor.
data DeleteClusterSubnetGroup
DeleteClusterSubnetGroup' :: Text -> DeleteClusterSubnetGroup
-- | Create a value of DeleteClusterSubnetGroup 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:
--
-- DeleteClusterSubnetGroup,
-- deleteClusterSubnetGroup_clusterSubnetGroupName - The name of
-- the cluster subnet group name to be deleted.
newDeleteClusterSubnetGroup :: Text -> DeleteClusterSubnetGroup
-- | See: newDeleteClusterSubnetGroupResponse smart
-- constructor.
data DeleteClusterSubnetGroupResponse
DeleteClusterSubnetGroupResponse' :: DeleteClusterSubnetGroupResponse
-- | Create a value of DeleteClusterSubnetGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteClusterSubnetGroupResponse :: DeleteClusterSubnetGroupResponse
-- | 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 Redshift-managed VPC endpoint to delete.
newDeleteEndpointAccess :: Text -> DeleteEndpointAccess
-- | Describes a Redshift-managed VPC endpoint.
--
-- See: newEndpointAccess smart constructor.
data EndpointAccess
EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> 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:clusterIdentifier:EndpointAccess',
-- endpointAccess_clusterIdentifier - The cluster identifier of
-- the cluster associated with the endpoint.
--
-- $sel:endpointCreateTime:EndpointAccess',
-- endpointAccess_endpointCreateTime - The time (UTC) that the
-- endpoint was created.
--
-- $sel:endpointName:EndpointAccess',
-- endpointAccess_endpointName - The name of the endpoint.
--
-- $sel:endpointStatus:EndpointAccess',
-- endpointAccess_endpointStatus - The status of the endpoint.
--
-- $sel:port:EndpointAccess', endpointAccess_port - The
-- port number on which the cluster accepts incoming connections.
--
-- $sel:resourceOwner:EndpointAccess',
-- endpointAccess_resourceOwner - The Amazon Web Services account
-- ID of the owner of the cluster.
--
-- $sel:subnetGroupName:EndpointAccess',
-- endpointAccess_subnetGroupName - The subnet group name where
-- Amazon Redshift chooses to deploy the endpoint.
--
-- $sel:vpcEndpoint:EndpointAccess',
-- endpointAccess_vpcEndpoint - Undocumented member.
--
-- $sel:vpcSecurityGroups:EndpointAccess',
-- endpointAccess_vpcSecurityGroups - The security groups
-- associated with the endpoint.
newEndpointAccess :: EndpointAccess
-- | See: newDeleteEventSubscription smart constructor.
data DeleteEventSubscription
DeleteEventSubscription' :: Text -> DeleteEventSubscription
-- | Create a value of DeleteEventSubscription 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:subscriptionName:DeleteEventSubscription',
-- deleteEventSubscription_subscriptionName - The name of the
-- Amazon Redshift event notification subscription to be deleted.
newDeleteEventSubscription :: Text -> DeleteEventSubscription
-- | See: newDeleteEventSubscriptionResponse smart
-- constructor.
data DeleteEventSubscriptionResponse
DeleteEventSubscriptionResponse' :: DeleteEventSubscriptionResponse
-- | Create a value of DeleteEventSubscriptionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteEventSubscriptionResponse :: DeleteEventSubscriptionResponse
-- | See: newDeleteHsmClientCertificate smart constructor.
data DeleteHsmClientCertificate
DeleteHsmClientCertificate' :: Text -> DeleteHsmClientCertificate
-- | Create a value of DeleteHsmClientCertificate 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:
--
-- DeleteHsmClientCertificate,
-- deleteHsmClientCertificate_hsmClientCertificateIdentifier - The
-- identifier of the HSM client certificate to be deleted.
newDeleteHsmClientCertificate :: Text -> DeleteHsmClientCertificate
-- | See: newDeleteHsmClientCertificateResponse smart
-- constructor.
data DeleteHsmClientCertificateResponse
DeleteHsmClientCertificateResponse' :: DeleteHsmClientCertificateResponse
-- | Create a value of DeleteHsmClientCertificateResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteHsmClientCertificateResponse :: DeleteHsmClientCertificateResponse
-- | See: newDeleteHsmConfiguration smart constructor.
data DeleteHsmConfiguration
DeleteHsmConfiguration' :: Text -> DeleteHsmConfiguration
-- | Create a value of DeleteHsmConfiguration 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:
--
-- DeleteHsmConfiguration,
-- deleteHsmConfiguration_hsmConfigurationIdentifier - The
-- identifier of the Amazon Redshift HSM configuration to be deleted.
newDeleteHsmConfiguration :: Text -> DeleteHsmConfiguration
-- | See: newDeleteHsmConfigurationResponse smart
-- constructor.
data DeleteHsmConfigurationResponse
DeleteHsmConfigurationResponse' :: DeleteHsmConfigurationResponse
-- | Create a value of DeleteHsmConfigurationResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteHsmConfigurationResponse :: DeleteHsmConfigurationResponse
-- | See: newDeletePartner smart constructor.
data DeletePartner
DeletePartner' :: Text -> Text -> Text -> Text -> DeletePartner
-- | Create a value of DeletePartner 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:
--
-- DeletePartner, deletePartner_accountId - The Amazon Web
-- Services account ID that owns the cluster.
--
-- DeletePartner, deletePartner_clusterIdentifier - The
-- cluster identifier of the cluster that receives data from the partner.
--
-- DeletePartner, deletePartner_databaseName - The name of
-- the database that receives data from the partner.
--
-- DeletePartner, deletePartner_partnerName - The name of
-- the partner that is authorized to send data.
newDeletePartner :: Text -> Text -> Text -> Text -> DeletePartner
-- | See: newPartnerIntegrationOutputMessage smart
-- constructor.
data PartnerIntegrationOutputMessage
PartnerIntegrationOutputMessage' :: Maybe Text -> Maybe Text -> PartnerIntegrationOutputMessage
-- | Create a value of PartnerIntegrationOutputMessage 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:databaseName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage
-- | See: newDeleteScheduledAction smart constructor.
data DeleteScheduledAction
DeleteScheduledAction' :: Text -> DeleteScheduledAction
-- | Create a value of DeleteScheduledAction 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:
--
-- DeleteScheduledAction,
-- deleteScheduledAction_scheduledActionName - The name of the
-- scheduled action to delete.
newDeleteScheduledAction :: Text -> DeleteScheduledAction
-- | See: newDeleteScheduledActionResponse smart constructor.
data DeleteScheduledActionResponse
DeleteScheduledActionResponse' :: DeleteScheduledActionResponse
-- | Create a value of DeleteScheduledActionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteScheduledActionResponse :: DeleteScheduledActionResponse
-- | The result of the DeleteSnapshotCopyGrant action.
--
-- See: newDeleteSnapshotCopyGrant smart constructor.
data DeleteSnapshotCopyGrant
DeleteSnapshotCopyGrant' :: Text -> DeleteSnapshotCopyGrant
-- | Create a value of DeleteSnapshotCopyGrant 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:
--
-- DeleteSnapshotCopyGrant,
-- deleteSnapshotCopyGrant_snapshotCopyGrantName - The name of the
-- snapshot copy grant to delete.
newDeleteSnapshotCopyGrant :: Text -> DeleteSnapshotCopyGrant
-- | See: newDeleteSnapshotCopyGrantResponse smart
-- constructor.
data DeleteSnapshotCopyGrantResponse
DeleteSnapshotCopyGrantResponse' :: DeleteSnapshotCopyGrantResponse
-- | Create a value of DeleteSnapshotCopyGrantResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteSnapshotCopyGrantResponse :: DeleteSnapshotCopyGrantResponse
-- | See: newDeleteSnapshotSchedule smart constructor.
data DeleteSnapshotSchedule
DeleteSnapshotSchedule' :: Text -> DeleteSnapshotSchedule
-- | Create a value of DeleteSnapshotSchedule 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:
--
-- DeleteSnapshotSchedule,
-- deleteSnapshotSchedule_scheduleIdentifier - A unique identifier
-- of the snapshot schedule to delete.
newDeleteSnapshotSchedule :: Text -> DeleteSnapshotSchedule
-- | See: newDeleteSnapshotScheduleResponse smart
-- constructor.
data DeleteSnapshotScheduleResponse
DeleteSnapshotScheduleResponse' :: DeleteSnapshotScheduleResponse
-- | Create a value of DeleteSnapshotScheduleResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteSnapshotScheduleResponse :: DeleteSnapshotScheduleResponse
-- | Contains the output from the DeleteTags action.
--
-- See: newDeleteTags smart constructor.
data DeleteTags
DeleteTags' :: Text -> [Text] -> DeleteTags
-- | Create a value of DeleteTags 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:
--
-- DeleteTags, deleteTags_resourceName - The Amazon
-- Resource Name (ARN) from which you want to remove the tag or tags. For
-- example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
--
-- $sel:tagKeys:DeleteTags', deleteTags_tagKeys - The tag
-- key that you want to delete.
newDeleteTags :: Text -> DeleteTags
-- | See: newDeleteTagsResponse smart constructor.
data DeleteTagsResponse
DeleteTagsResponse' :: DeleteTagsResponse
-- | Create a value of DeleteTagsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteTagsResponse :: DeleteTagsResponse
-- | 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
-- identifier of the usage limit to delete.
newDeleteUsageLimit :: Text -> DeleteUsageLimit
-- | See: newDeleteUsageLimitResponse smart constructor.
data DeleteUsageLimitResponse
DeleteUsageLimitResponse' :: DeleteUsageLimitResponse
-- | Create a value of DeleteUsageLimitResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteUsageLimitResponse :: DeleteUsageLimitResponse
-- | See: newDescribeAccountAttributes smart constructor.
data DescribeAccountAttributes
DescribeAccountAttributes' :: Maybe [Text] -> DescribeAccountAttributes
-- | Create a value of DescribeAccountAttributes 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:attributeNames:DescribeAccountAttributes',
-- describeAccountAttributes_attributeNames - A list of attribute
-- names.
newDescribeAccountAttributes :: DescribeAccountAttributes
-- | See: newDescribeAccountAttributesResponse smart
-- constructor.
data DescribeAccountAttributesResponse
DescribeAccountAttributesResponse' :: Maybe [AccountAttribute] -> Int -> DescribeAccountAttributesResponse
-- | Create a value of DescribeAccountAttributesResponse 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:accountAttributes:DescribeAccountAttributesResponse',
-- describeAccountAttributesResponse_accountAttributes - A list of
-- attributes assigned to an account.
--
-- $sel:httpStatus:DescribeAccountAttributesResponse',
-- describeAccountAttributesResponse_httpStatus - The response's
-- http status code.
newDescribeAccountAttributesResponse :: Int -> DescribeAccountAttributesResponse
-- | See: newDescribeAuthenticationProfiles smart
-- constructor.
data DescribeAuthenticationProfiles
DescribeAuthenticationProfiles' :: Maybe Text -> DescribeAuthenticationProfiles
-- | Create a value of DescribeAuthenticationProfiles 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:
--
-- DescribeAuthenticationProfiles,
-- describeAuthenticationProfiles_authenticationProfileName - The
-- name of the authentication profile to describe. If not specified then
-- all authentication profiles owned by the account are listed.
newDescribeAuthenticationProfiles :: DescribeAuthenticationProfiles
-- | See: newDescribeAuthenticationProfilesResponse smart
-- constructor.
data DescribeAuthenticationProfilesResponse
DescribeAuthenticationProfilesResponse' :: Maybe [AuthenticationProfile] -> Int -> DescribeAuthenticationProfilesResponse
-- | Create a value of DescribeAuthenticationProfilesResponse 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:authenticationProfiles:DescribeAuthenticationProfilesResponse',
-- describeAuthenticationProfilesResponse_authenticationProfiles -
-- The list of authentication profiles.
--
-- $sel:httpStatus:DescribeAuthenticationProfilesResponse',
-- describeAuthenticationProfilesResponse_httpStatus - The
-- response's http status code.
newDescribeAuthenticationProfilesResponse :: Int -> DescribeAuthenticationProfilesResponse
-- | See: newDescribeClusterDbRevisions smart constructor.
data DescribeClusterDbRevisions
DescribeClusterDbRevisions' :: Maybe Text -> Maybe Text -> Maybe Int -> DescribeClusterDbRevisions
-- | Create a value of DescribeClusterDbRevisions 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:
--
-- DescribeClusterDbRevisions,
-- describeClusterDbRevisions_clusterIdentifier - A unique
-- identifier for a cluster whose ClusterDbRevisions you are
-- requesting. This parameter is case sensitive. All clusters defined for
-- an account are returned by default.
--
-- DescribeClusterDbRevisions,
-- describeClusterDbRevisions_marker - An optional parameter that
-- specifies the starting point for returning a set of response records.
-- When the results of a DescribeClusterDbRevisions request
-- exceed the value specified in MaxRecords, Amazon Redshift
-- returns a value in the marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the marker parameter and retrying
-- the request.
--
-- Constraints: You can specify either the ClusterIdentifier
-- parameter, or the marker parameter, but not both.
--
-- $sel:maxRecords:DescribeClusterDbRevisions',
-- describeClusterDbRevisions_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a value is
-- returned in the marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the marker parameter and retrying
-- the request.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
newDescribeClusterDbRevisions :: DescribeClusterDbRevisions
-- | See: newDescribeClusterDbRevisionsResponse smart
-- constructor.
data DescribeClusterDbRevisionsResponse
DescribeClusterDbRevisionsResponse' :: Maybe [ClusterDbRevision] -> Maybe Text -> Int -> DescribeClusterDbRevisionsResponse
-- | Create a value of DescribeClusterDbRevisionsResponse 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:clusterDbRevisions:DescribeClusterDbRevisionsResponse',
-- describeClusterDbRevisionsResponse_clusterDbRevisions - A list
-- of revisions.
--
-- DescribeClusterDbRevisions,
-- describeClusterDbRevisionsResponse_marker - A string
-- representing the starting point for the next set of revisions. If a
-- value is returned in a response, you can retrieve the next set of
-- revisions by providing the value in the marker parameter and
-- retrying the command. If the marker field is empty, all
-- revisions have already been returned.
--
-- $sel:httpStatus:DescribeClusterDbRevisionsResponse',
-- describeClusterDbRevisionsResponse_httpStatus - The response's
-- http status code.
newDescribeClusterDbRevisionsResponse :: Int -> DescribeClusterDbRevisionsResponse
-- | See: newDescribeClusterParameterGroups smart
-- constructor.
data DescribeClusterParameterGroups
DescribeClusterParameterGroups' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> DescribeClusterParameterGroups
-- | Create a value of DescribeClusterParameterGroups 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:
--
-- DescribeClusterParameterGroups,
-- describeClusterParameterGroups_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeClusterParameterGroups request exceed
-- the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeClusterParameterGroups',
-- describeClusterParameterGroups_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeClusterParameterGroups,
-- describeClusterParameterGroups_parameterGroupName - The name of
-- a specific parameter group for which to return details. By default,
-- details about all parameter groups and the default parameter group are
-- returned.
--
-- $sel:tagKeys:DescribeClusterParameterGroups',
-- describeClusterParameterGroups_tagKeys - A tag key or keys for
-- which you want to return all matching cluster parameter groups that
-- are associated with the specified key or keys. For example, suppose
-- that you have parameter groups that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- parameter groups that have either or both of these tag keys associated
-- with them.
--
-- $sel:tagValues:DescribeClusterParameterGroups',
-- describeClusterParameterGroups_tagValues - A tag value or
-- values for which you want to return all matching cluster parameter
-- groups that are associated with the specified tag value or values. For
-- example, suppose that you have parameter groups that are tagged with
-- values called admin and test. If you specify both of
-- these tag values in the request, Amazon Redshift returns a response
-- with the parameter groups that have either or both of these tag values
-- associated with them.
newDescribeClusterParameterGroups :: DescribeClusterParameterGroups
-- | Contains the output from the DescribeClusterParameterGroups action.
--
-- See: newDescribeClusterParameterGroupsResponse smart
-- constructor.
data DescribeClusterParameterGroupsResponse
DescribeClusterParameterGroupsResponse' :: Maybe Text -> Maybe [ClusterParameterGroup] -> Int -> DescribeClusterParameterGroupsResponse
-- | Create a value of DescribeClusterParameterGroupsResponse 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:
--
-- DescribeClusterParameterGroups,
-- describeClusterParameterGroupsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:parameterGroups:DescribeClusterParameterGroupsResponse',
-- describeClusterParameterGroupsResponse_parameterGroups - A list
-- of ClusterParameterGroup instances. Each instance describes one
-- cluster parameter group.
--
-- $sel:httpStatus:DescribeClusterParameterGroupsResponse',
-- describeClusterParameterGroupsResponse_httpStatus - The
-- response's http status code.
newDescribeClusterParameterGroupsResponse :: Int -> DescribeClusterParameterGroupsResponse
-- | See: newDescribeClusterParameters smart constructor.
data DescribeClusterParameters
DescribeClusterParameters' :: Maybe Text -> Maybe Int -> Maybe Text -> Text -> DescribeClusterParameters
-- | Create a value of DescribeClusterParameters 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:
--
-- DescribeClusterParameters,
-- describeClusterParameters_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeClusterParameters request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeClusterParameters',
-- describeClusterParameters_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeClusterParameters,
-- describeClusterParameters_source - The parameter types to
-- return. Specify user to show parameters that are different
-- form the default. Similarly, specify engine-default to show
-- parameters that are the same as the default parameter group.
--
-- Default: All parameter types returned.
--
-- Valid Values: user | engine-default
--
-- DescribeClusterParameters,
-- describeClusterParameters_parameterGroupName - The name of a
-- cluster parameter group for which to return details.
newDescribeClusterParameters :: Text -> DescribeClusterParameters
-- | Contains the output from the DescribeClusterParameters action.
--
-- See: newDescribeClusterParametersResponse smart
-- constructor.
data DescribeClusterParametersResponse
DescribeClusterParametersResponse' :: Maybe Text -> Maybe [Parameter] -> Int -> DescribeClusterParametersResponse
-- | Create a value of DescribeClusterParametersResponse 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:
--
-- DescribeClusterParameters,
-- describeClusterParametersResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- DescribeClusterParametersResponse,
-- describeClusterParametersResponse_parameters - A list of
-- Parameter instances. Each instance lists the parameters of one cluster
-- parameter group.
--
-- $sel:httpStatus:DescribeClusterParametersResponse',
-- describeClusterParametersResponse_httpStatus - The response's
-- http status code.
newDescribeClusterParametersResponse :: Int -> DescribeClusterParametersResponse
-- | See: newDescribeClusterSecurityGroups smart constructor.
data DescribeClusterSecurityGroups
DescribeClusterSecurityGroups' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> DescribeClusterSecurityGroups
-- | Create a value of DescribeClusterSecurityGroups 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:
--
-- DescribeClusterSecurityGroups,
-- describeClusterSecurityGroups_clusterSecurityGroupName - The
-- name of a cluster security group for which you are requesting details.
-- You can specify either the Marker parameter or a
-- ClusterSecurityGroupName parameter, but not both.
--
-- Example: securitygroup1
--
-- DescribeClusterSecurityGroups,
-- describeClusterSecurityGroups_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeClusterSecurityGroups request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- Constraints: You can specify either the
-- ClusterSecurityGroupName parameter or the Marker
-- parameter, but not both.
--
-- $sel:maxRecords:DescribeClusterSecurityGroups',
-- describeClusterSecurityGroups_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeClusterSecurityGroups',
-- describeClusterSecurityGroups_tagKeys - A tag key or keys for
-- which you want to return all matching cluster security groups that are
-- associated with the specified key or keys. For example, suppose that
-- you have security groups that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- security groups that have either or both of these tag keys associated
-- with them.
--
-- $sel:tagValues:DescribeClusterSecurityGroups',
-- describeClusterSecurityGroups_tagValues - A tag value or values
-- for which you want to return all matching cluster security groups that
-- are associated with the specified tag value or values. For example,
-- suppose that you have security groups that are tagged with values
-- called admin and test. If you specify both of these
-- tag values in the request, Amazon Redshift returns a response with the
-- security groups that have either or both of these tag values
-- associated with them.
newDescribeClusterSecurityGroups :: DescribeClusterSecurityGroups
-- | See: newDescribeClusterSecurityGroupsResponse smart
-- constructor.
data DescribeClusterSecurityGroupsResponse
DescribeClusterSecurityGroupsResponse' :: Maybe [ClusterSecurityGroup] -> Maybe Text -> Int -> DescribeClusterSecurityGroupsResponse
-- | Create a value of DescribeClusterSecurityGroupsResponse 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:
--
-- DescribeClusterSecurityGroupsResponse,
-- describeClusterSecurityGroupsResponse_clusterSecurityGroups - A
-- list of ClusterSecurityGroup instances.
--
-- DescribeClusterSecurityGroups,
-- describeClusterSecurityGroupsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeClusterSecurityGroupsResponse',
-- describeClusterSecurityGroupsResponse_httpStatus - The
-- response's http status code.
newDescribeClusterSecurityGroupsResponse :: Int -> DescribeClusterSecurityGroupsResponse
-- | See: newDescribeClusterSnapshots smart constructor.
data DescribeClusterSnapshots
DescribeClusterSnapshots' :: Maybe Bool -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [SnapshotSortingEntity] -> Maybe ISO8601 -> Maybe [Text] -> Maybe [Text] -> DescribeClusterSnapshots
-- | Create a value of DescribeClusterSnapshots 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:clusterExists:DescribeClusterSnapshots',
-- describeClusterSnapshots_clusterExists - A value that indicates
-- whether to return snapshots only for an existing cluster. You can
-- perform table-level restore only by using a snapshot of an existing
-- cluster, that is, a cluster that has not been deleted. Values for this
-- parameter work as follows:
--
--
-- - If ClusterExists is set to true,
-- ClusterIdentifier is required.
-- - If ClusterExists is set to false and
-- ClusterIdentifier isn't specified, all snapshots associated
-- with deleted clusters (orphaned snapshots) are returned.
-- - If ClusterExists is set to false and
-- ClusterIdentifier is specified for a deleted cluster,
-- snapshots associated with that cluster are returned.
-- - If ClusterExists is set to false and
-- ClusterIdentifier is specified for an existing cluster, no
-- snapshots are returned.
--
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_clusterIdentifier - The identifier of
-- the cluster which generated the requested snapshots.
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_endTime - A time value that requests
-- only snapshots created at or before the specified time. The time value
-- is specified in ISO 8601 format. For more information about ISO 8601,
-- go to the ISO8601 Wikipedia page.
--
-- Example: 2012-07-16T18:00:00Z
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeClusterSnapshots request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeClusterSnapshots',
-- describeClusterSnapshots_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_ownerAccount - The Amazon Web Services
-- account used to create or copy the snapshot. Use this field to filter
-- the results to snapshots owned by a particular account. To describe
-- snapshots you own, either specify your Amazon Web Services account, or
-- do not specify the parameter.
--
-- $sel:snapshotArn:DescribeClusterSnapshots',
-- describeClusterSnapshots_snapshotArn - The Amazon Resource Name
-- (ARN) of the snapshot associated with the message to describe cluster
-- snapshots.
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_snapshotIdentifier - The snapshot
-- identifier of the snapshot about which to return information.
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_snapshotType - The type of snapshots
-- for which you are requesting information. By default, snapshots of all
-- types are returned.
--
-- Valid Values: automated | manual
--
-- $sel:sortingEntities:DescribeClusterSnapshots',
-- describeClusterSnapshots_sortingEntities -
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshots_startTime - A value that requests only
-- snapshots created at or after the specified time. The time value is
-- specified in ISO 8601 format. For more information about ISO 8601, go
-- to the ISO8601 Wikipedia page.
--
-- Example: 2012-07-16T18:00:00Z
--
-- $sel:tagKeys:DescribeClusterSnapshots',
-- describeClusterSnapshots_tagKeys - A tag key or keys for which
-- you want to return all matching cluster snapshots that are associated
-- with the specified key or keys. For example, suppose that you have
-- snapshots that are tagged with keys called owner and
-- environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with the snapshots that
-- have either or both of these tag keys associated with them.
--
-- $sel:tagValues:DescribeClusterSnapshots',
-- describeClusterSnapshots_tagValues - A tag value or values for
-- which you want to return all matching cluster snapshots that are
-- associated with the specified tag value or values. For example,
-- suppose that you have snapshots that are tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with the
-- snapshots that have either or both of these tag values associated with
-- them.
newDescribeClusterSnapshots :: DescribeClusterSnapshots
-- | Contains the output from the DescribeClusterSnapshots action.
--
-- See: newDescribeClusterSnapshotsResponse smart
-- constructor.
data DescribeClusterSnapshotsResponse
DescribeClusterSnapshotsResponse' :: Maybe Text -> Maybe [Snapshot] -> Int -> DescribeClusterSnapshotsResponse
-- | Create a value of DescribeClusterSnapshotsResponse 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:
--
-- DescribeClusterSnapshots,
-- describeClusterSnapshotsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:snapshots:DescribeClusterSnapshotsResponse',
-- describeClusterSnapshotsResponse_snapshots - A list of Snapshot
-- instances.
--
-- $sel:httpStatus:DescribeClusterSnapshotsResponse',
-- describeClusterSnapshotsResponse_httpStatus - The response's
-- http status code.
newDescribeClusterSnapshotsResponse :: Int -> DescribeClusterSnapshotsResponse
-- | See: newDescribeClusterSubnetGroups smart constructor.
data DescribeClusterSubnetGroups
DescribeClusterSubnetGroups' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> DescribeClusterSubnetGroups
-- | Create a value of DescribeClusterSubnetGroups 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:
--
-- DescribeClusterSubnetGroups,
-- describeClusterSubnetGroups_clusterSubnetGroupName - The name
-- of the cluster subnet group for which information is requested.
--
-- DescribeClusterSubnetGroups,
-- describeClusterSubnetGroups_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeClusterSubnetGroups request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeClusterSubnetGroups',
-- describeClusterSubnetGroups_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeClusterSubnetGroups',
-- describeClusterSubnetGroups_tagKeys - A tag key or keys for
-- which you want to return all matching cluster subnet groups that are
-- associated with the specified key or keys. For example, suppose that
-- you have subnet groups that are tagged with keys called owner
-- and environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with the subnet groups
-- that have either or both of these tag keys associated with them.
--
-- $sel:tagValues:DescribeClusterSubnetGroups',
-- describeClusterSubnetGroups_tagValues - A tag value or values
-- for which you want to return all matching cluster subnet groups that
-- are associated with the specified tag value or values. For example,
-- suppose that you have subnet groups that are tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with the
-- subnet groups that have either or both of these tag values associated
-- with them.
newDescribeClusterSubnetGroups :: DescribeClusterSubnetGroups
-- | Contains the output from the DescribeClusterSubnetGroups action.
--
-- See: newDescribeClusterSubnetGroupsResponse smart
-- constructor.
data DescribeClusterSubnetGroupsResponse
DescribeClusterSubnetGroupsResponse' :: Maybe [ClusterSubnetGroup] -> Maybe Text -> Int -> DescribeClusterSubnetGroupsResponse
-- | Create a value of DescribeClusterSubnetGroupsResponse 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:clusterSubnetGroups:DescribeClusterSubnetGroupsResponse',
-- describeClusterSubnetGroupsResponse_clusterSubnetGroups - A
-- list of ClusterSubnetGroup instances.
--
-- DescribeClusterSubnetGroups,
-- describeClusterSubnetGroupsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeClusterSubnetGroupsResponse',
-- describeClusterSubnetGroupsResponse_httpStatus - The response's
-- http status code.
newDescribeClusterSubnetGroupsResponse :: Int -> DescribeClusterSubnetGroupsResponse
-- | See: newDescribeClusterTracks smart constructor.
data DescribeClusterTracks
DescribeClusterTracks' :: Maybe Text -> Maybe Text -> Maybe Int -> DescribeClusterTracks
-- | Create a value of DescribeClusterTracks 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:
--
-- DescribeClusterTracks,
-- describeClusterTracks_maintenanceTrackName - The name of the
-- maintenance track.
--
-- DescribeClusterTracks, describeClusterTracks_marker - An
-- optional parameter that specifies the starting point to return a set
-- of response records. When the results of a
-- DescribeClusterTracks request exceed the value specified in
-- MaxRecords, Amazon Redshift returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeClusterTracks',
-- describeClusterTracks_maxRecords - An integer value for the
-- maximum number of maintenance tracks to return.
newDescribeClusterTracks :: DescribeClusterTracks
-- | See: newDescribeClusterTracksResponse smart constructor.
data DescribeClusterTracksResponse
DescribeClusterTracksResponse' :: Maybe [MaintenanceTrack] -> Maybe Text -> Int -> DescribeClusterTracksResponse
-- | Create a value of DescribeClusterTracksResponse 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:maintenanceTracks:DescribeClusterTracksResponse',
-- describeClusterTracksResponse_maintenanceTracks - A list of
-- maintenance tracks output by the DescribeClusterTracks
-- operation.
--
-- DescribeClusterTracks,
-- describeClusterTracksResponse_marker - The starting point to
-- return a set of response tracklist records. You can retrieve the next
-- set of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- $sel:httpStatus:DescribeClusterTracksResponse',
-- describeClusterTracksResponse_httpStatus - The response's http
-- status code.
newDescribeClusterTracksResponse :: Int -> DescribeClusterTracksResponse
-- | See: newDescribeClusterVersions smart constructor.
data DescribeClusterVersions
DescribeClusterVersions' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> DescribeClusterVersions
-- | Create a value of DescribeClusterVersions 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:
--
-- DescribeClusterVersions,
-- describeClusterVersions_clusterParameterGroupFamily - The name
-- of a specific cluster parameter group family to return details for.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
--
-- DescribeClusterVersions,
-- describeClusterVersions_clusterVersion - The specific cluster
-- version to return.
--
-- Example: 1.0
--
-- DescribeClusterVersions, describeClusterVersions_marker
-- - An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeClusterVersions
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- $sel:maxRecords:DescribeClusterVersions',
-- describeClusterVersions_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
newDescribeClusterVersions :: DescribeClusterVersions
-- | Contains the output from the DescribeClusterVersions action.
--
-- See: newDescribeClusterVersionsResponse smart
-- constructor.
data DescribeClusterVersionsResponse
DescribeClusterVersionsResponse' :: Maybe [ClusterVersion] -> Maybe Text -> Int -> DescribeClusterVersionsResponse
-- | Create a value of DescribeClusterVersionsResponse 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:clusterVersions:DescribeClusterVersionsResponse',
-- describeClusterVersionsResponse_clusterVersions - A list of
-- Version elements.
--
-- DescribeClusterVersions,
-- describeClusterVersionsResponse_marker - A value that indicates
-- the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeClusterVersionsResponse',
-- describeClusterVersionsResponse_httpStatus - The response's
-- http status code.
newDescribeClusterVersionsResponse :: Int -> DescribeClusterVersionsResponse
-- | See: newDescribeClusters smart constructor.
data DescribeClusters
DescribeClusters' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> DescribeClusters
-- | Create a value of DescribeClusters 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:
--
-- DescribeClusters, describeClusters_clusterIdentifier -
-- The unique identifier of a cluster whose properties you are
-- requesting. This parameter is case sensitive.
--
-- The default is that all clusters defined for an account are returned.
--
-- DescribeClusters, describeClusters_marker - An optional
-- parameter that specifies the starting point to return a set of
-- response records. When the results of a DescribeClusters request
-- exceed the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- Constraints: You can specify either the ClusterIdentifier
-- parameter or the Marker parameter, but not both.
--
-- $sel:maxRecords:DescribeClusters',
-- describeClusters_maxRecords - The maximum number of response
-- records to return in each call. If the number of remaining response
-- records exceeds the specified MaxRecords value, a value is
-- returned in a marker field of the response. You can retrieve
-- the next set of records by retrying the command with the returned
-- marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeClusters', describeClusters_tagKeys
-- - A tag key or keys for which you want to return all matching clusters
-- that are associated with the specified key or keys. For example,
-- suppose that you have clusters that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- clusters that have either or both of these tag keys associated with
-- them.
--
-- $sel:tagValues:DescribeClusters',
-- describeClusters_tagValues - A tag value or values for which
-- you want to return all matching clusters that are associated with the
-- specified tag value or values. For example, suppose that you have
-- clusters that are tagged with values called admin and
-- test. If you specify both of these tag values in the request,
-- Amazon Redshift returns a response with the clusters that have either
-- or both of these tag values associated with them.
newDescribeClusters :: DescribeClusters
-- | Contains the output from the DescribeClusters action.
--
-- See: newDescribeClustersResponse smart constructor.
data DescribeClustersResponse
DescribeClustersResponse' :: Maybe [Cluster] -> Maybe Text -> Int -> DescribeClustersResponse
-- | Create a value of DescribeClustersResponse 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:clusters:DescribeClustersResponse',
-- describeClustersResponse_clusters - A list of Cluster
-- objects, where each object describes one cluster.
--
-- DescribeClusters, describeClustersResponse_marker - A
-- value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the Marker parameter and retrying the
-- command. If the Marker field is empty, all response records
-- have been retrieved for the request.
--
-- $sel:httpStatus:DescribeClustersResponse',
-- describeClustersResponse_httpStatus - The response's http
-- status code.
newDescribeClustersResponse :: Int -> DescribeClustersResponse
-- | See: newDescribeDataShares smart constructor.
data DescribeDataShares
DescribeDataShares' :: Maybe Text -> Maybe Text -> Maybe Int -> DescribeDataShares
-- | Create a value of DescribeDataShares 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:
--
-- DescribeDataShares, describeDataShares_dataShareArn -
-- The identifier of the datashare to describe details of.
--
-- DescribeDataShares, describeDataShares_marker - An
-- optional parameter that specifies the starting point to return a set
-- of response records. When the results of a DescribeDataShares request
-- exceed the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeDataShares',
-- describeDataShares_maxRecords - The maximum number of response
-- records to return in each call. If the number of remaining response
-- records exceeds the specified MaxRecords value, a value is
-- returned in a marker field of the response. You can retrieve
-- the next set of records by retrying the command with the returned
-- marker value.
newDescribeDataShares :: DescribeDataShares
-- | See: newDescribeDataSharesResponse smart constructor.
data DescribeDataSharesResponse
DescribeDataSharesResponse' :: Maybe [DataShare] -> Maybe Text -> Int -> DescribeDataSharesResponse
-- | Create a value of DescribeDataSharesResponse 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:dataShares:DescribeDataSharesResponse',
-- describeDataSharesResponse_dataShares - The results returned
-- from describing datashares.
--
-- DescribeDataShares, describeDataSharesResponse_marker -
-- An optional parameter that specifies the starting point to return a
-- set of response records. When the results of a DescribeDataShares
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- $sel:httpStatus:DescribeDataSharesResponse',
-- describeDataSharesResponse_httpStatus - The response's http
-- status code.
newDescribeDataSharesResponse :: Int -> DescribeDataSharesResponse
-- | See: newDescribeDataSharesForConsumer smart constructor.
data DescribeDataSharesForConsumer
DescribeDataSharesForConsumer' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe DataShareStatusForConsumer -> DescribeDataSharesForConsumer
-- | Create a value of DescribeDataSharesForConsumer 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:consumerArn:DescribeDataSharesForConsumer',
-- describeDataSharesForConsumer_consumerArn - The Amazon Resource
-- Name (ARN) of the consumer that returns in the list of datashares.
--
-- DescribeDataSharesForConsumer,
-- describeDataSharesForConsumer_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeDataSharesForConsumer request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeDataSharesForConsumer',
-- describeDataSharesForConsumer_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- DescribeDataSharesForConsumer,
-- describeDataSharesForConsumer_status - An identifier giving the
-- status of a datashare in the consumer cluster. If this field is
-- specified, Amazon Redshift returns the list of datashares that have
-- the specified status.
newDescribeDataSharesForConsumer :: DescribeDataSharesForConsumer
-- | See: newDescribeDataSharesForConsumerResponse smart
-- constructor.
data DescribeDataSharesForConsumerResponse
DescribeDataSharesForConsumerResponse' :: Maybe [DataShare] -> Maybe Text -> Int -> DescribeDataSharesForConsumerResponse
-- | Create a value of DescribeDataSharesForConsumerResponse 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:dataShares:DescribeDataSharesForConsumerResponse',
-- describeDataSharesForConsumerResponse_dataShares - Shows the
-- results of datashares available for consumers.
--
-- DescribeDataSharesForConsumer,
-- describeDataSharesForConsumerResponse_marker - An optional
-- parameter that specifies the starting point to return a set of
-- response records. When the results of a DescribeDataSharesForConsumer
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- $sel:httpStatus:DescribeDataSharesForConsumerResponse',
-- describeDataSharesForConsumerResponse_httpStatus - The
-- response's http status code.
newDescribeDataSharesForConsumerResponse :: Int -> DescribeDataSharesForConsumerResponse
-- | See: newDescribeDataSharesForProducer smart constructor.
data DescribeDataSharesForProducer
DescribeDataSharesForProducer' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe DataShareStatusForProducer -> DescribeDataSharesForProducer
-- | Create a value of DescribeDataSharesForProducer 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:
--
-- DescribeDataSharesForProducer,
-- describeDataSharesForProducer_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeDataSharesForProducer request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeDataSharesForProducer',
-- describeDataSharesForProducer_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- DescribeDataSharesForProducer,
-- describeDataSharesForProducer_producerArn - The Amazon Resource
-- Name (ARN) of the producer that returns in the list of datashares.
--
-- DescribeDataSharesForProducer,
-- describeDataSharesForProducer_status - An identifier giving the
-- status of a datashare in the producer. If this field is specified,
-- Amazon Redshift returns the list of datashares that have the specified
-- status.
newDescribeDataSharesForProducer :: DescribeDataSharesForProducer
-- | See: newDescribeDataSharesForProducerResponse smart
-- constructor.
data DescribeDataSharesForProducerResponse
DescribeDataSharesForProducerResponse' :: Maybe [DataShare] -> Maybe Text -> Int -> DescribeDataSharesForProducerResponse
-- | Create a value of DescribeDataSharesForProducerResponse 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:dataShares:DescribeDataSharesForProducerResponse',
-- describeDataSharesForProducerResponse_dataShares - Shows the
-- results of datashares available for producers.
--
-- DescribeDataSharesForProducer,
-- describeDataSharesForProducerResponse_marker - An optional
-- parameter that specifies the starting point to return a set of
-- response records. When the results of a DescribeDataSharesForProducer
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- $sel:httpStatus:DescribeDataSharesForProducerResponse',
-- describeDataSharesForProducerResponse_httpStatus - The
-- response's http status code.
newDescribeDataSharesForProducerResponse :: Int -> DescribeDataSharesForProducerResponse
-- | See: newDescribeDefaultClusterParameters smart
-- constructor.
data DescribeDefaultClusterParameters
DescribeDefaultClusterParameters' :: Maybe Text -> Maybe Int -> Text -> DescribeDefaultClusterParameters
-- | Create a value of DescribeDefaultClusterParameters 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:
--
-- DescribeDefaultClusterParameters,
-- describeDefaultClusterParameters_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeDefaultClusterParameters request exceed
-- the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeDefaultClusterParameters',
-- describeDefaultClusterParameters_maxRecords - The maximum
-- number of response records to return in each call. If the number of
-- remaining response records exceeds the specified MaxRecords
-- value, a value is returned in a marker field of the response.
-- You can retrieve the next set of records by retrying the command with
-- the returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeDefaultClusterParameters,
-- describeDefaultClusterParameters_parameterGroupFamily - The
-- name of the cluster parameter group family.
newDescribeDefaultClusterParameters :: Text -> DescribeDefaultClusterParameters
-- | See: newDescribeDefaultClusterParametersResponse smart
-- constructor.
data DescribeDefaultClusterParametersResponse
DescribeDefaultClusterParametersResponse' :: Int -> DefaultClusterParameters -> DescribeDefaultClusterParametersResponse
-- | Create a value of DescribeDefaultClusterParametersResponse 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:DescribeDefaultClusterParametersResponse',
-- describeDefaultClusterParametersResponse_httpStatus - The
-- response's http status code.
--
--
-- $sel:defaultClusterParameters:DescribeDefaultClusterParametersResponse',
-- describeDefaultClusterParametersResponse_defaultClusterParameters
-- - Undocumented member.
newDescribeDefaultClusterParametersResponse :: Int -> DefaultClusterParameters -> DescribeDefaultClusterParametersResponse
-- | See: newDescribeEndpointAccess smart constructor.
data DescribeEndpointAccess
DescribeEndpointAccess' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> DescribeEndpointAccess
-- | Create a value of DescribeEndpointAccess 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:
--
-- DescribeEndpointAccess,
-- describeEndpointAccess_clusterIdentifier - The cluster
-- identifier associated with the described endpoint.
--
-- DescribeEndpointAccess,
-- describeEndpointAccess_endpointName - The name of the endpoint
-- to be described.
--
-- DescribeEndpointAccess, describeEndpointAccess_marker -
-- An optional pagination token provided by a previous
-- DescribeEndpointAccess request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
--
-- $sel:maxRecords:DescribeEndpointAccess',
-- describeEndpointAccess_maxRecords - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxRecords value, a pagination token called a
-- Marker is included in the response so that the remaining
-- results can be retrieved.
--
-- DescribeEndpointAccess,
-- describeEndpointAccess_resourceOwner - The Amazon Web Services
-- account ID of the owner of the cluster.
--
-- DescribeEndpointAccess, describeEndpointAccess_vpcId -
-- The virtual private cloud (VPC) identifier with access to the cluster.
newDescribeEndpointAccess :: DescribeEndpointAccess
-- | See: newDescribeEndpointAccessResponse smart
-- constructor.
data DescribeEndpointAccessResponse
DescribeEndpointAccessResponse' :: Maybe [EndpointAccess] -> Maybe Text -> Int -> DescribeEndpointAccessResponse
-- | Create a value of DescribeEndpointAccessResponse 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:endpointAccessList:DescribeEndpointAccessResponse',
-- describeEndpointAccessResponse_endpointAccessList - The list of
-- endpoints with access to the cluster.
--
-- DescribeEndpointAccess,
-- describeEndpointAccessResponse_marker - An optional pagination
-- token provided by a previous DescribeEndpointAccess request.
-- If this parameter is specified, the response includes only records
-- beyond the marker, up to the value specified by the
-- MaxRecords parameter.
--
-- $sel:httpStatus:DescribeEndpointAccessResponse',
-- describeEndpointAccessResponse_httpStatus - The response's http
-- status code.
newDescribeEndpointAccessResponse :: Int -> DescribeEndpointAccessResponse
-- | See: newDescribeEndpointAuthorization smart constructor.
data DescribeEndpointAuthorization
DescribeEndpointAuthorization' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Int -> DescribeEndpointAuthorization
-- | Create a value of DescribeEndpointAuthorization 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:account:DescribeEndpointAuthorization',
-- describeEndpointAuthorization_account - The AAmazon Web
-- Services account ID of either the cluster owner (grantor) or grantee.
-- If Grantee parameter is true, then the Account value
-- is of the grantor.
--
-- DescribeEndpointAuthorization,
-- describeEndpointAuthorization_clusterIdentifier - The cluster
-- identifier of the cluster to access.
--
-- DescribeEndpointAuthorization,
-- describeEndpointAuthorization_grantee - Indicates whether to
-- check authorization from a grantor or grantee point of view. If true,
-- Amazon Redshift returns endpoint authorizations that you've been
-- granted. If false (default), checks authorization from a grantor point
-- of view.
--
-- DescribeEndpointAuthorization,
-- describeEndpointAuthorization_marker - An optional pagination
-- token provided by a previous DescribeEndpointAuthorization
-- request. If this parameter is specified, the response includes only
-- records beyond the marker, up to the value specified by the
-- MaxRecords parameter.
--
-- $sel:maxRecords:DescribeEndpointAuthorization',
-- describeEndpointAuthorization_maxRecords - The maximum number
-- of records to include in the response. If more records exist than the
-- specified MaxRecords value, a pagination token called a
-- Marker is included in the response so that the remaining
-- results can be retrieved.
newDescribeEndpointAuthorization :: DescribeEndpointAuthorization
-- | See: newDescribeEndpointAuthorizationResponse smart
-- constructor.
data DescribeEndpointAuthorizationResponse
DescribeEndpointAuthorizationResponse' :: Maybe [EndpointAuthorization] -> Maybe Text -> Int -> DescribeEndpointAuthorizationResponse
-- | Create a value of DescribeEndpointAuthorizationResponse 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:endpointAuthorizationList:DescribeEndpointAuthorizationResponse',
-- describeEndpointAuthorizationResponse_endpointAuthorizationList
-- - The authorizations to an endpoint.
--
-- DescribeEndpointAuthorization,
-- describeEndpointAuthorizationResponse_marker - An optional
-- pagination token provided by a previous
-- DescribeEndpointAuthorization request. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by the MaxRecords parameter.
--
-- $sel:httpStatus:DescribeEndpointAuthorizationResponse',
-- describeEndpointAuthorizationResponse_httpStatus - The
-- response's http status code.
newDescribeEndpointAuthorizationResponse :: Int -> DescribeEndpointAuthorizationResponse
-- | See: newDescribeEventCategories smart constructor.
data DescribeEventCategories
DescribeEventCategories' :: Maybe Text -> DescribeEventCategories
-- | Create a value of DescribeEventCategories 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:
--
-- DescribeEventCategories,
-- describeEventCategories_sourceType - The source type, such as
-- cluster or parameter group, to which the described event categories
-- apply.
--
-- Valid values: cluster, cluster-snapshot, cluster-parameter-group,
-- cluster-security-group, and scheduled-action.
newDescribeEventCategories :: DescribeEventCategories
-- | See: newDescribeEventCategoriesResponse smart
-- constructor.
data DescribeEventCategoriesResponse
DescribeEventCategoriesResponse' :: Maybe [EventCategoriesMap] -> Int -> DescribeEventCategoriesResponse
-- | Create a value of DescribeEventCategoriesResponse 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:eventCategoriesMapList:DescribeEventCategoriesResponse',
-- describeEventCategoriesResponse_eventCategoriesMapList - A list
-- of event categories descriptions.
--
-- $sel:httpStatus:DescribeEventCategoriesResponse',
-- describeEventCategoriesResponse_httpStatus - The response's
-- http status code.
newDescribeEventCategoriesResponse :: Int -> DescribeEventCategoriesResponse
-- | See: newDescribeEventSubscriptions smart constructor.
data DescribeEventSubscriptions
DescribeEventSubscriptions' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> DescribeEventSubscriptions
-- | Create a value of DescribeEventSubscriptions 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:
--
-- DescribeEventSubscriptions,
-- describeEventSubscriptions_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeEventSubscriptions request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeEventSubscriptions',
-- describeEventSubscriptions_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:subscriptionName:DescribeEventSubscriptions',
-- describeEventSubscriptions_subscriptionName - The name of the
-- Amazon Redshift event notification subscription to be described.
--
-- $sel:tagKeys:DescribeEventSubscriptions',
-- describeEventSubscriptions_tagKeys - A tag key or keys for
-- which you want to return all matching event notification subscriptions
-- that are associated with the specified key or keys. For example,
-- suppose that you have subscriptions that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- subscriptions that have either or both of these tag keys associated
-- with them.
--
-- $sel:tagValues:DescribeEventSubscriptions',
-- describeEventSubscriptions_tagValues - A tag value or values
-- for which you want to return all matching event notification
-- subscriptions that are associated with the specified tag value or
-- values. For example, suppose that you have subscriptions that are
-- tagged with values called admin and test. If you
-- specify both of these tag values in the request, Amazon Redshift
-- returns a response with the subscriptions that have either or both of
-- these tag values associated with them.
newDescribeEventSubscriptions :: DescribeEventSubscriptions
-- | See: newDescribeEventSubscriptionsResponse smart
-- constructor.
data DescribeEventSubscriptionsResponse
DescribeEventSubscriptionsResponse' :: Maybe [EventSubscription] -> Maybe Text -> Int -> DescribeEventSubscriptionsResponse
-- | Create a value of DescribeEventSubscriptionsResponse 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:eventSubscriptionsList:DescribeEventSubscriptionsResponse',
-- describeEventSubscriptionsResponse_eventSubscriptionsList - A
-- list of event subscriptions.
--
-- DescribeEventSubscriptions,
-- describeEventSubscriptionsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeEventSubscriptionsResponse',
-- describeEventSubscriptionsResponse_httpStatus - The response's
-- http status code.
newDescribeEventSubscriptionsResponse :: Int -> DescribeEventSubscriptionsResponse
-- | See: newDescribeEvents smart constructor.
data DescribeEvents
DescribeEvents' :: Maybe Int -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe SourceType -> Maybe ISO8601 -> DescribeEvents
-- | Create a value of DescribeEvents 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:
--
-- DescribeEvents, describeEvents_duration - The number of
-- minutes prior to the time of the request for which to retrieve events.
-- For example, if the request is sent at 18:00 and you specify a
-- duration of 60, then only events which have occurred after 17:00 will
-- be returned.
--
-- Default: 60
--
-- DescribeEvents, describeEvents_endTime - The end of the
-- time interval for which to retrieve events, specified in ISO 8601
-- format. For more information about ISO 8601, go to the ISO8601
-- Wikipedia page.
--
-- Example: 2009-07-08T18:00Z
--
-- DescribeEvents, describeEvents_marker - An optional
-- parameter that specifies the starting point to return a set of
-- response records. When the results of a DescribeEvents request exceed
-- the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeEvents',
-- describeEvents_maxRecords - The maximum number of response
-- records to return in each call. If the number of remaining response
-- records exceeds the specified MaxRecords value, a value is
-- returned in a marker field of the response. You can retrieve
-- the next set of records by retrying the command with the returned
-- marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeEvents, describeEvents_sourceIdentifier - The
-- identifier of the event source for which events will be returned. If
-- this parameter is not specified, then all sources are included in the
-- response.
--
-- Constraints:
--
-- If SourceIdentifier is supplied, SourceType must also be
-- provided.
--
--
-- - Specify a cluster identifier when SourceType is
-- cluster.
-- - Specify a cluster security group name when SourceType is
-- cluster-security-group.
-- - Specify a cluster parameter group name when SourceType is
-- cluster-parameter-group.
-- - Specify a cluster snapshot identifier when SourceType is
-- cluster-snapshot.
--
--
-- DescribeEvents, describeEvents_sourceType - The event
-- source to retrieve events for. If no value is specified, all events
-- are returned.
--
-- Constraints:
--
-- If SourceType is supplied, SourceIdentifier must also be
-- provided.
--
--
-- - Specify cluster when SourceIdentifier is a cluster
-- identifier.
-- - Specify cluster-security-group when
-- SourceIdentifier is a cluster security group name.
-- - Specify cluster-parameter-group when
-- SourceIdentifier is a cluster parameter group name.
-- - Specify cluster-snapshot when SourceIdentifier is
-- a cluster snapshot identifier.
--
--
-- DescribeEvents, describeEvents_startTime - The beginning
-- of the time interval to retrieve events for, specified in ISO 8601
-- format. For more information about ISO 8601, go to the ISO8601
-- Wikipedia page.
--
-- Example: 2009-07-08T18:00Z
newDescribeEvents :: DescribeEvents
-- | See: newDescribeEventsResponse smart constructor.
data DescribeEventsResponse
DescribeEventsResponse' :: Maybe [Event] -> Maybe Text -> Int -> DescribeEventsResponse
-- | Create a value of DescribeEventsResponse 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:
--
-- DescribeEventsResponse, describeEventsResponse_events -
-- A list of Event instances.
--
-- DescribeEvents, describeEventsResponse_marker - A value
-- that indicates the starting point for the next set of response records
-- in a subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeEventsResponse',
-- describeEventsResponse_httpStatus - The response's http status
-- code.
newDescribeEventsResponse :: Int -> DescribeEventsResponse
-- | See: newDescribeHsmClientCertificates smart constructor.
data DescribeHsmClientCertificates
DescribeHsmClientCertificates' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> DescribeHsmClientCertificates
-- | Create a value of DescribeHsmClientCertificates 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:
--
-- DescribeHsmClientCertificates,
-- describeHsmClientCertificates_hsmClientCertificateIdentifier -
-- The identifier of a specific HSM client certificate for which you want
-- information. If no identifier is specified, information is returned
-- for all HSM client certificates owned by your Amazon Web Services
-- account.
--
-- DescribeHsmClientCertificates,
-- describeHsmClientCertificates_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeHsmClientCertificates request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeHsmClientCertificates',
-- describeHsmClientCertificates_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeHsmClientCertificates',
-- describeHsmClientCertificates_tagKeys - A tag key or keys for
-- which you want to return all matching HSM client certificates that are
-- associated with the specified key or keys. For example, suppose that
-- you have HSM client certificates that are tagged with keys called
-- owner and environment. If you specify both of these
-- tag keys in the request, Amazon Redshift returns a response with the
-- HSM client certificates that have either or both of these tag keys
-- associated with them.
--
-- $sel:tagValues:DescribeHsmClientCertificates',
-- describeHsmClientCertificates_tagValues - A tag value or values
-- for which you want to return all matching HSM client certificates that
-- are associated with the specified tag value or values. For example,
-- suppose that you have HSM client certificates that are tagged with
-- values called admin and test. If you specify both of
-- these tag values in the request, Amazon Redshift returns a response
-- with the HSM client certificates that have either or both of these tag
-- values associated with them.
newDescribeHsmClientCertificates :: DescribeHsmClientCertificates
-- | See: newDescribeHsmClientCertificatesResponse smart
-- constructor.
data DescribeHsmClientCertificatesResponse
DescribeHsmClientCertificatesResponse' :: Maybe [HsmClientCertificate] -> Maybe Text -> Int -> DescribeHsmClientCertificatesResponse
-- | Create a value of DescribeHsmClientCertificatesResponse 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:hsmClientCertificates:DescribeHsmClientCertificatesResponse',
-- describeHsmClientCertificatesResponse_hsmClientCertificates - A
-- list of the identifiers for one or more HSM client certificates used
-- by Amazon Redshift clusters to store and retrieve database encryption
-- keys in an HSM.
--
-- DescribeHsmClientCertificates,
-- describeHsmClientCertificatesResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeHsmClientCertificatesResponse',
-- describeHsmClientCertificatesResponse_httpStatus - The
-- response's http status code.
newDescribeHsmClientCertificatesResponse :: Int -> DescribeHsmClientCertificatesResponse
-- | See: newDescribeHsmConfigurations smart constructor.
data DescribeHsmConfigurations
DescribeHsmConfigurations' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> DescribeHsmConfigurations
-- | Create a value of DescribeHsmConfigurations 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:
--
-- DescribeHsmConfigurations,
-- describeHsmConfigurations_hsmConfigurationIdentifier - The
-- identifier of a specific Amazon Redshift HSM configuration to be
-- described. If no identifier is specified, information is returned for
-- all HSM configurations owned by your Amazon Web Services account.
--
-- DescribeHsmConfigurations,
-- describeHsmConfigurations_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeHsmConfigurations request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeHsmConfigurations',
-- describeHsmConfigurations_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeHsmConfigurations',
-- describeHsmConfigurations_tagKeys - A tag key or keys for which
-- you want to return all matching HSM configurations that are associated
-- with the specified key or keys. For example, suppose that you have HSM
-- configurations that are tagged with keys called owner and
-- environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with the HSM
-- configurations that have either or both of these tag keys associated
-- with them.
--
-- $sel:tagValues:DescribeHsmConfigurations',
-- describeHsmConfigurations_tagValues - A tag value or values for
-- which you want to return all matching HSM configurations that are
-- associated with the specified tag value or values. For example,
-- suppose that you have HSM configurations that are tagged with values
-- called admin and test. If you specify both of these
-- tag values in the request, Amazon Redshift returns a response with the
-- HSM configurations that have either or both of these tag values
-- associated with them.
newDescribeHsmConfigurations :: DescribeHsmConfigurations
-- | See: newDescribeHsmConfigurationsResponse smart
-- constructor.
data DescribeHsmConfigurationsResponse
DescribeHsmConfigurationsResponse' :: Maybe [HsmConfiguration] -> Maybe Text -> Int -> DescribeHsmConfigurationsResponse
-- | Create a value of DescribeHsmConfigurationsResponse 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:hsmConfigurations:DescribeHsmConfigurationsResponse',
-- describeHsmConfigurationsResponse_hsmConfigurations - A list of
-- HsmConfiguration objects.
--
-- DescribeHsmConfigurations,
-- describeHsmConfigurationsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:httpStatus:DescribeHsmConfigurationsResponse',
-- describeHsmConfigurationsResponse_httpStatus - The response's
-- http status code.
newDescribeHsmConfigurationsResponse :: Int -> DescribeHsmConfigurationsResponse
-- | See: newDescribeLoggingStatus smart constructor.
data DescribeLoggingStatus
DescribeLoggingStatus' :: Text -> DescribeLoggingStatus
-- | Create a value of DescribeLoggingStatus 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:
--
-- DescribeLoggingStatus,
-- describeLoggingStatus_clusterIdentifier - The identifier of the
-- cluster from which to get the logging status.
--
-- Example: examplecluster
newDescribeLoggingStatus :: Text -> DescribeLoggingStatus
-- | Describes the status of logging for a cluster.
--
-- See: newLoggingStatus smart constructor.
data LoggingStatus
LoggingStatus' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Bool -> Maybe Text -> LoggingStatus
-- | Create a value of LoggingStatus 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:bucketName:LoggingStatus', loggingStatus_bucketName
-- - The name of the S3 bucket where the log files are stored.
--
-- $sel:lastFailureMessage:LoggingStatus',
-- loggingStatus_lastFailureMessage - The message indicating that
-- logs failed to be delivered.
--
-- $sel:lastFailureTime:LoggingStatus',
-- loggingStatus_lastFailureTime - The last time when logs failed
-- to be delivered.
--
-- $sel:lastSuccessfulDeliveryTime:LoggingStatus',
-- loggingStatus_lastSuccessfulDeliveryTime - The last time that
-- logs were delivered.
--
-- $sel:logDestinationType:LoggingStatus',
-- loggingStatus_logDestinationType - The log destination type. An
-- enum with possible values of s3 and cloudwatch.
--
-- $sel:logExports:LoggingStatus', loggingStatus_logExports
-- - The collection of exported log types. Log types include the
-- connection log, user log and user activity log.
--
-- $sel:loggingEnabled:LoggingStatus',
-- loggingStatus_loggingEnabled - true if logging is on,
-- false if logging is off.
--
-- $sel:s3KeyPrefix:LoggingStatus',
-- loggingStatus_s3KeyPrefix - The prefix applied to the log file
-- names.
newLoggingStatus :: LoggingStatus
-- | See: newDescribeNodeConfigurationOptions smart
-- constructor.
data DescribeNodeConfigurationOptions
DescribeNodeConfigurationOptions' :: Maybe Text -> Maybe [NodeConfigurationOptionsFilter] -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> ActionType -> DescribeNodeConfigurationOptions
-- | Create a value of DescribeNodeConfigurationOptions 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:
--
-- DescribeNodeConfigurationOptions,
-- describeNodeConfigurationOptions_clusterIdentifier - The
-- identifier of the cluster to evaluate for possible node
-- configurations.
--
-- $sel:filters:DescribeNodeConfigurationOptions',
-- describeNodeConfigurationOptions_filters - A set of name,
-- operator, and value items to filter the results.
--
-- DescribeNodeConfigurationOptions,
-- describeNodeConfigurationOptions_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeNodeConfigurationOptions request exceed
-- the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeNodeConfigurationOptions',
-- describeNodeConfigurationOptions_maxRecords - The maximum
-- number of response records to return in each call. If the number of
-- remaining response records exceeds the specified MaxRecords
-- value, a value is returned in a marker field of the response.
-- You can retrieve the next set of records by retrying the command with
-- the returned marker value.
--
-- Default: 500
--
-- Constraints: minimum 100, maximum 500.
--
-- DescribeNodeConfigurationOptions,
-- describeNodeConfigurationOptions_ownerAccount - The Amazon Web
-- Services account used to create or copy the snapshot. Required if you
-- are restoring a snapshot you do not own, optional if you own the
-- snapshot.
--
-- $sel:snapshotArn:DescribeNodeConfigurationOptions',
-- describeNodeConfigurationOptions_snapshotArn - The Amazon
-- Resource Name (ARN) of the snapshot associated with the message to
-- describe node configuration.
--
-- DescribeNodeConfigurationOptions,
-- describeNodeConfigurationOptions_snapshotIdentifier - The
-- identifier of the snapshot to evaluate for possible node
-- configurations.
--
-- $sel:actionType:DescribeNodeConfigurationOptions',
-- describeNodeConfigurationOptions_actionType - The action type
-- to evaluate for possible node configurations. Specify
-- "restore-cluster" to get configuration combinations based on an
-- existing snapshot. Specify "recommend-node-config" to get
-- configuration recommendations based on an existing cluster or
-- snapshot. Specify "resize-cluster" to get configuration combinations
-- for elastic resize based on an existing cluster.
newDescribeNodeConfigurationOptions :: ActionType -> DescribeNodeConfigurationOptions
-- | See: newDescribeNodeConfigurationOptionsResponse smart
-- constructor.
data DescribeNodeConfigurationOptionsResponse
DescribeNodeConfigurationOptionsResponse' :: Maybe Text -> Maybe [NodeConfigurationOption] -> Int -> DescribeNodeConfigurationOptionsResponse
-- | Create a value of DescribeNodeConfigurationOptionsResponse 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:
--
-- DescribeNodeConfigurationOptions,
-- describeNodeConfigurationOptionsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
--
-- $sel:nodeConfigurationOptionList:DescribeNodeConfigurationOptionsResponse',
-- describeNodeConfigurationOptionsResponse_nodeConfigurationOptionList
-- - A list of valid node configurations.
--
-- $sel:httpStatus:DescribeNodeConfigurationOptionsResponse',
-- describeNodeConfigurationOptionsResponse_httpStatus - The
-- response's http status code.
newDescribeNodeConfigurationOptionsResponse :: Int -> DescribeNodeConfigurationOptionsResponse
-- | See: newDescribeOrderableClusterOptions smart
-- constructor.
data DescribeOrderableClusterOptions
DescribeOrderableClusterOptions' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> DescribeOrderableClusterOptions
-- | Create a value of DescribeOrderableClusterOptions 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:
--
-- DescribeOrderableClusterOptions,
-- describeOrderableClusterOptions_clusterVersion - The version
-- filter value. Specify this parameter to show only the available
-- offerings matching the specified version.
--
-- Default: All versions.
--
-- Constraints: Must be one of the version returned from
-- DescribeClusterVersions.
--
-- DescribeOrderableClusterOptions,
-- describeOrderableClusterOptions_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeOrderableClusterOptions request exceed
-- the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeOrderableClusterOptions',
-- describeOrderableClusterOptions_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeOrderableClusterOptions,
-- describeOrderableClusterOptions_nodeType - The node type filter
-- value. Specify this parameter to show only the available offerings
-- matching the specified node type.
newDescribeOrderableClusterOptions :: DescribeOrderableClusterOptions
-- | Contains the output from the DescribeOrderableClusterOptions action.
--
-- See: newDescribeOrderableClusterOptionsResponse smart
-- constructor.
data DescribeOrderableClusterOptionsResponse
DescribeOrderableClusterOptionsResponse' :: Maybe Text -> Maybe [OrderableClusterOption] -> Int -> DescribeOrderableClusterOptionsResponse
-- | Create a value of DescribeOrderableClusterOptionsResponse 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:
--
-- DescribeOrderableClusterOptions,
-- describeOrderableClusterOptionsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
--
-- $sel:orderableClusterOptions:DescribeOrderableClusterOptionsResponse',
-- describeOrderableClusterOptionsResponse_orderableClusterOptions
-- - An OrderableClusterOption structure containing information
-- about orderable options for the cluster.
--
-- $sel:httpStatus:DescribeOrderableClusterOptionsResponse',
-- describeOrderableClusterOptionsResponse_httpStatus - The
-- response's http status code.
newDescribeOrderableClusterOptionsResponse :: Int -> DescribeOrderableClusterOptionsResponse
-- | See: newDescribePartners smart constructor.
data DescribePartners
DescribePartners' :: Maybe Text -> Maybe Text -> Text -> Text -> DescribePartners
-- | Create a value of DescribePartners 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:
--
-- DescribePartners, describePartners_databaseName - The
-- name of the database whose partner integration is being described. If
-- database name is not specified, then all databases in the cluster are
-- described.
--
-- DescribePartners, describePartners_partnerName - The
-- name of the partner that is being described. If partner name is not
-- specified, then all partner integrations are described.
--
-- DescribePartners, describePartners_accountId - The
-- Amazon Web Services account ID that owns the cluster.
--
-- DescribePartners, describePartners_clusterIdentifier -
-- The cluster identifier of the cluster whose partner integration is
-- being described.
newDescribePartners :: Text -> Text -> DescribePartners
-- | See: newDescribePartnersResponse smart constructor.
data DescribePartnersResponse
DescribePartnersResponse' :: Maybe [PartnerIntegrationInfo] -> Int -> DescribePartnersResponse
-- | Create a value of DescribePartnersResponse 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:partnerIntegrationInfoList:DescribePartnersResponse',
-- describePartnersResponse_partnerIntegrationInfoList - A list of
-- partner integrations.
--
-- $sel:httpStatus:DescribePartnersResponse',
-- describePartnersResponse_httpStatus - The response's http
-- status code.
newDescribePartnersResponse :: Int -> DescribePartnersResponse
-- | See: newDescribeReservedNodeExchangeStatus smart
-- constructor.
data DescribeReservedNodeExchangeStatus
DescribeReservedNodeExchangeStatus' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> DescribeReservedNodeExchangeStatus
-- | Create a value of DescribeReservedNodeExchangeStatus 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:
--
-- DescribeReservedNodeExchangeStatus,
-- describeReservedNodeExchangeStatus_marker - An optional
-- pagination token provided by a previous
-- DescribeReservedNodeExchangeStatus request. If this parameter
-- is specified, the response includes only records beyond the marker, up
-- to the value specified by the MaxRecords parameter. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeReservedNodeExchangeStatus',
-- describeReservedNodeExchangeStatus_maxRecords - The maximum
-- number of response records to return in each call. If the number of
-- remaining response records exceeds the specified MaxRecords
-- value, a value is returned in a Marker field of the response.
-- You can retrieve the next set of records by retrying the command with
-- the returned marker value.
--
-- DescribeReservedNodeExchangeStatus,
-- describeReservedNodeExchangeStatus_reservedNodeExchangeRequestId
-- - The identifier of the reserved-node exchange request.
--
-- DescribeReservedNodeExchangeStatus,
-- describeReservedNodeExchangeStatus_reservedNodeId - The
-- identifier of the source reserved node in a reserved-node exchange
-- request.
newDescribeReservedNodeExchangeStatus :: DescribeReservedNodeExchangeStatus
-- | See: newDescribeReservedNodeExchangeStatusResponse smart
-- constructor.
data DescribeReservedNodeExchangeStatusResponse
DescribeReservedNodeExchangeStatusResponse' :: Maybe Text -> Maybe [ReservedNodeExchangeStatus] -> Int -> DescribeReservedNodeExchangeStatusResponse
-- | Create a value of DescribeReservedNodeExchangeStatusResponse
-- 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:
--
-- DescribeReservedNodeExchangeStatus,
-- describeReservedNodeExchangeStatusResponse_marker - A
-- pagination token provided by a previous
-- DescribeReservedNodeExchangeStatus request.
--
--
-- $sel:reservedNodeExchangeStatusDetails:DescribeReservedNodeExchangeStatusResponse',
-- describeReservedNodeExchangeStatusResponse_reservedNodeExchangeStatusDetails
-- - The details of the reserved-node exchange request, including the
-- status, request time, source reserved-node identifier, and additional
-- details.
--
-- $sel:httpStatus:DescribeReservedNodeExchangeStatusResponse',
-- describeReservedNodeExchangeStatusResponse_httpStatus - The
-- response's http status code.
newDescribeReservedNodeExchangeStatusResponse :: Int -> DescribeReservedNodeExchangeStatusResponse
-- | See: newDescribeReservedNodeOfferings smart constructor.
data DescribeReservedNodeOfferings
DescribeReservedNodeOfferings' :: Maybe Text -> Maybe Int -> Maybe Text -> DescribeReservedNodeOfferings
-- | Create a value of DescribeReservedNodeOfferings 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:
--
-- DescribeReservedNodeOfferings,
-- describeReservedNodeOfferings_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeReservedNodeOfferings request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeReservedNodeOfferings',
-- describeReservedNodeOfferings_maxRecords - The maximum number
-- of response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeReservedNodeOfferings,
-- describeReservedNodeOfferings_reservedNodeOfferingId - The
-- unique identifier for the offering.
newDescribeReservedNodeOfferings :: DescribeReservedNodeOfferings
-- | See: newDescribeReservedNodeOfferingsResponse smart
-- constructor.
data DescribeReservedNodeOfferingsResponse
DescribeReservedNodeOfferingsResponse' :: Maybe Text -> Maybe [ReservedNodeOffering] -> Int -> DescribeReservedNodeOfferingsResponse
-- | Create a value of DescribeReservedNodeOfferingsResponse 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:
--
-- DescribeReservedNodeOfferings,
-- describeReservedNodeOfferingsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
--
-- $sel:reservedNodeOfferings:DescribeReservedNodeOfferingsResponse',
-- describeReservedNodeOfferingsResponse_reservedNodeOfferings - A
-- list of ReservedNodeOffering objects.
--
-- $sel:httpStatus:DescribeReservedNodeOfferingsResponse',
-- describeReservedNodeOfferingsResponse_httpStatus - The
-- response's http status code.
newDescribeReservedNodeOfferingsResponse :: Int -> DescribeReservedNodeOfferingsResponse
-- | See: newDescribeReservedNodes smart constructor.
data DescribeReservedNodes
DescribeReservedNodes' :: Maybe Text -> Maybe Int -> Maybe Text -> DescribeReservedNodes
-- | Create a value of DescribeReservedNodes 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:
--
-- DescribeReservedNodes, describeReservedNodes_marker - An
-- optional parameter that specifies the starting point to return a set
-- of response records. When the results of a DescribeReservedNodes
-- request exceed the value specified in MaxRecords, Amazon Web
-- Services returns a value in the Marker field of the response.
-- You can retrieve the next set of response records by providing the
-- returned marker value in the Marker parameter and retrying
-- the request.
--
-- $sel:maxRecords:DescribeReservedNodes',
-- describeReservedNodes_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeReservedNodes,
-- describeReservedNodes_reservedNodeId - Identifier for the node
-- reservation.
newDescribeReservedNodes :: DescribeReservedNodes
-- | See: newDescribeReservedNodesResponse smart constructor.
data DescribeReservedNodesResponse
DescribeReservedNodesResponse' :: Maybe Text -> Maybe [ReservedNode] -> Int -> DescribeReservedNodesResponse
-- | Create a value of DescribeReservedNodesResponse 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:
--
-- DescribeReservedNodes,
-- describeReservedNodesResponse_marker - A value that indicates
-- the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:reservedNodes:DescribeReservedNodesResponse',
-- describeReservedNodesResponse_reservedNodes - The list of
-- ReservedNode objects.
--
-- $sel:httpStatus:DescribeReservedNodesResponse',
-- describeReservedNodesResponse_httpStatus - The response's http
-- status code.
newDescribeReservedNodesResponse :: Int -> DescribeReservedNodesResponse
-- | See: newDescribeResize smart constructor.
data DescribeResize
DescribeResize' :: Text -> DescribeResize
-- | Create a value of DescribeResize 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:
--
-- DescribeResize, describeResize_clusterIdentifier - The
-- unique identifier of a cluster whose resize progress you are
-- requesting. This parameter is case-sensitive.
--
-- By default, resize operations for all clusters defined for an Amazon
-- Web Services account are returned.
newDescribeResize :: Text -> DescribeResize
-- | Describes the result of a cluster resize operation.
--
-- See: newResizeProgressMessage smart constructor.
data ResizeProgressMessage
ResizeProgressMessage' :: Maybe Double -> Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Integer -> ResizeProgressMessage
-- | Create a value of ResizeProgressMessage 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:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage',
-- resizeProgressMessage_avgResizeRateInMegaBytesPerSecond - The
-- average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
--
-- $sel:dataTransferProgressPercent:ResizeProgressMessage',
-- resizeProgressMessage_dataTransferProgressPercent - The percent
-- of data transferred from source cluster to target cluster.
--
-- $sel:elapsedTimeInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_elapsedTimeInSeconds - The amount of
-- seconds that have elapsed since the resize operation began. After the
-- resize operation completes, this value shows the total actual time, in
-- seconds, for the resize operation.
--
-- $sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_estimatedTimeToCompletionInSeconds - The
-- estimated time remaining, in seconds, until the resize operation is
-- complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
--
-- $sel:importTablesCompleted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesCompleted - The names of
-- tables that have been completely imported .
--
-- Valid Values: List of table names.
--
-- $sel:importTablesInProgress:ResizeProgressMessage',
-- resizeProgressMessage_importTablesInProgress - The names of
-- tables that are being currently imported.
--
-- Valid Values: List of table names.
--
-- $sel:importTablesNotStarted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesNotStarted - The names of
-- tables that have not been yet imported.
--
-- Valid Values: List of table names
--
-- $sel:message:ResizeProgressMessage',
-- resizeProgressMessage_message - An optional string to provide
-- additional details about the resize action.
--
-- $sel:progressInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_progressInMegaBytes - While the resize
-- operation is in progress, this value shows the current amount of data,
-- in megabytes, that has been processed so far. When the resize
-- operation is complete, this value shows the total amount of data, in
-- megabytes, on the cluster, which may be more or less than
-- TotalResizeDataInMegaBytes (the estimated total amount of data before
-- resize).
--
-- $sel:resizeType:ResizeProgressMessage',
-- resizeProgressMessage_resizeType - An enum with possible values
-- of ClassicResize and ElasticResize. These values
-- describe the type of resize operation being performed.
--
-- $sel:status:ResizeProgressMessage',
-- resizeProgressMessage_status - The status of the resize
-- operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
--
-- $sel:targetClusterType:ResizeProgressMessage',
-- resizeProgressMessage_targetClusterType - The cluster type
-- after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
--
-- $sel:targetEncryptionType:ResizeProgressMessage',
-- resizeProgressMessage_targetEncryptionType - The type of
-- encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
--
-- $sel:targetNodeType:ResizeProgressMessage',
-- resizeProgressMessage_targetNodeType - The node type that the
-- cluster will have after the resize operation is complete.
--
-- $sel:targetNumberOfNodes:ResizeProgressMessage',
-- resizeProgressMessage_targetNumberOfNodes - The number of nodes
-- that the cluster will have after the resize operation is complete.
--
-- $sel:totalResizeDataInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_totalResizeDataInMegaBytes - The
-- estimated total amount of data, in megabytes, on the cluster before
-- the resize operation began.
newResizeProgressMessage :: ResizeProgressMessage
-- | See: newDescribeScheduledActions smart constructor.
data DescribeScheduledActions
DescribeScheduledActions' :: Maybe Bool -> Maybe ISO8601 -> Maybe [ScheduledActionFilter] -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionTypeValues -> DescribeScheduledActions
-- | Create a value of DescribeScheduledActions 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:active:DescribeScheduledActions',
-- describeScheduledActions_active - If true, retrieve only active
-- scheduled actions. If false, retrieve only disabled scheduled actions.
--
-- DescribeScheduledActions,
-- describeScheduledActions_endTime - The end time in UTC of the
-- scheduled action to retrieve. Only active scheduled actions that have
-- invocations before this time are retrieved.
--
-- $sel:filters:DescribeScheduledActions',
-- describeScheduledActions_filters - List of scheduled action
-- filters.
--
-- DescribeScheduledActions,
-- describeScheduledActions_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeScheduledActions request exceed the value
-- specified in MaxRecords, Amazon Web Services returns a value
-- in the Marker field of the response. You can retrieve the
-- next set of response records by providing the returned marker value in
-- the Marker parameter and retrying the request.
--
-- $sel:maxRecords:DescribeScheduledActions',
-- describeScheduledActions_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeScheduledActions,
-- describeScheduledActions_scheduledActionName - The name of the
-- scheduled action to retrieve.
--
-- DescribeScheduledActions,
-- describeScheduledActions_startTime - The start time in UTC of
-- the scheduled actions to retrieve. Only active scheduled actions that
-- have invocations after this time are retrieved.
--
-- $sel:targetActionType:DescribeScheduledActions',
-- describeScheduledActions_targetActionType - The type of the
-- scheduled actions to retrieve.
newDescribeScheduledActions :: DescribeScheduledActions
-- | See: newDescribeScheduledActionsResponse smart
-- constructor.
data DescribeScheduledActionsResponse
DescribeScheduledActionsResponse' :: Maybe Text -> Maybe [ScheduledAction] -> Int -> DescribeScheduledActionsResponse
-- | Create a value of DescribeScheduledActionsResponse 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:
--
-- DescribeScheduledActions,
-- describeScheduledActionsResponse_marker - An optional parameter
-- that specifies the starting point to return a set of response records.
-- When the results of a DescribeScheduledActions request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- $sel:scheduledActions:DescribeScheduledActionsResponse',
-- describeScheduledActionsResponse_scheduledActions - List of
-- retrieved scheduled actions.
--
-- $sel:httpStatus:DescribeScheduledActionsResponse',
-- describeScheduledActionsResponse_httpStatus - The response's
-- http status code.
newDescribeScheduledActionsResponse :: Int -> DescribeScheduledActionsResponse
-- | The result of the DescribeSnapshotCopyGrants action.
--
-- See: newDescribeSnapshotCopyGrants smart constructor.
data DescribeSnapshotCopyGrants
DescribeSnapshotCopyGrants' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> DescribeSnapshotCopyGrants
-- | Create a value of DescribeSnapshotCopyGrants 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:
--
-- DescribeSnapshotCopyGrants,
-- describeSnapshotCopyGrants_marker - An optional parameter that
-- specifies the starting point to return a set of response records. When
-- the results of a DescribeSnapshotCopyGrant request exceed the
-- value specified in MaxRecords, Amazon Web Services returns a
-- value in the Marker field of the response. You can retrieve
-- the next set of response records by providing the returned marker
-- value in the Marker parameter and retrying the request.
--
-- Constraints: You can specify either the SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
--
-- $sel:maxRecords:DescribeSnapshotCopyGrants',
-- describeSnapshotCopyGrants_maxRecords - The maximum number of
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- DescribeSnapshotCopyGrants,
-- describeSnapshotCopyGrants_snapshotCopyGrantName - The name of
-- the snapshot copy grant.
--
-- $sel:tagKeys:DescribeSnapshotCopyGrants',
-- describeSnapshotCopyGrants_tagKeys - A tag key or keys for
-- which you want to return all matching resources that are associated
-- with the specified key or keys. For example, suppose that you have
-- resources tagged with keys called owner and
-- environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with all resources that
-- have either or both of these tag keys associated with them.
--
-- $sel:tagValues:DescribeSnapshotCopyGrants',
-- describeSnapshotCopyGrants_tagValues - A tag value or values
-- for which you want to return all matching resources that are
-- associated with the specified value or values. For example, suppose
-- that you have resources tagged with values called admin and
-- test. If you specify both of these tag values in the request,
-- Amazon Redshift returns a response with all resources that have either
-- or both of these tag values associated with them.
newDescribeSnapshotCopyGrants :: DescribeSnapshotCopyGrants
-- | See: newDescribeSnapshotCopyGrantsResponse smart
-- constructor.
data DescribeSnapshotCopyGrantsResponse
DescribeSnapshotCopyGrantsResponse' :: Maybe Text -> Maybe [SnapshotCopyGrant] -> Int -> DescribeSnapshotCopyGrantsResponse
-- | Create a value of DescribeSnapshotCopyGrantsResponse 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:
--
-- DescribeSnapshotCopyGrants,
-- describeSnapshotCopyGrantsResponse_marker - An optional
-- parameter that specifies the starting point to return a set of
-- response records. When the results of a
-- DescribeSnapshotCopyGrant request exceed the value specified
-- in MaxRecords, Amazon Web Services returns a value in the
-- Marker field of the response. You can retrieve the next set
-- of response records by providing the returned marker value in the
-- Marker parameter and retrying the request.
--
-- Constraints: You can specify either the SnapshotCopyGrantName
-- parameter or the Marker parameter, but not both.
--
-- $sel:snapshotCopyGrants:DescribeSnapshotCopyGrantsResponse',
-- describeSnapshotCopyGrantsResponse_snapshotCopyGrants - The
-- list of SnapshotCopyGrant objects.
--
-- $sel:httpStatus:DescribeSnapshotCopyGrantsResponse',
-- describeSnapshotCopyGrantsResponse_httpStatus - The response's
-- http status code.
newDescribeSnapshotCopyGrantsResponse :: Int -> DescribeSnapshotCopyGrantsResponse
-- | See: newDescribeSnapshotSchedules smart constructor.
data DescribeSnapshotSchedules
DescribeSnapshotSchedules' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> DescribeSnapshotSchedules
-- | Create a value of DescribeSnapshotSchedules 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:
--
-- DescribeSnapshotSchedules,
-- describeSnapshotSchedules_clusterIdentifier - The unique
-- identifier for the cluster whose snapshot schedules you want to view.
--
-- DescribeSnapshotSchedules,
-- describeSnapshotSchedules_marker - A value that indicates the
-- starting point for the next set of response records in a subsequent
-- request. If a value is returned in a response, you can retrieve the
-- next set of records by providing this returned marker value in the
-- marker parameter and retrying the command. If the
-- marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:maxRecords:DescribeSnapshotSchedules',
-- describeSnapshotSchedules_maxRecords - The maximum number or
-- response records to return in each call. If the number of remaining
-- response records exceeds the specified MaxRecords value, a
-- value is returned in a marker field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned marker value.
--
-- DescribeSnapshotSchedules,
-- describeSnapshotSchedules_scheduleIdentifier - A unique
-- identifier for a snapshot schedule.
--
-- $sel:tagKeys:DescribeSnapshotSchedules',
-- describeSnapshotSchedules_tagKeys - The key value for a
-- snapshot schedule tag.
--
-- $sel:tagValues:DescribeSnapshotSchedules',
-- describeSnapshotSchedules_tagValues - The value corresponding
-- to the key of the snapshot schedule tag.
newDescribeSnapshotSchedules :: DescribeSnapshotSchedules
-- | See: newDescribeSnapshotSchedulesResponse smart
-- constructor.
data DescribeSnapshotSchedulesResponse
DescribeSnapshotSchedulesResponse' :: Maybe Text -> Maybe [SnapshotSchedule] -> Int -> DescribeSnapshotSchedulesResponse
-- | Create a value of DescribeSnapshotSchedulesResponse 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:
--
-- DescribeSnapshotSchedules,
-- describeSnapshotSchedulesResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the marker parameter and retrying the command. If
-- the marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:snapshotSchedules:DescribeSnapshotSchedulesResponse',
-- describeSnapshotSchedulesResponse_snapshotSchedules - A list of
-- SnapshotSchedules.
--
-- $sel:httpStatus:DescribeSnapshotSchedulesResponse',
-- describeSnapshotSchedulesResponse_httpStatus - The response's
-- http status code.
newDescribeSnapshotSchedulesResponse :: Int -> DescribeSnapshotSchedulesResponse
-- | See: newDescribeStorage smart constructor.
data DescribeStorage
DescribeStorage' :: DescribeStorage
-- | Create a value of DescribeStorage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDescribeStorage :: DescribeStorage
-- | See: newDescribeStorageResponse smart constructor.
data DescribeStorageResponse
DescribeStorageResponse' :: Maybe Double -> Maybe Double -> Int -> DescribeStorageResponse
-- | Create a value of DescribeStorageResponse 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:
--
-- DescribeStorageResponse,
-- describeStorageResponse_totalBackupSizeInMegaBytes - The total
-- amount of storage currently used for snapshots.
--
--
-- $sel:totalProvisionedStorageInMegaBytes:DescribeStorageResponse',
-- describeStorageResponse_totalProvisionedStorageInMegaBytes -
-- The total amount of storage currently provisioned.
--
-- $sel:httpStatus:DescribeStorageResponse',
-- describeStorageResponse_httpStatus - The response's http status
-- code.
newDescribeStorageResponse :: Int -> DescribeStorageResponse
-- | See: newDescribeTableRestoreStatus smart constructor.
data DescribeTableRestoreStatus
DescribeTableRestoreStatus' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> DescribeTableRestoreStatus
-- | Create a value of DescribeTableRestoreStatus 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:
--
-- DescribeTableRestoreStatus,
-- describeTableRestoreStatus_clusterIdentifier - The Amazon
-- Redshift cluster that the table is being restored to.
--
-- DescribeTableRestoreStatus,
-- describeTableRestoreStatus_marker - An optional pagination
-- token provided by a previous DescribeTableRestoreStatus
-- request. If this parameter is specified, the response includes only
-- records beyond the marker, up to the value specified by the
-- MaxRecords parameter.
--
-- $sel:maxRecords:DescribeTableRestoreStatus',
-- describeTableRestoreStatus_maxRecords - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxRecords value, a pagination token called a
-- marker is included in the response so that the remaining results can
-- be retrieved.
--
-- DescribeTableRestoreStatus,
-- describeTableRestoreStatus_tableRestoreRequestId - The
-- identifier of the table restore request to return status for. If you
-- don't specify a TableRestoreRequestId value, then
-- DescribeTableRestoreStatus returns the status of all
-- in-progress table restore requests.
newDescribeTableRestoreStatus :: DescribeTableRestoreStatus
-- | See: newDescribeTableRestoreStatusResponse smart
-- constructor.
data DescribeTableRestoreStatusResponse
DescribeTableRestoreStatusResponse' :: Maybe Text -> Maybe [TableRestoreStatus] -> Int -> DescribeTableRestoreStatusResponse
-- | Create a value of DescribeTableRestoreStatusResponse 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:
--
-- DescribeTableRestoreStatus,
-- describeTableRestoreStatusResponse_marker - A pagination token
-- that can be used in a subsequent DescribeTableRestoreStatus request.
--
--
-- $sel:tableRestoreStatusDetails:DescribeTableRestoreStatusResponse',
-- describeTableRestoreStatusResponse_tableRestoreStatusDetails -
-- A list of status details for one or more table restore requests.
--
-- $sel:httpStatus:DescribeTableRestoreStatusResponse',
-- describeTableRestoreStatusResponse_httpStatus - The response's
-- http status code.
newDescribeTableRestoreStatusResponse :: Int -> DescribeTableRestoreStatusResponse
-- | See: newDescribeTags smart constructor.
data DescribeTags
DescribeTags' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> DescribeTags
-- | Create a value of DescribeTags 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:
--
-- DescribeTags, describeTags_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the marker parameter and retrying the command. If
-- the marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:maxRecords:DescribeTags', describeTags_maxRecords -
-- The maximum number or response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- DescribeTags, describeTags_resourceName - The Amazon
-- Resource Name (ARN) for which you want to describe the tag or tags.
-- For example, arn:aws:redshift:us-east-2:123456789:cluster:t1.
--
-- DescribeTags, describeTags_resourceType - The type of
-- resource with which you want to view tags. Valid resource types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
-- - Snapshot copy grant
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Specifying Policy Elements: Actions,
-- Effects, Resources, and Principals in the Amazon Redshift Cluster
-- Management Guide.
--
-- $sel:tagKeys:DescribeTags', describeTags_tagKeys - A tag
-- key or keys for which you want to return all matching resources that
-- are associated with the specified key or keys. For example, suppose
-- that you have resources tagged with keys called owner and
-- environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with all resources that
-- have either or both of these tag keys associated with them.
--
-- $sel:tagValues:DescribeTags', describeTags_tagValues - A
-- tag value or values for which you want to return all matching
-- resources that are associated with the specified value or values. For
-- example, suppose that you have resources tagged with values called
-- admin and test. If you specify both of these tag
-- values in the request, Amazon Redshift returns a response with all
-- resources that have either or both of these tag values associated with
-- them.
newDescribeTags :: DescribeTags
-- | See: newDescribeTagsResponse smart constructor.
data DescribeTagsResponse
DescribeTagsResponse' :: Maybe Text -> Maybe [TaggedResource] -> Int -> DescribeTagsResponse
-- | Create a value of DescribeTagsResponse 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:
--
-- DescribeTags, describeTagsResponse_marker - A value that
-- indicates the starting point for the next set of response records in a
-- subsequent request. If a value is returned in a response, you can
-- retrieve the next set of records by providing this returned marker
-- value in the Marker parameter and retrying the command. If
-- the Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:taggedResources:DescribeTagsResponse',
-- describeTagsResponse_taggedResources - A list of tags with
-- their associated resources.
--
-- $sel:httpStatus:DescribeTagsResponse',
-- describeTagsResponse_httpStatus - The response's http status
-- code.
newDescribeTagsResponse :: Int -> DescribeTagsResponse
-- | See: newDescribeUsageLimits smart constructor.
data DescribeUsageLimits
DescribeUsageLimits' :: Maybe Text -> Maybe UsageLimitFeatureType -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> DescribeUsageLimits
-- | Create a value of DescribeUsageLimits 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:
--
-- DescribeUsageLimits,
-- describeUsageLimits_clusterIdentifier - The identifier of the
-- cluster for which you want to describe usage limits.
--
-- DescribeUsageLimits, describeUsageLimits_featureType -
-- The feature type for which you want to describe usage limits.
--
-- DescribeUsageLimits, describeUsageLimits_marker - An
-- optional parameter that specifies the starting point to return a set
-- of response records. When the results of a DescribeUsageLimits request
-- exceed the value specified in MaxRecords, Amazon Web Services
-- returns a value in the Marker field of the response. You can
-- retrieve the next set of response records by providing the returned
-- marker value in the Marker parameter and retrying the
-- request.
--
-- $sel:maxRecords:DescribeUsageLimits',
-- describeUsageLimits_maxRecords - The maximum number of response
-- records to return in each call. If the number of remaining response
-- records exceeds the specified MaxRecords value, a value is
-- returned in a marker field of the response. You can retrieve
-- the next set of records by retrying the command with the returned
-- marker value.
--
-- Default: 100
--
-- Constraints: minimum 20, maximum 100.
--
-- $sel:tagKeys:DescribeUsageLimits',
-- describeUsageLimits_tagKeys - A tag key or keys for which you
-- want to return all matching usage limit objects that are associated
-- with the specified key or keys. For example, suppose that you have
-- parameter groups that are tagged with keys called owner and
-- environment. If you specify both of these tag keys in the
-- request, Amazon Redshift returns a response with the usage limit
-- objects have either or both of these tag keys associated with them.
--
-- $sel:tagValues:DescribeUsageLimits',
-- describeUsageLimits_tagValues - A tag value or values for which
-- you want to return all matching usage limit objects that are
-- associated with the specified tag value or values. For example,
-- suppose that you have parameter groups that are tagged with values
-- called admin and test. If you specify both of these
-- tag values in the request, Amazon Redshift returns a response with the
-- usage limit objects that have either or both of these tag values
-- associated with them.
--
-- DescribeUsageLimits, describeUsageLimits_usageLimitId -
-- The identifier of the usage limit to describe.
newDescribeUsageLimits :: DescribeUsageLimits
-- | See: newDescribeUsageLimitsResponse smart constructor.
data DescribeUsageLimitsResponse
DescribeUsageLimitsResponse' :: Maybe Text -> Maybe [UsageLimit] -> Int -> DescribeUsageLimitsResponse
-- | Create a value of DescribeUsageLimitsResponse 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:
--
-- DescribeUsageLimits, describeUsageLimitsResponse_marker
-- - A value that indicates the starting point for the next set of
-- response records in a subsequent request. If a value is returned in a
-- response, you can retrieve the next set of records by providing this
-- returned marker value in the Marker parameter and retrying
-- the command. If the Marker field is empty, all response
-- records have been retrieved for the request.
--
-- $sel:usageLimits:DescribeUsageLimitsResponse',
-- describeUsageLimitsResponse_usageLimits - Contains the output
-- from the DescribeUsageLimits action.
--
-- $sel:httpStatus:DescribeUsageLimitsResponse',
-- describeUsageLimitsResponse_httpStatus - The response's http
-- status code.
newDescribeUsageLimitsResponse :: Int -> DescribeUsageLimitsResponse
-- | See: newDisableLogging smart constructor.
data DisableLogging
DisableLogging' :: Text -> DisableLogging
-- | Create a value of DisableLogging 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:
--
-- DisableLogging, disableLogging_clusterIdentifier - The
-- identifier of the cluster on which logging is to be stopped.
--
-- Example: examplecluster
newDisableLogging :: Text -> DisableLogging
-- | Describes the status of logging for a cluster.
--
-- See: newLoggingStatus smart constructor.
data LoggingStatus
LoggingStatus' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Bool -> Maybe Text -> LoggingStatus
-- | Create a value of LoggingStatus 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:bucketName:LoggingStatus', loggingStatus_bucketName
-- - The name of the S3 bucket where the log files are stored.
--
-- $sel:lastFailureMessage:LoggingStatus',
-- loggingStatus_lastFailureMessage - The message indicating that
-- logs failed to be delivered.
--
-- $sel:lastFailureTime:LoggingStatus',
-- loggingStatus_lastFailureTime - The last time when logs failed
-- to be delivered.
--
-- $sel:lastSuccessfulDeliveryTime:LoggingStatus',
-- loggingStatus_lastSuccessfulDeliveryTime - The last time that
-- logs were delivered.
--
-- $sel:logDestinationType:LoggingStatus',
-- loggingStatus_logDestinationType - The log destination type. An
-- enum with possible values of s3 and cloudwatch.
--
-- $sel:logExports:LoggingStatus', loggingStatus_logExports
-- - The collection of exported log types. Log types include the
-- connection log, user log and user activity log.
--
-- $sel:loggingEnabled:LoggingStatus',
-- loggingStatus_loggingEnabled - true if logging is on,
-- false if logging is off.
--
-- $sel:s3KeyPrefix:LoggingStatus',
-- loggingStatus_s3KeyPrefix - The prefix applied to the log file
-- names.
newLoggingStatus :: LoggingStatus
-- | See: newDisableSnapshotCopy smart constructor.
data DisableSnapshotCopy
DisableSnapshotCopy' :: Text -> DisableSnapshotCopy
-- | Create a value of DisableSnapshotCopy 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:
--
-- DisableSnapshotCopy,
-- disableSnapshotCopy_clusterIdentifier - The unique identifier
-- of the source cluster that you want to disable copying of snapshots to
-- a destination region.
--
-- Constraints: Must be the valid name of an existing cluster that has
-- cross-region snapshot copy enabled.
newDisableSnapshotCopy :: Text -> DisableSnapshotCopy
-- | See: newDisableSnapshotCopyResponse smart constructor.
data DisableSnapshotCopyResponse
DisableSnapshotCopyResponse' :: Maybe Cluster -> Int -> DisableSnapshotCopyResponse
-- | Create a value of DisableSnapshotCopyResponse 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:cluster:DisableSnapshotCopyResponse',
-- disableSnapshotCopyResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:DisableSnapshotCopyResponse',
-- disableSnapshotCopyResponse_httpStatus - The response's http
-- status code.
newDisableSnapshotCopyResponse :: Int -> DisableSnapshotCopyResponse
-- | See: newDisassociateDataShareConsumer smart constructor.
data DisassociateDataShareConsumer
DisassociateDataShareConsumer' :: Maybe Text -> Maybe Text -> Maybe Bool -> Text -> DisassociateDataShareConsumer
-- | Create a value of DisassociateDataShareConsumer 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:consumerArn:DisassociateDataShareConsumer',
-- disassociateDataShareConsumer_consumerArn - The Amazon Resource
-- Name (ARN) of the consumer that association for the datashare is
-- removed from.
--
-- DisassociateDataShareConsumer,
-- disassociateDataShareConsumer_consumerRegion - From a datashare
-- consumer account, removes association of a datashare from all the
-- existing and future namespaces in the specified Amazon Web Services
-- Region.
--
-- $sel:disassociateEntireAccount:DisassociateDataShareConsumer',
-- disassociateDataShareConsumer_disassociateEntireAccount - A
-- value that specifies whether association for the datashare is removed
-- from the entire account.
--
-- DisassociateDataShareConsumer,
-- disassociateDataShareConsumer_dataShareArn - The Amazon
-- Resource Name (ARN) of the datashare to remove association for.
newDisassociateDataShareConsumer :: Text -> DisassociateDataShareConsumer
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | See: newEnableLogging smart constructor.
data EnableLogging
EnableLogging' :: Maybe Text -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Text -> Text -> EnableLogging
-- | Create a value of EnableLogging 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:
--
-- EnableLogging, enableLogging_bucketName - The name of an
-- existing S3 bucket where the log files are to be stored.
--
-- Constraints:
--
--
-- - Must be in the same region as the cluster
-- - The cluster must have read bucket and put object permissions
--
--
-- EnableLogging, enableLogging_logDestinationType - The
-- log destination type. An enum with possible values of s3 and
-- cloudwatch.
--
-- EnableLogging, enableLogging_logExports - The collection
-- of exported log types. Log types include the connection log, user log
-- and user activity log.
--
-- EnableLogging, enableLogging_s3KeyPrefix - The prefix
-- applied to the log file names.
--
-- Constraints:
--
--
-- - Cannot exceed 512 characters
-- - Cannot contain spaces( ), double quotes ("), single quotes ('), a
-- backslash (\), or control characters. The hexadecimal codes for
-- invalid characters are:
- x00 to
-- x20
- x22
- x27
- x5c
- x7f or
-- larger
--
--
-- EnableLogging, enableLogging_clusterIdentifier - The
-- identifier of the cluster on which logging is to be started.
--
-- Example: examplecluster
newEnableLogging :: Text -> EnableLogging
-- | Describes the status of logging for a cluster.
--
-- See: newLoggingStatus smart constructor.
data LoggingStatus
LoggingStatus' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Bool -> Maybe Text -> LoggingStatus
-- | Create a value of LoggingStatus 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:bucketName:LoggingStatus', loggingStatus_bucketName
-- - The name of the S3 bucket where the log files are stored.
--
-- $sel:lastFailureMessage:LoggingStatus',
-- loggingStatus_lastFailureMessage - The message indicating that
-- logs failed to be delivered.
--
-- $sel:lastFailureTime:LoggingStatus',
-- loggingStatus_lastFailureTime - The last time when logs failed
-- to be delivered.
--
-- $sel:lastSuccessfulDeliveryTime:LoggingStatus',
-- loggingStatus_lastSuccessfulDeliveryTime - The last time that
-- logs were delivered.
--
-- $sel:logDestinationType:LoggingStatus',
-- loggingStatus_logDestinationType - The log destination type. An
-- enum with possible values of s3 and cloudwatch.
--
-- $sel:logExports:LoggingStatus', loggingStatus_logExports
-- - The collection of exported log types. Log types include the
-- connection log, user log and user activity log.
--
-- $sel:loggingEnabled:LoggingStatus',
-- loggingStatus_loggingEnabled - true if logging is on,
-- false if logging is off.
--
-- $sel:s3KeyPrefix:LoggingStatus',
-- loggingStatus_s3KeyPrefix - The prefix applied to the log file
-- names.
newLoggingStatus :: LoggingStatus
-- | See: newEnableSnapshotCopy smart constructor.
data EnableSnapshotCopy
EnableSnapshotCopy' :: Maybe Int -> Maybe Int -> Maybe Text -> Text -> Text -> EnableSnapshotCopy
-- | Create a value of EnableSnapshotCopy 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:
--
-- EnableSnapshotCopy,
-- enableSnapshotCopy_manualSnapshotRetentionPeriod - The number
-- of days to retain newly copied snapshots in the destination Amazon Web
-- Services Region after they are copied from the source Amazon Web
-- Services Region. If the value is -1, the manual snapshot is retained
-- indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- EnableSnapshotCopy, enableSnapshotCopy_retentionPeriod -
-- The number of days to retain automated snapshots in the destination
-- region after they are copied from the source region.
--
-- Default: 7.
--
-- Constraints: Must be at least 1 and no more than 35.
--
-- EnableSnapshotCopy,
-- enableSnapshotCopy_snapshotCopyGrantName - The name of the
-- snapshot copy grant to use when snapshots of an Amazon Web Services
-- KMS-encrypted cluster are copied to the destination region.
--
-- EnableSnapshotCopy, enableSnapshotCopy_clusterIdentifier
-- - The unique identifier of the source cluster to copy snapshots from.
--
-- Constraints: Must be the valid name of an existing cluster that does
-- not already have cross-region snapshot copy enabled.
--
-- EnableSnapshotCopy, enableSnapshotCopy_destinationRegion
-- - The destination Amazon Web Services Region that you want to copy
-- snapshots to.
--
-- Constraints: Must be the name of a valid Amazon Web Services Region.
-- For more information, see Regions and Endpoints in the Amazon
-- Web Services General Reference.
newEnableSnapshotCopy :: Text -> Text -> EnableSnapshotCopy
-- | See: newEnableSnapshotCopyResponse smart constructor.
data EnableSnapshotCopyResponse
EnableSnapshotCopyResponse' :: Maybe Cluster -> Int -> EnableSnapshotCopyResponse
-- | Create a value of EnableSnapshotCopyResponse 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:cluster:EnableSnapshotCopyResponse',
-- enableSnapshotCopyResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:EnableSnapshotCopyResponse',
-- enableSnapshotCopyResponse_httpStatus - The response's http
-- status code.
newEnableSnapshotCopyResponse :: Int -> EnableSnapshotCopyResponse
-- | The request parameters to get cluster credentials.
--
-- See: newGetClusterCredentials smart constructor.
data GetClusterCredentials
GetClusterCredentials' :: Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Int -> Text -> Text -> GetClusterCredentials
-- | Create a value of GetClusterCredentials 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:autoCreate:GetClusterCredentials',
-- getClusterCredentials_autoCreate - Create a database user with
-- the name specified for the user named in DbUser if one does
-- not exist.
--
-- $sel:dbGroups:GetClusterCredentials',
-- getClusterCredentials_dbGroups - A list of the names of
-- existing database groups that the user named in DbUser will
-- join for the current session, in addition to any group memberships for
-- an existing user. If not specified, a new user is added only to
-- PUBLIC.
--
-- Database group name constraints
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens
-- - Must contain only lowercase letters, numbers, underscore, plus
-- sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
--
-- GetClusterCredentials, getClusterCredentials_dbName -
-- The name of a database that DbUser is authorized to log on
-- to. If DbName is not specified, DbUser can log on to
-- any existing database.
--
-- Constraints:
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens
-- - Must contain uppercase or lowercase letters, numbers, underscore,
-- plus sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
--
-- $sel:durationSeconds:GetClusterCredentials',
-- getClusterCredentials_durationSeconds - The number of seconds
-- until the returned temporary password expires.
--
-- Constraint: minimum 900, maximum 3600.
--
-- Default: 900
--
-- GetClusterCredentials, getClusterCredentials_dbUser -
-- The name of a database user. If a user name matching DbUser
-- exists in the database, the temporary user credentials have the same
-- permissions as the existing user. If DbUser doesn't exist in
-- the database and Autocreate is True, a new user is
-- created using the value for DbUser with PUBLIC permissions.
-- If a database user matching the value for DbUser doesn't
-- exist and Autocreate is False, then the command
-- succeeds but the connection attempt will fail because the user doesn't
-- exist in the database.
--
-- For more information, see CREATE USER in the Amazon Redshift
-- Database Developer Guide.
--
-- Constraints:
--
--
-- - Must be 1 to 64 alphanumeric characters or hyphens. The user name
-- can't be PUBLIC.
-- - Must contain uppercase or lowercase letters, numbers, underscore,
-- plus sign, period (dot), at symbol (@), or hyphen.
-- - First character must be a letter.
-- - Must not contain a colon ( : ) or slash ( / ).
-- - Cannot be a reserved word. A list of reserved words can be found
-- in Reserved Words in the Amazon Redshift Database Developer
-- Guide.
--
--
-- GetClusterCredentials,
-- getClusterCredentials_clusterIdentifier - The unique identifier
-- of the cluster that contains the database for which you are requesting
-- credentials. This parameter is case sensitive.
newGetClusterCredentials :: Text -> Text -> GetClusterCredentials
-- | Temporary credentials with authorization to log on to an Amazon
-- Redshift database.
--
-- See: newGetClusterCredentialsResponse smart constructor.
data GetClusterCredentialsResponse
GetClusterCredentialsResponse' :: Maybe (Sensitive Text) -> Maybe Text -> Maybe ISO8601 -> Int -> GetClusterCredentialsResponse
-- | Create a value of GetClusterCredentialsResponse 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:GetClusterCredentialsResponse',
-- getClusterCredentialsResponse_dbPassword - A temporary password
-- that authorizes the user name returned by DbUser to log on to
-- the database DbName.
--
-- GetClusterCredentials,
-- getClusterCredentialsResponse_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 permissions as the
-- the user named in DbUser. By default, the user is added to PUBLIC. If
-- the DbGroups parameter is specifed, DbUser is added
-- to the listed groups for any sessions created using these credentials.
--
-- $sel:expiration:GetClusterCredentialsResponse',
-- getClusterCredentialsResponse_expiration - The date and time
-- the password in DbPassword expires.
--
-- $sel:httpStatus:GetClusterCredentialsResponse',
-- getClusterCredentialsResponse_httpStatus - The response's http
-- status code.
newGetClusterCredentialsResponse :: Int -> GetClusterCredentialsResponse
-- | See: newGetClusterCredentialsWithIAM smart constructor.
data GetClusterCredentialsWithIAM
GetClusterCredentialsWithIAM' :: Maybe Text -> Maybe Int -> Text -> GetClusterCredentialsWithIAM
-- | Create a value of GetClusterCredentialsWithIAM 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:
--
-- GetClusterCredentialsWithIAM,
-- getClusterCredentialsWithIAM_dbName - The name of the database
-- for which you are requesting credentials. If the database name is
-- specified, the IAM policy must allow access to the resource
-- dbname for the specified database name. If the database name
-- is not specified, access to all databases is allowed.
--
-- $sel:durationSeconds:GetClusterCredentialsWithIAM',
-- getClusterCredentialsWithIAM_durationSeconds - The number of
-- seconds until the returned temporary password expires.
--
-- Range: 900-3600. Default: 900.
--
-- GetClusterCredentialsWithIAM,
-- getClusterCredentialsWithIAM_clusterIdentifier - The unique
-- identifier of the cluster that contains the database for which you are
-- requesting credentials.
newGetClusterCredentialsWithIAM :: Text -> GetClusterCredentialsWithIAM
-- | See: newGetClusterCredentialsWithIAMResponse smart
-- constructor.
data GetClusterCredentialsWithIAMResponse
GetClusterCredentialsWithIAMResponse' :: Maybe (Sensitive Text) -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Int -> GetClusterCredentialsWithIAMResponse
-- | Create a value of GetClusterCredentialsWithIAMResponse 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:GetClusterCredentialsWithIAMResponse',
-- getClusterCredentialsWithIAMResponse_dbPassword - A temporary
-- password that you provide when you connect to a database.
--
-- $sel:dbUser:GetClusterCredentialsWithIAMResponse',
-- getClusterCredentialsWithIAMResponse_dbUser - A database user
-- name that you provide when you connect to a database. The database
-- user is mapped 1:1 to the source IAM identity.
--
-- $sel:expiration:GetClusterCredentialsWithIAMResponse',
-- getClusterCredentialsWithIAMResponse_expiration - The time
-- (UTC) when the temporary password expires. After this timestamp, a log
-- in with the temporary password fails.
--
-- $sel:nextRefreshTime:GetClusterCredentialsWithIAMResponse',
-- getClusterCredentialsWithIAMResponse_nextRefreshTime - Reserved
-- for future use.
--
-- $sel:httpStatus:GetClusterCredentialsWithIAMResponse',
-- getClusterCredentialsWithIAMResponse_httpStatus - The
-- response's http status code.
newGetClusterCredentialsWithIAMResponse :: Int -> GetClusterCredentialsWithIAMResponse
-- | See: newGetReservedNodeExchangeConfigurationOptions
-- smart constructor.
data GetReservedNodeExchangeConfigurationOptions
GetReservedNodeExchangeConfigurationOptions' :: Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> ReservedNodeExchangeActionType -> GetReservedNodeExchangeConfigurationOptions
-- | Create a value of GetReservedNodeExchangeConfigurationOptions
-- 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:
--
-- GetReservedNodeExchangeConfigurationOptions,
-- getReservedNodeExchangeConfigurationOptions_clusterIdentifier -
-- The identifier for the cluster that is the source for a reserved-node
-- exchange.
--
-- GetReservedNodeExchangeConfigurationOptions,
-- getReservedNodeExchangeConfigurationOptions_marker - An
-- optional pagination token provided by a previous
-- GetReservedNodeExchangeConfigurationOptions request. If this
-- parameter is specified, the response includes only records beyond the
-- marker, up to the value specified by the MaxRecords
-- parameter. You can retrieve the next set of response records by
-- providing the returned marker value in the Marker parameter
-- and retrying the request.
--
-- $sel:maxRecords:GetReservedNodeExchangeConfigurationOptions',
-- getReservedNodeExchangeConfigurationOptions_maxRecords - The
-- maximum number of response records to return in each call. If the
-- number of remaining response records exceeds the specified
-- MaxRecords value, a value is returned in a Marker
-- field of the response. You can retrieve the next set of records by
-- retrying the command with the returned marker value.
--
-- GetReservedNodeExchangeConfigurationOptions,
-- getReservedNodeExchangeConfigurationOptions_snapshotIdentifier
-- - The identifier for the snapshot that is the source for the
-- reserved-node exchange.
--
-- $sel:actionType:GetReservedNodeExchangeConfigurationOptions',
-- getReservedNodeExchangeConfigurationOptions_actionType - The
-- action type of the reserved-node configuration. The action type can be
-- an exchange initiated from either a snapshot or a resize.
newGetReservedNodeExchangeConfigurationOptions :: ReservedNodeExchangeActionType -> GetReservedNodeExchangeConfigurationOptions
-- | See:
-- newGetReservedNodeExchangeConfigurationOptionsResponse smart
-- constructor.
data GetReservedNodeExchangeConfigurationOptionsResponse
GetReservedNodeExchangeConfigurationOptionsResponse' :: Maybe Text -> Maybe [ReservedNodeConfigurationOption] -> Int -> GetReservedNodeExchangeConfigurationOptionsResponse
-- | Create a value of
-- GetReservedNodeExchangeConfigurationOptionsResponse 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:
--
-- GetReservedNodeExchangeConfigurationOptions,
-- getReservedNodeExchangeConfigurationOptionsResponse_marker - A
-- pagination token provided by a previous
-- GetReservedNodeExchangeConfigurationOptions request.
--
--
-- $sel:reservedNodeConfigurationOptionList:GetReservedNodeExchangeConfigurationOptionsResponse',
-- getReservedNodeExchangeConfigurationOptionsResponse_reservedNodeConfigurationOptionList
-- - the configuration options for the reserved-node exchange. These
-- options include information about the source reserved node and target
-- reserved node. Details include the node type, the price, the node
-- count, and the offering type.
--
--
-- $sel:httpStatus:GetReservedNodeExchangeConfigurationOptionsResponse',
-- getReservedNodeExchangeConfigurationOptionsResponse_httpStatus
-- - The response's http status code.
newGetReservedNodeExchangeConfigurationOptionsResponse :: Int -> GetReservedNodeExchangeConfigurationOptionsResponse
-- | See: newGetReservedNodeExchangeOfferings smart
-- constructor.
data GetReservedNodeExchangeOfferings
GetReservedNodeExchangeOfferings' :: Maybe Text -> Maybe Int -> Text -> GetReservedNodeExchangeOfferings
-- | Create a value of GetReservedNodeExchangeOfferings 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:
--
-- GetReservedNodeExchangeOfferings,
-- getReservedNodeExchangeOfferings_marker - A value that
-- indicates the starting point for the next set of
-- ReservedNodeOfferings.
--
-- $sel:maxRecords:GetReservedNodeExchangeOfferings',
-- getReservedNodeExchangeOfferings_maxRecords - An integer
-- setting the maximum number of ReservedNodeOfferings to retrieve.
--
-- GetReservedNodeExchangeOfferings,
-- getReservedNodeExchangeOfferings_reservedNodeId - A string
-- representing the node identifier for the DC1 Reserved Node to be
-- exchanged.
newGetReservedNodeExchangeOfferings :: Text -> GetReservedNodeExchangeOfferings
-- | See: newGetReservedNodeExchangeOfferingsResponse smart
-- constructor.
data GetReservedNodeExchangeOfferingsResponse
GetReservedNodeExchangeOfferingsResponse' :: Maybe Text -> Maybe [ReservedNodeOffering] -> Int -> GetReservedNodeExchangeOfferingsResponse
-- | Create a value of GetReservedNodeExchangeOfferingsResponse 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:
--
-- GetReservedNodeExchangeOfferings,
-- getReservedNodeExchangeOfferingsResponse_marker - An optional
-- parameter that specifies the starting point for returning a set of
-- response records. When the results of a
-- GetReservedNodeExchangeOfferings request exceed the value
-- specified in MaxRecords, Amazon Redshift returns a value in the marker
-- field of the response. You can retrieve the next set of response
-- records by providing the returned marker value in the marker parameter
-- and retrying the request.
--
--
-- $sel:reservedNodeOfferings:GetReservedNodeExchangeOfferingsResponse',
-- getReservedNodeExchangeOfferingsResponse_reservedNodeOfferings
-- - Returns an array of ReservedNodeOffering objects.
--
-- $sel:httpStatus:GetReservedNodeExchangeOfferingsResponse',
-- getReservedNodeExchangeOfferingsResponse_httpStatus - The
-- response's http status code.
newGetReservedNodeExchangeOfferingsResponse :: Int -> GetReservedNodeExchangeOfferingsResponse
-- | See: newModifyAquaConfiguration smart constructor.
data ModifyAquaConfiguration
ModifyAquaConfiguration' :: Maybe AquaConfigurationStatus -> Text -> ModifyAquaConfiguration
-- | Create a value of ModifyAquaConfiguration 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:
--
-- ModifyAquaConfiguration,
-- modifyAquaConfiguration_aquaConfigurationStatus - This
-- parameter is retired. Amazon Redshift automatically determines whether
-- to use AQUA (Advanced Query Accelerator).
--
-- ModifyAquaConfiguration,
-- modifyAquaConfiguration_clusterIdentifier - The identifier of
-- the cluster to be modified.
newModifyAquaConfiguration :: Text -> ModifyAquaConfiguration
-- | See: newModifyAquaConfigurationResponse smart
-- constructor.
data ModifyAquaConfigurationResponse
ModifyAquaConfigurationResponse' :: Maybe AquaConfiguration -> Int -> ModifyAquaConfigurationResponse
-- | Create a value of ModifyAquaConfigurationResponse 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:
--
-- ModifyAquaConfigurationResponse,
-- modifyAquaConfigurationResponse_aquaConfiguration - This
-- parameter is retired. Amazon Redshift automatically determines whether
-- to use AQUA (Advanced Query Accelerator).
--
-- $sel:httpStatus:ModifyAquaConfigurationResponse',
-- modifyAquaConfigurationResponse_httpStatus - The response's
-- http status code.
newModifyAquaConfigurationResponse :: Int -> ModifyAquaConfigurationResponse
-- | See: newModifyAuthenticationProfile smart constructor.
data ModifyAuthenticationProfile
ModifyAuthenticationProfile' :: Text -> Text -> ModifyAuthenticationProfile
-- | Create a value of ModifyAuthenticationProfile 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:
--
-- ModifyAuthenticationProfile,
-- modifyAuthenticationProfile_authenticationProfileName - The
-- name of the authentication profile to replace.
--
-- ModifyAuthenticationProfile,
-- modifyAuthenticationProfile_authenticationProfileContent - The
-- new content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
newModifyAuthenticationProfile :: Text -> Text -> ModifyAuthenticationProfile
-- | See: newModifyAuthenticationProfileResponse smart
-- constructor.
data ModifyAuthenticationProfileResponse
ModifyAuthenticationProfileResponse' :: Maybe Text -> Maybe Text -> Int -> ModifyAuthenticationProfileResponse
-- | Create a value of ModifyAuthenticationProfileResponse 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:
--
-- ModifyAuthenticationProfile,
-- modifyAuthenticationProfileResponse_authenticationProfileContent
-- - The updated content of the authentication profile in JSON format.
--
-- ModifyAuthenticationProfile,
-- modifyAuthenticationProfileResponse_authenticationProfileName -
-- The name of the authentication profile that was replaced.
--
-- $sel:httpStatus:ModifyAuthenticationProfileResponse',
-- modifyAuthenticationProfileResponse_httpStatus - The response's
-- http status code.
newModifyAuthenticationProfileResponse :: Int -> ModifyAuthenticationProfileResponse
-- | See: newModifyCluster smart constructor.
data ModifyCluster
ModifyCluster' :: Maybe Bool -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe [Text] -> Text -> ModifyCluster
-- | Create a value of ModifyCluster 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:
--
-- ModifyCluster, modifyCluster_allowVersionUpgrade - If
-- true, major version upgrades will be applied automatically to
-- the cluster during the maintenance window.
--
-- Default: false
--
-- ModifyCluster,
-- modifyCluster_automatedSnapshotRetentionPeriod - The number of
-- days that automated snapshots are retained. If the value is 0,
-- automated snapshots are disabled. Even if automated snapshots are
-- disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- If you decrease the automated snapshot retention period from its
-- current value, existing automated snapshots that fall outside of the
-- new retention period will be immediately deleted.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: Uses existing setting.
--
-- Constraints: Must be a value from 0 to 35.
--
-- ModifyCluster, modifyCluster_availabilityZone - The
-- option to initiate relocation for an Amazon Redshift cluster to the
-- target Availability Zone.
--
-- $sel:availabilityZoneRelocation:ModifyCluster',
-- modifyCluster_availabilityZoneRelocation - The option to enable
-- relocation for an Amazon Redshift cluster between Availability Zones
-- after the cluster modification is complete.
--
-- $sel:clusterParameterGroupName:ModifyCluster',
-- modifyCluster_clusterParameterGroupName - The name of the
-- cluster parameter group to apply to this cluster. This change is
-- applied only after the cluster is rebooted. To reboot a cluster use
-- RebootCluster.
--
-- Default: Uses existing setting.
--
-- Constraints: The cluster parameter group must be in the same parameter
-- group family that matches the cluster version.
--
-- ModifyCluster, modifyCluster_clusterSecurityGroups - A
-- list of cluster security groups to be authorized on this cluster. This
-- change is asynchronously applied as soon as possible.
--
-- Security groups currently associated with the cluster, and not in the
-- list of groups to apply, will be revoked from the cluster.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens
-- - First character must be a letter
-- - Cannot end with a hyphen or contain two consecutive hyphens
--
--
-- ModifyCluster, modifyCluster_clusterType - The new
-- cluster type.
--
-- When you submit your cluster resize request, your existing cluster
-- goes into a read-only mode. After Amazon Redshift provisions a new
-- cluster based on your resize requirements, there will be outage for a
-- period while the old cluster is deleted and your connection is
-- switched to the new cluster. You can use DescribeResize to track the
-- progress of the resize request.
--
-- Valid Values: multi-node | single-node
--
-- ModifyCluster, modifyCluster_clusterVersion - The new
-- version number of the Amazon Redshift engine to upgrade to.
--
-- For major version upgrades, if a non-default cluster parameter group
-- is currently in use, a new cluster parameter group in the cluster
-- parameter group family for the new version must be specified. The new
-- cluster parameter group can be the default for that cluster parameter
-- group family. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
--
-- Example: 1.0
--
-- ModifyCluster, modifyCluster_elasticIp - The Elastic IP
-- (EIP) address for the cluster.
--
-- Constraints: The cluster must be provisioned in EC2-VPC and
-- publicly-accessible through an Internet gateway. For more information
-- about provisioning clusters in EC2-VPC, go to Supported Platforms
-- to Launch Your Cluster in the Amazon Redshift Cluster Management
-- Guide.
--
-- ModifyCluster, modifyCluster_encrypted - Indicates
-- whether the cluster is encrypted. If the value is encrypted (true) and
-- you provide a value for the KmsKeyId parameter, we encrypt
-- the cluster with the provided KmsKeyId. If you don't provide
-- a KmsKeyId, we encrypt with the default key.
--
-- If the value is not encrypted (false), then the cluster is decrypted.
--
-- ModifyCluster, modifyCluster_enhancedVpcRouting - An
-- option that specifies whether to create the cluster with enhanced VPC
-- routing enabled. To create a cluster that uses enhanced VPC routing,
-- the cluster must be in a VPC. For more information, see Enhanced
-- VPC Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- ModifyCluster,
-- modifyCluster_hsmClientCertificateIdentifier - Specifies the
-- name of the HSM client certificate the Amazon Redshift cluster uses to
-- retrieve the data encryption keys stored in an HSM.
--
-- ModifyCluster, modifyCluster_hsmConfigurationIdentifier
-- - Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
--
-- ModifyCluster, modifyCluster_kmsKeyId - The Key
-- Management Service (KMS) key ID of the encryption key that you want to
-- use to encrypt data in the cluster.
--
-- ModifyCluster, modifyCluster_maintenanceTrackName - The
-- name for the maintenance track that you want to assign for the
-- cluster. This name change is asynchronous. The new track name stays in
-- the PendingModifiedValues for the cluster until the next
-- maintenance window. When the maintenance track changes, the cluster is
-- switched to the latest cluster release available for the maintenance
-- track. At this point, the maintenance track name is applied.
--
-- ModifyCluster,
-- modifyCluster_manualSnapshotRetentionPeriod - The default for
-- number of days that a newly created manual snapshot is retained. If
-- the value is -1, the manual snapshot is retained indefinitely. This
-- value doesn't retroactively change the retention periods of existing
-- manual snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- The default value is -1.
--
-- ModifyCluster, modifyCluster_masterUserPassword - The
-- new password for the cluster admin user. This change is asynchronously
-- applied as soon as possible. Between the time of the request and the
-- completion of the request, the MasterUserPassword element
-- exists in the PendingModifiedValues element of the operation
-- response.
--
-- Operations never return the password, so this operation provides a way
-- to regain access to the admin user account for a cluster if the
-- password is lost.
--
-- Default: Uses existing setting.
--
-- Constraints:
--
--
-- - Must be between 8 and 64 characters in length.
-- - Must contain at least one uppercase letter.
-- - Must contain at least one lowercase letter.
-- - Must contain one number.
-- - Can be any printable ASCII character (ASCII code 33-126) except
-- ' (single quote), " (double quote), \,
-- /, or @.
--
--
-- $sel:newClusterIdentifier':ModifyCluster',
-- modifyCluster_newClusterIdentifier - The new identifier for the
-- cluster.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
--
-- Example: examplecluster
--
-- ModifyCluster, modifyCluster_nodeType - The new node
-- type of the cluster. If you specify a new node type, you must also
-- specify the number of nodes parameter.
--
-- For more information about resizing clusters, go to Resizing
-- Clusters in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: ds2.xlarge | ds2.8xlarge |
-- dc1.large | dc1.8xlarge | dc2.large |
-- dc2.8xlarge | ra3.xlplus | ra3.4xlarge |
-- ra3.16xlarge
--
-- ModifyCluster, modifyCluster_numberOfNodes - The new
-- number of nodes of the cluster. If you specify a new number of nodes,
-- you must also specify the node type parameter.
--
-- For more information about resizing clusters, go to Resizing
-- Clusters in Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- Valid Values: Integer greater than 0.
--
-- ModifyCluster, modifyCluster_port - The option to change
-- the port of an Amazon Redshift cluster.
--
-- ModifyCluster, modifyCluster_preferredMaintenanceWindow
-- - The weekly time range (in UTC) during which system maintenance can
-- occur, if necessary. If system maintenance is necessary during the
-- window, it may result in an outage.
--
-- This maintenance window change is made immediately. If the new
-- maintenance window indicates the current time, there must be at least
-- 120 minutes between the current time and end of the window in order to
-- ensure that pending changes are applied.
--
-- Default: Uses existing setting.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi, for example
-- wed:07:30-wed:08:00.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Must be at least 30 minutes.
--
-- ModifyCluster, modifyCluster_publiclyAccessible - If
-- true, the cluster can be accessed from a public network. Only
-- clusters in VPCs can be set to be publicly available.
--
-- $sel:vpcSecurityGroupIds:ModifyCluster',
-- modifyCluster_vpcSecurityGroupIds - A list of virtual private
-- cloud (VPC) security groups to be associated with the cluster. This
-- change is asynchronously applied as soon as possible.
--
-- ModifyCluster, modifyCluster_clusterIdentifier - The
-- unique identifier of the cluster to be modified.
--
-- Example: examplecluster
newModifyCluster :: Text -> ModifyCluster
-- | See: newModifyClusterResponse smart constructor.
data ModifyClusterResponse
ModifyClusterResponse' :: Maybe Cluster -> Int -> ModifyClusterResponse
-- | Create a value of ModifyClusterResponse 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:cluster:ModifyClusterResponse',
-- modifyClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ModifyClusterResponse',
-- modifyClusterResponse_httpStatus - The response's http status
-- code.
newModifyClusterResponse :: Int -> ModifyClusterResponse
-- | See: newModifyClusterDbRevision smart constructor.
data ModifyClusterDbRevision
ModifyClusterDbRevision' :: Text -> Text -> ModifyClusterDbRevision
-- | Create a value of ModifyClusterDbRevision 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:
--
-- ModifyClusterDbRevision,
-- modifyClusterDbRevision_clusterIdentifier - The unique
-- identifier of a cluster whose database revision you want to modify.
--
-- Example: examplecluster
--
-- $sel:revisionTarget:ModifyClusterDbRevision',
-- modifyClusterDbRevision_revisionTarget - The identifier of the
-- database revision. You can retrieve this value from the response to
-- the DescribeClusterDbRevisions request.
newModifyClusterDbRevision :: Text -> Text -> ModifyClusterDbRevision
-- | See: newModifyClusterDbRevisionResponse smart
-- constructor.
data ModifyClusterDbRevisionResponse
ModifyClusterDbRevisionResponse' :: Maybe Cluster -> Int -> ModifyClusterDbRevisionResponse
-- | Create a value of ModifyClusterDbRevisionResponse 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:cluster:ModifyClusterDbRevisionResponse',
-- modifyClusterDbRevisionResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ModifyClusterDbRevisionResponse',
-- modifyClusterDbRevisionResponse_httpStatus - The response's
-- http status code.
newModifyClusterDbRevisionResponse :: Int -> ModifyClusterDbRevisionResponse
-- | See: newModifyClusterIamRoles smart constructor.
data ModifyClusterIamRoles
ModifyClusterIamRoles' :: Maybe [Text] -> Maybe Text -> Maybe [Text] -> Text -> ModifyClusterIamRoles
-- | Create a value of ModifyClusterIamRoles 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:addIamRoles:ModifyClusterIamRoles',
-- modifyClusterIamRoles_addIamRoles - Zero or more IAM roles to
-- associate with the cluster. The roles must be in their Amazon Resource
-- Name (ARN) format.
--
-- ModifyClusterIamRoles,
-- modifyClusterIamRoles_defaultIamRoleArn - The Amazon Resource
-- Name (ARN) for the IAM role that was set as default for the cluster
-- when the cluster was last modified.
--
-- $sel:removeIamRoles:ModifyClusterIamRoles',
-- modifyClusterIamRoles_removeIamRoles - Zero or more IAM roles
-- in ARN format to disassociate from the cluster.
--
-- ModifyClusterIamRoles,
-- modifyClusterIamRoles_clusterIdentifier - The unique identifier
-- of the cluster for which you want to associate or disassociate IAM
-- roles.
newModifyClusterIamRoles :: Text -> ModifyClusterIamRoles
-- | See: newModifyClusterIamRolesResponse smart constructor.
data ModifyClusterIamRolesResponse
ModifyClusterIamRolesResponse' :: Maybe Cluster -> Int -> ModifyClusterIamRolesResponse
-- | Create a value of ModifyClusterIamRolesResponse 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:cluster:ModifyClusterIamRolesResponse',
-- modifyClusterIamRolesResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ModifyClusterIamRolesResponse',
-- modifyClusterIamRolesResponse_httpStatus - The response's http
-- status code.
newModifyClusterIamRolesResponse :: Int -> ModifyClusterIamRolesResponse
-- | See: newModifyClusterMaintenance smart constructor.
data ModifyClusterMaintenance
ModifyClusterMaintenance' :: Maybe Bool -> Maybe Int -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Text -> ModifyClusterMaintenance
-- | Create a value of ModifyClusterMaintenance 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:deferMaintenance:ModifyClusterMaintenance',
-- modifyClusterMaintenance_deferMaintenance - A boolean
-- indicating whether to enable the deferred maintenance window.
--
-- $sel:deferMaintenanceDuration:ModifyClusterMaintenance',
-- modifyClusterMaintenance_deferMaintenanceDuration - An integer
-- indicating the duration of the maintenance window in days. If you
-- specify a duration, you can't specify an end time. The duration must
-- be 45 days or less.
--
-- ModifyClusterMaintenance,
-- modifyClusterMaintenance_deferMaintenanceEndTime - A timestamp
-- indicating end time for the deferred maintenance window. If you
-- specify an end time, you can't specify a duration.
--
-- ModifyClusterMaintenance,
-- modifyClusterMaintenance_deferMaintenanceIdentifier - A unique
-- identifier for the deferred maintenance window.
--
-- ModifyClusterMaintenance,
-- modifyClusterMaintenance_deferMaintenanceStartTime - A
-- timestamp indicating the start time for the deferred maintenance
-- window.
--
-- ModifyClusterMaintenance,
-- modifyClusterMaintenance_clusterIdentifier - A unique
-- identifier for the cluster.
newModifyClusterMaintenance :: Text -> ModifyClusterMaintenance
-- | See: newModifyClusterMaintenanceResponse smart
-- constructor.
data ModifyClusterMaintenanceResponse
ModifyClusterMaintenanceResponse' :: Maybe Cluster -> Int -> ModifyClusterMaintenanceResponse
-- | Create a value of ModifyClusterMaintenanceResponse 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:cluster:ModifyClusterMaintenanceResponse',
-- modifyClusterMaintenanceResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ModifyClusterMaintenanceResponse',
-- modifyClusterMaintenanceResponse_httpStatus - The response's
-- http status code.
newModifyClusterMaintenanceResponse :: Int -> ModifyClusterMaintenanceResponse
-- | Describes a modify cluster parameter group operation.
--
-- See: newModifyClusterParameterGroup smart constructor.
data ModifyClusterParameterGroup
ModifyClusterParameterGroup' :: Text -> [Parameter] -> ModifyClusterParameterGroup
-- | Create a value of ModifyClusterParameterGroup 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:
--
-- ModifyClusterParameterGroup,
-- modifyClusterParameterGroup_parameterGroupName - The name of
-- the parameter group to be modified.
--
-- ModifyClusterParameterGroup,
-- modifyClusterParameterGroup_parameters - An array of parameters
-- to be modified. A maximum of 20 parameters can be modified in a single
-- request.
--
-- For each parameter to be modified, you must supply at least the
-- parameter name and parameter value; other name-value pairs of the
-- parameter are optional.
--
-- For the workload management (WLM) configuration, you must supply all
-- the name-value pairs in the wlm_json_configuration parameter.
newModifyClusterParameterGroup :: Text -> ModifyClusterParameterGroup
-- | See: newClusterParameterGroupNameMessage smart
-- constructor.
data ClusterParameterGroupNameMessage
ClusterParameterGroupNameMessage' :: Maybe Text -> Maybe Text -> ClusterParameterGroupNameMessage
-- | Create a value of ClusterParameterGroupNameMessage 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:parameterGroupName:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupName - The name
-- of the cluster parameter group.
--
-- $sel:parameterGroupStatus:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupStatus - The
-- status of the parameter group. For example, if you made a change to a
-- parameter group name-value pair, then the change could be pending a
-- reboot of an associated cluster.
newClusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | See: newModifyClusterSnapshot smart constructor.
data ModifyClusterSnapshot
ModifyClusterSnapshot' :: Maybe Bool -> Maybe Int -> Text -> ModifyClusterSnapshot
-- | Create a value of ModifyClusterSnapshot 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:force:ModifyClusterSnapshot',
-- modifyClusterSnapshot_force - A Boolean option to override an
-- exception if the retention period has already passed.
--
-- ModifyClusterSnapshot,
-- modifyClusterSnapshot_manualSnapshotRetentionPeriod - The
-- number of days that a manual snapshot is retained. If the value is -1,
-- the manual snapshot is retained indefinitely.
--
-- If the manual snapshot falls outside of the new retention period, you
-- can specify the force option to immediately delete the snapshot.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- ModifyClusterSnapshot,
-- modifyClusterSnapshot_snapshotIdentifier - The identifier of
-- the snapshot whose setting you want to modify.
newModifyClusterSnapshot :: Text -> ModifyClusterSnapshot
-- | See: newModifyClusterSnapshotResponse smart constructor.
data ModifyClusterSnapshotResponse
ModifyClusterSnapshotResponse' :: Maybe Snapshot -> Int -> ModifyClusterSnapshotResponse
-- | Create a value of ModifyClusterSnapshotResponse 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:ModifyClusterSnapshotResponse',
-- modifyClusterSnapshotResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:ModifyClusterSnapshotResponse',
-- modifyClusterSnapshotResponse_httpStatus - The response's http
-- status code.
newModifyClusterSnapshotResponse :: Int -> ModifyClusterSnapshotResponse
-- | See: newModifyClusterSnapshotSchedule smart constructor.
data ModifyClusterSnapshotSchedule
ModifyClusterSnapshotSchedule' :: Maybe Bool -> Maybe Text -> Text -> ModifyClusterSnapshotSchedule
-- | Create a value of ModifyClusterSnapshotSchedule 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:disassociateSchedule:ModifyClusterSnapshotSchedule',
-- modifyClusterSnapshotSchedule_disassociateSchedule - A boolean
-- to indicate whether to remove the assoiciation between the cluster and
-- the schedule.
--
-- ModifyClusterSnapshotSchedule,
-- modifyClusterSnapshotSchedule_scheduleIdentifier - A unique
-- alphanumeric identifier for the schedule that you want to associate
-- with the cluster.
--
-- ModifyClusterSnapshotSchedule,
-- modifyClusterSnapshotSchedule_clusterIdentifier - A unique
-- identifier for the cluster whose snapshot schedule you want to modify.
newModifyClusterSnapshotSchedule :: Text -> ModifyClusterSnapshotSchedule
-- | See: newModifyClusterSnapshotScheduleResponse smart
-- constructor.
data ModifyClusterSnapshotScheduleResponse
ModifyClusterSnapshotScheduleResponse' :: ModifyClusterSnapshotScheduleResponse
-- | Create a value of ModifyClusterSnapshotScheduleResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newModifyClusterSnapshotScheduleResponse :: ModifyClusterSnapshotScheduleResponse
-- | See: newModifyClusterSubnetGroup smart constructor.
data ModifyClusterSubnetGroup
ModifyClusterSubnetGroup' :: Maybe Text -> Text -> [Text] -> ModifyClusterSubnetGroup
-- | Create a value of ModifyClusterSubnetGroup 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:
--
-- ModifyClusterSubnetGroup,
-- modifyClusterSubnetGroup_description - A text description of
-- the subnet group to be modified.
--
-- ModifyClusterSubnetGroup,
-- modifyClusterSubnetGroup_clusterSubnetGroupName - The name of
-- the subnet group to be modified.
--
-- $sel:subnetIds:ModifyClusterSubnetGroup',
-- modifyClusterSubnetGroup_subnetIds - An array of VPC subnet
-- IDs. A maximum of 20 subnets can be modified in a single request.
newModifyClusterSubnetGroup :: Text -> ModifyClusterSubnetGroup
-- | See: newModifyClusterSubnetGroupResponse smart
-- constructor.
data ModifyClusterSubnetGroupResponse
ModifyClusterSubnetGroupResponse' :: Maybe ClusterSubnetGroup -> Int -> ModifyClusterSubnetGroupResponse
-- | Create a value of ModifyClusterSubnetGroupResponse 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:clusterSubnetGroup:ModifyClusterSubnetGroupResponse',
-- modifyClusterSubnetGroupResponse_clusterSubnetGroup -
-- Undocumented member.
--
-- $sel:httpStatus:ModifyClusterSubnetGroupResponse',
-- modifyClusterSubnetGroupResponse_httpStatus - The response's
-- http status code.
newModifyClusterSubnetGroupResponse :: Int -> ModifyClusterSubnetGroupResponse
-- | See: newModifyEndpointAccess smart constructor.
data ModifyEndpointAccess
ModifyEndpointAccess' :: Maybe [Text] -> Text -> ModifyEndpointAccess
-- | Create a value of ModifyEndpointAccess 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:ModifyEndpointAccess',
-- modifyEndpointAccess_vpcSecurityGroupIds - The complete list of
-- VPC security groups associated with the endpoint after the endpoint is
-- modified.
--
-- ModifyEndpointAccess, modifyEndpointAccess_endpointName
-- - The endpoint to be modified.
newModifyEndpointAccess :: Text -> ModifyEndpointAccess
-- | Describes a Redshift-managed VPC endpoint.
--
-- See: newEndpointAccess smart constructor.
data EndpointAccess
EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> 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:clusterIdentifier:EndpointAccess',
-- endpointAccess_clusterIdentifier - The cluster identifier of
-- the cluster associated with the endpoint.
--
-- $sel:endpointCreateTime:EndpointAccess',
-- endpointAccess_endpointCreateTime - The time (UTC) that the
-- endpoint was created.
--
-- $sel:endpointName:EndpointAccess',
-- endpointAccess_endpointName - The name of the endpoint.
--
-- $sel:endpointStatus:EndpointAccess',
-- endpointAccess_endpointStatus - The status of the endpoint.
--
-- $sel:port:EndpointAccess', endpointAccess_port - The
-- port number on which the cluster accepts incoming connections.
--
-- $sel:resourceOwner:EndpointAccess',
-- endpointAccess_resourceOwner - The Amazon Web Services account
-- ID of the owner of the cluster.
--
-- $sel:subnetGroupName:EndpointAccess',
-- endpointAccess_subnetGroupName - The subnet group name where
-- Amazon Redshift chooses to deploy the endpoint.
--
-- $sel:vpcEndpoint:EndpointAccess',
-- endpointAccess_vpcEndpoint - Undocumented member.
--
-- $sel:vpcSecurityGroups:EndpointAccess',
-- endpointAccess_vpcSecurityGroups - The security groups
-- associated with the endpoint.
newEndpointAccess :: EndpointAccess
-- | See: newModifyEventSubscription smart constructor.
data ModifyEventSubscription
ModifyEventSubscription' :: Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Text -> ModifyEventSubscription
-- | Create a value of ModifyEventSubscription 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:
--
-- ModifyEventSubscription, modifyEventSubscription_enabled
-- - A Boolean value indicating if the subscription is enabled.
-- true indicates the subscription is enabled
--
-- ModifyEventSubscription,
-- modifyEventSubscription_eventCategories - Specifies the Amazon
-- Redshift event categories to be published by the event notification
-- subscription.
--
-- Values: configuration, management, monitoring, security, pending
--
-- ModifyEventSubscription,
-- modifyEventSubscription_severity - Specifies the Amazon
-- Redshift event severity to be published by the event notification
-- subscription.
--
-- Values: ERROR, INFO
--
-- ModifyEventSubscription,
-- modifyEventSubscription_snsTopicArn - The Amazon Resource Name
-- (ARN) of the SNS topic to be used by the event notification
-- subscription.
--
-- $sel:sourceIds:ModifyEventSubscription',
-- modifyEventSubscription_sourceIds - A list of one or more
-- identifiers of Amazon Redshift source objects. All of the objects must
-- be of the same type as was specified in the source type parameter. The
-- event subscription will return only events generated by the specified
-- objects. If not specified, then events are returned for all objects
-- within the source type specified.
--
-- Example: my-cluster-1, my-cluster-2
--
-- Example: my-snapshot-20131010
--
-- ModifyEventSubscription,
-- modifyEventSubscription_sourceType - The type of source that
-- will be generating the events. For example, if you want to be notified
-- of events generated by a cluster, you would set this parameter to
-- cluster. If this value is not specified, events are returned for all
-- Amazon Redshift objects in your Amazon Web Services account. You must
-- specify a source type in order to specify source IDs.
--
-- Valid values: cluster, cluster-parameter-group,
-- cluster-security-group, cluster-snapshot, and scheduled-action.
--
-- $sel:subscriptionName:ModifyEventSubscription',
-- modifyEventSubscription_subscriptionName - The name of the
-- modified Amazon Redshift event notification subscription.
newModifyEventSubscription :: Text -> ModifyEventSubscription
-- | See: newModifyEventSubscriptionResponse smart
-- constructor.
data ModifyEventSubscriptionResponse
ModifyEventSubscriptionResponse' :: Maybe EventSubscription -> Int -> ModifyEventSubscriptionResponse
-- | Create a value of ModifyEventSubscriptionResponse 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:eventSubscription:ModifyEventSubscriptionResponse',
-- modifyEventSubscriptionResponse_eventSubscription -
-- Undocumented member.
--
-- $sel:httpStatus:ModifyEventSubscriptionResponse',
-- modifyEventSubscriptionResponse_httpStatus - The response's
-- http status code.
newModifyEventSubscriptionResponse :: Int -> ModifyEventSubscriptionResponse
-- | See: newModifyScheduledAction smart constructor.
data ModifyScheduledAction
ModifyScheduledAction' :: Maybe Bool -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionType -> Text -> ModifyScheduledAction
-- | Create a value of ModifyScheduledAction 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:enable:ModifyScheduledAction',
-- modifyScheduledAction_enable - A modified enable flag of the
-- scheduled action. If true, the scheduled action is active. If false,
-- the scheduled action is disabled.
--
-- ModifyScheduledAction, modifyScheduledAction_endTime - A
-- modified end time of the scheduled action. For more information about
-- this parameter, see ScheduledAction.
--
-- ModifyScheduledAction, modifyScheduledAction_iamRole - A
-- different IAM role to assume to run the target action. For more
-- information about this parameter, see ScheduledAction.
--
-- ModifyScheduledAction, modifyScheduledAction_schedule -
-- A modified schedule in either at( ) or cron( )
-- format. For more information about this parameter, see
-- ScheduledAction.
--
-- ModifyScheduledAction,
-- modifyScheduledAction_scheduledActionDescription - A modified
-- description of the scheduled action.
--
-- ModifyScheduledAction, modifyScheduledAction_startTime -
-- A modified start time of the scheduled action. For more information
-- about this parameter, see ScheduledAction.
--
-- ModifyScheduledAction,
-- modifyScheduledAction_targetAction - A modified JSON format of
-- the scheduled action. For more information about this parameter, see
-- ScheduledAction.
--
-- ModifyScheduledAction,
-- modifyScheduledAction_scheduledActionName - The name of the
-- scheduled action to modify.
newModifyScheduledAction :: Text -> ModifyScheduledAction
-- | Describes a scheduled action. You can use a scheduled action to
-- trigger some Amazon Redshift API operations on a schedule. For
-- information about which API operations can be scheduled, see
-- ScheduledActionType.
--
-- See: newScheduledAction smart constructor.
data ScheduledAction
ScheduledAction' :: Maybe ISO8601 -> Maybe Text -> Maybe [ISO8601] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionState -> Maybe ScheduledActionType -> ScheduledAction
-- | Create a value of ScheduledAction 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:ScheduledAction', scheduledAction_endTime -
-- The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
--
-- $sel:iamRole:ScheduledAction', scheduledAction_iamRole -
-- The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- $sel:nextInvocations:ScheduledAction',
-- scheduledAction_nextInvocations - List of times when the
-- scheduled action will run.
--
-- $sel:schedule:ScheduledAction', scheduledAction_schedule
-- - The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
--
-- $sel:scheduledActionDescription:ScheduledAction',
-- scheduledAction_scheduledActionDescription - The description of
-- the scheduled action.
--
-- $sel:scheduledActionName:ScheduledAction',
-- scheduledAction_scheduledActionName - The name of the scheduled
-- action.
--
-- $sel:startTime:ScheduledAction',
-- scheduledAction_startTime - The start time in UTC when the
-- schedule is active. Before this time, the scheduled action does not
-- trigger.
--
-- $sel:state:ScheduledAction', scheduledAction_state - The
-- state of the scheduled action. For example, DISABLED.
--
-- $sel:targetAction:ScheduledAction',
-- scheduledAction_targetAction - A JSON format string of the
-- Amazon Redshift API operation with input parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
newScheduledAction :: ScheduledAction
-- | See: newModifySnapshotCopyRetentionPeriod smart
-- constructor.
data ModifySnapshotCopyRetentionPeriod
ModifySnapshotCopyRetentionPeriod' :: Maybe Bool -> Text -> Int -> ModifySnapshotCopyRetentionPeriod
-- | Create a value of ModifySnapshotCopyRetentionPeriod 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:manual:ModifySnapshotCopyRetentionPeriod',
-- modifySnapshotCopyRetentionPeriod_manual - Indicates whether to
-- apply the snapshot retention period to newly copied manual snapshots
-- instead of automated snapshots.
--
-- ModifySnapshotCopyRetentionPeriod,
-- modifySnapshotCopyRetentionPeriod_clusterIdentifier - The
-- unique identifier of the cluster for which you want to change the
-- retention period for either automated or manual snapshots that are
-- copied to a destination Amazon Web Services Region.
--
-- Constraints: Must be the valid name of an existing cluster that has
-- cross-region snapshot copy enabled.
--
-- ModifySnapshotCopyRetentionPeriod,
-- modifySnapshotCopyRetentionPeriod_retentionPeriod - The number
-- of days to retain automated snapshots in the destination Amazon Web
-- Services Region after they are copied from the source Amazon Web
-- Services Region.
--
-- By default, this only changes the retention period of copied automated
-- snapshots.
--
-- If you decrease the retention period for automated snapshots that are
-- copied to a destination Amazon Web Services Region, Amazon Redshift
-- deletes any existing automated snapshots that were copied to the
-- destination Amazon Web Services Region and that fall outside of the
-- new retention period.
--
-- Constraints: Must be at least 1 and no more than 35 for automated
-- snapshots.
--
-- If you specify the manual option, only newly copied manual
-- snapshots will have the new retention period.
--
-- If you specify the value of -1 newly copied manual snapshots are
-- retained indefinitely.
--
-- Constraints: The number of days must be either -1 or an integer
-- between 1 and 3,653 for manual snapshots.
newModifySnapshotCopyRetentionPeriod :: Text -> Int -> ModifySnapshotCopyRetentionPeriod
-- | See: newModifySnapshotCopyRetentionPeriodResponse smart
-- constructor.
data ModifySnapshotCopyRetentionPeriodResponse
ModifySnapshotCopyRetentionPeriodResponse' :: Maybe Cluster -> Int -> ModifySnapshotCopyRetentionPeriodResponse
-- | Create a value of ModifySnapshotCopyRetentionPeriodResponse
-- 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:cluster:ModifySnapshotCopyRetentionPeriodResponse',
-- modifySnapshotCopyRetentionPeriodResponse_cluster -
-- Undocumented member.
--
-- $sel:httpStatus:ModifySnapshotCopyRetentionPeriodResponse',
-- modifySnapshotCopyRetentionPeriodResponse_httpStatus - The
-- response's http status code.
newModifySnapshotCopyRetentionPeriodResponse :: Int -> ModifySnapshotCopyRetentionPeriodResponse
-- | See: newModifySnapshotSchedule smart constructor.
data ModifySnapshotSchedule
ModifySnapshotSchedule' :: Text -> [Text] -> ModifySnapshotSchedule
-- | Create a value of ModifySnapshotSchedule 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:
--
-- ModifySnapshotSchedule,
-- modifySnapshotSchedule_scheduleIdentifier - A unique
-- alphanumeric identifier of the schedule to modify.
--
-- ModifySnapshotSchedule,
-- modifySnapshotSchedule_scheduleDefinitions - An updated list of
-- schedule definitions. A schedule definition is made up of schedule
-- expressions, for example, "cron(30 12 *)" or "rate(12 hours)".
newModifySnapshotSchedule :: Text -> ModifySnapshotSchedule
-- | Describes a snapshot schedule. You can set a regular interval for
-- creating snapshots of a cluster. You can also schedule snapshots for
-- specific dates.
--
-- See: newSnapshotSchedule smart constructor.
data SnapshotSchedule
SnapshotSchedule' :: Maybe Int -> Maybe [ClusterAssociatedToSchedule] -> Maybe [ISO8601] -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Tag] -> SnapshotSchedule
-- | Create a value of SnapshotSchedule 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:associatedClusterCount:SnapshotSchedule',
-- snapshotSchedule_associatedClusterCount - The number of
-- clusters associated with the schedule.
--
-- $sel:associatedClusters:SnapshotSchedule',
-- snapshotSchedule_associatedClusters - A list of clusters
-- associated with the schedule. A maximum of 100 clusters is returned.
--
-- $sel:nextInvocations:SnapshotSchedule',
-- snapshotSchedule_nextInvocations -
--
-- $sel:scheduleDefinitions:SnapshotSchedule',
-- snapshotSchedule_scheduleDefinitions - A list of
-- ScheduleDefinitions.
--
-- $sel:scheduleDescription:SnapshotSchedule',
-- snapshotSchedule_scheduleDescription - The description of the
-- schedule.
--
-- $sel:scheduleIdentifier:SnapshotSchedule',
-- snapshotSchedule_scheduleIdentifier - A unique identifier for
-- the schedule.
--
-- $sel:tags:SnapshotSchedule', snapshotSchedule_tags - An
-- optional set of tags describing the schedule.
newSnapshotSchedule :: SnapshotSchedule
-- | See: newModifyUsageLimit smart constructor.
data ModifyUsageLimit
ModifyUsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Text -> ModifyUsageLimit
-- | Create a value of ModifyUsageLimit 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:
--
-- ModifyUsageLimit, modifyUsageLimit_amount - The new
-- limit amount. For more information about this parameter, see
-- UsageLimit.
--
-- ModifyUsageLimit, modifyUsageLimit_breachAction - The
-- new action that Amazon Redshift takes when the limit is reached. For
-- more information about this parameter, see UsageLimit.
--
-- ModifyUsageLimit, modifyUsageLimit_usageLimitId - The
-- identifier of the usage limit to modify.
newModifyUsageLimit :: Text -> ModifyUsageLimit
-- | Describes a usage limit object for a cluster.
--
-- See: newUsageLimit smart constructor.
data UsageLimit
UsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Maybe Text -> Maybe UsageLimitFeatureType -> Maybe UsageLimitLimitType -> Maybe UsageLimitPeriod -> Maybe [Tag] -> Maybe Text -> 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 minutes. If data-based, this
-- amount is in terabytes (TB).
--
-- $sel:breachAction:UsageLimit', usageLimit_breachAction -
-- The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
--
-- $sel:clusterIdentifier:UsageLimit',
-- usageLimit_clusterIdentifier - The identifier of the cluster
-- with a usage limit.
--
-- $sel:featureType:UsageLimit', usageLimit_featureType -
-- The Amazon Redshift feature to which the limit applies.
--
-- $sel:limitType:UsageLimit', usageLimit_limitType - The
-- type of limit. Depending on the feature type, this can be based on a
-- time duration or data size.
--
-- $sel:period:UsageLimit', usageLimit_period - The time
-- period that the amount applies to. A weekly period begins on
-- Sunday. The default is monthly.
--
-- $sel:tags:UsageLimit', usageLimit_tags - A list of tag
-- instances.
--
-- $sel:usageLimitId:UsageLimit', usageLimit_usageLimitId -
-- The identifier of the usage limit.
newUsageLimit :: UsageLimit
-- | Describes a pause cluster operation. For example, a scheduled action
-- to run the PauseCluster API operation.
--
-- See: newPauseCluster smart constructor.
data PauseCluster
PauseCluster' :: Text -> PauseCluster
-- | Create a value of PauseCluster 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:
--
-- PauseCluster, pauseCluster_clusterIdentifier - The
-- identifier of the cluster to be paused.
newPauseCluster :: Text -> PauseCluster
-- | See: newPauseClusterResponse smart constructor.
data PauseClusterResponse
PauseClusterResponse' :: Maybe Cluster -> Int -> PauseClusterResponse
-- | Create a value of PauseClusterResponse 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:cluster:PauseClusterResponse',
-- pauseClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:PauseClusterResponse',
-- pauseClusterResponse_httpStatus - The response's http status
-- code.
newPauseClusterResponse :: Int -> PauseClusterResponse
-- | See: newPurchaseReservedNodeOffering smart constructor.
data PurchaseReservedNodeOffering
PurchaseReservedNodeOffering' :: Maybe Int -> Text -> PurchaseReservedNodeOffering
-- | Create a value of PurchaseReservedNodeOffering 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:
--
-- PurchaseReservedNodeOffering,
-- purchaseReservedNodeOffering_nodeCount - The number of reserved
-- nodes that you want to purchase.
--
-- Default: 1
--
-- PurchaseReservedNodeOffering,
-- purchaseReservedNodeOffering_reservedNodeOfferingId - The
-- unique identifier of the reserved node offering you want to purchase.
newPurchaseReservedNodeOffering :: Text -> PurchaseReservedNodeOffering
-- | See: newPurchaseReservedNodeOfferingResponse smart
-- constructor.
data PurchaseReservedNodeOfferingResponse
PurchaseReservedNodeOfferingResponse' :: Maybe ReservedNode -> Int -> PurchaseReservedNodeOfferingResponse
-- | Create a value of PurchaseReservedNodeOfferingResponse 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:reservedNode:PurchaseReservedNodeOfferingResponse',
-- purchaseReservedNodeOfferingResponse_reservedNode -
-- Undocumented member.
--
-- $sel:httpStatus:PurchaseReservedNodeOfferingResponse',
-- purchaseReservedNodeOfferingResponse_httpStatus - The
-- response's http status code.
newPurchaseReservedNodeOfferingResponse :: Int -> PurchaseReservedNodeOfferingResponse
-- | See: newRebootCluster smart constructor.
data RebootCluster
RebootCluster' :: Text -> RebootCluster
-- | Create a value of RebootCluster 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:
--
-- RebootCluster, rebootCluster_clusterIdentifier - The
-- cluster identifier.
newRebootCluster :: Text -> RebootCluster
-- | See: newRebootClusterResponse smart constructor.
data RebootClusterResponse
RebootClusterResponse' :: Maybe Cluster -> Int -> RebootClusterResponse
-- | Create a value of RebootClusterResponse 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:cluster:RebootClusterResponse',
-- rebootClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:RebootClusterResponse',
-- rebootClusterResponse_httpStatus - The response's http status
-- code.
newRebootClusterResponse :: Int -> RebootClusterResponse
-- | See: newRejectDataShare smart constructor.
data RejectDataShare
RejectDataShare' :: Text -> RejectDataShare
-- | Create a value of RejectDataShare 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:
--
-- RejectDataShare, rejectDataShare_dataShareArn - The
-- Amazon Resource Name (ARN) of the datashare to reject.
newRejectDataShare :: Text -> RejectDataShare
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | See: newResetClusterParameterGroup smart constructor.
data ResetClusterParameterGroup
ResetClusterParameterGroup' :: Maybe [Parameter] -> Maybe Bool -> Text -> ResetClusterParameterGroup
-- | Create a value of ResetClusterParameterGroup 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:
--
-- ResetClusterParameterGroup,
-- resetClusterParameterGroup_parameters - An array of names of
-- parameters to be reset. If ResetAllParameters option is not
-- used, then at least one parameter name must be supplied.
--
-- Constraints: A maximum of 20 parameters can be reset in a single
-- request.
--
-- $sel:resetAllParameters:ResetClusterParameterGroup',
-- resetClusterParameterGroup_resetAllParameters - If
-- true, all parameters in the specified parameter group will be
-- reset to their default values.
--
-- Default: true
--
-- ResetClusterParameterGroup,
-- resetClusterParameterGroup_parameterGroupName - The name of the
-- cluster parameter group to be reset.
newResetClusterParameterGroup :: Text -> ResetClusterParameterGroup
-- | See: newClusterParameterGroupNameMessage smart
-- constructor.
data ClusterParameterGroupNameMessage
ClusterParameterGroupNameMessage' :: Maybe Text -> Maybe Text -> ClusterParameterGroupNameMessage
-- | Create a value of ClusterParameterGroupNameMessage 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:parameterGroupName:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupName - The name
-- of the cluster parameter group.
--
-- $sel:parameterGroupStatus:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupStatus - The
-- status of the parameter group. For example, if you made a change to a
-- parameter group name-value pair, then the change could be pending a
-- reboot of an associated cluster.
newClusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | Describes a resize cluster operation. For example, a scheduled action
-- to run the ResizeCluster API operation.
--
-- See: newResizeCluster smart constructor.
data ResizeCluster
ResizeCluster' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Text -> ResizeCluster
-- | Create a value of ResizeCluster 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:
--
-- ResizeCluster, resizeCluster_classic - A boolean value
-- indicating whether the resize operation is using the classic resize
-- process. If you don't provide this parameter or set the value to
-- false, the resize type is elastic.
--
-- ResizeCluster, resizeCluster_clusterType - The new
-- cluster type for the specified cluster.
--
-- ResizeCluster, resizeCluster_nodeType - The new node
-- type for the nodes you are adding. If not specified, the cluster's
-- current node type is used.
--
-- ResizeCluster, resizeCluster_numberOfNodes - The new
-- number of nodes for the cluster. If not specified, the cluster's
-- current number of nodes is used.
--
-- ResizeCluster, resizeCluster_reservedNodeId - The
-- identifier of the reserved node.
--
-- ResizeCluster,
-- resizeCluster_targetReservedNodeOfferingId - The identifier of
-- the target reserved node offering.
--
-- ResizeCluster, resizeCluster_clusterIdentifier - The
-- unique identifier for the cluster to resize.
newResizeCluster :: Text -> ResizeCluster
-- | See: newResizeClusterResponse smart constructor.
data ResizeClusterResponse
ResizeClusterResponse' :: Maybe Cluster -> Int -> ResizeClusterResponse
-- | Create a value of ResizeClusterResponse 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:cluster:ResizeClusterResponse',
-- resizeClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ResizeClusterResponse',
-- resizeClusterResponse_httpStatus - The response's http status
-- code.
newResizeClusterResponse :: Int -> ResizeClusterResponse
-- | See: newRestoreFromClusterSnapshot smart constructor.
data RestoreFromClusterSnapshot
RestoreFromClusterSnapshot' :: Maybe Text -> Maybe Bool -> Maybe AquaConfigurationStatus -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Text -> RestoreFromClusterSnapshot
-- | Create a value of RestoreFromClusterSnapshot 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:additionalInfo:RestoreFromClusterSnapshot',
-- restoreFromClusterSnapshot_additionalInfo - Reserved.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_allowVersionUpgrade - If
-- true, major version upgrades can be applied during the
-- maintenance window to the Amazon Redshift engine that is running on
-- the cluster.
--
-- Default: true
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_aquaConfigurationStatus - This
-- parameter is retired. It does not set the AQUA configuration status.
-- Amazon Redshift automatically determines whether to use AQUA (Advanced
-- Query Accelerator).
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_automatedSnapshotRetentionPeriod -
-- The number of days that automated snapshots are retained. If the value
-- is 0, automated snapshots are disabled. Even if automated snapshots
-- are disabled, you can still create manual snapshots when you want with
-- CreateClusterSnapshot.
--
-- You can't disable automated snapshots for RA3 node types. Set the
-- automated retention period from 1-35 days.
--
-- Default: The value selected for the cluster from which the snapshot
-- was taken.
--
-- Constraints: Must be a value from 0 to 35.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_availabilityZone - The Amazon EC2
-- Availability Zone in which to restore the cluster.
--
-- Default: A random, system-chosen Availability Zone.
--
-- Example: us-east-2a
--
-- $sel:availabilityZoneRelocation:RestoreFromClusterSnapshot',
-- restoreFromClusterSnapshot_availabilityZoneRelocation - The
-- option to enable relocation for an Amazon Redshift cluster between
-- Availability Zones after the cluster is restored.
--
-- $sel:clusterParameterGroupName:RestoreFromClusterSnapshot',
-- restoreFromClusterSnapshot_clusterParameterGroupName - The name
-- of the parameter group to be associated with this cluster.
--
-- Default: The default Amazon Redshift cluster parameter group. For
-- information about the default parameter group, go to Working with
-- Amazon Redshift Parameter Groups.
--
-- Constraints:
--
--
-- - Must be 1 to 255 alphanumeric characters or hyphens.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
--
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_clusterSecurityGroups - A list of
-- security groups to be associated with this cluster.
--
-- Default: The default cluster security group for Amazon Redshift.
--
-- Cluster security groups only apply to clusters outside of VPCs.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_clusterSubnetGroupName - The name of
-- the subnet group where you want to cluster restored.
--
-- A snapshot of cluster in VPC can be restored only in VPC. Therefore,
-- you must provide subnet group name where you want the cluster
-- restored.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_defaultIamRoleArn - The Amazon
-- Resource Name (ARN) for the IAM role that was set as default for the
-- cluster when the cluster was last modified while it was restored from
-- a snapshot.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_elasticIp - The Elastic IP (EIP)
-- address for the cluster. Don't specify the Elastic IP address for a
-- publicly accessible cluster with availability zone relocation turned
-- on.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_encrypted - Enables support for
-- restoring an unencrypted snapshot to a cluster encrypted with Key
-- Management Service (KMS) and a customer managed key.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_enhancedVpcRouting - An option that
-- specifies whether to create the cluster with enhanced VPC routing
-- enabled. To create a cluster that uses enhanced VPC routing, the
-- cluster must be in a VPC. For more information, see Enhanced VPC
-- Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_hsmClientCertificateIdentifier -
-- Specifies the name of the HSM client certificate the Amazon Redshift
-- cluster uses to retrieve the data encryption keys stored in an HSM.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_hsmConfigurationIdentifier -
-- Specifies the name of the HSM configuration that contains the
-- information the Amazon Redshift cluster can use to retrieve and store
-- keys in an HSM.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_iamRoles - A list of Identity and
-- Access Management (IAM) roles that can be used by the cluster to
-- access other Amazon Web Services services. You must supply the IAM
-- roles in their Amazon Resource Name (ARN) format.
--
-- The maximum number of IAM roles that you can associate is subject to a
-- quota. For more information, go to Quotas and limits in the
-- Amazon Redshift Cluster Management Guide.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_kmsKeyId - The Key Management
-- Service (KMS) key ID of the encryption key that encrypts data in the
-- cluster restored from a shared snapshot. You can also provide the key
-- ID when you restore from an unencrypted snapshot to an encrypted
-- cluster in the same account. Additionally, you can specify a new KMS
-- key ID when you restore from an encrypted snapshot in the same account
-- in order to change it. In that case, the restored cluster is encrypted
-- with the new KMS key ID.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_maintenanceTrackName - The name of
-- the maintenance track for the restored cluster. When you take a
-- snapshot, the snapshot inherits the MaintenanceTrack value
-- from the cluster. The snapshot might be on a different track than the
-- cluster that was the source for the snapshot. For example, suppose
-- that you take a snapshot of a cluster that is on the current track and
-- then change the cluster to be on the trailing track. In this case, the
-- snapshot and the source cluster are on different tracks.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_manualSnapshotRetentionPeriod - The
-- default number of days to retain a manual snapshot. If the value is
-- -1, the snapshot is retained indefinitely. This setting doesn't change
-- the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_nodeType - The node type that the
-- restored cluster will be provisioned with.
--
-- Default: The node type of the cluster from which the snapshot was
-- taken. You can modify this if you are using any DS node type. In that
-- case, you can choose to restore into another DS node type of the same
-- size. For example, you can restore ds1.8xlarge into ds2.8xlarge, or
-- ds1.xlarge into ds2.xlarge. If you have a DC instance type, you must
-- restore into that same instance type and size. In other words, you can
-- only restore a dc1.large instance type into another dc1.large instance
-- type or dc2.large instance type. You can't restore dc1.8xlarge to
-- dc2.8xlarge. First restore to a dc1.8xlarge cluster, then resize to a
-- dc2.8large cluster. For more information about node types, see
-- About Clusters and Nodes in the Amazon Redshift Cluster
-- Management Guide.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_numberOfNodes - The number of nodes
-- specified when provisioning the restored cluster.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_ownerAccount - The Amazon Web
-- Services account used to create or copy the snapshot. Required if you
-- are restoring a snapshot you do not own, optional if you own the
-- snapshot.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_port - The port number on which the
-- cluster accepts connections.
--
-- Default: The same port as the original cluster.
--
-- Constraints: Must be between 1115 and 65535.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_preferredMaintenanceWindow - The
-- weekly time range (in UTC) during which automated cluster maintenance
-- can occur.
--
-- Format: ddd:hh24:mi-ddd:hh24:mi
--
-- Default: The value selected for the cluster from which the snapshot
-- was taken. For more information about the time blocks for each region,
-- see Maintenance Windows in Amazon Redshift Cluster Management
-- Guide.
--
-- Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun
--
-- Constraints: Minimum 30-minute window.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_publiclyAccessible - If
-- true, the cluster can be accessed from a public network.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_reservedNodeId - The identifier of
-- the target reserved node offering.
--
-- $sel:snapshotArn:RestoreFromClusterSnapshot',
-- restoreFromClusterSnapshot_snapshotArn - The Amazon Resource
-- Name (ARN) of the snapshot associated with the message to restore from
-- a cluster. You can specify this parameter or
-- snapshotIdentifier, but not both.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_snapshotClusterIdentifier - The name
-- of the cluster the source snapshot was created from. This parameter is
-- required if your IAM user has a policy containing a snapshot resource
-- element that specifies anything other than * for the cluster name.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_snapshotIdentifier - The name of the
-- snapshot from which to create the new cluster. This parameter isn't
-- case sensitive. You can specify this parameter or
-- snapshotArn, but not both.
--
-- Example: my-snapshot-id
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_snapshotScheduleIdentifier - A
-- unique identifier for the snapshot schedule.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_targetReservedNodeOfferingId - The
-- identifier of the target reserved node offering.
--
-- $sel:vpcSecurityGroupIds:RestoreFromClusterSnapshot',
-- restoreFromClusterSnapshot_vpcSecurityGroupIds - A list of
-- Virtual Private Cloud (VPC) security groups to be associated with the
-- cluster.
--
-- Default: The default VPC security group is associated with the
-- cluster.
--
-- VPC security groups only apply to clusters in VPCs.
--
-- RestoreFromClusterSnapshot,
-- restoreFromClusterSnapshot_clusterIdentifier - The identifier
-- of the cluster that will be created from restoring the snapshot.
--
-- Constraints:
--
--
-- - Must contain from 1 to 63 alphanumeric characters or hyphens.
-- - Alphabetic characters must be lowercase.
-- - First character must be a letter.
-- - Cannot end with a hyphen or contain two consecutive hyphens.
-- - Must be unique for all clusters within an Amazon Web Services
-- account.
--
newRestoreFromClusterSnapshot :: Text -> RestoreFromClusterSnapshot
-- | See: newRestoreFromClusterSnapshotResponse smart
-- constructor.
data RestoreFromClusterSnapshotResponse
RestoreFromClusterSnapshotResponse' :: Maybe Cluster -> Int -> RestoreFromClusterSnapshotResponse
-- | Create a value of RestoreFromClusterSnapshotResponse 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:cluster:RestoreFromClusterSnapshotResponse',
-- restoreFromClusterSnapshotResponse_cluster - Undocumented
-- member.
--
-- $sel:httpStatus:RestoreFromClusterSnapshotResponse',
-- restoreFromClusterSnapshotResponse_httpStatus - The response's
-- http status code.
newRestoreFromClusterSnapshotResponse :: Int -> RestoreFromClusterSnapshotResponse
-- | See: newRestoreTableFromClusterSnapshot smart
-- constructor.
data RestoreTableFromClusterSnapshot
RestoreTableFromClusterSnapshot' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> Text -> Text -> RestoreTableFromClusterSnapshot
-- | Create a value of RestoreTableFromClusterSnapshot 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:enableCaseSensitiveIdentifier:RestoreTableFromClusterSnapshot',
-- restoreTableFromClusterSnapshot_enableCaseSensitiveIdentifier -
-- Indicates whether name identifiers for database, schema, and table are
-- case sensitive. If true, the names are case sensitive. If
-- false (default), the names are not case sensitive.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_sourceSchemaName - The name of
-- the source schema that contains the table to restore from. If you do
-- not specify a SourceSchemaName value, the default is
-- public.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_targetDatabaseName - The name
-- of the database to restore the table to.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_targetSchemaName - The name of
-- the schema to restore the table to.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_clusterIdentifier - The
-- identifier of the Amazon Redshift cluster to restore the table to.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_snapshotIdentifier - The
-- identifier of the snapshot to restore the table from. This snapshot
-- must have been created from the Amazon Redshift cluster specified by
-- the ClusterIdentifier parameter.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_sourceDatabaseName - The name
-- of the source database that contains the table to restore from.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_sourceTableName - The name of
-- the source table to restore from.
--
-- RestoreTableFromClusterSnapshot,
-- restoreTableFromClusterSnapshot_newTableName - The name of the
-- table to create as a result of the current request.
newRestoreTableFromClusterSnapshot :: Text -> Text -> Text -> Text -> Text -> RestoreTableFromClusterSnapshot
-- | See: newRestoreTableFromClusterSnapshotResponse smart
-- constructor.
data RestoreTableFromClusterSnapshotResponse
RestoreTableFromClusterSnapshotResponse' :: Maybe TableRestoreStatus -> Int -> RestoreTableFromClusterSnapshotResponse
-- | Create a value of RestoreTableFromClusterSnapshotResponse 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:RestoreTableFromClusterSnapshotResponse',
-- restoreTableFromClusterSnapshotResponse_tableRestoreStatus -
-- Undocumented member.
--
-- $sel:httpStatus:RestoreTableFromClusterSnapshotResponse',
-- restoreTableFromClusterSnapshotResponse_httpStatus - The
-- response's http status code.
newRestoreTableFromClusterSnapshotResponse :: Int -> RestoreTableFromClusterSnapshotResponse
-- | Describes a resume cluster operation. For example, a scheduled action
-- to run the ResumeCluster API operation.
--
-- See: newResumeCluster smart constructor.
data ResumeCluster
ResumeCluster' :: Text -> ResumeCluster
-- | Create a value of ResumeCluster 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:
--
-- ResumeCluster, resumeCluster_clusterIdentifier - The
-- identifier of the cluster to be resumed.
newResumeCluster :: Text -> ResumeCluster
-- | See: newResumeClusterResponse smart constructor.
data ResumeClusterResponse
ResumeClusterResponse' :: Maybe Cluster -> Int -> ResumeClusterResponse
-- | Create a value of ResumeClusterResponse 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:cluster:ResumeClusterResponse',
-- resumeClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:ResumeClusterResponse',
-- resumeClusterResponse_httpStatus - The response's http status
-- code.
newResumeClusterResponse :: Int -> ResumeClusterResponse
-- | See: newRevokeClusterSecurityGroupIngress smart
-- constructor.
data RevokeClusterSecurityGroupIngress
RevokeClusterSecurityGroupIngress' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> RevokeClusterSecurityGroupIngress
-- | Create a value of RevokeClusterSecurityGroupIngress 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:
--
-- RevokeClusterSecurityGroupIngress,
-- revokeClusterSecurityGroupIngress_cidrip - The IP range for
-- which to revoke access. This range must be a valid Classless
-- Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP
-- is specified, EC2SecurityGroupName and
-- EC2SecurityGroupOwnerId cannot be provided.
--
-- RevokeClusterSecurityGroupIngress,
-- revokeClusterSecurityGroupIngress_eC2SecurityGroupName - The
-- name of the EC2 Security Group whose access is to be revoked. If
-- EC2SecurityGroupName is specified,
-- EC2SecurityGroupOwnerId must also be provided and
-- CIDRIP cannot be provided.
--
-- RevokeClusterSecurityGroupIngress,
-- revokeClusterSecurityGroupIngress_eC2SecurityGroupOwnerId - The
-- Amazon Web Services account number of the owner of the security group
-- specified in the EC2SecurityGroupName parameter. The Amazon
-- Web Services access key ID is not an acceptable value. If
-- EC2SecurityGroupOwnerId is specified,
-- EC2SecurityGroupName must also be provided. and
-- CIDRIP cannot be provided.
--
-- Example: 111122223333
--
-- RevokeClusterSecurityGroupIngress,
-- revokeClusterSecurityGroupIngress_clusterSecurityGroupName -
-- The name of the security Group from which to revoke the ingress rule.
newRevokeClusterSecurityGroupIngress :: Text -> RevokeClusterSecurityGroupIngress
-- | See: newRevokeClusterSecurityGroupIngressResponse smart
-- constructor.
data RevokeClusterSecurityGroupIngressResponse
RevokeClusterSecurityGroupIngressResponse' :: Maybe ClusterSecurityGroup -> Int -> RevokeClusterSecurityGroupIngressResponse
-- | Create a value of RevokeClusterSecurityGroupIngressResponse
-- 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:clusterSecurityGroup:RevokeClusterSecurityGroupIngressResponse',
-- revokeClusterSecurityGroupIngressResponse_clusterSecurityGroup
-- - Undocumented member.
--
-- $sel:httpStatus:RevokeClusterSecurityGroupIngressResponse',
-- revokeClusterSecurityGroupIngressResponse_httpStatus - The
-- response's http status code.
newRevokeClusterSecurityGroupIngressResponse :: Int -> RevokeClusterSecurityGroupIngressResponse
-- | See: newRevokeEndpointAccess smart constructor.
data RevokeEndpointAccess
RevokeEndpointAccess' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Text] -> RevokeEndpointAccess
-- | Create a value of RevokeEndpointAccess 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:account:RevokeEndpointAccess',
-- revokeEndpointAccess_account - The Amazon Web Services account
-- ID whose access is to be revoked.
--
-- RevokeEndpointAccess,
-- revokeEndpointAccess_clusterIdentifier - The cluster to revoke
-- access from.
--
-- $sel:force:RevokeEndpointAccess',
-- revokeEndpointAccess_force - Indicates whether to force the
-- revoke action. If true, the Redshift-managed VPC endpoints associated
-- with the endpoint authorization are also deleted.
--
-- $sel:vpcIds:RevokeEndpointAccess',
-- revokeEndpointAccess_vpcIds - The virtual private cloud (VPC)
-- identifiers for which access is to be revoked.
newRevokeEndpointAccess :: RevokeEndpointAccess
-- | Describes an endpoint authorization for authorizing Redshift-managed
-- VPC endpoint access to a cluster across Amazon Web Services accounts.
--
-- See: newEndpointAuthorization smart constructor.
data EndpointAuthorization
EndpointAuthorization' :: Maybe Bool -> Maybe [Text] -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe AuthorizationStatus -> EndpointAuthorization
-- | Create a value of EndpointAuthorization 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:allowedAllVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedAllVPCs - Indicates whether all
-- VPCs in the grantee account are allowed access to the cluster.
--
-- $sel:allowedVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedVPCs - The VPCs allowed access to
-- the cluster.
--
-- $sel:authorizeTime:EndpointAuthorization',
-- endpointAuthorization_authorizeTime - The time (UTC) when the
-- authorization was created.
--
-- $sel:clusterIdentifier:EndpointAuthorization',
-- endpointAuthorization_clusterIdentifier - The cluster
-- identifier.
--
-- $sel:clusterStatus:EndpointAuthorization',
-- endpointAuthorization_clusterStatus - The status of the
-- cluster.
--
-- $sel:endpointCount:EndpointAuthorization',
-- endpointAuthorization_endpointCount - The number of
-- Redshift-managed VPC endpoints created for the authorization.
--
-- $sel:grantee:EndpointAuthorization',
-- endpointAuthorization_grantee - The Amazon Web Services account
-- ID of the grantee of the cluster.
--
-- $sel:grantor:EndpointAuthorization',
-- endpointAuthorization_grantor - The Amazon Web Services account
-- ID of the cluster owner.
--
-- $sel:status:EndpointAuthorization',
-- endpointAuthorization_status - The status of the authorization
-- action.
newEndpointAuthorization :: EndpointAuthorization
-- | See: newRevokeSnapshotAccess smart constructor.
data RevokeSnapshotAccess
RevokeSnapshotAccess' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> RevokeSnapshotAccess
-- | Create a value of RevokeSnapshotAccess 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:snapshotArn:RevokeSnapshotAccess',
-- revokeSnapshotAccess_snapshotArn - The Amazon Resource Name
-- (ARN) of the snapshot associated with the message to revoke access.
--
-- RevokeSnapshotAccess,
-- revokeSnapshotAccess_snapshotClusterIdentifier - The identifier
-- of the cluster the snapshot was created from. This parameter is
-- required if your IAM user has a policy containing a snapshot resource
-- element that specifies anything other than * for the cluster name.
--
-- RevokeSnapshotAccess,
-- revokeSnapshotAccess_snapshotIdentifier - The identifier of the
-- snapshot that the account can no longer access.
--
-- $sel:accountWithRestoreAccess:RevokeSnapshotAccess',
-- revokeSnapshotAccess_accountWithRestoreAccess - The identifier
-- of the Amazon Web Services account that can no longer restore the
-- specified snapshot.
newRevokeSnapshotAccess :: Text -> RevokeSnapshotAccess
-- | See: newRevokeSnapshotAccessResponse smart constructor.
data RevokeSnapshotAccessResponse
RevokeSnapshotAccessResponse' :: Maybe Snapshot -> Int -> RevokeSnapshotAccessResponse
-- | Create a value of RevokeSnapshotAccessResponse 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:RevokeSnapshotAccessResponse',
-- revokeSnapshotAccessResponse_snapshot - Undocumented member.
--
-- $sel:httpStatus:RevokeSnapshotAccessResponse',
-- revokeSnapshotAccessResponse_httpStatus - The response's http
-- status code.
newRevokeSnapshotAccessResponse :: Int -> RevokeSnapshotAccessResponse
-- | See: newRotateEncryptionKey smart constructor.
data RotateEncryptionKey
RotateEncryptionKey' :: Text -> RotateEncryptionKey
-- | Create a value of RotateEncryptionKey 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:
--
-- RotateEncryptionKey,
-- rotateEncryptionKey_clusterIdentifier - The unique identifier
-- of the cluster that you want to rotate the encryption keys for.
--
-- Constraints: Must be the name of valid cluster that has encryption
-- enabled.
newRotateEncryptionKey :: Text -> RotateEncryptionKey
-- | See: newRotateEncryptionKeyResponse smart constructor.
data RotateEncryptionKeyResponse
RotateEncryptionKeyResponse' :: Maybe Cluster -> Int -> RotateEncryptionKeyResponse
-- | Create a value of RotateEncryptionKeyResponse 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:cluster:RotateEncryptionKeyResponse',
-- rotateEncryptionKeyResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:RotateEncryptionKeyResponse',
-- rotateEncryptionKeyResponse_httpStatus - The response's http
-- status code.
newRotateEncryptionKeyResponse :: Int -> RotateEncryptionKeyResponse
-- | See: newUpdatePartnerStatus smart constructor.
data UpdatePartnerStatus
UpdatePartnerStatus' :: Maybe Text -> Text -> Text -> Text -> Text -> PartnerIntegrationStatus -> UpdatePartnerStatus
-- | Create a value of UpdatePartnerStatus 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:
--
-- UpdatePartnerStatus, updatePartnerStatus_statusMessage -
-- The status message provided by the partner.
--
-- UpdatePartnerStatus, updatePartnerStatus_accountId - The
-- Amazon Web Services account ID that owns the cluster.
--
-- UpdatePartnerStatus,
-- updatePartnerStatus_clusterIdentifier - The cluster identifier
-- of the cluster whose partner integration status is being updated.
--
-- UpdatePartnerStatus, updatePartnerStatus_databaseName -
-- The name of the database whose partner integration status is being
-- updated.
--
-- UpdatePartnerStatus, updatePartnerStatus_partnerName -
-- The name of the partner whose integration status is being updated.
--
-- UpdatePartnerStatus, updatePartnerStatus_status - The
-- value of the updated status.
newUpdatePartnerStatus :: Text -> Text -> Text -> Text -> PartnerIntegrationStatus -> UpdatePartnerStatus
-- | See: newPartnerIntegrationOutputMessage smart
-- constructor.
data PartnerIntegrationOutputMessage
PartnerIntegrationOutputMessage' :: Maybe Text -> Maybe Text -> PartnerIntegrationOutputMessage
-- | Create a value of PartnerIntegrationOutputMessage 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:databaseName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage
newtype ActionType
ActionType' :: Text -> ActionType
[fromActionType] :: ActionType -> Text
pattern ActionType_Recommend_node_config :: ActionType
pattern ActionType_Resize_cluster :: ActionType
pattern ActionType_Restore_cluster :: ActionType
newtype AquaConfigurationStatus
AquaConfigurationStatus' :: Text -> AquaConfigurationStatus
[fromAquaConfigurationStatus] :: AquaConfigurationStatus -> Text
pattern AquaConfigurationStatus_Auto :: AquaConfigurationStatus
pattern AquaConfigurationStatus_Disabled :: AquaConfigurationStatus
pattern AquaConfigurationStatus_Enabled :: AquaConfigurationStatus
newtype AquaStatus
AquaStatus' :: Text -> AquaStatus
[fromAquaStatus] :: AquaStatus -> Text
pattern AquaStatus_Applying :: AquaStatus
pattern AquaStatus_Disabled :: AquaStatus
pattern AquaStatus_Enabled :: AquaStatus
newtype AuthorizationStatus
AuthorizationStatus' :: Text -> AuthorizationStatus
[fromAuthorizationStatus] :: AuthorizationStatus -> Text
pattern AuthorizationStatus_Authorized :: AuthorizationStatus
pattern AuthorizationStatus_Revoking :: AuthorizationStatus
newtype DataShareStatus
DataShareStatus' :: Text -> DataShareStatus
[fromDataShareStatus] :: DataShareStatus -> Text
pattern DataShareStatus_ACTIVE :: DataShareStatus
pattern DataShareStatus_AUTHORIZED :: DataShareStatus
pattern DataShareStatus_AVAILABLE :: DataShareStatus
pattern DataShareStatus_DEAUTHORIZED :: DataShareStatus
pattern DataShareStatus_PENDING_AUTHORIZATION :: DataShareStatus
pattern DataShareStatus_REJECTED :: DataShareStatus
newtype DataShareStatusForConsumer
DataShareStatusForConsumer' :: Text -> DataShareStatusForConsumer
[fromDataShareStatusForConsumer] :: DataShareStatusForConsumer -> Text
pattern DataShareStatusForConsumer_ACTIVE :: DataShareStatusForConsumer
pattern DataShareStatusForConsumer_AVAILABLE :: DataShareStatusForConsumer
newtype DataShareStatusForProducer
DataShareStatusForProducer' :: Text -> DataShareStatusForProducer
[fromDataShareStatusForProducer] :: DataShareStatusForProducer -> Text
pattern DataShareStatusForProducer_ACTIVE :: DataShareStatusForProducer
pattern DataShareStatusForProducer_AUTHORIZED :: DataShareStatusForProducer
pattern DataShareStatusForProducer_DEAUTHORIZED :: DataShareStatusForProducer
pattern DataShareStatusForProducer_PENDING_AUTHORIZATION :: DataShareStatusForProducer
pattern DataShareStatusForProducer_REJECTED :: DataShareStatusForProducer
newtype LogDestinationType
LogDestinationType' :: Text -> LogDestinationType
[fromLogDestinationType] :: LogDestinationType -> Text
pattern LogDestinationType_Cloudwatch :: LogDestinationType
pattern LogDestinationType_S3 :: LogDestinationType
newtype Mode
Mode' :: Text -> Mode
[fromMode] :: Mode -> Text
pattern Mode_High_performance :: Mode
pattern Mode_Standard :: Mode
newtype NodeConfigurationOptionsFilterName
NodeConfigurationOptionsFilterName' :: Text -> NodeConfigurationOptionsFilterName
[fromNodeConfigurationOptionsFilterName] :: NodeConfigurationOptionsFilterName -> Text
pattern NodeConfigurationOptionsFilterName_EstimatedDiskUtilizationPercent :: NodeConfigurationOptionsFilterName
pattern NodeConfigurationOptionsFilterName_Mode :: NodeConfigurationOptionsFilterName
pattern NodeConfigurationOptionsFilterName_NodeType :: NodeConfigurationOptionsFilterName
pattern NodeConfigurationOptionsFilterName_NumberOfNodes :: NodeConfigurationOptionsFilterName
newtype OperatorType
OperatorType' :: Text -> OperatorType
[fromOperatorType] :: OperatorType -> Text
pattern OperatorType_Between :: OperatorType
pattern OperatorType_Eq :: OperatorType
pattern OperatorType_Ge :: OperatorType
pattern OperatorType_Gt :: OperatorType
pattern OperatorType_In :: OperatorType
pattern OperatorType_Le :: OperatorType
pattern OperatorType_Lt :: OperatorType
newtype ParameterApplyType
ParameterApplyType' :: Text -> ParameterApplyType
[fromParameterApplyType] :: ParameterApplyType -> Text
pattern ParameterApplyType_Dynamic :: ParameterApplyType
pattern ParameterApplyType_Static :: ParameterApplyType
newtype PartnerIntegrationStatus
PartnerIntegrationStatus' :: Text -> PartnerIntegrationStatus
[fromPartnerIntegrationStatus] :: PartnerIntegrationStatus -> Text
pattern PartnerIntegrationStatus_Active :: PartnerIntegrationStatus
pattern PartnerIntegrationStatus_ConnectionFailure :: PartnerIntegrationStatus
pattern PartnerIntegrationStatus_Inactive :: PartnerIntegrationStatus
pattern PartnerIntegrationStatus_RuntimeFailure :: PartnerIntegrationStatus
newtype ReservedNodeExchangeActionType
ReservedNodeExchangeActionType' :: Text -> ReservedNodeExchangeActionType
[fromReservedNodeExchangeActionType] :: ReservedNodeExchangeActionType -> Text
pattern ReservedNodeExchangeActionType_Resize_cluster :: ReservedNodeExchangeActionType
pattern ReservedNodeExchangeActionType_Restore_cluster :: ReservedNodeExchangeActionType
newtype ReservedNodeExchangeStatusType
ReservedNodeExchangeStatusType' :: Text -> ReservedNodeExchangeStatusType
[fromReservedNodeExchangeStatusType] :: ReservedNodeExchangeStatusType -> Text
pattern ReservedNodeExchangeStatusType_FAILED :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_IN_PROGRESS :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_PENDING :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_REQUESTED :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_RETRYING :: ReservedNodeExchangeStatusType
pattern ReservedNodeExchangeStatusType_SUCCEEDED :: ReservedNodeExchangeStatusType
newtype ReservedNodeOfferingType
ReservedNodeOfferingType' :: Text -> ReservedNodeOfferingType
[fromReservedNodeOfferingType] :: ReservedNodeOfferingType -> Text
pattern ReservedNodeOfferingType_Regular :: ReservedNodeOfferingType
pattern ReservedNodeOfferingType_Upgradable :: ReservedNodeOfferingType
newtype ScheduleState
ScheduleState' :: Text -> ScheduleState
[fromScheduleState] :: ScheduleState -> Text
pattern ScheduleState_ACTIVE :: ScheduleState
pattern ScheduleState_FAILED :: ScheduleState
pattern ScheduleState_MODIFYING :: ScheduleState
newtype ScheduledActionFilterName
ScheduledActionFilterName' :: Text -> ScheduledActionFilterName
[fromScheduledActionFilterName] :: ScheduledActionFilterName -> Text
pattern ScheduledActionFilterName_Cluster_identifier :: ScheduledActionFilterName
pattern ScheduledActionFilterName_Iam_role :: ScheduledActionFilterName
newtype ScheduledActionState
ScheduledActionState' :: Text -> ScheduledActionState
[fromScheduledActionState] :: ScheduledActionState -> Text
pattern ScheduledActionState_ACTIVE :: ScheduledActionState
pattern ScheduledActionState_DISABLED :: ScheduledActionState
newtype ScheduledActionTypeValues
ScheduledActionTypeValues' :: Text -> ScheduledActionTypeValues
[fromScheduledActionTypeValues] :: ScheduledActionTypeValues -> Text
pattern ScheduledActionTypeValues_PauseCluster :: ScheduledActionTypeValues
pattern ScheduledActionTypeValues_ResizeCluster :: ScheduledActionTypeValues
pattern ScheduledActionTypeValues_ResumeCluster :: ScheduledActionTypeValues
newtype SnapshotAttributeToSortBy
SnapshotAttributeToSortBy' :: Text -> SnapshotAttributeToSortBy
[fromSnapshotAttributeToSortBy] :: SnapshotAttributeToSortBy -> Text
pattern SnapshotAttributeToSortBy_CREATE_TIME :: SnapshotAttributeToSortBy
pattern SnapshotAttributeToSortBy_SOURCE_TYPE :: SnapshotAttributeToSortBy
pattern SnapshotAttributeToSortBy_TOTAL_SIZE :: SnapshotAttributeToSortBy
newtype SortByOrder
SortByOrder' :: Text -> SortByOrder
[fromSortByOrder] :: SortByOrder -> Text
pattern SortByOrder_ASC :: SortByOrder
pattern SortByOrder_DESC :: SortByOrder
newtype SourceType
SourceType' :: Text -> SourceType
[fromSourceType] :: SourceType -> Text
pattern SourceType_Cluster :: SourceType
pattern SourceType_Cluster_parameter_group :: SourceType
pattern SourceType_Cluster_security_group :: SourceType
pattern SourceType_Cluster_snapshot :: SourceType
pattern SourceType_Scheduled_action :: SourceType
newtype TableRestoreStatusType
TableRestoreStatusType' :: Text -> TableRestoreStatusType
[fromTableRestoreStatusType] :: TableRestoreStatusType -> Text
pattern TableRestoreStatusType_CANCELED :: TableRestoreStatusType
pattern TableRestoreStatusType_FAILED :: TableRestoreStatusType
pattern TableRestoreStatusType_IN_PROGRESS :: TableRestoreStatusType
pattern TableRestoreStatusType_PENDING :: TableRestoreStatusType
pattern TableRestoreStatusType_SUCCEEDED :: TableRestoreStatusType
newtype UsageLimitBreachAction
UsageLimitBreachAction' :: Text -> UsageLimitBreachAction
[fromUsageLimitBreachAction] :: UsageLimitBreachAction -> Text
pattern UsageLimitBreachAction_Disable :: UsageLimitBreachAction
pattern UsageLimitBreachAction_Emit_metric :: UsageLimitBreachAction
pattern UsageLimitBreachAction_Log :: UsageLimitBreachAction
newtype UsageLimitFeatureType
UsageLimitFeatureType' :: Text -> UsageLimitFeatureType
[fromUsageLimitFeatureType] :: UsageLimitFeatureType -> Text
pattern UsageLimitFeatureType_Concurrency_scaling :: UsageLimitFeatureType
pattern UsageLimitFeatureType_Cross_region_datasharing :: UsageLimitFeatureType
pattern UsageLimitFeatureType_Spectrum :: UsageLimitFeatureType
newtype UsageLimitLimitType
UsageLimitLimitType' :: Text -> UsageLimitLimitType
[fromUsageLimitLimitType] :: UsageLimitLimitType -> Text
pattern UsageLimitLimitType_Data_scanned :: UsageLimitLimitType
pattern UsageLimitLimitType_Time :: UsageLimitLimitType
newtype UsageLimitPeriod
UsageLimitPeriod' :: Text -> UsageLimitPeriod
[fromUsageLimitPeriod] :: UsageLimitPeriod -> Text
pattern UsageLimitPeriod_Daily :: UsageLimitPeriod
pattern UsageLimitPeriod_Monthly :: UsageLimitPeriod
pattern UsageLimitPeriod_Weekly :: UsageLimitPeriod
-- | A name value pair that describes an aspect of an account.
--
-- See: newAccountAttribute smart constructor.
data AccountAttribute
AccountAttribute' :: Maybe Text -> Maybe [AttributeValueTarget] -> AccountAttribute
-- | Create a value of AccountAttribute 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:attributeName:AccountAttribute',
-- accountAttribute_attributeName - The name of the attribute.
--
-- $sel:attributeValues:AccountAttribute',
-- accountAttribute_attributeValues - A list of attribute values.
newAccountAttribute :: AccountAttribute
-- | Describes an Amazon Web Services account authorized to restore a
-- snapshot.
--
-- See: newAccountWithRestoreAccess smart constructor.
data AccountWithRestoreAccess
AccountWithRestoreAccess' :: Maybe Text -> Maybe Text -> AccountWithRestoreAccess
-- | Create a value of AccountWithRestoreAccess 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:accountAlias:AccountWithRestoreAccess',
-- accountWithRestoreAccess_accountAlias - The identifier of an
-- Amazon Web Services support account authorized to restore a snapshot.
-- For Amazon Web Services Support, the identifier is
-- amazon-redshift-support.
--
-- $sel:accountId:AccountWithRestoreAccess',
-- accountWithRestoreAccess_accountId - The identifier of an
-- Amazon Web Services account authorized to restore a snapshot.
newAccountWithRestoreAccess :: AccountWithRestoreAccess
-- | The operation that uses this structure is retired. Amazon Redshift
-- automatically determines whether to use AQUA (Advanced Query
-- Accelerator).
--
-- See: newAquaConfiguration smart constructor.
data AquaConfiguration
AquaConfiguration' :: Maybe AquaConfigurationStatus -> Maybe AquaStatus -> AquaConfiguration
-- | Create a value of AquaConfiguration 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:aquaConfigurationStatus:AquaConfiguration',
-- aquaConfiguration_aquaConfigurationStatus - This field is
-- retired. Amazon Redshift automatically determines whether to use AQUA
-- (Advanced Query Accelerator).
--
-- $sel:aquaStatus:AquaConfiguration',
-- aquaConfiguration_aquaStatus - This field is retired. Amazon
-- Redshift automatically determines whether to use AQUA (Advanced Query
-- Accelerator).
newAquaConfiguration :: AquaConfiguration
-- | Describes an attribute value.
--
-- See: newAttributeValueTarget smart constructor.
data AttributeValueTarget
AttributeValueTarget' :: Maybe Text -> AttributeValueTarget
-- | Create a value of AttributeValueTarget 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:attributeValue:AttributeValueTarget',
-- attributeValueTarget_attributeValue - The value of the
-- attribute.
newAttributeValueTarget :: AttributeValueTarget
-- | Describes an authentication profile.
--
-- See: newAuthenticationProfile smart constructor.
data AuthenticationProfile
AuthenticationProfile' :: Maybe Text -> Maybe Text -> AuthenticationProfile
-- | Create a value of AuthenticationProfile 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:authenticationProfileContent:AuthenticationProfile',
-- authenticationProfile_authenticationProfileContent - The
-- content of the authentication profile in JSON format. The maximum
-- length of the JSON string is determined by a quota for your account.
--
-- $sel:authenticationProfileName:AuthenticationProfile',
-- authenticationProfile_authenticationProfileName - The name of
-- the authentication profile.
newAuthenticationProfile :: AuthenticationProfile
-- | Describes an availability zone.
--
-- See: newAvailabilityZone smart constructor.
data AvailabilityZone
AvailabilityZone' :: Maybe Text -> Maybe [SupportedPlatform] -> AvailabilityZone
-- | Create a value of AvailabilityZone 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:
--
-- AvailabilityZone, availabilityZone_name - The name of
-- the availability zone.
--
-- $sel:supportedPlatforms:AvailabilityZone',
-- availabilityZone_supportedPlatforms -
newAvailabilityZone :: AvailabilityZone
-- | Describes a cluster.
--
-- See: newCluster smart constructor.
data Cluster
Cluster' :: Maybe Bool -> Maybe AquaConfiguration -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe [ClusterNode] -> Maybe [ClusterParameterGroupStatus] -> Maybe Text -> Maybe Text -> Maybe [ClusterSecurityGroupMembership] -> Maybe ClusterSnapshotCopyStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DataTransferProgress -> Maybe Text -> Maybe [DeferredMaintenanceWindow] -> Maybe ElasticIpStatus -> Maybe Text -> Maybe Bool -> Maybe Endpoint -> Maybe Bool -> Maybe ISO8601 -> Maybe Text -> Maybe HsmStatus -> Maybe [ClusterIamRole] -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe PendingModifiedValues -> Maybe Text -> Maybe Bool -> Maybe ReservedNodeExchangeStatus -> Maybe ResizeInfo -> Maybe RestoreStatus -> Maybe Text -> Maybe ScheduleState -> Maybe [Tag] -> Maybe Integer -> Maybe Text -> Maybe [VpcSecurityGroupMembership] -> Cluster
-- | Create a value of Cluster 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:allowVersionUpgrade:Cluster',
-- cluster_allowVersionUpgrade - A boolean value that, if
-- true, indicates that major version upgrades will be applied
-- automatically to the cluster during the maintenance window.
--
-- $sel:aquaConfiguration:Cluster',
-- cluster_aquaConfiguration - This field is retired. Amazon
-- Redshift automatically determines whether to use AQUA (Advanced Query
-- Accelerator).
--
-- Cluster, cluster_automatedSnapshotRetentionPeriod - The
-- number of days that automatic cluster snapshots are retained.
--
-- $sel:availabilityZone:Cluster', cluster_availabilityZone
-- - The name of the Availability Zone in which the cluster is located.
--
-- $sel:availabilityZoneRelocationStatus:Cluster',
-- cluster_availabilityZoneRelocationStatus - Describes the status
-- of the Availability Zone relocation operation.
--
-- $sel:clusterAvailabilityStatus:Cluster',
-- cluster_clusterAvailabilityStatus - The availability status of
-- the cluster for queries. Possible values are the following:
--
--
-- - Available - The cluster is available for queries.
-- - Unavailable - The cluster is not available for queries.
-- - Maintenance - The cluster is intermittently available for queries
-- due to maintenance activities.
-- - Modifying - The cluster is intermittently available for queries
-- due to changes that modify the cluster.
-- - Failed - The cluster failed and is not available for queries.
--
--
-- $sel:clusterCreateTime:Cluster',
-- cluster_clusterCreateTime - The date and time that the cluster
-- was created.
--
-- Cluster, cluster_clusterIdentifier - The unique
-- identifier of the cluster.
--
-- $sel:clusterNamespaceArn:Cluster',
-- cluster_clusterNamespaceArn - The namespace Amazon Resource
-- Name (ARN) of the cluster.
--
-- $sel:clusterNodes:Cluster', cluster_clusterNodes - The
-- nodes in the cluster.
--
-- $sel:clusterParameterGroups:Cluster',
-- cluster_clusterParameterGroups - The list of cluster parameter
-- groups that are associated with this cluster. Each parameter group in
-- the list is returned with its status.
--
-- $sel:clusterPublicKey:Cluster', cluster_clusterPublicKey
-- - The public key for the cluster.
--
-- $sel:clusterRevisionNumber:Cluster',
-- cluster_clusterRevisionNumber - The specific revision number of
-- the database in the cluster.
--
-- $sel:clusterSecurityGroups:Cluster',
-- cluster_clusterSecurityGroups - A list of cluster security
-- group that are associated with the cluster. Each security group is
-- represented by an element that contains
-- ClusterSecurityGroup.Name and
-- ClusterSecurityGroup.Status subelements.
--
-- Cluster security groups are used when the cluster is not created in an
-- Amazon Virtual Private Cloud (VPC). Clusters that are created in a VPC
-- use VPC security groups, which are listed by the
-- VpcSecurityGroups parameter.
--
-- $sel:clusterSnapshotCopyStatus:Cluster',
-- cluster_clusterSnapshotCopyStatus - A value that returns the
-- destination region and retention period that are configured for
-- cross-region snapshot copy.
--
-- $sel:clusterStatus:Cluster', cluster_clusterStatus - The
-- current state of the cluster. Possible values are the following:
--
--
-- available
-- available, prep-for-resize
-- available, resize-cleanup
-- cancelling-resize
-- creating
-- deleting
-- final-snapshot
-- hardware-failure
-- incompatible-hsm
-- incompatible-network
-- incompatible-parameters
-- incompatible-restore
-- modifying
-- paused
-- rebooting
-- renaming
-- resizing
-- rotating-keys
-- storage-full
-- updating-hsm
--
--
-- $sel:clusterSubnetGroupName:Cluster',
-- cluster_clusterSubnetGroupName - The name of the subnet group
-- that is associated with the cluster. This parameter is valid only when
-- the cluster is in a VPC.
--
-- Cluster, cluster_clusterVersion - The version ID of the
-- Amazon Redshift engine that is running on the cluster.
--
-- $sel:dbName:Cluster', cluster_dbName - The name of the
-- initial database that was created when the cluster was created. This
-- same name is returned for the life of the cluster. If an initial
-- database was not specified, a database named devdev was
-- created by default.
--
-- $sel:dataTransferProgress:Cluster',
-- cluster_dataTransferProgress -
--
-- $sel:defaultIamRoleArn:Cluster',
-- cluster_defaultIamRoleArn - The Amazon Resource Name (ARN) for
-- the IAM role set as default for the cluster.
--
-- $sel:deferredMaintenanceWindows:Cluster',
-- cluster_deferredMaintenanceWindows - Describes a group of
-- DeferredMaintenanceWindow objects.
--
-- $sel:elasticIpStatus:Cluster', cluster_elasticIpStatus -
-- The status of the elastic IP (EIP) address.
--
-- $sel:elasticResizeNumberOfNodeOptions:Cluster',
-- cluster_elasticResizeNumberOfNodeOptions - The number of nodes
-- that you can resize the cluster to with the elastic resize method.
--
-- $sel:encrypted:Cluster', cluster_encrypted - A boolean
-- value that, if true, indicates that data in the cluster is
-- encrypted at rest.
--
-- $sel:endpoint:Cluster', cluster_endpoint - The
-- connection endpoint.
--
-- Cluster, cluster_enhancedVpcRouting - An option that
-- specifies whether to create the cluster with enhanced VPC routing
-- enabled. To create a cluster that uses enhanced VPC routing, the
-- cluster must be in a VPC. For more information, see Enhanced VPC
-- Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- $sel:expectedNextSnapshotScheduleTime:Cluster',
-- cluster_expectedNextSnapshotScheduleTime - The date and time
-- when the next snapshot is expected to be taken for clusters with a
-- valid snapshot schedule and backups enabled.
--
-- $sel:expectedNextSnapshotScheduleTimeStatus:Cluster',
-- cluster_expectedNextSnapshotScheduleTimeStatus - The status of
-- next expected snapshot for clusters having a valid snapshot schedule
-- and backups enabled. Possible values are the following:
--
--
-- - OnTrack - The next snapshot is expected to be taken on time.
-- - Pending - The next snapshot is pending to be taken.
--
--
-- $sel:hsmStatus:Cluster', cluster_hsmStatus - A value
-- that reports whether the Amazon Redshift cluster has finished applying
-- any hardware security module (HSM) settings changes specified in a
-- modify cluster command.
--
-- Values: active, applying
--
-- $sel:iamRoles:Cluster', cluster_iamRoles - A list of
-- Identity and Access Management (IAM) roles that can be used by the
-- cluster to access other Amazon Web Services services.
--
-- $sel:kmsKeyId:Cluster', cluster_kmsKeyId - The Key
-- Management Service (KMS) key ID of the encryption key used to encrypt
-- data in the cluster.
--
-- Cluster, cluster_maintenanceTrackName - The name of the
-- maintenance track for the cluster.
--
-- Cluster, cluster_manualSnapshotRetentionPeriod - The
-- default number of days to retain a manual snapshot. If the value is
-- -1, the snapshot is retained indefinitely. This setting doesn't change
-- the retention period of existing snapshots.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- $sel:masterUsername:Cluster', cluster_masterUsername -
-- The admin user name for the cluster. This name is used to connect to
-- the database that is specified in the DBName parameter.
--
-- $sel:modifyStatus:Cluster', cluster_modifyStatus - The
-- status of a modify operation, if any, initiated for the cluster.
--
-- $sel:nextMaintenanceWindowStartTime:Cluster',
-- cluster_nextMaintenanceWindowStartTime - The date and time in
-- UTC when system maintenance can begin.
--
-- Cluster, cluster_nodeType - The node type for the nodes
-- in the cluster.
--
-- Cluster, cluster_numberOfNodes - The number of compute
-- nodes in the cluster.
--
-- $sel:pendingActions:Cluster', cluster_pendingActions -
-- Cluster operations that are waiting to be started.
--
-- $sel:pendingModifiedValues:Cluster',
-- cluster_pendingModifiedValues - A value that, if present,
-- indicates that changes to the cluster are pending. Specific pending
-- changes are identified by subelements.
--
-- $sel:preferredMaintenanceWindow:Cluster',
-- cluster_preferredMaintenanceWindow - The weekly time range, in
-- Universal Coordinated Time (UTC), during which system maintenance can
-- occur.
--
-- Cluster, cluster_publiclyAccessible - A boolean value
-- that, if true, indicates that the cluster can be accessed
-- from a public network.
--
-- $sel:reservedNodeExchangeStatus:Cluster',
-- cluster_reservedNodeExchangeStatus - The status of the
-- reserved-node exchange request. Statuses include in-progress and
-- requested.
--
-- $sel:resizeInfo:Cluster', cluster_resizeInfo - Returns
-- the following:
--
--
-- - AllowCancelResize: a boolean value indicating if the resize
-- operation can be cancelled.
-- - ResizeType: Returns ClassicResize
--
--
-- $sel:restoreStatus:Cluster', cluster_restoreStatus - A
-- value that describes the status of a cluster restore action. This
-- parameter returns null if the cluster was not created by restoring a
-- snapshot.
--
-- $sel:snapshotScheduleIdentifier:Cluster',
-- cluster_snapshotScheduleIdentifier - A unique identifier for
-- the cluster snapshot schedule.
--
-- $sel:snapshotScheduleState:Cluster',
-- cluster_snapshotScheduleState - The current state of the
-- cluster snapshot schedule.
--
-- $sel:tags:Cluster', cluster_tags - The list of tags for
-- the cluster.
--
-- $sel:totalStorageCapacityInMegaBytes:Cluster',
-- cluster_totalStorageCapacityInMegaBytes - The total storage
-- capacity of the cluster in megabytes.
--
-- $sel:vpcId:Cluster', cluster_vpcId - The identifier of
-- the VPC the cluster is in, if the cluster is in a VPC.
--
-- $sel:vpcSecurityGroups:Cluster',
-- cluster_vpcSecurityGroups - A list of Amazon Virtual Private
-- Cloud (Amazon VPC) security groups that are associated with the
-- cluster. This parameter is returned only if the cluster is in a VPC.
newCluster :: Cluster
-- | See: newClusterAssociatedToSchedule smart constructor.
data ClusterAssociatedToSchedule
ClusterAssociatedToSchedule' :: Maybe Text -> Maybe ScheduleState -> ClusterAssociatedToSchedule
-- | Create a value of ClusterAssociatedToSchedule 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:clusterIdentifier:ClusterAssociatedToSchedule',
-- clusterAssociatedToSchedule_clusterIdentifier -
--
-- $sel:scheduleAssociationState:ClusterAssociatedToSchedule',
-- clusterAssociatedToSchedule_scheduleAssociationState -
newClusterAssociatedToSchedule :: ClusterAssociatedToSchedule
-- | Describes a ClusterDbRevision.
--
-- See: newClusterDbRevision smart constructor.
data ClusterDbRevision
ClusterDbRevision' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe [RevisionTarget] -> ClusterDbRevision
-- | Create a value of ClusterDbRevision 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:clusterIdentifier:ClusterDbRevision',
-- clusterDbRevision_clusterIdentifier - The unique identifier of
-- the cluster.
--
-- $sel:currentDatabaseRevision:ClusterDbRevision',
-- clusterDbRevision_currentDatabaseRevision - A string
-- representing the current cluster version.
--
-- ClusterDbRevision,
-- clusterDbRevision_databaseRevisionReleaseDate - The date on
-- which the database revision was released.
--
-- $sel:revisionTargets:ClusterDbRevision',
-- clusterDbRevision_revisionTargets - A list of
-- RevisionTarget objects, where each object describes the
-- database revision that a cluster can be updated to.
newClusterDbRevision :: ClusterDbRevision
-- | An Identity and Access Management (IAM) role that can be used by the
-- associated Amazon Redshift cluster to access other Amazon Web Services
-- services.
--
-- See: newClusterIamRole smart constructor.
data ClusterIamRole
ClusterIamRole' :: Maybe Text -> Maybe Text -> ClusterIamRole
-- | Create a value of ClusterIamRole 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:applyStatus:ClusterIamRole',
-- clusterIamRole_applyStatus - A value that describes the status
-- of the IAM role's association with an Amazon Redshift cluster.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The role is available for use by the
-- cluster.
-- - adding: The role is in the process of being associated
-- with the cluster.
-- - removing: The role is in the process of being
-- disassociated with the cluster.
--
--
-- $sel:iamRoleArn:ClusterIamRole',
-- clusterIamRole_iamRoleArn - The Amazon Resource Name (ARN) of
-- the IAM role, for example,
-- arn:aws:iam::123456789012:role/RedshiftCopyUnload.
newClusterIamRole :: ClusterIamRole
-- | The identifier of a node in a cluster.
--
-- See: newClusterNode smart constructor.
data ClusterNode
ClusterNode' :: Maybe Text -> Maybe Text -> Maybe Text -> ClusterNode
-- | Create a value of ClusterNode 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:nodeRole:ClusterNode', clusterNode_nodeRole -
-- Whether the node is a leader node or a compute node.
--
-- $sel:privateIPAddress:ClusterNode',
-- clusterNode_privateIPAddress - The private IP address of a node
-- within a cluster.
--
-- $sel:publicIPAddress:ClusterNode',
-- clusterNode_publicIPAddress - The public IP address of a node
-- within a cluster.
newClusterNode :: ClusterNode
-- | Describes a parameter group.
--
-- See: newClusterParameterGroup smart constructor.
data ClusterParameterGroup
ClusterParameterGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> ClusterParameterGroup
-- | Create a value of ClusterParameterGroup 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:description:ClusterParameterGroup',
-- clusterParameterGroup_description - The description of the
-- parameter group.
--
-- $sel:parameterGroupFamily:ClusterParameterGroup',
-- clusterParameterGroup_parameterGroupFamily - The name of the
-- cluster parameter group family that this cluster parameter group is
-- compatible with.
--
-- $sel:parameterGroupName:ClusterParameterGroup',
-- clusterParameterGroup_parameterGroupName - The name of the
-- cluster parameter group.
--
-- $sel:tags:ClusterParameterGroup',
-- clusterParameterGroup_tags - The list of tags for the cluster
-- parameter group.
newClusterParameterGroup :: ClusterParameterGroup
-- | See: newClusterParameterGroupNameMessage smart
-- constructor.
data ClusterParameterGroupNameMessage
ClusterParameterGroupNameMessage' :: Maybe Text -> Maybe Text -> ClusterParameterGroupNameMessage
-- | Create a value of ClusterParameterGroupNameMessage 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:parameterGroupName:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupName - The name
-- of the cluster parameter group.
--
-- $sel:parameterGroupStatus:ClusterParameterGroupNameMessage',
-- clusterParameterGroupNameMessage_parameterGroupStatus - The
-- status of the parameter group. For example, if you made a change to a
-- parameter group name-value pair, then the change could be pending a
-- reboot of an associated cluster.
newClusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
-- | Describes the status of a parameter group.
--
-- See: newClusterParameterGroupStatus smart constructor.
data ClusterParameterGroupStatus
ClusterParameterGroupStatus' :: Maybe [ClusterParameterStatus] -> Maybe Text -> Maybe Text -> ClusterParameterGroupStatus
-- | Create a value of ClusterParameterGroupStatus 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:clusterParameterStatusList:ClusterParameterGroupStatus',
-- clusterParameterGroupStatus_clusterParameterStatusList - The
-- list of parameter statuses.
--
-- For more information about parameters and parameter groups, go to
-- Amazon Redshift Parameter Groups in the Amazon Redshift
-- Cluster Management Guide.
--
-- ClusterParameterGroupStatus,
-- clusterParameterGroupStatus_parameterApplyStatus - The status
-- of parameter updates.
--
-- $sel:parameterGroupName:ClusterParameterGroupStatus',
-- clusterParameterGroupStatus_parameterGroupName - The name of
-- the cluster parameter group.
newClusterParameterGroupStatus :: ClusterParameterGroupStatus
-- | Describes the status of a parameter group.
--
-- See: newClusterParameterStatus smart constructor.
data ClusterParameterStatus
ClusterParameterStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> ClusterParameterStatus
-- | Create a value of ClusterParameterStatus 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:parameterApplyErrorDescription:ClusterParameterStatus',
-- clusterParameterStatus_parameterApplyErrorDescription - The
-- error that prevented the parameter from being applied to the database.
--
-- $sel:parameterApplyStatus:ClusterParameterStatus',
-- clusterParameterStatus_parameterApplyStatus - The status of the
-- parameter that indicates whether the parameter is in sync with the
-- database, waiting for a cluster reboot, or encountered an error when
-- being applied.
--
-- The following are possible statuses and descriptions.
--
--
-- - in-sync: The parameter value is in sync with the
-- database.
-- - pending-reboot: The parameter value will be applied after
-- the cluster reboots.
-- - applying: The parameter value is being applied to the
-- database.
-- - invalid-parameter: Cannot apply the parameter value
-- because it has an invalid value or syntax.
-- - apply-deferred: The parameter contains static property
-- changes. The changes are deferred until the cluster reboots.
-- - apply-error: Cannot connect to the cluster. The parameter
-- change will be applied after the cluster reboots.
-- - unknown-error: Cannot apply the parameter change right
-- now. The change will be applied after the cluster reboots.
--
--
-- $sel:parameterName:ClusterParameterStatus',
-- clusterParameterStatus_parameterName - The name of the
-- parameter.
newClusterParameterStatus :: ClusterParameterStatus
-- | Describes a security group.
--
-- See: newClusterSecurityGroup smart constructor.
data ClusterSecurityGroup
ClusterSecurityGroup' :: Maybe Text -> Maybe Text -> Maybe [EC2SecurityGroup] -> Maybe [IPRange] -> Maybe [Tag] -> ClusterSecurityGroup
-- | Create a value of ClusterSecurityGroup 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:clusterSecurityGroupName:ClusterSecurityGroup',
-- clusterSecurityGroup_clusterSecurityGroupName - The name of the
-- cluster security group to which the operation was applied.
--
-- $sel:description:ClusterSecurityGroup',
-- clusterSecurityGroup_description - A description of the
-- security group.
--
-- $sel:eC2SecurityGroups:ClusterSecurityGroup',
-- clusterSecurityGroup_eC2SecurityGroups - A list of EC2 security
-- groups that are permitted to access clusters associated with this
-- cluster security group.
--
-- $sel:iPRanges:ClusterSecurityGroup',
-- clusterSecurityGroup_iPRanges - A list of IP ranges (CIDR
-- blocks) that are permitted to access clusters associated with this
-- cluster security group.
--
-- ClusterSecurityGroup, clusterSecurityGroup_tags - The
-- list of tags for the cluster security group.
newClusterSecurityGroup :: ClusterSecurityGroup
-- | Describes a cluster security group.
--
-- See: newClusterSecurityGroupMembership smart
-- constructor.
data ClusterSecurityGroupMembership
ClusterSecurityGroupMembership' :: Maybe Text -> Maybe Text -> ClusterSecurityGroupMembership
-- | Create a value of ClusterSecurityGroupMembership 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:clusterSecurityGroupName:ClusterSecurityGroupMembership',
-- clusterSecurityGroupMembership_clusterSecurityGroupName - The
-- name of the cluster security group.
--
-- $sel:status:ClusterSecurityGroupMembership',
-- clusterSecurityGroupMembership_status - The status of the
-- cluster security group.
newClusterSecurityGroupMembership :: ClusterSecurityGroupMembership
-- | Returns the destination region and retention period that are
-- configured for cross-region snapshot copy.
--
-- See: newClusterSnapshotCopyStatus smart constructor.
data ClusterSnapshotCopyStatus
ClusterSnapshotCopyStatus' :: Maybe Text -> Maybe Int -> Maybe Integer -> Maybe Text -> ClusterSnapshotCopyStatus
-- | Create a value of ClusterSnapshotCopyStatus 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:destinationRegion:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_destinationRegion - The destination
-- region that snapshots are automatically copied to when cross-region
-- snapshot copy is enabled.
--
-- $sel:manualSnapshotRetentionPeriod:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_manualSnapshotRetentionPeriod - The
-- number of days that automated snapshots are retained in the
-- destination region after they are copied from a source region. If the
-- value is -1, the manual snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- $sel:retentionPeriod:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_retentionPeriod - The number of days
-- that automated snapshots are retained in the destination region after
-- they are copied from a source region.
--
-- $sel:snapshotCopyGrantName:ClusterSnapshotCopyStatus',
-- clusterSnapshotCopyStatus_snapshotCopyGrantName - The name of
-- the snapshot copy grant.
newClusterSnapshotCopyStatus :: ClusterSnapshotCopyStatus
-- | Describes a subnet group.
--
-- See: newClusterSubnetGroup smart constructor.
data ClusterSubnetGroup
ClusterSubnetGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Subnet] -> Maybe [Tag] -> Maybe Text -> ClusterSubnetGroup
-- | Create a value of ClusterSubnetGroup 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:clusterSubnetGroupName:ClusterSubnetGroup',
-- clusterSubnetGroup_clusterSubnetGroupName - The name of the
-- cluster subnet group.
--
-- $sel:description:ClusterSubnetGroup',
-- clusterSubnetGroup_description - The description of the cluster
-- subnet group.
--
-- $sel:subnetGroupStatus:ClusterSubnetGroup',
-- clusterSubnetGroup_subnetGroupStatus - The status of the
-- cluster subnet group. Possible values are Complete,
-- Incomplete and Invalid.
--
-- $sel:subnets:ClusterSubnetGroup',
-- clusterSubnetGroup_subnets - A list of the VPC Subnet elements.
--
-- $sel:tags:ClusterSubnetGroup', clusterSubnetGroup_tags -
-- The list of tags for the cluster subnet group.
--
-- $sel:vpcId:ClusterSubnetGroup', clusterSubnetGroup_vpcId
-- - The VPC ID of the cluster subnet group.
newClusterSubnetGroup :: ClusterSubnetGroup
-- | Describes a cluster version, including the parameter group family and
-- description of the version.
--
-- See: newClusterVersion smart constructor.
data ClusterVersion
ClusterVersion' :: Maybe Text -> Maybe Text -> Maybe Text -> ClusterVersion
-- | Create a value of ClusterVersion 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:clusterParameterGroupFamily:ClusterVersion',
-- clusterVersion_clusterParameterGroupFamily - The name of the
-- cluster parameter group family for the cluster.
--
-- $sel:clusterVersion:ClusterVersion',
-- clusterVersion_clusterVersion - The version number used by the
-- cluster.
--
-- $sel:description:ClusterVersion',
-- clusterVersion_description - The description of the cluster
-- version.
newClusterVersion :: ClusterVersion
-- | See: newDataShare smart constructor.
data DataShare
DataShare' :: Maybe Bool -> Maybe Text -> Maybe [DataShareAssociation] -> Maybe Text -> Maybe Text -> DataShare
-- | Create a value of DataShare 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:allowPubliclyAccessibleConsumers:DataShare',
-- dataShare_allowPubliclyAccessibleConsumers - A value that
-- specifies whether the datashare can be shared to a publicly accessible
-- cluster.
--
-- $sel:dataShareArn:DataShare', dataShare_dataShareArn -
-- An Amazon Resource Name (ARN) that references the datashare that is
-- owned by a specific namespace of the producer cluster. A datashare ARN
-- is in the
-- arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}
-- format.
--
-- $sel:dataShareAssociations:DataShare',
-- dataShare_dataShareAssociations - A value that specifies when
-- the datashare has an association between producer and data consumers.
--
-- $sel:managedBy:DataShare', dataShare_managedBy - The
-- identifier of a datashare to show its managing entity.
--
-- $sel:producerArn:DataShare', dataShare_producerArn - The
-- Amazon Resource Name (ARN) of the producer.
newDataShare :: DataShare
-- | The association of a datashare from a producer account with a data
-- consumer.
--
-- See: newDataShareAssociation smart constructor.
data DataShareAssociation
DataShareAssociation' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe DataShareStatus -> Maybe ISO8601 -> DataShareAssociation
-- | Create a value of DataShareAssociation 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:consumerIdentifier:DataShareAssociation',
-- dataShareAssociation_consumerIdentifier - The name of the
-- consumer accounts that have an association with a producer datashare.
--
-- $sel:consumerRegion:DataShareAssociation',
-- dataShareAssociation_consumerRegion - The Amazon Web Services
-- Region of the consumer accounts that have an association with a
-- producer datashare.
--
-- $sel:createdDate:DataShareAssociation',
-- dataShareAssociation_createdDate - The creation date of the
-- datashare that is associated.
--
-- $sel:status:DataShareAssociation',
-- dataShareAssociation_status - The status of the datashare that
-- is associated.
--
-- $sel:statusChangeDate:DataShareAssociation',
-- dataShareAssociation_statusChangeDate - The status change data
-- of the datashare that is associated.
newDataShareAssociation :: DataShareAssociation
-- | Describes the status of a cluster while it is in the process of
-- resizing with an incremental resize.
--
-- See: newDataTransferProgress smart constructor.
data DataTransferProgress
DataTransferProgress' :: Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Integer -> DataTransferProgress
-- | Create a value of DataTransferProgress 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:currentRateInMegaBytesPerSecond:DataTransferProgress',
-- dataTransferProgress_currentRateInMegaBytesPerSecond -
-- Describes the data transfer rate in MB's per second.
--
-- $sel:dataTransferredInMegaBytes:DataTransferProgress',
-- dataTransferProgress_dataTransferredInMegaBytes - Describes the
-- total amount of data that has been transfered in MB's.
--
-- $sel:elapsedTimeInSeconds:DataTransferProgress',
-- dataTransferProgress_elapsedTimeInSeconds - Describes the
-- number of seconds that have elapsed during the data transfer.
--
-- $sel:estimatedTimeToCompletionInSeconds:DataTransferProgress',
-- dataTransferProgress_estimatedTimeToCompletionInSeconds -
-- Describes the estimated number of seconds remaining to complete the
-- transfer.
--
-- $sel:status:DataTransferProgress',
-- dataTransferProgress_status - Describes the status of the
-- cluster. While the transfer is in progress the status is
-- transferringdata.
--
-- $sel:totalDataInMegaBytes:DataTransferProgress',
-- dataTransferProgress_totalDataInMegaBytes - Describes the total
-- amount of data to be transfered in megabytes.
newDataTransferProgress :: DataTransferProgress
-- | Describes the default cluster parameters for a parameter group family.
--
-- See: newDefaultClusterParameters smart constructor.
data DefaultClusterParameters
DefaultClusterParameters' :: Maybe Text -> Maybe Text -> Maybe [Parameter] -> DefaultClusterParameters
-- | Create a value of DefaultClusterParameters 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:marker:DefaultClusterParameters',
-- defaultClusterParameters_marker - A value that indicates the
-- starting point for the next set of response records in a subsequent
-- request. If a value is returned in a response, you can retrieve the
-- next set of records by providing this returned marker value in the
-- Marker parameter and retrying the command. If the
-- Marker field is empty, all response records have been
-- retrieved for the request.
--
-- $sel:parameterGroupFamily:DefaultClusterParameters',
-- defaultClusterParameters_parameterGroupFamily - The name of the
-- cluster parameter group family to which the engine default parameters
-- apply.
--
-- $sel:parameters:DefaultClusterParameters',
-- defaultClusterParameters_parameters - The list of cluster
-- default parameters.
newDefaultClusterParameters :: DefaultClusterParameters
-- | Describes a deferred maintenance window
--
-- See: newDeferredMaintenanceWindow smart constructor.
data DeferredMaintenanceWindow
DeferredMaintenanceWindow' :: Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> DeferredMaintenanceWindow
-- | Create a value of DeferredMaintenanceWindow 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:deferMaintenanceEndTime:DeferredMaintenanceWindow',
-- deferredMaintenanceWindow_deferMaintenanceEndTime - A timestamp
-- for the end of the time period when we defer maintenance.
--
-- $sel:deferMaintenanceIdentifier:DeferredMaintenanceWindow',
-- deferredMaintenanceWindow_deferMaintenanceIdentifier - A unique
-- identifier for the maintenance window.
--
-- $sel:deferMaintenanceStartTime:DeferredMaintenanceWindow',
-- deferredMaintenanceWindow_deferMaintenanceStartTime - A
-- timestamp for the beginning of the time period when we defer
-- maintenance.
newDeferredMaintenanceWindow :: DeferredMaintenanceWindow
-- | See: newDeleteClusterSnapshotMessage smart constructor.
data DeleteClusterSnapshotMessage
DeleteClusterSnapshotMessage' :: Maybe Text -> Text -> DeleteClusterSnapshotMessage
-- | Create a value of DeleteClusterSnapshotMessage 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:snapshotClusterIdentifier:DeleteClusterSnapshotMessage',
-- deleteClusterSnapshotMessage_snapshotClusterIdentifier - The
-- unique identifier of the cluster the snapshot was created from. This
-- parameter is required if your IAM user has a policy containing a
-- snapshot resource element that specifies anything other than * for the
-- cluster name.
--
-- Constraints: Must be the name of valid cluster.
--
-- $sel:snapshotIdentifier:DeleteClusterSnapshotMessage',
-- deleteClusterSnapshotMessage_snapshotIdentifier - The unique
-- identifier of the manual snapshot to be deleted.
--
-- Constraints: Must be the name of an existing snapshot that is in the
-- available, failed, or cancelled state.
newDeleteClusterSnapshotMessage :: Text -> DeleteClusterSnapshotMessage
-- | Describes an Amazon EC2 security group.
--
-- See: newEC2SecurityGroup smart constructor.
data EC2SecurityGroup
EC2SecurityGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> EC2SecurityGroup
-- | Create a value of EC2SecurityGroup 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:eC2SecurityGroupName:EC2SecurityGroup',
-- eC2SecurityGroup_eC2SecurityGroupName - The name of the EC2
-- Security Group.
--
-- $sel:eC2SecurityGroupOwnerId:EC2SecurityGroup',
-- eC2SecurityGroup_eC2SecurityGroupOwnerId - The Amazon Web
-- Services account ID of the owner of the EC2 security group specified
-- in the EC2SecurityGroupName field.
--
-- $sel:status:EC2SecurityGroup', eC2SecurityGroup_status -
-- The status of the EC2 security group.
--
-- $sel:tags:EC2SecurityGroup', eC2SecurityGroup_tags - The
-- list of tags for the EC2 security group.
newEC2SecurityGroup :: EC2SecurityGroup
-- | Describes the status of the elastic IP (EIP) address.
--
-- See: newElasticIpStatus smart constructor.
data ElasticIpStatus
ElasticIpStatus' :: Maybe Text -> Maybe Text -> ElasticIpStatus
-- | Create a value of ElasticIpStatus 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:elasticIp:ElasticIpStatus',
-- elasticIpStatus_elasticIp - The elastic IP (EIP) address for
-- the cluster.
--
-- $sel:status:ElasticIpStatus', elasticIpStatus_status -
-- The status of the elastic IP (EIP) address.
newElasticIpStatus :: ElasticIpStatus
-- | Describes a connection endpoint.
--
-- 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 Cluster.
--
-- $sel:port:Endpoint', endpoint_port - The port that the
-- database engine is listening on.
--
-- $sel:vpcEndpoints:Endpoint', endpoint_vpcEndpoints -
-- Describes a connection endpoint.
newEndpoint :: Endpoint
-- | Describes a Redshift-managed VPC endpoint.
--
-- See: newEndpointAccess smart constructor.
data EndpointAccess
EndpointAccess' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe VpcEndpoint -> Maybe [VpcSecurityGroupMembership] -> 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:clusterIdentifier:EndpointAccess',
-- endpointAccess_clusterIdentifier - The cluster identifier of
-- the cluster associated with the endpoint.
--
-- $sel:endpointCreateTime:EndpointAccess',
-- endpointAccess_endpointCreateTime - The time (UTC) that the
-- endpoint was created.
--
-- $sel:endpointName:EndpointAccess',
-- endpointAccess_endpointName - The name of the endpoint.
--
-- $sel:endpointStatus:EndpointAccess',
-- endpointAccess_endpointStatus - The status of the endpoint.
--
-- $sel:port:EndpointAccess', endpointAccess_port - The
-- port number on which the cluster accepts incoming connections.
--
-- $sel:resourceOwner:EndpointAccess',
-- endpointAccess_resourceOwner - The Amazon Web Services account
-- ID of the owner of the cluster.
--
-- $sel:subnetGroupName:EndpointAccess',
-- endpointAccess_subnetGroupName - The subnet group name where
-- Amazon Redshift chooses to deploy the endpoint.
--
-- $sel:vpcEndpoint:EndpointAccess',
-- endpointAccess_vpcEndpoint - Undocumented member.
--
-- $sel:vpcSecurityGroups:EndpointAccess',
-- endpointAccess_vpcSecurityGroups - The security groups
-- associated with the endpoint.
newEndpointAccess :: EndpointAccess
-- | Describes an endpoint authorization for authorizing Redshift-managed
-- VPC endpoint access to a cluster across Amazon Web Services accounts.
--
-- See: newEndpointAuthorization smart constructor.
data EndpointAuthorization
EndpointAuthorization' :: Maybe Bool -> Maybe [Text] -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe AuthorizationStatus -> EndpointAuthorization
-- | Create a value of EndpointAuthorization 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:allowedAllVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedAllVPCs - Indicates whether all
-- VPCs in the grantee account are allowed access to the cluster.
--
-- $sel:allowedVPCs:EndpointAuthorization',
-- endpointAuthorization_allowedVPCs - The VPCs allowed access to
-- the cluster.
--
-- $sel:authorizeTime:EndpointAuthorization',
-- endpointAuthorization_authorizeTime - The time (UTC) when the
-- authorization was created.
--
-- $sel:clusterIdentifier:EndpointAuthorization',
-- endpointAuthorization_clusterIdentifier - The cluster
-- identifier.
--
-- $sel:clusterStatus:EndpointAuthorization',
-- endpointAuthorization_clusterStatus - The status of the
-- cluster.
--
-- $sel:endpointCount:EndpointAuthorization',
-- endpointAuthorization_endpointCount - The number of
-- Redshift-managed VPC endpoints created for the authorization.
--
-- $sel:grantee:EndpointAuthorization',
-- endpointAuthorization_grantee - The Amazon Web Services account
-- ID of the grantee of the cluster.
--
-- $sel:grantor:EndpointAuthorization',
-- endpointAuthorization_grantor - The Amazon Web Services account
-- ID of the cluster owner.
--
-- $sel:status:EndpointAuthorization',
-- endpointAuthorization_status - The status of the authorization
-- action.
newEndpointAuthorization :: EndpointAuthorization
-- | Describes an event.
--
-- See: newEvent smart constructor.
data Event
Event' :: Maybe ISO8601 -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SourceType -> Event
-- | Create a value of Event 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:date:Event', event_date - The date and time of the
-- event.
--
-- $sel:eventCategories:Event', event_eventCategories - A
-- list of the event categories.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
--
-- $sel:eventId:Event', event_eventId - The identifier of
-- the event.
--
-- $sel:message:Event', event_message - The text of this
-- event.
--
-- $sel:severity:Event', event_severity - The severity of
-- the event.
--
-- Values: ERROR, INFO
--
-- $sel:sourceIdentifier:Event', event_sourceIdentifier -
-- The identifier for the source of the event.
--
-- $sel:sourceType:Event', event_sourceType - The source
-- type for this event.
newEvent :: Event
-- | Describes event categories.
--
-- See: newEventCategoriesMap smart constructor.
data EventCategoriesMap
EventCategoriesMap' :: Maybe [EventInfoMap] -> Maybe Text -> EventCategoriesMap
-- | Create a value of EventCategoriesMap 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:events:EventCategoriesMap',
-- eventCategoriesMap_events - The events in the event category.
--
-- $sel:sourceType:EventCategoriesMap',
-- eventCategoriesMap_sourceType - The source type, such as
-- cluster or cluster-snapshot, that the returned categories belong to.
newEventCategoriesMap :: EventCategoriesMap
-- | Describes event information.
--
-- See: newEventInfoMap smart constructor.
data EventInfoMap
EventInfoMap' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> EventInfoMap
-- | Create a value of EventInfoMap 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:eventCategories:EventInfoMap',
-- eventInfoMap_eventCategories - The category of an Amazon
-- Redshift event.
--
-- $sel:eventDescription:EventInfoMap',
-- eventInfoMap_eventDescription - The description of an Amazon
-- Redshift event.
--
-- $sel:eventId:EventInfoMap', eventInfoMap_eventId - The
-- identifier of an Amazon Redshift event.
--
-- $sel:severity:EventInfoMap', eventInfoMap_severity - The
-- severity of the event.
--
-- Values: ERROR, INFO
newEventInfoMap :: EventInfoMap
-- | Describes event subscriptions.
--
-- See: newEventSubscription smart constructor.
data EventSubscription
EventSubscription' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe [Tag] -> EventSubscription
-- | Create a value of EventSubscription 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:custSubscriptionId:EventSubscription',
-- eventSubscription_custSubscriptionId - The name of the Amazon
-- Redshift event notification subscription.
--
-- $sel:customerAwsId:EventSubscription',
-- eventSubscription_customerAwsId - The Amazon Web Services
-- account associated with the Amazon Redshift event notification
-- subscription.
--
-- $sel:enabled:EventSubscription',
-- eventSubscription_enabled - A boolean value indicating whether
-- the subscription is enabled; true indicates that the
-- subscription is enabled.
--
-- $sel:eventCategoriesList:EventSubscription',
-- eventSubscription_eventCategoriesList - The list of Amazon
-- Redshift event categories specified in the event notification
-- subscription.
--
-- Values: Configuration, Management, Monitoring, Security, Pending
--
-- $sel:severity:EventSubscription',
-- eventSubscription_severity - The event severity specified in
-- the Amazon Redshift event notification subscription.
--
-- Values: ERROR, INFO
--
-- $sel:snsTopicArn:EventSubscription',
-- eventSubscription_snsTopicArn - The Amazon Resource Name (ARN)
-- of the Amazon SNS topic used by the event notification subscription.
--
-- $sel:sourceIdsList:EventSubscription',
-- eventSubscription_sourceIdsList - A list of the sources that
-- publish events to the Amazon Redshift event notification subscription.
--
-- $sel:sourceType:EventSubscription',
-- eventSubscription_sourceType - The source type of the events
-- returned by the Amazon Redshift event notification, such as cluster,
-- cluster-snapshot, cluster-parameter-group, cluster-security-group, or
-- scheduled-action.
--
-- $sel:status:EventSubscription', eventSubscription_status
-- - The status of the Amazon Redshift event notification subscription.
--
-- Constraints:
--
--
-- - Can be one of the following: active | no-permission |
-- topic-not-exist
-- - The status "no-permission" indicates that Amazon Redshift no
-- longer has permission to post to the Amazon SNS topic. The status
-- "topic-not-exist" indicates that the topic was deleted after the
-- subscription was created.
--
--
-- $sel:subscriptionCreationTime:EventSubscription',
-- eventSubscription_subscriptionCreationTime - The date and time
-- the Amazon Redshift event notification subscription was created.
--
-- $sel:tags:EventSubscription', eventSubscription_tags -
-- The list of tags for the event subscription.
newEventSubscription :: EventSubscription
-- | Returns information about an HSM client certificate. The certificate
-- is stored in a secure Hardware Storage Module (HSM), and used by the
-- Amazon Redshift cluster to encrypt data files.
--
-- See: newHsmClientCertificate smart constructor.
data HsmClientCertificate
HsmClientCertificate' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> HsmClientCertificate
-- | Create a value of HsmClientCertificate 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:hsmClientCertificateIdentifier:HsmClientCertificate',
-- hsmClientCertificate_hsmClientCertificateIdentifier - The
-- identifier of the HSM client certificate.
--
-- $sel:hsmClientCertificatePublicKey:HsmClientCertificate',
-- hsmClientCertificate_hsmClientCertificatePublicKey - The public
-- key that the Amazon Redshift cluster will use to connect to the HSM.
-- You must register the public key in the HSM.
--
-- $sel:tags:HsmClientCertificate',
-- hsmClientCertificate_tags - The list of tags for the HSM client
-- certificate.
newHsmClientCertificate :: HsmClientCertificate
-- | Returns information about an HSM configuration, which is an object
-- that describes to Amazon Redshift clusters the information they
-- require to connect to an HSM where they can store database encryption
-- keys.
--
-- See: newHsmConfiguration smart constructor.
data HsmConfiguration
HsmConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> HsmConfiguration
-- | Create a value of HsmConfiguration 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:description:HsmConfiguration',
-- hsmConfiguration_description - A text description of the HSM
-- configuration.
--
-- $sel:hsmConfigurationIdentifier:HsmConfiguration',
-- hsmConfiguration_hsmConfigurationIdentifier - The name of the
-- Amazon Redshift HSM configuration.
--
-- $sel:hsmIpAddress:HsmConfiguration',
-- hsmConfiguration_hsmIpAddress - The IP address that the Amazon
-- Redshift cluster must use to access the HSM.
--
-- $sel:hsmPartitionName:HsmConfiguration',
-- hsmConfiguration_hsmPartitionName - The name of the partition
-- in the HSM where the Amazon Redshift clusters will store their
-- database encryption keys.
--
-- $sel:tags:HsmConfiguration', hsmConfiguration_tags - The
-- list of tags for the HSM configuration.
newHsmConfiguration :: HsmConfiguration
-- | Describes the status of changes to HSM settings.
--
-- See: newHsmStatus smart constructor.
data HsmStatus
HsmStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> HsmStatus
-- | Create a value of HsmStatus 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:hsmClientCertificateIdentifier:HsmStatus',
-- hsmStatus_hsmClientCertificateIdentifier - Specifies the name
-- of the HSM client certificate the Amazon Redshift cluster uses to
-- retrieve the data encryption keys stored in an HSM.
--
-- $sel:hsmConfigurationIdentifier:HsmStatus',
-- hsmStatus_hsmConfigurationIdentifier - Specifies the name of
-- the HSM configuration that contains the information the Amazon
-- Redshift cluster can use to retrieve and store keys in an HSM.
--
-- $sel:status:HsmStatus', hsmStatus_status - Reports
-- whether the Amazon Redshift cluster has finished applying any HSM
-- settings changes specified in a modify cluster command.
--
-- Values: active, applying
newHsmStatus :: HsmStatus
-- | Describes an IP range used in a security group.
--
-- See: newIPRange smart constructor.
data IPRange
IPRange' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> IPRange
-- | Create a value of IPRange 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:cidrip:IPRange', iPRange_cidrip - The IP range in
-- Classless Inter-Domain Routing (CIDR) notation.
--
-- $sel:status:IPRange', iPRange_status - The status of the
-- IP range, for example, "authorized".
--
-- $sel:tags:IPRange', iPRange_tags - The list of tags for
-- the IP range.
newIPRange :: IPRange
-- | Describes the status of logging for a cluster.
--
-- See: newLoggingStatus smart constructor.
data LoggingStatus
LoggingStatus' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe LogDestinationType -> Maybe [Text] -> Maybe Bool -> Maybe Text -> LoggingStatus
-- | Create a value of LoggingStatus 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:bucketName:LoggingStatus', loggingStatus_bucketName
-- - The name of the S3 bucket where the log files are stored.
--
-- $sel:lastFailureMessage:LoggingStatus',
-- loggingStatus_lastFailureMessage - The message indicating that
-- logs failed to be delivered.
--
-- $sel:lastFailureTime:LoggingStatus',
-- loggingStatus_lastFailureTime - The last time when logs failed
-- to be delivered.
--
-- $sel:lastSuccessfulDeliveryTime:LoggingStatus',
-- loggingStatus_lastSuccessfulDeliveryTime - The last time that
-- logs were delivered.
--
-- $sel:logDestinationType:LoggingStatus',
-- loggingStatus_logDestinationType - The log destination type. An
-- enum with possible values of s3 and cloudwatch.
--
-- $sel:logExports:LoggingStatus', loggingStatus_logExports
-- - The collection of exported log types. Log types include the
-- connection log, user log and user activity log.
--
-- $sel:loggingEnabled:LoggingStatus',
-- loggingStatus_loggingEnabled - true if logging is on,
-- false if logging is off.
--
-- $sel:s3KeyPrefix:LoggingStatus',
-- loggingStatus_s3KeyPrefix - The prefix applied to the log file
-- names.
newLoggingStatus :: LoggingStatus
-- | Defines a maintenance track that determines which Amazon Redshift
-- version to apply during a maintenance window. If the value for
-- MaintenanceTrack is current, the cluster is updated
-- to the most recently certified maintenance release. If the value is
-- trailing, the cluster is updated to the previously certified
-- maintenance release.
--
-- See: newMaintenanceTrack smart constructor.
data MaintenanceTrack
MaintenanceTrack' :: Maybe Text -> Maybe Text -> Maybe [UpdateTarget] -> MaintenanceTrack
-- | Create a value of MaintenanceTrack 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:
--
-- MaintenanceTrack, maintenanceTrack_databaseVersion - The
-- version number for the cluster release.
--
-- MaintenanceTrack, maintenanceTrack_maintenanceTrackName
-- - The name of the maintenance track. Possible values are
-- current and trailing.
--
-- $sel:updateTargets:MaintenanceTrack',
-- maintenanceTrack_updateTargets - An array of UpdateTarget
-- objects to update with the maintenance track.
newMaintenanceTrack :: MaintenanceTrack
-- | Describes a network interface.
--
-- 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 network interface
-- identifier.
--
-- $sel:privateIpAddress:NetworkInterface',
-- networkInterface_privateIpAddress - The IPv4 address of the
-- network interface within the subnet.
--
-- $sel:subnetId:NetworkInterface',
-- networkInterface_subnetId - The subnet identifier.
newNetworkInterface :: NetworkInterface
-- | A list of node configurations.
--
-- See: newNodeConfigurationOption smart constructor.
data NodeConfigurationOption
NodeConfigurationOption' :: Maybe Double -> Maybe Mode -> Maybe Text -> Maybe Int -> NodeConfigurationOption
-- | Create a value of NodeConfigurationOption 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:estimatedDiskUtilizationPercent:NodeConfigurationOption',
-- nodeConfigurationOption_estimatedDiskUtilizationPercent - The
-- estimated disk utilizaton percentage.
--
-- $sel:mode:NodeConfigurationOption',
-- nodeConfigurationOption_mode - The category of the node
-- configuration recommendation.
--
-- $sel:nodeType:NodeConfigurationOption',
-- nodeConfigurationOption_nodeType - The node type, such as,
-- "ds2.8xlarge".
--
-- $sel:numberOfNodes:NodeConfigurationOption',
-- nodeConfigurationOption_numberOfNodes - The number of nodes.
newNodeConfigurationOption :: NodeConfigurationOption
-- | A set of elements to filter the returned node configurations.
--
-- See: newNodeConfigurationOptionsFilter smart
-- constructor.
data NodeConfigurationOptionsFilter
NodeConfigurationOptionsFilter' :: Maybe NodeConfigurationOptionsFilterName -> Maybe OperatorType -> Maybe [Text] -> NodeConfigurationOptionsFilter
-- | Create a value of NodeConfigurationOptionsFilter 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:name:NodeConfigurationOptionsFilter',
-- nodeConfigurationOptionsFilter_name - The name of the element
-- to filter.
--
-- $sel:operator:NodeConfigurationOptionsFilter',
-- nodeConfigurationOptionsFilter_operator - The filter operator.
-- If filter Name is NodeType only the 'in' operator is supported.
-- Provide one value to evaluate for 'eq', 'lt', 'le', 'gt', and 'ge'.
-- Provide two values to evaluate for 'between'. Provide a list of values
-- for 'in'.
--
-- $sel:values:NodeConfigurationOptionsFilter',
-- nodeConfigurationOptionsFilter_values - List of values. Compare
-- Name using Operator to Values. If filter Name is NumberOfNodes, then
-- values can range from 0 to 200. If filter Name is
-- EstimatedDiskUtilizationPercent, then values can range from 0 to 100.
-- For example, filter NumberOfNodes (name) GT (operator) 3 (values).
newNodeConfigurationOptionsFilter :: NodeConfigurationOptionsFilter
-- | Describes an orderable cluster option.
--
-- See: newOrderableClusterOption smart constructor.
data OrderableClusterOption
OrderableClusterOption' :: Maybe [AvailabilityZone] -> Maybe Text -> Maybe Text -> Maybe Text -> OrderableClusterOption
-- | Create a value of OrderableClusterOption 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:availabilityZones:OrderableClusterOption',
-- orderableClusterOption_availabilityZones - A list of
-- availability zones for the orderable cluster.
--
-- $sel:clusterType:OrderableClusterOption',
-- orderableClusterOption_clusterType - The cluster type, for
-- example multi-node.
--
-- $sel:clusterVersion:OrderableClusterOption',
-- orderableClusterOption_clusterVersion - The version of the
-- orderable cluster.
--
-- $sel:nodeType:OrderableClusterOption',
-- orderableClusterOption_nodeType - The node type for the
-- orderable cluster.
newOrderableClusterOption :: OrderableClusterOption
-- | Describes a parameter in a cluster parameter group.
--
-- See: newParameter smart constructor.
data Parameter
Parameter' :: Maybe Text -> Maybe ParameterApplyType -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Parameter
-- | Create a value of Parameter 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:allowedValues:Parameter', parameter_allowedValues -
-- The valid range of values for the parameter.
--
-- $sel:applyType:Parameter', parameter_applyType -
-- Specifies how to apply the WLM configuration parameter. Some
-- properties can be applied dynamically, while other properties require
-- that any associated clusters be rebooted for the configuration changes
-- to be applied. For more information about parameters and parameter
-- groups, go to Amazon Redshift Parameter Groups in the Amazon
-- Redshift Cluster Management Guide.
--
-- $sel:dataType:Parameter', parameter_dataType - The data
-- type of the parameter.
--
-- $sel:description:Parameter', parameter_description - A
-- description of the parameter.
--
-- $sel:isModifiable:Parameter', parameter_isModifiable -
-- If true, the parameter can be modified. Some parameters have
-- security or operational implications that prevent them from being
-- changed.
--
-- $sel:minimumEngineVersion:Parameter',
-- parameter_minimumEngineVersion - The earliest engine version to
-- which the parameter can apply.
--
-- $sel:parameterName:Parameter', parameter_parameterName -
-- The name of the parameter.
--
-- $sel:parameterValue:Parameter', parameter_parameterValue
-- - The value of the parameter. If ParameterName is
-- wlm_json_configuration, then the maximum size of
-- ParameterValue is 8000 characters.
--
-- $sel:source:Parameter', parameter_source - The source of
-- the parameter value, such as "engine-default" or "user".
newParameter :: Parameter
-- | Describes a partner integration.
--
-- See: newPartnerIntegrationInfo smart constructor.
data PartnerIntegrationInfo
PartnerIntegrationInfo' :: Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe PartnerIntegrationStatus -> Maybe Text -> Maybe ISO8601 -> PartnerIntegrationInfo
-- | Create a value of PartnerIntegrationInfo 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:createdAt:PartnerIntegrationInfo',
-- partnerIntegrationInfo_createdAt - The date (UTC) that the
-- partner integration was created.
--
-- $sel:databaseName:PartnerIntegrationInfo',
-- partnerIntegrationInfo_databaseName - The name of the database
-- that receives data from a partner.
--
-- $sel:partnerName:PartnerIntegrationInfo',
-- partnerIntegrationInfo_partnerName - The name of the partner.
--
-- $sel:status:PartnerIntegrationInfo',
-- partnerIntegrationInfo_status - The partner integration status.
--
-- $sel:statusMessage:PartnerIntegrationInfo',
-- partnerIntegrationInfo_statusMessage - The status message
-- provided by the partner.
--
-- $sel:updatedAt:PartnerIntegrationInfo',
-- partnerIntegrationInfo_updatedAt - The date (UTC) that the
-- partner integration status was last updated by the partner.
newPartnerIntegrationInfo :: PartnerIntegrationInfo
-- | See: newPartnerIntegrationInputMessage smart
-- constructor.
data PartnerIntegrationInputMessage
PartnerIntegrationInputMessage' :: Text -> Text -> Text -> Text -> PartnerIntegrationInputMessage
-- | Create a value of PartnerIntegrationInputMessage 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:accountId:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_accountId - The Amazon Web
-- Services account ID that owns the cluster.
--
-- $sel:clusterIdentifier:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_clusterIdentifier - The cluster
-- identifier of the cluster that receives data from the partner.
--
-- $sel:databaseName:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationInputMessage',
-- partnerIntegrationInputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationInputMessage :: Text -> Text -> Text -> Text -> PartnerIntegrationInputMessage
-- | See: newPartnerIntegrationOutputMessage smart
-- constructor.
data PartnerIntegrationOutputMessage
PartnerIntegrationOutputMessage' :: Maybe Text -> Maybe Text -> PartnerIntegrationOutputMessage
-- | Create a value of PartnerIntegrationOutputMessage 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:databaseName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_databaseName - The name of the
-- database that receives data from the partner.
--
-- $sel:partnerName:PartnerIntegrationOutputMessage',
-- partnerIntegrationOutputMessage_partnerName - The name of the
-- partner that is authorized to send data.
newPartnerIntegrationOutputMessage :: PartnerIntegrationOutputMessage
-- | Describes a pause cluster operation. For example, a scheduled action
-- to run the PauseCluster API operation.
--
-- See: newPauseClusterMessage smart constructor.
data PauseClusterMessage
PauseClusterMessage' :: Text -> PauseClusterMessage
-- | Create a value of PauseClusterMessage 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:clusterIdentifier:PauseClusterMessage',
-- pauseClusterMessage_clusterIdentifier - The identifier of the
-- cluster to be paused.
newPauseClusterMessage :: Text -> PauseClusterMessage
-- | Describes cluster attributes that are in a pending state. A change to
-- one or more the attributes was requested and is in progress or will be
-- applied.
--
-- See: newPendingModifiedValues smart constructor.
data PendingModifiedValues
PendingModifiedValues' :: Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Bool -> PendingModifiedValues
-- | Create a value of PendingModifiedValues 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:automatedSnapshotRetentionPeriod:PendingModifiedValues',
-- pendingModifiedValues_automatedSnapshotRetentionPeriod - The
-- pending or in-progress change of the automated snapshot retention
-- period.
--
-- $sel:clusterIdentifier:PendingModifiedValues',
-- pendingModifiedValues_clusterIdentifier - The pending or
-- in-progress change of the new identifier for the cluster.
--
-- $sel:clusterType:PendingModifiedValues',
-- pendingModifiedValues_clusterType - The pending or in-progress
-- change of the cluster type.
--
-- $sel:clusterVersion:PendingModifiedValues',
-- pendingModifiedValues_clusterVersion - The pending or
-- in-progress change of the service version.
--
-- $sel:encryptionType:PendingModifiedValues',
-- pendingModifiedValues_encryptionType - The encryption type for
-- a cluster. Possible values are: KMS and None.
--
-- $sel:enhancedVpcRouting:PendingModifiedValues',
-- pendingModifiedValues_enhancedVpcRouting - An option that
-- specifies whether to create the cluster with enhanced VPC routing
-- enabled. To create a cluster that uses enhanced VPC routing, the
-- cluster must be in a VPC. For more information, see Enhanced VPC
-- Routing in the Amazon Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- $sel:maintenanceTrackName:PendingModifiedValues',
-- pendingModifiedValues_maintenanceTrackName - The name of the
-- maintenance track that the cluster will change to during the next
-- maintenance window.
--
-- $sel:masterUserPassword:PendingModifiedValues',
-- pendingModifiedValues_masterUserPassword - The pending or
-- in-progress change of the admin user password for the cluster.
--
-- $sel:nodeType:PendingModifiedValues',
-- pendingModifiedValues_nodeType - The pending or in-progress
-- change of the cluster's node type.
--
-- $sel:numberOfNodes:PendingModifiedValues',
-- pendingModifiedValues_numberOfNodes - The pending or
-- in-progress change of the number of nodes in the cluster.
--
-- $sel:publiclyAccessible:PendingModifiedValues',
-- pendingModifiedValues_publiclyAccessible - The pending or
-- in-progress change of the ability to connect to the cluster from the
-- public network.
newPendingModifiedValues :: PendingModifiedValues
-- | Describes a recurring charge.
--
-- See: newRecurringCharge smart constructor.
data RecurringCharge
RecurringCharge' :: Maybe Double -> Maybe Text -> RecurringCharge
-- | Create a value of RecurringCharge 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:recurringChargeAmount:RecurringCharge',
-- recurringCharge_recurringChargeAmount - The amount charged per
-- the period of time specified by the recurring charge frequency.
--
-- $sel:recurringChargeFrequency:RecurringCharge',
-- recurringCharge_recurringChargeFrequency - The frequency at
-- which the recurring charge amount is applied.
newRecurringCharge :: RecurringCharge
-- | Describes a reserved node. You can call the
-- DescribeReservedNodeOfferings API to obtain the available reserved
-- node offerings.
--
-- See: newReservedNode smart constructor.
data ReservedNode
ReservedNode' :: Maybe Text -> Maybe Int -> Maybe Double -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [RecurringCharge] -> Maybe Text -> Maybe Text -> Maybe ReservedNodeOfferingType -> Maybe ISO8601 -> Maybe Text -> Maybe Double -> ReservedNode
-- | Create a value of ReservedNode 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:currencyCode:ReservedNode',
-- reservedNode_currencyCode - The currency code for the reserved
-- cluster.
--
-- $sel:duration:ReservedNode', reservedNode_duration - The
-- duration of the node reservation in seconds.
--
-- $sel:fixedPrice:ReservedNode', reservedNode_fixedPrice -
-- The fixed cost Amazon Redshift charges you for this reserved node.
--
-- $sel:nodeCount:ReservedNode', reservedNode_nodeCount -
-- The number of reserved compute nodes.
--
-- $sel:nodeType:ReservedNode', reservedNode_nodeType - The
-- node type of the reserved node.
--
-- $sel:offeringType:ReservedNode',
-- reservedNode_offeringType - The anticipated utilization of the
-- reserved node, as defined in the reserved node offering.
--
-- $sel:recurringCharges:ReservedNode',
-- reservedNode_recurringCharges - The recurring charges for the
-- reserved node.
--
-- $sel:reservedNodeId:ReservedNode',
-- reservedNode_reservedNodeId - The unique identifier for the
-- reservation.
--
-- $sel:reservedNodeOfferingId:ReservedNode',
-- reservedNode_reservedNodeOfferingId - The identifier for the
-- reserved node offering.
--
-- $sel:reservedNodeOfferingType:ReservedNode',
-- reservedNode_reservedNodeOfferingType -
--
-- $sel:startTime:ReservedNode', reservedNode_startTime -
-- The time the reservation started. You purchase a reserved node
-- offering for a duration. This is the start time of that duration.
--
-- $sel:state:ReservedNode', reservedNode_state - The state
-- of the reserved compute node.
--
-- Possible Values:
--
--
-- - pending-payment-This reserved node has recently been purchased,
-- and the sale has been approved, but payment has not yet been
-- confirmed.
-- - active-This reserved node is owned by the caller and is available
-- for use.
-- - payment-failed-Payment failed for the purchase attempt.
-- - retired-The reserved node is no longer available.
-- - exchanging-The owner is exchanging the reserved node for another
-- reserved node.
--
--
-- $sel:usagePrice:ReservedNode', reservedNode_usagePrice -
-- The hourly rate Amazon Redshift charges you for this reserved node.
newReservedNode :: ReservedNode
-- | Details for a reserved-node exchange. Examples include the node type
-- for a reserved node, the price for a node, the node's state, and other
-- details.
--
-- See: newReservedNodeConfigurationOption smart
-- constructor.
data ReservedNodeConfigurationOption
ReservedNodeConfigurationOption' :: Maybe ReservedNode -> Maybe Int -> Maybe ReservedNodeOffering -> ReservedNodeConfigurationOption
-- | Create a value of ReservedNodeConfigurationOption 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:sourceReservedNode:ReservedNodeConfigurationOption',
-- reservedNodeConfigurationOption_sourceReservedNode -
-- Undocumented member.
--
-- $sel:targetReservedNodeCount:ReservedNodeConfigurationOption',
-- reservedNodeConfigurationOption_targetReservedNodeCount - The
-- target reserved-node count.
--
--
-- $sel:targetReservedNodeOffering:ReservedNodeConfigurationOption',
-- reservedNodeConfigurationOption_targetReservedNodeOffering -
-- Undocumented member.
newReservedNodeConfigurationOption :: ReservedNodeConfigurationOption
-- | Reserved-node status details, such as the source reserved-node
-- identifier, the target reserved-node identifier, the node type, the
-- node count, and other details.
--
-- See: newReservedNodeExchangeStatus smart constructor.
data ReservedNodeExchangeStatus
ReservedNodeExchangeStatus' :: Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ReservedNodeExchangeStatusType -> Maybe Int -> Maybe Text -> Maybe Text -> ReservedNodeExchangeStatus
-- | Create a value of ReservedNodeExchangeStatus 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:requestTime:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_requestTime - A date and time that
-- indicate when the reserved-node exchange was requested.
--
-- $sel:reservedNodeExchangeRequestId:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_reservedNodeExchangeRequestId - The
-- identifier of the reserved-node exchange request.
--
-- $sel:sourceReservedNodeCount:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_sourceReservedNodeCount - The source
-- reserved-node count in the cluster.
--
-- $sel:sourceReservedNodeId:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_sourceReservedNodeId - The
-- identifier of the source reserved node.
--
-- $sel:sourceReservedNodeType:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_sourceReservedNodeType - The source
-- reserved-node type, for example ds2.xlarge.
--
-- $sel:status:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_status - The status of the
-- reserved-node exchange request. Statuses include in-progress and
-- requested.
--
-- $sel:targetReservedNodeCount:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_targetReservedNodeCount - The count
-- of target reserved nodes in the cluster.
--
-- $sel:targetReservedNodeOfferingId:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_targetReservedNodeOfferingId - The
-- identifier of the target reserved node offering.
--
-- $sel:targetReservedNodeType:ReservedNodeExchangeStatus',
-- reservedNodeExchangeStatus_targetReservedNodeType - The node
-- type of the target reserved node, for example ra3.4xlarge.
newReservedNodeExchangeStatus :: ReservedNodeExchangeStatus
-- | Describes a reserved node offering.
--
-- See: newReservedNodeOffering smart constructor.
data ReservedNodeOffering
ReservedNodeOffering' :: Maybe Text -> Maybe Int -> Maybe Double -> Maybe Text -> Maybe Text -> Maybe [RecurringCharge] -> Maybe Text -> Maybe ReservedNodeOfferingType -> Maybe Double -> ReservedNodeOffering
-- | Create a value of ReservedNodeOffering 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:currencyCode:ReservedNodeOffering',
-- reservedNodeOffering_currencyCode - The currency code for the
-- compute nodes offering.
--
-- $sel:duration:ReservedNodeOffering',
-- reservedNodeOffering_duration - The duration, in seconds, for
-- which the offering will reserve the node.
--
-- $sel:fixedPrice:ReservedNodeOffering',
-- reservedNodeOffering_fixedPrice - The upfront fixed charge you
-- will pay to purchase the specific reserved node offering.
--
-- $sel:nodeType:ReservedNodeOffering',
-- reservedNodeOffering_nodeType - The node type offered by the
-- reserved node offering.
--
-- $sel:offeringType:ReservedNodeOffering',
-- reservedNodeOffering_offeringType - The anticipated utilization
-- of the reserved node, as defined in the reserved node offering.
--
-- $sel:recurringCharges:ReservedNodeOffering',
-- reservedNodeOffering_recurringCharges - The charge to your
-- account regardless of whether you are creating any clusters using the
-- node offering. Recurring charges are only in effect for
-- heavy-utilization reserved nodes.
--
-- $sel:reservedNodeOfferingId:ReservedNodeOffering',
-- reservedNodeOffering_reservedNodeOfferingId - The offering
-- identifier.
--
-- $sel:reservedNodeOfferingType:ReservedNodeOffering',
-- reservedNodeOffering_reservedNodeOfferingType -
--
-- $sel:usagePrice:ReservedNodeOffering',
-- reservedNodeOffering_usagePrice - The rate you are charged for
-- each hour the cluster that is using the offering is running.
newReservedNodeOffering :: ReservedNodeOffering
-- | Describes a resize cluster operation. For example, a scheduled action
-- to run the ResizeCluster API operation.
--
-- See: newResizeClusterMessage smart constructor.
data ResizeClusterMessage
ResizeClusterMessage' :: Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Text -> ResizeClusterMessage
-- | Create a value of ResizeClusterMessage 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:classic:ResizeClusterMessage',
-- resizeClusterMessage_classic - A boolean value indicating
-- whether the resize operation is using the classic resize process. If
-- you don't provide this parameter or set the value to false,
-- the resize type is elastic.
--
-- $sel:clusterType:ResizeClusterMessage',
-- resizeClusterMessage_clusterType - The new cluster type for the
-- specified cluster.
--
-- $sel:nodeType:ResizeClusterMessage',
-- resizeClusterMessage_nodeType - The new node type for the nodes
-- you are adding. If not specified, the cluster's current node type is
-- used.
--
-- $sel:numberOfNodes:ResizeClusterMessage',
-- resizeClusterMessage_numberOfNodes - The new number of nodes
-- for the cluster. If not specified, the cluster's current number of
-- nodes is used.
--
-- $sel:reservedNodeId:ResizeClusterMessage',
-- resizeClusterMessage_reservedNodeId - The identifier of the
-- reserved node.
--
-- $sel:targetReservedNodeOfferingId:ResizeClusterMessage',
-- resizeClusterMessage_targetReservedNodeOfferingId - The
-- identifier of the target reserved node offering.
--
-- $sel:clusterIdentifier:ResizeClusterMessage',
-- resizeClusterMessage_clusterIdentifier - The unique identifier
-- for the cluster to resize.
newResizeClusterMessage :: Text -> ResizeClusterMessage
-- | Describes a resize operation.
--
-- See: newResizeInfo smart constructor.
data ResizeInfo
ResizeInfo' :: Maybe Bool -> Maybe Text -> ResizeInfo
-- | Create a value of ResizeInfo 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:allowCancelResize:ResizeInfo',
-- resizeInfo_allowCancelResize - A boolean value indicating if
-- the resize operation can be cancelled.
--
-- $sel:resizeType:ResizeInfo', resizeInfo_resizeType -
-- Returns the value ClassicResize.
newResizeInfo :: ResizeInfo
-- | Describes the result of a cluster resize operation.
--
-- See: newResizeProgressMessage smart constructor.
data ResizeProgressMessage
ResizeProgressMessage' :: Maybe Double -> Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Integer -> ResizeProgressMessage
-- | Create a value of ResizeProgressMessage 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:avgResizeRateInMegaBytesPerSecond:ResizeProgressMessage',
-- resizeProgressMessage_avgResizeRateInMegaBytesPerSecond - The
-- average rate of the resize operation over the last few minutes,
-- measured in megabytes per second. After the resize operation
-- completes, this value shows the average rate of the entire resize
-- operation.
--
-- $sel:dataTransferProgressPercent:ResizeProgressMessage',
-- resizeProgressMessage_dataTransferProgressPercent - The percent
-- of data transferred from source cluster to target cluster.
--
-- $sel:elapsedTimeInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_elapsedTimeInSeconds - The amount of
-- seconds that have elapsed since the resize operation began. After the
-- resize operation completes, this value shows the total actual time, in
-- seconds, for the resize operation.
--
-- $sel:estimatedTimeToCompletionInSeconds:ResizeProgressMessage',
-- resizeProgressMessage_estimatedTimeToCompletionInSeconds - The
-- estimated time remaining, in seconds, until the resize operation is
-- complete. This value is calculated based on the average resize rate
-- and the estimated amount of data remaining to be processed. Once the
-- resize operation is complete, this value will be 0.
--
-- $sel:importTablesCompleted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesCompleted - The names of
-- tables that have been completely imported .
--
-- Valid Values: List of table names.
--
-- $sel:importTablesInProgress:ResizeProgressMessage',
-- resizeProgressMessage_importTablesInProgress - The names of
-- tables that are being currently imported.
--
-- Valid Values: List of table names.
--
-- $sel:importTablesNotStarted:ResizeProgressMessage',
-- resizeProgressMessage_importTablesNotStarted - The names of
-- tables that have not been yet imported.
--
-- Valid Values: List of table names
--
-- $sel:message:ResizeProgressMessage',
-- resizeProgressMessage_message - An optional string to provide
-- additional details about the resize action.
--
-- $sel:progressInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_progressInMegaBytes - While the resize
-- operation is in progress, this value shows the current amount of data,
-- in megabytes, that has been processed so far. When the resize
-- operation is complete, this value shows the total amount of data, in
-- megabytes, on the cluster, which may be more or less than
-- TotalResizeDataInMegaBytes (the estimated total amount of data before
-- resize).
--
-- $sel:resizeType:ResizeProgressMessage',
-- resizeProgressMessage_resizeType - An enum with possible values
-- of ClassicResize and ElasticResize. These values
-- describe the type of resize operation being performed.
--
-- $sel:status:ResizeProgressMessage',
-- resizeProgressMessage_status - The status of the resize
-- operation.
--
-- Valid Values: NONE | IN_PROGRESS | FAILED |
-- SUCCEEDED | CANCELLING
--
-- $sel:targetClusterType:ResizeProgressMessage',
-- resizeProgressMessage_targetClusterType - The cluster type
-- after the resize operation is complete.
--
-- Valid Values: multi-node | single-node
--
-- $sel:targetEncryptionType:ResizeProgressMessage',
-- resizeProgressMessage_targetEncryptionType - The type of
-- encryption for the cluster after the resize is complete.
--
-- Possible values are KMS and None.
--
-- $sel:targetNodeType:ResizeProgressMessage',
-- resizeProgressMessage_targetNodeType - The node type that the
-- cluster will have after the resize operation is complete.
--
-- $sel:targetNumberOfNodes:ResizeProgressMessage',
-- resizeProgressMessage_targetNumberOfNodes - The number of nodes
-- that the cluster will have after the resize operation is complete.
--
-- $sel:totalResizeDataInMegaBytes:ResizeProgressMessage',
-- resizeProgressMessage_totalResizeDataInMegaBytes - The
-- estimated total amount of data, in megabytes, on the cluster before
-- the resize operation began.
newResizeProgressMessage :: ResizeProgressMessage
-- | Describes the status of a cluster restore action. Returns null if the
-- cluster was not created by restoring a snapshot.
--
-- See: newRestoreStatus smart constructor.
data RestoreStatus
RestoreStatus' :: Maybe Double -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Text -> RestoreStatus
-- | Create a value of RestoreStatus 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:currentRestoreRateInMegaBytesPerSecond:RestoreStatus',
-- restoreStatus_currentRestoreRateInMegaBytesPerSecond - The
-- number of megabytes per second being transferred from the backup
-- storage. Returns the average rate for a completed backup. This field
-- is only updated when you restore to DC2 and DS2 node types.
--
-- $sel:elapsedTimeInSeconds:RestoreStatus',
-- restoreStatus_elapsedTimeInSeconds - The amount of time an
-- in-progress restore has been running, or the amount of time it took a
-- completed restore to finish. This field is only updated when you
-- restore to DC2 and DS2 node types.
--
-- $sel:estimatedTimeToCompletionInSeconds:RestoreStatus',
-- restoreStatus_estimatedTimeToCompletionInSeconds - The estimate
-- of the time remaining before the restore will complete. Returns 0 for
-- a completed restore. This field is only updated when you restore to
-- DC2 and DS2 node types.
--
-- $sel:progressInMegaBytes:RestoreStatus',
-- restoreStatus_progressInMegaBytes - The number of megabytes
-- that have been transferred from snapshot storage. This field is only
-- updated when you restore to DC2 and DS2 node types.
--
-- $sel:snapshotSizeInMegaBytes:RestoreStatus',
-- restoreStatus_snapshotSizeInMegaBytes - The size of the set of
-- snapshot data used to restore the cluster. This field is only updated
-- when you restore to DC2 and DS2 node types.
--
-- $sel:status:RestoreStatus', restoreStatus_status - The
-- status of the restore action. Returns starting, restoring, completed,
-- or failed.
newRestoreStatus :: RestoreStatus
-- | Describes a resume cluster operation. For example, a scheduled action
-- to run the ResumeCluster API operation.
--
-- See: newResumeClusterMessage smart constructor.
data ResumeClusterMessage
ResumeClusterMessage' :: Text -> ResumeClusterMessage
-- | Create a value of ResumeClusterMessage 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:clusterIdentifier:ResumeClusterMessage',
-- resumeClusterMessage_clusterIdentifier - The identifier of the
-- cluster to be resumed.
newResumeClusterMessage :: Text -> ResumeClusterMessage
-- | Describes a RevisionTarget.
--
-- See: newRevisionTarget smart constructor.
data RevisionTarget
RevisionTarget' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> RevisionTarget
-- | Create a value of RevisionTarget 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:databaseRevision:RevisionTarget',
-- revisionTarget_databaseRevision - A unique string that
-- identifies the version to update the cluster to. You can use this
-- value in ModifyClusterDbRevision.
--
-- $sel:databaseRevisionReleaseDate:RevisionTarget',
-- revisionTarget_databaseRevisionReleaseDate - The date on which
-- the database revision was released.
--
-- $sel:description:RevisionTarget',
-- revisionTarget_description - A string that describes the
-- changes and features that will be applied to the cluster when it is
-- updated to the corresponding ClusterDbRevision.
newRevisionTarget :: RevisionTarget
-- | Describes a scheduled action. You can use a scheduled action to
-- trigger some Amazon Redshift API operations on a schedule. For
-- information about which API operations can be scheduled, see
-- ScheduledActionType.
--
-- See: newScheduledAction smart constructor.
data ScheduledAction
ScheduledAction' :: Maybe ISO8601 -> Maybe Text -> Maybe [ISO8601] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe ScheduledActionState -> Maybe ScheduledActionType -> ScheduledAction
-- | Create a value of ScheduledAction 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:ScheduledAction', scheduledAction_endTime -
-- The end time in UTC when the schedule is no longer active. After this
-- time, the scheduled action does not trigger.
--
-- $sel:iamRole:ScheduledAction', scheduledAction_iamRole -
-- The IAM role to assume to run the scheduled action. This IAM role must
-- have permission to run the Amazon Redshift API operation in the
-- scheduled action. This IAM role must allow the Amazon Redshift
-- scheduler (Principal scheduler.redshift.amazonaws.com) to assume
-- permissions on your behalf. For more information about the IAM role to
-- use with the Amazon Redshift scheduler, see Using Identity-Based
-- Policies for Amazon Redshift in the Amazon Redshift Cluster
-- Management Guide.
--
-- $sel:nextInvocations:ScheduledAction',
-- scheduledAction_nextInvocations - List of times when the
-- scheduled action will run.
--
-- $sel:schedule:ScheduledAction', scheduledAction_schedule
-- - The schedule for a one-time (at format) or recurring (cron format)
-- scheduled action. Schedule invocations must be separated by at least
-- one hour.
--
-- Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For
-- example, "at(2016-03-04T17:27:00)".
--
-- Format of cron expressions is "cron(Minutes Hours Day-of-month
-- Month Day-of-week Year)". For example, "cron(0 10 ? * MON
-- *)". For more information, see Cron Expressions in the
-- Amazon CloudWatch Events User Guide.
--
-- $sel:scheduledActionDescription:ScheduledAction',
-- scheduledAction_scheduledActionDescription - The description of
-- the scheduled action.
--
-- $sel:scheduledActionName:ScheduledAction',
-- scheduledAction_scheduledActionName - The name of the scheduled
-- action.
--
-- $sel:startTime:ScheduledAction',
-- scheduledAction_startTime - The start time in UTC when the
-- schedule is active. Before this time, the scheduled action does not
-- trigger.
--
-- $sel:state:ScheduledAction', scheduledAction_state - The
-- state of the scheduled action. For example, DISABLED.
--
-- $sel:targetAction:ScheduledAction',
-- scheduledAction_targetAction - A JSON format string of the
-- Amazon Redshift API operation with input parameters.
--
--
-- "{\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}}".
newScheduledAction :: ScheduledAction
-- | A set of elements to filter the returned scheduled actions.
--
-- See: newScheduledActionFilter smart constructor.
data ScheduledActionFilter
ScheduledActionFilter' :: ScheduledActionFilterName -> [Text] -> ScheduledActionFilter
-- | Create a value of ScheduledActionFilter 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:name:ScheduledActionFilter',
-- scheduledActionFilter_name - The type of element to filter.
--
-- $sel:values:ScheduledActionFilter',
-- scheduledActionFilter_values - List of values. Compare if the
-- value (of type defined by Name) equals an item in the list of
-- scheduled actions.
newScheduledActionFilter :: ScheduledActionFilterName -> ScheduledActionFilter
-- | The action type that specifies an Amazon Redshift API operation that
-- is supported by the Amazon Redshift scheduler.
--
-- See: newScheduledActionType smart constructor.
data ScheduledActionType
ScheduledActionType' :: Maybe PauseClusterMessage -> Maybe ResizeClusterMessage -> Maybe ResumeClusterMessage -> ScheduledActionType
-- | Create a value of ScheduledActionType 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:pauseCluster:ScheduledActionType',
-- scheduledActionType_pauseCluster - An action that runs a
-- PauseCluster API operation.
--
-- $sel:resizeCluster:ScheduledActionType',
-- scheduledActionType_resizeCluster - An action that runs a
-- ResizeCluster API operation.
--
-- $sel:resumeCluster:ScheduledActionType',
-- scheduledActionType_resumeCluster - An action that runs a
-- ResumeCluster API operation.
newScheduledActionType :: ScheduledActionType
-- | Describes a snapshot.
--
-- See: newSnapshot smart constructor.
data Snapshot
Snapshot' :: Maybe [AccountWithRestoreAccess] -> Maybe Double -> Maybe Text -> Maybe Double -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe Text -> Maybe Integer -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe Double -> Maybe Text -> 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:accountsWithRestoreAccess:Snapshot',
-- snapshot_accountsWithRestoreAccess - A list of the Amazon Web
-- Services accounts authorized to restore the snapshot. Returns
-- null if no accounts are authorized. Visible only to the
-- snapshot owner.
--
-- $sel:actualIncrementalBackupSizeInMegaBytes:Snapshot',
-- snapshot_actualIncrementalBackupSizeInMegaBytes - The size of
-- the incremental backup.
--
-- $sel:availabilityZone:Snapshot',
-- snapshot_availabilityZone - The Availability Zone in which the
-- cluster was created.
--
-- $sel:backupProgressInMegaBytes:Snapshot',
-- snapshot_backupProgressInMegaBytes - The number of megabytes
-- that have been transferred to the snapshot backup.
--
-- $sel:clusterCreateTime:Snapshot',
-- snapshot_clusterCreateTime - The time (UTC) when the cluster
-- was originally created.
--
-- $sel:clusterIdentifier:Snapshot',
-- snapshot_clusterIdentifier - The identifier of the cluster for
-- which the snapshot was taken.
--
-- $sel:clusterVersion:Snapshot', snapshot_clusterVersion -
-- The version ID of the Amazon Redshift engine that is running on the
-- cluster.
--
-- $sel:currentBackupRateInMegaBytesPerSecond:Snapshot',
-- snapshot_currentBackupRateInMegaBytesPerSecond - The number of
-- megabytes per second being transferred to the snapshot backup. Returns
-- 0 for a completed backup.
--
-- $sel:dbName:Snapshot', snapshot_dbName - The name of the
-- database that was created when the cluster was created.
--
-- $sel:elapsedTimeInSeconds:Snapshot',
-- snapshot_elapsedTimeInSeconds - The amount of time an
-- in-progress snapshot backup has been running, or the amount of time it
-- took a completed backup to finish.
--
-- $sel:encrypted:Snapshot', snapshot_encrypted - If
-- true, the data in the snapshot is encrypted at rest.
--
-- $sel:encryptedWithHSM:Snapshot',
-- snapshot_encryptedWithHSM - A boolean that indicates whether
-- the snapshot data is encrypted using the HSM keys of the source
-- cluster. true indicates that the data is encrypted using HSM
-- keys.
--
-- $sel:engineFullVersion:Snapshot',
-- snapshot_engineFullVersion - The cluster version of the cluster
-- used to create the snapshot. For example, 1.0.15503.
--
-- $sel:enhancedVpcRouting:Snapshot',
-- snapshot_enhancedVpcRouting - An option that specifies whether
-- to create the cluster with enhanced VPC routing enabled. To create a
-- cluster that uses enhanced VPC routing, the cluster must be in a VPC.
-- For more information, see Enhanced VPC Routing in the Amazon
-- Redshift Cluster Management Guide.
--
-- If this option is true, enhanced VPC routing is enabled.
--
-- Default: false
--
-- $sel:estimatedSecondsToCompletion:Snapshot',
-- snapshot_estimatedSecondsToCompletion - The estimate of the
-- time remaining before the snapshot backup will complete. Returns
-- 0 for a completed backup.
--
-- $sel:kmsKeyId:Snapshot', snapshot_kmsKeyId - The Key
-- Management Service (KMS) key ID of the encryption key that was used to
-- encrypt data in the cluster from which the snapshot was taken.
--
-- $sel:maintenanceTrackName:Snapshot',
-- snapshot_maintenanceTrackName - The name of the maintenance
-- track for the snapshot.
--
-- $sel:manualSnapshotRemainingDays:Snapshot',
-- snapshot_manualSnapshotRemainingDays - The number of days until
-- a manual snapshot will pass its retention period.
--
-- $sel:manualSnapshotRetentionPeriod:Snapshot',
-- snapshot_manualSnapshotRetentionPeriod - The number of days
-- that a manual snapshot is retained. If the value is -1, the manual
-- snapshot is retained indefinitely.
--
-- The value must be either -1 or an integer between 1 and 3,653.
--
-- $sel:masterUsername:Snapshot', snapshot_masterUsername -
-- The admin user name for the cluster.
--
-- $sel:nodeType:Snapshot', snapshot_nodeType - The node
-- type of the nodes in the cluster.
--
-- $sel:numberOfNodes:Snapshot', snapshot_numberOfNodes -
-- The number of nodes in the cluster.
--
-- $sel:ownerAccount:Snapshot', snapshot_ownerAccount - For
-- manual snapshots, the Amazon Web Services account used to create or
-- copy the snapshot. For automatic snapshots, the owner of the cluster.
-- The owner can perform all snapshot actions, such as sharing a manual
-- snapshot.
--
-- $sel:port:Snapshot', snapshot_port - The port that the
-- cluster is listening on.
--
-- $sel:restorableNodeTypes:Snapshot',
-- snapshot_restorableNodeTypes - The list of node types that this
-- cluster snapshot is able to restore into.
--
-- $sel:snapshotCreateTime:Snapshot',
-- snapshot_snapshotCreateTime - The time (in UTC format) when
-- Amazon Redshift began the snapshot. A snapshot contains a copy of the
-- cluster data as of this exact time.
--
-- $sel:snapshotIdentifier:Snapshot',
-- snapshot_snapshotIdentifier - The snapshot identifier that is
-- provided in the request.
--
-- $sel:snapshotRetentionStartTime:Snapshot',
-- snapshot_snapshotRetentionStartTime - A timestamp representing
-- the start of the retention period for the snapshot.
--
-- $sel:snapshotType:Snapshot', snapshot_snapshotType - The
-- snapshot type. Snapshots created using CreateClusterSnapshot and
-- CopyClusterSnapshot are of type "manual".
--
-- $sel:sourceRegion:Snapshot', snapshot_sourceRegion - The
-- source region from which the snapshot was copied.
--
-- $sel:status:Snapshot', snapshot_status - The snapshot
-- status. The value of the status depends on the API operation used:
--
--
-- - CreateClusterSnapshot and CopyClusterSnapshot returns status as
-- "creating".
-- - DescribeClusterSnapshots returns status as "creating",
-- "available", "final snapshot", or "failed".
-- - DeleteClusterSnapshot returns status as "deleted".
--
--
-- $sel:tags:Snapshot', snapshot_tags - The list of tags
-- for the cluster snapshot.
--
-- $sel:totalBackupSizeInMegaBytes:Snapshot',
-- snapshot_totalBackupSizeInMegaBytes - The size of the complete
-- set of backup data that would be used to restore the cluster.
--
-- $sel:vpcId:Snapshot', snapshot_vpcId - The VPC
-- identifier of the cluster if the snapshot is from a cluster in a VPC.
-- Otherwise, this field is not in the output.
newSnapshot :: Snapshot
-- | The snapshot copy grant that grants Amazon Redshift permission to
-- encrypt copied snapshots with the specified encrypted symmetric key
-- from Amazon Web Services KMS in the destination region.
--
-- For more information about managing snapshot copy grants, go to
-- Amazon Redshift Database Encryption in the Amazon Redshift
-- Cluster Management Guide.
--
-- See: newSnapshotCopyGrant smart constructor.
data SnapshotCopyGrant
SnapshotCopyGrant' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> SnapshotCopyGrant
-- | Create a value of SnapshotCopyGrant 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:kmsKeyId:SnapshotCopyGrant',
-- snapshotCopyGrant_kmsKeyId - The unique identifier of the
-- encrypted symmetric key in Amazon Web Services KMS to which Amazon
-- Redshift is granted permission.
--
-- $sel:snapshotCopyGrantName:SnapshotCopyGrant',
-- snapshotCopyGrant_snapshotCopyGrantName - The name of the
-- snapshot copy grant.
--
-- $sel:tags:SnapshotCopyGrant', snapshotCopyGrant_tags - A
-- list of tag instances.
newSnapshotCopyGrant :: SnapshotCopyGrant
-- | Describes the errors returned by a snapshot.
--
-- See: newSnapshotErrorMessage smart constructor.
data SnapshotErrorMessage
SnapshotErrorMessage' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> SnapshotErrorMessage
-- | Create a value of SnapshotErrorMessage 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:failureCode:SnapshotErrorMessage',
-- snapshotErrorMessage_failureCode - The failure code for the
-- error.
--
-- $sel:failureReason:SnapshotErrorMessage',
-- snapshotErrorMessage_failureReason - The text message
-- describing the error.
--
-- $sel:snapshotClusterIdentifier:SnapshotErrorMessage',
-- snapshotErrorMessage_snapshotClusterIdentifier - A unique
-- identifier for the cluster.
--
-- $sel:snapshotIdentifier:SnapshotErrorMessage',
-- snapshotErrorMessage_snapshotIdentifier - A unique identifier
-- for the snapshot returning the error.
newSnapshotErrorMessage :: SnapshotErrorMessage
-- | Describes a snapshot schedule. You can set a regular interval for
-- creating snapshots of a cluster. You can also schedule snapshots for
-- specific dates.
--
-- See: newSnapshotSchedule smart constructor.
data SnapshotSchedule
SnapshotSchedule' :: Maybe Int -> Maybe [ClusterAssociatedToSchedule] -> Maybe [ISO8601] -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [Tag] -> SnapshotSchedule
-- | Create a value of SnapshotSchedule 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:associatedClusterCount:SnapshotSchedule',
-- snapshotSchedule_associatedClusterCount - The number of
-- clusters associated with the schedule.
--
-- $sel:associatedClusters:SnapshotSchedule',
-- snapshotSchedule_associatedClusters - A list of clusters
-- associated with the schedule. A maximum of 100 clusters is returned.
--
-- $sel:nextInvocations:SnapshotSchedule',
-- snapshotSchedule_nextInvocations -
--
-- $sel:scheduleDefinitions:SnapshotSchedule',
-- snapshotSchedule_scheduleDefinitions - A list of
-- ScheduleDefinitions.
--
-- $sel:scheduleDescription:SnapshotSchedule',
-- snapshotSchedule_scheduleDescription - The description of the
-- schedule.
--
-- $sel:scheduleIdentifier:SnapshotSchedule',
-- snapshotSchedule_scheduleIdentifier - A unique identifier for
-- the schedule.
--
-- $sel:tags:SnapshotSchedule', snapshotSchedule_tags - An
-- optional set of tags describing the schedule.
newSnapshotSchedule :: SnapshotSchedule
-- | Describes a sorting entity
--
-- See: newSnapshotSortingEntity smart constructor.
data SnapshotSortingEntity
SnapshotSortingEntity' :: Maybe SortByOrder -> SnapshotAttributeToSortBy -> SnapshotSortingEntity
-- | Create a value of SnapshotSortingEntity 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:sortOrder:SnapshotSortingEntity',
-- snapshotSortingEntity_sortOrder - The order for listing the
-- attributes.
--
-- $sel:attribute:SnapshotSortingEntity',
-- snapshotSortingEntity_attribute - The category for sorting the
-- snapshots.
newSnapshotSortingEntity :: SnapshotAttributeToSortBy -> SnapshotSortingEntity
-- | Describes a subnet.
--
-- See: newSubnet smart constructor.
data Subnet
Subnet' :: Maybe AvailabilityZone -> Maybe Text -> Maybe Text -> Subnet
-- | Create a value of Subnet 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:subnetAvailabilityZone:Subnet',
-- subnet_subnetAvailabilityZone -
--
-- $sel:subnetIdentifier:Subnet', subnet_subnetIdentifier -
-- The identifier of the subnet.
--
-- $sel:subnetStatus:Subnet', subnet_subnetStatus - The
-- status of the subnet.
newSubnet :: Subnet
-- | Describes the operations that are allowed on a maintenance track.
--
-- See: newSupportedOperation smart constructor.
data SupportedOperation
SupportedOperation' :: Maybe Text -> SupportedOperation
-- | Create a value of SupportedOperation 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:operationName:SupportedOperation',
-- supportedOperation_operationName - A list of the supported
-- operations.
newSupportedOperation :: SupportedOperation
-- | A list of supported platforms for orderable clusters.
--
-- See: newSupportedPlatform smart constructor.
data SupportedPlatform
SupportedPlatform' :: Maybe Text -> SupportedPlatform
-- | Create a value of SupportedPlatform 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:name:SupportedPlatform', supportedPlatform_name -
newSupportedPlatform :: SupportedPlatform
-- | Describes the status of a RestoreTableFromClusterSnapshot operation.
--
-- See: newTableRestoreStatus smart constructor.
data TableRestoreStatus
TableRestoreStatus' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe TableRestoreStatusType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> 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:clusterIdentifier:TableRestoreStatus',
-- tableRestoreStatus_clusterIdentifier - The identifier of the
-- Amazon Redshift cluster that the table is being restored to.
--
-- $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:newTableName':TableRestoreStatus',
-- tableRestoreStatus_newTableName - The name of the table to
-- create as a result of the table restore request.
--
-- $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:snapshotIdentifier:TableRestoreStatus',
-- tableRestoreStatus_snapshotIdentifier - The identifier of the
-- snapshot that the table is being restored from.
--
-- $sel:sourceDatabaseName:TableRestoreStatus',
-- tableRestoreStatus_sourceDatabaseName - The name of the source
-- database that contains the table being restored.
--
-- $sel:sourceSchemaName:TableRestoreStatus',
-- tableRestoreStatus_sourceSchemaName - The name of the source
-- schema that contains the table being restored.
--
-- $sel:sourceTableName:TableRestoreStatus',
-- tableRestoreStatus_sourceTableName - The name of the source
-- table being restored.
--
-- $sel:status:TableRestoreStatus',
-- tableRestoreStatus_status - A value that describes the current
-- state of the table restore request.
--
-- Valid Values: SUCCEEDED, FAILED, CANCELED,
-- PENDING, IN_PROGRESS
--
-- $sel:tableRestoreRequestId:TableRestoreStatus',
-- tableRestoreStatus_tableRestoreRequestId - The unique
-- identifier for the table restore request.
--
-- $sel:targetDatabaseName:TableRestoreStatus',
-- tableRestoreStatus_targetDatabaseName - The name of the
-- database to restore the table to.
--
-- $sel:targetSchemaName:TableRestoreStatus',
-- tableRestoreStatus_targetSchemaName - The name of the schema to
-- restore the table to.
--
-- $sel:totalDataInMegaBytes:TableRestoreStatus',
-- tableRestoreStatus_totalDataInMegaBytes - The total amount of
-- data to restore to the new table, in megabytes (MB).
newTableRestoreStatus :: TableRestoreStatus
-- | A tag consisting of a name/value pair for a resource.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe 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, or name, for the
-- resource tag.
--
-- $sel:value:Tag', tag_value - The value for the resource
-- tag.
newTag :: Tag
-- | A tag and its associated resource.
--
-- See: newTaggedResource smart constructor.
data TaggedResource
TaggedResource' :: Maybe Text -> Maybe Text -> Maybe Tag -> TaggedResource
-- | Create a value of TaggedResource 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:resourceName:TaggedResource',
-- taggedResource_resourceName - The Amazon Resource Name (ARN)
-- with which the tag is associated, for example:
-- arn:aws:redshift:us-east-2:123456789:cluster:t1.
--
-- $sel:resourceType:TaggedResource',
-- taggedResource_resourceType - The type of resource with which
-- the tag is associated. Valid resource types are:
--
--
-- - Cluster
-- - CIDR/IP
-- - EC2 security group
-- - Snapshot
-- - Cluster security group
-- - Subnet group
-- - HSM connection
-- - HSM certificate
-- - Parameter group
--
--
-- For more information about Amazon Redshift resource types and
-- constructing ARNs, go to Constructing an Amazon Redshift Amazon
-- Resource Name (ARN) in the Amazon Redshift Cluster Management
-- Guide.
--
-- $sel:tag:TaggedResource', taggedResource_tag - The tag
-- for the resource.
newTaggedResource :: TaggedResource
-- | A maintenance track that you can switch the current track to.
--
-- See: newUpdateTarget smart constructor.
data UpdateTarget
UpdateTarget' :: Maybe Text -> Maybe Text -> Maybe [SupportedOperation] -> UpdateTarget
-- | Create a value of UpdateTarget 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:databaseVersion:UpdateTarget',
-- updateTarget_databaseVersion - The cluster version for the new
-- maintenance track.
--
-- $sel:maintenanceTrackName:UpdateTarget',
-- updateTarget_maintenanceTrackName - The name of the new
-- maintenance track.
--
-- $sel:supportedOperations:UpdateTarget',
-- updateTarget_supportedOperations - A list of operations
-- supported by the maintenance track.
newUpdateTarget :: UpdateTarget
-- | Describes a usage limit object for a cluster.
--
-- See: newUsageLimit smart constructor.
data UsageLimit
UsageLimit' :: Maybe Integer -> Maybe UsageLimitBreachAction -> Maybe Text -> Maybe UsageLimitFeatureType -> Maybe UsageLimitLimitType -> Maybe UsageLimitPeriod -> Maybe [Tag] -> Maybe Text -> 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 minutes. If data-based, this
-- amount is in terabytes (TB).
--
-- $sel:breachAction:UsageLimit', usageLimit_breachAction -
-- The action that Amazon Redshift takes when the limit is reached.
-- Possible values are:
--
--
-- - log - To log an event in a system table. The default is
-- log.
-- - emit-metric - To emit CloudWatch metrics.
-- - disable - To disable the feature until the next usage
-- period begins.
--
--
-- $sel:clusterIdentifier:UsageLimit',
-- usageLimit_clusterIdentifier - The identifier of the cluster
-- with a usage limit.
--
-- $sel:featureType:UsageLimit', usageLimit_featureType -
-- The Amazon Redshift feature to which the limit applies.
--
-- $sel:limitType:UsageLimit', usageLimit_limitType - The
-- type of limit. Depending on the feature type, this can be based on a
-- time duration or data size.
--
-- $sel:period:UsageLimit', usageLimit_period - The time
-- period that the amount applies to. A weekly period begins on
-- Sunday. The default is monthly.
--
-- $sel:tags:UsageLimit', usageLimit_tags - A list of tag
-- instances.
--
-- $sel:usageLimitId:UsageLimit', usageLimit_usageLimitId -
-- The identifier of the usage limit.
newUsageLimit :: UsageLimit
-- | The connection endpoint for connecting to an Amazon Redshift cluster
-- 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 an Amazon Redshift cluster through the proxy.
--
-- $sel:vpcId:VpcEndpoint', vpcEndpoint_vpcId - The VPC
-- identifier that the endpoint is associated.
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 identifier
-- of the VPC security group.
newVpcSecurityGroupMembership :: VpcSecurityGroupMembership