aws_sdk_route53recoveryreadiness/client/
create_cell.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`CreateCell`](crate::operation::create_cell::builders::CreateCellFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cell_name(impl Into<String>)`](crate::operation::create_cell::builders::CreateCellFluentBuilder::cell_name) / [`set_cell_name(Option<String>)`](crate::operation::create_cell::builders::CreateCellFluentBuilder::set_cell_name):<br>required: **true**<br><p>The name of the cell to create.</p><br>
7    ///   - [`cells(impl Into<String>)`](crate::operation::create_cell::builders::CreateCellFluentBuilder::cells) / [`set_cells(Option<Vec::<String>>)`](crate::operation::create_cell::builders::CreateCellFluentBuilder::set_cells):<br>required: **false**<br><p>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.</p><br>
8    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_cell::builders::CreateCellFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_cell::builders::CreateCellFluentBuilder::set_tags):<br>required: **false**<br><p>A collection of tags associated with a resource.</p><br>
9    /// - On success, responds with [`CreateCellOutput`](crate::operation::create_cell::CreateCellOutput) with field(s):
10    ///   - [`cell_arn(Option<String>)`](crate::operation::create_cell::CreateCellOutput::cell_arn): <p>The Amazon Resource Name (ARN) for the cell.</p>
11    ///   - [`cell_name(Option<String>)`](crate::operation::create_cell::CreateCellOutput::cell_name): <p>The name of the cell.</p>
12    ///   - [`cells(Option<Vec::<String>>)`](crate::operation::create_cell::CreateCellOutput::cells): <p>A list of cell ARNs.</p>
13    ///   - [`parent_readiness_scopes(Option<Vec::<String>>)`](crate::operation::create_cell::CreateCellOutput::parent_readiness_scopes): <p>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.</p>
14    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_cell::CreateCellOutput::tags): <p>Tags on the resources.</p>
15    /// - On failure, responds with [`SdkError<CreateCellError>`](crate::operation::create_cell::CreateCellError)
16    pub fn create_cell(&self) -> crate::operation::create_cell::builders::CreateCellFluentBuilder {
17        crate::operation::create_cell::builders::CreateCellFluentBuilder::new(self.handle.clone())
18    }
19}