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 |
Redistribute slots to ensure uniform distribution across existing shards in the cluster.
Synopsis
- data RebalanceSlotsInGlobalReplicationGroup = RebalanceSlotsInGlobalReplicationGroup' {}
- newRebalanceSlotsInGlobalReplicationGroup :: Text -> Bool -> RebalanceSlotsInGlobalReplicationGroup
- rebalanceSlotsInGlobalReplicationGroup_globalReplicationGroupId :: Lens' RebalanceSlotsInGlobalReplicationGroup Text
- rebalanceSlotsInGlobalReplicationGroup_applyImmediately :: Lens' RebalanceSlotsInGlobalReplicationGroup Bool
- data RebalanceSlotsInGlobalReplicationGroupResponse = RebalanceSlotsInGlobalReplicationGroupResponse' {}
- newRebalanceSlotsInGlobalReplicationGroupResponse :: Int -> RebalanceSlotsInGlobalReplicationGroupResponse
- rebalanceSlotsInGlobalReplicationGroupResponse_globalReplicationGroup :: Lens' RebalanceSlotsInGlobalReplicationGroupResponse (Maybe GlobalReplicationGroup)
- rebalanceSlotsInGlobalReplicationGroupResponse_httpStatus :: Lens' RebalanceSlotsInGlobalReplicationGroupResponse Int
Creating a Request
data RebalanceSlotsInGlobalReplicationGroup Source #
See: newRebalanceSlotsInGlobalReplicationGroup
smart constructor.
RebalanceSlotsInGlobalReplicationGroup' | |
|
Instances
newRebalanceSlotsInGlobalReplicationGroup Source #
:: Text |
|
-> Bool |
|
-> RebalanceSlotsInGlobalReplicationGroup |
Create a value of RebalanceSlotsInGlobalReplicationGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:globalReplicationGroupId:RebalanceSlotsInGlobalReplicationGroup'
, rebalanceSlotsInGlobalReplicationGroup_globalReplicationGroupId
- The name of the Global datastore
$sel:applyImmediately:RebalanceSlotsInGlobalReplicationGroup'
, rebalanceSlotsInGlobalReplicationGroup_applyImmediately
- If True
, redistribution is applied immediately.
Request Lenses
rebalanceSlotsInGlobalReplicationGroup_globalReplicationGroupId :: Lens' RebalanceSlotsInGlobalReplicationGroup Text Source #
The name of the Global datastore
rebalanceSlotsInGlobalReplicationGroup_applyImmediately :: Lens' RebalanceSlotsInGlobalReplicationGroup Bool Source #
If True
, redistribution is applied immediately.
Destructuring the Response
data RebalanceSlotsInGlobalReplicationGroupResponse Source #
See: newRebalanceSlotsInGlobalReplicationGroupResponse
smart constructor.
RebalanceSlotsInGlobalReplicationGroupResponse' | |
|
Instances
newRebalanceSlotsInGlobalReplicationGroupResponse Source #
:: Int |
|
-> RebalanceSlotsInGlobalReplicationGroupResponse |
Create a value of RebalanceSlotsInGlobalReplicationGroupResponse
with all optional fields omitted.
Use 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:RebalanceSlotsInGlobalReplicationGroupResponse'
, rebalanceSlotsInGlobalReplicationGroupResponse_globalReplicationGroup
- Undocumented member.
$sel:httpStatus:RebalanceSlotsInGlobalReplicationGroupResponse'
, rebalanceSlotsInGlobalReplicationGroupResponse_httpStatus
- The response's http status code.
Response Lenses
rebalanceSlotsInGlobalReplicationGroupResponse_globalReplicationGroup :: Lens' RebalanceSlotsInGlobalReplicationGroupResponse (Maybe GlobalReplicationGroup) Source #
Undocumented member.
rebalanceSlotsInGlobalReplicationGroupResponse_httpStatus :: Lens' RebalanceSlotsInGlobalReplicationGroupResponse Int Source #
The response's http status code.