Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Modifies the settings for a Global datastore.
Synopsis
- data ModifyGlobalReplicationGroup = ModifyGlobalReplicationGroup' {}
- newModifyGlobalReplicationGroup :: Text -> Bool -> ModifyGlobalReplicationGroup
- modifyGlobalReplicationGroup_automaticFailoverEnabled :: Lens' ModifyGlobalReplicationGroup (Maybe Bool)
- modifyGlobalReplicationGroup_engineVersion :: Lens' ModifyGlobalReplicationGroup (Maybe Text)
- modifyGlobalReplicationGroup_cacheNodeType :: Lens' ModifyGlobalReplicationGroup (Maybe Text)
- modifyGlobalReplicationGroup_cacheParameterGroupName :: Lens' ModifyGlobalReplicationGroup (Maybe Text)
- modifyGlobalReplicationGroup_globalReplicationGroupDescription :: Lens' ModifyGlobalReplicationGroup (Maybe Text)
- modifyGlobalReplicationGroup_globalReplicationGroupId :: Lens' ModifyGlobalReplicationGroup Text
- modifyGlobalReplicationGroup_applyImmediately :: Lens' ModifyGlobalReplicationGroup Bool
- data ModifyGlobalReplicationGroupResponse = ModifyGlobalReplicationGroupResponse' {}
- newModifyGlobalReplicationGroupResponse :: Int -> ModifyGlobalReplicationGroupResponse
- modifyGlobalReplicationGroupResponse_globalReplicationGroup :: Lens' ModifyGlobalReplicationGroupResponse (Maybe GlobalReplicationGroup)
- modifyGlobalReplicationGroupResponse_httpStatus :: Lens' ModifyGlobalReplicationGroupResponse Int
Creating a Request
data ModifyGlobalReplicationGroup Source #
See: newModifyGlobalReplicationGroup
smart constructor.
ModifyGlobalReplicationGroup' | |
|
Instances
newModifyGlobalReplicationGroup Source #
:: Text | |
-> Bool | |
-> ModifyGlobalReplicationGroup |
Create a value of ModifyGlobalReplicationGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:automaticFailoverEnabled:ModifyGlobalReplicationGroup'
, modifyGlobalReplicationGroup_automaticFailoverEnabled
- Determines whether a read replica is automatically promoted to
read/write primary if the existing primary encounters a failure.
$sel:engineVersion:ModifyGlobalReplicationGroup'
, modifyGlobalReplicationGroup_engineVersion
- The upgraded version of the cache engine to be run on the clusters in
the Global datastore.
$sel:cacheNodeType:ModifyGlobalReplicationGroup'
, modifyGlobalReplicationGroup_cacheNodeType
- A valid cache node type that you want to scale this Global datastore to.
$sel:cacheParameterGroupName:ModifyGlobalReplicationGroup'
, modifyGlobalReplicationGroup_cacheParameterGroupName
- The name of the cache parameter group to use with the Global datastore.
It must be compatible with the major engine version used by the Global
datastore.
$sel:globalReplicationGroupDescription:ModifyGlobalReplicationGroup'
, modifyGlobalReplicationGroup_globalReplicationGroupDescription
- A description of the Global datastore
$sel:globalReplicationGroupId:ModifyGlobalReplicationGroup'
, modifyGlobalReplicationGroup_globalReplicationGroupId
- The name of the Global datastore
$sel:applyImmediately:ModifyGlobalReplicationGroup'
, modifyGlobalReplicationGroup_applyImmediately
- This parameter causes the modifications in this request and any pending
modifications to be applied, asynchronously and as soon as possible.
Modifications to Global Replication Groups cannot be requested to be
applied in PreferredMaintenceWindow.
Request Lenses
modifyGlobalReplicationGroup_automaticFailoverEnabled :: Lens' ModifyGlobalReplicationGroup (Maybe Bool) Source #
Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.
modifyGlobalReplicationGroup_engineVersion :: Lens' ModifyGlobalReplicationGroup (Maybe Text) Source #
The upgraded version of the cache engine to be run on the clusters in the Global datastore.
modifyGlobalReplicationGroup_cacheNodeType :: Lens' ModifyGlobalReplicationGroup (Maybe Text) Source #
A valid cache node type that you want to scale this Global datastore to.
modifyGlobalReplicationGroup_cacheParameterGroupName :: Lens' ModifyGlobalReplicationGroup (Maybe Text) Source #
The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
modifyGlobalReplicationGroup_globalReplicationGroupDescription :: Lens' ModifyGlobalReplicationGroup (Maybe Text) Source #
A description of the Global datastore
modifyGlobalReplicationGroup_globalReplicationGroupId :: Lens' ModifyGlobalReplicationGroup Text Source #
The name of the Global datastore
modifyGlobalReplicationGroup_applyImmediately :: Lens' ModifyGlobalReplicationGroup Bool Source #
This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.
Destructuring the Response
data ModifyGlobalReplicationGroupResponse Source #
See: newModifyGlobalReplicationGroupResponse
smart constructor.
ModifyGlobalReplicationGroupResponse' | |
|
Instances
newModifyGlobalReplicationGroupResponse Source #
Create a value of ModifyGlobalReplicationGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:globalReplicationGroup:ModifyGlobalReplicationGroupResponse'
, modifyGlobalReplicationGroupResponse_globalReplicationGroup
- Undocumented member.
$sel:httpStatus:ModifyGlobalReplicationGroupResponse'
, modifyGlobalReplicationGroupResponse_httpStatus
- The response's http status code.
Response Lenses
modifyGlobalReplicationGroupResponse_globalReplicationGroup :: Lens' ModifyGlobalReplicationGroupResponse (Maybe GlobalReplicationGroup) Source #
Undocumented member.
modifyGlobalReplicationGroupResponse_httpStatus :: Lens' ModifyGlobalReplicationGroupResponse Int Source #
The response's http status code.