aws_sdk_networkmanager/client/create_direct_connect_gateway_attachment.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 [`CreateDirectConnectGatewayAttachment`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`core_network_id(impl Into<String>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::core_network_id) / [`set_core_network_id(Option<String>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::set_core_network_id):<br>required: **true**<br><p>The ID of the Cloud WAN core network that the Direct Connect gateway attachment should be attached to.</p><br>
7 /// - [`direct_connect_gateway_arn(impl Into<String>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::direct_connect_gateway_arn) / [`set_direct_connect_gateway_arn(Option<String>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::set_direct_connect_gateway_arn):<br>required: **true**<br><p>The ARN of the Direct Connect gateway attachment.</p><br>
8 /// - [`routing_policy_label(impl Into<String>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::routing_policy_label) / [`set_routing_policy_label(Option<String>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::set_routing_policy_label):<br>required: **false**<br><p>The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions.</p><br>
9 /// - [`edge_locations(impl Into<String>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::edge_locations) / [`set_edge_locations(Option<Vec::<String>>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::set_edge_locations):<br>required: **true**<br><p>One or more core network edge locations that the Direct Connect gateway attachment is associated with.</p><br>
10 /// - [`tags(Tag)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::set_tags):<br>required: **false**<br><p>The key value tags to apply to the Direct Connect gateway attachment during creation.</p><br>
11 /// - [`client_token(impl Into<String>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::set_client_token):<br>required: **false**<br><p>client token</p><br>
12 /// - On success, responds with [`CreateDirectConnectGatewayAttachmentOutput`](crate::operation::create_direct_connect_gateway_attachment::CreateDirectConnectGatewayAttachmentOutput) with field(s):
13 /// - [`direct_connect_gateway_attachment(Option<DirectConnectGatewayAttachment>)`](crate::operation::create_direct_connect_gateway_attachment::CreateDirectConnectGatewayAttachmentOutput::direct_connect_gateway_attachment): <p>Describes the details of a <code>CreateDirectConnectGatewayAttachment</code> request.</p>
14 /// - On failure, responds with [`SdkError<CreateDirectConnectGatewayAttachmentError>`](crate::operation::create_direct_connect_gateway_attachment::CreateDirectConnectGatewayAttachmentError)
15 pub fn create_direct_connect_gateway_attachment(
16 &self,
17 ) -> crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder {
18 crate::operation::create_direct_connect_gateway_attachment::builders::CreateDirectConnectGatewayAttachmentFluentBuilder::new(
19 self.handle.clone(),
20 )
21 }
22}