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 |
Creates a new Recovery Group.
Synopsis
- data CreateRecoveryGroup = CreateRecoveryGroup' {}
- newCreateRecoveryGroup :: Text -> CreateRecoveryGroup
- createRecoveryGroup_cells :: Lens' CreateRecoveryGroup (Maybe [Text])
- createRecoveryGroup_tags :: Lens' CreateRecoveryGroup (Maybe (HashMap Text Text))
- createRecoveryGroup_recoveryGroupName :: Lens' CreateRecoveryGroup Text
- data CreateRecoveryGroupResponse = CreateRecoveryGroupResponse' {}
- newCreateRecoveryGroupResponse :: Int -> CreateRecoveryGroupResponse
- createRecoveryGroupResponse_cells :: Lens' CreateRecoveryGroupResponse (Maybe [Text])
- createRecoveryGroupResponse_recoveryGroupName :: Lens' CreateRecoveryGroupResponse (Maybe Text)
- createRecoveryGroupResponse_recoveryGroupArn :: Lens' CreateRecoveryGroupResponse (Maybe Text)
- createRecoveryGroupResponse_tags :: Lens' CreateRecoveryGroupResponse (Maybe (HashMap Text Text))
- createRecoveryGroupResponse_httpStatus :: Lens' CreateRecoveryGroupResponse Int
Creating a Request
data CreateRecoveryGroup Source #
The RecoveryGroup to create
See: newCreateRecoveryGroup
smart constructor.
Instances
newCreateRecoveryGroup Source #
Create a value of CreateRecoveryGroup
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:CreateRecoveryGroup'
, createRecoveryGroup_cells
- A list of Cell arns
$sel:tags:CreateRecoveryGroup'
, createRecoveryGroup_tags
- Undocumented member.
$sel:recoveryGroupName:CreateRecoveryGroup'
, createRecoveryGroup_recoveryGroupName
- The name of the RecoveryGroup to create
Request Lenses
createRecoveryGroup_cells :: Lens' CreateRecoveryGroup (Maybe [Text]) Source #
A list of Cell arns
createRecoveryGroup_tags :: Lens' CreateRecoveryGroup (Maybe (HashMap Text Text)) Source #
Undocumented member.
createRecoveryGroup_recoveryGroupName :: Lens' CreateRecoveryGroup Text Source #
The name of the RecoveryGroup to create
Destructuring the Response
data CreateRecoveryGroupResponse Source #
See: newCreateRecoveryGroupResponse
smart constructor.
Instances
newCreateRecoveryGroupResponse Source #
Create a value of CreateRecoveryGroupResponse
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:CreateRecoveryGroup'
, createRecoveryGroupResponse_cells
- A list of Cell arns
$sel:recoveryGroupName:CreateRecoveryGroup'
, createRecoveryGroupResponse_recoveryGroupName
- The name of the RecoveryGroup
$sel:recoveryGroupArn:CreateRecoveryGroupResponse'
, createRecoveryGroupResponse_recoveryGroupArn
- The arn for the RecoveryGroup
$sel:tags:CreateRecoveryGroup'
, createRecoveryGroupResponse_tags
- Undocumented member.
$sel:httpStatus:CreateRecoveryGroupResponse'
, createRecoveryGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createRecoveryGroupResponse_cells :: Lens' CreateRecoveryGroupResponse (Maybe [Text]) Source #
A list of Cell arns
createRecoveryGroupResponse_recoveryGroupName :: Lens' CreateRecoveryGroupResponse (Maybe Text) Source #
The name of the RecoveryGroup
createRecoveryGroupResponse_recoveryGroupArn :: Lens' CreateRecoveryGroupResponse (Maybe Text) Source #
The arn for the RecoveryGroup
createRecoveryGroupResponse_tags :: Lens' CreateRecoveryGroupResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
createRecoveryGroupResponse_httpStatus :: Lens' CreateRecoveryGroupResponse Int Source #
The response's http status code.