| 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 |
Amazonka.Route53RecoveryReadiness.CreateCell
Description
Creates a new Cell.
Synopsis
- data CreateCell = CreateCell' {}
- newCreateCell :: Text -> CreateCell
- createCell_cells :: Lens' CreateCell (Maybe [Text])
- createCell_tags :: Lens' CreateCell (Maybe (HashMap Text Text))
- createCell_cellName :: Lens' CreateCell Text
- data CreateCellResponse = CreateCellResponse' {}
- newCreateCellResponse :: Int -> CreateCellResponse
- createCellResponse_cells :: Lens' CreateCellResponse (Maybe [Text])
- createCellResponse_parentReadinessScopes :: Lens' CreateCellResponse (Maybe [Text])
- createCellResponse_cellName :: Lens' CreateCellResponse (Maybe Text)
- createCellResponse_cellArn :: Lens' CreateCellResponse (Maybe Text)
- createCellResponse_tags :: Lens' CreateCellResponse (Maybe (HashMap Text Text))
- createCellResponse_httpStatus :: Lens' CreateCellResponse Int
Creating a Request
data CreateCell Source #
The Cell to create
See: newCreateCell smart constructor.
Constructors
| CreateCell' | |
Instances
Arguments
| :: Text | |
| -> CreateCell |
Create a value of CreateCell 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:CreateCell', createCell_cells - A list of Cell arns contained within this Cell (for use in nested Cells,
e.g. regions within which AZs)
$sel:tags:CreateCell', createCell_tags - Undocumented member.
$sel:cellName:CreateCell', createCell_cellName - The name of the Cell to create
Request Lenses
createCell_cells :: Lens' CreateCell (Maybe [Text]) Source #
A list of Cell arns contained within this Cell (for use in nested Cells, e.g. regions within which AZs)
createCell_tags :: Lens' CreateCell (Maybe (HashMap Text Text)) Source #
Undocumented member.
createCell_cellName :: Lens' CreateCell Text Source #
The name of the Cell to create
Destructuring the Response
data CreateCellResponse Source #
See: newCreateCellResponse smart constructor.
Constructors
| CreateCellResponse' | |
Instances
newCreateCellResponse Source #
Arguments
| :: Int | |
| -> CreateCellResponse |
Create a value of CreateCellResponse 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:CreateCell', createCellResponse_cells - A list of Cell arns
$sel:parentReadinessScopes:CreateCellResponse', createCellResponse_parentReadinessScopes - A list of Cell ARNs and/or RecoveryGroup ARNs
$sel:cellName:CreateCell', createCellResponse_cellName - The name of the Cell
$sel:cellArn:CreateCellResponse', createCellResponse_cellArn - The arn for the Cell
$sel:tags:CreateCell', createCellResponse_tags - Undocumented member.
$sel:httpStatus:CreateCellResponse', createCellResponse_httpStatus - The response's http status code.
Response Lenses
createCellResponse_cells :: Lens' CreateCellResponse (Maybe [Text]) Source #
A list of Cell arns
createCellResponse_parentReadinessScopes :: Lens' CreateCellResponse (Maybe [Text]) Source #
A list of Cell ARNs and/or RecoveryGroup ARNs
createCellResponse_cellName :: Lens' CreateCellResponse (Maybe Text) Source #
The name of the Cell
createCellResponse_cellArn :: Lens' CreateCellResponse (Maybe Text) Source #
The arn for the Cell
createCellResponse_tags :: Lens' CreateCellResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
createCellResponse_httpStatus :: Lens' CreateCellResponse Int Source #
The response's http status code.