aws_sdk_medialive/client/update_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 [`UpdateNode`](crate::operation::update_node::builders::UpdateNodeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster_id(impl Into<String>)`](crate::operation::update_node::builders::UpdateNodeFluentBuilder::cluster_id) / [`set_cluster_id(Option<String>)`](crate::operation::update_node::builders::UpdateNodeFluentBuilder::set_cluster_id):<br>required: **true**<br>The ID of the cluster<br>
7 /// - [`name(impl Into<String>)`](crate::operation::update_node::builders::UpdateNodeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_node::builders::UpdateNodeFluentBuilder::set_name):<br>required: **false**<br>Include this parameter only if you want to change the current name of the Node. Specify a name that is unique in the Cluster. You can't change the name. Names are case-sensitive.<br>
8 /// - [`node_id(impl Into<String>)`](crate::operation::update_node::builders::UpdateNodeFluentBuilder::node_id) / [`set_node_id(Option<String>)`](crate::operation::update_node::builders::UpdateNodeFluentBuilder::set_node_id):<br>required: **true**<br>The ID of the node.<br>
9 /// - [`role(NodeRole)`](crate::operation::update_node::builders::UpdateNodeFluentBuilder::role) / [`set_role(Option<NodeRole>)`](crate::operation::update_node::builders::UpdateNodeFluentBuilder::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>
10 /// - [`sdi_source_mappings(SdiSourceMappingUpdateRequest)`](crate::operation::update_node::builders::UpdateNodeFluentBuilder::sdi_source_mappings) / [`set_sdi_source_mappings(Option<Vec::<SdiSourceMappingUpdateRequest>>)`](crate::operation::update_node::builders::UpdateNodeFluentBuilder::set_sdi_source_mappings):<br>required: **false**<br>The mappings of a SDI capture card port to a logical SDI data stream<br>
11 /// - On success, responds with [`UpdateNodeOutput`](crate::operation::update_node::UpdateNodeOutput) with field(s):
12 /// - [`arn(Option<String>)`](crate::operation::update_node::UpdateNodeOutput::arn): The ARN of the Node. It is automatically assigned when the Node is created.
13 /// - [`channel_placement_groups(Option<Vec::<String>>)`](crate::operation::update_node::UpdateNodeOutput::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.
14 /// - [`cluster_id(Option<String>)`](crate::operation::update_node::UpdateNodeOutput::cluster_id): The ID of the Cluster that the Node belongs to.
15 /// - [`connection_state(Option<NodeConnectionState>)`](crate::operation::update_node::UpdateNodeOutput::connection_state): The current connection state of the Node.
16 /// - [`id(Option<String>)`](crate::operation::update_node::UpdateNodeOutput::id): The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN.
17 /// - [`instance_arn(Option<String>)`](crate::operation::update_node::UpdateNodeOutput::instance_arn): The ARN of the EC2 instance hosting the Node.
18 /// - [`name(Option<String>)`](crate::operation::update_node::UpdateNodeOutput::name): The name that you specified for the Node.
19 /// - [`node_interface_mappings(Option<Vec::<NodeInterfaceMapping>>)`](crate::operation::update_node::UpdateNodeOutput::node_interface_mappings): Documentation update needed
20 /// - [`role(Option<NodeRole>)`](crate::operation::update_node::UpdateNodeOutput::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.
21 /// - [`state(Option<NodeState>)`](crate::operation::update_node::UpdateNodeOutput::state): The current state of the Node.
22 /// - [`sdi_source_mappings(Option<Vec::<SdiSourceMapping>>)`](crate::operation::update_node::UpdateNodeOutput::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.
23 /// - On failure, responds with [`SdkError<UpdateNodeError>`](crate::operation::update_node::UpdateNodeError)
24 pub fn update_node(&self) -> crate::operation::update_node::builders::UpdateNodeFluentBuilder {
25 crate::operation::update_node::builders::UpdateNodeFluentBuilder::new(self.handle.clone())
26 }
27}