aws_sdk_medialive/client/create_node.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 [`CreateNode`](crate::operation::create_node::builders::CreateNodeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster_id(impl Into<String>)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::cluster_id) / [`set_cluster_id(Option<String>)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::set_cluster_id):<br>required: **true**<br>The ID of the cluster.<br>
7 /// - [`name(impl Into<String>)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::set_name):<br>required: **false**<br>The user-specified name of the Node to be created.<br>
8 /// - [`node_interface_mappings(NodeInterfaceMappingCreateRequest)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::node_interface_mappings) / [`set_node_interface_mappings(Option<Vec::<NodeInterfaceMappingCreateRequest>>)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::set_node_interface_mappings):<br>required: **false**<br>Documentation update needed<br>
9 /// - [`request_id(impl Into<String>)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::request_id) / [`set_request_id(Option<String>)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::set_request_id):<br>required: **false**<br>An ID that you assign to a create request. This ID ensures idempotency when creating resources.<br>
10 /// - [`role(NodeRole)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::role) / [`set_role(Option<NodeRole>)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::set_role):<br>required: **false**<br>The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.<br>
11 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_node::builders::CreateNodeFluentBuilder::set_tags):<br>required: **false**<br>A collection of key-value pairs.<br>
12 /// - On success, responds with [`CreateNodeOutput`](crate::operation::create_node::CreateNodeOutput) with field(s):
13 /// - [`arn(Option<String>)`](crate::operation::create_node::CreateNodeOutput::arn): The ARN of the Node. It is automatically assigned when the Node is created.
14 /// - [`channel_placement_groups(Option<Vec::<String>>)`](crate::operation::create_node::CreateNodeOutput::channel_placement_groups): An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups.
15 /// - [`cluster_id(Option<String>)`](crate::operation::create_node::CreateNodeOutput::cluster_id): The ID of the Cluster that the Node belongs to.
16 /// - [`connection_state(Option<NodeConnectionState>)`](crate::operation::create_node::CreateNodeOutput::connection_state): The current connection state of the Node.
17 /// - [`id(Option<String>)`](crate::operation::create_node::CreateNodeOutput::id): The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN.
18 /// - [`instance_arn(Option<String>)`](crate::operation::create_node::CreateNodeOutput::instance_arn): The ARN of the EC2 instance hosting the Node.
19 /// - [`name(Option<String>)`](crate::operation::create_node::CreateNodeOutput::name): The name that you specified for the Node.
20 /// - [`node_interface_mappings(Option<Vec::<NodeInterfaceMapping>>)`](crate::operation::create_node::CreateNodeOutput::node_interface_mappings): Documentation update needed
21 /// - [`role(Option<NodeRole>)`](crate::operation::create_node::CreateNodeOutput::role): The initial role current role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.
22 /// - [`state(Option<NodeState>)`](crate::operation::create_node::CreateNodeOutput::state): The current state of the Node.
23 /// - [`sdi_source_mappings(Option<Vec::<SdiSourceMapping>>)`](crate::operation::create_node::CreateNodeOutput::sdi_source_mappings): An array of SDI source mappings. Each mapping connects one logical SdiSource to the physical SDI card and port that the physical SDI source uses.
24 /// - On failure, responds with [`SdkError<CreateNodeError>`](crate::operation::create_node::CreateNodeError)
25 pub fn create_node(&self) -> crate::operation::create_node::builders::CreateNodeFluentBuilder {
26 crate::operation::create_node::builders::CreateNodeFluentBuilder::new(self.handle.clone())
27 }
28}