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 |
Creates a cell in an account.
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_cellArn :: Lens' CreateCellResponse (Maybe Text)
- createCellResponse_cellName :: Lens' CreateCellResponse (Maybe Text)
- createCellResponse_cells :: Lens' CreateCellResponse (Maybe [Text])
- createCellResponse_parentReadinessScopes :: Lens' CreateCellResponse (Maybe [Text])
- createCellResponse_tags :: Lens' CreateCellResponse (Maybe (HashMap Text Text))
- createCellResponse_httpStatus :: Lens' CreateCellResponse Int
Creating a Request
data CreateCell Source #
See: newCreateCell
smart constructor.
Instances
:: 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:
CreateCell
, createCell_cells
- A list of cell Amazon Resource Names (ARNs) contained within this cell,
for use in nested cells. For example, Availability Zones within specific
Amazon Web Services Regions.
CreateCell
, createCell_tags
- Undocumented member.
CreateCell
, createCell_cellName
- The name of the cell to create.
Request Lenses
createCell_cells :: Lens' CreateCell (Maybe [Text]) Source #
A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. For example, Availability Zones within specific Amazon Web Services Regions.
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.
CreateCellResponse' | |
|
Instances
newCreateCellResponse Source #
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:
CreateCellResponse
, createCellResponse_cellArn
- The Amazon Resource Name (ARN) for the cell.
CreateCell
, createCellResponse_cellName
- The name of the cell.
CreateCell
, createCellResponse_cells
- A list of cell ARNs.
CreateCellResponse
, createCellResponse_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.
CreateCell
, createCellResponse_tags
- Tags on the resources.
$sel:httpStatus:CreateCellResponse'
, createCellResponse_httpStatus
- The response's http status code.
Response Lenses
createCellResponse_cellArn :: Lens' CreateCellResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the cell.
createCellResponse_cellName :: Lens' CreateCellResponse (Maybe Text) Source #
The name of the cell.
createCellResponse_cells :: Lens' CreateCellResponse (Maybe [Text]) Source #
A list of cell ARNs.
createCellResponse_parentReadinessScopes :: Lens' CreateCellResponse (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.
createCellResponse_tags :: Lens' CreateCellResponse (Maybe (HashMap Text Text)) Source #
Tags on the resources.
createCellResponse_httpStatus :: Lens' CreateCellResponse Int Source #
The response's http status code.