aws_sdk_ec2/client/disassociate_route_server.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 [`DisassociateRouteServer`](crate::operation::disassociate_route_server::builders::DisassociateRouteServerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`route_server_id(impl Into<String>)`](crate::operation::disassociate_route_server::builders::DisassociateRouteServerFluentBuilder::route_server_id) / [`set_route_server_id(Option<String>)`](crate::operation::disassociate_route_server::builders::DisassociateRouteServerFluentBuilder::set_route_server_id):<br>required: **true**<br><p>The ID of the route server to disassociate.</p><br>
7 /// - [`vpc_id(impl Into<String>)`](crate::operation::disassociate_route_server::builders::DisassociateRouteServerFluentBuilder::vpc_id) / [`set_vpc_id(Option<String>)`](crate::operation::disassociate_route_server::builders::DisassociateRouteServerFluentBuilder::set_vpc_id):<br>required: **true**<br><p>The ID of the VPC to disassociate from the route server.</p><br>
8 /// - [`dry_run(bool)`](crate::operation::disassociate_route_server::builders::DisassociateRouteServerFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::disassociate_route_server::builders::DisassociateRouteServerFluentBuilder::set_dry_run):<br>required: **false**<br><p>A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
9 /// - On success, responds with [`DisassociateRouteServerOutput`](crate::operation::disassociate_route_server::DisassociateRouteServerOutput) with field(s):
10 /// - [`route_server_association(Option<RouteServerAssociation>)`](crate::operation::disassociate_route_server::DisassociateRouteServerOutput::route_server_association): <p>Information about the disassociated route server.</p>
11 /// - On failure, responds with [`SdkError<DisassociateRouteServerError>`](crate::operation::disassociate_route_server::DisassociateRouteServerError)
12 pub fn disassociate_route_server(&self) -> crate::operation::disassociate_route_server::builders::DisassociateRouteServerFluentBuilder {
13 crate::operation::disassociate_route_server::builders::DisassociateRouteServerFluentBuilder::new(self.handle.clone())
14 }
15}