| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSMIncidents.UpdateReplicationSet
Description
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.
Constructors
| UpdateReplicationSet' | |
Fields
| |
Instances
newUpdateReplicationSet Source #
Arguments
| :: NonEmpty UpdateReplicationSetAction | |
| -> Text | |
| -> UpdateReplicationSet |
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 that ensures that the operation is called only once with the
specified details.
$sel:actions:UpdateReplicationSet', updateReplicationSet_actions - An action to add or delete a Region.
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 that ensures that the operation 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.
Constructors
| UpdateReplicationSetResponse' | |
Fields
| |
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.