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 |
Add or delete Regions from your replication set.
Synopsis
- data UpdateReplicationSet = UpdateReplicationSet' {}
- newUpdateReplicationSet :: NonEmpty UpdateReplicationSetAction -> Text -> UpdateReplicationSet
- updateReplicationSet_clientToken :: Lens' UpdateReplicationSet (Maybe Text)
- updateReplicationSet_actions :: Lens' UpdateReplicationSet (NonEmpty UpdateReplicationSetAction)
- updateReplicationSet_arn :: Lens' UpdateReplicationSet Text
- data UpdateReplicationSetResponse = UpdateReplicationSetResponse' {
- httpStatus :: Int
- newUpdateReplicationSetResponse :: Int -> UpdateReplicationSetResponse
- updateReplicationSetResponse_httpStatus :: Lens' UpdateReplicationSetResponse Int
Creating a Request
data UpdateReplicationSet Source #
See: newUpdateReplicationSet
smart constructor.
UpdateReplicationSet' | |
|
Instances
newUpdateReplicationSet Source #
Create a value of UpdateReplicationSet
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:UpdateReplicationSet'
, updateReplicationSet_clientToken
- A token ensuring that the action is called only once with the specified
details.
$sel:actions:UpdateReplicationSet'
, updateReplicationSet_actions
- An action to add or delete a Region.
$sel:arn:UpdateReplicationSet'
, updateReplicationSet_arn
- The Amazon Resource Name (ARN) of the replication set you're updating.
Request Lenses
updateReplicationSet_clientToken :: Lens' UpdateReplicationSet (Maybe Text) Source #
A token ensuring that the action is called only once with the specified details.
updateReplicationSet_actions :: Lens' UpdateReplicationSet (NonEmpty UpdateReplicationSetAction) Source #
An action to add or delete a Region.
updateReplicationSet_arn :: Lens' UpdateReplicationSet Text Source #
The Amazon Resource Name (ARN) of the replication set you're updating.
Destructuring the Response
data UpdateReplicationSetResponse Source #
See: newUpdateReplicationSetResponse
smart constructor.
UpdateReplicationSetResponse' | |
|
Instances
newUpdateReplicationSetResponse Source #
Create a value of UpdateReplicationSetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateReplicationSetResponse'
, updateReplicationSetResponse_httpStatus
- The response's http status code.
Response Lenses
updateReplicationSetResponse_httpStatus :: Lens' UpdateReplicationSetResponse Int Source #
The response's http status code.