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 |
Updates an existing 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_recoveryGroupName :: Lens' UpdateRecoveryGroupResponse (Maybe Text)
- updateRecoveryGroupResponse_recoveryGroupArn :: Lens' UpdateRecoveryGroupResponse (Maybe Text)
- updateRecoveryGroupResponse_tags :: Lens' UpdateRecoveryGroupResponse (Maybe (HashMap Text Text))
- updateRecoveryGroupResponse_httpStatus :: Lens' UpdateRecoveryGroupResponse Int
Creating a Request
data UpdateRecoveryGroup Source #
Parameters to update for the RecoveryGroup
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:
$sel:recoveryGroupName:UpdateRecoveryGroup'
, updateRecoveryGroup_recoveryGroupName
- The RecoveryGroup to update
$sel:cells:UpdateRecoveryGroup'
, updateRecoveryGroup_cells
- A list of Cell arns, completely replaces previous list
Request Lenses
updateRecoveryGroup_recoveryGroupName :: Lens' UpdateRecoveryGroup Text Source #
The RecoveryGroup to update
updateRecoveryGroup_cells :: Lens' UpdateRecoveryGroup [Text] Source #
A list of Cell arns, completely replaces previous list
Destructuring the Response
data UpdateRecoveryGroupResponse Source #
See: newUpdateRecoveryGroupResponse
smart constructor.
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:
$sel:cells:UpdateRecoveryGroup'
, updateRecoveryGroupResponse_cells
- A list of Cell arns
$sel:recoveryGroupName:UpdateRecoveryGroup'
, updateRecoveryGroupResponse_recoveryGroupName
- The name of the RecoveryGroup
$sel:recoveryGroupArn:UpdateRecoveryGroupResponse'
, updateRecoveryGroupResponse_recoveryGroupArn
- The arn for the RecoveryGroup
$sel:tags:UpdateRecoveryGroupResponse'
, updateRecoveryGroupResponse_tags
- Undocumented member.
$sel:httpStatus:UpdateRecoveryGroupResponse'
, updateRecoveryGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateRecoveryGroupResponse_cells :: Lens' UpdateRecoveryGroupResponse (Maybe [Text]) Source #
A list of Cell arns
updateRecoveryGroupResponse_recoveryGroupName :: Lens' UpdateRecoveryGroupResponse (Maybe Text) Source #
The name of the RecoveryGroup
updateRecoveryGroupResponse_recoveryGroupArn :: Lens' UpdateRecoveryGroupResponse (Maybe Text) Source #
The arn for the RecoveryGroup
updateRecoveryGroupResponse_tags :: Lens' UpdateRecoveryGroupResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
updateRecoveryGroupResponse_httpStatus :: Lens' UpdateRecoveryGroupResponse Int Source #
The response's http status code.