-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon MemoryDB SDK.
--
-- Derived from API version 2021-01-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.MemoryDb.Lens and are
-- suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.MemoryDb and the AWS documentation to get
-- started.
@package amazonka-memorydb
@version 2.0
module Amazonka.MemoryDb.Types.ACLPendingChanges
-- | Returns the updates being applied to the ACL.
--
-- See: newACLPendingChanges smart constructor.
data ACLPendingChanges
ACLPendingChanges' :: Maybe [Text] -> Maybe [Text] -> ACLPendingChanges
-- | A list of users being added to the ACL
[$sel:userNamesToAdd:ACLPendingChanges'] :: ACLPendingChanges -> Maybe [Text]
-- | A list of user names being removed from the ACL
[$sel:userNamesToRemove:ACLPendingChanges'] :: ACLPendingChanges -> Maybe [Text]
-- | Create a value of ACLPendingChanges with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:userNamesToAdd:ACLPendingChanges',
-- aCLPendingChanges_userNamesToAdd - A list of users being added
-- to the ACL
--
-- $sel:userNamesToRemove:ACLPendingChanges',
-- aCLPendingChanges_userNamesToRemove - A list of user names
-- being removed from the ACL
newACLPendingChanges :: ACLPendingChanges
-- | A list of users being added to the ACL
aCLPendingChanges_userNamesToAdd :: Lens' ACLPendingChanges (Maybe [Text])
-- | A list of user names being removed from the ACL
aCLPendingChanges_userNamesToRemove :: Lens' ACLPendingChanges (Maybe [Text])
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ACLPendingChanges.ACLPendingChanges
instance GHC.Show.Show Amazonka.MemoryDb.Types.ACLPendingChanges.ACLPendingChanges
instance GHC.Read.Read Amazonka.MemoryDb.Types.ACLPendingChanges.ACLPendingChanges
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ACLPendingChanges.ACLPendingChanges
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ACLPendingChanges.ACLPendingChanges
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ACLPendingChanges.ACLPendingChanges
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ACLPendingChanges.ACLPendingChanges
module Amazonka.MemoryDb.Types.ACL
-- | An Access Control List. You can authenticate users with Access Contol
-- Lists. ACLs enable you to control cluster access by grouping users.
-- These Access control lists are designed as a way to organize access to
-- clusters.
--
-- See: newACL smart constructor.
data ACL
ACL' :: Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe ACLPendingChanges -> Maybe Text -> Maybe [Text] -> ACL
-- | The Amazon Resource Name (ARN) of the ACL
[$sel:arn:ACL'] :: ACL -> Maybe Text
-- | A list of clusters associated with the ACL.
[$sel:clusters:ACL'] :: ACL -> Maybe [Text]
-- | The minimum engine version supported for the ACL
[$sel:minimumEngineVersion:ACL'] :: ACL -> Maybe Text
-- | The name of the Access Control List
[$sel:name:ACL'] :: ACL -> Maybe Text
-- | A list of updates being applied to the ACL.
[$sel:pendingChanges:ACL'] :: ACL -> Maybe ACLPendingChanges
-- | Indicates ACL status. Can be "creating", "active", "modifying",
-- "deleting".
[$sel:status:ACL'] :: ACL -> Maybe Text
-- | The list of user names that belong to the ACL.
[$sel:userNames:ACL'] :: ACL -> Maybe [Text]
-- | Create a value of ACL with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:ACL', acl_arn - The Amazon Resource Name (ARN)
-- of the ACL
--
-- $sel:clusters:ACL', acl_clusters - A list of clusters
-- associated with the ACL.
--
-- $sel:minimumEngineVersion:ACL', acl_minimumEngineVersion
-- - The minimum engine version supported for the ACL
--
-- $sel:name:ACL', acl_name - The name of the Access
-- Control List
--
-- $sel:pendingChanges:ACL', acl_pendingChanges - A list of
-- updates being applied to the ACL.
--
-- $sel:status:ACL', acl_status - Indicates ACL status. Can
-- be "creating", "active", "modifying", "deleting".
--
-- $sel:userNames:ACL', acl_userNames - The list of user
-- names that belong to the ACL.
newACL :: ACL
-- | The Amazon Resource Name (ARN) of the ACL
acl_arn :: Lens' ACL (Maybe Text)
-- | A list of clusters associated with the ACL.
acl_clusters :: Lens' ACL (Maybe [Text])
-- | The minimum engine version supported for the ACL
acl_minimumEngineVersion :: Lens' ACL (Maybe Text)
-- | The name of the Access Control List
acl_name :: Lens' ACL (Maybe Text)
-- | A list of updates being applied to the ACL.
acl_pendingChanges :: Lens' ACL (Maybe ACLPendingChanges)
-- | Indicates ACL status. Can be "creating", "active", "modifying",
-- "deleting".
acl_status :: Lens' ACL (Maybe Text)
-- | The list of user names that belong to the ACL.
acl_userNames :: Lens' ACL (Maybe [Text])
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ACL.ACL
instance GHC.Show.Show Amazonka.MemoryDb.Types.ACL.ACL
instance GHC.Read.Read Amazonka.MemoryDb.Types.ACL.ACL
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ACL.ACL
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ACL.ACL
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ACL.ACL
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ACL.ACL
module Amazonka.MemoryDb.Types.ACLsUpdateStatus
-- | The status of the ACL update
--
-- See: newACLsUpdateStatus smart constructor.
data ACLsUpdateStatus
ACLsUpdateStatus' :: Maybe Text -> ACLsUpdateStatus
-- | A list of ACLs pending to be applied.
[$sel:aCLToApply:ACLsUpdateStatus'] :: ACLsUpdateStatus -> Maybe Text
-- | Create a value of ACLsUpdateStatus with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCLToApply:ACLsUpdateStatus',
-- aCLsUpdateStatus_aCLToApply - A list of ACLs pending to be
-- applied.
newACLsUpdateStatus :: ACLsUpdateStatus
-- | A list of ACLs pending to be applied.
aCLsUpdateStatus_aCLToApply :: Lens' ACLsUpdateStatus (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ACLsUpdateStatus.ACLsUpdateStatus
instance GHC.Show.Show Amazonka.MemoryDb.Types.ACLsUpdateStatus.ACLsUpdateStatus
instance GHC.Read.Read Amazonka.MemoryDb.Types.ACLsUpdateStatus.ACLsUpdateStatus
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ACLsUpdateStatus.ACLsUpdateStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ACLsUpdateStatus.ACLsUpdateStatus
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ACLsUpdateStatus.ACLsUpdateStatus
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ACLsUpdateStatus.ACLsUpdateStatus
module Amazonka.MemoryDb.Types.AZStatus
newtype AZStatus
AZStatus' :: Text -> AZStatus
[fromAZStatus] :: AZStatus -> Text
pattern AZStatus_Multiaz :: AZStatus
pattern AZStatus_Singleaz :: AZStatus
instance Amazonka.Data.XML.ToXML Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Amazonka.Data.XML.FromXML Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Amazonka.Data.Log.ToLog Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Amazonka.Data.Text.ToText Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Amazonka.Data.Text.FromText Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance GHC.Classes.Ord Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance GHC.Read.Read Amazonka.MemoryDb.Types.AZStatus.AZStatus
instance GHC.Show.Show Amazonka.MemoryDb.Types.AZStatus.AZStatus
module Amazonka.MemoryDb.Types.AuthenticationType
newtype AuthenticationType
AuthenticationType' :: Text -> AuthenticationType
[fromAuthenticationType] :: AuthenticationType -> Text
pattern AuthenticationType_No_password :: AuthenticationType
pattern AuthenticationType_Password :: AuthenticationType
instance Amazonka.Data.XML.ToXML Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Amazonka.Data.XML.FromXML Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Amazonka.Data.Headers.ToHeader Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Amazonka.Data.Log.ToLog Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Amazonka.Data.ByteString.ToByteString Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Amazonka.Data.Text.ToText Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Amazonka.Data.Text.FromText Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance GHC.Classes.Ord Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance GHC.Read.Read Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
instance GHC.Show.Show Amazonka.MemoryDb.Types.AuthenticationType.AuthenticationType
module Amazonka.MemoryDb.Types.Authentication
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate. Used in output responses.
--
-- See: newAuthentication smart constructor.
data Authentication
Authentication' :: Maybe Int -> Maybe AuthenticationType -> Authentication
-- | The number of passwords belonging to the user. The maximum is two.
[$sel:passwordCount:Authentication'] :: Authentication -> Maybe Int
-- | Indicates whether the user requires a password to authenticate.
[$sel:type':Authentication'] :: Authentication -> Maybe AuthenticationType
-- | Create a value of Authentication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:passwordCount:Authentication',
-- authentication_passwordCount - The number of passwords
-- belonging to the user. The maximum is two.
--
-- $sel:type':Authentication', authentication_type -
-- Indicates whether the user requires a password to authenticate.
newAuthentication :: Authentication
-- | The number of passwords belonging to the user. The maximum is two.
authentication_passwordCount :: Lens' Authentication (Maybe Int)
-- | Indicates whether the user requires a password to authenticate.
authentication_type :: Lens' Authentication (Maybe AuthenticationType)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Authentication.Authentication
instance GHC.Show.Show Amazonka.MemoryDb.Types.Authentication.Authentication
instance GHC.Read.Read Amazonka.MemoryDb.Types.Authentication.Authentication
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Authentication.Authentication
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.Authentication.Authentication
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Authentication.Authentication
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Authentication.Authentication
module Amazonka.MemoryDb.Types.AvailabilityZone
-- | Indicates if the cluster has a Multi-AZ configuration (multiaz) or not
-- (singleaz).
--
-- See: newAvailabilityZone smart constructor.
data AvailabilityZone
AvailabilityZone' :: Maybe Text -> AvailabilityZone
-- | The name of the Availability Zone.
[$sel:name:AvailabilityZone'] :: AvailabilityZone -> Maybe Text
-- | 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:
--
-- $sel:name:AvailabilityZone', availabilityZone_name - The
-- name of the Availability Zone.
newAvailabilityZone :: AvailabilityZone
-- | The name of the Availability Zone.
availabilityZone_name :: Lens' AvailabilityZone (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.AvailabilityZone.AvailabilityZone
instance GHC.Show.Show Amazonka.MemoryDb.Types.AvailabilityZone.AvailabilityZone
instance GHC.Read.Read Amazonka.MemoryDb.Types.AvailabilityZone.AvailabilityZone
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.AvailabilityZone.AvailabilityZone
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.AvailabilityZone.AvailabilityZone
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.AvailabilityZone.AvailabilityZone
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.AvailabilityZone.AvailabilityZone
module Amazonka.MemoryDb.Types.DataTieringStatus
newtype DataTieringStatus
DataTieringStatus' :: Text -> DataTieringStatus
[fromDataTieringStatus] :: DataTieringStatus -> Text
pattern DataTieringStatus_False :: DataTieringStatus
pattern DataTieringStatus_True :: DataTieringStatus
instance Amazonka.Data.XML.ToXML Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Amazonka.Data.XML.FromXML Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Amazonka.Data.Log.ToLog Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Amazonka.Data.Text.ToText Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Amazonka.Data.Text.FromText Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance GHC.Classes.Ord Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance GHC.Read.Read Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
instance GHC.Show.Show Amazonka.MemoryDb.Types.DataTieringStatus.DataTieringStatus
module Amazonka.MemoryDb.Types.Endpoint
-- | Represents the information required for client programs to connect to
-- the cluster and its nodes.
--
-- See: newEndpoint smart constructor.
data Endpoint
Endpoint' :: Maybe Text -> Maybe Int -> Endpoint
-- | The DNS hostname of the node.
[$sel:address:Endpoint'] :: Endpoint -> Maybe Text
-- | The port number that the engine is listening on.
[$sel:port:Endpoint'] :: Endpoint -> Maybe Int
-- | 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
-- hostname of the node.
--
-- $sel:port:Endpoint', endpoint_port - The port number
-- that the engine is listening on.
newEndpoint :: Endpoint
-- | The DNS hostname of the node.
endpoint_address :: Lens' Endpoint (Maybe Text)
-- | The port number that the engine is listening on.
endpoint_port :: Lens' Endpoint (Maybe Int)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Endpoint.Endpoint
instance GHC.Show.Show Amazonka.MemoryDb.Types.Endpoint.Endpoint
instance GHC.Read.Read Amazonka.MemoryDb.Types.Endpoint.Endpoint
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Endpoint.Endpoint
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.Endpoint.Endpoint
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Endpoint.Endpoint
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Endpoint.Endpoint
module Amazonka.MemoryDb.Types.EngineVersionInfo
-- | Provides details of the Redis engine version
--
-- See: newEngineVersionInfo smart constructor.
data EngineVersionInfo
EngineVersionInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> EngineVersionInfo
-- | The patched engine version
[$sel:enginePatchVersion:EngineVersionInfo'] :: EngineVersionInfo -> Maybe Text
-- | The engine version
[$sel:engineVersion:EngineVersionInfo'] :: EngineVersionInfo -> Maybe Text
-- | Specifies the name of the parameter group family to which the engine
-- default parameters apply.
[$sel:parameterGroupFamily:EngineVersionInfo'] :: EngineVersionInfo -> Maybe Text
-- | Create a value of EngineVersionInfo with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enginePatchVersion:EngineVersionInfo',
-- engineVersionInfo_enginePatchVersion - The patched engine
-- version
--
-- $sel:engineVersion:EngineVersionInfo',
-- engineVersionInfo_engineVersion - The engine version
--
-- $sel:parameterGroupFamily:EngineVersionInfo',
-- engineVersionInfo_parameterGroupFamily - Specifies the name of
-- the parameter group family to which the engine default parameters
-- apply.
newEngineVersionInfo :: EngineVersionInfo
-- | The patched engine version
engineVersionInfo_enginePatchVersion :: Lens' EngineVersionInfo (Maybe Text)
-- | The engine version
engineVersionInfo_engineVersion :: Lens' EngineVersionInfo (Maybe Text)
-- | Specifies the name of the parameter group family to which the engine
-- default parameters apply.
engineVersionInfo_parameterGroupFamily :: Lens' EngineVersionInfo (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.EngineVersionInfo.EngineVersionInfo
instance GHC.Show.Show Amazonka.MemoryDb.Types.EngineVersionInfo.EngineVersionInfo
instance GHC.Read.Read Amazonka.MemoryDb.Types.EngineVersionInfo.EngineVersionInfo
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.EngineVersionInfo.EngineVersionInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.EngineVersionInfo.EngineVersionInfo
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.EngineVersionInfo.EngineVersionInfo
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.EngineVersionInfo.EngineVersionInfo
module Amazonka.MemoryDb.Types.Filter
-- | Used to streamline results of a search based on the property being
-- filtered.
--
-- See: newFilter smart constructor.
data Filter
Filter' :: Text -> NonEmpty Text -> Filter
-- | The property being filtered. For example, UserName.
[$sel:name:Filter'] :: Filter -> Text
-- | The property values to filter on. For example, "user-123".
[$sel:values:Filter'] :: Filter -> NonEmpty Text
-- | Create a value of Filter with all optional fields omitted.
--
-- Use 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:Filter', filter_name - The property being
-- filtered. For example, UserName.
--
-- $sel:values:Filter', filter_values - The property values
-- to filter on. For example, "user-123".
newFilter :: Text -> NonEmpty Text -> Filter
-- | The property being filtered. For example, UserName.
filter_name :: Lens' Filter Text
-- | The property values to filter on. For example, "user-123".
filter_values :: Lens' Filter (NonEmpty Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Filter.Filter
instance GHC.Show.Show Amazonka.MemoryDb.Types.Filter.Filter
instance GHC.Read.Read Amazonka.MemoryDb.Types.Filter.Filter
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Filter.Filter
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Filter.Filter
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Filter.Filter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.Filter.Filter
module Amazonka.MemoryDb.Types.InputAuthenticationType
newtype InputAuthenticationType
InputAuthenticationType' :: Text -> InputAuthenticationType
[fromInputAuthenticationType] :: InputAuthenticationType -> Text
pattern InputAuthenticationType_Password :: InputAuthenticationType
instance Amazonka.Data.XML.ToXML Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Amazonka.Data.XML.FromXML Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Amazonka.Data.Headers.ToHeader Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Amazonka.Data.Log.ToLog Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Amazonka.Data.ByteString.ToByteString Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Amazonka.Data.Text.ToText Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Amazonka.Data.Text.FromText Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance GHC.Classes.Ord Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance GHC.Read.Read Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
instance GHC.Show.Show Amazonka.MemoryDb.Types.InputAuthenticationType.InputAuthenticationType
module Amazonka.MemoryDb.Types.AuthenticationMode
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate. Used in output responses.
--
-- See: newAuthenticationMode smart constructor.
data AuthenticationMode
AuthenticationMode' :: Maybe (NonEmpty Text) -> Maybe InputAuthenticationType -> AuthenticationMode
-- | The password(s) used for authentication
[$sel:passwords:AuthenticationMode'] :: AuthenticationMode -> Maybe (NonEmpty Text)
-- | Indicates whether the user requires a password to authenticate. All
-- newly-created users require a password.
[$sel:type':AuthenticationMode'] :: AuthenticationMode -> Maybe InputAuthenticationType
-- | Create a value of AuthenticationMode with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:passwords:AuthenticationMode',
-- authenticationMode_passwords - The password(s) used for
-- authentication
--
-- $sel:type':AuthenticationMode', authenticationMode_type
-- - Indicates whether the user requires a password to authenticate. All
-- newly-created users require a password.
newAuthenticationMode :: AuthenticationMode
-- | The password(s) used for authentication
authenticationMode_passwords :: Lens' AuthenticationMode (Maybe (NonEmpty Text))
-- | Indicates whether the user requires a password to authenticate. All
-- newly-created users require a password.
authenticationMode_type :: Lens' AuthenticationMode (Maybe InputAuthenticationType)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.AuthenticationMode.AuthenticationMode
instance GHC.Show.Show Amazonka.MemoryDb.Types.AuthenticationMode.AuthenticationMode
instance GHC.Read.Read Amazonka.MemoryDb.Types.AuthenticationMode.AuthenticationMode
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.AuthenticationMode.AuthenticationMode
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.AuthenticationMode.AuthenticationMode
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.AuthenticationMode.AuthenticationMode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.AuthenticationMode.AuthenticationMode
module Amazonka.MemoryDb.Types.Node
-- | Represents an individual node within a cluster. Each node runs its own
-- instance of the cluster's protocol-compliant caching software.
--
-- See: newNode smart constructor.
data Node
Node' :: Maybe Text -> Maybe POSIX -> Maybe Endpoint -> Maybe Text -> Maybe Text -> Node
-- | The Availability Zone in which the node resides
[$sel:availabilityZone:Node'] :: Node -> Maybe Text
-- | The date and time when the node was created.
[$sel:createTime:Node'] :: Node -> Maybe POSIX
-- | The hostname for connecting to this node.
[$sel:endpoint:Node'] :: Node -> Maybe Endpoint
-- | The node identifier. A node name is a numeric identifier (0001, 0002,
-- etc.). The combination of cluster name, shard name and node name
-- uniquely identifies every node used in a customer's Amazon account.
[$sel:name:Node'] :: Node -> Maybe Text
-- | The status of the service update on the node
[$sel:status:Node'] :: Node -> Maybe Text
-- | Create a value of Node with all optional fields omitted.
--
-- Use 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:Node', node_availabilityZone - The
-- Availability Zone in which the node resides
--
-- $sel:createTime:Node', node_createTime - The date and
-- time when the node was created.
--
-- $sel:endpoint:Node', node_endpoint - The hostname for
-- connecting to this node.
--
-- $sel:name:Node', node_name - The node identifier. A node
-- name is a numeric identifier (0001, 0002, etc.). The combination of
-- cluster name, shard name and node name uniquely identifies every node
-- used in a customer's Amazon account.
--
-- $sel:status:Node', node_status - The status of the
-- service update on the node
newNode :: Node
-- | The Availability Zone in which the node resides
node_availabilityZone :: Lens' Node (Maybe Text)
-- | The date and time when the node was created.
node_createTime :: Lens' Node (Maybe UTCTime)
-- | The hostname for connecting to this node.
node_endpoint :: Lens' Node (Maybe Endpoint)
-- | The node identifier. A node name is a numeric identifier (0001, 0002,
-- etc.). The combination of cluster name, shard name and node name
-- uniquely identifies every node used in a customer's Amazon account.
node_name :: Lens' Node (Maybe Text)
-- | The status of the service update on the node
node_status :: Lens' Node (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Node.Node
instance GHC.Show.Show Amazonka.MemoryDb.Types.Node.Node
instance GHC.Read.Read Amazonka.MemoryDb.Types.Node.Node
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Node.Node
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.Node.Node
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Node.Node
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Node.Node
module Amazonka.MemoryDb.Types.Parameter
-- | Describes an individual setting that controls some aspect of MemoryDB
-- behavior.
--
-- See: newParameter smart constructor.
data Parameter
Parameter' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Parameter
-- | The valid range of values for the parameter.
[$sel:allowedValues:Parameter'] :: Parameter -> Maybe Text
-- | The parameter's data type
[$sel:dataType:Parameter'] :: Parameter -> Maybe Text
-- | A description of the parameter
[$sel:description:Parameter'] :: Parameter -> Maybe Text
-- | The earliest engine version to which the parameter can apply.
[$sel:minimumEngineVersion:Parameter'] :: Parameter -> Maybe Text
-- | The name of the parameter
[$sel:name:Parameter'] :: Parameter -> Maybe Text
-- | The value of the parameter
[$sel:value: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:dataType:Parameter', parameter_dataType - The
-- parameter's data type
--
-- $sel:description:Parameter', parameter_description - A
-- description of the parameter
--
-- $sel:minimumEngineVersion:Parameter',
-- parameter_minimumEngineVersion - The earliest engine version to
-- which the parameter can apply.
--
-- $sel:name:Parameter', parameter_name - The name of the
-- parameter
--
-- $sel:value:Parameter', parameter_value - The value of
-- the parameter
newParameter :: Parameter
-- | The valid range of values for the parameter.
parameter_allowedValues :: Lens' Parameter (Maybe Text)
-- | The parameter's data type
parameter_dataType :: Lens' Parameter (Maybe Text)
-- | A description of the parameter
parameter_description :: Lens' Parameter (Maybe Text)
-- | The earliest engine version to which the parameter can apply.
parameter_minimumEngineVersion :: Lens' Parameter (Maybe Text)
-- | The name of the parameter
parameter_name :: Lens' Parameter (Maybe Text)
-- | The value of the parameter
parameter_value :: Lens' Parameter (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Parameter.Parameter
instance GHC.Show.Show Amazonka.MemoryDb.Types.Parameter.Parameter
instance GHC.Read.Read Amazonka.MemoryDb.Types.Parameter.Parameter
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Parameter.Parameter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.Parameter.Parameter
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Parameter.Parameter
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Parameter.Parameter
module Amazonka.MemoryDb.Types.ParameterGroup
-- | Represents the output of a CreateParameterGroup operation. A parameter
-- group represents a combination of specific values for the parameters
-- that are passed to the engine software during startup.
--
-- See: newParameterGroup smart constructor.
data ParameterGroup
ParameterGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ParameterGroup
-- | The Amazon Resource Name (ARN) of the parameter group
[$sel:arn:ParameterGroup'] :: ParameterGroup -> Maybe Text
-- | A description of the parameter group
[$sel:description:ParameterGroup'] :: ParameterGroup -> Maybe Text
-- | The name of the parameter group family that this parameter group is
-- compatible with.
[$sel:family:ParameterGroup'] :: ParameterGroup -> Maybe Text
-- | The name of the parameter group
[$sel:name:ParameterGroup'] :: ParameterGroup -> Maybe Text
-- | Create a value of ParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:ParameterGroup', parameterGroup_arn - The
-- Amazon Resource Name (ARN) of the parameter group
--
-- $sel:description:ParameterGroup',
-- parameterGroup_description - A description of the parameter
-- group
--
-- $sel:family:ParameterGroup', parameterGroup_family - The
-- name of the parameter group family that this parameter group is
-- compatible with.
--
-- $sel:name:ParameterGroup', parameterGroup_name - The
-- name of the parameter group
newParameterGroup :: ParameterGroup
-- | The Amazon Resource Name (ARN) of the parameter group
parameterGroup_arn :: Lens' ParameterGroup (Maybe Text)
-- | A description of the parameter group
parameterGroup_description :: Lens' ParameterGroup (Maybe Text)
-- | The name of the parameter group family that this parameter group is
-- compatible with.
parameterGroup_family :: Lens' ParameterGroup (Maybe Text)
-- | The name of the parameter group
parameterGroup_name :: Lens' ParameterGroup (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ParameterGroup.ParameterGroup
instance GHC.Show.Show Amazonka.MemoryDb.Types.ParameterGroup.ParameterGroup
instance GHC.Read.Read Amazonka.MemoryDb.Types.ParameterGroup.ParameterGroup
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ParameterGroup.ParameterGroup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ParameterGroup.ParameterGroup
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ParameterGroup.ParameterGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ParameterGroup.ParameterGroup
module Amazonka.MemoryDb.Types.ParameterNameValue
-- | Describes a name-value pair that is used to update the value of a
-- parameter.
--
-- See: newParameterNameValue smart constructor.
data ParameterNameValue
ParameterNameValue' :: Maybe Text -> Maybe Text -> ParameterNameValue
-- | The name of the parameter
[$sel:parameterName:ParameterNameValue'] :: ParameterNameValue -> Maybe Text
-- | The value of the parameter
[$sel:parameterValue:ParameterNameValue'] :: ParameterNameValue -> Maybe Text
-- | Create a value of ParameterNameValue with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterName:ParameterNameValue',
-- parameterNameValue_parameterName - The name of the parameter
--
-- $sel:parameterValue:ParameterNameValue',
-- parameterNameValue_parameterValue - The value of the parameter
newParameterNameValue :: ParameterNameValue
-- | The name of the parameter
parameterNameValue_parameterName :: Lens' ParameterNameValue (Maybe Text)
-- | The value of the parameter
parameterNameValue_parameterValue :: Lens' ParameterNameValue (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ParameterNameValue.ParameterNameValue
instance GHC.Show.Show Amazonka.MemoryDb.Types.ParameterNameValue.ParameterNameValue
instance GHC.Read.Read Amazonka.MemoryDb.Types.ParameterNameValue.ParameterNameValue
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ParameterNameValue.ParameterNameValue
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ParameterNameValue.ParameterNameValue
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ParameterNameValue.ParameterNameValue
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.ParameterNameValue.ParameterNameValue
module Amazonka.MemoryDb.Types.RecurringCharge
-- | The recurring charge to run this reserved node.
--
-- See: newRecurringCharge smart constructor.
data RecurringCharge
RecurringCharge' :: Maybe Double -> Maybe Text -> RecurringCharge
-- | The amount of the recurring charge to run this reserved node.
[$sel:recurringChargeAmount:RecurringCharge'] :: RecurringCharge -> Maybe Double
-- | The frequency of the recurring price charged to run this reserved
-- node.
[$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 of the
-- recurring charge to run this reserved node.
--
-- $sel:recurringChargeFrequency:RecurringCharge',
-- recurringCharge_recurringChargeFrequency - The frequency of the
-- recurring price charged to run this reserved node.
newRecurringCharge :: RecurringCharge
-- | The amount of the recurring charge to run this reserved node.
recurringCharge_recurringChargeAmount :: Lens' RecurringCharge (Maybe Double)
-- | The frequency of the recurring price charged to run this reserved
-- node.
recurringCharge_recurringChargeFrequency :: Lens' RecurringCharge (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.RecurringCharge.RecurringCharge
instance GHC.Show.Show Amazonka.MemoryDb.Types.RecurringCharge.RecurringCharge
instance GHC.Read.Read Amazonka.MemoryDb.Types.RecurringCharge.RecurringCharge
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.RecurringCharge.RecurringCharge
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.RecurringCharge.RecurringCharge
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.RecurringCharge.RecurringCharge
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.RecurringCharge.RecurringCharge
module Amazonka.MemoryDb.Types.ReplicaConfigurationRequest
-- | A request to configure the number of replicas in a shard
--
-- See: newReplicaConfigurationRequest smart constructor.
data ReplicaConfigurationRequest
ReplicaConfigurationRequest' :: Maybe Int -> ReplicaConfigurationRequest
-- | The number of replicas to scale up or down to
[$sel:replicaCount:ReplicaConfigurationRequest'] :: ReplicaConfigurationRequest -> Maybe Int
-- | Create a value of ReplicaConfigurationRequest with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:replicaCount:ReplicaConfigurationRequest',
-- replicaConfigurationRequest_replicaCount - The number of
-- replicas to scale up or down to
newReplicaConfigurationRequest :: ReplicaConfigurationRequest
-- | The number of replicas to scale up or down to
replicaConfigurationRequest_replicaCount :: Lens' ReplicaConfigurationRequest (Maybe Int)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ReplicaConfigurationRequest.ReplicaConfigurationRequest
instance GHC.Show.Show Amazonka.MemoryDb.Types.ReplicaConfigurationRequest.ReplicaConfigurationRequest
instance GHC.Read.Read Amazonka.MemoryDb.Types.ReplicaConfigurationRequest.ReplicaConfigurationRequest
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ReplicaConfigurationRequest.ReplicaConfigurationRequest
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ReplicaConfigurationRequest.ReplicaConfigurationRequest
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ReplicaConfigurationRequest.ReplicaConfigurationRequest
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.ReplicaConfigurationRequest.ReplicaConfigurationRequest
module Amazonka.MemoryDb.Types.ReservedNode
-- | Represents the output of a PurchaseReservedNodesOffering
-- operation.
--
-- 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 POSIX -> Maybe Text -> ReservedNode
-- | The Amazon Resource Name (ARN) of the reserved node.
[$sel:arn:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The duration of the reservation in seconds.
[$sel:duration:ReservedNode'] :: ReservedNode -> Maybe Int
-- | The fixed price charged for this reserved node.
[$sel:fixedPrice:ReservedNode'] :: ReservedNode -> Maybe Double
-- | The number of nodes that have been reserved.
[$sel:nodeCount:ReservedNode'] :: ReservedNode -> Maybe Int
-- | The node type for the reserved nodes.
[$sel:nodeType:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The offering type of this reserved node.
[$sel:offeringType:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The recurring price charged to run this reserved node.
[$sel:recurringCharges:ReservedNode'] :: ReservedNode -> Maybe [RecurringCharge]
-- | A customer-specified identifier to track this reservation.
[$sel:reservationId:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The ID of the reserved node offering to purchase.
[$sel:reservedNodesOfferingId:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The time the reservation started.
[$sel:startTime:ReservedNode'] :: ReservedNode -> Maybe POSIX
-- | The state of the reserved node.
[$sel:state:ReservedNode'] :: ReservedNode -> Maybe Text
-- | 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:arn:ReservedNode', reservedNode_arn - The Amazon
-- Resource Name (ARN) of the reserved node.
--
-- $sel:duration:ReservedNode', reservedNode_duration - The
-- duration of the reservation in seconds.
--
-- $sel:fixedPrice:ReservedNode', reservedNode_fixedPrice -
-- The fixed price charged for this reserved node.
--
-- $sel:nodeCount:ReservedNode', reservedNode_nodeCount -
-- The number of nodes that have been reserved.
--
-- $sel:nodeType:ReservedNode', reservedNode_nodeType - The
-- node type for the reserved nodes.
--
-- $sel:offeringType:ReservedNode',
-- reservedNode_offeringType - The offering type of this reserved
-- node.
--
-- $sel:recurringCharges:ReservedNode',
-- reservedNode_recurringCharges - The recurring price charged to
-- run this reserved node.
--
-- $sel:reservationId:ReservedNode',
-- reservedNode_reservationId - A customer-specified identifier to
-- track this reservation.
--
-- $sel:reservedNodesOfferingId:ReservedNode',
-- reservedNode_reservedNodesOfferingId - The ID of the reserved
-- node offering to purchase.
--
-- $sel:startTime:ReservedNode', reservedNode_startTime -
-- The time the reservation started.
--
-- $sel:state:ReservedNode', reservedNode_state - The state
-- of the reserved node.
newReservedNode :: ReservedNode
-- | The Amazon Resource Name (ARN) of the reserved node.
reservedNode_arn :: Lens' ReservedNode (Maybe Text)
-- | The duration of the reservation in seconds.
reservedNode_duration :: Lens' ReservedNode (Maybe Int)
-- | The fixed price charged for this reserved node.
reservedNode_fixedPrice :: Lens' ReservedNode (Maybe Double)
-- | The number of nodes that have been reserved.
reservedNode_nodeCount :: Lens' ReservedNode (Maybe Int)
-- | The node type for the reserved nodes.
reservedNode_nodeType :: Lens' ReservedNode (Maybe Text)
-- | The offering type of this reserved node.
reservedNode_offeringType :: Lens' ReservedNode (Maybe Text)
-- | The recurring price charged to run this reserved node.
reservedNode_recurringCharges :: Lens' ReservedNode (Maybe [RecurringCharge])
-- | A customer-specified identifier to track this reservation.
reservedNode_reservationId :: Lens' ReservedNode (Maybe Text)
-- | The ID of the reserved node offering to purchase.
reservedNode_reservedNodesOfferingId :: Lens' ReservedNode (Maybe Text)
-- | The time the reservation started.
reservedNode_startTime :: Lens' ReservedNode (Maybe UTCTime)
-- | The state of the reserved node.
reservedNode_state :: Lens' ReservedNode (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ReservedNode.ReservedNode
instance GHC.Show.Show Amazonka.MemoryDb.Types.ReservedNode.ReservedNode
instance GHC.Read.Read Amazonka.MemoryDb.Types.ReservedNode.ReservedNode
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ReservedNode.ReservedNode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ReservedNode.ReservedNode
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ReservedNode.ReservedNode
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ReservedNode.ReservedNode
module Amazonka.MemoryDb.Types.ReservedNodesOffering
-- | The offering type of this node.
--
-- See: newReservedNodesOffering smart constructor.
data ReservedNodesOffering
ReservedNodesOffering' :: Maybe Int -> Maybe Double -> Maybe Text -> Maybe Text -> Maybe [RecurringCharge] -> Maybe Text -> ReservedNodesOffering
-- | The duration of the reservation in seconds.
[$sel:duration:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe Int
-- | The fixed price charged for this reserved node.
[$sel:fixedPrice:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe Double
-- | The node type for the reserved nodes. For more information, see
-- Supported node types.
[$sel:nodeType:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe Text
-- | The offering type of this reserved node.
[$sel:offeringType:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe Text
-- | The recurring price charged to run this reserved node.
[$sel:recurringCharges:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe [RecurringCharge]
-- | The offering identifier.
[$sel:reservedNodesOfferingId:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe Text
-- | Create a value of ReservedNodesOffering with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:duration:ReservedNodesOffering',
-- reservedNodesOffering_duration - The duration of the
-- reservation in seconds.
--
-- $sel:fixedPrice:ReservedNodesOffering',
-- reservedNodesOffering_fixedPrice - The fixed price charged for
-- this reserved node.
--
-- $sel:nodeType:ReservedNodesOffering',
-- reservedNodesOffering_nodeType - The node type for the reserved
-- nodes. For more information, see Supported node types.
--
-- $sel:offeringType:ReservedNodesOffering',
-- reservedNodesOffering_offeringType - The offering type of this
-- reserved node.
--
-- $sel:recurringCharges:ReservedNodesOffering',
-- reservedNodesOffering_recurringCharges - The recurring price
-- charged to run this reserved node.
--
-- $sel:reservedNodesOfferingId:ReservedNodesOffering',
-- reservedNodesOffering_reservedNodesOfferingId - The offering
-- identifier.
newReservedNodesOffering :: ReservedNodesOffering
-- | The duration of the reservation in seconds.
reservedNodesOffering_duration :: Lens' ReservedNodesOffering (Maybe Int)
-- | The fixed price charged for this reserved node.
reservedNodesOffering_fixedPrice :: Lens' ReservedNodesOffering (Maybe Double)
-- | The node type for the reserved nodes. For more information, see
-- Supported node types.
reservedNodesOffering_nodeType :: Lens' ReservedNodesOffering (Maybe Text)
-- | The offering type of this reserved node.
reservedNodesOffering_offeringType :: Lens' ReservedNodesOffering (Maybe Text)
-- | The recurring price charged to run this reserved node.
reservedNodesOffering_recurringCharges :: Lens' ReservedNodesOffering (Maybe [RecurringCharge])
-- | The offering identifier.
reservedNodesOffering_reservedNodesOfferingId :: Lens' ReservedNodesOffering (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ReservedNodesOffering.ReservedNodesOffering
instance GHC.Show.Show Amazonka.MemoryDb.Types.ReservedNodesOffering.ReservedNodesOffering
instance GHC.Read.Read Amazonka.MemoryDb.Types.ReservedNodesOffering.ReservedNodesOffering
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ReservedNodesOffering.ReservedNodesOffering
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ReservedNodesOffering.ReservedNodesOffering
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ReservedNodesOffering.ReservedNodesOffering
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ReservedNodesOffering.ReservedNodesOffering
module Amazonka.MemoryDb.Types.SecurityGroupMembership
-- | Represents a single security group and its status.
--
-- See: newSecurityGroupMembership smart constructor.
data SecurityGroupMembership
SecurityGroupMembership' :: Maybe Text -> Maybe Text -> SecurityGroupMembership
-- | The identifier of the security group.
[$sel:securityGroupId:SecurityGroupMembership'] :: SecurityGroupMembership -> Maybe Text
-- | The status of the security group membership. The status changes
-- whenever a security group is modified, or when the security groups
-- assigned to a cluster are modified.
[$sel:status:SecurityGroupMembership'] :: SecurityGroupMembership -> Maybe Text
-- | Create a value of SecurityGroupMembership with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:securityGroupId:SecurityGroupMembership',
-- securityGroupMembership_securityGroupId - The identifier of the
-- security group.
--
-- $sel:status:SecurityGroupMembership',
-- securityGroupMembership_status - The status of the security
-- group membership. The status changes whenever a security group is
-- modified, or when the security groups assigned to a cluster are
-- modified.
newSecurityGroupMembership :: SecurityGroupMembership
-- | The identifier of the security group.
securityGroupMembership_securityGroupId :: Lens' SecurityGroupMembership (Maybe Text)
-- | The status of the security group membership. The status changes
-- whenever a security group is modified, or when the security groups
-- assigned to a cluster are modified.
securityGroupMembership_status :: Lens' SecurityGroupMembership (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.SecurityGroupMembership.SecurityGroupMembership
instance GHC.Show.Show Amazonka.MemoryDb.Types.SecurityGroupMembership.SecurityGroupMembership
instance GHC.Read.Read Amazonka.MemoryDb.Types.SecurityGroupMembership.SecurityGroupMembership
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.SecurityGroupMembership.SecurityGroupMembership
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.SecurityGroupMembership.SecurityGroupMembership
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.SecurityGroupMembership.SecurityGroupMembership
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.SecurityGroupMembership.SecurityGroupMembership
module Amazonka.MemoryDb.Types.ServiceUpdateRequest
-- | A request to apply a service update
--
-- See: newServiceUpdateRequest smart constructor.
data ServiceUpdateRequest
ServiceUpdateRequest' :: Maybe Text -> ServiceUpdateRequest
-- | The unique ID of the service update
[$sel:serviceUpdateNameToApply:ServiceUpdateRequest'] :: ServiceUpdateRequest -> Maybe Text
-- | Create a value of ServiceUpdateRequest with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceUpdateNameToApply:ServiceUpdateRequest',
-- serviceUpdateRequest_serviceUpdateNameToApply - The unique ID
-- of the service update
newServiceUpdateRequest :: ServiceUpdateRequest
-- | The unique ID of the service update
serviceUpdateRequest_serviceUpdateNameToApply :: Lens' ServiceUpdateRequest (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ServiceUpdateRequest.ServiceUpdateRequest
instance GHC.Show.Show Amazonka.MemoryDb.Types.ServiceUpdateRequest.ServiceUpdateRequest
instance GHC.Read.Read Amazonka.MemoryDb.Types.ServiceUpdateRequest.ServiceUpdateRequest
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ServiceUpdateRequest.ServiceUpdateRequest
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ServiceUpdateRequest.ServiceUpdateRequest
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ServiceUpdateRequest.ServiceUpdateRequest
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.ServiceUpdateRequest.ServiceUpdateRequest
module Amazonka.MemoryDb.Types.ServiceUpdateStatus
newtype ServiceUpdateStatus
ServiceUpdateStatus' :: Text -> ServiceUpdateStatus
[fromServiceUpdateStatus] :: ServiceUpdateStatus -> Text
pattern ServiceUpdateStatus_Available :: ServiceUpdateStatus
pattern ServiceUpdateStatus_Complete :: ServiceUpdateStatus
pattern ServiceUpdateStatus_In_progress :: ServiceUpdateStatus
pattern ServiceUpdateStatus_Scheduled :: ServiceUpdateStatus
instance Amazonka.Data.XML.ToXML Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Amazonka.Data.XML.FromXML Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Amazonka.Data.Log.ToLog Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Amazonka.Data.Text.ToText Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Amazonka.Data.Text.FromText Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance GHC.Classes.Ord Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance GHC.Read.Read Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
instance GHC.Show.Show Amazonka.MemoryDb.Types.ServiceUpdateStatus.ServiceUpdateStatus
module Amazonka.MemoryDb.Types.PendingModifiedServiceUpdate
-- | Update action that has yet to be processed for the corresponding
-- apply/stop request
--
-- See: newPendingModifiedServiceUpdate smart constructor.
data PendingModifiedServiceUpdate
PendingModifiedServiceUpdate' :: Maybe Text -> Maybe ServiceUpdateStatus -> PendingModifiedServiceUpdate
-- | The unique ID of the service update
[$sel:serviceUpdateName:PendingModifiedServiceUpdate'] :: PendingModifiedServiceUpdate -> Maybe Text
-- | The status of the service update
[$sel:status:PendingModifiedServiceUpdate'] :: PendingModifiedServiceUpdate -> Maybe ServiceUpdateStatus
-- | Create a value of PendingModifiedServiceUpdate with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceUpdateName:PendingModifiedServiceUpdate',
-- pendingModifiedServiceUpdate_serviceUpdateName - The unique ID
-- of the service update
--
-- $sel:status:PendingModifiedServiceUpdate',
-- pendingModifiedServiceUpdate_status - The status of the service
-- update
newPendingModifiedServiceUpdate :: PendingModifiedServiceUpdate
-- | The unique ID of the service update
pendingModifiedServiceUpdate_serviceUpdateName :: Lens' PendingModifiedServiceUpdate (Maybe Text)
-- | The status of the service update
pendingModifiedServiceUpdate_status :: Lens' PendingModifiedServiceUpdate (Maybe ServiceUpdateStatus)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.PendingModifiedServiceUpdate.PendingModifiedServiceUpdate
instance GHC.Show.Show Amazonka.MemoryDb.Types.PendingModifiedServiceUpdate.PendingModifiedServiceUpdate
instance GHC.Read.Read Amazonka.MemoryDb.Types.PendingModifiedServiceUpdate.PendingModifiedServiceUpdate
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.PendingModifiedServiceUpdate.PendingModifiedServiceUpdate
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.PendingModifiedServiceUpdate.PendingModifiedServiceUpdate
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.PendingModifiedServiceUpdate.PendingModifiedServiceUpdate
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.PendingModifiedServiceUpdate.PendingModifiedServiceUpdate
module Amazonka.MemoryDb.Types.ServiceUpdateType
newtype ServiceUpdateType
ServiceUpdateType' :: Text -> ServiceUpdateType
[fromServiceUpdateType] :: ServiceUpdateType -> Text
pattern ServiceUpdateType_Security_update :: ServiceUpdateType
instance Amazonka.Data.XML.ToXML Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Amazonka.Data.XML.FromXML Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Amazonka.Data.Headers.ToHeader Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Amazonka.Data.Log.ToLog Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Amazonka.Data.ByteString.ToByteString Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Amazonka.Data.Text.ToText Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Amazonka.Data.Text.FromText Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance GHC.Classes.Ord Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance GHC.Read.Read Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
instance GHC.Show.Show Amazonka.MemoryDb.Types.ServiceUpdateType.ServiceUpdateType
module Amazonka.MemoryDb.Types.ServiceUpdate
-- | An update that you can apply to your MemoryDB clusters.
--
-- See: newServiceUpdate smart constructor.
data ServiceUpdate
ServiceUpdate' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe ServiceUpdateStatus -> Maybe ServiceUpdateType -> ServiceUpdate
-- | The date at which the service update will be automatically applied
[$sel:autoUpdateStartDate:ServiceUpdate'] :: ServiceUpdate -> Maybe POSIX
-- | The name of the cluster to which the service update applies
[$sel:clusterName:ServiceUpdate'] :: ServiceUpdate -> Maybe Text
-- | Provides details of the service update
[$sel:description:ServiceUpdate'] :: ServiceUpdate -> Maybe Text
-- | A list of nodes updated by the service update
[$sel:nodesUpdated:ServiceUpdate'] :: ServiceUpdate -> Maybe Text
-- | The date when the service update is initially available
[$sel:releaseDate:ServiceUpdate'] :: ServiceUpdate -> Maybe POSIX
-- | The unique ID of the service update
[$sel:serviceUpdateName:ServiceUpdate'] :: ServiceUpdate -> Maybe Text
-- | The status of the service update
[$sel:status:ServiceUpdate'] :: ServiceUpdate -> Maybe ServiceUpdateStatus
-- | Reflects the nature of the service update
[$sel:type':ServiceUpdate'] :: ServiceUpdate -> Maybe ServiceUpdateType
-- | Create a value of ServiceUpdate with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:autoUpdateStartDate:ServiceUpdate',
-- serviceUpdate_autoUpdateStartDate - The date at which the
-- service update will be automatically applied
--
-- $sel:clusterName:ServiceUpdate',
-- serviceUpdate_clusterName - The name of the cluster to which
-- the service update applies
--
-- $sel:description:ServiceUpdate',
-- serviceUpdate_description - Provides details of the service
-- update
--
-- $sel:nodesUpdated:ServiceUpdate',
-- serviceUpdate_nodesUpdated - A list of nodes updated by the
-- service update
--
-- $sel:releaseDate:ServiceUpdate',
-- serviceUpdate_releaseDate - The date when the service update is
-- initially available
--
-- $sel:serviceUpdateName:ServiceUpdate',
-- serviceUpdate_serviceUpdateName - The unique ID of the service
-- update
--
-- $sel:status:ServiceUpdate', serviceUpdate_status - The
-- status of the service update
--
-- $sel:type':ServiceUpdate', serviceUpdate_type - Reflects
-- the nature of the service update
newServiceUpdate :: ServiceUpdate
-- | The date at which the service update will be automatically applied
serviceUpdate_autoUpdateStartDate :: Lens' ServiceUpdate (Maybe UTCTime)
-- | The name of the cluster to which the service update applies
serviceUpdate_clusterName :: Lens' ServiceUpdate (Maybe Text)
-- | Provides details of the service update
serviceUpdate_description :: Lens' ServiceUpdate (Maybe Text)
-- | A list of nodes updated by the service update
serviceUpdate_nodesUpdated :: Lens' ServiceUpdate (Maybe Text)
-- | The date when the service update is initially available
serviceUpdate_releaseDate :: Lens' ServiceUpdate (Maybe UTCTime)
-- | The unique ID of the service update
serviceUpdate_serviceUpdateName :: Lens' ServiceUpdate (Maybe Text)
-- | The status of the service update
serviceUpdate_status :: Lens' ServiceUpdate (Maybe ServiceUpdateStatus)
-- | Reflects the nature of the service update
serviceUpdate_type :: Lens' ServiceUpdate (Maybe ServiceUpdateType)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ServiceUpdate.ServiceUpdate
instance GHC.Show.Show Amazonka.MemoryDb.Types.ServiceUpdate.ServiceUpdate
instance GHC.Read.Read Amazonka.MemoryDb.Types.ServiceUpdate.ServiceUpdate
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ServiceUpdate.ServiceUpdate
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ServiceUpdate.ServiceUpdate
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ServiceUpdate.ServiceUpdate
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ServiceUpdate.ServiceUpdate
module Amazonka.MemoryDb.Types.Shard
-- | Represents a collection of nodes in a cluster. One node in the node
-- group is the read/write primary node. All the other nodes are
-- read-only Replica nodes.
--
-- See: newShard smart constructor.
data Shard
Shard' :: Maybe Text -> Maybe [Node] -> Maybe Int -> Maybe Text -> Maybe Text -> Shard
-- | The name of the shard
[$sel:name:Shard'] :: Shard -> Maybe Text
-- | A list containing information about individual nodes within the shard
[$sel:nodes:Shard'] :: Shard -> Maybe [Node]
-- | The number of nodes in the shard
[$sel:numberOfNodes:Shard'] :: Shard -> Maybe Int
-- | The keyspace for this shard.
[$sel:slots:Shard'] :: Shard -> Maybe Text
-- | The current state of this replication group - creating, available,
-- modifying, deleting.
[$sel:status:Shard'] :: Shard -> Maybe Text
-- | Create a value of Shard with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- Shard, shard_name - The name of the shard
--
-- $sel:nodes:Shard', shard_nodes - A list containing
-- information about individual nodes within the shard
--
-- $sel:numberOfNodes:Shard', shard_numberOfNodes - The
-- number of nodes in the shard
--
-- $sel:slots:Shard', shard_slots - The keyspace for this
-- shard.
--
-- Shard, shard_status - The current state of this
-- replication group - creating, available, modifying, deleting.
newShard :: Shard
-- | The name of the shard
shard_name :: Lens' Shard (Maybe Text)
-- | A list containing information about individual nodes within the shard
shard_nodes :: Lens' Shard (Maybe [Node])
-- | The number of nodes in the shard
shard_numberOfNodes :: Lens' Shard (Maybe Int)
-- | The keyspace for this shard.
shard_slots :: Lens' Shard (Maybe Text)
-- | The current state of this replication group - creating, available,
-- modifying, deleting.
shard_status :: Lens' Shard (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Shard.Shard
instance GHC.Show.Show Amazonka.MemoryDb.Types.Shard.Shard
instance GHC.Read.Read Amazonka.MemoryDb.Types.Shard.Shard
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Shard.Shard
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.Shard.Shard
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Shard.Shard
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Shard.Shard
module Amazonka.MemoryDb.Types.ShardConfiguration
-- | Shard configuration options. Each shard configuration has the
-- following: Slots and ReplicaCount.
--
-- See: newShardConfiguration smart constructor.
data ShardConfiguration
ShardConfiguration' :: Maybe Int -> Maybe Text -> ShardConfiguration
-- | The number of read replica nodes in this shard.
[$sel:replicaCount:ShardConfiguration'] :: ShardConfiguration -> Maybe Int
-- | A string that specifies the keyspace for a particular node group.
-- Keyspaces range from 0 to 16,383. The string is in the format
-- startkey-endkey.
[$sel:slots:ShardConfiguration'] :: ShardConfiguration -> Maybe Text
-- | Create a value of ShardConfiguration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:replicaCount:ShardConfiguration',
-- shardConfiguration_replicaCount - The number of read replica
-- nodes in this shard.
--
-- $sel:slots:ShardConfiguration', shardConfiguration_slots
-- - A string that specifies the keyspace for a particular node group.
-- Keyspaces range from 0 to 16,383. The string is in the format
-- startkey-endkey.
newShardConfiguration :: ShardConfiguration
-- | The number of read replica nodes in this shard.
shardConfiguration_replicaCount :: Lens' ShardConfiguration (Maybe Int)
-- | A string that specifies the keyspace for a particular node group.
-- Keyspaces range from 0 to 16,383. The string is in the format
-- startkey-endkey.
shardConfiguration_slots :: Lens' ShardConfiguration (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ShardConfiguration.ShardConfiguration
instance GHC.Show.Show Amazonka.MemoryDb.Types.ShardConfiguration.ShardConfiguration
instance GHC.Read.Read Amazonka.MemoryDb.Types.ShardConfiguration.ShardConfiguration
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ShardConfiguration.ShardConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ShardConfiguration.ShardConfiguration
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ShardConfiguration.ShardConfiguration
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ShardConfiguration.ShardConfiguration
module Amazonka.MemoryDb.Types.ShardConfigurationRequest
-- | A request to configure the sharding properties of a cluster
--
-- See: newShardConfigurationRequest smart constructor.
data ShardConfigurationRequest
ShardConfigurationRequest' :: Maybe Int -> ShardConfigurationRequest
-- | The number of shards in the cluster
[$sel:shardCount:ShardConfigurationRequest'] :: ShardConfigurationRequest -> Maybe Int
-- | Create a value of ShardConfigurationRequest with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:shardCount:ShardConfigurationRequest',
-- shardConfigurationRequest_shardCount - The number of shards in
-- the cluster
newShardConfigurationRequest :: ShardConfigurationRequest
-- | The number of shards in the cluster
shardConfigurationRequest_shardCount :: Lens' ShardConfigurationRequest (Maybe Int)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ShardConfigurationRequest.ShardConfigurationRequest
instance GHC.Show.Show Amazonka.MemoryDb.Types.ShardConfigurationRequest.ShardConfigurationRequest
instance GHC.Read.Read Amazonka.MemoryDb.Types.ShardConfigurationRequest.ShardConfigurationRequest
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ShardConfigurationRequest.ShardConfigurationRequest
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ShardConfigurationRequest.ShardConfigurationRequest
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ShardConfigurationRequest.ShardConfigurationRequest
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.ShardConfigurationRequest.ShardConfigurationRequest
module Amazonka.MemoryDb.Types.ShardDetail
-- | Provides details of a shard in a snapshot
--
-- See: newShardDetail smart constructor.
data ShardDetail
ShardDetail' :: Maybe ShardConfiguration -> Maybe Text -> Maybe Text -> Maybe POSIX -> ShardDetail
-- | The configuration details of the shard
[$sel:configuration:ShardDetail'] :: ShardDetail -> Maybe ShardConfiguration
-- | The name of the shard
[$sel:name:ShardDetail'] :: ShardDetail -> Maybe Text
-- | The size of the shard's snapshot
[$sel:size:ShardDetail'] :: ShardDetail -> Maybe Text
-- | The date and time that the shard's snapshot was created
[$sel:snapshotCreationTime:ShardDetail'] :: ShardDetail -> Maybe POSIX
-- | Create a value of ShardDetail with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:configuration:ShardDetail',
-- shardDetail_configuration - The configuration details of the
-- shard
--
-- $sel:name:ShardDetail', shardDetail_name - The name of
-- the shard
--
-- $sel:size:ShardDetail', shardDetail_size - The size of
-- the shard's snapshot
--
-- $sel:snapshotCreationTime:ShardDetail',
-- shardDetail_snapshotCreationTime - The date and time that the
-- shard's snapshot was created
newShardDetail :: ShardDetail
-- | The configuration details of the shard
shardDetail_configuration :: Lens' ShardDetail (Maybe ShardConfiguration)
-- | The name of the shard
shardDetail_name :: Lens' ShardDetail (Maybe Text)
-- | The size of the shard's snapshot
shardDetail_size :: Lens' ShardDetail (Maybe Text)
-- | The date and time that the shard's snapshot was created
shardDetail_snapshotCreationTime :: Lens' ShardDetail (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ShardDetail.ShardDetail
instance GHC.Show.Show Amazonka.MemoryDb.Types.ShardDetail.ShardDetail
instance GHC.Read.Read Amazonka.MemoryDb.Types.ShardDetail.ShardDetail
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ShardDetail.ShardDetail
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ShardDetail.ShardDetail
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ShardDetail.ShardDetail
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ShardDetail.ShardDetail
module Amazonka.MemoryDb.Types.ClusterConfiguration
-- | A list of cluster configuration options.
--
-- See: newClusterConfiguration smart constructor.
data ClusterConfiguration
ClusterConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe [ShardDetail] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ClusterConfiguration
-- | The description of the cluster configuration
[$sel:description:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The Redis engine version used by the cluster
[$sel:engineVersion:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The specified maintenance window for the cluster
[$sel:maintenanceWindow:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The name of the cluster
[$sel:name:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The node type used for the cluster
[$sel:nodeType:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The number of shards in the cluster
[$sel:numShards:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Int
-- | The name of parameter group used by the cluster
[$sel:parameterGroupName:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The port used by the cluster
[$sel:port:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Int
-- | The list of shards in the cluster
[$sel:shards:ClusterConfiguration'] :: ClusterConfiguration -> Maybe [ShardDetail]
-- | The snapshot retention limit set by the cluster
[$sel:snapshotRetentionLimit:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Int
-- | The snapshot window set by the cluster
[$sel:snapshotWindow:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The name of the subnet group used by the cluster
[$sel:subnetGroupName:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The Amazon Resource Name (ARN) of the SNS notification topic for the
-- cluster
[$sel:topicArn:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The ID of the VPC the cluster belongs to
[$sel:vpcId:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | Create a value of ClusterConfiguration with all optional fields
-- omitted.
--
-- Use 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:ClusterConfiguration',
-- clusterConfiguration_description - The description of the
-- cluster configuration
--
-- $sel:engineVersion:ClusterConfiguration',
-- clusterConfiguration_engineVersion - The Redis engine version
-- used by the cluster
--
-- $sel:maintenanceWindow:ClusterConfiguration',
-- clusterConfiguration_maintenanceWindow - The specified
-- maintenance window for the cluster
--
-- ClusterConfiguration, clusterConfiguration_name - The
-- name of the cluster
--
-- $sel:nodeType:ClusterConfiguration',
-- clusterConfiguration_nodeType - The node type used for the
-- cluster
--
-- $sel:numShards:ClusterConfiguration',
-- clusterConfiguration_numShards - The number of shards in the
-- cluster
--
-- $sel:parameterGroupName:ClusterConfiguration',
-- clusterConfiguration_parameterGroupName - The name of parameter
-- group used by the cluster
--
-- $sel:port:ClusterConfiguration',
-- clusterConfiguration_port - The port used by the cluster
--
-- $sel:shards:ClusterConfiguration',
-- clusterConfiguration_shards - The list of shards in the cluster
--
-- $sel:snapshotRetentionLimit:ClusterConfiguration',
-- clusterConfiguration_snapshotRetentionLimit - The snapshot
-- retention limit set by the cluster
--
-- $sel:snapshotWindow:ClusterConfiguration',
-- clusterConfiguration_snapshotWindow - The snapshot window set
-- by the cluster
--
-- $sel:subnetGroupName:ClusterConfiguration',
-- clusterConfiguration_subnetGroupName - The name of the subnet
-- group used by the cluster
--
-- $sel:topicArn:ClusterConfiguration',
-- clusterConfiguration_topicArn - The Amazon Resource Name (ARN)
-- of the SNS notification topic for the cluster
--
-- $sel:vpcId:ClusterConfiguration',
-- clusterConfiguration_vpcId - The ID of the VPC the cluster
-- belongs to
newClusterConfiguration :: ClusterConfiguration
-- | The description of the cluster configuration
clusterConfiguration_description :: Lens' ClusterConfiguration (Maybe Text)
-- | The Redis engine version used by the cluster
clusterConfiguration_engineVersion :: Lens' ClusterConfiguration (Maybe Text)
-- | The specified maintenance window for the cluster
clusterConfiguration_maintenanceWindow :: Lens' ClusterConfiguration (Maybe Text)
-- | The name of the cluster
clusterConfiguration_name :: Lens' ClusterConfiguration (Maybe Text)
-- | The node type used for the cluster
clusterConfiguration_nodeType :: Lens' ClusterConfiguration (Maybe Text)
-- | The number of shards in the cluster
clusterConfiguration_numShards :: Lens' ClusterConfiguration (Maybe Int)
-- | The name of parameter group used by the cluster
clusterConfiguration_parameterGroupName :: Lens' ClusterConfiguration (Maybe Text)
-- | The port used by the cluster
clusterConfiguration_port :: Lens' ClusterConfiguration (Maybe Int)
-- | The list of shards in the cluster
clusterConfiguration_shards :: Lens' ClusterConfiguration (Maybe [ShardDetail])
-- | The snapshot retention limit set by the cluster
clusterConfiguration_snapshotRetentionLimit :: Lens' ClusterConfiguration (Maybe Int)
-- | The snapshot window set by the cluster
clusterConfiguration_snapshotWindow :: Lens' ClusterConfiguration (Maybe Text)
-- | The name of the subnet group used by the cluster
clusterConfiguration_subnetGroupName :: Lens' ClusterConfiguration (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SNS notification topic for the
-- cluster
clusterConfiguration_topicArn :: Lens' ClusterConfiguration (Maybe Text)
-- | The ID of the VPC the cluster belongs to
clusterConfiguration_vpcId :: Lens' ClusterConfiguration (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ClusterConfiguration.ClusterConfiguration
instance GHC.Show.Show Amazonka.MemoryDb.Types.ClusterConfiguration.ClusterConfiguration
instance GHC.Read.Read Amazonka.MemoryDb.Types.ClusterConfiguration.ClusterConfiguration
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ClusterConfiguration.ClusterConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ClusterConfiguration.ClusterConfiguration
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ClusterConfiguration.ClusterConfiguration
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ClusterConfiguration.ClusterConfiguration
module Amazonka.MemoryDb.Types.SlotMigration
-- | Represents the progress of an online resharding operation.
--
-- See: newSlotMigration smart constructor.
data SlotMigration
SlotMigration' :: Maybe Double -> SlotMigration
-- | The percentage of the slot migration that is complete.
[$sel:progressPercentage:SlotMigration'] :: SlotMigration -> Maybe Double
-- | Create a value of SlotMigration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:progressPercentage:SlotMigration',
-- slotMigration_progressPercentage - The percentage of the slot
-- migration that is complete.
newSlotMigration :: SlotMigration
-- | The percentage of the slot migration that is complete.
slotMigration_progressPercentage :: Lens' SlotMigration (Maybe Double)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.SlotMigration.SlotMigration
instance GHC.Show.Show Amazonka.MemoryDb.Types.SlotMigration.SlotMigration
instance GHC.Read.Read Amazonka.MemoryDb.Types.SlotMigration.SlotMigration
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.SlotMigration.SlotMigration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.SlotMigration.SlotMigration
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.SlotMigration.SlotMigration
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.SlotMigration.SlotMigration
module Amazonka.MemoryDb.Types.ReshardingStatus
-- | The status of the online resharding
--
-- See: newReshardingStatus smart constructor.
data ReshardingStatus
ReshardingStatus' :: Maybe SlotMigration -> ReshardingStatus
-- | The status of the online resharding slot migration
[$sel:slotMigration:ReshardingStatus'] :: ReshardingStatus -> Maybe SlotMigration
-- | Create a value of ReshardingStatus with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:slotMigration:ReshardingStatus',
-- reshardingStatus_slotMigration - The status of the online
-- resharding slot migration
newReshardingStatus :: ReshardingStatus
-- | The status of the online resharding slot migration
reshardingStatus_slotMigration :: Lens' ReshardingStatus (Maybe SlotMigration)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ReshardingStatus.ReshardingStatus
instance GHC.Show.Show Amazonka.MemoryDb.Types.ReshardingStatus.ReshardingStatus
instance GHC.Read.Read Amazonka.MemoryDb.Types.ReshardingStatus.ReshardingStatus
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ReshardingStatus.ReshardingStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ReshardingStatus.ReshardingStatus
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ReshardingStatus.ReshardingStatus
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ReshardingStatus.ReshardingStatus
module Amazonka.MemoryDb.Types.ClusterPendingUpdates
-- | A list of updates being applied to the cluster
--
-- See: newClusterPendingUpdates smart constructor.
data ClusterPendingUpdates
ClusterPendingUpdates' :: Maybe ACLsUpdateStatus -> Maybe ReshardingStatus -> Maybe [PendingModifiedServiceUpdate] -> ClusterPendingUpdates
-- | A list of ACLs associated with the cluster that are being updated
[$sel:aCLs:ClusterPendingUpdates'] :: ClusterPendingUpdates -> Maybe ACLsUpdateStatus
-- | The status of an online resharding operation.
[$sel:resharding:ClusterPendingUpdates'] :: ClusterPendingUpdates -> Maybe ReshardingStatus
-- | A list of service updates being applied to the cluster
[$sel:serviceUpdates:ClusterPendingUpdates'] :: ClusterPendingUpdates -> Maybe [PendingModifiedServiceUpdate]
-- | Create a value of ClusterPendingUpdates with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCLs:ClusterPendingUpdates',
-- clusterPendingUpdates_aCLs - A list of ACLs associated with the
-- cluster that are being updated
--
-- $sel:resharding:ClusterPendingUpdates',
-- clusterPendingUpdates_resharding - The status of an online
-- resharding operation.
--
-- $sel:serviceUpdates:ClusterPendingUpdates',
-- clusterPendingUpdates_serviceUpdates - A list of service
-- updates being applied to the cluster
newClusterPendingUpdates :: ClusterPendingUpdates
-- | A list of ACLs associated with the cluster that are being updated
clusterPendingUpdates_aCLs :: Lens' ClusterPendingUpdates (Maybe ACLsUpdateStatus)
-- | The status of an online resharding operation.
clusterPendingUpdates_resharding :: Lens' ClusterPendingUpdates (Maybe ReshardingStatus)
-- | A list of service updates being applied to the cluster
clusterPendingUpdates_serviceUpdates :: Lens' ClusterPendingUpdates (Maybe [PendingModifiedServiceUpdate])
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.ClusterPendingUpdates.ClusterPendingUpdates
instance GHC.Show.Show Amazonka.MemoryDb.Types.ClusterPendingUpdates.ClusterPendingUpdates
instance GHC.Read.Read Amazonka.MemoryDb.Types.ClusterPendingUpdates.ClusterPendingUpdates
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.ClusterPendingUpdates.ClusterPendingUpdates
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.ClusterPendingUpdates.ClusterPendingUpdates
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.ClusterPendingUpdates.ClusterPendingUpdates
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.ClusterPendingUpdates.ClusterPendingUpdates
module Amazonka.MemoryDb.Types.Cluster
-- | Contains all of the attributes of a specific cluster.
--
-- See: newCluster smart constructor.
data Cluster
Cluster' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe AZStatus -> Maybe Endpoint -> Maybe DataTieringStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ClusterPendingUpdates -> Maybe [SecurityGroupMembership] -> Maybe [Shard] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Cluster
-- | The name of the Access Control List associated with this cluster.
[$sel:aCLName:Cluster'] :: Cluster -> Maybe Text
-- | The Amazon Resource Name (ARN) of the cluster.
[$sel:arn:Cluster'] :: Cluster -> Maybe Text
-- | When set to true, the cluster will automatically receive minor engine
-- version upgrades after launch.
[$sel:autoMinorVersionUpgrade:Cluster'] :: Cluster -> Maybe Bool
-- | Indicates if the cluster has a Multi-AZ configuration (multiaz) or not
-- (singleaz).
[$sel:availabilityMode:Cluster'] :: Cluster -> Maybe AZStatus
-- | The cluster's configuration endpoint
[$sel:clusterEndpoint:Cluster'] :: Cluster -> Maybe Endpoint
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
[$sel:dataTiering:Cluster'] :: Cluster -> Maybe DataTieringStatus
-- | A description of the cluster
[$sel:description:Cluster'] :: Cluster -> Maybe Text
-- | The Redis engine patch version used by the cluster
[$sel:enginePatchVersion:Cluster'] :: Cluster -> Maybe Text
-- | The Redis engine version used by the cluster
[$sel:engineVersion:Cluster'] :: Cluster -> Maybe Text
-- | The ID of the KMS key used to encrypt the cluster
[$sel:kmsKeyId:Cluster'] :: Cluster -> Maybe Text
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
[$sel:maintenanceWindow:Cluster'] :: Cluster -> Maybe Text
-- | The user-supplied name of the cluster. This identifier is a unique key
-- that identifies a cluster.
[$sel:name:Cluster'] :: Cluster -> Maybe Text
-- | The cluster's node type
[$sel:nodeType:Cluster'] :: Cluster -> Maybe Text
-- | The number of shards in the cluster
[$sel:numberOfShards:Cluster'] :: Cluster -> Maybe Int
-- | The name of the parameter group used by the cluster
[$sel:parameterGroupName:Cluster'] :: Cluster -> Maybe Text
-- | The status of the parameter group used by the cluster, for example
-- 'active' or 'applying'.
[$sel:parameterGroupStatus:Cluster'] :: Cluster -> Maybe Text
-- | A group of settings that are currently being applied.
[$sel:pendingUpdates:Cluster'] :: Cluster -> Maybe ClusterPendingUpdates
-- | A list of security groups used by the cluster
[$sel:securityGroups:Cluster'] :: Cluster -> Maybe [SecurityGroupMembership]
-- | A list of shards that are members of the cluster.
[$sel:shards:Cluster'] :: Cluster -> Maybe [Shard]
-- | The number of days for which MemoryDB retains automatic snapshots
-- before deleting them. For example, if you set SnapshotRetentionLimit
-- to 5, a snapshot that was taken today is retained for 5 days before
-- being deleted.
[$sel:snapshotRetentionLimit:Cluster'] :: Cluster -> Maybe Int
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard. Example: 05:00-09:00 If you do not
-- specify this parameter, MemoryDB automatically chooses an appropriate
-- time range.
[$sel:snapshotWindow:Cluster'] :: Cluster -> Maybe Text
-- | The Amazon Resource Name (ARN) of the SNS notification topic
[$sel:snsTopicArn:Cluster'] :: Cluster -> Maybe Text
-- | The SNS topic must be in Active status to receive notifications
[$sel:snsTopicStatus:Cluster'] :: Cluster -> Maybe Text
-- | The status of the cluster. For example, Available, Updating, Creating.
[$sel:status:Cluster'] :: Cluster -> Maybe Text
-- | The name of the subnet group used by the cluster
[$sel:subnetGroupName:Cluster'] :: Cluster -> Maybe Text
-- | A flag to indicate if In-transit encryption is enabled
[$sel:tLSEnabled:Cluster'] :: Cluster -> Maybe Bool
-- | 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:aCLName:Cluster', cluster_aCLName - The name of the
-- Access Control List associated with this cluster.
--
-- $sel:arn:Cluster', cluster_arn - The Amazon Resource
-- Name (ARN) of the cluster.
--
-- $sel:autoMinorVersionUpgrade:Cluster',
-- cluster_autoMinorVersionUpgrade - When set to true, the cluster
-- will automatically receive minor engine version upgrades after launch.
--
-- $sel:availabilityMode:Cluster', cluster_availabilityMode
-- - Indicates if the cluster has a Multi-AZ configuration (multiaz) or
-- not (singleaz).
--
-- $sel:clusterEndpoint:Cluster', cluster_clusterEndpoint -
-- The cluster's configuration endpoint
--
-- $sel:dataTiering:Cluster', cluster_dataTiering - Enables
-- data tiering. Data tiering is only supported for clusters using the
-- r6gd node type. This parameter must be set when using r6gd nodes. For
-- more information, see Data tiering.
--
-- $sel:description:Cluster', cluster_description - A
-- description of the cluster
--
-- $sel:enginePatchVersion:Cluster',
-- cluster_enginePatchVersion - The Redis engine patch version
-- used by the cluster
--
-- $sel:engineVersion:Cluster', cluster_engineVersion - The
-- Redis engine version used by the cluster
--
-- $sel:kmsKeyId:Cluster', cluster_kmsKeyId - The ID of the
-- KMS key used to encrypt the cluster
--
-- $sel:maintenanceWindow:Cluster',
-- cluster_maintenanceWindow - Specifies the weekly time range
-- during which maintenance on the cluster is performed. It is specified
-- as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The
-- minimum maintenance window is a 60 minute period.
--
-- Cluster, cluster_name - The user-supplied name of the
-- cluster. This identifier is a unique key that identifies a cluster.
--
-- $sel:nodeType:Cluster', cluster_nodeType - The cluster's
-- node type
--
-- $sel:numberOfShards:Cluster', cluster_numberOfShards -
-- The number of shards in the cluster
--
-- $sel:parameterGroupName:Cluster',
-- cluster_parameterGroupName - The name of the parameter group
-- used by the cluster
--
-- $sel:parameterGroupStatus:Cluster',
-- cluster_parameterGroupStatus - The status of the parameter
-- group used by the cluster, for example 'active' or 'applying'.
--
-- $sel:pendingUpdates:Cluster', cluster_pendingUpdates - A
-- group of settings that are currently being applied.
--
-- $sel:securityGroups:Cluster', cluster_securityGroups - A
-- list of security groups used by the cluster
--
-- $sel:shards:Cluster', cluster_shards - A list of shards
-- that are members of the cluster.
--
-- $sel:snapshotRetentionLimit:Cluster',
-- cluster_snapshotRetentionLimit - The number of days for which
-- MemoryDB retains automatic snapshots before deleting them. For
-- example, if you set SnapshotRetentionLimit to 5, a snapshot that was
-- taken today is retained for 5 days before being deleted.
--
-- $sel:snapshotWindow:Cluster', cluster_snapshotWindow -
-- The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard. Example: 05:00-09:00 If you do not
-- specify this parameter, MemoryDB automatically chooses an appropriate
-- time range.
--
-- $sel:snsTopicArn:Cluster', cluster_snsTopicArn - The
-- Amazon Resource Name (ARN) of the SNS notification topic
--
-- $sel:snsTopicStatus:Cluster', cluster_snsTopicStatus -
-- The SNS topic must be in Active status to receive notifications
--
-- Cluster, cluster_status - The status of the cluster. For
-- example, Available, Updating, Creating.
--
-- $sel:subnetGroupName:Cluster', cluster_subnetGroupName -
-- The name of the subnet group used by the cluster
--
-- $sel:tLSEnabled:Cluster', cluster_tLSEnabled - A flag to
-- indicate if In-transit encryption is enabled
newCluster :: Cluster
-- | The name of the Access Control List associated with this cluster.
cluster_aCLName :: Lens' Cluster (Maybe Text)
-- | The Amazon Resource Name (ARN) of the cluster.
cluster_arn :: Lens' Cluster (Maybe Text)
-- | When set to true, the cluster will automatically receive minor engine
-- version upgrades after launch.
cluster_autoMinorVersionUpgrade :: Lens' Cluster (Maybe Bool)
-- | Indicates if the cluster has a Multi-AZ configuration (multiaz) or not
-- (singleaz).
cluster_availabilityMode :: Lens' Cluster (Maybe AZStatus)
-- | The cluster's configuration endpoint
cluster_clusterEndpoint :: Lens' Cluster (Maybe Endpoint)
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
cluster_dataTiering :: Lens' Cluster (Maybe DataTieringStatus)
-- | A description of the cluster
cluster_description :: Lens' Cluster (Maybe Text)
-- | The Redis engine patch version used by the cluster
cluster_enginePatchVersion :: Lens' Cluster (Maybe Text)
-- | The Redis engine version used by the cluster
cluster_engineVersion :: Lens' Cluster (Maybe Text)
-- | The ID of the KMS key used to encrypt the cluster
cluster_kmsKeyId :: Lens' Cluster (Maybe Text)
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
cluster_maintenanceWindow :: Lens' Cluster (Maybe Text)
-- | The user-supplied name of the cluster. This identifier is a unique key
-- that identifies a cluster.
cluster_name :: Lens' Cluster (Maybe Text)
-- | The cluster's node type
cluster_nodeType :: Lens' Cluster (Maybe Text)
-- | The number of shards in the cluster
cluster_numberOfShards :: Lens' Cluster (Maybe Int)
-- | The name of the parameter group used by the cluster
cluster_parameterGroupName :: Lens' Cluster (Maybe Text)
-- | The status of the parameter group used by the cluster, for example
-- 'active' or 'applying'.
cluster_parameterGroupStatus :: Lens' Cluster (Maybe Text)
-- | A group of settings that are currently being applied.
cluster_pendingUpdates :: Lens' Cluster (Maybe ClusterPendingUpdates)
-- | A list of security groups used by the cluster
cluster_securityGroups :: Lens' Cluster (Maybe [SecurityGroupMembership])
-- | A list of shards that are members of the cluster.
cluster_shards :: Lens' Cluster (Maybe [Shard])
-- | The number of days for which MemoryDB retains automatic snapshots
-- before deleting them. For example, if you set SnapshotRetentionLimit
-- to 5, a snapshot that was taken today is retained for 5 days before
-- being deleted.
cluster_snapshotRetentionLimit :: Lens' Cluster (Maybe Int)
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard. Example: 05:00-09:00 If you do not
-- specify this parameter, MemoryDB automatically chooses an appropriate
-- time range.
cluster_snapshotWindow :: Lens' Cluster (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SNS notification topic
cluster_snsTopicArn :: Lens' Cluster (Maybe Text)
-- | The SNS topic must be in Active status to receive notifications
cluster_snsTopicStatus :: Lens' Cluster (Maybe Text)
-- | The status of the cluster. For example, Available, Updating, Creating.
cluster_status :: Lens' Cluster (Maybe Text)
-- | The name of the subnet group used by the cluster
cluster_subnetGroupName :: Lens' Cluster (Maybe Text)
-- | A flag to indicate if In-transit encryption is enabled
cluster_tLSEnabled :: Lens' Cluster (Maybe Bool)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Cluster.Cluster
instance GHC.Show.Show Amazonka.MemoryDb.Types.Cluster.Cluster
instance GHC.Read.Read Amazonka.MemoryDb.Types.Cluster.Cluster
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Cluster.Cluster
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.Cluster.Cluster
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Cluster.Cluster
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Cluster.Cluster
module Amazonka.MemoryDb.Types.Snapshot
-- | Represents a copy of an entire cluster as of the time when the
-- snapshot was taken.
--
-- See: newSnapshot smart constructor.
data Snapshot
Snapshot' :: Maybe Text -> Maybe ClusterConfiguration -> Maybe DataTieringStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Snapshot
-- | The ARN (Amazon Resource Name) of the snapshot.
[$sel:arn:Snapshot'] :: Snapshot -> Maybe Text
-- | The configuration of the cluster from which the snapshot was taken
[$sel:clusterConfiguration:Snapshot'] :: Snapshot -> Maybe ClusterConfiguration
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
[$sel:dataTiering:Snapshot'] :: Snapshot -> Maybe DataTieringStatus
-- | The ID of the KMS key used to encrypt the snapshot.
[$sel:kmsKeyId:Snapshot'] :: Snapshot -> Maybe Text
-- | The name of the snapshot
[$sel:name:Snapshot'] :: Snapshot -> Maybe Text
-- | Indicates whether the snapshot is from an automatic backup (automated)
-- or was created manually (manual).
[$sel:source:Snapshot'] :: Snapshot -> Maybe Text
-- | The status of the snapshot. Valid values: creating | available |
-- restoring | copying | deleting.
[$sel:status: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:arn:Snapshot', snapshot_arn - The ARN (Amazon
-- Resource Name) of the snapshot.
--
-- $sel:clusterConfiguration:Snapshot',
-- snapshot_clusterConfiguration - The configuration of the
-- cluster from which the snapshot was taken
--
-- $sel:dataTiering:Snapshot', snapshot_dataTiering -
-- Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
--
-- $sel:kmsKeyId:Snapshot', snapshot_kmsKeyId - The ID of
-- the KMS key used to encrypt the snapshot.
--
-- Snapshot, snapshot_name - The name of the snapshot
--
-- $sel:source:Snapshot', snapshot_source - Indicates
-- whether the snapshot is from an automatic backup (automated) or was
-- created manually (manual).
--
-- $sel:status:Snapshot', snapshot_status - The status of
-- the snapshot. Valid values: creating | available | restoring | copying
-- | deleting.
newSnapshot :: Snapshot
-- | The ARN (Amazon Resource Name) of the snapshot.
snapshot_arn :: Lens' Snapshot (Maybe Text)
-- | The configuration of the cluster from which the snapshot was taken
snapshot_clusterConfiguration :: Lens' Snapshot (Maybe ClusterConfiguration)
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
snapshot_dataTiering :: Lens' Snapshot (Maybe DataTieringStatus)
-- | The ID of the KMS key used to encrypt the snapshot.
snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text)
-- | The name of the snapshot
snapshot_name :: Lens' Snapshot (Maybe Text)
-- | Indicates whether the snapshot is from an automatic backup (automated)
-- or was created manually (manual).
snapshot_source :: Lens' Snapshot (Maybe Text)
-- | The status of the snapshot. Valid values: creating | available |
-- restoring | copying | deleting.
snapshot_status :: Lens' Snapshot (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Snapshot.Snapshot
instance GHC.Show.Show Amazonka.MemoryDb.Types.Snapshot.Snapshot
instance GHC.Read.Read Amazonka.MemoryDb.Types.Snapshot.Snapshot
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Snapshot.Snapshot
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.Snapshot.Snapshot
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Snapshot.Snapshot
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Snapshot.Snapshot
module Amazonka.MemoryDb.Types.SourceType
newtype SourceType
SourceType' :: Text -> SourceType
[fromSourceType] :: SourceType -> Text
pattern SourceType_Acl :: SourceType
pattern SourceType_Cluster :: SourceType
pattern SourceType_Node :: SourceType
pattern SourceType_Parameter_group :: SourceType
pattern SourceType_Subnet_group :: SourceType
pattern SourceType_User :: SourceType
instance Amazonka.Data.XML.ToXML Amazonka.MemoryDb.Types.SourceType.SourceType
instance Amazonka.Data.XML.FromXML Amazonka.MemoryDb.Types.SourceType.SourceType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MemoryDb.Types.SourceType.SourceType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.SourceType.SourceType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MemoryDb.Types.SourceType.SourceType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.SourceType.SourceType
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.Types.SourceType.SourceType
instance Amazonka.Data.Headers.ToHeader Amazonka.MemoryDb.Types.SourceType.SourceType
instance Amazonka.Data.Log.ToLog Amazonka.MemoryDb.Types.SourceType.SourceType
instance Amazonka.Data.ByteString.ToByteString Amazonka.MemoryDb.Types.SourceType.SourceType
instance Amazonka.Data.Text.ToText Amazonka.MemoryDb.Types.SourceType.SourceType
instance Amazonka.Data.Text.FromText Amazonka.MemoryDb.Types.SourceType.SourceType
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.SourceType.SourceType
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.SourceType.SourceType
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.SourceType.SourceType
instance GHC.Classes.Ord Amazonka.MemoryDb.Types.SourceType.SourceType
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.SourceType.SourceType
instance GHC.Read.Read Amazonka.MemoryDb.Types.SourceType.SourceType
instance GHC.Show.Show Amazonka.MemoryDb.Types.SourceType.SourceType
module Amazonka.MemoryDb.Types.Event
-- | Represents a single occurrence of something interesting within the
-- system. Some examples of events are creating a cluster or adding or
-- removing a node.
--
-- See: newEvent smart constructor.
data Event
Event' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe SourceType -> Event
-- | The date and time when the event occurred.
[$sel:date:Event'] :: Event -> Maybe POSIX
-- | The text of the event.
[$sel:message:Event'] :: Event -> Maybe Text
-- | The name for the source of the event. For example, if the event
-- occurred at the cluster level, the identifier would be the name of the
-- cluster.
[$sel:sourceName:Event'] :: Event -> Maybe Text
-- | Specifies the origin of this event - a cluster, a parameter group, a
-- security group, etc.
[$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 when
-- the event occurred.
--
-- $sel:message:Event', event_message - The text of the
-- event.
--
-- $sel:sourceName:Event', event_sourceName - The name for
-- the source of the event. For example, if the event occurred at the
-- cluster level, the identifier would be the name of the cluster.
--
-- $sel:sourceType:Event', event_sourceType - Specifies the
-- origin of this event - a cluster, a parameter group, a security group,
-- etc.
newEvent :: Event
-- | The date and time when the event occurred.
event_date :: Lens' Event (Maybe UTCTime)
-- | The text of the event.
event_message :: Lens' Event (Maybe Text)
-- | The name for the source of the event. For example, if the event
-- occurred at the cluster level, the identifier would be the name of the
-- cluster.
event_sourceName :: Lens' Event (Maybe Text)
-- | Specifies the origin of this event - a cluster, a parameter group, a
-- security group, etc.
event_sourceType :: Lens' Event (Maybe SourceType)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Event.Event
instance GHC.Show.Show Amazonka.MemoryDb.Types.Event.Event
instance GHC.Read.Read Amazonka.MemoryDb.Types.Event.Event
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Event.Event
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.Event.Event
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Event.Event
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Event.Event
module Amazonka.MemoryDb.Types.Subnet
-- | Represents the subnet associated with a cluster. This parameter refers
-- to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and
-- used with MemoryDB.
--
-- See: newSubnet smart constructor.
data Subnet
Subnet' :: Maybe AvailabilityZone -> Maybe Text -> Subnet
-- | The Availability Zone where the subnet resides
[$sel:availabilityZone:Subnet'] :: Subnet -> Maybe AvailabilityZone
-- | The unique identifier for the subnet.
[$sel:identifier: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:availabilityZone:Subnet', subnet_availabilityZone -
-- The Availability Zone where the subnet resides
--
-- $sel:identifier:Subnet', subnet_identifier - The unique
-- identifier for the subnet.
newSubnet :: Subnet
-- | The Availability Zone where the subnet resides
subnet_availabilityZone :: Lens' Subnet (Maybe AvailabilityZone)
-- | The unique identifier for the subnet.
subnet_identifier :: Lens' Subnet (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Subnet.Subnet
instance GHC.Show.Show Amazonka.MemoryDb.Types.Subnet.Subnet
instance GHC.Read.Read Amazonka.MemoryDb.Types.Subnet.Subnet
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Subnet.Subnet
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.Subnet.Subnet
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Subnet.Subnet
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Subnet.Subnet
module Amazonka.MemoryDb.Types.SubnetGroup
-- | Represents the output of one of the following operations:
--
--
-- - CreateSubnetGroup
-- - UpdateSubnetGroup
--
--
-- A subnet group is a collection of subnets (typically private) that you
-- can designate for your clusters running in an Amazon Virtual Private
-- Cloud (VPC) environment.
--
-- See: newSubnetGroup smart constructor.
data SubnetGroup
SubnetGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Subnet] -> Maybe Text -> SubnetGroup
-- | The ARN (Amazon Resource Name) of the subnet group.
[$sel:arn:SubnetGroup'] :: SubnetGroup -> Maybe Text
-- | A description of the subnet group
[$sel:description:SubnetGroup'] :: SubnetGroup -> Maybe Text
-- | The name of the subnet group
[$sel:name:SubnetGroup'] :: SubnetGroup -> Maybe Text
-- | A list of subnets associated with the subnet group.
[$sel:subnets:SubnetGroup'] :: SubnetGroup -> Maybe [Subnet]
-- | The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet
-- group.
[$sel:vpcId:SubnetGroup'] :: SubnetGroup -> Maybe Text
-- | Create a value of SubnetGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:SubnetGroup', subnetGroup_arn - The ARN (Amazon
-- Resource Name) of the subnet group.
--
-- $sel:description:SubnetGroup', subnetGroup_description -
-- A description of the subnet group
--
-- $sel:name:SubnetGroup', subnetGroup_name - The name of
-- the subnet group
--
-- $sel:subnets:SubnetGroup', subnetGroup_subnets - A list
-- of subnets associated with the subnet group.
--
-- $sel:vpcId:SubnetGroup', subnetGroup_vpcId - The Amazon
-- Virtual Private Cloud identifier (VPC ID) of the subnet group.
newSubnetGroup :: SubnetGroup
-- | The ARN (Amazon Resource Name) of the subnet group.
subnetGroup_arn :: Lens' SubnetGroup (Maybe Text)
-- | A description of the subnet group
subnetGroup_description :: Lens' SubnetGroup (Maybe Text)
-- | The name of the subnet group
subnetGroup_name :: Lens' SubnetGroup (Maybe Text)
-- | A list of subnets associated with the subnet group.
subnetGroup_subnets :: Lens' SubnetGroup (Maybe [Subnet])
-- | The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet
-- group.
subnetGroup_vpcId :: Lens' SubnetGroup (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.SubnetGroup.SubnetGroup
instance GHC.Show.Show Amazonka.MemoryDb.Types.SubnetGroup.SubnetGroup
instance GHC.Read.Read Amazonka.MemoryDb.Types.SubnetGroup.SubnetGroup
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.SubnetGroup.SubnetGroup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.SubnetGroup.SubnetGroup
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.SubnetGroup.SubnetGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.SubnetGroup.SubnetGroup
module Amazonka.MemoryDb.Types.Tag
-- | A tag that can be added to an MemoryDB resource. Tags are composed of
-- a Key/Value pair. You can use tags to categorize and track all your
-- MemoryDB resources. When you add or remove tags on clusters, those
-- actions will be replicated to all nodes in the cluster. A tag with a
-- null Value is permitted. For more information, see Tagging your
-- MemoryDB resources
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | The key for the tag. May not be null.
[$sel:key:Tag'] :: Tag -> Maybe Text
-- | The tag's value. May be null.
[$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 for the tag. May not be
-- null.
--
-- $sel:value:Tag', tag_value - The tag's value. May be
-- null.
newTag :: Tag
-- | The key for the tag. May not be null.
tag_key :: Lens' Tag (Maybe Text)
-- | The tag's value. May be null.
tag_value :: Lens' Tag (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.Tag.Tag
instance GHC.Show.Show Amazonka.MemoryDb.Types.Tag.Tag
instance GHC.Read.Read Amazonka.MemoryDb.Types.Tag.Tag
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.Tag.Tag
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.Tag.Tag
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.Tag.Tag
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.Tag.Tag
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.Types.Tag.Tag
module Amazonka.MemoryDb.Types.UnprocessedCluster
-- | A cluster whose updates have failed
--
-- See: newUnprocessedCluster smart constructor.
data UnprocessedCluster
UnprocessedCluster' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedCluster
-- | The name of the cluster
[$sel:clusterName:UnprocessedCluster'] :: UnprocessedCluster -> Maybe Text
-- | The error message associated with the update failure
[$sel:errorMessage:UnprocessedCluster'] :: UnprocessedCluster -> Maybe Text
-- | The error type associated with the update failure
[$sel:errorType:UnprocessedCluster'] :: UnprocessedCluster -> Maybe Text
-- | Create a value of UnprocessedCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterName:UnprocessedCluster',
-- unprocessedCluster_clusterName - The name of the cluster
--
-- $sel:errorMessage:UnprocessedCluster',
-- unprocessedCluster_errorMessage - The error message associated
-- with the update failure
--
-- $sel:errorType:UnprocessedCluster',
-- unprocessedCluster_errorType - The error type associated with
-- the update failure
newUnprocessedCluster :: UnprocessedCluster
-- | The name of the cluster
unprocessedCluster_clusterName :: Lens' UnprocessedCluster (Maybe Text)
-- | The error message associated with the update failure
unprocessedCluster_errorMessage :: Lens' UnprocessedCluster (Maybe Text)
-- | The error type associated with the update failure
unprocessedCluster_errorType :: Lens' UnprocessedCluster (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.UnprocessedCluster.UnprocessedCluster
instance GHC.Show.Show Amazonka.MemoryDb.Types.UnprocessedCluster.UnprocessedCluster
instance GHC.Read.Read Amazonka.MemoryDb.Types.UnprocessedCluster.UnprocessedCluster
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.UnprocessedCluster.UnprocessedCluster
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.UnprocessedCluster.UnprocessedCluster
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.UnprocessedCluster.UnprocessedCluster
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.UnprocessedCluster.UnprocessedCluster
module Amazonka.MemoryDb.Types.User
-- | You create users and assign them specific permissions by using an
-- access string. You assign the users to Access Control Lists aligned
-- with a specific role (administrators, human resources) that are then
-- deployed to one or more MemoryDB clusters.
--
-- See: newUser smart constructor.
data User
User' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Authentication -> Maybe Text -> Maybe Text -> Maybe Text -> User
-- | The names of the Access Control Lists to which the user belongs
[$sel:aCLNames:User'] :: User -> Maybe [Text]
-- | The Amazon Resource Name (ARN) of the user.
[$sel:arn:User'] :: User -> Maybe Text
-- | Access permissions string used for this user.
[$sel:accessString:User'] :: User -> Maybe Text
-- | Denotes whether the user requires a password to authenticate.
[$sel:authentication:User'] :: User -> Maybe Authentication
-- | The minimum engine version supported for the user
[$sel:minimumEngineVersion:User'] :: User -> Maybe Text
-- | The name of the user
[$sel:name:User'] :: User -> Maybe Text
-- | Indicates the user status. Can be "active", "modifying" or "deleting".
[$sel:status:User'] :: User -> Maybe Text
-- | Create a value of User with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCLNames:User', user_aCLNames - The names of the
-- Access Control Lists to which the user belongs
--
-- $sel:arn:User', user_arn - The Amazon Resource Name
-- (ARN) of the user.
--
-- $sel:accessString:User', user_accessString - Access
-- permissions string used for this user.
--
-- $sel:authentication:User', user_authentication - Denotes
-- whether the user requires a password to authenticate.
--
-- $sel:minimumEngineVersion:User',
-- user_minimumEngineVersion - The minimum engine version
-- supported for the user
--
-- $sel:name:User', user_name - The name of the user
--
-- $sel:status:User', user_status - Indicates the user
-- status. Can be "active", "modifying" or "deleting".
newUser :: User
-- | The names of the Access Control Lists to which the user belongs
user_aCLNames :: Lens' User (Maybe [Text])
-- | The Amazon Resource Name (ARN) of the user.
user_arn :: Lens' User (Maybe Text)
-- | Access permissions string used for this user.
user_accessString :: Lens' User (Maybe Text)
-- | Denotes whether the user requires a password to authenticate.
user_authentication :: Lens' User (Maybe Authentication)
-- | The minimum engine version supported for the user
user_minimumEngineVersion :: Lens' User (Maybe Text)
-- | The name of the user
user_name :: Lens' User (Maybe Text)
-- | Indicates the user status. Can be "active", "modifying" or "deleting".
user_status :: Lens' User (Maybe Text)
instance GHC.Generics.Generic Amazonka.MemoryDb.Types.User.User
instance GHC.Show.Show Amazonka.MemoryDb.Types.User.User
instance GHC.Read.Read Amazonka.MemoryDb.Types.User.User
instance GHC.Classes.Eq Amazonka.MemoryDb.Types.User.User
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MemoryDb.Types.User.User
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.Types.User.User
instance Control.DeepSeq.NFData Amazonka.MemoryDb.Types.User.User
module Amazonka.MemoryDb.Types
-- | API version 2021-01-01 of the Amazon MemoryDB SDK
-- configuration.
defaultService :: Service
_ACLAlreadyExistsFault :: AsError a => Fold a ServiceError
_ACLNotFoundFault :: AsError a => Fold a ServiceError
_ACLQuotaExceededFault :: AsError a => Fold a ServiceError
_APICallRateForCustomerExceededFault :: AsError a => Fold a ServiceError
_ClusterAlreadyExistsFault :: AsError a => Fold a ServiceError
_ClusterNotFoundFault :: AsError a => Fold a ServiceError
_ClusterQuotaForCustomerExceededFault :: AsError a => Fold a ServiceError
_DefaultUserRequired :: AsError a => Fold a ServiceError
_DuplicateUserNameFault :: AsError a => Fold a ServiceError
_InsufficientClusterCapacityFault :: AsError a => Fold a ServiceError
_InvalidACLStateFault :: AsError a => Fold a ServiceError
_InvalidARNFault :: AsError a => Fold a ServiceError
_InvalidClusterStateFault :: AsError a => Fold a ServiceError
_InvalidCredentialsException :: AsError a => Fold a ServiceError
_InvalidKMSKeyFault :: AsError a => Fold a ServiceError
_InvalidNodeStateFault :: AsError a => Fold a ServiceError
_InvalidParameterCombinationException :: AsError a => Fold a ServiceError
_InvalidParameterGroupStateFault :: AsError a => Fold a ServiceError
_InvalidParameterValueException :: AsError a => Fold a ServiceError
_InvalidSnapshotStateFault :: AsError a => Fold a ServiceError
_InvalidSubnet :: AsError a => Fold a ServiceError
_InvalidUserStateFault :: AsError a => Fold a ServiceError
_InvalidVPCNetworkStateFault :: AsError a => Fold a ServiceError
_NoOperationFault :: AsError a => Fold a ServiceError
_NodeQuotaForClusterExceededFault :: AsError a => Fold a ServiceError
_NodeQuotaForCustomerExceededFault :: AsError a => Fold a ServiceError
_ParameterGroupAlreadyExistsFault :: AsError a => Fold a ServiceError
_ParameterGroupNotFoundFault :: AsError a => Fold a ServiceError
_ParameterGroupQuotaExceededFault :: AsError a => Fold a ServiceError
-- | You already have a reservation with the given identifier.
_ReservedNodeAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The requested node does not exist.
_ReservedNodeNotFoundFault :: AsError a => Fold a ServiceError
-- | The request cannot be processed because it would exceed the user's
-- node quota.
_ReservedNodeQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The requested node offering does not exist.
_ReservedNodesOfferingNotFoundFault :: AsError a => Fold a ServiceError
_ServiceLinkedRoleNotFoundFault :: AsError a => Fold a ServiceError
_ServiceUpdateNotFoundFault :: AsError a => Fold a ServiceError
_ShardNotFoundFault :: AsError a => Fold a ServiceError
_ShardsPerClusterQuotaExceededFault :: AsError a => Fold a ServiceError
_SnapshotAlreadyExistsFault :: AsError a => Fold a ServiceError
_SnapshotNotFoundFault :: AsError a => Fold a ServiceError
_SnapshotQuotaExceededFault :: AsError a => Fold a ServiceError
_SubnetGroupAlreadyExistsFault :: AsError a => Fold a ServiceError
_SubnetGroupInUseFault :: AsError a => Fold a ServiceError
_SubnetGroupNotFoundFault :: AsError a => Fold a ServiceError
_SubnetGroupQuotaExceededFault :: AsError a => Fold a ServiceError
_SubnetInUse :: AsError a => Fold a ServiceError
_SubnetNotAllowedFault :: AsError a => Fold a ServiceError
_SubnetQuotaExceededFault :: AsError a => Fold a ServiceError
_TagNotFoundFault :: AsError a => Fold a ServiceError
_TagQuotaPerResourceExceeded :: AsError a => Fold a ServiceError
_TestFailoverNotAvailableFault :: AsError a => Fold a ServiceError
_UserAlreadyExistsFault :: AsError a => Fold a ServiceError
_UserNotFoundFault :: AsError a => Fold a ServiceError
_UserQuotaExceededFault :: AsError a => Fold a ServiceError
newtype AZStatus
AZStatus' :: Text -> AZStatus
[fromAZStatus] :: AZStatus -> Text
pattern AZStatus_Multiaz :: AZStatus
pattern AZStatus_Singleaz :: AZStatus
newtype AuthenticationType
AuthenticationType' :: Text -> AuthenticationType
[fromAuthenticationType] :: AuthenticationType -> Text
pattern AuthenticationType_No_password :: AuthenticationType
pattern AuthenticationType_Password :: AuthenticationType
newtype DataTieringStatus
DataTieringStatus' :: Text -> DataTieringStatus
[fromDataTieringStatus] :: DataTieringStatus -> Text
pattern DataTieringStatus_False :: DataTieringStatus
pattern DataTieringStatus_True :: DataTieringStatus
newtype InputAuthenticationType
InputAuthenticationType' :: Text -> InputAuthenticationType
[fromInputAuthenticationType] :: InputAuthenticationType -> Text
pattern InputAuthenticationType_Password :: InputAuthenticationType
newtype ServiceUpdateStatus
ServiceUpdateStatus' :: Text -> ServiceUpdateStatus
[fromServiceUpdateStatus] :: ServiceUpdateStatus -> Text
pattern ServiceUpdateStatus_Available :: ServiceUpdateStatus
pattern ServiceUpdateStatus_Complete :: ServiceUpdateStatus
pattern ServiceUpdateStatus_In_progress :: ServiceUpdateStatus
pattern ServiceUpdateStatus_Scheduled :: ServiceUpdateStatus
newtype ServiceUpdateType
ServiceUpdateType' :: Text -> ServiceUpdateType
[fromServiceUpdateType] :: ServiceUpdateType -> Text
pattern ServiceUpdateType_Security_update :: ServiceUpdateType
newtype SourceType
SourceType' :: Text -> SourceType
[fromSourceType] :: SourceType -> Text
pattern SourceType_Acl :: SourceType
pattern SourceType_Cluster :: SourceType
pattern SourceType_Node :: SourceType
pattern SourceType_Parameter_group :: SourceType
pattern SourceType_Subnet_group :: SourceType
pattern SourceType_User :: SourceType
-- | An Access Control List. You can authenticate users with Access Contol
-- Lists. ACLs enable you to control cluster access by grouping users.
-- These Access control lists are designed as a way to organize access to
-- clusters.
--
-- See: newACL smart constructor.
data ACL
ACL' :: Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe ACLPendingChanges -> Maybe Text -> Maybe [Text] -> ACL
-- | The Amazon Resource Name (ARN) of the ACL
[$sel:arn:ACL'] :: ACL -> Maybe Text
-- | A list of clusters associated with the ACL.
[$sel:clusters:ACL'] :: ACL -> Maybe [Text]
-- | The minimum engine version supported for the ACL
[$sel:minimumEngineVersion:ACL'] :: ACL -> Maybe Text
-- | The name of the Access Control List
[$sel:name:ACL'] :: ACL -> Maybe Text
-- | A list of updates being applied to the ACL.
[$sel:pendingChanges:ACL'] :: ACL -> Maybe ACLPendingChanges
-- | Indicates ACL status. Can be "creating", "active", "modifying",
-- "deleting".
[$sel:status:ACL'] :: ACL -> Maybe Text
-- | The list of user names that belong to the ACL.
[$sel:userNames:ACL'] :: ACL -> Maybe [Text]
-- | Create a value of ACL with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:ACL', acl_arn - The Amazon Resource Name (ARN)
-- of the ACL
--
-- $sel:clusters:ACL', acl_clusters - A list of clusters
-- associated with the ACL.
--
-- $sel:minimumEngineVersion:ACL', acl_minimumEngineVersion
-- - The minimum engine version supported for the ACL
--
-- $sel:name:ACL', acl_name - The name of the Access
-- Control List
--
-- $sel:pendingChanges:ACL', acl_pendingChanges - A list of
-- updates being applied to the ACL.
--
-- $sel:status:ACL', acl_status - Indicates ACL status. Can
-- be "creating", "active", "modifying", "deleting".
--
-- $sel:userNames:ACL', acl_userNames - The list of user
-- names that belong to the ACL.
newACL :: ACL
-- | The Amazon Resource Name (ARN) of the ACL
acl_arn :: Lens' ACL (Maybe Text)
-- | A list of clusters associated with the ACL.
acl_clusters :: Lens' ACL (Maybe [Text])
-- | The minimum engine version supported for the ACL
acl_minimumEngineVersion :: Lens' ACL (Maybe Text)
-- | The name of the Access Control List
acl_name :: Lens' ACL (Maybe Text)
-- | A list of updates being applied to the ACL.
acl_pendingChanges :: Lens' ACL (Maybe ACLPendingChanges)
-- | Indicates ACL status. Can be "creating", "active", "modifying",
-- "deleting".
acl_status :: Lens' ACL (Maybe Text)
-- | The list of user names that belong to the ACL.
acl_userNames :: Lens' ACL (Maybe [Text])
-- | Returns the updates being applied to the ACL.
--
-- See: newACLPendingChanges smart constructor.
data ACLPendingChanges
ACLPendingChanges' :: Maybe [Text] -> Maybe [Text] -> ACLPendingChanges
-- | A list of users being added to the ACL
[$sel:userNamesToAdd:ACLPendingChanges'] :: ACLPendingChanges -> Maybe [Text]
-- | A list of user names being removed from the ACL
[$sel:userNamesToRemove:ACLPendingChanges'] :: ACLPendingChanges -> Maybe [Text]
-- | Create a value of ACLPendingChanges with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:userNamesToAdd:ACLPendingChanges',
-- aCLPendingChanges_userNamesToAdd - A list of users being added
-- to the ACL
--
-- $sel:userNamesToRemove:ACLPendingChanges',
-- aCLPendingChanges_userNamesToRemove - A list of user names
-- being removed from the ACL
newACLPendingChanges :: ACLPendingChanges
-- | A list of users being added to the ACL
aCLPendingChanges_userNamesToAdd :: Lens' ACLPendingChanges (Maybe [Text])
-- | A list of user names being removed from the ACL
aCLPendingChanges_userNamesToRemove :: Lens' ACLPendingChanges (Maybe [Text])
-- | The status of the ACL update
--
-- See: newACLsUpdateStatus smart constructor.
data ACLsUpdateStatus
ACLsUpdateStatus' :: Maybe Text -> ACLsUpdateStatus
-- | A list of ACLs pending to be applied.
[$sel:aCLToApply:ACLsUpdateStatus'] :: ACLsUpdateStatus -> Maybe Text
-- | Create a value of ACLsUpdateStatus with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCLToApply:ACLsUpdateStatus',
-- aCLsUpdateStatus_aCLToApply - A list of ACLs pending to be
-- applied.
newACLsUpdateStatus :: ACLsUpdateStatus
-- | A list of ACLs pending to be applied.
aCLsUpdateStatus_aCLToApply :: Lens' ACLsUpdateStatus (Maybe Text)
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate. Used in output responses.
--
-- See: newAuthentication smart constructor.
data Authentication
Authentication' :: Maybe Int -> Maybe AuthenticationType -> Authentication
-- | The number of passwords belonging to the user. The maximum is two.
[$sel:passwordCount:Authentication'] :: Authentication -> Maybe Int
-- | Indicates whether the user requires a password to authenticate.
[$sel:type':Authentication'] :: Authentication -> Maybe AuthenticationType
-- | Create a value of Authentication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:passwordCount:Authentication',
-- authentication_passwordCount - The number of passwords
-- belonging to the user. The maximum is two.
--
-- $sel:type':Authentication', authentication_type -
-- Indicates whether the user requires a password to authenticate.
newAuthentication :: Authentication
-- | The number of passwords belonging to the user. The maximum is two.
authentication_passwordCount :: Lens' Authentication (Maybe Int)
-- | Indicates whether the user requires a password to authenticate.
authentication_type :: Lens' Authentication (Maybe AuthenticationType)
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate. Used in output responses.
--
-- See: newAuthenticationMode smart constructor.
data AuthenticationMode
AuthenticationMode' :: Maybe (NonEmpty Text) -> Maybe InputAuthenticationType -> AuthenticationMode
-- | The password(s) used for authentication
[$sel:passwords:AuthenticationMode'] :: AuthenticationMode -> Maybe (NonEmpty Text)
-- | Indicates whether the user requires a password to authenticate. All
-- newly-created users require a password.
[$sel:type':AuthenticationMode'] :: AuthenticationMode -> Maybe InputAuthenticationType
-- | Create a value of AuthenticationMode with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:passwords:AuthenticationMode',
-- authenticationMode_passwords - The password(s) used for
-- authentication
--
-- $sel:type':AuthenticationMode', authenticationMode_type
-- - Indicates whether the user requires a password to authenticate. All
-- newly-created users require a password.
newAuthenticationMode :: AuthenticationMode
-- | The password(s) used for authentication
authenticationMode_passwords :: Lens' AuthenticationMode (Maybe (NonEmpty Text))
-- | Indicates whether the user requires a password to authenticate. All
-- newly-created users require a password.
authenticationMode_type :: Lens' AuthenticationMode (Maybe InputAuthenticationType)
-- | Indicates if the cluster has a Multi-AZ configuration (multiaz) or not
-- (singleaz).
--
-- See: newAvailabilityZone smart constructor.
data AvailabilityZone
AvailabilityZone' :: Maybe Text -> AvailabilityZone
-- | The name of the Availability Zone.
[$sel:name:AvailabilityZone'] :: AvailabilityZone -> Maybe Text
-- | 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:
--
-- $sel:name:AvailabilityZone', availabilityZone_name - The
-- name of the Availability Zone.
newAvailabilityZone :: AvailabilityZone
-- | The name of the Availability Zone.
availabilityZone_name :: Lens' AvailabilityZone (Maybe Text)
-- | Contains all of the attributes of a specific cluster.
--
-- See: newCluster smart constructor.
data Cluster
Cluster' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe AZStatus -> Maybe Endpoint -> Maybe DataTieringStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ClusterPendingUpdates -> Maybe [SecurityGroupMembership] -> Maybe [Shard] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Cluster
-- | The name of the Access Control List associated with this cluster.
[$sel:aCLName:Cluster'] :: Cluster -> Maybe Text
-- | The Amazon Resource Name (ARN) of the cluster.
[$sel:arn:Cluster'] :: Cluster -> Maybe Text
-- | When set to true, the cluster will automatically receive minor engine
-- version upgrades after launch.
[$sel:autoMinorVersionUpgrade:Cluster'] :: Cluster -> Maybe Bool
-- | Indicates if the cluster has a Multi-AZ configuration (multiaz) or not
-- (singleaz).
[$sel:availabilityMode:Cluster'] :: Cluster -> Maybe AZStatus
-- | The cluster's configuration endpoint
[$sel:clusterEndpoint:Cluster'] :: Cluster -> Maybe Endpoint
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
[$sel:dataTiering:Cluster'] :: Cluster -> Maybe DataTieringStatus
-- | A description of the cluster
[$sel:description:Cluster'] :: Cluster -> Maybe Text
-- | The Redis engine patch version used by the cluster
[$sel:enginePatchVersion:Cluster'] :: Cluster -> Maybe Text
-- | The Redis engine version used by the cluster
[$sel:engineVersion:Cluster'] :: Cluster -> Maybe Text
-- | The ID of the KMS key used to encrypt the cluster
[$sel:kmsKeyId:Cluster'] :: Cluster -> Maybe Text
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
[$sel:maintenanceWindow:Cluster'] :: Cluster -> Maybe Text
-- | The user-supplied name of the cluster. This identifier is a unique key
-- that identifies a cluster.
[$sel:name:Cluster'] :: Cluster -> Maybe Text
-- | The cluster's node type
[$sel:nodeType:Cluster'] :: Cluster -> Maybe Text
-- | The number of shards in the cluster
[$sel:numberOfShards:Cluster'] :: Cluster -> Maybe Int
-- | The name of the parameter group used by the cluster
[$sel:parameterGroupName:Cluster'] :: Cluster -> Maybe Text
-- | The status of the parameter group used by the cluster, for example
-- 'active' or 'applying'.
[$sel:parameterGroupStatus:Cluster'] :: Cluster -> Maybe Text
-- | A group of settings that are currently being applied.
[$sel:pendingUpdates:Cluster'] :: Cluster -> Maybe ClusterPendingUpdates
-- | A list of security groups used by the cluster
[$sel:securityGroups:Cluster'] :: Cluster -> Maybe [SecurityGroupMembership]
-- | A list of shards that are members of the cluster.
[$sel:shards:Cluster'] :: Cluster -> Maybe [Shard]
-- | The number of days for which MemoryDB retains automatic snapshots
-- before deleting them. For example, if you set SnapshotRetentionLimit
-- to 5, a snapshot that was taken today is retained for 5 days before
-- being deleted.
[$sel:snapshotRetentionLimit:Cluster'] :: Cluster -> Maybe Int
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard. Example: 05:00-09:00 If you do not
-- specify this parameter, MemoryDB automatically chooses an appropriate
-- time range.
[$sel:snapshotWindow:Cluster'] :: Cluster -> Maybe Text
-- | The Amazon Resource Name (ARN) of the SNS notification topic
[$sel:snsTopicArn:Cluster'] :: Cluster -> Maybe Text
-- | The SNS topic must be in Active status to receive notifications
[$sel:snsTopicStatus:Cluster'] :: Cluster -> Maybe Text
-- | The status of the cluster. For example, Available, Updating, Creating.
[$sel:status:Cluster'] :: Cluster -> Maybe Text
-- | The name of the subnet group used by the cluster
[$sel:subnetGroupName:Cluster'] :: Cluster -> Maybe Text
-- | A flag to indicate if In-transit encryption is enabled
[$sel:tLSEnabled:Cluster'] :: Cluster -> Maybe Bool
-- | 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:aCLName:Cluster', cluster_aCLName - The name of the
-- Access Control List associated with this cluster.
--
-- $sel:arn:Cluster', cluster_arn - The Amazon Resource
-- Name (ARN) of the cluster.
--
-- $sel:autoMinorVersionUpgrade:Cluster',
-- cluster_autoMinorVersionUpgrade - When set to true, the cluster
-- will automatically receive minor engine version upgrades after launch.
--
-- $sel:availabilityMode:Cluster', cluster_availabilityMode
-- - Indicates if the cluster has a Multi-AZ configuration (multiaz) or
-- not (singleaz).
--
-- $sel:clusterEndpoint:Cluster', cluster_clusterEndpoint -
-- The cluster's configuration endpoint
--
-- $sel:dataTiering:Cluster', cluster_dataTiering - Enables
-- data tiering. Data tiering is only supported for clusters using the
-- r6gd node type. This parameter must be set when using r6gd nodes. For
-- more information, see Data tiering.
--
-- $sel:description:Cluster', cluster_description - A
-- description of the cluster
--
-- $sel:enginePatchVersion:Cluster',
-- cluster_enginePatchVersion - The Redis engine patch version
-- used by the cluster
--
-- $sel:engineVersion:Cluster', cluster_engineVersion - The
-- Redis engine version used by the cluster
--
-- $sel:kmsKeyId:Cluster', cluster_kmsKeyId - The ID of the
-- KMS key used to encrypt the cluster
--
-- $sel:maintenanceWindow:Cluster',
-- cluster_maintenanceWindow - Specifies the weekly time range
-- during which maintenance on the cluster is performed. It is specified
-- as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The
-- minimum maintenance window is a 60 minute period.
--
-- Cluster, cluster_name - The user-supplied name of the
-- cluster. This identifier is a unique key that identifies a cluster.
--
-- $sel:nodeType:Cluster', cluster_nodeType - The cluster's
-- node type
--
-- $sel:numberOfShards:Cluster', cluster_numberOfShards -
-- The number of shards in the cluster
--
-- $sel:parameterGroupName:Cluster',
-- cluster_parameterGroupName - The name of the parameter group
-- used by the cluster
--
-- $sel:parameterGroupStatus:Cluster',
-- cluster_parameterGroupStatus - The status of the parameter
-- group used by the cluster, for example 'active' or 'applying'.
--
-- $sel:pendingUpdates:Cluster', cluster_pendingUpdates - A
-- group of settings that are currently being applied.
--
-- $sel:securityGroups:Cluster', cluster_securityGroups - A
-- list of security groups used by the cluster
--
-- $sel:shards:Cluster', cluster_shards - A list of shards
-- that are members of the cluster.
--
-- $sel:snapshotRetentionLimit:Cluster',
-- cluster_snapshotRetentionLimit - The number of days for which
-- MemoryDB retains automatic snapshots before deleting them. For
-- example, if you set SnapshotRetentionLimit to 5, a snapshot that was
-- taken today is retained for 5 days before being deleted.
--
-- $sel:snapshotWindow:Cluster', cluster_snapshotWindow -
-- The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard. Example: 05:00-09:00 If you do not
-- specify this parameter, MemoryDB automatically chooses an appropriate
-- time range.
--
-- $sel:snsTopicArn:Cluster', cluster_snsTopicArn - The
-- Amazon Resource Name (ARN) of the SNS notification topic
--
-- $sel:snsTopicStatus:Cluster', cluster_snsTopicStatus -
-- The SNS topic must be in Active status to receive notifications
--
-- Cluster, cluster_status - The status of the cluster. For
-- example, Available, Updating, Creating.
--
-- $sel:subnetGroupName:Cluster', cluster_subnetGroupName -
-- The name of the subnet group used by the cluster
--
-- $sel:tLSEnabled:Cluster', cluster_tLSEnabled - A flag to
-- indicate if In-transit encryption is enabled
newCluster :: Cluster
-- | The name of the Access Control List associated with this cluster.
cluster_aCLName :: Lens' Cluster (Maybe Text)
-- | The Amazon Resource Name (ARN) of the cluster.
cluster_arn :: Lens' Cluster (Maybe Text)
-- | When set to true, the cluster will automatically receive minor engine
-- version upgrades after launch.
cluster_autoMinorVersionUpgrade :: Lens' Cluster (Maybe Bool)
-- | Indicates if the cluster has a Multi-AZ configuration (multiaz) or not
-- (singleaz).
cluster_availabilityMode :: Lens' Cluster (Maybe AZStatus)
-- | The cluster's configuration endpoint
cluster_clusterEndpoint :: Lens' Cluster (Maybe Endpoint)
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
cluster_dataTiering :: Lens' Cluster (Maybe DataTieringStatus)
-- | A description of the cluster
cluster_description :: Lens' Cluster (Maybe Text)
-- | The Redis engine patch version used by the cluster
cluster_enginePatchVersion :: Lens' Cluster (Maybe Text)
-- | The Redis engine version used by the cluster
cluster_engineVersion :: Lens' Cluster (Maybe Text)
-- | The ID of the KMS key used to encrypt the cluster
cluster_kmsKeyId :: Lens' Cluster (Maybe Text)
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
cluster_maintenanceWindow :: Lens' Cluster (Maybe Text)
-- | The user-supplied name of the cluster. This identifier is a unique key
-- that identifies a cluster.
cluster_name :: Lens' Cluster (Maybe Text)
-- | The cluster's node type
cluster_nodeType :: Lens' Cluster (Maybe Text)
-- | The number of shards in the cluster
cluster_numberOfShards :: Lens' Cluster (Maybe Int)
-- | The name of the parameter group used by the cluster
cluster_parameterGroupName :: Lens' Cluster (Maybe Text)
-- | The status of the parameter group used by the cluster, for example
-- 'active' or 'applying'.
cluster_parameterGroupStatus :: Lens' Cluster (Maybe Text)
-- | A group of settings that are currently being applied.
cluster_pendingUpdates :: Lens' Cluster (Maybe ClusterPendingUpdates)
-- | A list of security groups used by the cluster
cluster_securityGroups :: Lens' Cluster (Maybe [SecurityGroupMembership])
-- | A list of shards that are members of the cluster.
cluster_shards :: Lens' Cluster (Maybe [Shard])
-- | The number of days for which MemoryDB retains automatic snapshots
-- before deleting them. For example, if you set SnapshotRetentionLimit
-- to 5, a snapshot that was taken today is retained for 5 days before
-- being deleted.
cluster_snapshotRetentionLimit :: Lens' Cluster (Maybe Int)
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard. Example: 05:00-09:00 If you do not
-- specify this parameter, MemoryDB automatically chooses an appropriate
-- time range.
cluster_snapshotWindow :: Lens' Cluster (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SNS notification topic
cluster_snsTopicArn :: Lens' Cluster (Maybe Text)
-- | The SNS topic must be in Active status to receive notifications
cluster_snsTopicStatus :: Lens' Cluster (Maybe Text)
-- | The status of the cluster. For example, Available, Updating, Creating.
cluster_status :: Lens' Cluster (Maybe Text)
-- | The name of the subnet group used by the cluster
cluster_subnetGroupName :: Lens' Cluster (Maybe Text)
-- | A flag to indicate if In-transit encryption is enabled
cluster_tLSEnabled :: Lens' Cluster (Maybe Bool)
-- | A list of cluster configuration options.
--
-- See: newClusterConfiguration smart constructor.
data ClusterConfiguration
ClusterConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe [ShardDetail] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ClusterConfiguration
-- | The description of the cluster configuration
[$sel:description:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The Redis engine version used by the cluster
[$sel:engineVersion:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The specified maintenance window for the cluster
[$sel:maintenanceWindow:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The name of the cluster
[$sel:name:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The node type used for the cluster
[$sel:nodeType:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The number of shards in the cluster
[$sel:numShards:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Int
-- | The name of parameter group used by the cluster
[$sel:parameterGroupName:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The port used by the cluster
[$sel:port:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Int
-- | The list of shards in the cluster
[$sel:shards:ClusterConfiguration'] :: ClusterConfiguration -> Maybe [ShardDetail]
-- | The snapshot retention limit set by the cluster
[$sel:snapshotRetentionLimit:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Int
-- | The snapshot window set by the cluster
[$sel:snapshotWindow:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The name of the subnet group used by the cluster
[$sel:subnetGroupName:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The Amazon Resource Name (ARN) of the SNS notification topic for the
-- cluster
[$sel:topicArn:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | The ID of the VPC the cluster belongs to
[$sel:vpcId:ClusterConfiguration'] :: ClusterConfiguration -> Maybe Text
-- | Create a value of ClusterConfiguration with all optional fields
-- omitted.
--
-- Use 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:ClusterConfiguration',
-- clusterConfiguration_description - The description of the
-- cluster configuration
--
-- $sel:engineVersion:ClusterConfiguration',
-- clusterConfiguration_engineVersion - The Redis engine version
-- used by the cluster
--
-- $sel:maintenanceWindow:ClusterConfiguration',
-- clusterConfiguration_maintenanceWindow - The specified
-- maintenance window for the cluster
--
-- ClusterConfiguration, clusterConfiguration_name - The
-- name of the cluster
--
-- $sel:nodeType:ClusterConfiguration',
-- clusterConfiguration_nodeType - The node type used for the
-- cluster
--
-- $sel:numShards:ClusterConfiguration',
-- clusterConfiguration_numShards - The number of shards in the
-- cluster
--
-- $sel:parameterGroupName:ClusterConfiguration',
-- clusterConfiguration_parameterGroupName - The name of parameter
-- group used by the cluster
--
-- $sel:port:ClusterConfiguration',
-- clusterConfiguration_port - The port used by the cluster
--
-- $sel:shards:ClusterConfiguration',
-- clusterConfiguration_shards - The list of shards in the cluster
--
-- $sel:snapshotRetentionLimit:ClusterConfiguration',
-- clusterConfiguration_snapshotRetentionLimit - The snapshot
-- retention limit set by the cluster
--
-- $sel:snapshotWindow:ClusterConfiguration',
-- clusterConfiguration_snapshotWindow - The snapshot window set
-- by the cluster
--
-- $sel:subnetGroupName:ClusterConfiguration',
-- clusterConfiguration_subnetGroupName - The name of the subnet
-- group used by the cluster
--
-- $sel:topicArn:ClusterConfiguration',
-- clusterConfiguration_topicArn - The Amazon Resource Name (ARN)
-- of the SNS notification topic for the cluster
--
-- $sel:vpcId:ClusterConfiguration',
-- clusterConfiguration_vpcId - The ID of the VPC the cluster
-- belongs to
newClusterConfiguration :: ClusterConfiguration
-- | The description of the cluster configuration
clusterConfiguration_description :: Lens' ClusterConfiguration (Maybe Text)
-- | The Redis engine version used by the cluster
clusterConfiguration_engineVersion :: Lens' ClusterConfiguration (Maybe Text)
-- | The specified maintenance window for the cluster
clusterConfiguration_maintenanceWindow :: Lens' ClusterConfiguration (Maybe Text)
-- | The name of the cluster
clusterConfiguration_name :: Lens' ClusterConfiguration (Maybe Text)
-- | The node type used for the cluster
clusterConfiguration_nodeType :: Lens' ClusterConfiguration (Maybe Text)
-- | The number of shards in the cluster
clusterConfiguration_numShards :: Lens' ClusterConfiguration (Maybe Int)
-- | The name of parameter group used by the cluster
clusterConfiguration_parameterGroupName :: Lens' ClusterConfiguration (Maybe Text)
-- | The port used by the cluster
clusterConfiguration_port :: Lens' ClusterConfiguration (Maybe Int)
-- | The list of shards in the cluster
clusterConfiguration_shards :: Lens' ClusterConfiguration (Maybe [ShardDetail])
-- | The snapshot retention limit set by the cluster
clusterConfiguration_snapshotRetentionLimit :: Lens' ClusterConfiguration (Maybe Int)
-- | The snapshot window set by the cluster
clusterConfiguration_snapshotWindow :: Lens' ClusterConfiguration (Maybe Text)
-- | The name of the subnet group used by the cluster
clusterConfiguration_subnetGroupName :: Lens' ClusterConfiguration (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SNS notification topic for the
-- cluster
clusterConfiguration_topicArn :: Lens' ClusterConfiguration (Maybe Text)
-- | The ID of the VPC the cluster belongs to
clusterConfiguration_vpcId :: Lens' ClusterConfiguration (Maybe Text)
-- | A list of updates being applied to the cluster
--
-- See: newClusterPendingUpdates smart constructor.
data ClusterPendingUpdates
ClusterPendingUpdates' :: Maybe ACLsUpdateStatus -> Maybe ReshardingStatus -> Maybe [PendingModifiedServiceUpdate] -> ClusterPendingUpdates
-- | A list of ACLs associated with the cluster that are being updated
[$sel:aCLs:ClusterPendingUpdates'] :: ClusterPendingUpdates -> Maybe ACLsUpdateStatus
-- | The status of an online resharding operation.
[$sel:resharding:ClusterPendingUpdates'] :: ClusterPendingUpdates -> Maybe ReshardingStatus
-- | A list of service updates being applied to the cluster
[$sel:serviceUpdates:ClusterPendingUpdates'] :: ClusterPendingUpdates -> Maybe [PendingModifiedServiceUpdate]
-- | Create a value of ClusterPendingUpdates with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCLs:ClusterPendingUpdates',
-- clusterPendingUpdates_aCLs - A list of ACLs associated with the
-- cluster that are being updated
--
-- $sel:resharding:ClusterPendingUpdates',
-- clusterPendingUpdates_resharding - The status of an online
-- resharding operation.
--
-- $sel:serviceUpdates:ClusterPendingUpdates',
-- clusterPendingUpdates_serviceUpdates - A list of service
-- updates being applied to the cluster
newClusterPendingUpdates :: ClusterPendingUpdates
-- | A list of ACLs associated with the cluster that are being updated
clusterPendingUpdates_aCLs :: Lens' ClusterPendingUpdates (Maybe ACLsUpdateStatus)
-- | The status of an online resharding operation.
clusterPendingUpdates_resharding :: Lens' ClusterPendingUpdates (Maybe ReshardingStatus)
-- | A list of service updates being applied to the cluster
clusterPendingUpdates_serviceUpdates :: Lens' ClusterPendingUpdates (Maybe [PendingModifiedServiceUpdate])
-- | Represents the information required for client programs to connect to
-- the cluster and its nodes.
--
-- See: newEndpoint smart constructor.
data Endpoint
Endpoint' :: Maybe Text -> Maybe Int -> Endpoint
-- | The DNS hostname of the node.
[$sel:address:Endpoint'] :: Endpoint -> Maybe Text
-- | The port number that the engine is listening on.
[$sel:port:Endpoint'] :: Endpoint -> Maybe Int
-- | 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
-- hostname of the node.
--
-- $sel:port:Endpoint', endpoint_port - The port number
-- that the engine is listening on.
newEndpoint :: Endpoint
-- | The DNS hostname of the node.
endpoint_address :: Lens' Endpoint (Maybe Text)
-- | The port number that the engine is listening on.
endpoint_port :: Lens' Endpoint (Maybe Int)
-- | Provides details of the Redis engine version
--
-- See: newEngineVersionInfo smart constructor.
data EngineVersionInfo
EngineVersionInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> EngineVersionInfo
-- | The patched engine version
[$sel:enginePatchVersion:EngineVersionInfo'] :: EngineVersionInfo -> Maybe Text
-- | The engine version
[$sel:engineVersion:EngineVersionInfo'] :: EngineVersionInfo -> Maybe Text
-- | Specifies the name of the parameter group family to which the engine
-- default parameters apply.
[$sel:parameterGroupFamily:EngineVersionInfo'] :: EngineVersionInfo -> Maybe Text
-- | Create a value of EngineVersionInfo with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enginePatchVersion:EngineVersionInfo',
-- engineVersionInfo_enginePatchVersion - The patched engine
-- version
--
-- $sel:engineVersion:EngineVersionInfo',
-- engineVersionInfo_engineVersion - The engine version
--
-- $sel:parameterGroupFamily:EngineVersionInfo',
-- engineVersionInfo_parameterGroupFamily - Specifies the name of
-- the parameter group family to which the engine default parameters
-- apply.
newEngineVersionInfo :: EngineVersionInfo
-- | The patched engine version
engineVersionInfo_enginePatchVersion :: Lens' EngineVersionInfo (Maybe Text)
-- | The engine version
engineVersionInfo_engineVersion :: Lens' EngineVersionInfo (Maybe Text)
-- | Specifies the name of the parameter group family to which the engine
-- default parameters apply.
engineVersionInfo_parameterGroupFamily :: Lens' EngineVersionInfo (Maybe Text)
-- | Represents a single occurrence of something interesting within the
-- system. Some examples of events are creating a cluster or adding or
-- removing a node.
--
-- See: newEvent smart constructor.
data Event
Event' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe SourceType -> Event
-- | The date and time when the event occurred.
[$sel:date:Event'] :: Event -> Maybe POSIX
-- | The text of the event.
[$sel:message:Event'] :: Event -> Maybe Text
-- | The name for the source of the event. For example, if the event
-- occurred at the cluster level, the identifier would be the name of the
-- cluster.
[$sel:sourceName:Event'] :: Event -> Maybe Text
-- | Specifies the origin of this event - a cluster, a parameter group, a
-- security group, etc.
[$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 when
-- the event occurred.
--
-- $sel:message:Event', event_message - The text of the
-- event.
--
-- $sel:sourceName:Event', event_sourceName - The name for
-- the source of the event. For example, if the event occurred at the
-- cluster level, the identifier would be the name of the cluster.
--
-- $sel:sourceType:Event', event_sourceType - Specifies the
-- origin of this event - a cluster, a parameter group, a security group,
-- etc.
newEvent :: Event
-- | The date and time when the event occurred.
event_date :: Lens' Event (Maybe UTCTime)
-- | The text of the event.
event_message :: Lens' Event (Maybe Text)
-- | The name for the source of the event. For example, if the event
-- occurred at the cluster level, the identifier would be the name of the
-- cluster.
event_sourceName :: Lens' Event (Maybe Text)
-- | Specifies the origin of this event - a cluster, a parameter group, a
-- security group, etc.
event_sourceType :: Lens' Event (Maybe SourceType)
-- | Used to streamline results of a search based on the property being
-- filtered.
--
-- See: newFilter smart constructor.
data Filter
Filter' :: Text -> NonEmpty Text -> Filter
-- | The property being filtered. For example, UserName.
[$sel:name:Filter'] :: Filter -> Text
-- | The property values to filter on. For example, "user-123".
[$sel:values:Filter'] :: Filter -> NonEmpty Text
-- | Create a value of Filter with all optional fields omitted.
--
-- Use 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:Filter', filter_name - The property being
-- filtered. For example, UserName.
--
-- $sel:values:Filter', filter_values - The property values
-- to filter on. For example, "user-123".
newFilter :: Text -> NonEmpty Text -> Filter
-- | The property being filtered. For example, UserName.
filter_name :: Lens' Filter Text
-- | The property values to filter on. For example, "user-123".
filter_values :: Lens' Filter (NonEmpty Text)
-- | Represents an individual node within a cluster. Each node runs its own
-- instance of the cluster's protocol-compliant caching software.
--
-- See: newNode smart constructor.
data Node
Node' :: Maybe Text -> Maybe POSIX -> Maybe Endpoint -> Maybe Text -> Maybe Text -> Node
-- | The Availability Zone in which the node resides
[$sel:availabilityZone:Node'] :: Node -> Maybe Text
-- | The date and time when the node was created.
[$sel:createTime:Node'] :: Node -> Maybe POSIX
-- | The hostname for connecting to this node.
[$sel:endpoint:Node'] :: Node -> Maybe Endpoint
-- | The node identifier. A node name is a numeric identifier (0001, 0002,
-- etc.). The combination of cluster name, shard name and node name
-- uniquely identifies every node used in a customer's Amazon account.
[$sel:name:Node'] :: Node -> Maybe Text
-- | The status of the service update on the node
[$sel:status:Node'] :: Node -> Maybe Text
-- | Create a value of Node with all optional fields omitted.
--
-- Use 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:Node', node_availabilityZone - The
-- Availability Zone in which the node resides
--
-- $sel:createTime:Node', node_createTime - The date and
-- time when the node was created.
--
-- $sel:endpoint:Node', node_endpoint - The hostname for
-- connecting to this node.
--
-- $sel:name:Node', node_name - The node identifier. A node
-- name is a numeric identifier (0001, 0002, etc.). The combination of
-- cluster name, shard name and node name uniquely identifies every node
-- used in a customer's Amazon account.
--
-- $sel:status:Node', node_status - The status of the
-- service update on the node
newNode :: Node
-- | The Availability Zone in which the node resides
node_availabilityZone :: Lens' Node (Maybe Text)
-- | The date and time when the node was created.
node_createTime :: Lens' Node (Maybe UTCTime)
-- | The hostname for connecting to this node.
node_endpoint :: Lens' Node (Maybe Endpoint)
-- | The node identifier. A node name is a numeric identifier (0001, 0002,
-- etc.). The combination of cluster name, shard name and node name
-- uniquely identifies every node used in a customer's Amazon account.
node_name :: Lens' Node (Maybe Text)
-- | The status of the service update on the node
node_status :: Lens' Node (Maybe Text)
-- | Describes an individual setting that controls some aspect of MemoryDB
-- behavior.
--
-- See: newParameter smart constructor.
data Parameter
Parameter' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Parameter
-- | The valid range of values for the parameter.
[$sel:allowedValues:Parameter'] :: Parameter -> Maybe Text
-- | The parameter's data type
[$sel:dataType:Parameter'] :: Parameter -> Maybe Text
-- | A description of the parameter
[$sel:description:Parameter'] :: Parameter -> Maybe Text
-- | The earliest engine version to which the parameter can apply.
[$sel:minimumEngineVersion:Parameter'] :: Parameter -> Maybe Text
-- | The name of the parameter
[$sel:name:Parameter'] :: Parameter -> Maybe Text
-- | The value of the parameter
[$sel:value: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:dataType:Parameter', parameter_dataType - The
-- parameter's data type
--
-- $sel:description:Parameter', parameter_description - A
-- description of the parameter
--
-- $sel:minimumEngineVersion:Parameter',
-- parameter_minimumEngineVersion - The earliest engine version to
-- which the parameter can apply.
--
-- $sel:name:Parameter', parameter_name - The name of the
-- parameter
--
-- $sel:value:Parameter', parameter_value - The value of
-- the parameter
newParameter :: Parameter
-- | The valid range of values for the parameter.
parameter_allowedValues :: Lens' Parameter (Maybe Text)
-- | The parameter's data type
parameter_dataType :: Lens' Parameter (Maybe Text)
-- | A description of the parameter
parameter_description :: Lens' Parameter (Maybe Text)
-- | The earliest engine version to which the parameter can apply.
parameter_minimumEngineVersion :: Lens' Parameter (Maybe Text)
-- | The name of the parameter
parameter_name :: Lens' Parameter (Maybe Text)
-- | The value of the parameter
parameter_value :: Lens' Parameter (Maybe Text)
-- | Represents the output of a CreateParameterGroup operation. A parameter
-- group represents a combination of specific values for the parameters
-- that are passed to the engine software during startup.
--
-- See: newParameterGroup smart constructor.
data ParameterGroup
ParameterGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ParameterGroup
-- | The Amazon Resource Name (ARN) of the parameter group
[$sel:arn:ParameterGroup'] :: ParameterGroup -> Maybe Text
-- | A description of the parameter group
[$sel:description:ParameterGroup'] :: ParameterGroup -> Maybe Text
-- | The name of the parameter group family that this parameter group is
-- compatible with.
[$sel:family:ParameterGroup'] :: ParameterGroup -> Maybe Text
-- | The name of the parameter group
[$sel:name:ParameterGroup'] :: ParameterGroup -> Maybe Text
-- | Create a value of ParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:ParameterGroup', parameterGroup_arn - The
-- Amazon Resource Name (ARN) of the parameter group
--
-- $sel:description:ParameterGroup',
-- parameterGroup_description - A description of the parameter
-- group
--
-- $sel:family:ParameterGroup', parameterGroup_family - The
-- name of the parameter group family that this parameter group is
-- compatible with.
--
-- $sel:name:ParameterGroup', parameterGroup_name - The
-- name of the parameter group
newParameterGroup :: ParameterGroup
-- | The Amazon Resource Name (ARN) of the parameter group
parameterGroup_arn :: Lens' ParameterGroup (Maybe Text)
-- | A description of the parameter group
parameterGroup_description :: Lens' ParameterGroup (Maybe Text)
-- | The name of the parameter group family that this parameter group is
-- compatible with.
parameterGroup_family :: Lens' ParameterGroup (Maybe Text)
-- | The name of the parameter group
parameterGroup_name :: Lens' ParameterGroup (Maybe Text)
-- | Describes a name-value pair that is used to update the value of a
-- parameter.
--
-- See: newParameterNameValue smart constructor.
data ParameterNameValue
ParameterNameValue' :: Maybe Text -> Maybe Text -> ParameterNameValue
-- | The name of the parameter
[$sel:parameterName:ParameterNameValue'] :: ParameterNameValue -> Maybe Text
-- | The value of the parameter
[$sel:parameterValue:ParameterNameValue'] :: ParameterNameValue -> Maybe Text
-- | Create a value of ParameterNameValue with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterName:ParameterNameValue',
-- parameterNameValue_parameterName - The name of the parameter
--
-- $sel:parameterValue:ParameterNameValue',
-- parameterNameValue_parameterValue - The value of the parameter
newParameterNameValue :: ParameterNameValue
-- | The name of the parameter
parameterNameValue_parameterName :: Lens' ParameterNameValue (Maybe Text)
-- | The value of the parameter
parameterNameValue_parameterValue :: Lens' ParameterNameValue (Maybe Text)
-- | Update action that has yet to be processed for the corresponding
-- apply/stop request
--
-- See: newPendingModifiedServiceUpdate smart constructor.
data PendingModifiedServiceUpdate
PendingModifiedServiceUpdate' :: Maybe Text -> Maybe ServiceUpdateStatus -> PendingModifiedServiceUpdate
-- | The unique ID of the service update
[$sel:serviceUpdateName:PendingModifiedServiceUpdate'] :: PendingModifiedServiceUpdate -> Maybe Text
-- | The status of the service update
[$sel:status:PendingModifiedServiceUpdate'] :: PendingModifiedServiceUpdate -> Maybe ServiceUpdateStatus
-- | Create a value of PendingModifiedServiceUpdate with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceUpdateName:PendingModifiedServiceUpdate',
-- pendingModifiedServiceUpdate_serviceUpdateName - The unique ID
-- of the service update
--
-- $sel:status:PendingModifiedServiceUpdate',
-- pendingModifiedServiceUpdate_status - The status of the service
-- update
newPendingModifiedServiceUpdate :: PendingModifiedServiceUpdate
-- | The unique ID of the service update
pendingModifiedServiceUpdate_serviceUpdateName :: Lens' PendingModifiedServiceUpdate (Maybe Text)
-- | The status of the service update
pendingModifiedServiceUpdate_status :: Lens' PendingModifiedServiceUpdate (Maybe ServiceUpdateStatus)
-- | The recurring charge to run this reserved node.
--
-- See: newRecurringCharge smart constructor.
data RecurringCharge
RecurringCharge' :: Maybe Double -> Maybe Text -> RecurringCharge
-- | The amount of the recurring charge to run this reserved node.
[$sel:recurringChargeAmount:RecurringCharge'] :: RecurringCharge -> Maybe Double
-- | The frequency of the recurring price charged to run this reserved
-- node.
[$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 of the
-- recurring charge to run this reserved node.
--
-- $sel:recurringChargeFrequency:RecurringCharge',
-- recurringCharge_recurringChargeFrequency - The frequency of the
-- recurring price charged to run this reserved node.
newRecurringCharge :: RecurringCharge
-- | The amount of the recurring charge to run this reserved node.
recurringCharge_recurringChargeAmount :: Lens' RecurringCharge (Maybe Double)
-- | The frequency of the recurring price charged to run this reserved
-- node.
recurringCharge_recurringChargeFrequency :: Lens' RecurringCharge (Maybe Text)
-- | A request to configure the number of replicas in a shard
--
-- See: newReplicaConfigurationRequest smart constructor.
data ReplicaConfigurationRequest
ReplicaConfigurationRequest' :: Maybe Int -> ReplicaConfigurationRequest
-- | The number of replicas to scale up or down to
[$sel:replicaCount:ReplicaConfigurationRequest'] :: ReplicaConfigurationRequest -> Maybe Int
-- | Create a value of ReplicaConfigurationRequest with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:replicaCount:ReplicaConfigurationRequest',
-- replicaConfigurationRequest_replicaCount - The number of
-- replicas to scale up or down to
newReplicaConfigurationRequest :: ReplicaConfigurationRequest
-- | The number of replicas to scale up or down to
replicaConfigurationRequest_replicaCount :: Lens' ReplicaConfigurationRequest (Maybe Int)
-- | Represents the output of a PurchaseReservedNodesOffering
-- operation.
--
-- 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 POSIX -> Maybe Text -> ReservedNode
-- | The Amazon Resource Name (ARN) of the reserved node.
[$sel:arn:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The duration of the reservation in seconds.
[$sel:duration:ReservedNode'] :: ReservedNode -> Maybe Int
-- | The fixed price charged for this reserved node.
[$sel:fixedPrice:ReservedNode'] :: ReservedNode -> Maybe Double
-- | The number of nodes that have been reserved.
[$sel:nodeCount:ReservedNode'] :: ReservedNode -> Maybe Int
-- | The node type for the reserved nodes.
[$sel:nodeType:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The offering type of this reserved node.
[$sel:offeringType:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The recurring price charged to run this reserved node.
[$sel:recurringCharges:ReservedNode'] :: ReservedNode -> Maybe [RecurringCharge]
-- | A customer-specified identifier to track this reservation.
[$sel:reservationId:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The ID of the reserved node offering to purchase.
[$sel:reservedNodesOfferingId:ReservedNode'] :: ReservedNode -> Maybe Text
-- | The time the reservation started.
[$sel:startTime:ReservedNode'] :: ReservedNode -> Maybe POSIX
-- | The state of the reserved node.
[$sel:state:ReservedNode'] :: ReservedNode -> Maybe Text
-- | 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:arn:ReservedNode', reservedNode_arn - The Amazon
-- Resource Name (ARN) of the reserved node.
--
-- $sel:duration:ReservedNode', reservedNode_duration - The
-- duration of the reservation in seconds.
--
-- $sel:fixedPrice:ReservedNode', reservedNode_fixedPrice -
-- The fixed price charged for this reserved node.
--
-- $sel:nodeCount:ReservedNode', reservedNode_nodeCount -
-- The number of nodes that have been reserved.
--
-- $sel:nodeType:ReservedNode', reservedNode_nodeType - The
-- node type for the reserved nodes.
--
-- $sel:offeringType:ReservedNode',
-- reservedNode_offeringType - The offering type of this reserved
-- node.
--
-- $sel:recurringCharges:ReservedNode',
-- reservedNode_recurringCharges - The recurring price charged to
-- run this reserved node.
--
-- $sel:reservationId:ReservedNode',
-- reservedNode_reservationId - A customer-specified identifier to
-- track this reservation.
--
-- $sel:reservedNodesOfferingId:ReservedNode',
-- reservedNode_reservedNodesOfferingId - The ID of the reserved
-- node offering to purchase.
--
-- $sel:startTime:ReservedNode', reservedNode_startTime -
-- The time the reservation started.
--
-- $sel:state:ReservedNode', reservedNode_state - The state
-- of the reserved node.
newReservedNode :: ReservedNode
-- | The Amazon Resource Name (ARN) of the reserved node.
reservedNode_arn :: Lens' ReservedNode (Maybe Text)
-- | The duration of the reservation in seconds.
reservedNode_duration :: Lens' ReservedNode (Maybe Int)
-- | The fixed price charged for this reserved node.
reservedNode_fixedPrice :: Lens' ReservedNode (Maybe Double)
-- | The number of nodes that have been reserved.
reservedNode_nodeCount :: Lens' ReservedNode (Maybe Int)
-- | The node type for the reserved nodes.
reservedNode_nodeType :: Lens' ReservedNode (Maybe Text)
-- | The offering type of this reserved node.
reservedNode_offeringType :: Lens' ReservedNode (Maybe Text)
-- | The recurring price charged to run this reserved node.
reservedNode_recurringCharges :: Lens' ReservedNode (Maybe [RecurringCharge])
-- | A customer-specified identifier to track this reservation.
reservedNode_reservationId :: Lens' ReservedNode (Maybe Text)
-- | The ID of the reserved node offering to purchase.
reservedNode_reservedNodesOfferingId :: Lens' ReservedNode (Maybe Text)
-- | The time the reservation started.
reservedNode_startTime :: Lens' ReservedNode (Maybe UTCTime)
-- | The state of the reserved node.
reservedNode_state :: Lens' ReservedNode (Maybe Text)
-- | The offering type of this node.
--
-- See: newReservedNodesOffering smart constructor.
data ReservedNodesOffering
ReservedNodesOffering' :: Maybe Int -> Maybe Double -> Maybe Text -> Maybe Text -> Maybe [RecurringCharge] -> Maybe Text -> ReservedNodesOffering
-- | The duration of the reservation in seconds.
[$sel:duration:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe Int
-- | The fixed price charged for this reserved node.
[$sel:fixedPrice:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe Double
-- | The node type for the reserved nodes. For more information, see
-- Supported node types.
[$sel:nodeType:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe Text
-- | The offering type of this reserved node.
[$sel:offeringType:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe Text
-- | The recurring price charged to run this reserved node.
[$sel:recurringCharges:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe [RecurringCharge]
-- | The offering identifier.
[$sel:reservedNodesOfferingId:ReservedNodesOffering'] :: ReservedNodesOffering -> Maybe Text
-- | Create a value of ReservedNodesOffering with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:duration:ReservedNodesOffering',
-- reservedNodesOffering_duration - The duration of the
-- reservation in seconds.
--
-- $sel:fixedPrice:ReservedNodesOffering',
-- reservedNodesOffering_fixedPrice - The fixed price charged for
-- this reserved node.
--
-- $sel:nodeType:ReservedNodesOffering',
-- reservedNodesOffering_nodeType - The node type for the reserved
-- nodes. For more information, see Supported node types.
--
-- $sel:offeringType:ReservedNodesOffering',
-- reservedNodesOffering_offeringType - The offering type of this
-- reserved node.
--
-- $sel:recurringCharges:ReservedNodesOffering',
-- reservedNodesOffering_recurringCharges - The recurring price
-- charged to run this reserved node.
--
-- $sel:reservedNodesOfferingId:ReservedNodesOffering',
-- reservedNodesOffering_reservedNodesOfferingId - The offering
-- identifier.
newReservedNodesOffering :: ReservedNodesOffering
-- | The duration of the reservation in seconds.
reservedNodesOffering_duration :: Lens' ReservedNodesOffering (Maybe Int)
-- | The fixed price charged for this reserved node.
reservedNodesOffering_fixedPrice :: Lens' ReservedNodesOffering (Maybe Double)
-- | The node type for the reserved nodes. For more information, see
-- Supported node types.
reservedNodesOffering_nodeType :: Lens' ReservedNodesOffering (Maybe Text)
-- | The offering type of this reserved node.
reservedNodesOffering_offeringType :: Lens' ReservedNodesOffering (Maybe Text)
-- | The recurring price charged to run this reserved node.
reservedNodesOffering_recurringCharges :: Lens' ReservedNodesOffering (Maybe [RecurringCharge])
-- | The offering identifier.
reservedNodesOffering_reservedNodesOfferingId :: Lens' ReservedNodesOffering (Maybe Text)
-- | The status of the online resharding
--
-- See: newReshardingStatus smart constructor.
data ReshardingStatus
ReshardingStatus' :: Maybe SlotMigration -> ReshardingStatus
-- | The status of the online resharding slot migration
[$sel:slotMigration:ReshardingStatus'] :: ReshardingStatus -> Maybe SlotMigration
-- | Create a value of ReshardingStatus with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:slotMigration:ReshardingStatus',
-- reshardingStatus_slotMigration - The status of the online
-- resharding slot migration
newReshardingStatus :: ReshardingStatus
-- | The status of the online resharding slot migration
reshardingStatus_slotMigration :: Lens' ReshardingStatus (Maybe SlotMigration)
-- | Represents a single security group and its status.
--
-- See: newSecurityGroupMembership smart constructor.
data SecurityGroupMembership
SecurityGroupMembership' :: Maybe Text -> Maybe Text -> SecurityGroupMembership
-- | The identifier of the security group.
[$sel:securityGroupId:SecurityGroupMembership'] :: SecurityGroupMembership -> Maybe Text
-- | The status of the security group membership. The status changes
-- whenever a security group is modified, or when the security groups
-- assigned to a cluster are modified.
[$sel:status:SecurityGroupMembership'] :: SecurityGroupMembership -> Maybe Text
-- | Create a value of SecurityGroupMembership with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:securityGroupId:SecurityGroupMembership',
-- securityGroupMembership_securityGroupId - The identifier of the
-- security group.
--
-- $sel:status:SecurityGroupMembership',
-- securityGroupMembership_status - The status of the security
-- group membership. The status changes whenever a security group is
-- modified, or when the security groups assigned to a cluster are
-- modified.
newSecurityGroupMembership :: SecurityGroupMembership
-- | The identifier of the security group.
securityGroupMembership_securityGroupId :: Lens' SecurityGroupMembership (Maybe Text)
-- | The status of the security group membership. The status changes
-- whenever a security group is modified, or when the security groups
-- assigned to a cluster are modified.
securityGroupMembership_status :: Lens' SecurityGroupMembership (Maybe Text)
-- | An update that you can apply to your MemoryDB clusters.
--
-- See: newServiceUpdate smart constructor.
data ServiceUpdate
ServiceUpdate' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe ServiceUpdateStatus -> Maybe ServiceUpdateType -> ServiceUpdate
-- | The date at which the service update will be automatically applied
[$sel:autoUpdateStartDate:ServiceUpdate'] :: ServiceUpdate -> Maybe POSIX
-- | The name of the cluster to which the service update applies
[$sel:clusterName:ServiceUpdate'] :: ServiceUpdate -> Maybe Text
-- | Provides details of the service update
[$sel:description:ServiceUpdate'] :: ServiceUpdate -> Maybe Text
-- | A list of nodes updated by the service update
[$sel:nodesUpdated:ServiceUpdate'] :: ServiceUpdate -> Maybe Text
-- | The date when the service update is initially available
[$sel:releaseDate:ServiceUpdate'] :: ServiceUpdate -> Maybe POSIX
-- | The unique ID of the service update
[$sel:serviceUpdateName:ServiceUpdate'] :: ServiceUpdate -> Maybe Text
-- | The status of the service update
[$sel:status:ServiceUpdate'] :: ServiceUpdate -> Maybe ServiceUpdateStatus
-- | Reflects the nature of the service update
[$sel:type':ServiceUpdate'] :: ServiceUpdate -> Maybe ServiceUpdateType
-- | Create a value of ServiceUpdate with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:autoUpdateStartDate:ServiceUpdate',
-- serviceUpdate_autoUpdateStartDate - The date at which the
-- service update will be automatically applied
--
-- $sel:clusterName:ServiceUpdate',
-- serviceUpdate_clusterName - The name of the cluster to which
-- the service update applies
--
-- $sel:description:ServiceUpdate',
-- serviceUpdate_description - Provides details of the service
-- update
--
-- $sel:nodesUpdated:ServiceUpdate',
-- serviceUpdate_nodesUpdated - A list of nodes updated by the
-- service update
--
-- $sel:releaseDate:ServiceUpdate',
-- serviceUpdate_releaseDate - The date when the service update is
-- initially available
--
-- $sel:serviceUpdateName:ServiceUpdate',
-- serviceUpdate_serviceUpdateName - The unique ID of the service
-- update
--
-- $sel:status:ServiceUpdate', serviceUpdate_status - The
-- status of the service update
--
-- $sel:type':ServiceUpdate', serviceUpdate_type - Reflects
-- the nature of the service update
newServiceUpdate :: ServiceUpdate
-- | The date at which the service update will be automatically applied
serviceUpdate_autoUpdateStartDate :: Lens' ServiceUpdate (Maybe UTCTime)
-- | The name of the cluster to which the service update applies
serviceUpdate_clusterName :: Lens' ServiceUpdate (Maybe Text)
-- | Provides details of the service update
serviceUpdate_description :: Lens' ServiceUpdate (Maybe Text)
-- | A list of nodes updated by the service update
serviceUpdate_nodesUpdated :: Lens' ServiceUpdate (Maybe Text)
-- | The date when the service update is initially available
serviceUpdate_releaseDate :: Lens' ServiceUpdate (Maybe UTCTime)
-- | The unique ID of the service update
serviceUpdate_serviceUpdateName :: Lens' ServiceUpdate (Maybe Text)
-- | The status of the service update
serviceUpdate_status :: Lens' ServiceUpdate (Maybe ServiceUpdateStatus)
-- | Reflects the nature of the service update
serviceUpdate_type :: Lens' ServiceUpdate (Maybe ServiceUpdateType)
-- | A request to apply a service update
--
-- See: newServiceUpdateRequest smart constructor.
data ServiceUpdateRequest
ServiceUpdateRequest' :: Maybe Text -> ServiceUpdateRequest
-- | The unique ID of the service update
[$sel:serviceUpdateNameToApply:ServiceUpdateRequest'] :: ServiceUpdateRequest -> Maybe Text
-- | Create a value of ServiceUpdateRequest with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceUpdateNameToApply:ServiceUpdateRequest',
-- serviceUpdateRequest_serviceUpdateNameToApply - The unique ID
-- of the service update
newServiceUpdateRequest :: ServiceUpdateRequest
-- | The unique ID of the service update
serviceUpdateRequest_serviceUpdateNameToApply :: Lens' ServiceUpdateRequest (Maybe Text)
-- | Represents a collection of nodes in a cluster. One node in the node
-- group is the read/write primary node. All the other nodes are
-- read-only Replica nodes.
--
-- See: newShard smart constructor.
data Shard
Shard' :: Maybe Text -> Maybe [Node] -> Maybe Int -> Maybe Text -> Maybe Text -> Shard
-- | The name of the shard
[$sel:name:Shard'] :: Shard -> Maybe Text
-- | A list containing information about individual nodes within the shard
[$sel:nodes:Shard'] :: Shard -> Maybe [Node]
-- | The number of nodes in the shard
[$sel:numberOfNodes:Shard'] :: Shard -> Maybe Int
-- | The keyspace for this shard.
[$sel:slots:Shard'] :: Shard -> Maybe Text
-- | The current state of this replication group - creating, available,
-- modifying, deleting.
[$sel:status:Shard'] :: Shard -> Maybe Text
-- | Create a value of Shard with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- Shard, shard_name - The name of the shard
--
-- $sel:nodes:Shard', shard_nodes - A list containing
-- information about individual nodes within the shard
--
-- $sel:numberOfNodes:Shard', shard_numberOfNodes - The
-- number of nodes in the shard
--
-- $sel:slots:Shard', shard_slots - The keyspace for this
-- shard.
--
-- Shard, shard_status - The current state of this
-- replication group - creating, available, modifying, deleting.
newShard :: Shard
-- | The name of the shard
shard_name :: Lens' Shard (Maybe Text)
-- | A list containing information about individual nodes within the shard
shard_nodes :: Lens' Shard (Maybe [Node])
-- | The number of nodes in the shard
shard_numberOfNodes :: Lens' Shard (Maybe Int)
-- | The keyspace for this shard.
shard_slots :: Lens' Shard (Maybe Text)
-- | The current state of this replication group - creating, available,
-- modifying, deleting.
shard_status :: Lens' Shard (Maybe Text)
-- | Shard configuration options. Each shard configuration has the
-- following: Slots and ReplicaCount.
--
-- See: newShardConfiguration smart constructor.
data ShardConfiguration
ShardConfiguration' :: Maybe Int -> Maybe Text -> ShardConfiguration
-- | The number of read replica nodes in this shard.
[$sel:replicaCount:ShardConfiguration'] :: ShardConfiguration -> Maybe Int
-- | A string that specifies the keyspace for a particular node group.
-- Keyspaces range from 0 to 16,383. The string is in the format
-- startkey-endkey.
[$sel:slots:ShardConfiguration'] :: ShardConfiguration -> Maybe Text
-- | Create a value of ShardConfiguration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:replicaCount:ShardConfiguration',
-- shardConfiguration_replicaCount - The number of read replica
-- nodes in this shard.
--
-- $sel:slots:ShardConfiguration', shardConfiguration_slots
-- - A string that specifies the keyspace for a particular node group.
-- Keyspaces range from 0 to 16,383. The string is in the format
-- startkey-endkey.
newShardConfiguration :: ShardConfiguration
-- | The number of read replica nodes in this shard.
shardConfiguration_replicaCount :: Lens' ShardConfiguration (Maybe Int)
-- | A string that specifies the keyspace for a particular node group.
-- Keyspaces range from 0 to 16,383. The string is in the format
-- startkey-endkey.
shardConfiguration_slots :: Lens' ShardConfiguration (Maybe Text)
-- | A request to configure the sharding properties of a cluster
--
-- See: newShardConfigurationRequest smart constructor.
data ShardConfigurationRequest
ShardConfigurationRequest' :: Maybe Int -> ShardConfigurationRequest
-- | The number of shards in the cluster
[$sel:shardCount:ShardConfigurationRequest'] :: ShardConfigurationRequest -> Maybe Int
-- | Create a value of ShardConfigurationRequest with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:shardCount:ShardConfigurationRequest',
-- shardConfigurationRequest_shardCount - The number of shards in
-- the cluster
newShardConfigurationRequest :: ShardConfigurationRequest
-- | The number of shards in the cluster
shardConfigurationRequest_shardCount :: Lens' ShardConfigurationRequest (Maybe Int)
-- | Provides details of a shard in a snapshot
--
-- See: newShardDetail smart constructor.
data ShardDetail
ShardDetail' :: Maybe ShardConfiguration -> Maybe Text -> Maybe Text -> Maybe POSIX -> ShardDetail
-- | The configuration details of the shard
[$sel:configuration:ShardDetail'] :: ShardDetail -> Maybe ShardConfiguration
-- | The name of the shard
[$sel:name:ShardDetail'] :: ShardDetail -> Maybe Text
-- | The size of the shard's snapshot
[$sel:size:ShardDetail'] :: ShardDetail -> Maybe Text
-- | The date and time that the shard's snapshot was created
[$sel:snapshotCreationTime:ShardDetail'] :: ShardDetail -> Maybe POSIX
-- | Create a value of ShardDetail with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:configuration:ShardDetail',
-- shardDetail_configuration - The configuration details of the
-- shard
--
-- $sel:name:ShardDetail', shardDetail_name - The name of
-- the shard
--
-- $sel:size:ShardDetail', shardDetail_size - The size of
-- the shard's snapshot
--
-- $sel:snapshotCreationTime:ShardDetail',
-- shardDetail_snapshotCreationTime - The date and time that the
-- shard's snapshot was created
newShardDetail :: ShardDetail
-- | The configuration details of the shard
shardDetail_configuration :: Lens' ShardDetail (Maybe ShardConfiguration)
-- | The name of the shard
shardDetail_name :: Lens' ShardDetail (Maybe Text)
-- | The size of the shard's snapshot
shardDetail_size :: Lens' ShardDetail (Maybe Text)
-- | The date and time that the shard's snapshot was created
shardDetail_snapshotCreationTime :: Lens' ShardDetail (Maybe UTCTime)
-- | Represents the progress of an online resharding operation.
--
-- See: newSlotMigration smart constructor.
data SlotMigration
SlotMigration' :: Maybe Double -> SlotMigration
-- | The percentage of the slot migration that is complete.
[$sel:progressPercentage:SlotMigration'] :: SlotMigration -> Maybe Double
-- | Create a value of SlotMigration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:progressPercentage:SlotMigration',
-- slotMigration_progressPercentage - The percentage of the slot
-- migration that is complete.
newSlotMigration :: SlotMigration
-- | The percentage of the slot migration that is complete.
slotMigration_progressPercentage :: Lens' SlotMigration (Maybe Double)
-- | Represents a copy of an entire cluster as of the time when the
-- snapshot was taken.
--
-- See: newSnapshot smart constructor.
data Snapshot
Snapshot' :: Maybe Text -> Maybe ClusterConfiguration -> Maybe DataTieringStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Snapshot
-- | The ARN (Amazon Resource Name) of the snapshot.
[$sel:arn:Snapshot'] :: Snapshot -> Maybe Text
-- | The configuration of the cluster from which the snapshot was taken
[$sel:clusterConfiguration:Snapshot'] :: Snapshot -> Maybe ClusterConfiguration
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
[$sel:dataTiering:Snapshot'] :: Snapshot -> Maybe DataTieringStatus
-- | The ID of the KMS key used to encrypt the snapshot.
[$sel:kmsKeyId:Snapshot'] :: Snapshot -> Maybe Text
-- | The name of the snapshot
[$sel:name:Snapshot'] :: Snapshot -> Maybe Text
-- | Indicates whether the snapshot is from an automatic backup (automated)
-- or was created manually (manual).
[$sel:source:Snapshot'] :: Snapshot -> Maybe Text
-- | The status of the snapshot. Valid values: creating | available |
-- restoring | copying | deleting.
[$sel:status: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:arn:Snapshot', snapshot_arn - The ARN (Amazon
-- Resource Name) of the snapshot.
--
-- $sel:clusterConfiguration:Snapshot',
-- snapshot_clusterConfiguration - The configuration of the
-- cluster from which the snapshot was taken
--
-- $sel:dataTiering:Snapshot', snapshot_dataTiering -
-- Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
--
-- $sel:kmsKeyId:Snapshot', snapshot_kmsKeyId - The ID of
-- the KMS key used to encrypt the snapshot.
--
-- Snapshot, snapshot_name - The name of the snapshot
--
-- $sel:source:Snapshot', snapshot_source - Indicates
-- whether the snapshot is from an automatic backup (automated) or was
-- created manually (manual).
--
-- $sel:status:Snapshot', snapshot_status - The status of
-- the snapshot. Valid values: creating | available | restoring | copying
-- | deleting.
newSnapshot :: Snapshot
-- | The ARN (Amazon Resource Name) of the snapshot.
snapshot_arn :: Lens' Snapshot (Maybe Text)
-- | The configuration of the cluster from which the snapshot was taken
snapshot_clusterConfiguration :: Lens' Snapshot (Maybe ClusterConfiguration)
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
snapshot_dataTiering :: Lens' Snapshot (Maybe DataTieringStatus)
-- | The ID of the KMS key used to encrypt the snapshot.
snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text)
-- | The name of the snapshot
snapshot_name :: Lens' Snapshot (Maybe Text)
-- | Indicates whether the snapshot is from an automatic backup (automated)
-- or was created manually (manual).
snapshot_source :: Lens' Snapshot (Maybe Text)
-- | The status of the snapshot. Valid values: creating | available |
-- restoring | copying | deleting.
snapshot_status :: Lens' Snapshot (Maybe Text)
-- | Represents the subnet associated with a cluster. This parameter refers
-- to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and
-- used with MemoryDB.
--
-- See: newSubnet smart constructor.
data Subnet
Subnet' :: Maybe AvailabilityZone -> Maybe Text -> Subnet
-- | The Availability Zone where the subnet resides
[$sel:availabilityZone:Subnet'] :: Subnet -> Maybe AvailabilityZone
-- | The unique identifier for the subnet.
[$sel:identifier: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:availabilityZone:Subnet', subnet_availabilityZone -
-- The Availability Zone where the subnet resides
--
-- $sel:identifier:Subnet', subnet_identifier - The unique
-- identifier for the subnet.
newSubnet :: Subnet
-- | The Availability Zone where the subnet resides
subnet_availabilityZone :: Lens' Subnet (Maybe AvailabilityZone)
-- | The unique identifier for the subnet.
subnet_identifier :: Lens' Subnet (Maybe Text)
-- | Represents the output of one of the following operations:
--
--
-- - CreateSubnetGroup
-- - UpdateSubnetGroup
--
--
-- A subnet group is a collection of subnets (typically private) that you
-- can designate for your clusters running in an Amazon Virtual Private
-- Cloud (VPC) environment.
--
-- See: newSubnetGroup smart constructor.
data SubnetGroup
SubnetGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Subnet] -> Maybe Text -> SubnetGroup
-- | The ARN (Amazon Resource Name) of the subnet group.
[$sel:arn:SubnetGroup'] :: SubnetGroup -> Maybe Text
-- | A description of the subnet group
[$sel:description:SubnetGroup'] :: SubnetGroup -> Maybe Text
-- | The name of the subnet group
[$sel:name:SubnetGroup'] :: SubnetGroup -> Maybe Text
-- | A list of subnets associated with the subnet group.
[$sel:subnets:SubnetGroup'] :: SubnetGroup -> Maybe [Subnet]
-- | The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet
-- group.
[$sel:vpcId:SubnetGroup'] :: SubnetGroup -> Maybe Text
-- | Create a value of SubnetGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:SubnetGroup', subnetGroup_arn - The ARN (Amazon
-- Resource Name) of the subnet group.
--
-- $sel:description:SubnetGroup', subnetGroup_description -
-- A description of the subnet group
--
-- $sel:name:SubnetGroup', subnetGroup_name - The name of
-- the subnet group
--
-- $sel:subnets:SubnetGroup', subnetGroup_subnets - A list
-- of subnets associated with the subnet group.
--
-- $sel:vpcId:SubnetGroup', subnetGroup_vpcId - The Amazon
-- Virtual Private Cloud identifier (VPC ID) of the subnet group.
newSubnetGroup :: SubnetGroup
-- | The ARN (Amazon Resource Name) of the subnet group.
subnetGroup_arn :: Lens' SubnetGroup (Maybe Text)
-- | A description of the subnet group
subnetGroup_description :: Lens' SubnetGroup (Maybe Text)
-- | The name of the subnet group
subnetGroup_name :: Lens' SubnetGroup (Maybe Text)
-- | A list of subnets associated with the subnet group.
subnetGroup_subnets :: Lens' SubnetGroup (Maybe [Subnet])
-- | The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet
-- group.
subnetGroup_vpcId :: Lens' SubnetGroup (Maybe Text)
-- | A tag that can be added to an MemoryDB resource. Tags are composed of
-- a Key/Value pair. You can use tags to categorize and track all your
-- MemoryDB resources. When you add or remove tags on clusters, those
-- actions will be replicated to all nodes in the cluster. A tag with a
-- null Value is permitted. For more information, see Tagging your
-- MemoryDB resources
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | The key for the tag. May not be null.
[$sel:key:Tag'] :: Tag -> Maybe Text
-- | The tag's value. May be null.
[$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 for the tag. May not be
-- null.
--
-- $sel:value:Tag', tag_value - The tag's value. May be
-- null.
newTag :: Tag
-- | The key for the tag. May not be null.
tag_key :: Lens' Tag (Maybe Text)
-- | The tag's value. May be null.
tag_value :: Lens' Tag (Maybe Text)
-- | A cluster whose updates have failed
--
-- See: newUnprocessedCluster smart constructor.
data UnprocessedCluster
UnprocessedCluster' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedCluster
-- | The name of the cluster
[$sel:clusterName:UnprocessedCluster'] :: UnprocessedCluster -> Maybe Text
-- | The error message associated with the update failure
[$sel:errorMessage:UnprocessedCluster'] :: UnprocessedCluster -> Maybe Text
-- | The error type associated with the update failure
[$sel:errorType:UnprocessedCluster'] :: UnprocessedCluster -> Maybe Text
-- | Create a value of UnprocessedCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterName:UnprocessedCluster',
-- unprocessedCluster_clusterName - The name of the cluster
--
-- $sel:errorMessage:UnprocessedCluster',
-- unprocessedCluster_errorMessage - The error message associated
-- with the update failure
--
-- $sel:errorType:UnprocessedCluster',
-- unprocessedCluster_errorType - The error type associated with
-- the update failure
newUnprocessedCluster :: UnprocessedCluster
-- | The name of the cluster
unprocessedCluster_clusterName :: Lens' UnprocessedCluster (Maybe Text)
-- | The error message associated with the update failure
unprocessedCluster_errorMessage :: Lens' UnprocessedCluster (Maybe Text)
-- | The error type associated with the update failure
unprocessedCluster_errorType :: Lens' UnprocessedCluster (Maybe Text)
-- | You create users and assign them specific permissions by using an
-- access string. You assign the users to Access Control Lists aligned
-- with a specific role (administrators, human resources) that are then
-- deployed to one or more MemoryDB clusters.
--
-- See: newUser smart constructor.
data User
User' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Authentication -> Maybe Text -> Maybe Text -> Maybe Text -> User
-- | The names of the Access Control Lists to which the user belongs
[$sel:aCLNames:User'] :: User -> Maybe [Text]
-- | The Amazon Resource Name (ARN) of the user.
[$sel:arn:User'] :: User -> Maybe Text
-- | Access permissions string used for this user.
[$sel:accessString:User'] :: User -> Maybe Text
-- | Denotes whether the user requires a password to authenticate.
[$sel:authentication:User'] :: User -> Maybe Authentication
-- | The minimum engine version supported for the user
[$sel:minimumEngineVersion:User'] :: User -> Maybe Text
-- | The name of the user
[$sel:name:User'] :: User -> Maybe Text
-- | Indicates the user status. Can be "active", "modifying" or "deleting".
[$sel:status:User'] :: User -> Maybe Text
-- | Create a value of User with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCLNames:User', user_aCLNames - The names of the
-- Access Control Lists to which the user belongs
--
-- $sel:arn:User', user_arn - The Amazon Resource Name
-- (ARN) of the user.
--
-- $sel:accessString:User', user_accessString - Access
-- permissions string used for this user.
--
-- $sel:authentication:User', user_authentication - Denotes
-- whether the user requires a password to authenticate.
--
-- $sel:minimumEngineVersion:User',
-- user_minimumEngineVersion - The minimum engine version
-- supported for the user
--
-- $sel:name:User', user_name - The name of the user
--
-- $sel:status:User', user_status - Indicates the user
-- status. Can be "active", "modifying" or "deleting".
newUser :: User
-- | The names of the Access Control Lists to which the user belongs
user_aCLNames :: Lens' User (Maybe [Text])
-- | The Amazon Resource Name (ARN) of the user.
user_arn :: Lens' User (Maybe Text)
-- | Access permissions string used for this user.
user_accessString :: Lens' User (Maybe Text)
-- | Denotes whether the user requires a password to authenticate.
user_authentication :: Lens' User (Maybe Authentication)
-- | The minimum engine version supported for the user
user_minimumEngineVersion :: Lens' User (Maybe Text)
-- | The name of the user
user_name :: Lens' User (Maybe Text)
-- | Indicates the user status. Can be "active", "modifying" or "deleting".
user_status :: Lens' User (Maybe Text)
-- | A tag is a key-value pair where the key and value are case-sensitive.
-- You can use tags to categorize and track all your MemoryDB resources.
-- When you add or remove tags on clusters, those actions will be
-- replicated to all nodes in the cluster. For more information, see
-- Resource-level permissions.
--
-- For example, you can use cost-allocation tags to your MemoryDB
-- resources, Amazon generates a cost allocation report as a
-- comma-separated value (CSV) file with your usage and costs aggregated
-- by your tags. You can apply tags that represent business categories
-- (such as cost centers, application names, or owners) to organize your
-- costs across multiple services. For more information, see Using
-- Cost Allocation Tags.
module Amazonka.MemoryDb.TagResource
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> [Tag] -> TagResource
-- | The Amazon Resource Name (ARN) of the resource to which the tags are
-- to be added
[$sel:resourceArn:TagResource'] :: TagResource -> Text
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
[$sel:tags:TagResource'] :: TagResource -> [Tag]
-- | Create a value of TagResource with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:TagResource', tagResource_resourceArn -
-- The Amazon Resource Name (ARN) of the resource to which the tags are
-- to be added
--
-- $sel:tags:TagResource', tagResource_tags - A list of
-- tags to be added to this resource. A tag is a key-value pair. A tag
-- key must be accompanied by a tag value, although null is accepted.
newTagResource :: Text -> TagResource
-- | The Amazon Resource Name (ARN) of the resource to which the tags are
-- to be added
tagResource_resourceArn :: Lens' TagResource Text
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
tagResource_tags :: Lens' TagResource [Tag]
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Maybe [Tag] -> Int -> TagResourceResponse
-- | A list of tags as key-value pairs.
[$sel:tagList:TagResourceResponse'] :: TagResourceResponse -> Maybe [Tag]
-- | The response's http status code.
[$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
-- | Create a value of TagResourceResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tagList:TagResourceResponse',
-- tagResourceResponse_tagList - A list of tags as key-value
-- pairs.
--
-- $sel:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | A list of tags as key-value pairs.
tagResourceResponse_tagList :: Lens' TagResourceResponse (Maybe [Tag])
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.TagResource.TagResource
instance GHC.Show.Show Amazonka.MemoryDb.TagResource.TagResource
instance GHC.Read.Read Amazonka.MemoryDb.TagResource.TagResource
instance GHC.Classes.Eq Amazonka.MemoryDb.TagResource.TagResource
instance GHC.Generics.Generic Amazonka.MemoryDb.TagResource.TagResourceResponse
instance GHC.Show.Show Amazonka.MemoryDb.TagResource.TagResourceResponse
instance GHC.Read.Read Amazonka.MemoryDb.TagResource.TagResourceResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.TagResource.TagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.MemoryDb.TagResource.TagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.MemoryDb.TagResource.TagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.TagResource.TagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.TagResource.TagResource
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.TagResource.TagResource
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.TagResource.TagResource
-- | Modifies the parameters of a parameter group to the engine or system
-- default value. You can reset specific parameters by submitting a list
-- of parameter names. To reset the entire parameter group, specify the
-- AllParameters and ParameterGroupName parameters.
module Amazonka.MemoryDb.ResetParameterGroup
-- | See: newResetParameterGroup smart constructor.
data ResetParameterGroup
ResetParameterGroup' :: Maybe Bool -> Maybe [Text] -> Text -> ResetParameterGroup
-- | If true, all parameters in the parameter group are reset to their
-- default values. If false, only the parameters listed by ParameterNames
-- are reset to their default values.
[$sel:allParameters:ResetParameterGroup'] :: ResetParameterGroup -> Maybe Bool
-- | An array of parameter names to reset to their default values. If
-- AllParameters is true, do not use ParameterNames. If AllParameters is
-- false, you must specify the name of at least one parameter to reset.
[$sel:parameterNames:ResetParameterGroup'] :: ResetParameterGroup -> Maybe [Text]
-- | The name of the parameter group to reset.
[$sel:parameterGroupName:ResetParameterGroup'] :: ResetParameterGroup -> Text
-- | Create a value of ResetParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:allParameters:ResetParameterGroup',
-- resetParameterGroup_allParameters - If true, all parameters in
-- the parameter group are reset to their default values. If false, only
-- the parameters listed by ParameterNames are reset to their default
-- values.
--
-- $sel:parameterNames:ResetParameterGroup',
-- resetParameterGroup_parameterNames - An array of parameter
-- names to reset to their default values. If AllParameters is true, do
-- not use ParameterNames. If AllParameters is false, you must specify
-- the name of at least one parameter to reset.
--
-- ResetParameterGroup,
-- resetParameterGroup_parameterGroupName - The name of the
-- parameter group to reset.
newResetParameterGroup :: Text -> ResetParameterGroup
-- | If true, all parameters in the parameter group are reset to their
-- default values. If false, only the parameters listed by ParameterNames
-- are reset to their default values.
resetParameterGroup_allParameters :: Lens' ResetParameterGroup (Maybe Bool)
-- | An array of parameter names to reset to their default values. If
-- AllParameters is true, do not use ParameterNames. If AllParameters is
-- false, you must specify the name of at least one parameter to reset.
resetParameterGroup_parameterNames :: Lens' ResetParameterGroup (Maybe [Text])
-- | The name of the parameter group to reset.
resetParameterGroup_parameterGroupName :: Lens' ResetParameterGroup Text
-- | See: newResetParameterGroupResponse smart constructor.
data ResetParameterGroupResponse
ResetParameterGroupResponse' :: Maybe ParameterGroup -> Int -> ResetParameterGroupResponse
-- | The parameter group being reset.
[$sel:parameterGroup:ResetParameterGroupResponse'] :: ResetParameterGroupResponse -> Maybe ParameterGroup
-- | The response's http status code.
[$sel:httpStatus:ResetParameterGroupResponse'] :: ResetParameterGroupResponse -> Int
-- | Create a value of ResetParameterGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterGroup:ResetParameterGroupResponse',
-- resetParameterGroupResponse_parameterGroup - The parameter
-- group being reset.
--
-- $sel:httpStatus:ResetParameterGroupResponse',
-- resetParameterGroupResponse_httpStatus - The response's http
-- status code.
newResetParameterGroupResponse :: Int -> ResetParameterGroupResponse
-- | The parameter group being reset.
resetParameterGroupResponse_parameterGroup :: Lens' ResetParameterGroupResponse (Maybe ParameterGroup)
-- | The response's http status code.
resetParameterGroupResponse_httpStatus :: Lens' ResetParameterGroupResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
instance GHC.Show.Show Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
instance GHC.Read.Read Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
instance GHC.Classes.Eq Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
instance GHC.Generics.Generic Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroupResponse
instance GHC.Show.Show Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroupResponse
instance GHC.Read.Read Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroupResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.ResetParameterGroup.ResetParameterGroup
-- | Allows you to purchase a reserved node offering. Reserved nodes are
-- not eligible for cancellation and are non-refundable.
module Amazonka.MemoryDb.PurchaseReservedNodesOffering
-- | See: newPurchaseReservedNodesOffering smart constructor.
data PurchaseReservedNodesOffering
PurchaseReservedNodesOffering' :: Maybe Int -> Maybe Text -> Maybe [Tag] -> Text -> PurchaseReservedNodesOffering
-- | The number of node instances to reserve.
[$sel:nodeCount:PurchaseReservedNodesOffering'] :: PurchaseReservedNodesOffering -> Maybe Int
-- | A customer-specified identifier to track this reservation.
[$sel:reservationId:PurchaseReservedNodesOffering'] :: PurchaseReservedNodesOffering -> Maybe Text
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
[$sel:tags:PurchaseReservedNodesOffering'] :: PurchaseReservedNodesOffering -> Maybe [Tag]
-- | The ID of the reserved node offering to purchase.
[$sel:reservedNodesOfferingId:PurchaseReservedNodesOffering'] :: PurchaseReservedNodesOffering -> Text
-- | Create a value of PurchaseReservedNodesOffering with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PurchaseReservedNodesOffering,
-- purchaseReservedNodesOffering_nodeCount - The number of node
-- instances to reserve.
--
-- PurchaseReservedNodesOffering,
-- purchaseReservedNodesOffering_reservationId - A
-- customer-specified identifier to track this reservation.
--
-- $sel:tags:PurchaseReservedNodesOffering',
-- purchaseReservedNodesOffering_tags - A list of tags to be added
-- to this resource. A tag is a key-value pair. A tag key must be
-- accompanied by a tag value, although null is accepted.
--
-- PurchaseReservedNodesOffering,
-- purchaseReservedNodesOffering_reservedNodesOfferingId - The ID
-- of the reserved node offering to purchase.
newPurchaseReservedNodesOffering :: Text -> PurchaseReservedNodesOffering
-- | The number of node instances to reserve.
purchaseReservedNodesOffering_nodeCount :: Lens' PurchaseReservedNodesOffering (Maybe Int)
-- | A customer-specified identifier to track this reservation.
purchaseReservedNodesOffering_reservationId :: Lens' PurchaseReservedNodesOffering (Maybe Text)
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
purchaseReservedNodesOffering_tags :: Lens' PurchaseReservedNodesOffering (Maybe [Tag])
-- | The ID of the reserved node offering to purchase.
purchaseReservedNodesOffering_reservedNodesOfferingId :: Lens' PurchaseReservedNodesOffering Text
-- | See: newPurchaseReservedNodesOfferingResponse smart
-- constructor.
data PurchaseReservedNodesOfferingResponse
PurchaseReservedNodesOfferingResponse' :: Maybe ReservedNode -> Int -> PurchaseReservedNodesOfferingResponse
-- | Represents the output of a PurchaseReservedNodesOffering
-- operation.
[$sel:reservedNode:PurchaseReservedNodesOfferingResponse'] :: PurchaseReservedNodesOfferingResponse -> Maybe ReservedNode
-- | The response's http status code.
[$sel:httpStatus:PurchaseReservedNodesOfferingResponse'] :: PurchaseReservedNodesOfferingResponse -> Int
-- | Create a value of PurchaseReservedNodesOfferingResponse with
-- all optional fields omitted.
--
-- Use 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:PurchaseReservedNodesOfferingResponse',
-- purchaseReservedNodesOfferingResponse_reservedNode - Represents
-- the output of a PurchaseReservedNodesOffering operation.
--
-- $sel:httpStatus:PurchaseReservedNodesOfferingResponse',
-- purchaseReservedNodesOfferingResponse_httpStatus - The
-- response's http status code.
newPurchaseReservedNodesOfferingResponse :: Int -> PurchaseReservedNodesOfferingResponse
-- | Represents the output of a PurchaseReservedNodesOffering
-- operation.
purchaseReservedNodesOfferingResponse_reservedNode :: Lens' PurchaseReservedNodesOfferingResponse (Maybe ReservedNode)
-- | The response's http status code.
purchaseReservedNodesOfferingResponse_httpStatus :: Lens' PurchaseReservedNodesOfferingResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
instance GHC.Show.Show Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
instance GHC.Read.Read Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
instance GHC.Classes.Eq Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
instance GHC.Generics.Generic Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOfferingResponse
instance GHC.Show.Show Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOfferingResponse
instance GHC.Read.Read Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOfferingResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOfferingResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
instance Control.DeepSeq.NFData Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOfferingResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
instance Control.DeepSeq.NFData Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.PurchaseReservedNodesOffering.PurchaseReservedNodesOffering
-- | Lists all tags currently on a named resource. A tag is a key-value
-- pair where the key and value are case-sensitive. You can use tags to
-- categorize and track your MemoryDB resources. For more information,
-- see Tagging your MemoryDB resources
module Amazonka.MemoryDb.ListTags
-- | See: newListTags smart constructor.
data ListTags
ListTags' :: Text -> ListTags
-- | The Amazon Resource Name (ARN) of the resource for which you want the
-- list of tags
[$sel:resourceArn:ListTags'] :: ListTags -> Text
-- | Create a value of ListTags with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:ListTags', listTags_resourceArn - The
-- Amazon Resource Name (ARN) of the resource for which you want the list
-- of tags
newListTags :: Text -> ListTags
-- | The Amazon Resource Name (ARN) of the resource for which you want the
-- list of tags
listTags_resourceArn :: Lens' ListTags Text
-- | See: newListTagsResponse smart constructor.
data ListTagsResponse
ListTagsResponse' :: Maybe [Tag] -> Int -> ListTagsResponse
-- | A list of tags as key-value pairs.
[$sel:tagList:ListTagsResponse'] :: ListTagsResponse -> Maybe [Tag]
-- | The response's http status code.
[$sel:httpStatus:ListTagsResponse'] :: ListTagsResponse -> Int
-- | Create a value of ListTagsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tagList:ListTagsResponse', listTagsResponse_tagList
-- - A list of tags as key-value pairs.
--
-- $sel:httpStatus:ListTagsResponse',
-- listTagsResponse_httpStatus - The response's http status code.
newListTagsResponse :: Int -> ListTagsResponse
-- | A list of tags as key-value pairs.
listTagsResponse_tagList :: Lens' ListTagsResponse (Maybe [Tag])
-- | The response's http status code.
listTagsResponse_httpStatus :: Lens' ListTagsResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.ListTags.ListTags
instance GHC.Show.Show Amazonka.MemoryDb.ListTags.ListTags
instance GHC.Read.Read Amazonka.MemoryDb.ListTags.ListTags
instance GHC.Classes.Eq Amazonka.MemoryDb.ListTags.ListTags
instance GHC.Generics.Generic Amazonka.MemoryDb.ListTags.ListTagsResponse
instance GHC.Show.Show Amazonka.MemoryDb.ListTags.ListTagsResponse
instance GHC.Read.Read Amazonka.MemoryDb.ListTags.ListTagsResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.ListTags.ListTagsResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.ListTags.ListTags
instance Control.DeepSeq.NFData Amazonka.MemoryDb.ListTags.ListTagsResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.ListTags.ListTags
instance Control.DeepSeq.NFData Amazonka.MemoryDb.ListTags.ListTags
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.ListTags.ListTags
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.ListTags.ListTags
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.ListTags.ListTags
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.ListTags.ListTags
-- | Lists all available node types that you can scale to from your
-- cluster's current node type. When you use the UpdateCluster operation
-- to scale your cluster, the value of the NodeType parameter must be one
-- of the node types returned by this operation.
module Amazonka.MemoryDb.ListAllowedNodeTypeUpdates
-- | See: newListAllowedNodeTypeUpdates smart constructor.
data ListAllowedNodeTypeUpdates
ListAllowedNodeTypeUpdates' :: Text -> ListAllowedNodeTypeUpdates
-- | The name of the cluster you want to scale. MemoryDB uses the cluster
-- name to identify the current node type being used by this cluster, and
-- from that to create a list of node types you can scale up to.
[$sel:clusterName:ListAllowedNodeTypeUpdates'] :: ListAllowedNodeTypeUpdates -> Text
-- | Create a value of ListAllowedNodeTypeUpdates with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListAllowedNodeTypeUpdates,
-- listAllowedNodeTypeUpdates_clusterName - The name of the
-- cluster you want to scale. MemoryDB uses the cluster name to identify
-- the current node type being used by this cluster, and from that to
-- create a list of node types you can scale up to.
newListAllowedNodeTypeUpdates :: Text -> ListAllowedNodeTypeUpdates
-- | The name of the cluster you want to scale. MemoryDB uses the cluster
-- name to identify the current node type being used by this cluster, and
-- from that to create a list of node types you can scale up to.
listAllowedNodeTypeUpdates_clusterName :: Lens' ListAllowedNodeTypeUpdates Text
-- | See: newListAllowedNodeTypeUpdatesResponse smart
-- constructor.
data ListAllowedNodeTypeUpdatesResponse
ListAllowedNodeTypeUpdatesResponse' :: Maybe [Text] -> Maybe [Text] -> Int -> ListAllowedNodeTypeUpdatesResponse
-- | A list node types which you can use to scale down your cluster.
[$sel:scaleDownNodeTypes:ListAllowedNodeTypeUpdatesResponse'] :: ListAllowedNodeTypeUpdatesResponse -> Maybe [Text]
-- | A list node types which you can use to scale up your cluster.
[$sel:scaleUpNodeTypes:ListAllowedNodeTypeUpdatesResponse'] :: ListAllowedNodeTypeUpdatesResponse -> Maybe [Text]
-- | The response's http status code.
[$sel:httpStatus:ListAllowedNodeTypeUpdatesResponse'] :: ListAllowedNodeTypeUpdatesResponse -> Int
-- | Create a value of ListAllowedNodeTypeUpdatesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:scaleDownNodeTypes:ListAllowedNodeTypeUpdatesResponse',
-- listAllowedNodeTypeUpdatesResponse_scaleDownNodeTypes - A list
-- node types which you can use to scale down your cluster.
--
-- $sel:scaleUpNodeTypes:ListAllowedNodeTypeUpdatesResponse',
-- listAllowedNodeTypeUpdatesResponse_scaleUpNodeTypes - A list
-- node types which you can use to scale up your cluster.
--
-- $sel:httpStatus:ListAllowedNodeTypeUpdatesResponse',
-- listAllowedNodeTypeUpdatesResponse_httpStatus - The response's
-- http status code.
newListAllowedNodeTypeUpdatesResponse :: Int -> ListAllowedNodeTypeUpdatesResponse
-- | A list node types which you can use to scale down your cluster.
listAllowedNodeTypeUpdatesResponse_scaleDownNodeTypes :: Lens' ListAllowedNodeTypeUpdatesResponse (Maybe [Text])
-- | A list node types which you can use to scale up your cluster.
listAllowedNodeTypeUpdatesResponse_scaleUpNodeTypes :: Lens' ListAllowedNodeTypeUpdatesResponse (Maybe [Text])
-- | The response's http status code.
listAllowedNodeTypeUpdatesResponse_httpStatus :: Lens' ListAllowedNodeTypeUpdatesResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
instance GHC.Show.Show Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
instance GHC.Read.Read Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
instance GHC.Classes.Eq Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
instance GHC.Generics.Generic Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdatesResponse
instance GHC.Show.Show Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdatesResponse
instance GHC.Read.Read Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdatesResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdatesResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
instance Control.DeepSeq.NFData Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdatesResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
instance Control.DeepSeq.NFData Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.ListAllowedNodeTypeUpdates.ListAllowedNodeTypeUpdates
-- | Used to failover a shard. This API is designed for testing the
-- behavior of your application in case of MemoryDB failover. It is not
-- designed to be used as a production-level tool for initiating a
-- failover to overcome a problem you may have with the cluster.
-- Moreover, in certain conditions such as large scale operational
-- events, Amazon may block this API.
module Amazonka.MemoryDb.FailoverShard
-- | See: newFailoverShard smart constructor.
data FailoverShard
FailoverShard' :: Text -> Text -> FailoverShard
-- | The cluster being failed over
[$sel:clusterName:FailoverShard'] :: FailoverShard -> Text
-- | The name of the shard
[$sel:shardName:FailoverShard'] :: FailoverShard -> Text
-- | Create a value of FailoverShard with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- FailoverShard, failoverShard_clusterName - The cluster
-- being failed over
--
-- $sel:shardName:FailoverShard', failoverShard_shardName -
-- The name of the shard
newFailoverShard :: Text -> Text -> FailoverShard
-- | The cluster being failed over
failoverShard_clusterName :: Lens' FailoverShard Text
-- | The name of the shard
failoverShard_shardName :: Lens' FailoverShard Text
-- | See: newFailoverShardResponse smart constructor.
data FailoverShardResponse
FailoverShardResponse' :: Maybe Cluster -> Int -> FailoverShardResponse
-- | The cluster being failed over
[$sel:cluster:FailoverShardResponse'] :: FailoverShardResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:FailoverShardResponse'] :: FailoverShardResponse -> Int
-- | Create a value of FailoverShardResponse with all optional
-- fields omitted.
--
-- Use 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:FailoverShardResponse',
-- failoverShardResponse_cluster - The cluster being failed over
--
-- $sel:httpStatus:FailoverShardResponse',
-- failoverShardResponse_httpStatus - The response's http status
-- code.
newFailoverShardResponse :: Int -> FailoverShardResponse
-- | The cluster being failed over
failoverShardResponse_cluster :: Lens' FailoverShardResponse (Maybe Cluster)
-- | The response's http status code.
failoverShardResponse_httpStatus :: Lens' FailoverShardResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.FailoverShard.FailoverShard
instance GHC.Show.Show Amazonka.MemoryDb.FailoverShard.FailoverShard
instance GHC.Read.Read Amazonka.MemoryDb.FailoverShard.FailoverShard
instance GHC.Classes.Eq Amazonka.MemoryDb.FailoverShard.FailoverShard
instance GHC.Generics.Generic Amazonka.MemoryDb.FailoverShard.FailoverShardResponse
instance GHC.Show.Show Amazonka.MemoryDb.FailoverShard.FailoverShardResponse
instance GHC.Read.Read Amazonka.MemoryDb.FailoverShard.FailoverShardResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.FailoverShard.FailoverShardResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.FailoverShard.FailoverShard
instance Control.DeepSeq.NFData Amazonka.MemoryDb.FailoverShard.FailoverShardResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.FailoverShard.FailoverShard
instance Control.DeepSeq.NFData Amazonka.MemoryDb.FailoverShard.FailoverShard
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.FailoverShard.FailoverShard
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.FailoverShard.FailoverShard
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.FailoverShard.FailoverShard
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.FailoverShard.FailoverShard
-- | Returns a list of users.
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeUsers
-- | See: newDescribeUsers smart constructor.
data DescribeUsers
DescribeUsers' :: Maybe [Filter] -> Maybe Int -> Maybe Text -> Maybe Text -> DescribeUsers
-- | Filter to determine the list of users to return.
[$sel:filters:DescribeUsers'] :: DescribeUsers -> Maybe [Filter]
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
[$sel:maxResults:DescribeUsers'] :: DescribeUsers -> Maybe Int
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeUsers'] :: DescribeUsers -> Maybe Text
-- | The name of the user
[$sel:userName:DescribeUsers'] :: DescribeUsers -> Maybe Text
-- | Create a value of DescribeUsers with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filters:DescribeUsers', describeUsers_filters -
-- Filter to determine the list of users to return.
--
-- $sel:maxResults:DescribeUsers', describeUsers_maxResults
-- - The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
--
-- DescribeUsers, describeUsers_nextToken - An optional
-- argument to pass in case the total number of records exceeds the value
-- of MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- $sel:userName:DescribeUsers', describeUsers_userName -
-- The name of the user
newDescribeUsers :: DescribeUsers
-- | Filter to determine the list of users to return.
describeUsers_filters :: Lens' DescribeUsers (Maybe [Filter])
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeUsers_maxResults :: Lens' DescribeUsers (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeUsers_nextToken :: Lens' DescribeUsers (Maybe Text)
-- | The name of the user
describeUsers_userName :: Lens' DescribeUsers (Maybe Text)
-- | See: newDescribeUsersResponse smart constructor.
data DescribeUsersResponse
DescribeUsersResponse' :: Maybe Text -> Maybe [User] -> Int -> DescribeUsersResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeUsersResponse'] :: DescribeUsersResponse -> Maybe Text
-- | A list of users.
[$sel:users:DescribeUsersResponse'] :: DescribeUsersResponse -> Maybe [User]
-- | The response's http status code.
[$sel:httpStatus:DescribeUsersResponse'] :: DescribeUsersResponse -> Int
-- | Create a value of DescribeUsersResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeUsers, describeUsersResponse_nextToken - An
-- optional argument to pass in case the total number of records exceeds
-- the value of MaxResults. If nextToken is returned, there are more
-- results available. The value of nextToken is a unique pagination token
-- for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:users:DescribeUsersResponse',
-- describeUsersResponse_users - A list of users.
--
-- $sel:httpStatus:DescribeUsersResponse',
-- describeUsersResponse_httpStatus - The response's http status
-- code.
newDescribeUsersResponse :: Int -> DescribeUsersResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeUsersResponse_nextToken :: Lens' DescribeUsersResponse (Maybe Text)
-- | A list of users.
describeUsersResponse_users :: Lens' DescribeUsersResponse (Maybe [User])
-- | The response's http status code.
describeUsersResponse_httpStatus :: Lens' DescribeUsersResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance GHC.Show.Show Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance GHC.Read.Read Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeUsers.DescribeUsersResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeUsers.DescribeUsersResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeUsers.DescribeUsersResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeUsers.DescribeUsersResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeUsers.DescribeUsersResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeUsers.DescribeUsers
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeUsers.DescribeUsers
-- | Returns a list of subnet group descriptions. If a subnet group name is
-- specified, the list contains only the description of that group.
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeSubnetGroups
-- | See: newDescribeSubnetGroups smart constructor.
data DescribeSubnetGroups
DescribeSubnetGroups' :: Maybe Int -> Maybe Text -> Maybe Text -> DescribeSubnetGroups
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
[$sel:maxResults:DescribeSubnetGroups'] :: DescribeSubnetGroups -> Maybe Int
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeSubnetGroups'] :: DescribeSubnetGroups -> Maybe Text
-- | The name of the subnet group to return details for.
[$sel:subnetGroupName:DescribeSubnetGroups'] :: DescribeSubnetGroups -> Maybe Text
-- | Create a value of DescribeSubnetGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:DescribeSubnetGroups',
-- describeSubnetGroups_maxResults - The maximum number of records
-- to include in the response. If more records exist than the specified
-- MaxResults value, a token is included in the response so that the
-- remaining results can be retrieved.
--
-- DescribeSubnetGroups, describeSubnetGroups_nextToken -
-- An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- DescribeSubnetGroups,
-- describeSubnetGroups_subnetGroupName - The name of the subnet
-- group to return details for.
newDescribeSubnetGroups :: DescribeSubnetGroups
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeSubnetGroups_maxResults :: Lens' DescribeSubnetGroups (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeSubnetGroups_nextToken :: Lens' DescribeSubnetGroups (Maybe Text)
-- | The name of the subnet group to return details for.
describeSubnetGroups_subnetGroupName :: Lens' DescribeSubnetGroups (Maybe Text)
-- | See: newDescribeSubnetGroupsResponse smart constructor.
data DescribeSubnetGroupsResponse
DescribeSubnetGroupsResponse' :: Maybe Text -> Maybe [SubnetGroup] -> Int -> DescribeSubnetGroupsResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeSubnetGroupsResponse'] :: DescribeSubnetGroupsResponse -> Maybe Text
-- | A list of subnet groups. Each element in the list contains detailed
-- information about one group.
[$sel:subnetGroups:DescribeSubnetGroupsResponse'] :: DescribeSubnetGroupsResponse -> Maybe [SubnetGroup]
-- | The response's http status code.
[$sel:httpStatus:DescribeSubnetGroupsResponse'] :: DescribeSubnetGroupsResponse -> Int
-- | Create a value of DescribeSubnetGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeSubnetGroups,
-- describeSubnetGroupsResponse_nextToken - An optional argument
-- to pass in case the total number of records exceeds the value of
-- MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- $sel:subnetGroups:DescribeSubnetGroupsResponse',
-- describeSubnetGroupsResponse_subnetGroups - A list of subnet
-- groups. Each element in the list contains detailed information about
-- one group.
--
-- $sel:httpStatus:DescribeSubnetGroupsResponse',
-- describeSubnetGroupsResponse_httpStatus - The response's http
-- status code.
newDescribeSubnetGroupsResponse :: Int -> DescribeSubnetGroupsResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeSubnetGroupsResponse_nextToken :: Lens' DescribeSubnetGroupsResponse (Maybe Text)
-- | A list of subnet groups. Each element in the list contains detailed
-- information about one group.
describeSubnetGroupsResponse_subnetGroups :: Lens' DescribeSubnetGroupsResponse (Maybe [SubnetGroup])
-- | The response's http status code.
describeSubnetGroupsResponse_httpStatus :: Lens' DescribeSubnetGroupsResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance GHC.Show.Show Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance GHC.Read.Read Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroupsResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroupsResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroupsResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroupsResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeSubnetGroups.DescribeSubnetGroups
-- | Returns information about cluster snapshots. By default,
-- DescribeSnapshots lists all of your snapshots; it can optionally
-- describe a single snapshot, or just the snapshots associated with a
-- particular cluster.
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeSnapshots
-- | See: newDescribeSnapshots smart constructor.
data DescribeSnapshots
DescribeSnapshots' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> DescribeSnapshots
-- | A user-supplied cluster identifier. If this parameter is specified,
-- only snapshots associated with that specific cluster are described.
[$sel:clusterName:DescribeSnapshots'] :: DescribeSnapshots -> Maybe Text
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
[$sel:maxResults:DescribeSnapshots'] :: DescribeSnapshots -> Maybe Int
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeSnapshots'] :: DescribeSnapshots -> Maybe Text
-- | A Boolean value which if true, the shard configuration is included in
-- the snapshot description.
[$sel:showDetail:DescribeSnapshots'] :: DescribeSnapshots -> Maybe Bool
-- | A user-supplied name of the snapshot. If this parameter is specified,
-- only this named snapshot is described.
[$sel:snapshotName:DescribeSnapshots'] :: DescribeSnapshots -> Maybe Text
-- | If set to system, the output shows snapshots that were automatically
-- created by MemoryDB. If set to user the output shows snapshots that
-- were manually created. If omitted, the output shows both automatically
-- and manually created snapshots.
[$sel:source:DescribeSnapshots'] :: DescribeSnapshots -> Maybe Text
-- | Create a value of DescribeSnapshots with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeSnapshots, describeSnapshots_clusterName - A
-- user-supplied cluster identifier. If this parameter is specified, only
-- snapshots associated with that specific cluster are described.
--
-- $sel:maxResults:DescribeSnapshots',
-- describeSnapshots_maxResults - The maximum number of records to
-- include in the response. If more records exist than the specified
-- MaxResults value, a token is included in the response so that the
-- remaining results can be retrieved.
--
-- DescribeSnapshots, describeSnapshots_nextToken - An
-- optional argument to pass in case the total number of records exceeds
-- the value of MaxResults. If nextToken is returned, there are more
-- results available. The value of nextToken is a unique pagination token
-- for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:showDetail:DescribeSnapshots',
-- describeSnapshots_showDetail - A Boolean value which if true,
-- the shard configuration is included in the snapshot description.
--
-- $sel:snapshotName:DescribeSnapshots',
-- describeSnapshots_snapshotName - A user-supplied name of the
-- snapshot. If this parameter is specified, only this named snapshot is
-- described.
--
-- DescribeSnapshots, describeSnapshots_source - If set to
-- system, the output shows snapshots that were automatically created by
-- MemoryDB. If set to user the output shows snapshots that were manually
-- created. If omitted, the output shows both automatically and manually
-- created snapshots.
newDescribeSnapshots :: DescribeSnapshots
-- | A user-supplied cluster identifier. If this parameter is specified,
-- only snapshots associated with that specific cluster are described.
describeSnapshots_clusterName :: Lens' DescribeSnapshots (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeSnapshots_maxResults :: Lens' DescribeSnapshots (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeSnapshots_nextToken :: Lens' DescribeSnapshots (Maybe Text)
-- | A Boolean value which if true, the shard configuration is included in
-- the snapshot description.
describeSnapshots_showDetail :: Lens' DescribeSnapshots (Maybe Bool)
-- | A user-supplied name of the snapshot. If this parameter is specified,
-- only this named snapshot is described.
describeSnapshots_snapshotName :: Lens' DescribeSnapshots (Maybe Text)
-- | If set to system, the output shows snapshots that were automatically
-- created by MemoryDB. If set to user the output shows snapshots that
-- were manually created. If omitted, the output shows both automatically
-- and manually created snapshots.
describeSnapshots_source :: Lens' DescribeSnapshots (Maybe Text)
-- | See: newDescribeSnapshotsResponse smart constructor.
data DescribeSnapshotsResponse
DescribeSnapshotsResponse' :: Maybe Text -> Maybe [Snapshot] -> Int -> DescribeSnapshotsResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeSnapshotsResponse'] :: DescribeSnapshotsResponse -> Maybe Text
-- | A list of snapshots. Each item in the list contains detailed
-- information about one snapshot.
[$sel:snapshots:DescribeSnapshotsResponse'] :: DescribeSnapshotsResponse -> Maybe [Snapshot]
-- | The response's http status code.
[$sel:httpStatus:DescribeSnapshotsResponse'] :: DescribeSnapshotsResponse -> Int
-- | Create a value of DescribeSnapshotsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeSnapshots, describeSnapshotsResponse_nextToken -
-- An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:snapshots:DescribeSnapshotsResponse',
-- describeSnapshotsResponse_snapshots - A list of snapshots. Each
-- item in the list contains detailed information about one snapshot.
--
-- $sel:httpStatus:DescribeSnapshotsResponse',
-- describeSnapshotsResponse_httpStatus - The response's http
-- status code.
newDescribeSnapshotsResponse :: Int -> DescribeSnapshotsResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeSnapshotsResponse_nextToken :: Lens' DescribeSnapshotsResponse (Maybe Text)
-- | A list of snapshots. Each item in the list contains detailed
-- information about one snapshot.
describeSnapshotsResponse_snapshots :: Lens' DescribeSnapshotsResponse (Maybe [Snapshot])
-- | The response's http status code.
describeSnapshotsResponse_httpStatus :: Lens' DescribeSnapshotsResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance GHC.Show.Show Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance GHC.Read.Read Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshotsResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshotsResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshotsResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshotsResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshotsResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeSnapshots.DescribeSnapshots
-- | Returns details of the service updates
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeServiceUpdates
-- | See: newDescribeServiceUpdates smart constructor.
data DescribeServiceUpdates
DescribeServiceUpdates' :: Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [ServiceUpdateStatus] -> DescribeServiceUpdates
-- | The list of cluster names to identify service updates to apply
[$sel:clusterNames:DescribeServiceUpdates'] :: DescribeServiceUpdates -> Maybe [Text]
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
[$sel:maxResults:DescribeServiceUpdates'] :: DescribeServiceUpdates -> Maybe Int
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeServiceUpdates'] :: DescribeServiceUpdates -> Maybe Text
-- | The unique ID of the service update to describe.
[$sel:serviceUpdateName:DescribeServiceUpdates'] :: DescribeServiceUpdates -> Maybe Text
-- | The status(es) of the service updates to filter on
[$sel:status:DescribeServiceUpdates'] :: DescribeServiceUpdates -> Maybe [ServiceUpdateStatus]
-- | Create a value of DescribeServiceUpdates with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterNames:DescribeServiceUpdates',
-- describeServiceUpdates_clusterNames - The list of cluster names
-- to identify service updates to apply
--
-- $sel:maxResults:DescribeServiceUpdates',
-- describeServiceUpdates_maxResults - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxResults value, a token is included in the response so
-- that the remaining results can be retrieved.
--
-- DescribeServiceUpdates, describeServiceUpdates_nextToken
-- - An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- DescribeServiceUpdates,
-- describeServiceUpdates_serviceUpdateName - The unique ID of the
-- service update to describe.
--
-- DescribeServiceUpdates, describeServiceUpdates_status -
-- The status(es) of the service updates to filter on
newDescribeServiceUpdates :: DescribeServiceUpdates
-- | The list of cluster names to identify service updates to apply
describeServiceUpdates_clusterNames :: Lens' DescribeServiceUpdates (Maybe [Text])
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeServiceUpdates_maxResults :: Lens' DescribeServiceUpdates (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeServiceUpdates_nextToken :: Lens' DescribeServiceUpdates (Maybe Text)
-- | The unique ID of the service update to describe.
describeServiceUpdates_serviceUpdateName :: Lens' DescribeServiceUpdates (Maybe Text)
-- | The status(es) of the service updates to filter on
describeServiceUpdates_status :: Lens' DescribeServiceUpdates (Maybe [ServiceUpdateStatus])
-- | See: newDescribeServiceUpdatesResponse smart
-- constructor.
data DescribeServiceUpdatesResponse
DescribeServiceUpdatesResponse' :: Maybe Text -> Maybe [ServiceUpdate] -> Int -> DescribeServiceUpdatesResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeServiceUpdatesResponse'] :: DescribeServiceUpdatesResponse -> Maybe Text
-- | A list of service updates
[$sel:serviceUpdates:DescribeServiceUpdatesResponse'] :: DescribeServiceUpdatesResponse -> Maybe [ServiceUpdate]
-- | The response's http status code.
[$sel:httpStatus:DescribeServiceUpdatesResponse'] :: DescribeServiceUpdatesResponse -> Int
-- | Create a value of DescribeServiceUpdatesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeServiceUpdates,
-- describeServiceUpdatesResponse_nextToken - An optional argument
-- to pass in case the total number of records exceeds the value of
-- MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- DescribeServiceUpdatesResponse,
-- describeServiceUpdatesResponse_serviceUpdates - A list of
-- service updates
--
-- $sel:httpStatus:DescribeServiceUpdatesResponse',
-- describeServiceUpdatesResponse_httpStatus - The response's http
-- status code.
newDescribeServiceUpdatesResponse :: Int -> DescribeServiceUpdatesResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeServiceUpdatesResponse_nextToken :: Lens' DescribeServiceUpdatesResponse (Maybe Text)
-- | A list of service updates
describeServiceUpdatesResponse_serviceUpdates :: Lens' DescribeServiceUpdatesResponse (Maybe [ServiceUpdate])
-- | The response's http status code.
describeServiceUpdatesResponse_httpStatus :: Lens' DescribeServiceUpdatesResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance GHC.Show.Show Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance GHC.Read.Read Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdatesResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdatesResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdatesResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdatesResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdatesResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeServiceUpdates.DescribeServiceUpdates
-- | Lists available reserved node offerings.
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeReservedNodesOfferings
-- | See: newDescribeReservedNodesOfferings smart
-- constructor.
data DescribeReservedNodesOfferings
DescribeReservedNodesOfferings' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DescribeReservedNodesOfferings
-- | Duration filter value, specified in years or seconds. Use this
-- parameter to show only reservations for a given duration.
[$sel:duration:DescribeReservedNodesOfferings'] :: DescribeReservedNodesOfferings -> Maybe Text
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a marker is
-- included in the response so that the remaining results can be
-- retrieved.
[$sel:maxResults:DescribeReservedNodesOfferings'] :: DescribeReservedNodesOfferings -> Maybe Int
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
[$sel:nextToken:DescribeReservedNodesOfferings'] :: DescribeReservedNodesOfferings -> Maybe Text
-- | The node type for the reserved nodes. For more information, see
-- Supported node types.
[$sel:nodeType:DescribeReservedNodesOfferings'] :: DescribeReservedNodesOfferings -> Maybe Text
-- | The offering type filter value. Use this parameter to show only the
-- available offerings matching the specified offering type. Valid
-- values: "All Upfront"|"Partial Upfront"| "No Upfront"
[$sel:offeringType:DescribeReservedNodesOfferings'] :: DescribeReservedNodesOfferings -> Maybe Text
-- | The offering identifier filter value. Use this parameter to show only
-- the available offering that matches the specified reservation
-- identifier.
[$sel:reservedNodesOfferingId:DescribeReservedNodesOfferings'] :: DescribeReservedNodesOfferings -> Maybe Text
-- | Create a value of DescribeReservedNodesOfferings with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferings_duration - Duration filter
-- value, specified in years or seconds. Use this parameter to show only
-- reservations for a given duration.
--
-- $sel:maxResults:DescribeReservedNodesOfferings',
-- describeReservedNodesOfferings_maxResults - The maximum number
-- of records to include in the response. If more records exist than the
-- specified MaxRecords value, a marker is included in the response so
-- that the remaining results can be retrieved.
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferings_nextToken - An optional marker
-- returned from a prior request. Use this marker for pagination of
-- results from this operation. If this parameter is specified, the
-- response includes only records beyond the marker, up to the value
-- specified by MaxRecords.
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferings_nodeType - The node type for the
-- reserved nodes. For more information, see Supported node types.
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferings_offeringType - The offering type
-- filter value. Use this parameter to show only the available offerings
-- matching the specified offering type. Valid values: "All
-- Upfront"|"Partial Upfront"| "No Upfront"
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferings_reservedNodesOfferingId - The
-- offering identifier filter value. Use this parameter to show only the
-- available offering that matches the specified reservation identifier.
newDescribeReservedNodesOfferings :: DescribeReservedNodesOfferings
-- | Duration filter value, specified in years or seconds. Use this
-- parameter to show only reservations for a given duration.
describeReservedNodesOfferings_duration :: Lens' DescribeReservedNodesOfferings (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a marker is
-- included in the response so that the remaining results can be
-- retrieved.
describeReservedNodesOfferings_maxResults :: Lens' DescribeReservedNodesOfferings (Maybe Int)
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
describeReservedNodesOfferings_nextToken :: Lens' DescribeReservedNodesOfferings (Maybe Text)
-- | The node type for the reserved nodes. For more information, see
-- Supported node types.
describeReservedNodesOfferings_nodeType :: Lens' DescribeReservedNodesOfferings (Maybe Text)
-- | The offering type filter value. Use this parameter to show only the
-- available offerings matching the specified offering type. Valid
-- values: "All Upfront"|"Partial Upfront"| "No Upfront"
describeReservedNodesOfferings_offeringType :: Lens' DescribeReservedNodesOfferings (Maybe Text)
-- | The offering identifier filter value. Use this parameter to show only
-- the available offering that matches the specified reservation
-- identifier.
describeReservedNodesOfferings_reservedNodesOfferingId :: Lens' DescribeReservedNodesOfferings (Maybe Text)
-- | See: newDescribeReservedNodesOfferingsResponse smart
-- constructor.
data DescribeReservedNodesOfferingsResponse
DescribeReservedNodesOfferingsResponse' :: Maybe Text -> Maybe [ReservedNodesOffering] -> Int -> DescribeReservedNodesOfferingsResponse
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
[$sel:nextToken:DescribeReservedNodesOfferingsResponse'] :: DescribeReservedNodesOfferingsResponse -> Maybe Text
-- | Lists available reserved node offerings.
[$sel:reservedNodesOfferings:DescribeReservedNodesOfferingsResponse'] :: DescribeReservedNodesOfferingsResponse -> Maybe [ReservedNodesOffering]
-- | The response's http status code.
[$sel:httpStatus:DescribeReservedNodesOfferingsResponse'] :: DescribeReservedNodesOfferingsResponse -> Int
-- | Create a value of DescribeReservedNodesOfferingsResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferingsResponse_nextToken - An optional
-- marker returned from a prior request. Use this marker for pagination
-- of results from this operation. If this parameter is specified, the
-- response includes only records beyond the marker, up to the value
-- specified by MaxRecords.
--
--
-- $sel:reservedNodesOfferings:DescribeReservedNodesOfferingsResponse',
-- describeReservedNodesOfferingsResponse_reservedNodesOfferings -
-- Lists available reserved node offerings.
--
-- $sel:httpStatus:DescribeReservedNodesOfferingsResponse',
-- describeReservedNodesOfferingsResponse_httpStatus - The
-- response's http status code.
newDescribeReservedNodesOfferingsResponse :: Int -> DescribeReservedNodesOfferingsResponse
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
describeReservedNodesOfferingsResponse_nextToken :: Lens' DescribeReservedNodesOfferingsResponse (Maybe Text)
-- | Lists available reserved node offerings.
describeReservedNodesOfferingsResponse_reservedNodesOfferings :: Lens' DescribeReservedNodesOfferingsResponse (Maybe [ReservedNodesOffering])
-- | The response's http status code.
describeReservedNodesOfferingsResponse_httpStatus :: Lens' DescribeReservedNodesOfferingsResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance GHC.Show.Show Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance GHC.Read.Read Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferingsResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferingsResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferingsResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferingsResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferingsResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeReservedNodesOfferings.DescribeReservedNodesOfferings
-- | Returns information about reserved nodes for this account, or about a
-- specified reserved node.
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeReservedNodes
-- | See: newDescribeReservedNodes smart constructor.
data DescribeReservedNodes
DescribeReservedNodes' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DescribeReservedNodes
-- | The duration filter value, specified in years or seconds. Use this
-- parameter to show only reservations for this duration.
[$sel:duration:DescribeReservedNodes'] :: DescribeReservedNodes -> Maybe Text
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a marker is
-- included in the response so that the remaining results can be
-- retrieved.
[$sel:maxResults:DescribeReservedNodes'] :: DescribeReservedNodes -> Maybe Int
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
[$sel:nextToken:DescribeReservedNodes'] :: DescribeReservedNodes -> Maybe Text
-- | The node type filter value. Use this parameter to show only those
-- reservations matching the specified node type. For more information,
-- see Supported node types.
[$sel:nodeType:DescribeReservedNodes'] :: DescribeReservedNodes -> Maybe Text
-- | The offering type filter value. Use this parameter to show only the
-- available offerings matching the specified offering type. Valid
-- values: "All Upfront"|"Partial Upfront"| "No Upfront"
[$sel:offeringType:DescribeReservedNodes'] :: DescribeReservedNodes -> Maybe Text
-- | The reserved node identifier filter value. Use this parameter to show
-- only the reservation that matches the specified reservation ID.
[$sel:reservationId:DescribeReservedNodes'] :: DescribeReservedNodes -> Maybe Text
-- | The offering identifier filter value. Use this parameter to show only
-- purchased reservations matching the specified offering identifier.
[$sel:reservedNodesOfferingId: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_duration -
-- The duration filter value, specified in years or seconds. Use this
-- parameter to show only reservations for this duration.
--
-- $sel:maxResults:DescribeReservedNodes',
-- describeReservedNodes_maxResults - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxRecords value, a marker is included in the response so
-- that the remaining results can be retrieved.
--
-- DescribeReservedNodes, describeReservedNodes_nextToken -
-- An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
--
-- DescribeReservedNodes, describeReservedNodes_nodeType -
-- The node type filter value. Use this parameter to show only those
-- reservations matching the specified node type. For more information,
-- see Supported node types.
--
-- DescribeReservedNodes,
-- describeReservedNodes_offeringType - The offering type filter
-- value. Use this parameter to show only the available offerings
-- matching the specified offering type. Valid values: "All
-- Upfront"|"Partial Upfront"| "No Upfront"
--
-- DescribeReservedNodes,
-- describeReservedNodes_reservationId - The reserved node
-- identifier filter value. Use this parameter to show only the
-- reservation that matches the specified reservation ID.
--
-- DescribeReservedNodes,
-- describeReservedNodes_reservedNodesOfferingId - The offering
-- identifier filter value. Use this parameter to show only purchased
-- reservations matching the specified offering identifier.
newDescribeReservedNodes :: DescribeReservedNodes
-- | The duration filter value, specified in years or seconds. Use this
-- parameter to show only reservations for this duration.
describeReservedNodes_duration :: Lens' DescribeReservedNodes (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a marker is
-- included in the response so that the remaining results can be
-- retrieved.
describeReservedNodes_maxResults :: Lens' DescribeReservedNodes (Maybe Int)
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
describeReservedNodes_nextToken :: Lens' DescribeReservedNodes (Maybe Text)
-- | The node type filter value. Use this parameter to show only those
-- reservations matching the specified node type. For more information,
-- see Supported node types.
describeReservedNodes_nodeType :: Lens' DescribeReservedNodes (Maybe Text)
-- | The offering type filter value. Use this parameter to show only the
-- available offerings matching the specified offering type. Valid
-- values: "All Upfront"|"Partial Upfront"| "No Upfront"
describeReservedNodes_offeringType :: Lens' DescribeReservedNodes (Maybe Text)
-- | The reserved node identifier filter value. Use this parameter to show
-- only the reservation that matches the specified reservation ID.
describeReservedNodes_reservationId :: Lens' DescribeReservedNodes (Maybe Text)
-- | The offering identifier filter value. Use this parameter to show only
-- purchased reservations matching the specified offering identifier.
describeReservedNodes_reservedNodesOfferingId :: Lens' DescribeReservedNodes (Maybe Text)
-- | See: newDescribeReservedNodesResponse smart constructor.
data DescribeReservedNodesResponse
DescribeReservedNodesResponse' :: Maybe Text -> Maybe [ReservedNode] -> Int -> DescribeReservedNodesResponse
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
[$sel:nextToken:DescribeReservedNodesResponse'] :: DescribeReservedNodesResponse -> Maybe Text
-- | Returns information about reserved nodes for this account, or about a
-- specified reserved node.
[$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_nextToken - An optional marker
-- returned from a prior request. Use this marker for pagination of
-- results from this operation. If this parameter is specified, the
-- response includes only records beyond the marker, up to the value
-- specified by MaxRecords.
--
-- $sel:reservedNodes:DescribeReservedNodesResponse',
-- describeReservedNodesResponse_reservedNodes - Returns
-- information about reserved nodes for this account, or about a
-- specified reserved node.
--
-- $sel:httpStatus:DescribeReservedNodesResponse',
-- describeReservedNodesResponse_httpStatus - The response's http
-- status code.
newDescribeReservedNodesResponse :: Int -> DescribeReservedNodesResponse
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
describeReservedNodesResponse_nextToken :: Lens' DescribeReservedNodesResponse (Maybe Text)
-- | Returns information about reserved nodes for this account, or about a
-- specified reserved node.
describeReservedNodesResponse_reservedNodes :: Lens' DescribeReservedNodesResponse (Maybe [ReservedNode])
-- | The response's http status code.
describeReservedNodesResponse_httpStatus :: Lens' DescribeReservedNodesResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Show.Show Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Read.Read Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodesResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodesResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodesResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodesResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodesResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeReservedNodes.DescribeReservedNodes
-- | Returns the detailed parameter list for a particular parameter group.
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeParameters
-- | See: newDescribeParameters smart constructor.
data DescribeParameters
DescribeParameters' :: Maybe Int -> Maybe Text -> Text -> DescribeParameters
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
[$sel:maxResults:DescribeParameters'] :: DescribeParameters -> Maybe Int
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeParameters'] :: DescribeParameters -> Maybe Text
-- | he name of a specific parameter group to return details for.
[$sel:parameterGroupName:DescribeParameters'] :: DescribeParameters -> Text
-- | Create a value of DescribeParameters with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:DescribeParameters',
-- describeParameters_maxResults - The maximum number of records
-- to include in the response. If more records exist than the specified
-- MaxResults value, a token is included in the response so that the
-- remaining results can be retrieved.
--
-- DescribeParameters, describeParameters_nextToken - An
-- optional argument to pass in case the total number of records exceeds
-- the value of MaxResults. If nextToken is returned, there are more
-- results available. The value of nextToken is a unique pagination token
-- for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- DescribeParameters,
-- describeParameters_parameterGroupName - he name of a specific
-- parameter group to return details for.
newDescribeParameters :: Text -> DescribeParameters
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeParameters_maxResults :: Lens' DescribeParameters (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeParameters_nextToken :: Lens' DescribeParameters (Maybe Text)
-- | he name of a specific parameter group to return details for.
describeParameters_parameterGroupName :: Lens' DescribeParameters Text
-- | See: newDescribeParametersResponse smart constructor.
data DescribeParametersResponse
DescribeParametersResponse' :: Maybe Text -> Maybe [Parameter] -> Int -> DescribeParametersResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeParametersResponse'] :: DescribeParametersResponse -> Maybe Text
-- | A list of parameters specific to a particular parameter group. Each
-- element in the list contains detailed information about one parameter.
[$sel:parameters:DescribeParametersResponse'] :: DescribeParametersResponse -> Maybe [Parameter]
-- | The response's http status code.
[$sel:httpStatus:DescribeParametersResponse'] :: DescribeParametersResponse -> Int
-- | Create a value of DescribeParametersResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeParameters, describeParametersResponse_nextToken
-- - An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:parameters:DescribeParametersResponse',
-- describeParametersResponse_parameters - A list of parameters
-- specific to a particular parameter group. Each element in the list
-- contains detailed information about one parameter.
--
-- $sel:httpStatus:DescribeParametersResponse',
-- describeParametersResponse_httpStatus - The response's http
-- status code.
newDescribeParametersResponse :: Int -> DescribeParametersResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeParametersResponse_nextToken :: Lens' DescribeParametersResponse (Maybe Text)
-- | A list of parameters specific to a particular parameter group. Each
-- element in the list contains detailed information about one parameter.
describeParametersResponse_parameters :: Lens' DescribeParametersResponse (Maybe [Parameter])
-- | The response's http status code.
describeParametersResponse_httpStatus :: Lens' DescribeParametersResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance GHC.Show.Show Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance GHC.Read.Read Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeParameters.DescribeParametersResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeParameters.DescribeParametersResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeParameters.DescribeParametersResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeParameters.DescribeParametersResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeParameters.DescribeParametersResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeParameters.DescribeParameters
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeParameters.DescribeParameters
-- | Returns a list of parameter group descriptions. If a parameter group
-- name is specified, the list contains only the descriptions for that
-- group.
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeParameterGroups
-- | See: newDescribeParameterGroups smart constructor.
data DescribeParameterGroups
DescribeParameterGroups' :: Maybe Int -> Maybe Text -> Maybe Text -> DescribeParameterGroups
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
[$sel:maxResults:DescribeParameterGroups'] :: DescribeParameterGroups -> Maybe Int
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeParameterGroups'] :: DescribeParameterGroups -> Maybe Text
-- | The name of a specific parameter group to return details for.
[$sel:parameterGroupName:DescribeParameterGroups'] :: DescribeParameterGroups -> Maybe Text
-- | Create a value of DescribeParameterGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:DescribeParameterGroups',
-- describeParameterGroups_maxResults - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxResults value, a token is included in the response so
-- that the remaining results can be retrieved.
--
-- DescribeParameterGroups,
-- describeParameterGroups_nextToken - An optional argument to
-- pass in case the total number of records exceeds the value of
-- MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- DescribeParameterGroups,
-- describeParameterGroups_parameterGroupName - The name of a
-- specific parameter group to return details for.
newDescribeParameterGroups :: DescribeParameterGroups
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeParameterGroups_maxResults :: Lens' DescribeParameterGroups (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeParameterGroups_nextToken :: Lens' DescribeParameterGroups (Maybe Text)
-- | The name of a specific parameter group to return details for.
describeParameterGroups_parameterGroupName :: Lens' DescribeParameterGroups (Maybe Text)
-- | See: newDescribeParameterGroupsResponse smart
-- constructor.
data DescribeParameterGroupsResponse
DescribeParameterGroupsResponse' :: Maybe Text -> Maybe [ParameterGroup] -> Int -> DescribeParameterGroupsResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeParameterGroupsResponse'] :: DescribeParameterGroupsResponse -> Maybe Text
-- | A list of parameter groups. Each element in the list contains detailed
-- information about one parameter group.
[$sel:parameterGroups:DescribeParameterGroupsResponse'] :: DescribeParameterGroupsResponse -> Maybe [ParameterGroup]
-- | The response's http status code.
[$sel:httpStatus:DescribeParameterGroupsResponse'] :: DescribeParameterGroupsResponse -> Int
-- | Create a value of DescribeParameterGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeParameterGroups,
-- describeParameterGroupsResponse_nextToken - An optional
-- argument to pass in case the total number of records exceeds the value
-- of MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- $sel:parameterGroups:DescribeParameterGroupsResponse',
-- describeParameterGroupsResponse_parameterGroups - A list of
-- parameter groups. Each element in the list contains detailed
-- information about one parameter group.
--
-- $sel:httpStatus:DescribeParameterGroupsResponse',
-- describeParameterGroupsResponse_httpStatus - The response's
-- http status code.
newDescribeParameterGroupsResponse :: Int -> DescribeParameterGroupsResponse
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeParameterGroupsResponse_nextToken :: Lens' DescribeParameterGroupsResponse (Maybe Text)
-- | A list of parameter groups. Each element in the list contains detailed
-- information about one parameter group.
describeParameterGroupsResponse_parameterGroups :: Lens' DescribeParameterGroupsResponse (Maybe [ParameterGroup])
-- | The response's http status code.
describeParameterGroupsResponse_httpStatus :: Lens' DescribeParameterGroupsResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance GHC.Show.Show Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance GHC.Read.Read Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroupsResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroupsResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroupsResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroupsResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeParameterGroups.DescribeParameterGroups
-- | Returns events related to clusters, security groups, and parameter
-- groups. You can obtain events specific to a particular cluster,
-- security group, or parameter group by providing the name as a
-- parameter. By default, only the events occurring within the last hour
-- are returned; however, you can retrieve up to 14 days' worth of events
-- if necessary.
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeEvents
-- | See: newDescribeEvents smart constructor.
data DescribeEvents
DescribeEvents' :: Maybe Int -> Maybe POSIX -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe SourceType -> Maybe POSIX -> DescribeEvents
-- | The number of minutes worth of events to retrieve.
[$sel:duration:DescribeEvents'] :: DescribeEvents -> Maybe Int
-- | The end of the time interval for which to retrieve events, specified
-- in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
[$sel:endTime:DescribeEvents'] :: DescribeEvents -> Maybe POSIX
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
[$sel:maxResults:DescribeEvents'] :: DescribeEvents -> Maybe Int
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeEvents'] :: DescribeEvents -> Maybe Text
-- | The identifier of the event source for which events are returned. If
-- not specified, all sources are included in the response.
[$sel:sourceName:DescribeEvents'] :: DescribeEvents -> Maybe Text
-- | The event source to retrieve events for. If no value is specified, all
-- events are returned.
[$sel:sourceType:DescribeEvents'] :: DescribeEvents -> Maybe SourceType
-- | The beginning of the time interval to retrieve events for, specified
-- in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
[$sel:startTime:DescribeEvents'] :: DescribeEvents -> Maybe POSIX
-- | 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 worth of events to retrieve.
--
-- $sel:endTime:DescribeEvents', describeEvents_endTime -
-- The end of the time interval for which to retrieve events, specified
-- in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
--
-- $sel:maxResults:DescribeEvents',
-- describeEvents_maxResults - The maximum number of records to
-- include in the response. If more records exist than the specified
-- MaxResults value, a token is included in the response so that the
-- remaining results can be retrieved.
--
-- DescribeEvents, describeEvents_nextToken - An optional
-- argument to pass in case the total number of records exceeds the value
-- of MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- DescribeEvents, describeEvents_sourceName - The
-- identifier of the event source for which events are returned. If not
-- specified, all sources are included in the response.
--
-- DescribeEvents, describeEvents_sourceType - The event
-- source to retrieve events for. If no value is specified, all events
-- are returned.
--
-- DescribeEvents, describeEvents_startTime - The beginning
-- of the time interval to retrieve events for, specified in ISO 8601
-- format. Example: 2017-03-30T07:03:49.555Z
newDescribeEvents :: DescribeEvents
-- | The number of minutes worth of events to retrieve.
describeEvents_duration :: Lens' DescribeEvents (Maybe Int)
-- | The end of the time interval for which to retrieve events, specified
-- in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
describeEvents_endTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeEvents_maxResults :: Lens' DescribeEvents (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeEvents_nextToken :: Lens' DescribeEvents (Maybe Text)
-- | The identifier of the event source for which events are returned. If
-- not specified, all sources are included in the response.
describeEvents_sourceName :: Lens' DescribeEvents (Maybe Text)
-- | The event source to retrieve events for. If no value is specified, all
-- events are returned.
describeEvents_sourceType :: Lens' DescribeEvents (Maybe SourceType)
-- | The beginning of the time interval to retrieve events for, specified
-- in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
describeEvents_startTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | See: newDescribeEventsResponse smart constructor.
data DescribeEventsResponse
DescribeEventsResponse' :: Maybe [Event] -> Maybe Text -> Int -> DescribeEventsResponse
-- | A list of events. Each element in the list contains detailed
-- information about one event.
[$sel:events:DescribeEventsResponse'] :: DescribeEventsResponse -> Maybe [Event]
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken: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:
--
-- $sel:events:DescribeEventsResponse',
-- describeEventsResponse_events - A list of events. Each element
-- in the list contains detailed information about one event.
--
-- DescribeEvents, describeEventsResponse_nextToken - An
-- optional argument to pass in case the total number of records exceeds
-- the value of MaxResults. If nextToken is returned, there are more
-- results available. The value of nextToken is a unique pagination token
-- for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:httpStatus:DescribeEventsResponse',
-- describeEventsResponse_httpStatus - The response's http status
-- code.
newDescribeEventsResponse :: Int -> DescribeEventsResponse
-- | A list of events. Each element in the list contains detailed
-- information about one event.
describeEventsResponse_events :: Lens' DescribeEventsResponse (Maybe [Event])
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeEventsResponse_nextToken :: Lens' DescribeEventsResponse (Maybe Text)
-- | The response's http status code.
describeEventsResponse_httpStatus :: Lens' DescribeEventsResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance GHC.Show.Show Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance GHC.Read.Read Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeEvents.DescribeEventsResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeEvents.DescribeEventsResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeEvents.DescribeEventsResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeEvents.DescribeEventsResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeEvents.DescribeEventsResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeEvents.DescribeEvents
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeEvents.DescribeEvents
-- | Returns a list of the available Redis engine versions.
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeEngineVersions
-- | See: newDescribeEngineVersions smart constructor.
data DescribeEngineVersions
DescribeEngineVersions' :: Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> DescribeEngineVersions
-- | If true, specifies that only the default version of the specified
-- engine or engine and major version combination is to be returned.
[$sel:defaultOnly:DescribeEngineVersions'] :: DescribeEngineVersions -> Maybe Bool
-- | The Redis engine version
[$sel:engineVersion:DescribeEngineVersions'] :: DescribeEngineVersions -> Maybe Text
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
[$sel:maxResults:DescribeEngineVersions'] :: DescribeEngineVersions -> Maybe Int
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeEngineVersions'] :: DescribeEngineVersions -> Maybe Text
-- | The name of a specific parameter group family to return details for.
[$sel:parameterGroupFamily:DescribeEngineVersions'] :: DescribeEngineVersions -> Maybe Text
-- | Create a value of DescribeEngineVersions with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:defaultOnly:DescribeEngineVersions',
-- describeEngineVersions_defaultOnly - If true, specifies that
-- only the default version of the specified engine or engine and major
-- version combination is to be returned.
--
-- DescribeEngineVersions,
-- describeEngineVersions_engineVersion - The Redis engine version
--
-- $sel:maxResults:DescribeEngineVersions',
-- describeEngineVersions_maxResults - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxResults value, a token is included in the response so
-- that the remaining results can be retrieved.
--
-- DescribeEngineVersions, describeEngineVersions_nextToken
-- - An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- DescribeEngineVersions,
-- describeEngineVersions_parameterGroupFamily - The name of a
-- specific parameter group family to return details for.
newDescribeEngineVersions :: DescribeEngineVersions
-- | If true, specifies that only the default version of the specified
-- engine or engine and major version combination is to be returned.
describeEngineVersions_defaultOnly :: Lens' DescribeEngineVersions (Maybe Bool)
-- | The Redis engine version
describeEngineVersions_engineVersion :: Lens' DescribeEngineVersions (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeEngineVersions_maxResults :: Lens' DescribeEngineVersions (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeEngineVersions_nextToken :: Lens' DescribeEngineVersions (Maybe Text)
-- | The name of a specific parameter group family to return details for.
describeEngineVersions_parameterGroupFamily :: Lens' DescribeEngineVersions (Maybe Text)
-- | See: newDescribeEngineVersionsResponse smart
-- constructor.
data DescribeEngineVersionsResponse
DescribeEngineVersionsResponse' :: Maybe [EngineVersionInfo] -> Maybe Text -> Int -> DescribeEngineVersionsResponse
-- | A list of engine version details. Each element in the list contains
-- detailed information about one engine version.
[$sel:engineVersions:DescribeEngineVersionsResponse'] :: DescribeEngineVersionsResponse -> Maybe [EngineVersionInfo]
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeEngineVersionsResponse'] :: DescribeEngineVersionsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeEngineVersionsResponse'] :: DescribeEngineVersionsResponse -> Int
-- | Create a value of DescribeEngineVersionsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:engineVersions:DescribeEngineVersionsResponse',
-- describeEngineVersionsResponse_engineVersions - A list of
-- engine version details. Each element in the list contains detailed
-- information about one engine version.
--
-- DescribeEngineVersions,
-- describeEngineVersionsResponse_nextToken - An optional argument
-- to pass in case the total number of records exceeds the value of
-- MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- $sel:httpStatus:DescribeEngineVersionsResponse',
-- describeEngineVersionsResponse_httpStatus - The response's http
-- status code.
newDescribeEngineVersionsResponse :: Int -> DescribeEngineVersionsResponse
-- | A list of engine version details. Each element in the list contains
-- detailed information about one engine version.
describeEngineVersionsResponse_engineVersions :: Lens' DescribeEngineVersionsResponse (Maybe [EngineVersionInfo])
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeEngineVersionsResponse_nextToken :: Lens' DescribeEngineVersionsResponse (Maybe Text)
-- | The response's http status code.
describeEngineVersionsResponse_httpStatus :: Lens' DescribeEngineVersionsResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance GHC.Show.Show Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance GHC.Read.Read Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersionsResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersionsResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersionsResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersionsResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersionsResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeEngineVersions.DescribeEngineVersions
-- | Returns information about all provisioned clusters if no cluster
-- identifier is specified, or about a specific cluster if a cluster name
-- is supplied.
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeClusters
-- | See: newDescribeClusters smart constructor.
data DescribeClusters
DescribeClusters' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> DescribeClusters
-- | The name of the cluster
[$sel:clusterName:DescribeClusters'] :: DescribeClusters -> Maybe Text
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
[$sel:maxResults:DescribeClusters'] :: DescribeClusters -> Maybe Int
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeClusters'] :: DescribeClusters -> Maybe Text
-- | An optional flag that can be included in the request to retrieve
-- information about the individual shard(s).
[$sel:showShardDetails:DescribeClusters'] :: DescribeClusters -> Maybe Bool
-- | 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_clusterName - The
-- name of the cluster
--
-- $sel:maxResults:DescribeClusters',
-- describeClusters_maxResults - The maximum number of records to
-- include in the response. If more records exist than the specified
-- MaxResults value, a token is included in the response so that the
-- remaining results can be retrieved.
--
-- DescribeClusters, describeClusters_nextToken - An
-- optional argument to pass in case the total number of records exceeds
-- the value of MaxResults. If nextToken is returned, there are more
-- results available. The value of nextToken is a unique pagination token
-- for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:showShardDetails:DescribeClusters',
-- describeClusters_showShardDetails - An optional flag that can
-- be included in the request to retrieve information about the
-- individual shard(s).
newDescribeClusters :: DescribeClusters
-- | The name of the cluster
describeClusters_clusterName :: Lens' DescribeClusters (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeClusters_maxResults :: Lens' DescribeClusters (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeClusters_nextToken :: Lens' DescribeClusters (Maybe Text)
-- | An optional flag that can be included in the request to retrieve
-- information about the individual shard(s).
describeClusters_showShardDetails :: Lens' DescribeClusters (Maybe Bool)
-- | See: newDescribeClustersResponse smart constructor.
data DescribeClustersResponse
DescribeClustersResponse' :: Maybe [Cluster] -> Maybe Text -> Int -> DescribeClustersResponse
-- | A list of clusters
[$sel:clusters:DescribeClustersResponse'] :: DescribeClustersResponse -> Maybe [Cluster]
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken: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:
--
-- DescribeClustersResponse,
-- describeClustersResponse_clusters - A list of clusters
--
-- DescribeClusters, describeClustersResponse_nextToken -
-- An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:httpStatus:DescribeClustersResponse',
-- describeClustersResponse_httpStatus - The response's http
-- status code.
newDescribeClustersResponse :: Int -> DescribeClustersResponse
-- | A list of clusters
describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeClustersResponse_nextToken :: Lens' DescribeClustersResponse (Maybe Text)
-- | The response's http status code.
describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance GHC.Show.Show Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance GHC.Read.Read Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeClusters.DescribeClustersResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeClusters.DescribeClustersResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeClusters.DescribeClustersResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeClusters.DescribeClustersResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeClusters.DescribeClustersResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeClusters.DescribeClusters
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeClusters.DescribeClusters
-- | Returns a list of ACLs
--
-- This operation returns paginated results.
module Amazonka.MemoryDb.DescribeACLs
-- | See: newDescribeACLs smart constructor.
data DescribeACLs
DescribeACLs' :: Maybe Text -> Maybe Int -> Maybe Text -> DescribeACLs
-- | The name of the ACL
[$sel:aCLName:DescribeACLs'] :: DescribeACLs -> Maybe Text
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
[$sel:maxResults:DescribeACLs'] :: DescribeACLs -> Maybe Int
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
[$sel:nextToken:DescribeACLs'] :: DescribeACLs -> Maybe Text
-- | Create a value of DescribeACLs with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeACLs, describeACLs_aCLName - The name of the ACL
--
-- $sel:maxResults:DescribeACLs', describeACLs_maxResults -
-- The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
--
-- DescribeACLs, describeACLs_nextToken - An optional
-- argument to pass in case the total number of records exceeds the value
-- of MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
newDescribeACLs :: DescribeACLs
-- | The name of the ACL
describeACLs_aCLName :: Lens' DescribeACLs (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeACLs_maxResults :: Lens' DescribeACLs (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeACLs_nextToken :: Lens' DescribeACLs (Maybe Text)
-- | See: newDescribeACLsResponse smart constructor.
data DescribeACLsResponse
DescribeACLsResponse' :: Maybe [ACL] -> Maybe Text -> Int -> DescribeACLsResponse
-- | The list of ACLs
[$sel:aCLs:DescribeACLsResponse'] :: DescribeACLsResponse -> Maybe [ACL]
-- | If nextToken is returned, there are more results available. The value
-- of nextToken is a unique pagination token for each page. Make the call
-- again using the returned token to retrieve the next page. Keep all
-- other arguments unchanged.
[$sel:nextToken:DescribeACLsResponse'] :: DescribeACLsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeACLsResponse'] :: DescribeACLsResponse -> Int
-- | Create a value of DescribeACLsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeACLsResponse, describeACLsResponse_aCLs - The
-- list of ACLs
--
-- DescribeACLs, describeACLsResponse_nextToken - If
-- nextToken is returned, there are more results available. The value of
-- nextToken is a unique pagination token for each page. Make the call
-- again using the returned token to retrieve the next page. Keep all
-- other arguments unchanged.
--
-- $sel:httpStatus:DescribeACLsResponse',
-- describeACLsResponse_httpStatus - The response's http status
-- code.
newDescribeACLsResponse :: Int -> DescribeACLsResponse
-- | The list of ACLs
describeACLsResponse_aCLs :: Lens' DescribeACLsResponse (Maybe [ACL])
-- | If nextToken is returned, there are more results available. The value
-- of nextToken is a unique pagination token for each page. Make the call
-- again using the returned token to retrieve the next page. Keep all
-- other arguments unchanged.
describeACLsResponse_nextToken :: Lens' DescribeACLsResponse (Maybe Text)
-- | The response's http status code.
describeACLsResponse_httpStatus :: Lens' DescribeACLsResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance GHC.Show.Show Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance GHC.Read.Read Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance GHC.Generics.Generic Amazonka.MemoryDb.DescribeACLs.DescribeACLsResponse
instance GHC.Show.Show Amazonka.MemoryDb.DescribeACLs.DescribeACLsResponse
instance GHC.Read.Read Amazonka.MemoryDb.DescribeACLs.DescribeACLsResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DescribeACLs.DescribeACLsResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeACLs.DescribeACLsResponse
instance Amazonka.Pager.AWSPager Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DescribeACLs.DescribeACLs
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DescribeACLs.DescribeACLs
-- | Deletes a user. The user will be removed from all ACLs and in turn
-- removed from all clusters.
module Amazonka.MemoryDb.DeleteUser
-- | See: newDeleteUser smart constructor.
data DeleteUser
DeleteUser' :: Text -> DeleteUser
-- | The name of the user to delete
[$sel:userName:DeleteUser'] :: DeleteUser -> Text
-- | Create a value of DeleteUser with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:userName:DeleteUser', deleteUser_userName - The
-- name of the user to delete
newDeleteUser :: Text -> DeleteUser
-- | The name of the user to delete
deleteUser_userName :: Lens' DeleteUser Text
-- | See: newDeleteUserResponse smart constructor.
data DeleteUserResponse
DeleteUserResponse' :: Maybe User -> Int -> DeleteUserResponse
-- | The user object that has been deleted.
[$sel:user:DeleteUserResponse'] :: DeleteUserResponse -> Maybe User
-- | The response's http status code.
[$sel:httpStatus:DeleteUserResponse'] :: DeleteUserResponse -> Int
-- | Create a value of DeleteUserResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:user:DeleteUserResponse', deleteUserResponse_user -
-- The user object that has been deleted.
--
-- $sel:httpStatus:DeleteUserResponse',
-- deleteUserResponse_httpStatus - The response's http status
-- code.
newDeleteUserResponse :: Int -> DeleteUserResponse
-- | The user object that has been deleted.
deleteUserResponse_user :: Lens' DeleteUserResponse (Maybe User)
-- | The response's http status code.
deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteUser.DeleteUser
instance GHC.Show.Show Amazonka.MemoryDb.DeleteUser.DeleteUser
instance GHC.Read.Read Amazonka.MemoryDb.DeleteUser.DeleteUser
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteUser.DeleteUser
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteUser.DeleteUserResponse
instance GHC.Show.Show Amazonka.MemoryDb.DeleteUser.DeleteUserResponse
instance GHC.Read.Read Amazonka.MemoryDb.DeleteUser.DeleteUserResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteUser.DeleteUserResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DeleteUser.DeleteUser
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteUser.DeleteUserResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DeleteUser.DeleteUser
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteUser.DeleteUser
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DeleteUser.DeleteUser
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DeleteUser.DeleteUser
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DeleteUser.DeleteUser
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DeleteUser.DeleteUser
-- | Deletes a subnet group. You cannot delete a default subnet group or
-- one that is associated with any clusters.
module Amazonka.MemoryDb.DeleteSubnetGroup
-- | See: newDeleteSubnetGroup smart constructor.
data DeleteSubnetGroup
DeleteSubnetGroup' :: Text -> DeleteSubnetGroup
-- | The name of the subnet group to delete
[$sel:subnetGroupName:DeleteSubnetGroup'] :: DeleteSubnetGroup -> Text
-- | Create a value of DeleteSubnetGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteSubnetGroup, deleteSubnetGroup_subnetGroupName -
-- The name of the subnet group to delete
newDeleteSubnetGroup :: Text -> DeleteSubnetGroup
-- | The name of the subnet group to delete
deleteSubnetGroup_subnetGroupName :: Lens' DeleteSubnetGroup Text
-- | See: newDeleteSubnetGroupResponse smart constructor.
data DeleteSubnetGroupResponse
DeleteSubnetGroupResponse' :: Maybe SubnetGroup -> Int -> DeleteSubnetGroupResponse
-- | The subnet group object that has been deleted.
[$sel:subnetGroup:DeleteSubnetGroupResponse'] :: DeleteSubnetGroupResponse -> Maybe SubnetGroup
-- | The response's http status code.
[$sel:httpStatus:DeleteSubnetGroupResponse'] :: DeleteSubnetGroupResponse -> Int
-- | Create a value of DeleteSubnetGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:subnetGroup:DeleteSubnetGroupResponse',
-- deleteSubnetGroupResponse_subnetGroup - The subnet group object
-- that has been deleted.
--
-- $sel:httpStatus:DeleteSubnetGroupResponse',
-- deleteSubnetGroupResponse_httpStatus - The response's http
-- status code.
newDeleteSubnetGroupResponse :: Int -> DeleteSubnetGroupResponse
-- | The subnet group object that has been deleted.
deleteSubnetGroupResponse_subnetGroup :: Lens' DeleteSubnetGroupResponse (Maybe SubnetGroup)
-- | The response's http status code.
deleteSubnetGroupResponse_httpStatus :: Lens' DeleteSubnetGroupResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
instance GHC.Show.Show Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
instance GHC.Read.Read Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroupResponse
instance GHC.Show.Show Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroupResponse
instance GHC.Read.Read Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroupResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DeleteSubnetGroup.DeleteSubnetGroup
-- | Deletes an existing snapshot. When you receive a successful response
-- from this operation, MemoryDB immediately begins deleting the
-- snapshot; you cannot cancel or revert this operation.
module Amazonka.MemoryDb.DeleteSnapshot
-- | See: newDeleteSnapshot smart constructor.
data DeleteSnapshot
DeleteSnapshot' :: Text -> DeleteSnapshot
-- | The name of the snapshot to delete
[$sel:snapshotName:DeleteSnapshot'] :: DeleteSnapshot -> Text
-- | Create a value of DeleteSnapshot with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:snapshotName:DeleteSnapshot',
-- deleteSnapshot_snapshotName - The name of the snapshot to
-- delete
newDeleteSnapshot :: Text -> DeleteSnapshot
-- | The name of the snapshot to delete
deleteSnapshot_snapshotName :: Lens' DeleteSnapshot Text
-- | See: newDeleteSnapshotResponse smart constructor.
data DeleteSnapshotResponse
DeleteSnapshotResponse' :: Maybe Snapshot -> Int -> DeleteSnapshotResponse
-- | The snapshot object that has been deleted.
[$sel:snapshot:DeleteSnapshotResponse'] :: DeleteSnapshotResponse -> Maybe Snapshot
-- | The response's http status code.
[$sel:httpStatus:DeleteSnapshotResponse'] :: DeleteSnapshotResponse -> Int
-- | Create a value of DeleteSnapshotResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:snapshot:DeleteSnapshotResponse',
-- deleteSnapshotResponse_snapshot - The snapshot object that has
-- been deleted.
--
-- $sel:httpStatus:DeleteSnapshotResponse',
-- deleteSnapshotResponse_httpStatus - The response's http status
-- code.
newDeleteSnapshotResponse :: Int -> DeleteSnapshotResponse
-- | The snapshot object that has been deleted.
deleteSnapshotResponse_snapshot :: Lens' DeleteSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
deleteSnapshotResponse_httpStatus :: Lens' DeleteSnapshotResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
instance GHC.Show.Show Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
instance GHC.Read.Read Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshotResponse
instance GHC.Show.Show Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshotResponse
instance GHC.Read.Read Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshotResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshotResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshotResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DeleteSnapshot.DeleteSnapshot
-- | Deletes the specified parameter group. You cannot delete a parameter
-- group if it is associated with any clusters. You cannot delete the
-- default parameter groups in your account.
module Amazonka.MemoryDb.DeleteParameterGroup
-- | See: newDeleteParameterGroup smart constructor.
data DeleteParameterGroup
DeleteParameterGroup' :: Text -> DeleteParameterGroup
-- | The name of the parameter group to delete.
[$sel:parameterGroupName:DeleteParameterGroup'] :: DeleteParameterGroup -> Text
-- | Create a value of DeleteParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteParameterGroup,
-- deleteParameterGroup_parameterGroupName - The name of the
-- parameter group to delete.
newDeleteParameterGroup :: Text -> DeleteParameterGroup
-- | The name of the parameter group to delete.
deleteParameterGroup_parameterGroupName :: Lens' DeleteParameterGroup Text
-- | See: newDeleteParameterGroupResponse smart constructor.
data DeleteParameterGroupResponse
DeleteParameterGroupResponse' :: Maybe ParameterGroup -> Int -> DeleteParameterGroupResponse
-- | The parameter group that has been deleted.
[$sel:parameterGroup:DeleteParameterGroupResponse'] :: DeleteParameterGroupResponse -> Maybe ParameterGroup
-- | The response's http status code.
[$sel:httpStatus:DeleteParameterGroupResponse'] :: DeleteParameterGroupResponse -> Int
-- | Create a value of DeleteParameterGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterGroup:DeleteParameterGroupResponse',
-- deleteParameterGroupResponse_parameterGroup - The parameter
-- group that has been deleted.
--
-- $sel:httpStatus:DeleteParameterGroupResponse',
-- deleteParameterGroupResponse_httpStatus - The response's http
-- status code.
newDeleteParameterGroupResponse :: Int -> DeleteParameterGroupResponse
-- | The parameter group that has been deleted.
deleteParameterGroupResponse_parameterGroup :: Lens' DeleteParameterGroupResponse (Maybe ParameterGroup)
-- | The response's http status code.
deleteParameterGroupResponse_httpStatus :: Lens' DeleteParameterGroupResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
instance GHC.Show.Show Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
instance GHC.Read.Read Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroupResponse
instance GHC.Show.Show Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroupResponse
instance GHC.Read.Read Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroupResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DeleteParameterGroup.DeleteParameterGroup
-- | Deletes a cluster. It also deletes all associated nodes and node
-- endpoints
module Amazonka.MemoryDb.DeleteCluster
-- | See: newDeleteCluster smart constructor.
data DeleteCluster
DeleteCluster' :: Maybe Text -> Text -> DeleteCluster
-- | The user-supplied name of a final cluster snapshot. This is the unique
-- name that identifies the snapshot. MemoryDB creates the snapshot, and
-- then deletes the cluster immediately afterward.
[$sel:finalSnapshotName:DeleteCluster'] :: DeleteCluster -> Maybe Text
-- | The name of the cluster to be deleted
[$sel:clusterName: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:finalSnapshotName:DeleteCluster',
-- deleteCluster_finalSnapshotName - The user-supplied name of a
-- final cluster snapshot. This is the unique name that identifies the
-- snapshot. MemoryDB creates the snapshot, and then deletes the cluster
-- immediately afterward.
--
-- DeleteCluster, deleteCluster_clusterName - The name of
-- the cluster to be deleted
newDeleteCluster :: Text -> DeleteCluster
-- | The user-supplied name of a final cluster snapshot. This is the unique
-- name that identifies the snapshot. MemoryDB creates the snapshot, and
-- then deletes the cluster immediately afterward.
deleteCluster_finalSnapshotName :: Lens' DeleteCluster (Maybe Text)
-- | The name of the cluster to be deleted
deleteCluster_clusterName :: Lens' DeleteCluster Text
-- | See: newDeleteClusterResponse smart constructor.
data DeleteClusterResponse
DeleteClusterResponse' :: Maybe Cluster -> Int -> DeleteClusterResponse
-- | The cluster object that has been deleted
[$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 - The cluster object that has
-- been deleted
--
-- $sel:httpStatus:DeleteClusterResponse',
-- deleteClusterResponse_httpStatus - The response's http status
-- code.
newDeleteClusterResponse :: Int -> DeleteClusterResponse
-- | The cluster object that has been deleted
deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
-- | The response's http status code.
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteCluster.DeleteCluster
instance GHC.Show.Show Amazonka.MemoryDb.DeleteCluster.DeleteCluster
instance GHC.Read.Read Amazonka.MemoryDb.DeleteCluster.DeleteCluster
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteCluster.DeleteCluster
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteCluster.DeleteClusterResponse
instance GHC.Show.Show Amazonka.MemoryDb.DeleteCluster.DeleteClusterResponse
instance GHC.Read.Read Amazonka.MemoryDb.DeleteCluster.DeleteClusterResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteCluster.DeleteClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DeleteCluster.DeleteCluster
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteCluster.DeleteClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DeleteCluster.DeleteCluster
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteCluster.DeleteCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DeleteCluster.DeleteCluster
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DeleteCluster.DeleteCluster
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DeleteCluster.DeleteCluster
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DeleteCluster.DeleteCluster
-- | Deletes an Access Control List. The ACL must first be disassociated
-- from the cluster before it can be deleted. For more information, see
-- Authenticating users with Access Contol Lists (ACLs).
module Amazonka.MemoryDb.DeleteACL
-- | See: newDeleteACL smart constructor.
data DeleteACL
DeleteACL' :: Text -> DeleteACL
-- | The name of the Access Control List to delete
[$sel:aCLName:DeleteACL'] :: DeleteACL -> Text
-- | Create a value of DeleteACL with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteACL, deleteACL_aCLName - The name of the Access
-- Control List to delete
newDeleteACL :: Text -> DeleteACL
-- | The name of the Access Control List to delete
deleteACL_aCLName :: Lens' DeleteACL Text
-- | See: newDeleteACLResponse smart constructor.
data DeleteACLResponse
DeleteACLResponse' :: Maybe ACL -> Int -> DeleteACLResponse
-- | The Access Control List object that has been deleted.
[$sel:acl:DeleteACLResponse'] :: DeleteACLResponse -> Maybe ACL
-- | The response's http status code.
[$sel:httpStatus:DeleteACLResponse'] :: DeleteACLResponse -> Int
-- | Create a value of DeleteACLResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:acl:DeleteACLResponse', deleteACLResponse_acl - The
-- Access Control List object that has been deleted.
--
-- $sel:httpStatus:DeleteACLResponse',
-- deleteACLResponse_httpStatus - The response's http status code.
newDeleteACLResponse :: Int -> DeleteACLResponse
-- | The Access Control List object that has been deleted.
deleteACLResponse_acl :: Lens' DeleteACLResponse (Maybe ACL)
-- | The response's http status code.
deleteACLResponse_httpStatus :: Lens' DeleteACLResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteACL.DeleteACL
instance GHC.Show.Show Amazonka.MemoryDb.DeleteACL.DeleteACL
instance GHC.Read.Read Amazonka.MemoryDb.DeleteACL.DeleteACL
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteACL.DeleteACL
instance GHC.Generics.Generic Amazonka.MemoryDb.DeleteACL.DeleteACLResponse
instance GHC.Show.Show Amazonka.MemoryDb.DeleteACL.DeleteACLResponse
instance GHC.Read.Read Amazonka.MemoryDb.DeleteACL.DeleteACLResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.DeleteACL.DeleteACLResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.DeleteACL.DeleteACL
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteACL.DeleteACLResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.DeleteACL.DeleteACL
instance Control.DeepSeq.NFData Amazonka.MemoryDb.DeleteACL.DeleteACL
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.DeleteACL.DeleteACL
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.DeleteACL.DeleteACL
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.DeleteACL.DeleteACL
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.DeleteACL.DeleteACL
-- | Creates a MemoryDB user. For more information, see Authenticating
-- users with Access Contol Lists (ACLs).
module Amazonka.MemoryDb.CreateUser
-- | See: newCreateUser smart constructor.
data CreateUser
CreateUser' :: Maybe [Tag] -> Text -> AuthenticationMode -> Text -> CreateUser
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
[$sel:tags:CreateUser'] :: CreateUser -> Maybe [Tag]
-- | The name of the user. This value must be unique as it also serves as
-- the user identifier.
[$sel:userName:CreateUser'] :: CreateUser -> Text
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate.
[$sel:authenticationMode:CreateUser'] :: CreateUser -> AuthenticationMode
-- | Access permissions string used for this user.
[$sel:accessString:CreateUser'] :: CreateUser -> Text
-- | Create a value of CreateUser with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tags:CreateUser', createUser_tags - A list of tags
-- to be added to this resource. A tag is a key-value pair. A tag key
-- must be accompanied by a tag value, although null is accepted.
--
-- $sel:userName:CreateUser', createUser_userName - The
-- name of the user. This value must be unique as it also serves as the
-- user identifier.
--
-- $sel:authenticationMode:CreateUser',
-- createUser_authenticationMode - Denotes the user's
-- authentication properties, such as whether it requires a password to
-- authenticate.
--
-- CreateUser, createUser_accessString - Access permissions
-- string used for this user.
newCreateUser :: Text -> AuthenticationMode -> Text -> CreateUser
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
createUser_tags :: Lens' CreateUser (Maybe [Tag])
-- | The name of the user. This value must be unique as it also serves as
-- the user identifier.
createUser_userName :: Lens' CreateUser Text
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate.
createUser_authenticationMode :: Lens' CreateUser AuthenticationMode
-- | Access permissions string used for this user.
createUser_accessString :: Lens' CreateUser Text
-- | See: newCreateUserResponse smart constructor.
data CreateUserResponse
CreateUserResponse' :: Maybe User -> Int -> CreateUserResponse
-- | The newly-created user.
[$sel:user:CreateUserResponse'] :: CreateUserResponse -> Maybe User
-- | The response's http status code.
[$sel:httpStatus:CreateUserResponse'] :: CreateUserResponse -> Int
-- | Create a value of CreateUserResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:user:CreateUserResponse', createUserResponse_user -
-- The newly-created user.
--
-- $sel:httpStatus:CreateUserResponse',
-- createUserResponse_httpStatus - The response's http status
-- code.
newCreateUserResponse :: Int -> CreateUserResponse
-- | The newly-created user.
createUserResponse_user :: Lens' CreateUserResponse (Maybe User)
-- | The response's http status code.
createUserResponse_httpStatus :: Lens' CreateUserResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateUser.CreateUser
instance GHC.Show.Show Amazonka.MemoryDb.CreateUser.CreateUser
instance GHC.Read.Read Amazonka.MemoryDb.CreateUser.CreateUser
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateUser.CreateUser
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateUser.CreateUserResponse
instance GHC.Show.Show Amazonka.MemoryDb.CreateUser.CreateUserResponse
instance GHC.Read.Read Amazonka.MemoryDb.CreateUser.CreateUserResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateUser.CreateUserResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.CreateUser.CreateUser
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateUser.CreateUserResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.CreateUser.CreateUser
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateUser.CreateUser
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.CreateUser.CreateUser
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.CreateUser.CreateUser
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.CreateUser.CreateUser
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.CreateUser.CreateUser
-- | Creates a subnet group. A subnet group is a collection of subnets
-- (typically private) that you can designate for your clusters running
-- in an Amazon Virtual Private Cloud (VPC) environment. When you create
-- a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB
-- uses that subnet group to choose a subnet and IP addresses within that
-- subnet to associate with your nodes. For more information, see
-- Subnets and subnet groups.
module Amazonka.MemoryDb.CreateSubnetGroup
-- | See: newCreateSubnetGroup smart constructor.
data CreateSubnetGroup
CreateSubnetGroup' :: Maybe Text -> Maybe [Tag] -> Text -> [Text] -> CreateSubnetGroup
-- | A description for the subnet group.
[$sel:description:CreateSubnetGroup'] :: CreateSubnetGroup -> Maybe Text
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
[$sel:tags:CreateSubnetGroup'] :: CreateSubnetGroup -> Maybe [Tag]
-- | The name of the subnet group.
[$sel:subnetGroupName:CreateSubnetGroup'] :: CreateSubnetGroup -> Text
-- | A list of VPC subnet IDs for the subnet group.
[$sel:subnetIds:CreateSubnetGroup'] :: CreateSubnetGroup -> [Text]
-- | Create a value of CreateSubnetGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateSubnetGroup, createSubnetGroup_description - A
-- description for the subnet group.
--
-- $sel:tags:CreateSubnetGroup', createSubnetGroup_tags - A
-- list of tags to be added to this resource. A tag is a key-value pair.
-- A tag key must be accompanied by a tag value, although null is
-- accepted.
--
-- CreateSubnetGroup, createSubnetGroup_subnetGroupName -
-- The name of the subnet group.
--
-- $sel:subnetIds:CreateSubnetGroup',
-- createSubnetGroup_subnetIds - A list of VPC subnet IDs for the
-- subnet group.
newCreateSubnetGroup :: Text -> CreateSubnetGroup
-- | A description for the subnet group.
createSubnetGroup_description :: Lens' CreateSubnetGroup (Maybe Text)
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
createSubnetGroup_tags :: Lens' CreateSubnetGroup (Maybe [Tag])
-- | The name of the subnet group.
createSubnetGroup_subnetGroupName :: Lens' CreateSubnetGroup Text
-- | A list of VPC subnet IDs for the subnet group.
createSubnetGroup_subnetIds :: Lens' CreateSubnetGroup [Text]
-- | See: newCreateSubnetGroupResponse smart constructor.
data CreateSubnetGroupResponse
CreateSubnetGroupResponse' :: Maybe SubnetGroup -> Int -> CreateSubnetGroupResponse
-- | The newly-created subnet group
[$sel:subnetGroup:CreateSubnetGroupResponse'] :: CreateSubnetGroupResponse -> Maybe SubnetGroup
-- | The response's http status code.
[$sel:httpStatus:CreateSubnetGroupResponse'] :: CreateSubnetGroupResponse -> Int
-- | Create a value of CreateSubnetGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:subnetGroup:CreateSubnetGroupResponse',
-- createSubnetGroupResponse_subnetGroup - The newly-created
-- subnet group
--
-- $sel:httpStatus:CreateSubnetGroupResponse',
-- createSubnetGroupResponse_httpStatus - The response's http
-- status code.
newCreateSubnetGroupResponse :: Int -> CreateSubnetGroupResponse
-- | The newly-created subnet group
createSubnetGroupResponse_subnetGroup :: Lens' CreateSubnetGroupResponse (Maybe SubnetGroup)
-- | The response's http status code.
createSubnetGroupResponse_httpStatus :: Lens' CreateSubnetGroupResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
instance GHC.Show.Show Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
instance GHC.Read.Read Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroupResponse
instance GHC.Show.Show Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroupResponse
instance GHC.Read.Read Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroupResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.CreateSubnetGroup.CreateSubnetGroup
-- | Creates a copy of an entire cluster at a specific moment in time.
module Amazonka.MemoryDb.CreateSnapshot
-- | See: newCreateSnapshot smart constructor.
data CreateSnapshot
CreateSnapshot' :: Maybe Text -> Maybe [Tag] -> Text -> Text -> CreateSnapshot
-- | The ID of the KMS key used to encrypt the snapshot.
[$sel:kmsKeyId:CreateSnapshot'] :: CreateSnapshot -> Maybe Text
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
[$sel:tags:CreateSnapshot'] :: CreateSnapshot -> Maybe [Tag]
-- | The snapshot is created from this cluster.
[$sel:clusterName:CreateSnapshot'] :: CreateSnapshot -> Text
-- | A name for the snapshot being created.
[$sel:snapshotName:CreateSnapshot'] :: CreateSnapshot -> Text
-- | Create a value of CreateSnapshot with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateSnapshot, createSnapshot_kmsKeyId - The ID of the
-- KMS key used to encrypt the snapshot.
--
-- $sel:tags:CreateSnapshot', createSnapshot_tags - A list
-- of tags to be added to this resource. A tag is a key-value pair. A tag
-- key must be accompanied by a tag value, although null is accepted.
--
-- CreateSnapshot, createSnapshot_clusterName - The
-- snapshot is created from this cluster.
--
-- $sel:snapshotName:CreateSnapshot',
-- createSnapshot_snapshotName - A name for the snapshot being
-- created.
newCreateSnapshot :: Text -> Text -> CreateSnapshot
-- | The ID of the KMS key used to encrypt the snapshot.
createSnapshot_kmsKeyId :: Lens' CreateSnapshot (Maybe Text)
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
createSnapshot_tags :: Lens' CreateSnapshot (Maybe [Tag])
-- | The snapshot is created from this cluster.
createSnapshot_clusterName :: Lens' CreateSnapshot Text
-- | A name for the snapshot being created.
createSnapshot_snapshotName :: Lens' CreateSnapshot Text
-- | See: newCreateSnapshotResponse smart constructor.
data CreateSnapshotResponse
CreateSnapshotResponse' :: Maybe Snapshot -> Int -> CreateSnapshotResponse
-- | The newly-created snapshot.
[$sel:snapshot:CreateSnapshotResponse'] :: CreateSnapshotResponse -> Maybe Snapshot
-- | The response's http status code.
[$sel:httpStatus:CreateSnapshotResponse'] :: CreateSnapshotResponse -> Int
-- | Create a value of CreateSnapshotResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:snapshot:CreateSnapshotResponse',
-- createSnapshotResponse_snapshot - The newly-created snapshot.
--
-- $sel:httpStatus:CreateSnapshotResponse',
-- createSnapshotResponse_httpStatus - The response's http status
-- code.
newCreateSnapshotResponse :: Int -> CreateSnapshotResponse
-- | The newly-created snapshot.
createSnapshotResponse_snapshot :: Lens' CreateSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
createSnapshotResponse_httpStatus :: Lens' CreateSnapshotResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
instance GHC.Show.Show Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
instance GHC.Read.Read Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateSnapshot.CreateSnapshotResponse
instance GHC.Show.Show Amazonka.MemoryDb.CreateSnapshot.CreateSnapshotResponse
instance GHC.Read.Read Amazonka.MemoryDb.CreateSnapshot.CreateSnapshotResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateSnapshot.CreateSnapshotResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateSnapshot.CreateSnapshotResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.CreateSnapshot.CreateSnapshot
-- | Creates a new MemoryDB parameter group. A parameter group is a
-- collection of parameters and their values that are applied to all of
-- the nodes in any cluster. For more information, see Configuring
-- engine parameters using parameter groups.
module Amazonka.MemoryDb.CreateParameterGroup
-- | See: newCreateParameterGroup smart constructor.
data CreateParameterGroup
CreateParameterGroup' :: Maybe Text -> Maybe [Tag] -> Text -> Text -> CreateParameterGroup
-- | An optional description of the parameter group.
[$sel:description:CreateParameterGroup'] :: CreateParameterGroup -> Maybe Text
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
[$sel:tags:CreateParameterGroup'] :: CreateParameterGroup -> Maybe [Tag]
-- | The name of the parameter group.
[$sel:parameterGroupName:CreateParameterGroup'] :: CreateParameterGroup -> Text
-- | The name of the parameter group family that the parameter group can be
-- used with.
[$sel:family:CreateParameterGroup'] :: CreateParameterGroup -> Text
-- | Create a value of CreateParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateParameterGroup, createParameterGroup_description -
-- An optional description of the parameter group.
--
-- $sel:tags:CreateParameterGroup',
-- createParameterGroup_tags - A list of tags to be added to this
-- resource. A tag is a key-value pair. A tag key must be accompanied by
-- a tag value, although null is accepted.
--
-- CreateParameterGroup,
-- createParameterGroup_parameterGroupName - The name of the
-- parameter group.
--
-- CreateParameterGroup, createParameterGroup_family - The
-- name of the parameter group family that the parameter group can be
-- used with.
newCreateParameterGroup :: Text -> Text -> CreateParameterGroup
-- | An optional description of the parameter group.
createParameterGroup_description :: Lens' CreateParameterGroup (Maybe Text)
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
createParameterGroup_tags :: Lens' CreateParameterGroup (Maybe [Tag])
-- | The name of the parameter group.
createParameterGroup_parameterGroupName :: Lens' CreateParameterGroup Text
-- | The name of the parameter group family that the parameter group can be
-- used with.
createParameterGroup_family :: Lens' CreateParameterGroup Text
-- | See: newCreateParameterGroupResponse smart constructor.
data CreateParameterGroupResponse
CreateParameterGroupResponse' :: Maybe ParameterGroup -> Int -> CreateParameterGroupResponse
-- | The newly-created parameter group.
[$sel:parameterGroup:CreateParameterGroupResponse'] :: CreateParameterGroupResponse -> Maybe ParameterGroup
-- | The response's http status code.
[$sel:httpStatus:CreateParameterGroupResponse'] :: CreateParameterGroupResponse -> Int
-- | Create a value of CreateParameterGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterGroup:CreateParameterGroupResponse',
-- createParameterGroupResponse_parameterGroup - The newly-created
-- parameter group.
--
-- $sel:httpStatus:CreateParameterGroupResponse',
-- createParameterGroupResponse_httpStatus - The response's http
-- status code.
newCreateParameterGroupResponse :: Int -> CreateParameterGroupResponse
-- | The newly-created parameter group.
createParameterGroupResponse_parameterGroup :: Lens' CreateParameterGroupResponse (Maybe ParameterGroup)
-- | The response's http status code.
createParameterGroupResponse_httpStatus :: Lens' CreateParameterGroupResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
instance GHC.Show.Show Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
instance GHC.Read.Read Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroupResponse
instance GHC.Show.Show Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroupResponse
instance GHC.Read.Read Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroupResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.CreateParameterGroup.CreateParameterGroup
-- | Creates a cluster. All nodes in the cluster run the same
-- protocol-compliant engine software.
module Amazonka.MemoryDb.CreateCluster
-- | See: newCreateCluster smart constructor.
data CreateCluster
CreateCluster' :: Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Tag] -> Text -> Text -> Text -> CreateCluster
-- | When set to true, the cluster will automatically receive minor engine
-- version upgrades after launch.
[$sel:autoMinorVersionUpgrade:CreateCluster'] :: CreateCluster -> Maybe Bool
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
[$sel:dataTiering:CreateCluster'] :: CreateCluster -> Maybe Bool
-- | An optional description of the cluster.
[$sel:description:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The version number of the Redis engine to be used for the cluster.
[$sel:engineVersion:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The ID of the KMS key used to encrypt the cluster.
[$sel:kmsKeyId:CreateCluster'] :: CreateCluster -> Maybe Text
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
--
-- Valid values for ddd are:
--
--
-- sun
-- mon
-- tue
-- wed
-- thu
-- fri
-- sat
--
--
-- Example: sun:23:00-mon:01:30
[$sel:maintenanceWindow:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The number of replicas to apply to each shard. The default value is 1.
-- The maximum is 5.
[$sel:numReplicasPerShard:CreateCluster'] :: CreateCluster -> Maybe Int
-- | The number of shards the cluster will contain. The default value is 1.
[$sel:numShards:CreateCluster'] :: CreateCluster -> Maybe Int
-- | The name of the parameter group associated with the cluster.
[$sel:parameterGroupName:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The port number on which each of the nodes accepts connections.
[$sel:port:CreateCluster'] :: CreateCluster -> Maybe Int
-- | A list of security group names to associate with this cluster.
[$sel:securityGroupIds:CreateCluster'] :: CreateCluster -> Maybe [Text]
-- | A list of Amazon Resource Names (ARN) that uniquely identify the RDB
-- snapshot files stored in Amazon S3. The snapshot files are used to
-- populate the new cluster. The Amazon S3 object name in the ARN cannot
-- contain any commas.
[$sel:snapshotArns:CreateCluster'] :: CreateCluster -> Maybe [Text]
-- | The name of a snapshot from which to restore data into the new
-- cluster. The snapshot status changes to restoring while the new
-- cluster is being created.
[$sel:snapshotName:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The number of days for which MemoryDB retains automatic snapshots
-- before deleting them. For example, if you set SnapshotRetentionLimit
-- to 5, a snapshot that was taken today is retained for 5 days before
-- being deleted.
[$sel:snapshotRetentionLimit:CreateCluster'] :: CreateCluster -> Maybe Int
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard.
--
-- Example: 05:00-09:00
--
-- If you do not specify this parameter, MemoryDB automatically chooses
-- an appropriate time range.
[$sel:snapshotWindow:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification
-- Service (SNS) topic to which notifications are sent.
[$sel:snsTopicArn:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The name of the subnet group to be used for the cluster.
[$sel:subnetGroupName:CreateCluster'] :: CreateCluster -> Maybe Text
-- | A flag to enable in-transit encryption on the cluster.
[$sel:tLSEnabled:CreateCluster'] :: CreateCluster -> Maybe Bool
-- | A list of tags to be added to this resource. Tags are comma-separated
-- key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include
-- multiple tags as shown following: Key=myKey, Value=myKeyValue
-- Key=mySecondKey, Value=mySecondKeyValue.
[$sel:tags:CreateCluster'] :: CreateCluster -> Maybe [Tag]
-- | The name of the cluster. This value must be unique as it also serves
-- as the cluster identifier.
[$sel:clusterName:CreateCluster'] :: CreateCluster -> Text
-- | The compute and memory capacity of the nodes in the cluster.
[$sel:nodeType:CreateCluster'] :: CreateCluster -> Text
-- | The name of the Access Control List to associate with the cluster.
[$sel:aCLName: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:
--
-- CreateCluster, createCluster_autoMinorVersionUpgrade -
-- When set to true, the cluster will automatically receive minor engine
-- version upgrades after launch.
--
-- CreateCluster, createCluster_dataTiering - Enables data
-- tiering. Data tiering is only supported for clusters using the r6gd
-- node type. This parameter must be set when using r6gd nodes. For more
-- information, see Data tiering.
--
-- CreateCluster, createCluster_description - An optional
-- description of the cluster.
--
-- CreateCluster, createCluster_engineVersion - The version
-- number of the Redis engine to be used for the cluster.
--
-- CreateCluster, createCluster_kmsKeyId - The ID of the
-- KMS key used to encrypt the cluster.
--
-- CreateCluster, createCluster_maintenanceWindow -
-- Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
--
-- Valid values for ddd are:
--
--
-- sun
-- mon
-- tue
-- wed
-- thu
-- fri
-- sat
--
--
-- Example: sun:23:00-mon:01:30
--
-- $sel:numReplicasPerShard:CreateCluster',
-- createCluster_numReplicasPerShard - The number of replicas to
-- apply to each shard. The default value is 1. The maximum is 5.
--
-- CreateCluster, createCluster_numShards - The number of
-- shards the cluster will contain. The default value is 1.
--
-- CreateCluster, createCluster_parameterGroupName - The
-- name of the parameter group associated with the cluster.
--
-- CreateCluster, createCluster_port - The port number on
-- which each of the nodes accepts connections.
--
-- $sel:securityGroupIds:CreateCluster',
-- createCluster_securityGroupIds - A list of security group names
-- to associate with this cluster.
--
-- $sel:snapshotArns:CreateCluster',
-- createCluster_snapshotArns - A list of Amazon Resource Names
-- (ARN) that uniquely identify the RDB snapshot files stored in Amazon
-- S3. The snapshot files are used to populate the new cluster. The
-- Amazon S3 object name in the ARN cannot contain any commas.
--
-- $sel:snapshotName:CreateCluster',
-- createCluster_snapshotName - The name of a snapshot from which
-- to restore data into the new cluster. The snapshot status changes to
-- restoring while the new cluster is being created.
--
-- CreateCluster, createCluster_snapshotRetentionLimit -
-- The number of days for which MemoryDB retains automatic snapshots
-- before deleting them. For example, if you set SnapshotRetentionLimit
-- to 5, a snapshot that was taken today is retained for 5 days before
-- being deleted.
--
-- CreateCluster, createCluster_snapshotWindow - The daily
-- time range (in UTC) during which MemoryDB begins taking a daily
-- snapshot of your shard.
--
-- Example: 05:00-09:00
--
-- If you do not specify this parameter, MemoryDB automatically chooses
-- an appropriate time range.
--
-- CreateCluster, createCluster_snsTopicArn - The Amazon
-- Resource Name (ARN) of the Amazon Simple Notification Service (SNS)
-- topic to which notifications are sent.
--
-- CreateCluster, createCluster_subnetGroupName - The name
-- of the subnet group to be used for the cluster.
--
-- CreateCluster, createCluster_tLSEnabled - A flag to
-- enable in-transit encryption on the cluster.
--
-- $sel:tags:CreateCluster', createCluster_tags - A list of
-- tags to be added to this resource. Tags are comma-separated key,value
-- pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags
-- as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey,
-- Value=mySecondKeyValue.
--
-- CreateCluster, createCluster_clusterName - The name of
-- the cluster. This value must be unique as it also serves as the
-- cluster identifier.
--
-- CreateCluster, createCluster_nodeType - The compute and
-- memory capacity of the nodes in the cluster.
--
-- CreateCluster, createCluster_aCLName - The name of the
-- Access Control List to associate with the cluster.
newCreateCluster :: Text -> Text -> Text -> CreateCluster
-- | When set to true, the cluster will automatically receive minor engine
-- version upgrades after launch.
createCluster_autoMinorVersionUpgrade :: Lens' CreateCluster (Maybe Bool)
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
createCluster_dataTiering :: Lens' CreateCluster (Maybe Bool)
-- | An optional description of the cluster.
createCluster_description :: Lens' CreateCluster (Maybe Text)
-- | The version number of the Redis engine to be used for the cluster.
createCluster_engineVersion :: Lens' CreateCluster (Maybe Text)
-- | The ID of the KMS key used to encrypt the cluster.
createCluster_kmsKeyId :: Lens' CreateCluster (Maybe Text)
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
--
-- Valid values for ddd are:
--
--
-- sun
-- mon
-- tue
-- wed
-- thu
-- fri
-- sat
--
--
-- Example: sun:23:00-mon:01:30
createCluster_maintenanceWindow :: Lens' CreateCluster (Maybe Text)
-- | The number of replicas to apply to each shard. The default value is 1.
-- The maximum is 5.
createCluster_numReplicasPerShard :: Lens' CreateCluster (Maybe Int)
-- | The number of shards the cluster will contain. The default value is 1.
createCluster_numShards :: Lens' CreateCluster (Maybe Int)
-- | The name of the parameter group associated with the cluster.
createCluster_parameterGroupName :: Lens' CreateCluster (Maybe Text)
-- | The port number on which each of the nodes accepts connections.
createCluster_port :: Lens' CreateCluster (Maybe Int)
-- | A list of security group names to associate with this cluster.
createCluster_securityGroupIds :: Lens' CreateCluster (Maybe [Text])
-- | A list of Amazon Resource Names (ARN) that uniquely identify the RDB
-- snapshot files stored in Amazon S3. The snapshot files are used to
-- populate the new cluster. The Amazon S3 object name in the ARN cannot
-- contain any commas.
createCluster_snapshotArns :: Lens' CreateCluster (Maybe [Text])
-- | The name of a snapshot from which to restore data into the new
-- cluster. The snapshot status changes to restoring while the new
-- cluster is being created.
createCluster_snapshotName :: Lens' CreateCluster (Maybe Text)
-- | The number of days for which MemoryDB retains automatic snapshots
-- before deleting them. For example, if you set SnapshotRetentionLimit
-- to 5, a snapshot that was taken today is retained for 5 days before
-- being deleted.
createCluster_snapshotRetentionLimit :: Lens' CreateCluster (Maybe Int)
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard.
--
-- Example: 05:00-09:00
--
-- If you do not specify this parameter, MemoryDB automatically chooses
-- an appropriate time range.
createCluster_snapshotWindow :: Lens' CreateCluster (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification
-- Service (SNS) topic to which notifications are sent.
createCluster_snsTopicArn :: Lens' CreateCluster (Maybe Text)
-- | The name of the subnet group to be used for the cluster.
createCluster_subnetGroupName :: Lens' CreateCluster (Maybe Text)
-- | A flag to enable in-transit encryption on the cluster.
createCluster_tLSEnabled :: Lens' CreateCluster (Maybe Bool)
-- | A list of tags to be added to this resource. Tags are comma-separated
-- key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include
-- multiple tags as shown following: Key=myKey, Value=myKeyValue
-- Key=mySecondKey, Value=mySecondKeyValue.
createCluster_tags :: Lens' CreateCluster (Maybe [Tag])
-- | The name of the cluster. This value must be unique as it also serves
-- as the cluster identifier.
createCluster_clusterName :: Lens' CreateCluster Text
-- | The compute and memory capacity of the nodes in the cluster.
createCluster_nodeType :: Lens' CreateCluster Text
-- | The name of the Access Control List to associate with the cluster.
createCluster_aCLName :: Lens' CreateCluster Text
-- | See: newCreateClusterResponse smart constructor.
data CreateClusterResponse
CreateClusterResponse' :: Maybe Cluster -> Int -> CreateClusterResponse
-- | The newly-created cluster.
[$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 - The newly-created cluster.
--
-- $sel:httpStatus:CreateClusterResponse',
-- createClusterResponse_httpStatus - The response's http status
-- code.
newCreateClusterResponse :: Int -> CreateClusterResponse
-- | The newly-created cluster.
createClusterResponse_cluster :: Lens' CreateClusterResponse (Maybe Cluster)
-- | The response's http status code.
createClusterResponse_httpStatus :: Lens' CreateClusterResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateCluster.CreateCluster
instance GHC.Show.Show Amazonka.MemoryDb.CreateCluster.CreateCluster
instance GHC.Read.Read Amazonka.MemoryDb.CreateCluster.CreateCluster
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateCluster.CreateCluster
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateCluster.CreateClusterResponse
instance GHC.Show.Show Amazonka.MemoryDb.CreateCluster.CreateClusterResponse
instance GHC.Read.Read Amazonka.MemoryDb.CreateCluster.CreateClusterResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateCluster.CreateClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.CreateCluster.CreateCluster
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateCluster.CreateClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.CreateCluster.CreateCluster
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateCluster.CreateCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.CreateCluster.CreateCluster
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.CreateCluster.CreateCluster
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.CreateCluster.CreateCluster
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.CreateCluster.CreateCluster
-- | Creates an Access Control List. For more information, see
-- Authenticating users with Access Contol Lists (ACLs).
module Amazonka.MemoryDb.CreateACL
-- | See: newCreateACL smart constructor.
data CreateACL
CreateACL' :: Maybe [Tag] -> Maybe (NonEmpty Text) -> Text -> CreateACL
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
[$sel:tags:CreateACL'] :: CreateACL -> Maybe [Tag]
-- | The list of users that belong to the Access Control List.
[$sel:userNames:CreateACL'] :: CreateACL -> Maybe (NonEmpty Text)
-- | The name of the Access Control List.
[$sel:aCLName:CreateACL'] :: CreateACL -> Text
-- | Create a value of CreateACL with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tags:CreateACL', createACL_tags - A list of tags to
-- be added to this resource. A tag is a key-value pair. A tag key must
-- be accompanied by a tag value, although null is accepted.
--
-- CreateACL, createACL_userNames - The list of users that
-- belong to the Access Control List.
--
-- CreateACL, createACL_aCLName - The name of the Access
-- Control List.
newCreateACL :: Text -> CreateACL
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
createACL_tags :: Lens' CreateACL (Maybe [Tag])
-- | The list of users that belong to the Access Control List.
createACL_userNames :: Lens' CreateACL (Maybe (NonEmpty Text))
-- | The name of the Access Control List.
createACL_aCLName :: Lens' CreateACL Text
-- | See: newCreateACLResponse smart constructor.
data CreateACLResponse
CreateACLResponse' :: Maybe ACL -> Int -> CreateACLResponse
-- | The newly-created Access Control List.
[$sel:acl:CreateACLResponse'] :: CreateACLResponse -> Maybe ACL
-- | The response's http status code.
[$sel:httpStatus:CreateACLResponse'] :: CreateACLResponse -> Int
-- | Create a value of CreateACLResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:acl:CreateACLResponse', createACLResponse_acl - The
-- newly-created Access Control List.
--
-- $sel:httpStatus:CreateACLResponse',
-- createACLResponse_httpStatus - The response's http status code.
newCreateACLResponse :: Int -> CreateACLResponse
-- | The newly-created Access Control List.
createACLResponse_acl :: Lens' CreateACLResponse (Maybe ACL)
-- | The response's http status code.
createACLResponse_httpStatus :: Lens' CreateACLResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateACL.CreateACL
instance GHC.Show.Show Amazonka.MemoryDb.CreateACL.CreateACL
instance GHC.Read.Read Amazonka.MemoryDb.CreateACL.CreateACL
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateACL.CreateACL
instance GHC.Generics.Generic Amazonka.MemoryDb.CreateACL.CreateACLResponse
instance GHC.Show.Show Amazonka.MemoryDb.CreateACL.CreateACLResponse
instance GHC.Read.Read Amazonka.MemoryDb.CreateACL.CreateACLResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.CreateACL.CreateACLResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.CreateACL.CreateACL
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateACL.CreateACLResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.CreateACL.CreateACL
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CreateACL.CreateACL
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.CreateACL.CreateACL
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.CreateACL.CreateACL
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.CreateACL.CreateACL
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.CreateACL.CreateACL
-- | Makes a copy of an existing snapshot.
module Amazonka.MemoryDb.CopySnapshot
-- | See: newCopySnapshot smart constructor.
data CopySnapshot
CopySnapshot' :: Maybe Text -> Maybe [Tag] -> Maybe Text -> Text -> Text -> CopySnapshot
-- | The ID of the KMS key used to encrypt the target snapshot.
[$sel:kmsKeyId:CopySnapshot'] :: CopySnapshot -> Maybe Text
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
[$sel:tags:CopySnapshot'] :: CopySnapshot -> Maybe [Tag]
-- | The Amazon S3 bucket to which the snapshot is exported. This parameter
-- is used only when exporting a snapshot for external access. When using
-- this parameter to export a snapshot, be sure MemoryDB has the needed
-- permissions to this S3 bucket. For more information, see Step 2:
-- Grant MemoryDB Access to Your Amazon S3 Bucket.
[$sel:targetBucket:CopySnapshot'] :: CopySnapshot -> Maybe Text
-- | The name of an existing snapshot from which to make a copy.
[$sel:sourceSnapshotName:CopySnapshot'] :: CopySnapshot -> Text
-- | A name for the snapshot copy. MemoryDB does not permit overwriting a
-- snapshot, therefore this name must be unique within its context -
-- MemoryDB or an Amazon S3 bucket if exporting.
[$sel:targetSnapshotName:CopySnapshot'] :: CopySnapshot -> Text
-- | Create a value of CopySnapshot with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CopySnapshot, copySnapshot_kmsKeyId - The ID of the KMS
-- key used to encrypt the target snapshot.
--
-- $sel:tags:CopySnapshot', copySnapshot_tags - A list of
-- tags to be added to this resource. A tag is a key-value pair. A tag
-- key must be accompanied by a tag value, although null is accepted.
--
-- $sel:targetBucket:CopySnapshot',
-- copySnapshot_targetBucket - The Amazon S3 bucket to which the
-- snapshot is exported. This parameter is used only when exporting a
-- snapshot for external access. When using this parameter to export a
-- snapshot, be sure MemoryDB has the needed permissions to this S3
-- bucket. For more information, see Step 2: Grant MemoryDB Access to
-- Your Amazon S3 Bucket.
--
-- $sel:sourceSnapshotName:CopySnapshot',
-- copySnapshot_sourceSnapshotName - The name of an existing
-- snapshot from which to make a copy.
--
-- $sel:targetSnapshotName:CopySnapshot',
-- copySnapshot_targetSnapshotName - A name for the snapshot copy.
-- MemoryDB does not permit overwriting a snapshot, therefore this name
-- must be unique within its context - MemoryDB or an Amazon S3 bucket if
-- exporting.
newCopySnapshot :: Text -> Text -> CopySnapshot
-- | The ID of the KMS key used to encrypt the target snapshot.
copySnapshot_kmsKeyId :: Lens' CopySnapshot (Maybe Text)
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
copySnapshot_tags :: Lens' CopySnapshot (Maybe [Tag])
-- | The Amazon S3 bucket to which the snapshot is exported. This parameter
-- is used only when exporting a snapshot for external access. When using
-- this parameter to export a snapshot, be sure MemoryDB has the needed
-- permissions to this S3 bucket. For more information, see Step 2:
-- Grant MemoryDB Access to Your Amazon S3 Bucket.
copySnapshot_targetBucket :: Lens' CopySnapshot (Maybe Text)
-- | The name of an existing snapshot from which to make a copy.
copySnapshot_sourceSnapshotName :: Lens' CopySnapshot Text
-- | A name for the snapshot copy. MemoryDB does not permit overwriting a
-- snapshot, therefore this name must be unique within its context -
-- MemoryDB or an Amazon S3 bucket if exporting.
copySnapshot_targetSnapshotName :: Lens' CopySnapshot Text
-- | See: newCopySnapshotResponse smart constructor.
data CopySnapshotResponse
CopySnapshotResponse' :: Maybe Snapshot -> Int -> CopySnapshotResponse
-- | Represents a copy of an entire cluster as of the time when the
-- snapshot was taken.
[$sel:snapshot:CopySnapshotResponse'] :: CopySnapshotResponse -> Maybe Snapshot
-- | The response's http status code.
[$sel:httpStatus:CopySnapshotResponse'] :: CopySnapshotResponse -> Int
-- | Create a value of CopySnapshotResponse with all optional fields
-- omitted.
--
-- Use 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:CopySnapshotResponse',
-- copySnapshotResponse_snapshot - Represents a copy of an entire
-- cluster as of the time when the snapshot was taken.
--
-- $sel:httpStatus:CopySnapshotResponse',
-- copySnapshotResponse_httpStatus - The response's http status
-- code.
newCopySnapshotResponse :: Int -> CopySnapshotResponse
-- | Represents a copy of an entire cluster as of the time when the
-- snapshot was taken.
copySnapshotResponse_snapshot :: Lens' CopySnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
copySnapshotResponse_httpStatus :: Lens' CopySnapshotResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.CopySnapshot.CopySnapshot
instance GHC.Show.Show Amazonka.MemoryDb.CopySnapshot.CopySnapshot
instance GHC.Read.Read Amazonka.MemoryDb.CopySnapshot.CopySnapshot
instance GHC.Classes.Eq Amazonka.MemoryDb.CopySnapshot.CopySnapshot
instance GHC.Generics.Generic Amazonka.MemoryDb.CopySnapshot.CopySnapshotResponse
instance GHC.Show.Show Amazonka.MemoryDb.CopySnapshot.CopySnapshotResponse
instance GHC.Read.Read Amazonka.MemoryDb.CopySnapshot.CopySnapshotResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.CopySnapshot.CopySnapshotResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.CopySnapshot.CopySnapshot
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CopySnapshot.CopySnapshotResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.CopySnapshot.CopySnapshot
instance Control.DeepSeq.NFData Amazonka.MemoryDb.CopySnapshot.CopySnapshot
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.CopySnapshot.CopySnapshot
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.CopySnapshot.CopySnapshot
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.CopySnapshot.CopySnapshot
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.CopySnapshot.CopySnapshot
-- | Apply the service update to a list of clusters supplied. For more
-- information on service updates and applying them, see Applying the
-- service updates.
module Amazonka.MemoryDb.BatchUpdateCluster
-- | See: newBatchUpdateCluster smart constructor.
data BatchUpdateCluster
BatchUpdateCluster' :: Maybe ServiceUpdateRequest -> [Text] -> BatchUpdateCluster
-- | The unique ID of the service update
[$sel:serviceUpdate:BatchUpdateCluster'] :: BatchUpdateCluster -> Maybe ServiceUpdateRequest
-- | The cluster names to apply the updates.
[$sel:clusterNames:BatchUpdateCluster'] :: BatchUpdateCluster -> [Text]
-- | Create a value of BatchUpdateCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceUpdate:BatchUpdateCluster',
-- batchUpdateCluster_serviceUpdate - The unique ID of the service
-- update
--
-- $sel:clusterNames:BatchUpdateCluster',
-- batchUpdateCluster_clusterNames - The cluster names to apply
-- the updates.
newBatchUpdateCluster :: BatchUpdateCluster
-- | The unique ID of the service update
batchUpdateCluster_serviceUpdate :: Lens' BatchUpdateCluster (Maybe ServiceUpdateRequest)
-- | The cluster names to apply the updates.
batchUpdateCluster_clusterNames :: Lens' BatchUpdateCluster [Text]
-- | See: newBatchUpdateClusterResponse smart constructor.
data BatchUpdateClusterResponse
BatchUpdateClusterResponse' :: Maybe [Cluster] -> Maybe [UnprocessedCluster] -> Int -> BatchUpdateClusterResponse
-- | The list of clusters that have been updated.
[$sel:processedClusters:BatchUpdateClusterResponse'] :: BatchUpdateClusterResponse -> Maybe [Cluster]
-- | The list of clusters where updates have not been applied.
[$sel:unprocessedClusters:BatchUpdateClusterResponse'] :: BatchUpdateClusterResponse -> Maybe [UnprocessedCluster]
-- | The response's http status code.
[$sel:httpStatus:BatchUpdateClusterResponse'] :: BatchUpdateClusterResponse -> Int
-- | Create a value of BatchUpdateClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:processedClusters:BatchUpdateClusterResponse',
-- batchUpdateClusterResponse_processedClusters - The list of
-- clusters that have been updated.
--
-- $sel:unprocessedClusters:BatchUpdateClusterResponse',
-- batchUpdateClusterResponse_unprocessedClusters - The list of
-- clusters where updates have not been applied.
--
-- $sel:httpStatus:BatchUpdateClusterResponse',
-- batchUpdateClusterResponse_httpStatus - The response's http
-- status code.
newBatchUpdateClusterResponse :: Int -> BatchUpdateClusterResponse
-- | The list of clusters that have been updated.
batchUpdateClusterResponse_processedClusters :: Lens' BatchUpdateClusterResponse (Maybe [Cluster])
-- | The list of clusters where updates have not been applied.
batchUpdateClusterResponse_unprocessedClusters :: Lens' BatchUpdateClusterResponse (Maybe [UnprocessedCluster])
-- | The response's http status code.
batchUpdateClusterResponse_httpStatus :: Lens' BatchUpdateClusterResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
instance GHC.Show.Show Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
instance GHC.Read.Read Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
instance GHC.Classes.Eq Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
instance GHC.Generics.Generic Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateClusterResponse
instance GHC.Show.Show Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateClusterResponse
instance GHC.Read.Read Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateClusterResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
instance Control.DeepSeq.NFData Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
instance Control.DeepSeq.NFData Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.BatchUpdateCluster.BatchUpdateCluster
-- | Use this operation to remove tags on a resource
module Amazonka.MemoryDb.UntagResource
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> [Text] -> UntagResource
-- | The Amazon Resource Name (ARN) of the resource to which the tags are
-- to be removed
[$sel:resourceArn:UntagResource'] :: UntagResource -> Text
-- | The list of keys of the tags that are to be removed
[$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
-- | Create a value of UntagResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:UntagResource',
-- untagResource_resourceArn - The Amazon Resource Name (ARN) of
-- the resource to which the tags are to be removed
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- list of keys of the tags that are to be removed
newUntagResource :: Text -> UntagResource
-- | The Amazon Resource Name (ARN) of the resource to which the tags are
-- to be removed
untagResource_resourceArn :: Lens' UntagResource Text
-- | The list of keys of the tags that are to be removed
untagResource_tagKeys :: Lens' UntagResource [Text]
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Maybe [Tag] -> Int -> UntagResourceResponse
-- | The list of tags removed
[$sel:tagList:UntagResourceResponse'] :: UntagResourceResponse -> Maybe [Tag]
-- | The response's http status code.
[$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
-- | Create a value of UntagResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tagList:UntagResourceResponse',
-- untagResourceResponse_tagList - The list of tags removed
--
-- $sel:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | The list of tags removed
untagResourceResponse_tagList :: Lens' UntagResourceResponse (Maybe [Tag])
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.UntagResource.UntagResource
instance GHC.Show.Show Amazonka.MemoryDb.UntagResource.UntagResource
instance GHC.Read.Read Amazonka.MemoryDb.UntagResource.UntagResource
instance GHC.Classes.Eq Amazonka.MemoryDb.UntagResource.UntagResource
instance GHC.Generics.Generic Amazonka.MemoryDb.UntagResource.UntagResourceResponse
instance GHC.Show.Show Amazonka.MemoryDb.UntagResource.UntagResourceResponse
instance GHC.Read.Read Amazonka.MemoryDb.UntagResource.UntagResourceResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.UntagResource.UntagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UntagResource.UntagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UntagResource.UntagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.UntagResource.UntagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.UntagResource.UntagResource
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.UntagResource.UntagResource
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.UntagResource.UntagResource
-- | Changes the list of users that belong to the Access Control List.
module Amazonka.MemoryDb.UpdateACL
-- | See: newUpdateACL smart constructor.
data UpdateACL
UpdateACL' :: Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Text -> UpdateACL
-- | The list of users to add to the Access Control List
[$sel:userNamesToAdd:UpdateACL'] :: UpdateACL -> Maybe (NonEmpty Text)
-- | The list of users to remove from the Access Control List
[$sel:userNamesToRemove:UpdateACL'] :: UpdateACL -> Maybe (NonEmpty Text)
-- | The name of the Access Control List
[$sel:aCLName:UpdateACL'] :: UpdateACL -> Text
-- | Create a value of UpdateACL with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateACL, updateACL_userNamesToAdd - The list of users
-- to add to the Access Control List
--
-- UpdateACL, updateACL_userNamesToRemove - The list of
-- users to remove from the Access Control List
--
-- UpdateACL, updateACL_aCLName - The name of the Access
-- Control List
newUpdateACL :: Text -> UpdateACL
-- | The list of users to add to the Access Control List
updateACL_userNamesToAdd :: Lens' UpdateACL (Maybe (NonEmpty Text))
-- | The list of users to remove from the Access Control List
updateACL_userNamesToRemove :: Lens' UpdateACL (Maybe (NonEmpty Text))
-- | The name of the Access Control List
updateACL_aCLName :: Lens' UpdateACL Text
-- | See: newUpdateACLResponse smart constructor.
data UpdateACLResponse
UpdateACLResponse' :: Maybe ACL -> Int -> UpdateACLResponse
-- | The updated Access Control List
[$sel:acl:UpdateACLResponse'] :: UpdateACLResponse -> Maybe ACL
-- | The response's http status code.
[$sel:httpStatus:UpdateACLResponse'] :: UpdateACLResponse -> Int
-- | Create a value of UpdateACLResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:acl:UpdateACLResponse', updateACLResponse_acl - The
-- updated Access Control List
--
-- $sel:httpStatus:UpdateACLResponse',
-- updateACLResponse_httpStatus - The response's http status code.
newUpdateACLResponse :: Int -> UpdateACLResponse
-- | The updated Access Control List
updateACLResponse_acl :: Lens' UpdateACLResponse (Maybe ACL)
-- | The response's http status code.
updateACLResponse_httpStatus :: Lens' UpdateACLResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.UpdateACL.UpdateACL
instance GHC.Show.Show Amazonka.MemoryDb.UpdateACL.UpdateACL
instance GHC.Read.Read Amazonka.MemoryDb.UpdateACL.UpdateACL
instance GHC.Classes.Eq Amazonka.MemoryDb.UpdateACL.UpdateACL
instance GHC.Generics.Generic Amazonka.MemoryDb.UpdateACL.UpdateACLResponse
instance GHC.Show.Show Amazonka.MemoryDb.UpdateACL.UpdateACLResponse
instance GHC.Read.Read Amazonka.MemoryDb.UpdateACL.UpdateACLResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.UpdateACL.UpdateACLResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.UpdateACL.UpdateACL
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UpdateACL.UpdateACLResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.UpdateACL.UpdateACL
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UpdateACL.UpdateACL
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.UpdateACL.UpdateACL
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.UpdateACL.UpdateACL
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.UpdateACL.UpdateACL
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.UpdateACL.UpdateACL
-- | Modifies the settings for a cluster. You can use this operation to
-- change one or more cluster configuration settings by specifying the
-- settings and the new values.
module Amazonka.MemoryDb.UpdateCluster
-- | See: newUpdateCluster smart constructor.
data UpdateCluster
UpdateCluster' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ReplicaConfigurationRequest -> Maybe [Text] -> Maybe ShardConfigurationRequest -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> UpdateCluster
-- | The Access Control List that is associated with the cluster
[$sel:aCLName:UpdateCluster'] :: UpdateCluster -> Maybe Text
-- | The description of the cluster to update
[$sel:description:UpdateCluster'] :: UpdateCluster -> Maybe Text
-- | The upgraded version of the engine to be run on the nodes. You can
-- upgrade to a newer engine version, but you cannot downgrade to an
-- earlier engine version. If you want to use an earlier engine version,
-- you must delete the existing cluster and create it anew with the
-- earlier engine version.
[$sel:engineVersion:UpdateCluster'] :: UpdateCluster -> Maybe Text
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
--
-- Valid values for ddd are:
--
--
-- sun
-- mon
-- tue
-- wed
-- thu
-- fri
-- sat
--
--
-- Example: sun:23:00-mon:01:30
[$sel:maintenanceWindow:UpdateCluster'] :: UpdateCluster -> Maybe Text
-- | A valid node type that you want to scale this cluster up or down to.
[$sel:nodeType:UpdateCluster'] :: UpdateCluster -> Maybe Text
-- | The name of the parameter group to update
[$sel:parameterGroupName:UpdateCluster'] :: UpdateCluster -> Maybe Text
-- | The number of replicas that will reside in each shard
[$sel:replicaConfiguration:UpdateCluster'] :: UpdateCluster -> Maybe ReplicaConfigurationRequest
-- | The SecurityGroupIds to update
[$sel:securityGroupIds:UpdateCluster'] :: UpdateCluster -> Maybe [Text]
-- | The number of shards in the cluster
[$sel:shardConfiguration:UpdateCluster'] :: UpdateCluster -> Maybe ShardConfigurationRequest
-- | The number of days for which MemoryDB retains automatic cluster
-- snapshots before deleting them. For example, if you set
-- SnapshotRetentionLimit to 5, a snapshot that was taken today is
-- retained for 5 days before being deleted.
[$sel:snapshotRetentionLimit:UpdateCluster'] :: UpdateCluster -> Maybe Int
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your cluster.
[$sel:snapshotWindow:UpdateCluster'] :: UpdateCluster -> Maybe Text
-- | The SNS topic ARN to update
[$sel:snsTopicArn:UpdateCluster'] :: UpdateCluster -> Maybe Text
-- | The status of the Amazon SNS notification topic. Notifications are
-- sent only if the status is active.
[$sel:snsTopicStatus:UpdateCluster'] :: UpdateCluster -> Maybe Text
-- | The name of the cluster to update
[$sel:clusterName:UpdateCluster'] :: UpdateCluster -> Text
-- | Create a value of UpdateCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateCluster, updateCluster_aCLName - The Access
-- Control List that is associated with the cluster
--
-- UpdateCluster, updateCluster_description - The
-- description of the cluster to update
--
-- UpdateCluster, updateCluster_engineVersion - The
-- upgraded version of the engine to be run on the nodes. You can upgrade
-- to a newer engine version, but you cannot downgrade to an earlier
-- engine version. If you want to use an earlier engine version, you must
-- delete the existing cluster and create it anew with the earlier engine
-- version.
--
-- UpdateCluster, updateCluster_maintenanceWindow -
-- Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
--
-- Valid values for ddd are:
--
--
-- sun
-- mon
-- tue
-- wed
-- thu
-- fri
-- sat
--
--
-- Example: sun:23:00-mon:01:30
--
-- UpdateCluster, updateCluster_nodeType - A valid node
-- type that you want to scale this cluster up or down to.
--
-- UpdateCluster, updateCluster_parameterGroupName - The
-- name of the parameter group to update
--
-- $sel:replicaConfiguration:UpdateCluster',
-- updateCluster_replicaConfiguration - The number of replicas
-- that will reside in each shard
--
-- $sel:securityGroupIds:UpdateCluster',
-- updateCluster_securityGroupIds - The SecurityGroupIds to update
--
-- $sel:shardConfiguration:UpdateCluster',
-- updateCluster_shardConfiguration - The number of shards in the
-- cluster
--
-- UpdateCluster, updateCluster_snapshotRetentionLimit -
-- The number of days for which MemoryDB retains automatic cluster
-- snapshots before deleting them. For example, if you set
-- SnapshotRetentionLimit to 5, a snapshot that was taken today is
-- retained for 5 days before being deleted.
--
-- UpdateCluster, updateCluster_snapshotWindow - The daily
-- time range (in UTC) during which MemoryDB begins taking a daily
-- snapshot of your cluster.
--
-- UpdateCluster, updateCluster_snsTopicArn - The SNS topic
-- ARN to update
--
-- UpdateCluster, updateCluster_snsTopicStatus - The status
-- of the Amazon SNS notification topic. Notifications are sent only if
-- the status is active.
--
-- UpdateCluster, updateCluster_clusterName - The name of
-- the cluster to update
newUpdateCluster :: Text -> UpdateCluster
-- | The Access Control List that is associated with the cluster
updateCluster_aCLName :: Lens' UpdateCluster (Maybe Text)
-- | The description of the cluster to update
updateCluster_description :: Lens' UpdateCluster (Maybe Text)
-- | The upgraded version of the engine to be run on the nodes. You can
-- upgrade to a newer engine version, but you cannot downgrade to an
-- earlier engine version. If you want to use an earlier engine version,
-- you must delete the existing cluster and create it anew with the
-- earlier engine version.
updateCluster_engineVersion :: Lens' UpdateCluster (Maybe Text)
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
--
-- Valid values for ddd are:
--
--
-- sun
-- mon
-- tue
-- wed
-- thu
-- fri
-- sat
--
--
-- Example: sun:23:00-mon:01:30
updateCluster_maintenanceWindow :: Lens' UpdateCluster (Maybe Text)
-- | A valid node type that you want to scale this cluster up or down to.
updateCluster_nodeType :: Lens' UpdateCluster (Maybe Text)
-- | The name of the parameter group to update
updateCluster_parameterGroupName :: Lens' UpdateCluster (Maybe Text)
-- | The number of replicas that will reside in each shard
updateCluster_replicaConfiguration :: Lens' UpdateCluster (Maybe ReplicaConfigurationRequest)
-- | The SecurityGroupIds to update
updateCluster_securityGroupIds :: Lens' UpdateCluster (Maybe [Text])
-- | The number of shards in the cluster
updateCluster_shardConfiguration :: Lens' UpdateCluster (Maybe ShardConfigurationRequest)
-- | The number of days for which MemoryDB retains automatic cluster
-- snapshots before deleting them. For example, if you set
-- SnapshotRetentionLimit to 5, a snapshot that was taken today is
-- retained for 5 days before being deleted.
updateCluster_snapshotRetentionLimit :: Lens' UpdateCluster (Maybe Int)
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your cluster.
updateCluster_snapshotWindow :: Lens' UpdateCluster (Maybe Text)
-- | The SNS topic ARN to update
updateCluster_snsTopicArn :: Lens' UpdateCluster (Maybe Text)
-- | The status of the Amazon SNS notification topic. Notifications are
-- sent only if the status is active.
updateCluster_snsTopicStatus :: Lens' UpdateCluster (Maybe Text)
-- | The name of the cluster to update
updateCluster_clusterName :: Lens' UpdateCluster Text
-- | See: newUpdateClusterResponse smart constructor.
data UpdateClusterResponse
UpdateClusterResponse' :: Maybe Cluster -> Int -> UpdateClusterResponse
-- | The updated cluster
[$sel:cluster:UpdateClusterResponse'] :: UpdateClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:UpdateClusterResponse'] :: UpdateClusterResponse -> Int
-- | Create a value of UpdateClusterResponse with all optional
-- fields omitted.
--
-- Use 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:UpdateClusterResponse',
-- updateClusterResponse_cluster - The updated cluster
--
-- $sel:httpStatus:UpdateClusterResponse',
-- updateClusterResponse_httpStatus - The response's http status
-- code.
newUpdateClusterResponse :: Int -> UpdateClusterResponse
-- | The updated cluster
updateClusterResponse_cluster :: Lens' UpdateClusterResponse (Maybe Cluster)
-- | The response's http status code.
updateClusterResponse_httpStatus :: Lens' UpdateClusterResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.UpdateCluster.UpdateCluster
instance GHC.Show.Show Amazonka.MemoryDb.UpdateCluster.UpdateCluster
instance GHC.Read.Read Amazonka.MemoryDb.UpdateCluster.UpdateCluster
instance GHC.Classes.Eq Amazonka.MemoryDb.UpdateCluster.UpdateCluster
instance GHC.Generics.Generic Amazonka.MemoryDb.UpdateCluster.UpdateClusterResponse
instance GHC.Show.Show Amazonka.MemoryDb.UpdateCluster.UpdateClusterResponse
instance GHC.Read.Read Amazonka.MemoryDb.UpdateCluster.UpdateClusterResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.UpdateCluster.UpdateClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.UpdateCluster.UpdateCluster
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UpdateCluster.UpdateClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.UpdateCluster.UpdateCluster
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UpdateCluster.UpdateCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.UpdateCluster.UpdateCluster
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.UpdateCluster.UpdateCluster
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.UpdateCluster.UpdateCluster
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.UpdateCluster.UpdateCluster
-- | Updates the parameters of a parameter group. You can modify up to 20
-- parameters in a single request by submitting a list parameter name and
-- value pairs.
module Amazonka.MemoryDb.UpdateParameterGroup
-- | See: newUpdateParameterGroup smart constructor.
data UpdateParameterGroup
UpdateParameterGroup' :: Text -> [ParameterNameValue] -> UpdateParameterGroup
-- | The name of the parameter group to update.
[$sel:parameterGroupName:UpdateParameterGroup'] :: UpdateParameterGroup -> Text
-- | An array of parameter names and values for the parameter update. You
-- must supply at least one parameter name and value; subsequent
-- arguments are optional. A maximum of 20 parameters may be updated per
-- request.
[$sel:parameterNameValues:UpdateParameterGroup'] :: UpdateParameterGroup -> [ParameterNameValue]
-- | Create a value of UpdateParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateParameterGroup,
-- updateParameterGroup_parameterGroupName - The name of the
-- parameter group to update.
--
-- $sel:parameterNameValues:UpdateParameterGroup',
-- updateParameterGroup_parameterNameValues - An array of
-- parameter names and values for the parameter update. You must supply
-- at least one parameter name and value; subsequent arguments are
-- optional. A maximum of 20 parameters may be updated per request.
newUpdateParameterGroup :: Text -> UpdateParameterGroup
-- | The name of the parameter group to update.
updateParameterGroup_parameterGroupName :: Lens' UpdateParameterGroup Text
-- | An array of parameter names and values for the parameter update. You
-- must supply at least one parameter name and value; subsequent
-- arguments are optional. A maximum of 20 parameters may be updated per
-- request.
updateParameterGroup_parameterNameValues :: Lens' UpdateParameterGroup [ParameterNameValue]
-- | See: newUpdateParameterGroupResponse smart constructor.
data UpdateParameterGroupResponse
UpdateParameterGroupResponse' :: Maybe ParameterGroup -> Int -> UpdateParameterGroupResponse
-- | The updated parameter group
[$sel:parameterGroup:UpdateParameterGroupResponse'] :: UpdateParameterGroupResponse -> Maybe ParameterGroup
-- | The response's http status code.
[$sel:httpStatus:UpdateParameterGroupResponse'] :: UpdateParameterGroupResponse -> Int
-- | Create a value of UpdateParameterGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterGroup:UpdateParameterGroupResponse',
-- updateParameterGroupResponse_parameterGroup - The updated
-- parameter group
--
-- $sel:httpStatus:UpdateParameterGroupResponse',
-- updateParameterGroupResponse_httpStatus - The response's http
-- status code.
newUpdateParameterGroupResponse :: Int -> UpdateParameterGroupResponse
-- | The updated parameter group
updateParameterGroupResponse_parameterGroup :: Lens' UpdateParameterGroupResponse (Maybe ParameterGroup)
-- | The response's http status code.
updateParameterGroupResponse_httpStatus :: Lens' UpdateParameterGroupResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
instance GHC.Show.Show Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
instance GHC.Read.Read Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
instance GHC.Classes.Eq Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
instance GHC.Generics.Generic Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroupResponse
instance GHC.Show.Show Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroupResponse
instance GHC.Read.Read Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroupResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.UpdateParameterGroup.UpdateParameterGroup
-- | Updates a subnet group. For more information, see Updating a subnet
-- group
module Amazonka.MemoryDb.UpdateSubnetGroup
-- | See: newUpdateSubnetGroup smart constructor.
data UpdateSubnetGroup
UpdateSubnetGroup' :: Maybe Text -> Maybe [Text] -> Text -> UpdateSubnetGroup
-- | A description of the subnet group
[$sel:description:UpdateSubnetGroup'] :: UpdateSubnetGroup -> Maybe Text
-- | The EC2 subnet IDs for the subnet group.
[$sel:subnetIds:UpdateSubnetGroup'] :: UpdateSubnetGroup -> Maybe [Text]
-- | The name of the subnet group
[$sel:subnetGroupName:UpdateSubnetGroup'] :: UpdateSubnetGroup -> Text
-- | Create a value of UpdateSubnetGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateSubnetGroup, updateSubnetGroup_description - A
-- description of the subnet group
--
-- $sel:subnetIds:UpdateSubnetGroup',
-- updateSubnetGroup_subnetIds - The EC2 subnet IDs for the subnet
-- group.
--
-- UpdateSubnetGroup, updateSubnetGroup_subnetGroupName -
-- The name of the subnet group
newUpdateSubnetGroup :: Text -> UpdateSubnetGroup
-- | A description of the subnet group
updateSubnetGroup_description :: Lens' UpdateSubnetGroup (Maybe Text)
-- | The EC2 subnet IDs for the subnet group.
updateSubnetGroup_subnetIds :: Lens' UpdateSubnetGroup (Maybe [Text])
-- | The name of the subnet group
updateSubnetGroup_subnetGroupName :: Lens' UpdateSubnetGroup Text
-- | See: newUpdateSubnetGroupResponse smart constructor.
data UpdateSubnetGroupResponse
UpdateSubnetGroupResponse' :: Maybe SubnetGroup -> Int -> UpdateSubnetGroupResponse
-- | The updated subnet group
[$sel:subnetGroup:UpdateSubnetGroupResponse'] :: UpdateSubnetGroupResponse -> Maybe SubnetGroup
-- | The response's http status code.
[$sel:httpStatus:UpdateSubnetGroupResponse'] :: UpdateSubnetGroupResponse -> Int
-- | Create a value of UpdateSubnetGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:subnetGroup:UpdateSubnetGroupResponse',
-- updateSubnetGroupResponse_subnetGroup - The updated subnet
-- group
--
-- $sel:httpStatus:UpdateSubnetGroupResponse',
-- updateSubnetGroupResponse_httpStatus - The response's http
-- status code.
newUpdateSubnetGroupResponse :: Int -> UpdateSubnetGroupResponse
-- | The updated subnet group
updateSubnetGroupResponse_subnetGroup :: Lens' UpdateSubnetGroupResponse (Maybe SubnetGroup)
-- | The response's http status code.
updateSubnetGroupResponse_httpStatus :: Lens' UpdateSubnetGroupResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
instance GHC.Show.Show Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
instance GHC.Read.Read Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
instance GHC.Classes.Eq Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
instance GHC.Generics.Generic Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroupResponse
instance GHC.Show.Show Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroupResponse
instance GHC.Read.Read Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroupResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.UpdateSubnetGroup.UpdateSubnetGroup
-- | Changes user password(s) and/or access string.
module Amazonka.MemoryDb.UpdateUser
-- | See: newUpdateUser smart constructor.
data UpdateUser
UpdateUser' :: Maybe Text -> Maybe AuthenticationMode -> Text -> UpdateUser
-- | Access permissions string used for this user.
[$sel:accessString:UpdateUser'] :: UpdateUser -> Maybe Text
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate.
[$sel:authenticationMode:UpdateUser'] :: UpdateUser -> Maybe AuthenticationMode
-- | The name of the user
[$sel:userName:UpdateUser'] :: UpdateUser -> Text
-- | Create a value of UpdateUser with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateUser, updateUser_accessString - Access permissions
-- string used for this user.
--
-- $sel:authenticationMode:UpdateUser',
-- updateUser_authenticationMode - Denotes the user's
-- authentication properties, such as whether it requires a password to
-- authenticate.
--
-- $sel:userName:UpdateUser', updateUser_userName - The
-- name of the user
newUpdateUser :: Text -> UpdateUser
-- | Access permissions string used for this user.
updateUser_accessString :: Lens' UpdateUser (Maybe Text)
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate.
updateUser_authenticationMode :: Lens' UpdateUser (Maybe AuthenticationMode)
-- | The name of the user
updateUser_userName :: Lens' UpdateUser Text
-- | See: newUpdateUserResponse smart constructor.
data UpdateUserResponse
UpdateUserResponse' :: Maybe User -> Int -> UpdateUserResponse
-- | The updated user
[$sel:user:UpdateUserResponse'] :: UpdateUserResponse -> Maybe User
-- | The response's http status code.
[$sel:httpStatus:UpdateUserResponse'] :: UpdateUserResponse -> Int
-- | Create a value of UpdateUserResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:user:UpdateUserResponse', updateUserResponse_user -
-- The updated user
--
-- $sel:httpStatus:UpdateUserResponse',
-- updateUserResponse_httpStatus - The response's http status
-- code.
newUpdateUserResponse :: Int -> UpdateUserResponse
-- | The updated user
updateUserResponse_user :: Lens' UpdateUserResponse (Maybe User)
-- | The response's http status code.
updateUserResponse_httpStatus :: Lens' UpdateUserResponse Int
instance GHC.Generics.Generic Amazonka.MemoryDb.UpdateUser.UpdateUser
instance GHC.Show.Show Amazonka.MemoryDb.UpdateUser.UpdateUser
instance GHC.Read.Read Amazonka.MemoryDb.UpdateUser.UpdateUser
instance GHC.Classes.Eq Amazonka.MemoryDb.UpdateUser.UpdateUser
instance GHC.Generics.Generic Amazonka.MemoryDb.UpdateUser.UpdateUserResponse
instance GHC.Show.Show Amazonka.MemoryDb.UpdateUser.UpdateUserResponse
instance GHC.Read.Read Amazonka.MemoryDb.UpdateUser.UpdateUserResponse
instance GHC.Classes.Eq Amazonka.MemoryDb.UpdateUser.UpdateUserResponse
instance Amazonka.Types.AWSRequest Amazonka.MemoryDb.UpdateUser.UpdateUser
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UpdateUser.UpdateUserResponse
instance Data.Hashable.Class.Hashable Amazonka.MemoryDb.UpdateUser.UpdateUser
instance Control.DeepSeq.NFData Amazonka.MemoryDb.UpdateUser.UpdateUser
instance Amazonka.Data.Headers.ToHeaders Amazonka.MemoryDb.UpdateUser.UpdateUser
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MemoryDb.UpdateUser.UpdateUser
instance Amazonka.Data.Path.ToPath Amazonka.MemoryDb.UpdateUser.UpdateUser
instance Amazonka.Data.Query.ToQuery Amazonka.MemoryDb.UpdateUser.UpdateUser
module Amazonka.MemoryDb.Lens
-- | The unique ID of the service update
batchUpdateCluster_serviceUpdate :: Lens' BatchUpdateCluster (Maybe ServiceUpdateRequest)
-- | The cluster names to apply the updates.
batchUpdateCluster_clusterNames :: Lens' BatchUpdateCluster [Text]
-- | The list of clusters that have been updated.
batchUpdateClusterResponse_processedClusters :: Lens' BatchUpdateClusterResponse (Maybe [Cluster])
-- | The list of clusters where updates have not been applied.
batchUpdateClusterResponse_unprocessedClusters :: Lens' BatchUpdateClusterResponse (Maybe [UnprocessedCluster])
-- | The response's http status code.
batchUpdateClusterResponse_httpStatus :: Lens' BatchUpdateClusterResponse Int
-- | The ID of the KMS key used to encrypt the target snapshot.
copySnapshot_kmsKeyId :: Lens' CopySnapshot (Maybe Text)
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
copySnapshot_tags :: Lens' CopySnapshot (Maybe [Tag])
-- | The Amazon S3 bucket to which the snapshot is exported. This parameter
-- is used only when exporting a snapshot for external access. When using
-- this parameter to export a snapshot, be sure MemoryDB has the needed
-- permissions to this S3 bucket. For more information, see Step 2:
-- Grant MemoryDB Access to Your Amazon S3 Bucket.
copySnapshot_targetBucket :: Lens' CopySnapshot (Maybe Text)
-- | The name of an existing snapshot from which to make a copy.
copySnapshot_sourceSnapshotName :: Lens' CopySnapshot Text
-- | A name for the snapshot copy. MemoryDB does not permit overwriting a
-- snapshot, therefore this name must be unique within its context -
-- MemoryDB or an Amazon S3 bucket if exporting.
copySnapshot_targetSnapshotName :: Lens' CopySnapshot Text
-- | Represents a copy of an entire cluster as of the time when the
-- snapshot was taken.
copySnapshotResponse_snapshot :: Lens' CopySnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
copySnapshotResponse_httpStatus :: Lens' CopySnapshotResponse Int
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
createACL_tags :: Lens' CreateACL (Maybe [Tag])
-- | The list of users that belong to the Access Control List.
createACL_userNames :: Lens' CreateACL (Maybe (NonEmpty Text))
-- | The name of the Access Control List.
createACL_aCLName :: Lens' CreateACL Text
-- | The newly-created Access Control List.
createACLResponse_acl :: Lens' CreateACLResponse (Maybe ACL)
-- | The response's http status code.
createACLResponse_httpStatus :: Lens' CreateACLResponse Int
-- | When set to true, the cluster will automatically receive minor engine
-- version upgrades after launch.
createCluster_autoMinorVersionUpgrade :: Lens' CreateCluster (Maybe Bool)
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
createCluster_dataTiering :: Lens' CreateCluster (Maybe Bool)
-- | An optional description of the cluster.
createCluster_description :: Lens' CreateCluster (Maybe Text)
-- | The version number of the Redis engine to be used for the cluster.
createCluster_engineVersion :: Lens' CreateCluster (Maybe Text)
-- | The ID of the KMS key used to encrypt the cluster.
createCluster_kmsKeyId :: Lens' CreateCluster (Maybe Text)
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
--
-- Valid values for ddd are:
--
--
-- sun
-- mon
-- tue
-- wed
-- thu
-- fri
-- sat
--
--
-- Example: sun:23:00-mon:01:30
createCluster_maintenanceWindow :: Lens' CreateCluster (Maybe Text)
-- | The number of replicas to apply to each shard. The default value is 1.
-- The maximum is 5.
createCluster_numReplicasPerShard :: Lens' CreateCluster (Maybe Int)
-- | The number of shards the cluster will contain. The default value is 1.
createCluster_numShards :: Lens' CreateCluster (Maybe Int)
-- | The name of the parameter group associated with the cluster.
createCluster_parameterGroupName :: Lens' CreateCluster (Maybe Text)
-- | The port number on which each of the nodes accepts connections.
createCluster_port :: Lens' CreateCluster (Maybe Int)
-- | A list of security group names to associate with this cluster.
createCluster_securityGroupIds :: Lens' CreateCluster (Maybe [Text])
-- | A list of Amazon Resource Names (ARN) that uniquely identify the RDB
-- snapshot files stored in Amazon S3. The snapshot files are used to
-- populate the new cluster. The Amazon S3 object name in the ARN cannot
-- contain any commas.
createCluster_snapshotArns :: Lens' CreateCluster (Maybe [Text])
-- | The name of a snapshot from which to restore data into the new
-- cluster. The snapshot status changes to restoring while the new
-- cluster is being created.
createCluster_snapshotName :: Lens' CreateCluster (Maybe Text)
-- | The number of days for which MemoryDB retains automatic snapshots
-- before deleting them. For example, if you set SnapshotRetentionLimit
-- to 5, a snapshot that was taken today is retained for 5 days before
-- being deleted.
createCluster_snapshotRetentionLimit :: Lens' CreateCluster (Maybe Int)
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard.
--
-- Example: 05:00-09:00
--
-- If you do not specify this parameter, MemoryDB automatically chooses
-- an appropriate time range.
createCluster_snapshotWindow :: Lens' CreateCluster (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification
-- Service (SNS) topic to which notifications are sent.
createCluster_snsTopicArn :: Lens' CreateCluster (Maybe Text)
-- | The name of the subnet group to be used for the cluster.
createCluster_subnetGroupName :: Lens' CreateCluster (Maybe Text)
-- | A flag to enable in-transit encryption on the cluster.
createCluster_tLSEnabled :: Lens' CreateCluster (Maybe Bool)
-- | A list of tags to be added to this resource. Tags are comma-separated
-- key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include
-- multiple tags as shown following: Key=myKey, Value=myKeyValue
-- Key=mySecondKey, Value=mySecondKeyValue.
createCluster_tags :: Lens' CreateCluster (Maybe [Tag])
-- | The name of the cluster. This value must be unique as it also serves
-- as the cluster identifier.
createCluster_clusterName :: Lens' CreateCluster Text
-- | The compute and memory capacity of the nodes in the cluster.
createCluster_nodeType :: Lens' CreateCluster Text
-- | The name of the Access Control List to associate with the cluster.
createCluster_aCLName :: Lens' CreateCluster Text
-- | The newly-created cluster.
createClusterResponse_cluster :: Lens' CreateClusterResponse (Maybe Cluster)
-- | The response's http status code.
createClusterResponse_httpStatus :: Lens' CreateClusterResponse Int
-- | An optional description of the parameter group.
createParameterGroup_description :: Lens' CreateParameterGroup (Maybe Text)
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
createParameterGroup_tags :: Lens' CreateParameterGroup (Maybe [Tag])
-- | The name of the parameter group.
createParameterGroup_parameterGroupName :: Lens' CreateParameterGroup Text
-- | The name of the parameter group family that the parameter group can be
-- used with.
createParameterGroup_family :: Lens' CreateParameterGroup Text
-- | The newly-created parameter group.
createParameterGroupResponse_parameterGroup :: Lens' CreateParameterGroupResponse (Maybe ParameterGroup)
-- | The response's http status code.
createParameterGroupResponse_httpStatus :: Lens' CreateParameterGroupResponse Int
-- | The ID of the KMS key used to encrypt the snapshot.
createSnapshot_kmsKeyId :: Lens' CreateSnapshot (Maybe Text)
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
createSnapshot_tags :: Lens' CreateSnapshot (Maybe [Tag])
-- | The snapshot is created from this cluster.
createSnapshot_clusterName :: Lens' CreateSnapshot Text
-- | A name for the snapshot being created.
createSnapshot_snapshotName :: Lens' CreateSnapshot Text
-- | The newly-created snapshot.
createSnapshotResponse_snapshot :: Lens' CreateSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
createSnapshotResponse_httpStatus :: Lens' CreateSnapshotResponse Int
-- | A description for the subnet group.
createSubnetGroup_description :: Lens' CreateSubnetGroup (Maybe Text)
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
createSubnetGroup_tags :: Lens' CreateSubnetGroup (Maybe [Tag])
-- | The name of the subnet group.
createSubnetGroup_subnetGroupName :: Lens' CreateSubnetGroup Text
-- | A list of VPC subnet IDs for the subnet group.
createSubnetGroup_subnetIds :: Lens' CreateSubnetGroup [Text]
-- | The newly-created subnet group
createSubnetGroupResponse_subnetGroup :: Lens' CreateSubnetGroupResponse (Maybe SubnetGroup)
-- | The response's http status code.
createSubnetGroupResponse_httpStatus :: Lens' CreateSubnetGroupResponse Int
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
createUser_tags :: Lens' CreateUser (Maybe [Tag])
-- | The name of the user. This value must be unique as it also serves as
-- the user identifier.
createUser_userName :: Lens' CreateUser Text
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate.
createUser_authenticationMode :: Lens' CreateUser AuthenticationMode
-- | Access permissions string used for this user.
createUser_accessString :: Lens' CreateUser Text
-- | The newly-created user.
createUserResponse_user :: Lens' CreateUserResponse (Maybe User)
-- | The response's http status code.
createUserResponse_httpStatus :: Lens' CreateUserResponse Int
-- | The name of the Access Control List to delete
deleteACL_aCLName :: Lens' DeleteACL Text
-- | The Access Control List object that has been deleted.
deleteACLResponse_acl :: Lens' DeleteACLResponse (Maybe ACL)
-- | The response's http status code.
deleteACLResponse_httpStatus :: Lens' DeleteACLResponse Int
-- | The user-supplied name of a final cluster snapshot. This is the unique
-- name that identifies the snapshot. MemoryDB creates the snapshot, and
-- then deletes the cluster immediately afterward.
deleteCluster_finalSnapshotName :: Lens' DeleteCluster (Maybe Text)
-- | The name of the cluster to be deleted
deleteCluster_clusterName :: Lens' DeleteCluster Text
-- | The cluster object that has been deleted
deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
-- | The response's http status code.
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
-- | The name of the parameter group to delete.
deleteParameterGroup_parameterGroupName :: Lens' DeleteParameterGroup Text
-- | The parameter group that has been deleted.
deleteParameterGroupResponse_parameterGroup :: Lens' DeleteParameterGroupResponse (Maybe ParameterGroup)
-- | The response's http status code.
deleteParameterGroupResponse_httpStatus :: Lens' DeleteParameterGroupResponse Int
-- | The name of the snapshot to delete
deleteSnapshot_snapshotName :: Lens' DeleteSnapshot Text
-- | The snapshot object that has been deleted.
deleteSnapshotResponse_snapshot :: Lens' DeleteSnapshotResponse (Maybe Snapshot)
-- | The response's http status code.
deleteSnapshotResponse_httpStatus :: Lens' DeleteSnapshotResponse Int
-- | The name of the subnet group to delete
deleteSubnetGroup_subnetGroupName :: Lens' DeleteSubnetGroup Text
-- | The subnet group object that has been deleted.
deleteSubnetGroupResponse_subnetGroup :: Lens' DeleteSubnetGroupResponse (Maybe SubnetGroup)
-- | The response's http status code.
deleteSubnetGroupResponse_httpStatus :: Lens' DeleteSubnetGroupResponse Int
-- | The name of the user to delete
deleteUser_userName :: Lens' DeleteUser Text
-- | The user object that has been deleted.
deleteUserResponse_user :: Lens' DeleteUserResponse (Maybe User)
-- | The response's http status code.
deleteUserResponse_httpStatus :: Lens' DeleteUserResponse Int
-- | The name of the ACL
describeACLs_aCLName :: Lens' DescribeACLs (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeACLs_maxResults :: Lens' DescribeACLs (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeACLs_nextToken :: Lens' DescribeACLs (Maybe Text)
-- | The list of ACLs
describeACLsResponse_aCLs :: Lens' DescribeACLsResponse (Maybe [ACL])
-- | If nextToken is returned, there are more results available. The value
-- of nextToken is a unique pagination token for each page. Make the call
-- again using the returned token to retrieve the next page. Keep all
-- other arguments unchanged.
describeACLsResponse_nextToken :: Lens' DescribeACLsResponse (Maybe Text)
-- | The response's http status code.
describeACLsResponse_httpStatus :: Lens' DescribeACLsResponse Int
-- | The name of the cluster
describeClusters_clusterName :: Lens' DescribeClusters (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeClusters_maxResults :: Lens' DescribeClusters (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeClusters_nextToken :: Lens' DescribeClusters (Maybe Text)
-- | An optional flag that can be included in the request to retrieve
-- information about the individual shard(s).
describeClusters_showShardDetails :: Lens' DescribeClusters (Maybe Bool)
-- | A list of clusters
describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeClustersResponse_nextToken :: Lens' DescribeClustersResponse (Maybe Text)
-- | The response's http status code.
describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
-- | If true, specifies that only the default version of the specified
-- engine or engine and major version combination is to be returned.
describeEngineVersions_defaultOnly :: Lens' DescribeEngineVersions (Maybe Bool)
-- | The Redis engine version
describeEngineVersions_engineVersion :: Lens' DescribeEngineVersions (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeEngineVersions_maxResults :: Lens' DescribeEngineVersions (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeEngineVersions_nextToken :: Lens' DescribeEngineVersions (Maybe Text)
-- | The name of a specific parameter group family to return details for.
describeEngineVersions_parameterGroupFamily :: Lens' DescribeEngineVersions (Maybe Text)
-- | A list of engine version details. Each element in the list contains
-- detailed information about one engine version.
describeEngineVersionsResponse_engineVersions :: Lens' DescribeEngineVersionsResponse (Maybe [EngineVersionInfo])
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeEngineVersionsResponse_nextToken :: Lens' DescribeEngineVersionsResponse (Maybe Text)
-- | The response's http status code.
describeEngineVersionsResponse_httpStatus :: Lens' DescribeEngineVersionsResponse Int
-- | The number of minutes worth of events to retrieve.
describeEvents_duration :: Lens' DescribeEvents (Maybe Int)
-- | The end of the time interval for which to retrieve events, specified
-- in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
describeEvents_endTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeEvents_maxResults :: Lens' DescribeEvents (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeEvents_nextToken :: Lens' DescribeEvents (Maybe Text)
-- | The identifier of the event source for which events are returned. If
-- not specified, all sources are included in the response.
describeEvents_sourceName :: Lens' DescribeEvents (Maybe Text)
-- | The event source to retrieve events for. If no value is specified, all
-- events are returned.
describeEvents_sourceType :: Lens' DescribeEvents (Maybe SourceType)
-- | The beginning of the time interval to retrieve events for, specified
-- in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
describeEvents_startTime :: Lens' DescribeEvents (Maybe UTCTime)
-- | A list of events. Each element in the list contains detailed
-- information about one event.
describeEventsResponse_events :: Lens' DescribeEventsResponse (Maybe [Event])
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeEventsResponse_nextToken :: Lens' DescribeEventsResponse (Maybe Text)
-- | The response's http status code.
describeEventsResponse_httpStatus :: Lens' DescribeEventsResponse Int
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeParameterGroups_maxResults :: Lens' DescribeParameterGroups (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeParameterGroups_nextToken :: Lens' DescribeParameterGroups (Maybe Text)
-- | The name of a specific parameter group to return details for.
describeParameterGroups_parameterGroupName :: Lens' DescribeParameterGroups (Maybe Text)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeParameterGroupsResponse_nextToken :: Lens' DescribeParameterGroupsResponse (Maybe Text)
-- | A list of parameter groups. Each element in the list contains detailed
-- information about one parameter group.
describeParameterGroupsResponse_parameterGroups :: Lens' DescribeParameterGroupsResponse (Maybe [ParameterGroup])
-- | The response's http status code.
describeParameterGroupsResponse_httpStatus :: Lens' DescribeParameterGroupsResponse Int
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeParameters_maxResults :: Lens' DescribeParameters (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeParameters_nextToken :: Lens' DescribeParameters (Maybe Text)
-- | he name of a specific parameter group to return details for.
describeParameters_parameterGroupName :: Lens' DescribeParameters Text
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeParametersResponse_nextToken :: Lens' DescribeParametersResponse (Maybe Text)
-- | A list of parameters specific to a particular parameter group. Each
-- element in the list contains detailed information about one parameter.
describeParametersResponse_parameters :: Lens' DescribeParametersResponse (Maybe [Parameter])
-- | The response's http status code.
describeParametersResponse_httpStatus :: Lens' DescribeParametersResponse Int
-- | The duration filter value, specified in years or seconds. Use this
-- parameter to show only reservations for this duration.
describeReservedNodes_duration :: Lens' DescribeReservedNodes (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a marker is
-- included in the response so that the remaining results can be
-- retrieved.
describeReservedNodes_maxResults :: Lens' DescribeReservedNodes (Maybe Int)
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
describeReservedNodes_nextToken :: Lens' DescribeReservedNodes (Maybe Text)
-- | The node type filter value. Use this parameter to show only those
-- reservations matching the specified node type. For more information,
-- see Supported node types.
describeReservedNodes_nodeType :: Lens' DescribeReservedNodes (Maybe Text)
-- | The offering type filter value. Use this parameter to show only the
-- available offerings matching the specified offering type. Valid
-- values: "All Upfront"|"Partial Upfront"| "No Upfront"
describeReservedNodes_offeringType :: Lens' DescribeReservedNodes (Maybe Text)
-- | The reserved node identifier filter value. Use this parameter to show
-- only the reservation that matches the specified reservation ID.
describeReservedNodes_reservationId :: Lens' DescribeReservedNodes (Maybe Text)
-- | The offering identifier filter value. Use this parameter to show only
-- purchased reservations matching the specified offering identifier.
describeReservedNodes_reservedNodesOfferingId :: Lens' DescribeReservedNodes (Maybe Text)
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
describeReservedNodesResponse_nextToken :: Lens' DescribeReservedNodesResponse (Maybe Text)
-- | Returns information about reserved nodes for this account, or about a
-- specified reserved node.
describeReservedNodesResponse_reservedNodes :: Lens' DescribeReservedNodesResponse (Maybe [ReservedNode])
-- | The response's http status code.
describeReservedNodesResponse_httpStatus :: Lens' DescribeReservedNodesResponse Int
-- | Duration filter value, specified in years or seconds. Use this
-- parameter to show only reservations for a given duration.
describeReservedNodesOfferings_duration :: Lens' DescribeReservedNodesOfferings (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxRecords value, a marker is
-- included in the response so that the remaining results can be
-- retrieved.
describeReservedNodesOfferings_maxResults :: Lens' DescribeReservedNodesOfferings (Maybe Int)
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
describeReservedNodesOfferings_nextToken :: Lens' DescribeReservedNodesOfferings (Maybe Text)
-- | The node type for the reserved nodes. For more information, see
-- Supported node types.
describeReservedNodesOfferings_nodeType :: Lens' DescribeReservedNodesOfferings (Maybe Text)
-- | The offering type filter value. Use this parameter to show only the
-- available offerings matching the specified offering type. Valid
-- values: "All Upfront"|"Partial Upfront"| "No Upfront"
describeReservedNodesOfferings_offeringType :: Lens' DescribeReservedNodesOfferings (Maybe Text)
-- | The offering identifier filter value. Use this parameter to show only
-- the available offering that matches the specified reservation
-- identifier.
describeReservedNodesOfferings_reservedNodesOfferingId :: Lens' DescribeReservedNodesOfferings (Maybe Text)
-- | An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
describeReservedNodesOfferingsResponse_nextToken :: Lens' DescribeReservedNodesOfferingsResponse (Maybe Text)
-- | Lists available reserved node offerings.
describeReservedNodesOfferingsResponse_reservedNodesOfferings :: Lens' DescribeReservedNodesOfferingsResponse (Maybe [ReservedNodesOffering])
-- | The response's http status code.
describeReservedNodesOfferingsResponse_httpStatus :: Lens' DescribeReservedNodesOfferingsResponse Int
-- | The list of cluster names to identify service updates to apply
describeServiceUpdates_clusterNames :: Lens' DescribeServiceUpdates (Maybe [Text])
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeServiceUpdates_maxResults :: Lens' DescribeServiceUpdates (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeServiceUpdates_nextToken :: Lens' DescribeServiceUpdates (Maybe Text)
-- | The unique ID of the service update to describe.
describeServiceUpdates_serviceUpdateName :: Lens' DescribeServiceUpdates (Maybe Text)
-- | The status(es) of the service updates to filter on
describeServiceUpdates_status :: Lens' DescribeServiceUpdates (Maybe [ServiceUpdateStatus])
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeServiceUpdatesResponse_nextToken :: Lens' DescribeServiceUpdatesResponse (Maybe Text)
-- | A list of service updates
describeServiceUpdatesResponse_serviceUpdates :: Lens' DescribeServiceUpdatesResponse (Maybe [ServiceUpdate])
-- | The response's http status code.
describeServiceUpdatesResponse_httpStatus :: Lens' DescribeServiceUpdatesResponse Int
-- | A user-supplied cluster identifier. If this parameter is specified,
-- only snapshots associated with that specific cluster are described.
describeSnapshots_clusterName :: Lens' DescribeSnapshots (Maybe Text)
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeSnapshots_maxResults :: Lens' DescribeSnapshots (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeSnapshots_nextToken :: Lens' DescribeSnapshots (Maybe Text)
-- | A Boolean value which if true, the shard configuration is included in
-- the snapshot description.
describeSnapshots_showDetail :: Lens' DescribeSnapshots (Maybe Bool)
-- | A user-supplied name of the snapshot. If this parameter is specified,
-- only this named snapshot is described.
describeSnapshots_snapshotName :: Lens' DescribeSnapshots (Maybe Text)
-- | If set to system, the output shows snapshots that were automatically
-- created by MemoryDB. If set to user the output shows snapshots that
-- were manually created. If omitted, the output shows both automatically
-- and manually created snapshots.
describeSnapshots_source :: Lens' DescribeSnapshots (Maybe Text)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeSnapshotsResponse_nextToken :: Lens' DescribeSnapshotsResponse (Maybe Text)
-- | A list of snapshots. Each item in the list contains detailed
-- information about one snapshot.
describeSnapshotsResponse_snapshots :: Lens' DescribeSnapshotsResponse (Maybe [Snapshot])
-- | The response's http status code.
describeSnapshotsResponse_httpStatus :: Lens' DescribeSnapshotsResponse Int
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeSubnetGroups_maxResults :: Lens' DescribeSubnetGroups (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeSubnetGroups_nextToken :: Lens' DescribeSubnetGroups (Maybe Text)
-- | The name of the subnet group to return details for.
describeSubnetGroups_subnetGroupName :: Lens' DescribeSubnetGroups (Maybe Text)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeSubnetGroupsResponse_nextToken :: Lens' DescribeSubnetGroupsResponse (Maybe Text)
-- | A list of subnet groups. Each element in the list contains detailed
-- information about one group.
describeSubnetGroupsResponse_subnetGroups :: Lens' DescribeSubnetGroupsResponse (Maybe [SubnetGroup])
-- | The response's http status code.
describeSubnetGroupsResponse_httpStatus :: Lens' DescribeSubnetGroupsResponse Int
-- | Filter to determine the list of users to return.
describeUsers_filters :: Lens' DescribeUsers (Maybe [Filter])
-- | The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
describeUsers_maxResults :: Lens' DescribeUsers (Maybe Int)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeUsers_nextToken :: Lens' DescribeUsers (Maybe Text)
-- | The name of the user
describeUsers_userName :: Lens' DescribeUsers (Maybe Text)
-- | An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
describeUsersResponse_nextToken :: Lens' DescribeUsersResponse (Maybe Text)
-- | A list of users.
describeUsersResponse_users :: Lens' DescribeUsersResponse (Maybe [User])
-- | The response's http status code.
describeUsersResponse_httpStatus :: Lens' DescribeUsersResponse Int
-- | The cluster being failed over
failoverShard_clusterName :: Lens' FailoverShard Text
-- | The name of the shard
failoverShard_shardName :: Lens' FailoverShard Text
-- | The cluster being failed over
failoverShardResponse_cluster :: Lens' FailoverShardResponse (Maybe Cluster)
-- | The response's http status code.
failoverShardResponse_httpStatus :: Lens' FailoverShardResponse Int
-- | The name of the cluster you want to scale. MemoryDB uses the cluster
-- name to identify the current node type being used by this cluster, and
-- from that to create a list of node types you can scale up to.
listAllowedNodeTypeUpdates_clusterName :: Lens' ListAllowedNodeTypeUpdates Text
-- | A list node types which you can use to scale down your cluster.
listAllowedNodeTypeUpdatesResponse_scaleDownNodeTypes :: Lens' ListAllowedNodeTypeUpdatesResponse (Maybe [Text])
-- | A list node types which you can use to scale up your cluster.
listAllowedNodeTypeUpdatesResponse_scaleUpNodeTypes :: Lens' ListAllowedNodeTypeUpdatesResponse (Maybe [Text])
-- | The response's http status code.
listAllowedNodeTypeUpdatesResponse_httpStatus :: Lens' ListAllowedNodeTypeUpdatesResponse Int
-- | The Amazon Resource Name (ARN) of the resource for which you want the
-- list of tags
listTags_resourceArn :: Lens' ListTags Text
-- | A list of tags as key-value pairs.
listTagsResponse_tagList :: Lens' ListTagsResponse (Maybe [Tag])
-- | The response's http status code.
listTagsResponse_httpStatus :: Lens' ListTagsResponse Int
-- | The number of node instances to reserve.
purchaseReservedNodesOffering_nodeCount :: Lens' PurchaseReservedNodesOffering (Maybe Int)
-- | A customer-specified identifier to track this reservation.
purchaseReservedNodesOffering_reservationId :: Lens' PurchaseReservedNodesOffering (Maybe Text)
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
purchaseReservedNodesOffering_tags :: Lens' PurchaseReservedNodesOffering (Maybe [Tag])
-- | The ID of the reserved node offering to purchase.
purchaseReservedNodesOffering_reservedNodesOfferingId :: Lens' PurchaseReservedNodesOffering Text
-- | Represents the output of a PurchaseReservedNodesOffering
-- operation.
purchaseReservedNodesOfferingResponse_reservedNode :: Lens' PurchaseReservedNodesOfferingResponse (Maybe ReservedNode)
-- | The response's http status code.
purchaseReservedNodesOfferingResponse_httpStatus :: Lens' PurchaseReservedNodesOfferingResponse Int
-- | If true, all parameters in the parameter group are reset to their
-- default values. If false, only the parameters listed by ParameterNames
-- are reset to their default values.
resetParameterGroup_allParameters :: Lens' ResetParameterGroup (Maybe Bool)
-- | An array of parameter names to reset to their default values. If
-- AllParameters is true, do not use ParameterNames. If AllParameters is
-- false, you must specify the name of at least one parameter to reset.
resetParameterGroup_parameterNames :: Lens' ResetParameterGroup (Maybe [Text])
-- | The name of the parameter group to reset.
resetParameterGroup_parameterGroupName :: Lens' ResetParameterGroup Text
-- | The parameter group being reset.
resetParameterGroupResponse_parameterGroup :: Lens' ResetParameterGroupResponse (Maybe ParameterGroup)
-- | The response's http status code.
resetParameterGroupResponse_httpStatus :: Lens' ResetParameterGroupResponse Int
-- | The Amazon Resource Name (ARN) of the resource to which the tags are
-- to be added
tagResource_resourceArn :: Lens' TagResource Text
-- | A list of tags to be added to this resource. A tag is a key-value
-- pair. A tag key must be accompanied by a tag value, although null is
-- accepted.
tagResource_tags :: Lens' TagResource [Tag]
-- | A list of tags as key-value pairs.
tagResourceResponse_tagList :: Lens' TagResourceResponse (Maybe [Tag])
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
-- | The Amazon Resource Name (ARN) of the resource to which the tags are
-- to be removed
untagResource_resourceArn :: Lens' UntagResource Text
-- | The list of keys of the tags that are to be removed
untagResource_tagKeys :: Lens' UntagResource [Text]
-- | The list of tags removed
untagResourceResponse_tagList :: Lens' UntagResourceResponse (Maybe [Tag])
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
-- | The list of users to add to the Access Control List
updateACL_userNamesToAdd :: Lens' UpdateACL (Maybe (NonEmpty Text))
-- | The list of users to remove from the Access Control List
updateACL_userNamesToRemove :: Lens' UpdateACL (Maybe (NonEmpty Text))
-- | The name of the Access Control List
updateACL_aCLName :: Lens' UpdateACL Text
-- | The updated Access Control List
updateACLResponse_acl :: Lens' UpdateACLResponse (Maybe ACL)
-- | The response's http status code.
updateACLResponse_httpStatus :: Lens' UpdateACLResponse Int
-- | The Access Control List that is associated with the cluster
updateCluster_aCLName :: Lens' UpdateCluster (Maybe Text)
-- | The description of the cluster to update
updateCluster_description :: Lens' UpdateCluster (Maybe Text)
-- | The upgraded version of the engine to be run on the nodes. You can
-- upgrade to a newer engine version, but you cannot downgrade to an
-- earlier engine version. If you want to use an earlier engine version,
-- you must delete the existing cluster and create it anew with the
-- earlier engine version.
updateCluster_engineVersion :: Lens' UpdateCluster (Maybe Text)
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
--
-- Valid values for ddd are:
--
--
-- sun
-- mon
-- tue
-- wed
-- thu
-- fri
-- sat
--
--
-- Example: sun:23:00-mon:01:30
updateCluster_maintenanceWindow :: Lens' UpdateCluster (Maybe Text)
-- | A valid node type that you want to scale this cluster up or down to.
updateCluster_nodeType :: Lens' UpdateCluster (Maybe Text)
-- | The name of the parameter group to update
updateCluster_parameterGroupName :: Lens' UpdateCluster (Maybe Text)
-- | The number of replicas that will reside in each shard
updateCluster_replicaConfiguration :: Lens' UpdateCluster (Maybe ReplicaConfigurationRequest)
-- | The SecurityGroupIds to update
updateCluster_securityGroupIds :: Lens' UpdateCluster (Maybe [Text])
-- | The number of shards in the cluster
updateCluster_shardConfiguration :: Lens' UpdateCluster (Maybe ShardConfigurationRequest)
-- | The number of days for which MemoryDB retains automatic cluster
-- snapshots before deleting them. For example, if you set
-- SnapshotRetentionLimit to 5, a snapshot that was taken today is
-- retained for 5 days before being deleted.
updateCluster_snapshotRetentionLimit :: Lens' UpdateCluster (Maybe Int)
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your cluster.
updateCluster_snapshotWindow :: Lens' UpdateCluster (Maybe Text)
-- | The SNS topic ARN to update
updateCluster_snsTopicArn :: Lens' UpdateCluster (Maybe Text)
-- | The status of the Amazon SNS notification topic. Notifications are
-- sent only if the status is active.
updateCluster_snsTopicStatus :: Lens' UpdateCluster (Maybe Text)
-- | The name of the cluster to update
updateCluster_clusterName :: Lens' UpdateCluster Text
-- | The updated cluster
updateClusterResponse_cluster :: Lens' UpdateClusterResponse (Maybe Cluster)
-- | The response's http status code.
updateClusterResponse_httpStatus :: Lens' UpdateClusterResponse Int
-- | The name of the parameter group to update.
updateParameterGroup_parameterGroupName :: Lens' UpdateParameterGroup Text
-- | An array of parameter names and values for the parameter update. You
-- must supply at least one parameter name and value; subsequent
-- arguments are optional. A maximum of 20 parameters may be updated per
-- request.
updateParameterGroup_parameterNameValues :: Lens' UpdateParameterGroup [ParameterNameValue]
-- | The updated parameter group
updateParameterGroupResponse_parameterGroup :: Lens' UpdateParameterGroupResponse (Maybe ParameterGroup)
-- | The response's http status code.
updateParameterGroupResponse_httpStatus :: Lens' UpdateParameterGroupResponse Int
-- | A description of the subnet group
updateSubnetGroup_description :: Lens' UpdateSubnetGroup (Maybe Text)
-- | The EC2 subnet IDs for the subnet group.
updateSubnetGroup_subnetIds :: Lens' UpdateSubnetGroup (Maybe [Text])
-- | The name of the subnet group
updateSubnetGroup_subnetGroupName :: Lens' UpdateSubnetGroup Text
-- | The updated subnet group
updateSubnetGroupResponse_subnetGroup :: Lens' UpdateSubnetGroupResponse (Maybe SubnetGroup)
-- | The response's http status code.
updateSubnetGroupResponse_httpStatus :: Lens' UpdateSubnetGroupResponse Int
-- | Access permissions string used for this user.
updateUser_accessString :: Lens' UpdateUser (Maybe Text)
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate.
updateUser_authenticationMode :: Lens' UpdateUser (Maybe AuthenticationMode)
-- | The name of the user
updateUser_userName :: Lens' UpdateUser Text
-- | The updated user
updateUserResponse_user :: Lens' UpdateUserResponse (Maybe User)
-- | The response's http status code.
updateUserResponse_httpStatus :: Lens' UpdateUserResponse Int
-- | The Amazon Resource Name (ARN) of the ACL
acl_arn :: Lens' ACL (Maybe Text)
-- | A list of clusters associated with the ACL.
acl_clusters :: Lens' ACL (Maybe [Text])
-- | The minimum engine version supported for the ACL
acl_minimumEngineVersion :: Lens' ACL (Maybe Text)
-- | The name of the Access Control List
acl_name :: Lens' ACL (Maybe Text)
-- | A list of updates being applied to the ACL.
acl_pendingChanges :: Lens' ACL (Maybe ACLPendingChanges)
-- | Indicates ACL status. Can be "creating", "active", "modifying",
-- "deleting".
acl_status :: Lens' ACL (Maybe Text)
-- | The list of user names that belong to the ACL.
acl_userNames :: Lens' ACL (Maybe [Text])
-- | A list of users being added to the ACL
aCLPendingChanges_userNamesToAdd :: Lens' ACLPendingChanges (Maybe [Text])
-- | A list of user names being removed from the ACL
aCLPendingChanges_userNamesToRemove :: Lens' ACLPendingChanges (Maybe [Text])
-- | A list of ACLs pending to be applied.
aCLsUpdateStatus_aCLToApply :: Lens' ACLsUpdateStatus (Maybe Text)
-- | The number of passwords belonging to the user. The maximum is two.
authentication_passwordCount :: Lens' Authentication (Maybe Int)
-- | Indicates whether the user requires a password to authenticate.
authentication_type :: Lens' Authentication (Maybe AuthenticationType)
-- | The password(s) used for authentication
authenticationMode_passwords :: Lens' AuthenticationMode (Maybe (NonEmpty Text))
-- | Indicates whether the user requires a password to authenticate. All
-- newly-created users require a password.
authenticationMode_type :: Lens' AuthenticationMode (Maybe InputAuthenticationType)
-- | The name of the Availability Zone.
availabilityZone_name :: Lens' AvailabilityZone (Maybe Text)
-- | The name of the Access Control List associated with this cluster.
cluster_aCLName :: Lens' Cluster (Maybe Text)
-- | The Amazon Resource Name (ARN) of the cluster.
cluster_arn :: Lens' Cluster (Maybe Text)
-- | When set to true, the cluster will automatically receive minor engine
-- version upgrades after launch.
cluster_autoMinorVersionUpgrade :: Lens' Cluster (Maybe Bool)
-- | Indicates if the cluster has a Multi-AZ configuration (multiaz) or not
-- (singleaz).
cluster_availabilityMode :: Lens' Cluster (Maybe AZStatus)
-- | The cluster's configuration endpoint
cluster_clusterEndpoint :: Lens' Cluster (Maybe Endpoint)
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
cluster_dataTiering :: Lens' Cluster (Maybe DataTieringStatus)
-- | A description of the cluster
cluster_description :: Lens' Cluster (Maybe Text)
-- | The Redis engine patch version used by the cluster
cluster_enginePatchVersion :: Lens' Cluster (Maybe Text)
-- | The Redis engine version used by the cluster
cluster_engineVersion :: Lens' Cluster (Maybe Text)
-- | The ID of the KMS key used to encrypt the cluster
cluster_kmsKeyId :: Lens' Cluster (Maybe Text)
-- | Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
cluster_maintenanceWindow :: Lens' Cluster (Maybe Text)
-- | The user-supplied name of the cluster. This identifier is a unique key
-- that identifies a cluster.
cluster_name :: Lens' Cluster (Maybe Text)
-- | The cluster's node type
cluster_nodeType :: Lens' Cluster (Maybe Text)
-- | The number of shards in the cluster
cluster_numberOfShards :: Lens' Cluster (Maybe Int)
-- | The name of the parameter group used by the cluster
cluster_parameterGroupName :: Lens' Cluster (Maybe Text)
-- | The status of the parameter group used by the cluster, for example
-- 'active' or 'applying'.
cluster_parameterGroupStatus :: Lens' Cluster (Maybe Text)
-- | A group of settings that are currently being applied.
cluster_pendingUpdates :: Lens' Cluster (Maybe ClusterPendingUpdates)
-- | A list of security groups used by the cluster
cluster_securityGroups :: Lens' Cluster (Maybe [SecurityGroupMembership])
-- | A list of shards that are members of the cluster.
cluster_shards :: Lens' Cluster (Maybe [Shard])
-- | The number of days for which MemoryDB retains automatic snapshots
-- before deleting them. For example, if you set SnapshotRetentionLimit
-- to 5, a snapshot that was taken today is retained for 5 days before
-- being deleted.
cluster_snapshotRetentionLimit :: Lens' Cluster (Maybe Int)
-- | The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard. Example: 05:00-09:00 If you do not
-- specify this parameter, MemoryDB automatically chooses an appropriate
-- time range.
cluster_snapshotWindow :: Lens' Cluster (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SNS notification topic
cluster_snsTopicArn :: Lens' Cluster (Maybe Text)
-- | The SNS topic must be in Active status to receive notifications
cluster_snsTopicStatus :: Lens' Cluster (Maybe Text)
-- | The status of the cluster. For example, Available, Updating, Creating.
cluster_status :: Lens' Cluster (Maybe Text)
-- | The name of the subnet group used by the cluster
cluster_subnetGroupName :: Lens' Cluster (Maybe Text)
-- | A flag to indicate if In-transit encryption is enabled
cluster_tLSEnabled :: Lens' Cluster (Maybe Bool)
-- | The description of the cluster configuration
clusterConfiguration_description :: Lens' ClusterConfiguration (Maybe Text)
-- | The Redis engine version used by the cluster
clusterConfiguration_engineVersion :: Lens' ClusterConfiguration (Maybe Text)
-- | The specified maintenance window for the cluster
clusterConfiguration_maintenanceWindow :: Lens' ClusterConfiguration (Maybe Text)
-- | The name of the cluster
clusterConfiguration_name :: Lens' ClusterConfiguration (Maybe Text)
-- | The node type used for the cluster
clusterConfiguration_nodeType :: Lens' ClusterConfiguration (Maybe Text)
-- | The number of shards in the cluster
clusterConfiguration_numShards :: Lens' ClusterConfiguration (Maybe Int)
-- | The name of parameter group used by the cluster
clusterConfiguration_parameterGroupName :: Lens' ClusterConfiguration (Maybe Text)
-- | The port used by the cluster
clusterConfiguration_port :: Lens' ClusterConfiguration (Maybe Int)
-- | The list of shards in the cluster
clusterConfiguration_shards :: Lens' ClusterConfiguration (Maybe [ShardDetail])
-- | The snapshot retention limit set by the cluster
clusterConfiguration_snapshotRetentionLimit :: Lens' ClusterConfiguration (Maybe Int)
-- | The snapshot window set by the cluster
clusterConfiguration_snapshotWindow :: Lens' ClusterConfiguration (Maybe Text)
-- | The name of the subnet group used by the cluster
clusterConfiguration_subnetGroupName :: Lens' ClusterConfiguration (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SNS notification topic for the
-- cluster
clusterConfiguration_topicArn :: Lens' ClusterConfiguration (Maybe Text)
-- | The ID of the VPC the cluster belongs to
clusterConfiguration_vpcId :: Lens' ClusterConfiguration (Maybe Text)
-- | A list of ACLs associated with the cluster that are being updated
clusterPendingUpdates_aCLs :: Lens' ClusterPendingUpdates (Maybe ACLsUpdateStatus)
-- | The status of an online resharding operation.
clusterPendingUpdates_resharding :: Lens' ClusterPendingUpdates (Maybe ReshardingStatus)
-- | A list of service updates being applied to the cluster
clusterPendingUpdates_serviceUpdates :: Lens' ClusterPendingUpdates (Maybe [PendingModifiedServiceUpdate])
-- | The DNS hostname of the node.
endpoint_address :: Lens' Endpoint (Maybe Text)
-- | The port number that the engine is listening on.
endpoint_port :: Lens' Endpoint (Maybe Int)
-- | The patched engine version
engineVersionInfo_enginePatchVersion :: Lens' EngineVersionInfo (Maybe Text)
-- | The engine version
engineVersionInfo_engineVersion :: Lens' EngineVersionInfo (Maybe Text)
-- | Specifies the name of the parameter group family to which the engine
-- default parameters apply.
engineVersionInfo_parameterGroupFamily :: Lens' EngineVersionInfo (Maybe Text)
-- | The date and time when the event occurred.
event_date :: Lens' Event (Maybe UTCTime)
-- | The text of the event.
event_message :: Lens' Event (Maybe Text)
-- | The name for the source of the event. For example, if the event
-- occurred at the cluster level, the identifier would be the name of the
-- cluster.
event_sourceName :: Lens' Event (Maybe Text)
-- | Specifies the origin of this event - a cluster, a parameter group, a
-- security group, etc.
event_sourceType :: Lens' Event (Maybe SourceType)
-- | The property being filtered. For example, UserName.
filter_name :: Lens' Filter Text
-- | The property values to filter on. For example, "user-123".
filter_values :: Lens' Filter (NonEmpty Text)
-- | The Availability Zone in which the node resides
node_availabilityZone :: Lens' Node (Maybe Text)
-- | The date and time when the node was created.
node_createTime :: Lens' Node (Maybe UTCTime)
-- | The hostname for connecting to this node.
node_endpoint :: Lens' Node (Maybe Endpoint)
-- | The node identifier. A node name is a numeric identifier (0001, 0002,
-- etc.). The combination of cluster name, shard name and node name
-- uniquely identifies every node used in a customer's Amazon account.
node_name :: Lens' Node (Maybe Text)
-- | The status of the service update on the node
node_status :: Lens' Node (Maybe Text)
-- | The valid range of values for the parameter.
parameter_allowedValues :: Lens' Parameter (Maybe Text)
-- | The parameter's data type
parameter_dataType :: Lens' Parameter (Maybe Text)
-- | A description of the parameter
parameter_description :: Lens' Parameter (Maybe Text)
-- | The earliest engine version to which the parameter can apply.
parameter_minimumEngineVersion :: Lens' Parameter (Maybe Text)
-- | The name of the parameter
parameter_name :: Lens' Parameter (Maybe Text)
-- | The value of the parameter
parameter_value :: Lens' Parameter (Maybe Text)
-- | The Amazon Resource Name (ARN) of the parameter group
parameterGroup_arn :: Lens' ParameterGroup (Maybe Text)
-- | A description of the parameter group
parameterGroup_description :: Lens' ParameterGroup (Maybe Text)
-- | The name of the parameter group family that this parameter group is
-- compatible with.
parameterGroup_family :: Lens' ParameterGroup (Maybe Text)
-- | The name of the parameter group
parameterGroup_name :: Lens' ParameterGroup (Maybe Text)
-- | The name of the parameter
parameterNameValue_parameterName :: Lens' ParameterNameValue (Maybe Text)
-- | The value of the parameter
parameterNameValue_parameterValue :: Lens' ParameterNameValue (Maybe Text)
-- | The unique ID of the service update
pendingModifiedServiceUpdate_serviceUpdateName :: Lens' PendingModifiedServiceUpdate (Maybe Text)
-- | The status of the service update
pendingModifiedServiceUpdate_status :: Lens' PendingModifiedServiceUpdate (Maybe ServiceUpdateStatus)
-- | The amount of the recurring charge to run this reserved node.
recurringCharge_recurringChargeAmount :: Lens' RecurringCharge (Maybe Double)
-- | The frequency of the recurring price charged to run this reserved
-- node.
recurringCharge_recurringChargeFrequency :: Lens' RecurringCharge (Maybe Text)
-- | The number of replicas to scale up or down to
replicaConfigurationRequest_replicaCount :: Lens' ReplicaConfigurationRequest (Maybe Int)
-- | The Amazon Resource Name (ARN) of the reserved node.
reservedNode_arn :: Lens' ReservedNode (Maybe Text)
-- | The duration of the reservation in seconds.
reservedNode_duration :: Lens' ReservedNode (Maybe Int)
-- | The fixed price charged for this reserved node.
reservedNode_fixedPrice :: Lens' ReservedNode (Maybe Double)
-- | The number of nodes that have been reserved.
reservedNode_nodeCount :: Lens' ReservedNode (Maybe Int)
-- | The node type for the reserved nodes.
reservedNode_nodeType :: Lens' ReservedNode (Maybe Text)
-- | The offering type of this reserved node.
reservedNode_offeringType :: Lens' ReservedNode (Maybe Text)
-- | The recurring price charged to run this reserved node.
reservedNode_recurringCharges :: Lens' ReservedNode (Maybe [RecurringCharge])
-- | A customer-specified identifier to track this reservation.
reservedNode_reservationId :: Lens' ReservedNode (Maybe Text)
-- | The ID of the reserved node offering to purchase.
reservedNode_reservedNodesOfferingId :: Lens' ReservedNode (Maybe Text)
-- | The time the reservation started.
reservedNode_startTime :: Lens' ReservedNode (Maybe UTCTime)
-- | The state of the reserved node.
reservedNode_state :: Lens' ReservedNode (Maybe Text)
-- | The duration of the reservation in seconds.
reservedNodesOffering_duration :: Lens' ReservedNodesOffering (Maybe Int)
-- | The fixed price charged for this reserved node.
reservedNodesOffering_fixedPrice :: Lens' ReservedNodesOffering (Maybe Double)
-- | The node type for the reserved nodes. For more information, see
-- Supported node types.
reservedNodesOffering_nodeType :: Lens' ReservedNodesOffering (Maybe Text)
-- | The offering type of this reserved node.
reservedNodesOffering_offeringType :: Lens' ReservedNodesOffering (Maybe Text)
-- | The recurring price charged to run this reserved node.
reservedNodesOffering_recurringCharges :: Lens' ReservedNodesOffering (Maybe [RecurringCharge])
-- | The offering identifier.
reservedNodesOffering_reservedNodesOfferingId :: Lens' ReservedNodesOffering (Maybe Text)
-- | The status of the online resharding slot migration
reshardingStatus_slotMigration :: Lens' ReshardingStatus (Maybe SlotMigration)
-- | The identifier of the security group.
securityGroupMembership_securityGroupId :: Lens' SecurityGroupMembership (Maybe Text)
-- | The status of the security group membership. The status changes
-- whenever a security group is modified, or when the security groups
-- assigned to a cluster are modified.
securityGroupMembership_status :: Lens' SecurityGroupMembership (Maybe Text)
-- | The date at which the service update will be automatically applied
serviceUpdate_autoUpdateStartDate :: Lens' ServiceUpdate (Maybe UTCTime)
-- | The name of the cluster to which the service update applies
serviceUpdate_clusterName :: Lens' ServiceUpdate (Maybe Text)
-- | Provides details of the service update
serviceUpdate_description :: Lens' ServiceUpdate (Maybe Text)
-- | A list of nodes updated by the service update
serviceUpdate_nodesUpdated :: Lens' ServiceUpdate (Maybe Text)
-- | The date when the service update is initially available
serviceUpdate_releaseDate :: Lens' ServiceUpdate (Maybe UTCTime)
-- | The unique ID of the service update
serviceUpdate_serviceUpdateName :: Lens' ServiceUpdate (Maybe Text)
-- | The status of the service update
serviceUpdate_status :: Lens' ServiceUpdate (Maybe ServiceUpdateStatus)
-- | Reflects the nature of the service update
serviceUpdate_type :: Lens' ServiceUpdate (Maybe ServiceUpdateType)
-- | The unique ID of the service update
serviceUpdateRequest_serviceUpdateNameToApply :: Lens' ServiceUpdateRequest (Maybe Text)
-- | The name of the shard
shard_name :: Lens' Shard (Maybe Text)
-- | A list containing information about individual nodes within the shard
shard_nodes :: Lens' Shard (Maybe [Node])
-- | The number of nodes in the shard
shard_numberOfNodes :: Lens' Shard (Maybe Int)
-- | The keyspace for this shard.
shard_slots :: Lens' Shard (Maybe Text)
-- | The current state of this replication group - creating, available,
-- modifying, deleting.
shard_status :: Lens' Shard (Maybe Text)
-- | The number of read replica nodes in this shard.
shardConfiguration_replicaCount :: Lens' ShardConfiguration (Maybe Int)
-- | A string that specifies the keyspace for a particular node group.
-- Keyspaces range from 0 to 16,383. The string is in the format
-- startkey-endkey.
shardConfiguration_slots :: Lens' ShardConfiguration (Maybe Text)
-- | The number of shards in the cluster
shardConfigurationRequest_shardCount :: Lens' ShardConfigurationRequest (Maybe Int)
-- | The configuration details of the shard
shardDetail_configuration :: Lens' ShardDetail (Maybe ShardConfiguration)
-- | The name of the shard
shardDetail_name :: Lens' ShardDetail (Maybe Text)
-- | The size of the shard's snapshot
shardDetail_size :: Lens' ShardDetail (Maybe Text)
-- | The date and time that the shard's snapshot was created
shardDetail_snapshotCreationTime :: Lens' ShardDetail (Maybe UTCTime)
-- | The percentage of the slot migration that is complete.
slotMigration_progressPercentage :: Lens' SlotMigration (Maybe Double)
-- | The ARN (Amazon Resource Name) of the snapshot.
snapshot_arn :: Lens' Snapshot (Maybe Text)
-- | The configuration of the cluster from which the snapshot was taken
snapshot_clusterConfiguration :: Lens' Snapshot (Maybe ClusterConfiguration)
-- | Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
snapshot_dataTiering :: Lens' Snapshot (Maybe DataTieringStatus)
-- | The ID of the KMS key used to encrypt the snapshot.
snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text)
-- | The name of the snapshot
snapshot_name :: Lens' Snapshot (Maybe Text)
-- | Indicates whether the snapshot is from an automatic backup (automated)
-- or was created manually (manual).
snapshot_source :: Lens' Snapshot (Maybe Text)
-- | The status of the snapshot. Valid values: creating | available |
-- restoring | copying | deleting.
snapshot_status :: Lens' Snapshot (Maybe Text)
-- | The Availability Zone where the subnet resides
subnet_availabilityZone :: Lens' Subnet (Maybe AvailabilityZone)
-- | The unique identifier for the subnet.
subnet_identifier :: Lens' Subnet (Maybe Text)
-- | The ARN (Amazon Resource Name) of the subnet group.
subnetGroup_arn :: Lens' SubnetGroup (Maybe Text)
-- | A description of the subnet group
subnetGroup_description :: Lens' SubnetGroup (Maybe Text)
-- | The name of the subnet group
subnetGroup_name :: Lens' SubnetGroup (Maybe Text)
-- | A list of subnets associated with the subnet group.
subnetGroup_subnets :: Lens' SubnetGroup (Maybe [Subnet])
-- | The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet
-- group.
subnetGroup_vpcId :: Lens' SubnetGroup (Maybe Text)
-- | The key for the tag. May not be null.
tag_key :: Lens' Tag (Maybe Text)
-- | The tag's value. May be null.
tag_value :: Lens' Tag (Maybe Text)
-- | The name of the cluster
unprocessedCluster_clusterName :: Lens' UnprocessedCluster (Maybe Text)
-- | The error message associated with the update failure
unprocessedCluster_errorMessage :: Lens' UnprocessedCluster (Maybe Text)
-- | The error type associated with the update failure
unprocessedCluster_errorType :: Lens' UnprocessedCluster (Maybe Text)
-- | The names of the Access Control Lists to which the user belongs
user_aCLNames :: Lens' User (Maybe [Text])
-- | The Amazon Resource Name (ARN) of the user.
user_arn :: Lens' User (Maybe Text)
-- | Access permissions string used for this user.
user_accessString :: Lens' User (Maybe Text)
-- | Denotes whether the user requires a password to authenticate.
user_authentication :: Lens' User (Maybe Authentication)
-- | The minimum engine version supported for the user
user_minimumEngineVersion :: Lens' User (Maybe Text)
-- | The name of the user
user_name :: Lens' User (Maybe Text)
-- | Indicates the user status. Can be "active", "modifying" or "deleting".
user_status :: Lens' User (Maybe Text)
module Amazonka.MemoryDb.Waiters
-- | Derived from API version 2021-01-01 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- MemoryDB for Redis is a fully managed, Redis-compatible, in-memory
-- database that delivers ultra-fast performance and Multi-AZ durability
-- for modern applications built using microservices architectures.
-- MemoryDB stores the entire database in-memory, enabling low latency
-- and high throughput data access. It is compatible with Redis, a
-- popular open source data store, enabling you to leverage Redis’
-- flexible and friendly data structures, APIs, and commands.
module Amazonka.MemoryDb
-- | API version 2021-01-01 of the Amazon MemoryDB SDK
-- configuration.
defaultService :: Service
_ACLAlreadyExistsFault :: AsError a => Fold a ServiceError
_ACLNotFoundFault :: AsError a => Fold a ServiceError
_ACLQuotaExceededFault :: AsError a => Fold a ServiceError
_APICallRateForCustomerExceededFault :: AsError a => Fold a ServiceError
_ClusterAlreadyExistsFault :: AsError a => Fold a ServiceError
_ClusterNotFoundFault :: AsError a => Fold a ServiceError
_ClusterQuotaForCustomerExceededFault :: AsError a => Fold a ServiceError
_DefaultUserRequired :: AsError a => Fold a ServiceError
_DuplicateUserNameFault :: AsError a => Fold a ServiceError
_InsufficientClusterCapacityFault :: AsError a => Fold a ServiceError
_InvalidACLStateFault :: AsError a => Fold a ServiceError
_InvalidARNFault :: AsError a => Fold a ServiceError
_InvalidClusterStateFault :: AsError a => Fold a ServiceError
_InvalidCredentialsException :: AsError a => Fold a ServiceError
_InvalidKMSKeyFault :: AsError a => Fold a ServiceError
_InvalidNodeStateFault :: AsError a => Fold a ServiceError
_InvalidParameterCombinationException :: AsError a => Fold a ServiceError
_InvalidParameterGroupStateFault :: AsError a => Fold a ServiceError
_InvalidParameterValueException :: AsError a => Fold a ServiceError
_InvalidSnapshotStateFault :: AsError a => Fold a ServiceError
_InvalidSubnet :: AsError a => Fold a ServiceError
_InvalidUserStateFault :: AsError a => Fold a ServiceError
_InvalidVPCNetworkStateFault :: AsError a => Fold a ServiceError
_NoOperationFault :: AsError a => Fold a ServiceError
_NodeQuotaForClusterExceededFault :: AsError a => Fold a ServiceError
_NodeQuotaForCustomerExceededFault :: AsError a => Fold a ServiceError
_ParameterGroupAlreadyExistsFault :: AsError a => Fold a ServiceError
_ParameterGroupNotFoundFault :: AsError a => Fold a ServiceError
_ParameterGroupQuotaExceededFault :: AsError a => Fold a ServiceError
-- | You already have a reservation with the given identifier.
_ReservedNodeAlreadyExistsFault :: AsError a => Fold a ServiceError
-- | The requested node does not exist.
_ReservedNodeNotFoundFault :: AsError a => Fold a ServiceError
-- | The request cannot be processed because it would exceed the user's
-- node quota.
_ReservedNodeQuotaExceededFault :: AsError a => Fold a ServiceError
-- | The requested node offering does not exist.
_ReservedNodesOfferingNotFoundFault :: AsError a => Fold a ServiceError
_ServiceLinkedRoleNotFoundFault :: AsError a => Fold a ServiceError
_ServiceUpdateNotFoundFault :: AsError a => Fold a ServiceError
_ShardNotFoundFault :: AsError a => Fold a ServiceError
_ShardsPerClusterQuotaExceededFault :: AsError a => Fold a ServiceError
_SnapshotAlreadyExistsFault :: AsError a => Fold a ServiceError
_SnapshotNotFoundFault :: AsError a => Fold a ServiceError
_SnapshotQuotaExceededFault :: AsError a => Fold a ServiceError
_SubnetGroupAlreadyExistsFault :: AsError a => Fold a ServiceError
_SubnetGroupInUseFault :: AsError a => Fold a ServiceError
_SubnetGroupNotFoundFault :: AsError a => Fold a ServiceError
_SubnetGroupQuotaExceededFault :: AsError a => Fold a ServiceError
_SubnetInUse :: AsError a => Fold a ServiceError
_SubnetNotAllowedFault :: AsError a => Fold a ServiceError
_SubnetQuotaExceededFault :: AsError a => Fold a ServiceError
_TagNotFoundFault :: AsError a => Fold a ServiceError
_TagQuotaPerResourceExceeded :: AsError a => Fold a ServiceError
_TestFailoverNotAvailableFault :: AsError a => Fold a ServiceError
_UserAlreadyExistsFault :: AsError a => Fold a ServiceError
_UserNotFoundFault :: AsError a => Fold a ServiceError
_UserQuotaExceededFault :: AsError a => Fold a ServiceError
-- | See: newBatchUpdateCluster smart constructor.
data BatchUpdateCluster
BatchUpdateCluster' :: Maybe ServiceUpdateRequest -> [Text] -> BatchUpdateCluster
-- | Create a value of BatchUpdateCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceUpdate:BatchUpdateCluster',
-- batchUpdateCluster_serviceUpdate - The unique ID of the service
-- update
--
-- $sel:clusterNames:BatchUpdateCluster',
-- batchUpdateCluster_clusterNames - The cluster names to apply
-- the updates.
newBatchUpdateCluster :: BatchUpdateCluster
-- | See: newBatchUpdateClusterResponse smart constructor.
data BatchUpdateClusterResponse
BatchUpdateClusterResponse' :: Maybe [Cluster] -> Maybe [UnprocessedCluster] -> Int -> BatchUpdateClusterResponse
-- | Create a value of BatchUpdateClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:processedClusters:BatchUpdateClusterResponse',
-- batchUpdateClusterResponse_processedClusters - The list of
-- clusters that have been updated.
--
-- $sel:unprocessedClusters:BatchUpdateClusterResponse',
-- batchUpdateClusterResponse_unprocessedClusters - The list of
-- clusters where updates have not been applied.
--
-- $sel:httpStatus:BatchUpdateClusterResponse',
-- batchUpdateClusterResponse_httpStatus - The response's http
-- status code.
newBatchUpdateClusterResponse :: Int -> BatchUpdateClusterResponse
-- | See: newCopySnapshot smart constructor.
data CopySnapshot
CopySnapshot' :: Maybe Text -> Maybe [Tag] -> Maybe Text -> Text -> Text -> CopySnapshot
-- | Create a value of CopySnapshot with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CopySnapshot, copySnapshot_kmsKeyId - The ID of the KMS
-- key used to encrypt the target snapshot.
--
-- $sel:tags:CopySnapshot', copySnapshot_tags - A list of
-- tags to be added to this resource. A tag is a key-value pair. A tag
-- key must be accompanied by a tag value, although null is accepted.
--
-- $sel:targetBucket:CopySnapshot',
-- copySnapshot_targetBucket - The Amazon S3 bucket to which the
-- snapshot is exported. This parameter is used only when exporting a
-- snapshot for external access. When using this parameter to export a
-- snapshot, be sure MemoryDB has the needed permissions to this S3
-- bucket. For more information, see Step 2: Grant MemoryDB Access to
-- Your Amazon S3 Bucket.
--
-- $sel:sourceSnapshotName:CopySnapshot',
-- copySnapshot_sourceSnapshotName - The name of an existing
-- snapshot from which to make a copy.
--
-- $sel:targetSnapshotName:CopySnapshot',
-- copySnapshot_targetSnapshotName - A name for the snapshot copy.
-- MemoryDB does not permit overwriting a snapshot, therefore this name
-- must be unique within its context - MemoryDB or an Amazon S3 bucket if
-- exporting.
newCopySnapshot :: Text -> Text -> CopySnapshot
-- | See: newCopySnapshotResponse smart constructor.
data CopySnapshotResponse
CopySnapshotResponse' :: Maybe Snapshot -> Int -> CopySnapshotResponse
-- | Create a value of CopySnapshotResponse with all optional fields
-- omitted.
--
-- Use 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:CopySnapshotResponse',
-- copySnapshotResponse_snapshot - Represents a copy of an entire
-- cluster as of the time when the snapshot was taken.
--
-- $sel:httpStatus:CopySnapshotResponse',
-- copySnapshotResponse_httpStatus - The response's http status
-- code.
newCopySnapshotResponse :: Int -> CopySnapshotResponse
-- | See: newCreateACL smart constructor.
data CreateACL
CreateACL' :: Maybe [Tag] -> Maybe (NonEmpty Text) -> Text -> CreateACL
-- | Create a value of CreateACL with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tags:CreateACL', createACL_tags - A list of tags to
-- be added to this resource. A tag is a key-value pair. A tag key must
-- be accompanied by a tag value, although null is accepted.
--
-- CreateACL, createACL_userNames - The list of users that
-- belong to the Access Control List.
--
-- CreateACL, createACL_aCLName - The name of the Access
-- Control List.
newCreateACL :: Text -> CreateACL
-- | See: newCreateACLResponse smart constructor.
data CreateACLResponse
CreateACLResponse' :: Maybe ACL -> Int -> CreateACLResponse
-- | Create a value of CreateACLResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:acl:CreateACLResponse', createACLResponse_acl - The
-- newly-created Access Control List.
--
-- $sel:httpStatus:CreateACLResponse',
-- createACLResponse_httpStatus - The response's http status code.
newCreateACLResponse :: Int -> CreateACLResponse
-- | See: newCreateCluster smart constructor.
data CreateCluster
CreateCluster' :: Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe [Tag] -> 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:
--
-- CreateCluster, createCluster_autoMinorVersionUpgrade -
-- When set to true, the cluster will automatically receive minor engine
-- version upgrades after launch.
--
-- CreateCluster, createCluster_dataTiering - Enables data
-- tiering. Data tiering is only supported for clusters using the r6gd
-- node type. This parameter must be set when using r6gd nodes. For more
-- information, see Data tiering.
--
-- CreateCluster, createCluster_description - An optional
-- description of the cluster.
--
-- CreateCluster, createCluster_engineVersion - The version
-- number of the Redis engine to be used for the cluster.
--
-- CreateCluster, createCluster_kmsKeyId - The ID of the
-- KMS key used to encrypt the cluster.
--
-- CreateCluster, createCluster_maintenanceWindow -
-- Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
--
-- Valid values for ddd are:
--
--
-- sun
-- mon
-- tue
-- wed
-- thu
-- fri
-- sat
--
--
-- Example: sun:23:00-mon:01:30
--
-- $sel:numReplicasPerShard:CreateCluster',
-- createCluster_numReplicasPerShard - The number of replicas to
-- apply to each shard. The default value is 1. The maximum is 5.
--
-- CreateCluster, createCluster_numShards - The number of
-- shards the cluster will contain. The default value is 1.
--
-- CreateCluster, createCluster_parameterGroupName - The
-- name of the parameter group associated with the cluster.
--
-- CreateCluster, createCluster_port - The port number on
-- which each of the nodes accepts connections.
--
-- $sel:securityGroupIds:CreateCluster',
-- createCluster_securityGroupIds - A list of security group names
-- to associate with this cluster.
--
-- $sel:snapshotArns:CreateCluster',
-- createCluster_snapshotArns - A list of Amazon Resource Names
-- (ARN) that uniquely identify the RDB snapshot files stored in Amazon
-- S3. The snapshot files are used to populate the new cluster. The
-- Amazon S3 object name in the ARN cannot contain any commas.
--
-- $sel:snapshotName:CreateCluster',
-- createCluster_snapshotName - The name of a snapshot from which
-- to restore data into the new cluster. The snapshot status changes to
-- restoring while the new cluster is being created.
--
-- CreateCluster, createCluster_snapshotRetentionLimit -
-- The number of days for which MemoryDB retains automatic snapshots
-- before deleting them. For example, if you set SnapshotRetentionLimit
-- to 5, a snapshot that was taken today is retained for 5 days before
-- being deleted.
--
-- CreateCluster, createCluster_snapshotWindow - The daily
-- time range (in UTC) during which MemoryDB begins taking a daily
-- snapshot of your shard.
--
-- Example: 05:00-09:00
--
-- If you do not specify this parameter, MemoryDB automatically chooses
-- an appropriate time range.
--
-- CreateCluster, createCluster_snsTopicArn - The Amazon
-- Resource Name (ARN) of the Amazon Simple Notification Service (SNS)
-- topic to which notifications are sent.
--
-- CreateCluster, createCluster_subnetGroupName - The name
-- of the subnet group to be used for the cluster.
--
-- CreateCluster, createCluster_tLSEnabled - A flag to
-- enable in-transit encryption on the cluster.
--
-- $sel:tags:CreateCluster', createCluster_tags - A list of
-- tags to be added to this resource. Tags are comma-separated key,value
-- pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags
-- as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey,
-- Value=mySecondKeyValue.
--
-- CreateCluster, createCluster_clusterName - The name of
-- the cluster. This value must be unique as it also serves as the
-- cluster identifier.
--
-- CreateCluster, createCluster_nodeType - The compute and
-- memory capacity of the nodes in the cluster.
--
-- CreateCluster, createCluster_aCLName - The name of the
-- Access Control List to associate with the cluster.
newCreateCluster :: 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 - The newly-created cluster.
--
-- $sel:httpStatus:CreateClusterResponse',
-- createClusterResponse_httpStatus - The response's http status
-- code.
newCreateClusterResponse :: Int -> CreateClusterResponse
-- | See: newCreateParameterGroup smart constructor.
data CreateParameterGroup
CreateParameterGroup' :: Maybe Text -> Maybe [Tag] -> Text -> Text -> CreateParameterGroup
-- | Create a value of CreateParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateParameterGroup, createParameterGroup_description -
-- An optional description of the parameter group.
--
-- $sel:tags:CreateParameterGroup',
-- createParameterGroup_tags - A list of tags to be added to this
-- resource. A tag is a key-value pair. A tag key must be accompanied by
-- a tag value, although null is accepted.
--
-- CreateParameterGroup,
-- createParameterGroup_parameterGroupName - The name of the
-- parameter group.
--
-- CreateParameterGroup, createParameterGroup_family - The
-- name of the parameter group family that the parameter group can be
-- used with.
newCreateParameterGroup :: Text -> Text -> CreateParameterGroup
-- | See: newCreateParameterGroupResponse smart constructor.
data CreateParameterGroupResponse
CreateParameterGroupResponse' :: Maybe ParameterGroup -> Int -> CreateParameterGroupResponse
-- | Create a value of CreateParameterGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterGroup:CreateParameterGroupResponse',
-- createParameterGroupResponse_parameterGroup - The newly-created
-- parameter group.
--
-- $sel:httpStatus:CreateParameterGroupResponse',
-- createParameterGroupResponse_httpStatus - The response's http
-- status code.
newCreateParameterGroupResponse :: Int -> CreateParameterGroupResponse
-- | See: newCreateSnapshot smart constructor.
data CreateSnapshot
CreateSnapshot' :: Maybe Text -> Maybe [Tag] -> Text -> Text -> CreateSnapshot
-- | Create a value of CreateSnapshot with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateSnapshot, createSnapshot_kmsKeyId - The ID of the
-- KMS key used to encrypt the snapshot.
--
-- $sel:tags:CreateSnapshot', createSnapshot_tags - A list
-- of tags to be added to this resource. A tag is a key-value pair. A tag
-- key must be accompanied by a tag value, although null is accepted.
--
-- CreateSnapshot, createSnapshot_clusterName - The
-- snapshot is created from this cluster.
--
-- $sel:snapshotName:CreateSnapshot',
-- createSnapshot_snapshotName - A name for the snapshot being
-- created.
newCreateSnapshot :: Text -> Text -> CreateSnapshot
-- | See: newCreateSnapshotResponse smart constructor.
data CreateSnapshotResponse
CreateSnapshotResponse' :: Maybe Snapshot -> Int -> CreateSnapshotResponse
-- | Create a value of CreateSnapshotResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:snapshot:CreateSnapshotResponse',
-- createSnapshotResponse_snapshot - The newly-created snapshot.
--
-- $sel:httpStatus:CreateSnapshotResponse',
-- createSnapshotResponse_httpStatus - The response's http status
-- code.
newCreateSnapshotResponse :: Int -> CreateSnapshotResponse
-- | See: newCreateSubnetGroup smart constructor.
data CreateSubnetGroup
CreateSubnetGroup' :: Maybe Text -> Maybe [Tag] -> Text -> [Text] -> CreateSubnetGroup
-- | Create a value of CreateSubnetGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateSubnetGroup, createSubnetGroup_description - A
-- description for the subnet group.
--
-- $sel:tags:CreateSubnetGroup', createSubnetGroup_tags - A
-- list of tags to be added to this resource. A tag is a key-value pair.
-- A tag key must be accompanied by a tag value, although null is
-- accepted.
--
-- CreateSubnetGroup, createSubnetGroup_subnetGroupName -
-- The name of the subnet group.
--
-- $sel:subnetIds:CreateSubnetGroup',
-- createSubnetGroup_subnetIds - A list of VPC subnet IDs for the
-- subnet group.
newCreateSubnetGroup :: Text -> CreateSubnetGroup
-- | See: newCreateSubnetGroupResponse smart constructor.
data CreateSubnetGroupResponse
CreateSubnetGroupResponse' :: Maybe SubnetGroup -> Int -> CreateSubnetGroupResponse
-- | Create a value of CreateSubnetGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:subnetGroup:CreateSubnetGroupResponse',
-- createSubnetGroupResponse_subnetGroup - The newly-created
-- subnet group
--
-- $sel:httpStatus:CreateSubnetGroupResponse',
-- createSubnetGroupResponse_httpStatus - The response's http
-- status code.
newCreateSubnetGroupResponse :: Int -> CreateSubnetGroupResponse
-- | See: newCreateUser smart constructor.
data CreateUser
CreateUser' :: Maybe [Tag] -> Text -> AuthenticationMode -> Text -> CreateUser
-- | Create a value of CreateUser with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tags:CreateUser', createUser_tags - A list of tags
-- to be added to this resource. A tag is a key-value pair. A tag key
-- must be accompanied by a tag value, although null is accepted.
--
-- $sel:userName:CreateUser', createUser_userName - The
-- name of the user. This value must be unique as it also serves as the
-- user identifier.
--
-- $sel:authenticationMode:CreateUser',
-- createUser_authenticationMode - Denotes the user's
-- authentication properties, such as whether it requires a password to
-- authenticate.
--
-- CreateUser, createUser_accessString - Access permissions
-- string used for this user.
newCreateUser :: Text -> AuthenticationMode -> Text -> CreateUser
-- | See: newCreateUserResponse smart constructor.
data CreateUserResponse
CreateUserResponse' :: Maybe User -> Int -> CreateUserResponse
-- | Create a value of CreateUserResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:user:CreateUserResponse', createUserResponse_user -
-- The newly-created user.
--
-- $sel:httpStatus:CreateUserResponse',
-- createUserResponse_httpStatus - The response's http status
-- code.
newCreateUserResponse :: Int -> CreateUserResponse
-- | See: newDeleteACL smart constructor.
data DeleteACL
DeleteACL' :: Text -> DeleteACL
-- | Create a value of DeleteACL with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteACL, deleteACL_aCLName - The name of the Access
-- Control List to delete
newDeleteACL :: Text -> DeleteACL
-- | See: newDeleteACLResponse smart constructor.
data DeleteACLResponse
DeleteACLResponse' :: Maybe ACL -> Int -> DeleteACLResponse
-- | Create a value of DeleteACLResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:acl:DeleteACLResponse', deleteACLResponse_acl - The
-- Access Control List object that has been deleted.
--
-- $sel:httpStatus:DeleteACLResponse',
-- deleteACLResponse_httpStatus - The response's http status code.
newDeleteACLResponse :: Int -> DeleteACLResponse
-- | See: newDeleteCluster smart constructor.
data DeleteCluster
DeleteCluster' :: Maybe Text -> 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:finalSnapshotName:DeleteCluster',
-- deleteCluster_finalSnapshotName - The user-supplied name of a
-- final cluster snapshot. This is the unique name that identifies the
-- snapshot. MemoryDB creates the snapshot, and then deletes the cluster
-- immediately afterward.
--
-- DeleteCluster, deleteCluster_clusterName - The name of
-- the cluster to be deleted
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 - The cluster object that has
-- been deleted
--
-- $sel:httpStatus:DeleteClusterResponse',
-- deleteClusterResponse_httpStatus - The response's http status
-- code.
newDeleteClusterResponse :: Int -> DeleteClusterResponse
-- | See: newDeleteParameterGroup smart constructor.
data DeleteParameterGroup
DeleteParameterGroup' :: Text -> DeleteParameterGroup
-- | Create a value of DeleteParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteParameterGroup,
-- deleteParameterGroup_parameterGroupName - The name of the
-- parameter group to delete.
newDeleteParameterGroup :: Text -> DeleteParameterGroup
-- | See: newDeleteParameterGroupResponse smart constructor.
data DeleteParameterGroupResponse
DeleteParameterGroupResponse' :: Maybe ParameterGroup -> Int -> DeleteParameterGroupResponse
-- | Create a value of DeleteParameterGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterGroup:DeleteParameterGroupResponse',
-- deleteParameterGroupResponse_parameterGroup - The parameter
-- group that has been deleted.
--
-- $sel:httpStatus:DeleteParameterGroupResponse',
-- deleteParameterGroupResponse_httpStatus - The response's http
-- status code.
newDeleteParameterGroupResponse :: Int -> DeleteParameterGroupResponse
-- | See: newDeleteSnapshot smart constructor.
data DeleteSnapshot
DeleteSnapshot' :: Text -> DeleteSnapshot
-- | Create a value of DeleteSnapshot with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:snapshotName:DeleteSnapshot',
-- deleteSnapshot_snapshotName - The name of the snapshot to
-- delete
newDeleteSnapshot :: Text -> DeleteSnapshot
-- | See: newDeleteSnapshotResponse smart constructor.
data DeleteSnapshotResponse
DeleteSnapshotResponse' :: Maybe Snapshot -> Int -> DeleteSnapshotResponse
-- | Create a value of DeleteSnapshotResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:snapshot:DeleteSnapshotResponse',
-- deleteSnapshotResponse_snapshot - The snapshot object that has
-- been deleted.
--
-- $sel:httpStatus:DeleteSnapshotResponse',
-- deleteSnapshotResponse_httpStatus - The response's http status
-- code.
newDeleteSnapshotResponse :: Int -> DeleteSnapshotResponse
-- | See: newDeleteSubnetGroup smart constructor.
data DeleteSubnetGroup
DeleteSubnetGroup' :: Text -> DeleteSubnetGroup
-- | Create a value of DeleteSubnetGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteSubnetGroup, deleteSubnetGroup_subnetGroupName -
-- The name of the subnet group to delete
newDeleteSubnetGroup :: Text -> DeleteSubnetGroup
-- | See: newDeleteSubnetGroupResponse smart constructor.
data DeleteSubnetGroupResponse
DeleteSubnetGroupResponse' :: Maybe SubnetGroup -> Int -> DeleteSubnetGroupResponse
-- | Create a value of DeleteSubnetGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:subnetGroup:DeleteSubnetGroupResponse',
-- deleteSubnetGroupResponse_subnetGroup - The subnet group object
-- that has been deleted.
--
-- $sel:httpStatus:DeleteSubnetGroupResponse',
-- deleteSubnetGroupResponse_httpStatus - The response's http
-- status code.
newDeleteSubnetGroupResponse :: Int -> DeleteSubnetGroupResponse
-- | See: newDeleteUser smart constructor.
data DeleteUser
DeleteUser' :: Text -> DeleteUser
-- | Create a value of DeleteUser with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:userName:DeleteUser', deleteUser_userName - The
-- name of the user to delete
newDeleteUser :: Text -> DeleteUser
-- | See: newDeleteUserResponse smart constructor.
data DeleteUserResponse
DeleteUserResponse' :: Maybe User -> Int -> DeleteUserResponse
-- | Create a value of DeleteUserResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:user:DeleteUserResponse', deleteUserResponse_user -
-- The user object that has been deleted.
--
-- $sel:httpStatus:DeleteUserResponse',
-- deleteUserResponse_httpStatus - The response's http status
-- code.
newDeleteUserResponse :: Int -> DeleteUserResponse
-- | See: newDescribeACLs smart constructor.
data DescribeACLs
DescribeACLs' :: Maybe Text -> Maybe Int -> Maybe Text -> DescribeACLs
-- | Create a value of DescribeACLs with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeACLs, describeACLs_aCLName - The name of the ACL
--
-- $sel:maxResults:DescribeACLs', describeACLs_maxResults -
-- The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
--
-- DescribeACLs, describeACLs_nextToken - An optional
-- argument to pass in case the total number of records exceeds the value
-- of MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
newDescribeACLs :: DescribeACLs
-- | See: newDescribeACLsResponse smart constructor.
data DescribeACLsResponse
DescribeACLsResponse' :: Maybe [ACL] -> Maybe Text -> Int -> DescribeACLsResponse
-- | Create a value of DescribeACLsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeACLsResponse, describeACLsResponse_aCLs - The
-- list of ACLs
--
-- DescribeACLs, describeACLsResponse_nextToken - If
-- nextToken is returned, there are more results available. The value of
-- nextToken is a unique pagination token for each page. Make the call
-- again using the returned token to retrieve the next page. Keep all
-- other arguments unchanged.
--
-- $sel:httpStatus:DescribeACLsResponse',
-- describeACLsResponse_httpStatus - The response's http status
-- code.
newDescribeACLsResponse :: Int -> DescribeACLsResponse
-- | See: newDescribeClusters smart constructor.
data DescribeClusters
DescribeClusters' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> 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_clusterName - The
-- name of the cluster
--
-- $sel:maxResults:DescribeClusters',
-- describeClusters_maxResults - The maximum number of records to
-- include in the response. If more records exist than the specified
-- MaxResults value, a token is included in the response so that the
-- remaining results can be retrieved.
--
-- DescribeClusters, describeClusters_nextToken - An
-- optional argument to pass in case the total number of records exceeds
-- the value of MaxResults. If nextToken is returned, there are more
-- results available. The value of nextToken is a unique pagination token
-- for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:showShardDetails:DescribeClusters',
-- describeClusters_showShardDetails - An optional flag that can
-- be included in the request to retrieve information about the
-- individual shard(s).
newDescribeClusters :: DescribeClusters
-- | 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:
--
-- DescribeClustersResponse,
-- describeClustersResponse_clusters - A list of clusters
--
-- DescribeClusters, describeClustersResponse_nextToken -
-- An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:httpStatus:DescribeClustersResponse',
-- describeClustersResponse_httpStatus - The response's http
-- status code.
newDescribeClustersResponse :: Int -> DescribeClustersResponse
-- | See: newDescribeEngineVersions smart constructor.
data DescribeEngineVersions
DescribeEngineVersions' :: Maybe Bool -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> DescribeEngineVersions
-- | Create a value of DescribeEngineVersions with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:defaultOnly:DescribeEngineVersions',
-- describeEngineVersions_defaultOnly - If true, specifies that
-- only the default version of the specified engine or engine and major
-- version combination is to be returned.
--
-- DescribeEngineVersions,
-- describeEngineVersions_engineVersion - The Redis engine version
--
-- $sel:maxResults:DescribeEngineVersions',
-- describeEngineVersions_maxResults - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxResults value, a token is included in the response so
-- that the remaining results can be retrieved.
--
-- DescribeEngineVersions, describeEngineVersions_nextToken
-- - An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- DescribeEngineVersions,
-- describeEngineVersions_parameterGroupFamily - The name of a
-- specific parameter group family to return details for.
newDescribeEngineVersions :: DescribeEngineVersions
-- | See: newDescribeEngineVersionsResponse smart
-- constructor.
data DescribeEngineVersionsResponse
DescribeEngineVersionsResponse' :: Maybe [EngineVersionInfo] -> Maybe Text -> Int -> DescribeEngineVersionsResponse
-- | Create a value of DescribeEngineVersionsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:engineVersions:DescribeEngineVersionsResponse',
-- describeEngineVersionsResponse_engineVersions - A list of
-- engine version details. Each element in the list contains detailed
-- information about one engine version.
--
-- DescribeEngineVersions,
-- describeEngineVersionsResponse_nextToken - An optional argument
-- to pass in case the total number of records exceeds the value of
-- MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- $sel:httpStatus:DescribeEngineVersionsResponse',
-- describeEngineVersionsResponse_httpStatus - The response's http
-- status code.
newDescribeEngineVersionsResponse :: Int -> DescribeEngineVersionsResponse
-- | See: newDescribeEvents smart constructor.
data DescribeEvents
DescribeEvents' :: Maybe Int -> Maybe POSIX -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe SourceType -> Maybe POSIX -> 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 worth of events to retrieve.
--
-- $sel:endTime:DescribeEvents', describeEvents_endTime -
-- The end of the time interval for which to retrieve events, specified
-- in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
--
-- $sel:maxResults:DescribeEvents',
-- describeEvents_maxResults - The maximum number of records to
-- include in the response. If more records exist than the specified
-- MaxResults value, a token is included in the response so that the
-- remaining results can be retrieved.
--
-- DescribeEvents, describeEvents_nextToken - An optional
-- argument to pass in case the total number of records exceeds the value
-- of MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- DescribeEvents, describeEvents_sourceName - The
-- identifier of the event source for which events are returned. If not
-- specified, all sources are included in the response.
--
-- DescribeEvents, describeEvents_sourceType - The event
-- source to retrieve events for. If no value is specified, all events
-- are returned.
--
-- DescribeEvents, describeEvents_startTime - The beginning
-- of the time interval to retrieve events for, specified in ISO 8601
-- format. Example: 2017-03-30T07:03:49.555Z
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:
--
-- $sel:events:DescribeEventsResponse',
-- describeEventsResponse_events - A list of events. Each element
-- in the list contains detailed information about one event.
--
-- DescribeEvents, describeEventsResponse_nextToken - An
-- optional argument to pass in case the total number of records exceeds
-- the value of MaxResults. If nextToken is returned, there are more
-- results available. The value of nextToken is a unique pagination token
-- for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:httpStatus:DescribeEventsResponse',
-- describeEventsResponse_httpStatus - The response's http status
-- code.
newDescribeEventsResponse :: Int -> DescribeEventsResponse
-- | See: newDescribeParameterGroups smart constructor.
data DescribeParameterGroups
DescribeParameterGroups' :: Maybe Int -> Maybe Text -> Maybe Text -> DescribeParameterGroups
-- | Create a value of DescribeParameterGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:DescribeParameterGroups',
-- describeParameterGroups_maxResults - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxResults value, a token is included in the response so
-- that the remaining results can be retrieved.
--
-- DescribeParameterGroups,
-- describeParameterGroups_nextToken - An optional argument to
-- pass in case the total number of records exceeds the value of
-- MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- DescribeParameterGroups,
-- describeParameterGroups_parameterGroupName - The name of a
-- specific parameter group to return details for.
newDescribeParameterGroups :: DescribeParameterGroups
-- | See: newDescribeParameterGroupsResponse smart
-- constructor.
data DescribeParameterGroupsResponse
DescribeParameterGroupsResponse' :: Maybe Text -> Maybe [ParameterGroup] -> Int -> DescribeParameterGroupsResponse
-- | Create a value of DescribeParameterGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeParameterGroups,
-- describeParameterGroupsResponse_nextToken - An optional
-- argument to pass in case the total number of records exceeds the value
-- of MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- $sel:parameterGroups:DescribeParameterGroupsResponse',
-- describeParameterGroupsResponse_parameterGroups - A list of
-- parameter groups. Each element in the list contains detailed
-- information about one parameter group.
--
-- $sel:httpStatus:DescribeParameterGroupsResponse',
-- describeParameterGroupsResponse_httpStatus - The response's
-- http status code.
newDescribeParameterGroupsResponse :: Int -> DescribeParameterGroupsResponse
-- | See: newDescribeParameters smart constructor.
data DescribeParameters
DescribeParameters' :: Maybe Int -> Maybe Text -> Text -> DescribeParameters
-- | Create a value of DescribeParameters with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:DescribeParameters',
-- describeParameters_maxResults - The maximum number of records
-- to include in the response. If more records exist than the specified
-- MaxResults value, a token is included in the response so that the
-- remaining results can be retrieved.
--
-- DescribeParameters, describeParameters_nextToken - An
-- optional argument to pass in case the total number of records exceeds
-- the value of MaxResults. If nextToken is returned, there are more
-- results available. The value of nextToken is a unique pagination token
-- for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- DescribeParameters,
-- describeParameters_parameterGroupName - he name of a specific
-- parameter group to return details for.
newDescribeParameters :: Text -> DescribeParameters
-- | See: newDescribeParametersResponse smart constructor.
data DescribeParametersResponse
DescribeParametersResponse' :: Maybe Text -> Maybe [Parameter] -> Int -> DescribeParametersResponse
-- | Create a value of DescribeParametersResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeParameters, describeParametersResponse_nextToken
-- - An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:parameters:DescribeParametersResponse',
-- describeParametersResponse_parameters - A list of parameters
-- specific to a particular parameter group. Each element in the list
-- contains detailed information about one parameter.
--
-- $sel:httpStatus:DescribeParametersResponse',
-- describeParametersResponse_httpStatus - The response's http
-- status code.
newDescribeParametersResponse :: Int -> DescribeParametersResponse
-- | See: newDescribeReservedNodes smart constructor.
data DescribeReservedNodes
DescribeReservedNodes' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> 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_duration -
-- The duration filter value, specified in years or seconds. Use this
-- parameter to show only reservations for this duration.
--
-- $sel:maxResults:DescribeReservedNodes',
-- describeReservedNodes_maxResults - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxRecords value, a marker is included in the response so
-- that the remaining results can be retrieved.
--
-- DescribeReservedNodes, describeReservedNodes_nextToken -
-- An optional marker returned from a prior request. Use this marker for
-- pagination of results from this operation. If this parameter is
-- specified, the response includes only records beyond the marker, up to
-- the value specified by MaxRecords.
--
-- DescribeReservedNodes, describeReservedNodes_nodeType -
-- The node type filter value. Use this parameter to show only those
-- reservations matching the specified node type. For more information,
-- see Supported node types.
--
-- DescribeReservedNodes,
-- describeReservedNodes_offeringType - The offering type filter
-- value. Use this parameter to show only the available offerings
-- matching the specified offering type. Valid values: "All
-- Upfront"|"Partial Upfront"| "No Upfront"
--
-- DescribeReservedNodes,
-- describeReservedNodes_reservationId - The reserved node
-- identifier filter value. Use this parameter to show only the
-- reservation that matches the specified reservation ID.
--
-- DescribeReservedNodes,
-- describeReservedNodes_reservedNodesOfferingId - The offering
-- identifier filter value. Use this parameter to show only purchased
-- reservations matching the specified offering identifier.
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_nextToken - An optional marker
-- returned from a prior request. Use this marker for pagination of
-- results from this operation. If this parameter is specified, the
-- response includes only records beyond the marker, up to the value
-- specified by MaxRecords.
--
-- $sel:reservedNodes:DescribeReservedNodesResponse',
-- describeReservedNodesResponse_reservedNodes - Returns
-- information about reserved nodes for this account, or about a
-- specified reserved node.
--
-- $sel:httpStatus:DescribeReservedNodesResponse',
-- describeReservedNodesResponse_httpStatus - The response's http
-- status code.
newDescribeReservedNodesResponse :: Int -> DescribeReservedNodesResponse
-- | See: newDescribeReservedNodesOfferings smart
-- constructor.
data DescribeReservedNodesOfferings
DescribeReservedNodesOfferings' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> DescribeReservedNodesOfferings
-- | Create a value of DescribeReservedNodesOfferings with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferings_duration - Duration filter
-- value, specified in years or seconds. Use this parameter to show only
-- reservations for a given duration.
--
-- $sel:maxResults:DescribeReservedNodesOfferings',
-- describeReservedNodesOfferings_maxResults - The maximum number
-- of records to include in the response. If more records exist than the
-- specified MaxRecords value, a marker is included in the response so
-- that the remaining results can be retrieved.
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferings_nextToken - An optional marker
-- returned from a prior request. Use this marker for pagination of
-- results from this operation. If this parameter is specified, the
-- response includes only records beyond the marker, up to the value
-- specified by MaxRecords.
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferings_nodeType - The node type for the
-- reserved nodes. For more information, see Supported node types.
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferings_offeringType - The offering type
-- filter value. Use this parameter to show only the available offerings
-- matching the specified offering type. Valid values: "All
-- Upfront"|"Partial Upfront"| "No Upfront"
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferings_reservedNodesOfferingId - The
-- offering identifier filter value. Use this parameter to show only the
-- available offering that matches the specified reservation identifier.
newDescribeReservedNodesOfferings :: DescribeReservedNodesOfferings
-- | See: newDescribeReservedNodesOfferingsResponse smart
-- constructor.
data DescribeReservedNodesOfferingsResponse
DescribeReservedNodesOfferingsResponse' :: Maybe Text -> Maybe [ReservedNodesOffering] -> Int -> DescribeReservedNodesOfferingsResponse
-- | Create a value of DescribeReservedNodesOfferingsResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeReservedNodesOfferings,
-- describeReservedNodesOfferingsResponse_nextToken - An optional
-- marker returned from a prior request. Use this marker for pagination
-- of results from this operation. If this parameter is specified, the
-- response includes only records beyond the marker, up to the value
-- specified by MaxRecords.
--
--
-- $sel:reservedNodesOfferings:DescribeReservedNodesOfferingsResponse',
-- describeReservedNodesOfferingsResponse_reservedNodesOfferings -
-- Lists available reserved node offerings.
--
-- $sel:httpStatus:DescribeReservedNodesOfferingsResponse',
-- describeReservedNodesOfferingsResponse_httpStatus - The
-- response's http status code.
newDescribeReservedNodesOfferingsResponse :: Int -> DescribeReservedNodesOfferingsResponse
-- | See: newDescribeServiceUpdates smart constructor.
data DescribeServiceUpdates
DescribeServiceUpdates' :: Maybe [Text] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [ServiceUpdateStatus] -> DescribeServiceUpdates
-- | Create a value of DescribeServiceUpdates with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterNames:DescribeServiceUpdates',
-- describeServiceUpdates_clusterNames - The list of cluster names
-- to identify service updates to apply
--
-- $sel:maxResults:DescribeServiceUpdates',
-- describeServiceUpdates_maxResults - The maximum number of
-- records to include in the response. If more records exist than the
-- specified MaxResults value, a token is included in the response so
-- that the remaining results can be retrieved.
--
-- DescribeServiceUpdates, describeServiceUpdates_nextToken
-- - An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- DescribeServiceUpdates,
-- describeServiceUpdates_serviceUpdateName - The unique ID of the
-- service update to describe.
--
-- DescribeServiceUpdates, describeServiceUpdates_status -
-- The status(es) of the service updates to filter on
newDescribeServiceUpdates :: DescribeServiceUpdates
-- | See: newDescribeServiceUpdatesResponse smart
-- constructor.
data DescribeServiceUpdatesResponse
DescribeServiceUpdatesResponse' :: Maybe Text -> Maybe [ServiceUpdate] -> Int -> DescribeServiceUpdatesResponse
-- | Create a value of DescribeServiceUpdatesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeServiceUpdates,
-- describeServiceUpdatesResponse_nextToken - An optional argument
-- to pass in case the total number of records exceeds the value of
-- MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- DescribeServiceUpdatesResponse,
-- describeServiceUpdatesResponse_serviceUpdates - A list of
-- service updates
--
-- $sel:httpStatus:DescribeServiceUpdatesResponse',
-- describeServiceUpdatesResponse_httpStatus - The response's http
-- status code.
newDescribeServiceUpdatesResponse :: Int -> DescribeServiceUpdatesResponse
-- | See: newDescribeSnapshots smart constructor.
data DescribeSnapshots
DescribeSnapshots' :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> DescribeSnapshots
-- | Create a value of DescribeSnapshots with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeSnapshots, describeSnapshots_clusterName - A
-- user-supplied cluster identifier. If this parameter is specified, only
-- snapshots associated with that specific cluster are described.
--
-- $sel:maxResults:DescribeSnapshots',
-- describeSnapshots_maxResults - The maximum number of records to
-- include in the response. If more records exist than the specified
-- MaxResults value, a token is included in the response so that the
-- remaining results can be retrieved.
--
-- DescribeSnapshots, describeSnapshots_nextToken - An
-- optional argument to pass in case the total number of records exceeds
-- the value of MaxResults. If nextToken is returned, there are more
-- results available. The value of nextToken is a unique pagination token
-- for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:showDetail:DescribeSnapshots',
-- describeSnapshots_showDetail - A Boolean value which if true,
-- the shard configuration is included in the snapshot description.
--
-- $sel:snapshotName:DescribeSnapshots',
-- describeSnapshots_snapshotName - A user-supplied name of the
-- snapshot. If this parameter is specified, only this named snapshot is
-- described.
--
-- DescribeSnapshots, describeSnapshots_source - If set to
-- system, the output shows snapshots that were automatically created by
-- MemoryDB. If set to user the output shows snapshots that were manually
-- created. If omitted, the output shows both automatically and manually
-- created snapshots.
newDescribeSnapshots :: DescribeSnapshots
-- | See: newDescribeSnapshotsResponse smart constructor.
data DescribeSnapshotsResponse
DescribeSnapshotsResponse' :: Maybe Text -> Maybe [Snapshot] -> Int -> DescribeSnapshotsResponse
-- | Create a value of DescribeSnapshotsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeSnapshots, describeSnapshotsResponse_nextToken -
-- An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:snapshots:DescribeSnapshotsResponse',
-- describeSnapshotsResponse_snapshots - A list of snapshots. Each
-- item in the list contains detailed information about one snapshot.
--
-- $sel:httpStatus:DescribeSnapshotsResponse',
-- describeSnapshotsResponse_httpStatus - The response's http
-- status code.
newDescribeSnapshotsResponse :: Int -> DescribeSnapshotsResponse
-- | See: newDescribeSubnetGroups smart constructor.
data DescribeSubnetGroups
DescribeSubnetGroups' :: Maybe Int -> Maybe Text -> Maybe Text -> DescribeSubnetGroups
-- | Create a value of DescribeSubnetGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:DescribeSubnetGroups',
-- describeSubnetGroups_maxResults - The maximum number of records
-- to include in the response. If more records exist than the specified
-- MaxResults value, a token is included in the response so that the
-- remaining results can be retrieved.
--
-- DescribeSubnetGroups, describeSubnetGroups_nextToken -
-- An optional argument to pass in case the total number of records
-- exceeds the value of MaxResults. If nextToken is returned, there are
-- more results available. The value of nextToken is a unique pagination
-- token for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- DescribeSubnetGroups,
-- describeSubnetGroups_subnetGroupName - The name of the subnet
-- group to return details for.
newDescribeSubnetGroups :: DescribeSubnetGroups
-- | See: newDescribeSubnetGroupsResponse smart constructor.
data DescribeSubnetGroupsResponse
DescribeSubnetGroupsResponse' :: Maybe Text -> Maybe [SubnetGroup] -> Int -> DescribeSubnetGroupsResponse
-- | Create a value of DescribeSubnetGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeSubnetGroups,
-- describeSubnetGroupsResponse_nextToken - An optional argument
-- to pass in case the total number of records exceeds the value of
-- MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- $sel:subnetGroups:DescribeSubnetGroupsResponse',
-- describeSubnetGroupsResponse_subnetGroups - A list of subnet
-- groups. Each element in the list contains detailed information about
-- one group.
--
-- $sel:httpStatus:DescribeSubnetGroupsResponse',
-- describeSubnetGroupsResponse_httpStatus - The response's http
-- status code.
newDescribeSubnetGroupsResponse :: Int -> DescribeSubnetGroupsResponse
-- | See: newDescribeUsers smart constructor.
data DescribeUsers
DescribeUsers' :: Maybe [Filter] -> Maybe Int -> Maybe Text -> Maybe Text -> DescribeUsers
-- | Create a value of DescribeUsers with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filters:DescribeUsers', describeUsers_filters -
-- Filter to determine the list of users to return.
--
-- $sel:maxResults:DescribeUsers', describeUsers_maxResults
-- - The maximum number of records to include in the response. If more
-- records exist than the specified MaxResults value, a token is included
-- in the response so that the remaining results can be retrieved.
--
-- DescribeUsers, describeUsers_nextToken - An optional
-- argument to pass in case the total number of records exceeds the value
-- of MaxResults. If nextToken is returned, there are more results
-- available. The value of nextToken is a unique pagination token for
-- each page. Make the call again using the returned token to retrieve
-- the next page. Keep all other arguments unchanged.
--
-- $sel:userName:DescribeUsers', describeUsers_userName -
-- The name of the user
newDescribeUsers :: DescribeUsers
-- | See: newDescribeUsersResponse smart constructor.
data DescribeUsersResponse
DescribeUsersResponse' :: Maybe Text -> Maybe [User] -> Int -> DescribeUsersResponse
-- | Create a value of DescribeUsersResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeUsers, describeUsersResponse_nextToken - An
-- optional argument to pass in case the total number of records exceeds
-- the value of MaxResults. If nextToken is returned, there are more
-- results available. The value of nextToken is a unique pagination token
-- for each page. Make the call again using the returned token to
-- retrieve the next page. Keep all other arguments unchanged.
--
-- $sel:users:DescribeUsersResponse',
-- describeUsersResponse_users - A list of users.
--
-- $sel:httpStatus:DescribeUsersResponse',
-- describeUsersResponse_httpStatus - The response's http status
-- code.
newDescribeUsersResponse :: Int -> DescribeUsersResponse
-- | See: newFailoverShard smart constructor.
data FailoverShard
FailoverShard' :: Text -> Text -> FailoverShard
-- | Create a value of FailoverShard with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- FailoverShard, failoverShard_clusterName - The cluster
-- being failed over
--
-- $sel:shardName:FailoverShard', failoverShard_shardName -
-- The name of the shard
newFailoverShard :: Text -> Text -> FailoverShard
-- | See: newFailoverShardResponse smart constructor.
data FailoverShardResponse
FailoverShardResponse' :: Maybe Cluster -> Int -> FailoverShardResponse
-- | Create a value of FailoverShardResponse with all optional
-- fields omitted.
--
-- Use 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:FailoverShardResponse',
-- failoverShardResponse_cluster - The cluster being failed over
--
-- $sel:httpStatus:FailoverShardResponse',
-- failoverShardResponse_httpStatus - The response's http status
-- code.
newFailoverShardResponse :: Int -> FailoverShardResponse
-- | See: newListAllowedNodeTypeUpdates smart constructor.
data ListAllowedNodeTypeUpdates
ListAllowedNodeTypeUpdates' :: Text -> ListAllowedNodeTypeUpdates
-- | Create a value of ListAllowedNodeTypeUpdates with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListAllowedNodeTypeUpdates,
-- listAllowedNodeTypeUpdates_clusterName - The name of the
-- cluster you want to scale. MemoryDB uses the cluster name to identify
-- the current node type being used by this cluster, and from that to
-- create a list of node types you can scale up to.
newListAllowedNodeTypeUpdates :: Text -> ListAllowedNodeTypeUpdates
-- | See: newListAllowedNodeTypeUpdatesResponse smart
-- constructor.
data ListAllowedNodeTypeUpdatesResponse
ListAllowedNodeTypeUpdatesResponse' :: Maybe [Text] -> Maybe [Text] -> Int -> ListAllowedNodeTypeUpdatesResponse
-- | Create a value of ListAllowedNodeTypeUpdatesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:scaleDownNodeTypes:ListAllowedNodeTypeUpdatesResponse',
-- listAllowedNodeTypeUpdatesResponse_scaleDownNodeTypes - A list
-- node types which you can use to scale down your cluster.
--
-- $sel:scaleUpNodeTypes:ListAllowedNodeTypeUpdatesResponse',
-- listAllowedNodeTypeUpdatesResponse_scaleUpNodeTypes - A list
-- node types which you can use to scale up your cluster.
--
-- $sel:httpStatus:ListAllowedNodeTypeUpdatesResponse',
-- listAllowedNodeTypeUpdatesResponse_httpStatus - The response's
-- http status code.
newListAllowedNodeTypeUpdatesResponse :: Int -> ListAllowedNodeTypeUpdatesResponse
-- | See: newListTags smart constructor.
data ListTags
ListTags' :: Text -> ListTags
-- | Create a value of ListTags with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:ListTags', listTags_resourceArn - The
-- Amazon Resource Name (ARN) of the resource for which you want the list
-- of tags
newListTags :: Text -> ListTags
-- | See: newListTagsResponse smart constructor.
data ListTagsResponse
ListTagsResponse' :: Maybe [Tag] -> Int -> ListTagsResponse
-- | Create a value of ListTagsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tagList:ListTagsResponse', listTagsResponse_tagList
-- - A list of tags as key-value pairs.
--
-- $sel:httpStatus:ListTagsResponse',
-- listTagsResponse_httpStatus - The response's http status code.
newListTagsResponse :: Int -> ListTagsResponse
-- | See: newPurchaseReservedNodesOffering smart constructor.
data PurchaseReservedNodesOffering
PurchaseReservedNodesOffering' :: Maybe Int -> Maybe Text -> Maybe [Tag] -> Text -> PurchaseReservedNodesOffering
-- | Create a value of PurchaseReservedNodesOffering with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PurchaseReservedNodesOffering,
-- purchaseReservedNodesOffering_nodeCount - The number of node
-- instances to reserve.
--
-- PurchaseReservedNodesOffering,
-- purchaseReservedNodesOffering_reservationId - A
-- customer-specified identifier to track this reservation.
--
-- $sel:tags:PurchaseReservedNodesOffering',
-- purchaseReservedNodesOffering_tags - A list of tags to be added
-- to this resource. A tag is a key-value pair. A tag key must be
-- accompanied by a tag value, although null is accepted.
--
-- PurchaseReservedNodesOffering,
-- purchaseReservedNodesOffering_reservedNodesOfferingId - The ID
-- of the reserved node offering to purchase.
newPurchaseReservedNodesOffering :: Text -> PurchaseReservedNodesOffering
-- | See: newPurchaseReservedNodesOfferingResponse smart
-- constructor.
data PurchaseReservedNodesOfferingResponse
PurchaseReservedNodesOfferingResponse' :: Maybe ReservedNode -> Int -> PurchaseReservedNodesOfferingResponse
-- | Create a value of PurchaseReservedNodesOfferingResponse with
-- all optional fields omitted.
--
-- Use 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:PurchaseReservedNodesOfferingResponse',
-- purchaseReservedNodesOfferingResponse_reservedNode - Represents
-- the output of a PurchaseReservedNodesOffering operation.
--
-- $sel:httpStatus:PurchaseReservedNodesOfferingResponse',
-- purchaseReservedNodesOfferingResponse_httpStatus - The
-- response's http status code.
newPurchaseReservedNodesOfferingResponse :: Int -> PurchaseReservedNodesOfferingResponse
-- | See: newResetParameterGroup smart constructor.
data ResetParameterGroup
ResetParameterGroup' :: Maybe Bool -> Maybe [Text] -> Text -> ResetParameterGroup
-- | Create a value of ResetParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:allParameters:ResetParameterGroup',
-- resetParameterGroup_allParameters - If true, all parameters in
-- the parameter group are reset to their default values. If false, only
-- the parameters listed by ParameterNames are reset to their default
-- values.
--
-- $sel:parameterNames:ResetParameterGroup',
-- resetParameterGroup_parameterNames - An array of parameter
-- names to reset to their default values. If AllParameters is true, do
-- not use ParameterNames. If AllParameters is false, you must specify
-- the name of at least one parameter to reset.
--
-- ResetParameterGroup,
-- resetParameterGroup_parameterGroupName - The name of the
-- parameter group to reset.
newResetParameterGroup :: Text -> ResetParameterGroup
-- | See: newResetParameterGroupResponse smart constructor.
data ResetParameterGroupResponse
ResetParameterGroupResponse' :: Maybe ParameterGroup -> Int -> ResetParameterGroupResponse
-- | Create a value of ResetParameterGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterGroup:ResetParameterGroupResponse',
-- resetParameterGroupResponse_parameterGroup - The parameter
-- group being reset.
--
-- $sel:httpStatus:ResetParameterGroupResponse',
-- resetParameterGroupResponse_httpStatus - The response's http
-- status code.
newResetParameterGroupResponse :: Int -> ResetParameterGroupResponse
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> [Tag] -> TagResource
-- | Create a value of TagResource with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:TagResource', tagResource_resourceArn -
-- The Amazon Resource Name (ARN) of the resource to which the tags are
-- to be added
--
-- $sel:tags:TagResource', tagResource_tags - A list of
-- tags to be added to this resource. A tag is a key-value pair. A tag
-- key must be accompanied by a tag value, although null is accepted.
newTagResource :: Text -> TagResource
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Maybe [Tag] -> Int -> TagResourceResponse
-- | Create a value of TagResourceResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tagList:TagResourceResponse',
-- tagResourceResponse_tagList - A list of tags as key-value
-- pairs.
--
-- $sel:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> [Text] -> UntagResource
-- | Create a value of UntagResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:UntagResource',
-- untagResource_resourceArn - The Amazon Resource Name (ARN) of
-- the resource to which the tags are to be removed
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- list of keys of the tags that are to be removed
newUntagResource :: Text -> UntagResource
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Maybe [Tag] -> Int -> UntagResourceResponse
-- | Create a value of UntagResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tagList:UntagResourceResponse',
-- untagResourceResponse_tagList - The list of tags removed
--
-- $sel:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | See: newUpdateACL smart constructor.
data UpdateACL
UpdateACL' :: Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Text -> UpdateACL
-- | Create a value of UpdateACL with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateACL, updateACL_userNamesToAdd - The list of users
-- to add to the Access Control List
--
-- UpdateACL, updateACL_userNamesToRemove - The list of
-- users to remove from the Access Control List
--
-- UpdateACL, updateACL_aCLName - The name of the Access
-- Control List
newUpdateACL :: Text -> UpdateACL
-- | See: newUpdateACLResponse smart constructor.
data UpdateACLResponse
UpdateACLResponse' :: Maybe ACL -> Int -> UpdateACLResponse
-- | Create a value of UpdateACLResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:acl:UpdateACLResponse', updateACLResponse_acl - The
-- updated Access Control List
--
-- $sel:httpStatus:UpdateACLResponse',
-- updateACLResponse_httpStatus - The response's http status code.
newUpdateACLResponse :: Int -> UpdateACLResponse
-- | See: newUpdateCluster smart constructor.
data UpdateCluster
UpdateCluster' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ReplicaConfigurationRequest -> Maybe [Text] -> Maybe ShardConfigurationRequest -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> UpdateCluster
-- | Create a value of UpdateCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateCluster, updateCluster_aCLName - The Access
-- Control List that is associated with the cluster
--
-- UpdateCluster, updateCluster_description - The
-- description of the cluster to update
--
-- UpdateCluster, updateCluster_engineVersion - The
-- upgraded version of the engine to be run on the nodes. You can upgrade
-- to a newer engine version, but you cannot downgrade to an earlier
-- engine version. If you want to use an earlier engine version, you must
-- delete the existing cluster and create it anew with the earlier engine
-- version.
--
-- UpdateCluster, updateCluster_maintenanceWindow -
-- Specifies the weekly time range during which maintenance on the
-- cluster is performed. It is specified as a range in the format
-- ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
-- window is a 60 minute period.
--
-- Valid values for ddd are:
--
--
-- sun
-- mon
-- tue
-- wed
-- thu
-- fri
-- sat
--
--
-- Example: sun:23:00-mon:01:30
--
-- UpdateCluster, updateCluster_nodeType - A valid node
-- type that you want to scale this cluster up or down to.
--
-- UpdateCluster, updateCluster_parameterGroupName - The
-- name of the parameter group to update
--
-- $sel:replicaConfiguration:UpdateCluster',
-- updateCluster_replicaConfiguration - The number of replicas
-- that will reside in each shard
--
-- $sel:securityGroupIds:UpdateCluster',
-- updateCluster_securityGroupIds - The SecurityGroupIds to update
--
-- $sel:shardConfiguration:UpdateCluster',
-- updateCluster_shardConfiguration - The number of shards in the
-- cluster
--
-- UpdateCluster, updateCluster_snapshotRetentionLimit -
-- The number of days for which MemoryDB retains automatic cluster
-- snapshots before deleting them. For example, if you set
-- SnapshotRetentionLimit to 5, a snapshot that was taken today is
-- retained for 5 days before being deleted.
--
-- UpdateCluster, updateCluster_snapshotWindow - The daily
-- time range (in UTC) during which MemoryDB begins taking a daily
-- snapshot of your cluster.
--
-- UpdateCluster, updateCluster_snsTopicArn - The SNS topic
-- ARN to update
--
-- UpdateCluster, updateCluster_snsTopicStatus - The status
-- of the Amazon SNS notification topic. Notifications are sent only if
-- the status is active.
--
-- UpdateCluster, updateCluster_clusterName - The name of
-- the cluster to update
newUpdateCluster :: Text -> UpdateCluster
-- | See: newUpdateClusterResponse smart constructor.
data UpdateClusterResponse
UpdateClusterResponse' :: Maybe Cluster -> Int -> UpdateClusterResponse
-- | Create a value of UpdateClusterResponse with all optional
-- fields omitted.
--
-- Use 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:UpdateClusterResponse',
-- updateClusterResponse_cluster - The updated cluster
--
-- $sel:httpStatus:UpdateClusterResponse',
-- updateClusterResponse_httpStatus - The response's http status
-- code.
newUpdateClusterResponse :: Int -> UpdateClusterResponse
-- | See: newUpdateParameterGroup smart constructor.
data UpdateParameterGroup
UpdateParameterGroup' :: Text -> [ParameterNameValue] -> UpdateParameterGroup
-- | Create a value of UpdateParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateParameterGroup,
-- updateParameterGroup_parameterGroupName - The name of the
-- parameter group to update.
--
-- $sel:parameterNameValues:UpdateParameterGroup',
-- updateParameterGroup_parameterNameValues - An array of
-- parameter names and values for the parameter update. You must supply
-- at least one parameter name and value; subsequent arguments are
-- optional. A maximum of 20 parameters may be updated per request.
newUpdateParameterGroup :: Text -> UpdateParameterGroup
-- | See: newUpdateParameterGroupResponse smart constructor.
data UpdateParameterGroupResponse
UpdateParameterGroupResponse' :: Maybe ParameterGroup -> Int -> UpdateParameterGroupResponse
-- | Create a value of UpdateParameterGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterGroup:UpdateParameterGroupResponse',
-- updateParameterGroupResponse_parameterGroup - The updated
-- parameter group
--
-- $sel:httpStatus:UpdateParameterGroupResponse',
-- updateParameterGroupResponse_httpStatus - The response's http
-- status code.
newUpdateParameterGroupResponse :: Int -> UpdateParameterGroupResponse
-- | See: newUpdateSubnetGroup smart constructor.
data UpdateSubnetGroup
UpdateSubnetGroup' :: Maybe Text -> Maybe [Text] -> Text -> UpdateSubnetGroup
-- | Create a value of UpdateSubnetGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateSubnetGroup, updateSubnetGroup_description - A
-- description of the subnet group
--
-- $sel:subnetIds:UpdateSubnetGroup',
-- updateSubnetGroup_subnetIds - The EC2 subnet IDs for the subnet
-- group.
--
-- UpdateSubnetGroup, updateSubnetGroup_subnetGroupName -
-- The name of the subnet group
newUpdateSubnetGroup :: Text -> UpdateSubnetGroup
-- | See: newUpdateSubnetGroupResponse smart constructor.
data UpdateSubnetGroupResponse
UpdateSubnetGroupResponse' :: Maybe SubnetGroup -> Int -> UpdateSubnetGroupResponse
-- | Create a value of UpdateSubnetGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:subnetGroup:UpdateSubnetGroupResponse',
-- updateSubnetGroupResponse_subnetGroup - The updated subnet
-- group
--
-- $sel:httpStatus:UpdateSubnetGroupResponse',
-- updateSubnetGroupResponse_httpStatus - The response's http
-- status code.
newUpdateSubnetGroupResponse :: Int -> UpdateSubnetGroupResponse
-- | See: newUpdateUser smart constructor.
data UpdateUser
UpdateUser' :: Maybe Text -> Maybe AuthenticationMode -> Text -> UpdateUser
-- | Create a value of UpdateUser with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateUser, updateUser_accessString - Access permissions
-- string used for this user.
--
-- $sel:authenticationMode:UpdateUser',
-- updateUser_authenticationMode - Denotes the user's
-- authentication properties, such as whether it requires a password to
-- authenticate.
--
-- $sel:userName:UpdateUser', updateUser_userName - The
-- name of the user
newUpdateUser :: Text -> UpdateUser
-- | See: newUpdateUserResponse smart constructor.
data UpdateUserResponse
UpdateUserResponse' :: Maybe User -> Int -> UpdateUserResponse
-- | Create a value of UpdateUserResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:user:UpdateUserResponse', updateUserResponse_user -
-- The updated user
--
-- $sel:httpStatus:UpdateUserResponse',
-- updateUserResponse_httpStatus - The response's http status
-- code.
newUpdateUserResponse :: Int -> UpdateUserResponse
newtype AZStatus
AZStatus' :: Text -> AZStatus
[fromAZStatus] :: AZStatus -> Text
pattern AZStatus_Multiaz :: AZStatus
pattern AZStatus_Singleaz :: AZStatus
newtype AuthenticationType
AuthenticationType' :: Text -> AuthenticationType
[fromAuthenticationType] :: AuthenticationType -> Text
pattern AuthenticationType_No_password :: AuthenticationType
pattern AuthenticationType_Password :: AuthenticationType
newtype DataTieringStatus
DataTieringStatus' :: Text -> DataTieringStatus
[fromDataTieringStatus] :: DataTieringStatus -> Text
pattern DataTieringStatus_False :: DataTieringStatus
pattern DataTieringStatus_True :: DataTieringStatus
newtype InputAuthenticationType
InputAuthenticationType' :: Text -> InputAuthenticationType
[fromInputAuthenticationType] :: InputAuthenticationType -> Text
pattern InputAuthenticationType_Password :: InputAuthenticationType
newtype ServiceUpdateStatus
ServiceUpdateStatus' :: Text -> ServiceUpdateStatus
[fromServiceUpdateStatus] :: ServiceUpdateStatus -> Text
pattern ServiceUpdateStatus_Available :: ServiceUpdateStatus
pattern ServiceUpdateStatus_Complete :: ServiceUpdateStatus
pattern ServiceUpdateStatus_In_progress :: ServiceUpdateStatus
pattern ServiceUpdateStatus_Scheduled :: ServiceUpdateStatus
newtype ServiceUpdateType
ServiceUpdateType' :: Text -> ServiceUpdateType
[fromServiceUpdateType] :: ServiceUpdateType -> Text
pattern ServiceUpdateType_Security_update :: ServiceUpdateType
newtype SourceType
SourceType' :: Text -> SourceType
[fromSourceType] :: SourceType -> Text
pattern SourceType_Acl :: SourceType
pattern SourceType_Cluster :: SourceType
pattern SourceType_Node :: SourceType
pattern SourceType_Parameter_group :: SourceType
pattern SourceType_Subnet_group :: SourceType
pattern SourceType_User :: SourceType
-- | An Access Control List. You can authenticate users with Access Contol
-- Lists. ACLs enable you to control cluster access by grouping users.
-- These Access control lists are designed as a way to organize access to
-- clusters.
--
-- See: newACL smart constructor.
data ACL
ACL' :: Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe ACLPendingChanges -> Maybe Text -> Maybe [Text] -> ACL
-- | Create a value of ACL with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:ACL', acl_arn - The Amazon Resource Name (ARN)
-- of the ACL
--
-- $sel:clusters:ACL', acl_clusters - A list of clusters
-- associated with the ACL.
--
-- $sel:minimumEngineVersion:ACL', acl_minimumEngineVersion
-- - The minimum engine version supported for the ACL
--
-- $sel:name:ACL', acl_name - The name of the Access
-- Control List
--
-- $sel:pendingChanges:ACL', acl_pendingChanges - A list of
-- updates being applied to the ACL.
--
-- $sel:status:ACL', acl_status - Indicates ACL status. Can
-- be "creating", "active", "modifying", "deleting".
--
-- $sel:userNames:ACL', acl_userNames - The list of user
-- names that belong to the ACL.
newACL :: ACL
-- | Returns the updates being applied to the ACL.
--
-- See: newACLPendingChanges smart constructor.
data ACLPendingChanges
ACLPendingChanges' :: Maybe [Text] -> Maybe [Text] -> ACLPendingChanges
-- | Create a value of ACLPendingChanges with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:userNamesToAdd:ACLPendingChanges',
-- aCLPendingChanges_userNamesToAdd - A list of users being added
-- to the ACL
--
-- $sel:userNamesToRemove:ACLPendingChanges',
-- aCLPendingChanges_userNamesToRemove - A list of user names
-- being removed from the ACL
newACLPendingChanges :: ACLPendingChanges
-- | The status of the ACL update
--
-- See: newACLsUpdateStatus smart constructor.
data ACLsUpdateStatus
ACLsUpdateStatus' :: Maybe Text -> ACLsUpdateStatus
-- | Create a value of ACLsUpdateStatus with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCLToApply:ACLsUpdateStatus',
-- aCLsUpdateStatus_aCLToApply - A list of ACLs pending to be
-- applied.
newACLsUpdateStatus :: ACLsUpdateStatus
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate. Used in output responses.
--
-- See: newAuthentication smart constructor.
data Authentication
Authentication' :: Maybe Int -> Maybe AuthenticationType -> Authentication
-- | Create a value of Authentication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:passwordCount:Authentication',
-- authentication_passwordCount - The number of passwords
-- belonging to the user. The maximum is two.
--
-- $sel:type':Authentication', authentication_type -
-- Indicates whether the user requires a password to authenticate.
newAuthentication :: Authentication
-- | Denotes the user's authentication properties, such as whether it
-- requires a password to authenticate. Used in output responses.
--
-- See: newAuthenticationMode smart constructor.
data AuthenticationMode
AuthenticationMode' :: Maybe (NonEmpty Text) -> Maybe InputAuthenticationType -> AuthenticationMode
-- | Create a value of AuthenticationMode with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:passwords:AuthenticationMode',
-- authenticationMode_passwords - The password(s) used for
-- authentication
--
-- $sel:type':AuthenticationMode', authenticationMode_type
-- - Indicates whether the user requires a password to authenticate. All
-- newly-created users require a password.
newAuthenticationMode :: AuthenticationMode
-- | Indicates if the cluster has a Multi-AZ configuration (multiaz) or not
-- (singleaz).
--
-- See: newAvailabilityZone smart constructor.
data AvailabilityZone
AvailabilityZone' :: Maybe Text -> 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:
--
-- $sel:name:AvailabilityZone', availabilityZone_name - The
-- name of the Availability Zone.
newAvailabilityZone :: AvailabilityZone
-- | Contains all of the attributes of a specific cluster.
--
-- See: newCluster smart constructor.
data Cluster
Cluster' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe AZStatus -> Maybe Endpoint -> Maybe DataTieringStatus -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ClusterPendingUpdates -> Maybe [SecurityGroupMembership] -> Maybe [Shard] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> 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:aCLName:Cluster', cluster_aCLName - The name of the
-- Access Control List associated with this cluster.
--
-- $sel:arn:Cluster', cluster_arn - The Amazon Resource
-- Name (ARN) of the cluster.
--
-- $sel:autoMinorVersionUpgrade:Cluster',
-- cluster_autoMinorVersionUpgrade - When set to true, the cluster
-- will automatically receive minor engine version upgrades after launch.
--
-- $sel:availabilityMode:Cluster', cluster_availabilityMode
-- - Indicates if the cluster has a Multi-AZ configuration (multiaz) or
-- not (singleaz).
--
-- $sel:clusterEndpoint:Cluster', cluster_clusterEndpoint -
-- The cluster's configuration endpoint
--
-- $sel:dataTiering:Cluster', cluster_dataTiering - Enables
-- data tiering. Data tiering is only supported for clusters using the
-- r6gd node type. This parameter must be set when using r6gd nodes. For
-- more information, see Data tiering.
--
-- $sel:description:Cluster', cluster_description - A
-- description of the cluster
--
-- $sel:enginePatchVersion:Cluster',
-- cluster_enginePatchVersion - The Redis engine patch version
-- used by the cluster
--
-- $sel:engineVersion:Cluster', cluster_engineVersion - The
-- Redis engine version used by the cluster
--
-- $sel:kmsKeyId:Cluster', cluster_kmsKeyId - The ID of the
-- KMS key used to encrypt the cluster
--
-- $sel:maintenanceWindow:Cluster',
-- cluster_maintenanceWindow - Specifies the weekly time range
-- during which maintenance on the cluster is performed. It is specified
-- as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The
-- minimum maintenance window is a 60 minute period.
--
-- Cluster, cluster_name - The user-supplied name of the
-- cluster. This identifier is a unique key that identifies a cluster.
--
-- $sel:nodeType:Cluster', cluster_nodeType - The cluster's
-- node type
--
-- $sel:numberOfShards:Cluster', cluster_numberOfShards -
-- The number of shards in the cluster
--
-- $sel:parameterGroupName:Cluster',
-- cluster_parameterGroupName - The name of the parameter group
-- used by the cluster
--
-- $sel:parameterGroupStatus:Cluster',
-- cluster_parameterGroupStatus - The status of the parameter
-- group used by the cluster, for example 'active' or 'applying'.
--
-- $sel:pendingUpdates:Cluster', cluster_pendingUpdates - A
-- group of settings that are currently being applied.
--
-- $sel:securityGroups:Cluster', cluster_securityGroups - A
-- list of security groups used by the cluster
--
-- $sel:shards:Cluster', cluster_shards - A list of shards
-- that are members of the cluster.
--
-- $sel:snapshotRetentionLimit:Cluster',
-- cluster_snapshotRetentionLimit - The number of days for which
-- MemoryDB retains automatic snapshots before deleting them. For
-- example, if you set SnapshotRetentionLimit to 5, a snapshot that was
-- taken today is retained for 5 days before being deleted.
--
-- $sel:snapshotWindow:Cluster', cluster_snapshotWindow -
-- The daily time range (in UTC) during which MemoryDB begins taking a
-- daily snapshot of your shard. Example: 05:00-09:00 If you do not
-- specify this parameter, MemoryDB automatically chooses an appropriate
-- time range.
--
-- $sel:snsTopicArn:Cluster', cluster_snsTopicArn - The
-- Amazon Resource Name (ARN) of the SNS notification topic
--
-- $sel:snsTopicStatus:Cluster', cluster_snsTopicStatus -
-- The SNS topic must be in Active status to receive notifications
--
-- Cluster, cluster_status - The status of the cluster. For
-- example, Available, Updating, Creating.
--
-- $sel:subnetGroupName:Cluster', cluster_subnetGroupName -
-- The name of the subnet group used by the cluster
--
-- $sel:tLSEnabled:Cluster', cluster_tLSEnabled - A flag to
-- indicate if In-transit encryption is enabled
newCluster :: Cluster
-- | A list of cluster configuration options.
--
-- See: newClusterConfiguration smart constructor.
data ClusterConfiguration
ClusterConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Int -> Maybe [ShardDetail] -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ClusterConfiguration
-- | Create a value of ClusterConfiguration with all optional fields
-- omitted.
--
-- Use 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:ClusterConfiguration',
-- clusterConfiguration_description - The description of the
-- cluster configuration
--
-- $sel:engineVersion:ClusterConfiguration',
-- clusterConfiguration_engineVersion - The Redis engine version
-- used by the cluster
--
-- $sel:maintenanceWindow:ClusterConfiguration',
-- clusterConfiguration_maintenanceWindow - The specified
-- maintenance window for the cluster
--
-- ClusterConfiguration, clusterConfiguration_name - The
-- name of the cluster
--
-- $sel:nodeType:ClusterConfiguration',
-- clusterConfiguration_nodeType - The node type used for the
-- cluster
--
-- $sel:numShards:ClusterConfiguration',
-- clusterConfiguration_numShards - The number of shards in the
-- cluster
--
-- $sel:parameterGroupName:ClusterConfiguration',
-- clusterConfiguration_parameterGroupName - The name of parameter
-- group used by the cluster
--
-- $sel:port:ClusterConfiguration',
-- clusterConfiguration_port - The port used by the cluster
--
-- $sel:shards:ClusterConfiguration',
-- clusterConfiguration_shards - The list of shards in the cluster
--
-- $sel:snapshotRetentionLimit:ClusterConfiguration',
-- clusterConfiguration_snapshotRetentionLimit - The snapshot
-- retention limit set by the cluster
--
-- $sel:snapshotWindow:ClusterConfiguration',
-- clusterConfiguration_snapshotWindow - The snapshot window set
-- by the cluster
--
-- $sel:subnetGroupName:ClusterConfiguration',
-- clusterConfiguration_subnetGroupName - The name of the subnet
-- group used by the cluster
--
-- $sel:topicArn:ClusterConfiguration',
-- clusterConfiguration_topicArn - The Amazon Resource Name (ARN)
-- of the SNS notification topic for the cluster
--
-- $sel:vpcId:ClusterConfiguration',
-- clusterConfiguration_vpcId - The ID of the VPC the cluster
-- belongs to
newClusterConfiguration :: ClusterConfiguration
-- | A list of updates being applied to the cluster
--
-- See: newClusterPendingUpdates smart constructor.
data ClusterPendingUpdates
ClusterPendingUpdates' :: Maybe ACLsUpdateStatus -> Maybe ReshardingStatus -> Maybe [PendingModifiedServiceUpdate] -> ClusterPendingUpdates
-- | Create a value of ClusterPendingUpdates with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCLs:ClusterPendingUpdates',
-- clusterPendingUpdates_aCLs - A list of ACLs associated with the
-- cluster that are being updated
--
-- $sel:resharding:ClusterPendingUpdates',
-- clusterPendingUpdates_resharding - The status of an online
-- resharding operation.
--
-- $sel:serviceUpdates:ClusterPendingUpdates',
-- clusterPendingUpdates_serviceUpdates - A list of service
-- updates being applied to the cluster
newClusterPendingUpdates :: ClusterPendingUpdates
-- | Represents the information required for client programs to connect to
-- the cluster and its nodes.
--
-- See: newEndpoint smart constructor.
data Endpoint
Endpoint' :: Maybe Text -> Maybe Int -> 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
-- hostname of the node.
--
-- $sel:port:Endpoint', endpoint_port - The port number
-- that the engine is listening on.
newEndpoint :: Endpoint
-- | Provides details of the Redis engine version
--
-- See: newEngineVersionInfo smart constructor.
data EngineVersionInfo
EngineVersionInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> EngineVersionInfo
-- | Create a value of EngineVersionInfo with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enginePatchVersion:EngineVersionInfo',
-- engineVersionInfo_enginePatchVersion - The patched engine
-- version
--
-- $sel:engineVersion:EngineVersionInfo',
-- engineVersionInfo_engineVersion - The engine version
--
-- $sel:parameterGroupFamily:EngineVersionInfo',
-- engineVersionInfo_parameterGroupFamily - Specifies the name of
-- the parameter group family to which the engine default parameters
-- apply.
newEngineVersionInfo :: EngineVersionInfo
-- | Represents a single occurrence of something interesting within the
-- system. Some examples of events are creating a cluster or adding or
-- removing a node.
--
-- See: newEvent smart constructor.
data Event
Event' :: Maybe POSIX -> 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 when
-- the event occurred.
--
-- $sel:message:Event', event_message - The text of the
-- event.
--
-- $sel:sourceName:Event', event_sourceName - The name for
-- the source of the event. For example, if the event occurred at the
-- cluster level, the identifier would be the name of the cluster.
--
-- $sel:sourceType:Event', event_sourceType - Specifies the
-- origin of this event - a cluster, a parameter group, a security group,
-- etc.
newEvent :: Event
-- | Used to streamline results of a search based on the property being
-- filtered.
--
-- See: newFilter smart constructor.
data Filter
Filter' :: Text -> NonEmpty Text -> Filter
-- | Create a value of Filter with all optional fields omitted.
--
-- Use 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:Filter', filter_name - The property being
-- filtered. For example, UserName.
--
-- $sel:values:Filter', filter_values - The property values
-- to filter on. For example, "user-123".
newFilter :: Text -> NonEmpty Text -> Filter
-- | Represents an individual node within a cluster. Each node runs its own
-- instance of the cluster's protocol-compliant caching software.
--
-- See: newNode smart constructor.
data Node
Node' :: Maybe Text -> Maybe POSIX -> Maybe Endpoint -> Maybe Text -> Maybe Text -> Node
-- | Create a value of Node with all optional fields omitted.
--
-- Use 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:Node', node_availabilityZone - The
-- Availability Zone in which the node resides
--
-- $sel:createTime:Node', node_createTime - The date and
-- time when the node was created.
--
-- $sel:endpoint:Node', node_endpoint - The hostname for
-- connecting to this node.
--
-- $sel:name:Node', node_name - The node identifier. A node
-- name is a numeric identifier (0001, 0002, etc.). The combination of
-- cluster name, shard name and node name uniquely identifies every node
-- used in a customer's Amazon account.
--
-- $sel:status:Node', node_status - The status of the
-- service update on the node
newNode :: Node
-- | Describes an individual setting that controls some aspect of MemoryDB
-- behavior.
--
-- See: newParameter smart constructor.
data Parameter
Parameter' :: Maybe Text -> Maybe Text -> 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:dataType:Parameter', parameter_dataType - The
-- parameter's data type
--
-- $sel:description:Parameter', parameter_description - A
-- description of the parameter
--
-- $sel:minimumEngineVersion:Parameter',
-- parameter_minimumEngineVersion - The earliest engine version to
-- which the parameter can apply.
--
-- $sel:name:Parameter', parameter_name - The name of the
-- parameter
--
-- $sel:value:Parameter', parameter_value - The value of
-- the parameter
newParameter :: Parameter
-- | Represents the output of a CreateParameterGroup operation. A parameter
-- group represents a combination of specific values for the parameters
-- that are passed to the engine software during startup.
--
-- See: newParameterGroup smart constructor.
data ParameterGroup
ParameterGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> ParameterGroup
-- | Create a value of ParameterGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:ParameterGroup', parameterGroup_arn - The
-- Amazon Resource Name (ARN) of the parameter group
--
-- $sel:description:ParameterGroup',
-- parameterGroup_description - A description of the parameter
-- group
--
-- $sel:family:ParameterGroup', parameterGroup_family - The
-- name of the parameter group family that this parameter group is
-- compatible with.
--
-- $sel:name:ParameterGroup', parameterGroup_name - The
-- name of the parameter group
newParameterGroup :: ParameterGroup
-- | Describes a name-value pair that is used to update the value of a
-- parameter.
--
-- See: newParameterNameValue smart constructor.
data ParameterNameValue
ParameterNameValue' :: Maybe Text -> Maybe Text -> ParameterNameValue
-- | Create a value of ParameterNameValue with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:parameterName:ParameterNameValue',
-- parameterNameValue_parameterName - The name of the parameter
--
-- $sel:parameterValue:ParameterNameValue',
-- parameterNameValue_parameterValue - The value of the parameter
newParameterNameValue :: ParameterNameValue
-- | Update action that has yet to be processed for the corresponding
-- apply/stop request
--
-- See: newPendingModifiedServiceUpdate smart constructor.
data PendingModifiedServiceUpdate
PendingModifiedServiceUpdate' :: Maybe Text -> Maybe ServiceUpdateStatus -> PendingModifiedServiceUpdate
-- | Create a value of PendingModifiedServiceUpdate with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceUpdateName:PendingModifiedServiceUpdate',
-- pendingModifiedServiceUpdate_serviceUpdateName - The unique ID
-- of the service update
--
-- $sel:status:PendingModifiedServiceUpdate',
-- pendingModifiedServiceUpdate_status - The status of the service
-- update
newPendingModifiedServiceUpdate :: PendingModifiedServiceUpdate
-- | The recurring charge to run this reserved node.
--
-- 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 of the
-- recurring charge to run this reserved node.
--
-- $sel:recurringChargeFrequency:RecurringCharge',
-- recurringCharge_recurringChargeFrequency - The frequency of the
-- recurring price charged to run this reserved node.
newRecurringCharge :: RecurringCharge
-- | A request to configure the number of replicas in a shard
--
-- See: newReplicaConfigurationRequest smart constructor.
data ReplicaConfigurationRequest
ReplicaConfigurationRequest' :: Maybe Int -> ReplicaConfigurationRequest
-- | Create a value of ReplicaConfigurationRequest with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:replicaCount:ReplicaConfigurationRequest',
-- replicaConfigurationRequest_replicaCount - The number of
-- replicas to scale up or down to
newReplicaConfigurationRequest :: ReplicaConfigurationRequest
-- | Represents the output of a PurchaseReservedNodesOffering
-- operation.
--
-- 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 POSIX -> Maybe Text -> 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:arn:ReservedNode', reservedNode_arn - The Amazon
-- Resource Name (ARN) of the reserved node.
--
-- $sel:duration:ReservedNode', reservedNode_duration - The
-- duration of the reservation in seconds.
--
-- $sel:fixedPrice:ReservedNode', reservedNode_fixedPrice -
-- The fixed price charged for this reserved node.
--
-- $sel:nodeCount:ReservedNode', reservedNode_nodeCount -
-- The number of nodes that have been reserved.
--
-- $sel:nodeType:ReservedNode', reservedNode_nodeType - The
-- node type for the reserved nodes.
--
-- $sel:offeringType:ReservedNode',
-- reservedNode_offeringType - The offering type of this reserved
-- node.
--
-- $sel:recurringCharges:ReservedNode',
-- reservedNode_recurringCharges - The recurring price charged to
-- run this reserved node.
--
-- $sel:reservationId:ReservedNode',
-- reservedNode_reservationId - A customer-specified identifier to
-- track this reservation.
--
-- $sel:reservedNodesOfferingId:ReservedNode',
-- reservedNode_reservedNodesOfferingId - The ID of the reserved
-- node offering to purchase.
--
-- $sel:startTime:ReservedNode', reservedNode_startTime -
-- The time the reservation started.
--
-- $sel:state:ReservedNode', reservedNode_state - The state
-- of the reserved node.
newReservedNode :: ReservedNode
-- | The offering type of this node.
--
-- See: newReservedNodesOffering smart constructor.
data ReservedNodesOffering
ReservedNodesOffering' :: Maybe Int -> Maybe Double -> Maybe Text -> Maybe Text -> Maybe [RecurringCharge] -> Maybe Text -> ReservedNodesOffering
-- | Create a value of ReservedNodesOffering with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:duration:ReservedNodesOffering',
-- reservedNodesOffering_duration - The duration of the
-- reservation in seconds.
--
-- $sel:fixedPrice:ReservedNodesOffering',
-- reservedNodesOffering_fixedPrice - The fixed price charged for
-- this reserved node.
--
-- $sel:nodeType:ReservedNodesOffering',
-- reservedNodesOffering_nodeType - The node type for the reserved
-- nodes. For more information, see Supported node types.
--
-- $sel:offeringType:ReservedNodesOffering',
-- reservedNodesOffering_offeringType - The offering type of this
-- reserved node.
--
-- $sel:recurringCharges:ReservedNodesOffering',
-- reservedNodesOffering_recurringCharges - The recurring price
-- charged to run this reserved node.
--
-- $sel:reservedNodesOfferingId:ReservedNodesOffering',
-- reservedNodesOffering_reservedNodesOfferingId - The offering
-- identifier.
newReservedNodesOffering :: ReservedNodesOffering
-- | The status of the online resharding
--
-- See: newReshardingStatus smart constructor.
data ReshardingStatus
ReshardingStatus' :: Maybe SlotMigration -> ReshardingStatus
-- | Create a value of ReshardingStatus with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:slotMigration:ReshardingStatus',
-- reshardingStatus_slotMigration - The status of the online
-- resharding slot migration
newReshardingStatus :: ReshardingStatus
-- | Represents a single security group and its status.
--
-- See: newSecurityGroupMembership smart constructor.
data SecurityGroupMembership
SecurityGroupMembership' :: Maybe Text -> Maybe Text -> SecurityGroupMembership
-- | Create a value of SecurityGroupMembership with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:securityGroupId:SecurityGroupMembership',
-- securityGroupMembership_securityGroupId - The identifier of the
-- security group.
--
-- $sel:status:SecurityGroupMembership',
-- securityGroupMembership_status - The status of the security
-- group membership. The status changes whenever a security group is
-- modified, or when the security groups assigned to a cluster are
-- modified.
newSecurityGroupMembership :: SecurityGroupMembership
-- | An update that you can apply to your MemoryDB clusters.
--
-- See: newServiceUpdate smart constructor.
data ServiceUpdate
ServiceUpdate' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe ServiceUpdateStatus -> Maybe ServiceUpdateType -> ServiceUpdate
-- | Create a value of ServiceUpdate with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:autoUpdateStartDate:ServiceUpdate',
-- serviceUpdate_autoUpdateStartDate - The date at which the
-- service update will be automatically applied
--
-- $sel:clusterName:ServiceUpdate',
-- serviceUpdate_clusterName - The name of the cluster to which
-- the service update applies
--
-- $sel:description:ServiceUpdate',
-- serviceUpdate_description - Provides details of the service
-- update
--
-- $sel:nodesUpdated:ServiceUpdate',
-- serviceUpdate_nodesUpdated - A list of nodes updated by the
-- service update
--
-- $sel:releaseDate:ServiceUpdate',
-- serviceUpdate_releaseDate - The date when the service update is
-- initially available
--
-- $sel:serviceUpdateName:ServiceUpdate',
-- serviceUpdate_serviceUpdateName - The unique ID of the service
-- update
--
-- $sel:status:ServiceUpdate', serviceUpdate_status - The
-- status of the service update
--
-- $sel:type':ServiceUpdate', serviceUpdate_type - Reflects
-- the nature of the service update
newServiceUpdate :: ServiceUpdate
-- | A request to apply a service update
--
-- See: newServiceUpdateRequest smart constructor.
data ServiceUpdateRequest
ServiceUpdateRequest' :: Maybe Text -> ServiceUpdateRequest
-- | Create a value of ServiceUpdateRequest with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:serviceUpdateNameToApply:ServiceUpdateRequest',
-- serviceUpdateRequest_serviceUpdateNameToApply - The unique ID
-- of the service update
newServiceUpdateRequest :: ServiceUpdateRequest
-- | Represents a collection of nodes in a cluster. One node in the node
-- group is the read/write primary node. All the other nodes are
-- read-only Replica nodes.
--
-- See: newShard smart constructor.
data Shard
Shard' :: Maybe Text -> Maybe [Node] -> Maybe Int -> Maybe Text -> Maybe Text -> Shard
-- | Create a value of Shard with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- Shard, shard_name - The name of the shard
--
-- $sel:nodes:Shard', shard_nodes - A list containing
-- information about individual nodes within the shard
--
-- $sel:numberOfNodes:Shard', shard_numberOfNodes - The
-- number of nodes in the shard
--
-- $sel:slots:Shard', shard_slots - The keyspace for this
-- shard.
--
-- Shard, shard_status - The current state of this
-- replication group - creating, available, modifying, deleting.
newShard :: Shard
-- | Shard configuration options. Each shard configuration has the
-- following: Slots and ReplicaCount.
--
-- See: newShardConfiguration smart constructor.
data ShardConfiguration
ShardConfiguration' :: Maybe Int -> Maybe Text -> ShardConfiguration
-- | Create a value of ShardConfiguration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:replicaCount:ShardConfiguration',
-- shardConfiguration_replicaCount - The number of read replica
-- nodes in this shard.
--
-- $sel:slots:ShardConfiguration', shardConfiguration_slots
-- - A string that specifies the keyspace for a particular node group.
-- Keyspaces range from 0 to 16,383. The string is in the format
-- startkey-endkey.
newShardConfiguration :: ShardConfiguration
-- | A request to configure the sharding properties of a cluster
--
-- See: newShardConfigurationRequest smart constructor.
data ShardConfigurationRequest
ShardConfigurationRequest' :: Maybe Int -> ShardConfigurationRequest
-- | Create a value of ShardConfigurationRequest with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:shardCount:ShardConfigurationRequest',
-- shardConfigurationRequest_shardCount - The number of shards in
-- the cluster
newShardConfigurationRequest :: ShardConfigurationRequest
-- | Provides details of a shard in a snapshot
--
-- See: newShardDetail smart constructor.
data ShardDetail
ShardDetail' :: Maybe ShardConfiguration -> Maybe Text -> Maybe Text -> Maybe POSIX -> ShardDetail
-- | Create a value of ShardDetail with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:configuration:ShardDetail',
-- shardDetail_configuration - The configuration details of the
-- shard
--
-- $sel:name:ShardDetail', shardDetail_name - The name of
-- the shard
--
-- $sel:size:ShardDetail', shardDetail_size - The size of
-- the shard's snapshot
--
-- $sel:snapshotCreationTime:ShardDetail',
-- shardDetail_snapshotCreationTime - The date and time that the
-- shard's snapshot was created
newShardDetail :: ShardDetail
-- | Represents the progress of an online resharding operation.
--
-- See: newSlotMigration smart constructor.
data SlotMigration
SlotMigration' :: Maybe Double -> SlotMigration
-- | Create a value of SlotMigration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:progressPercentage:SlotMigration',
-- slotMigration_progressPercentage - The percentage of the slot
-- migration that is complete.
newSlotMigration :: SlotMigration
-- | Represents a copy of an entire cluster as of the time when the
-- snapshot was taken.
--
-- See: newSnapshot smart constructor.
data Snapshot
Snapshot' :: Maybe Text -> Maybe ClusterConfiguration -> Maybe DataTieringStatus -> Maybe Text -> Maybe Text -> Maybe Text -> 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:arn:Snapshot', snapshot_arn - The ARN (Amazon
-- Resource Name) of the snapshot.
--
-- $sel:clusterConfiguration:Snapshot',
-- snapshot_clusterConfiguration - The configuration of the
-- cluster from which the snapshot was taken
--
-- $sel:dataTiering:Snapshot', snapshot_dataTiering -
-- Enables data tiering. Data tiering is only supported for clusters
-- using the r6gd node type. This parameter must be set when using r6gd
-- nodes. For more information, see Data tiering.
--
-- $sel:kmsKeyId:Snapshot', snapshot_kmsKeyId - The ID of
-- the KMS key used to encrypt the snapshot.
--
-- Snapshot, snapshot_name - The name of the snapshot
--
-- $sel:source:Snapshot', snapshot_source - Indicates
-- whether the snapshot is from an automatic backup (automated) or was
-- created manually (manual).
--
-- $sel:status:Snapshot', snapshot_status - The status of
-- the snapshot. Valid values: creating | available | restoring | copying
-- | deleting.
newSnapshot :: Snapshot
-- | Represents the subnet associated with a cluster. This parameter refers
-- to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and
-- used with MemoryDB.
--
-- See: newSubnet smart constructor.
data Subnet
Subnet' :: Maybe AvailabilityZone -> 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:availabilityZone:Subnet', subnet_availabilityZone -
-- The Availability Zone where the subnet resides
--
-- $sel:identifier:Subnet', subnet_identifier - The unique
-- identifier for the subnet.
newSubnet :: Subnet
-- | Represents the output of one of the following operations:
--
--
-- - CreateSubnetGroup
-- - UpdateSubnetGroup
--
--
-- A subnet group is a collection of subnets (typically private) that you
-- can designate for your clusters running in an Amazon Virtual Private
-- Cloud (VPC) environment.
--
-- See: newSubnetGroup smart constructor.
data SubnetGroup
SubnetGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Subnet] -> Maybe Text -> SubnetGroup
-- | Create a value of SubnetGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:SubnetGroup', subnetGroup_arn - The ARN (Amazon
-- Resource Name) of the subnet group.
--
-- $sel:description:SubnetGroup', subnetGroup_description -
-- A description of the subnet group
--
-- $sel:name:SubnetGroup', subnetGroup_name - The name of
-- the subnet group
--
-- $sel:subnets:SubnetGroup', subnetGroup_subnets - A list
-- of subnets associated with the subnet group.
--
-- $sel:vpcId:SubnetGroup', subnetGroup_vpcId - The Amazon
-- Virtual Private Cloud identifier (VPC ID) of the subnet group.
newSubnetGroup :: SubnetGroup
-- | A tag that can be added to an MemoryDB resource. Tags are composed of
-- a Key/Value pair. You can use tags to categorize and track all your
-- MemoryDB resources. When you add or remove tags on clusters, those
-- actions will be replicated to all nodes in the cluster. A tag with a
-- null Value is permitted. For more information, see Tagging your
-- MemoryDB resources
--
-- 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 for the tag. May not be
-- null.
--
-- $sel:value:Tag', tag_value - The tag's value. May be
-- null.
newTag :: Tag
-- | A cluster whose updates have failed
--
-- See: newUnprocessedCluster smart constructor.
data UnprocessedCluster
UnprocessedCluster' :: Maybe Text -> Maybe Text -> Maybe Text -> UnprocessedCluster
-- | Create a value of UnprocessedCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterName:UnprocessedCluster',
-- unprocessedCluster_clusterName - The name of the cluster
--
-- $sel:errorMessage:UnprocessedCluster',
-- unprocessedCluster_errorMessage - The error message associated
-- with the update failure
--
-- $sel:errorType:UnprocessedCluster',
-- unprocessedCluster_errorType - The error type associated with
-- the update failure
newUnprocessedCluster :: UnprocessedCluster
-- | You create users and assign them specific permissions by using an
-- access string. You assign the users to Access Control Lists aligned
-- with a specific role (administrators, human resources) that are then
-- deployed to one or more MemoryDB clusters.
--
-- See: newUser smart constructor.
data User
User' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Authentication -> Maybe Text -> Maybe Text -> Maybe Text -> User
-- | Create a value of User with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:aCLNames:User', user_aCLNames - The names of the
-- Access Control Lists to which the user belongs
--
-- $sel:arn:User', user_arn - The Amazon Resource Name
-- (ARN) of the user.
--
-- $sel:accessString:User', user_accessString - Access
-- permissions string used for this user.
--
-- $sel:authentication:User', user_authentication - Denotes
-- whether the user requires a password to authenticate.
--
-- $sel:minimumEngineVersion:User',
-- user_minimumEngineVersion - The minimum engine version
-- supported for the user
--
-- $sel:name:User', user_name - The name of the user
--
-- $sel:status:User', user_status - Indicates the user
-- status. Can be "active", "modifying" or "deleting".
newUser :: User