| 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.Route53RecoveryReadiness.UpdateCell
Description
Updates a cell to replace the list of nested cells with a new list of nested cells.
Synopsis
- data UpdateCell = UpdateCell' {}
- newUpdateCell :: Text -> UpdateCell
- updateCell_cellName :: Lens' UpdateCell Text
- updateCell_cells :: Lens' UpdateCell [Text]
- data UpdateCellResponse = UpdateCellResponse' {}
- newUpdateCellResponse :: Int -> UpdateCellResponse
- updateCellResponse_cellArn :: Lens' UpdateCellResponse (Maybe Text)
- updateCellResponse_cellName :: Lens' UpdateCellResponse (Maybe Text)
- updateCellResponse_cells :: Lens' UpdateCellResponse (Maybe [Text])
- updateCellResponse_parentReadinessScopes :: Lens' UpdateCellResponse (Maybe [Text])
- updateCellResponse_tags :: Lens' UpdateCellResponse (Maybe (HashMap Text Text))
- updateCellResponse_httpStatus :: Lens' UpdateCellResponse Int
Creating a Request
data UpdateCell Source #
See: newUpdateCell smart constructor.
Constructors
| UpdateCell' | |
Instances
Arguments
| :: Text | |
| -> UpdateCell |
Create a value of UpdateCell 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:
UpdateCell, updateCell_cellName - The name of the cell.
UpdateCell, updateCell_cells - A list of cell Amazon Resource Names (ARNs), which completely replaces
the previous list.
Request Lenses
updateCell_cellName :: Lens' UpdateCell Text Source #
The name of the cell.
updateCell_cells :: Lens' UpdateCell [Text] Source #
A list of cell Amazon Resource Names (ARNs), which completely replaces the previous list.
Destructuring the Response
data UpdateCellResponse Source #
See: newUpdateCellResponse smart constructor.
Constructors
| UpdateCellResponse' | |
Fields
| |
Instances
newUpdateCellResponse Source #
Arguments
| :: Int | |
| -> UpdateCellResponse |
Create a value of UpdateCellResponse 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:
UpdateCellResponse, updateCellResponse_cellArn - The Amazon Resource Name (ARN) for the cell.
UpdateCell, updateCellResponse_cellName - The name of the cell.
UpdateCell, updateCellResponse_cells - A list of cell ARNs.
UpdateCellResponse, updateCellResponse_parentReadinessScopes - The readiness scope for the cell, which can be a cell Amazon Resource
Name (ARN) or a recovery group ARN. This is a list but currently can
have only one element.
UpdateCellResponse, updateCellResponse_tags - Tags on the resources.
$sel:httpStatus:UpdateCellResponse', updateCellResponse_httpStatus - The response's http status code.
Response Lenses
updateCellResponse_cellArn :: Lens' UpdateCellResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the cell.
updateCellResponse_cellName :: Lens' UpdateCellResponse (Maybe Text) Source #
The name of the cell.
updateCellResponse_cells :: Lens' UpdateCellResponse (Maybe [Text]) Source #
A list of cell ARNs.
updateCellResponse_parentReadinessScopes :: Lens' UpdateCellResponse (Maybe [Text]) Source #
The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element.
updateCellResponse_tags :: Lens' UpdateCellResponse (Maybe (HashMap Text Text)) Source #
Tags on the resources.
updateCellResponse_httpStatus :: Lens' UpdateCellResponse Int Source #
The response's http status code.