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 |
Updates a recovery group.
Synopsis
- data UpdateRecoveryGroup = UpdateRecoveryGroup' {
- recoveryGroupName :: Text
- cells :: [Text]
- newUpdateRecoveryGroup :: Text -> UpdateRecoveryGroup
- updateRecoveryGroup_recoveryGroupName :: Lens' UpdateRecoveryGroup Text
- updateRecoveryGroup_cells :: Lens' UpdateRecoveryGroup [Text]
- data UpdateRecoveryGroupResponse = UpdateRecoveryGroupResponse' {}
- newUpdateRecoveryGroupResponse :: Int -> UpdateRecoveryGroupResponse
- updateRecoveryGroupResponse_cells :: Lens' UpdateRecoveryGroupResponse (Maybe [Text])
- updateRecoveryGroupResponse_recoveryGroupArn :: Lens' UpdateRecoveryGroupResponse (Maybe Text)
- updateRecoveryGroupResponse_recoveryGroupName :: Lens' UpdateRecoveryGroupResponse (Maybe Text)
- updateRecoveryGroupResponse_tags :: Lens' UpdateRecoveryGroupResponse (Maybe (HashMap Text Text))
- updateRecoveryGroupResponse_httpStatus :: Lens' UpdateRecoveryGroupResponse Int
Creating a Request
data UpdateRecoveryGroup Source #
Name of a recovery group.
See: newUpdateRecoveryGroup
smart constructor.
UpdateRecoveryGroup' | |
|
Instances
newUpdateRecoveryGroup Source #
Create a value of UpdateRecoveryGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateRecoveryGroup
, updateRecoveryGroup_recoveryGroupName
- The name of a recovery group.
UpdateRecoveryGroup
, updateRecoveryGroup_cells
- A list of cell Amazon Resource Names (ARNs). This list completely
replaces the previous list.
Request Lenses
updateRecoveryGroup_recoveryGroupName :: Lens' UpdateRecoveryGroup Text Source #
The name of a recovery group.
updateRecoveryGroup_cells :: Lens' UpdateRecoveryGroup [Text] Source #
A list of cell Amazon Resource Names (ARNs). This list completely replaces the previous list.
Destructuring the Response
data UpdateRecoveryGroupResponse Source #
See: newUpdateRecoveryGroupResponse
smart constructor.
UpdateRecoveryGroupResponse' | |
|
Instances
newUpdateRecoveryGroupResponse Source #
Create a value of UpdateRecoveryGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateRecoveryGroup
, updateRecoveryGroupResponse_cells
- A list of a cell's Amazon Resource Names (ARNs).
UpdateRecoveryGroupResponse
, updateRecoveryGroupResponse_recoveryGroupArn
- The Amazon Resource Name (ARN) for the recovery group.
UpdateRecoveryGroup
, updateRecoveryGroupResponse_recoveryGroupName
- The name of the recovery group.
UpdateRecoveryGroupResponse
, updateRecoveryGroupResponse_tags
- The tags associated with the recovery group.
$sel:httpStatus:UpdateRecoveryGroupResponse'
, updateRecoveryGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateRecoveryGroupResponse_cells :: Lens' UpdateRecoveryGroupResponse (Maybe [Text]) Source #
A list of a cell's Amazon Resource Names (ARNs).
updateRecoveryGroupResponse_recoveryGroupArn :: Lens' UpdateRecoveryGroupResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the recovery group.
updateRecoveryGroupResponse_recoveryGroupName :: Lens' UpdateRecoveryGroupResponse (Maybe Text) Source #
The name of the recovery group.
updateRecoveryGroupResponse_tags :: Lens' UpdateRecoveryGroupResponse (Maybe (HashMap Text Text)) Source #
The tags associated with the recovery group.
updateRecoveryGroupResponse_httpStatus :: Lens' UpdateRecoveryGroupResponse Int Source #
The response's http status code.