aws_sdk_networkmanager/client/put_attachment_routing_policy_label.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 [`PutAttachmentRoutingPolicyLabel`](crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`core_network_id(impl Into<String>)`](crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder::core_network_id) / [`set_core_network_id(Option<String>)`](crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder::set_core_network_id):<br>required: **true**<br><p>The ID of the core network containing the attachment.</p><br>
7 /// - [`attachment_id(impl Into<String>)`](crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder::attachment_id) / [`set_attachment_id(Option<String>)`](crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder::set_attachment_id):<br>required: **true**<br><p>The ID of the attachment to apply the routing policy label to.</p><br>
8 /// - [`routing_policy_label(impl Into<String>)`](crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder::routing_policy_label) / [`set_routing_policy_label(Option<String>)`](crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder::set_routing_policy_label):<br>required: **true**<br><p>The routing policy label to apply to the attachment.</p><br>
9 /// - [`client_token(impl Into<String>)`](crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
10 /// - On success, responds with [`PutAttachmentRoutingPolicyLabelOutput`](crate::operation::put_attachment_routing_policy_label::PutAttachmentRoutingPolicyLabelOutput) with field(s):
11 /// - [`core_network_id(Option<String>)`](crate::operation::put_attachment_routing_policy_label::PutAttachmentRoutingPolicyLabelOutput::core_network_id): <p>The ID of the core network containing the attachment.</p>
12 /// - [`attachment_id(Option<String>)`](crate::operation::put_attachment_routing_policy_label::PutAttachmentRoutingPolicyLabelOutput::attachment_id): <p>The ID of the attachment that received the routing policy label.</p>
13 /// - [`routing_policy_label(Option<String>)`](crate::operation::put_attachment_routing_policy_label::PutAttachmentRoutingPolicyLabelOutput::routing_policy_label): <p>The routing policy label that was applied to the attachment.</p>
14 /// - On failure, responds with [`SdkError<PutAttachmentRoutingPolicyLabelError>`](crate::operation::put_attachment_routing_policy_label::PutAttachmentRoutingPolicyLabelError)
15 pub fn put_attachment_routing_policy_label(
16 &self,
17 ) -> crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder {
18 crate::operation::put_attachment_routing_policy_label::builders::PutAttachmentRoutingPolicyLabelFluentBuilder::new(self.handle.clone())
19 }
20}