Skip to main content

aws_sdk_interconnect/client/
update_connection.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 [`UpdateConnection`](crate::operation::update_connection::builders::UpdateConnectionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::update_connection::builders::UpdateConnectionFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_connection::builders::UpdateConnectionFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the <code>Connection</code> that should be updated.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::update_connection::builders::UpdateConnectionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_connection::builders::UpdateConnectionFluentBuilder::set_description):<br>required: **false**<br><p>An updated description to apply to the <code>Connection</code></p><br>
8    ///   - [`bandwidth(impl Into<String>)`](crate::operation::update_connection::builders::UpdateConnectionFluentBuilder::bandwidth) / [`set_bandwidth(Option<String>)`](crate::operation::update_connection::builders::UpdateConnectionFluentBuilder::set_bandwidth):<br>required: **false**<br><p>Request a new bandwidth size on the given <code>Connection</code>.</p> <p>Note that changes to the size may be subject to additional policy, and does require the remote partner provider to acknowledge and permit this new bandwidth size.</p><br>
9    ///   - [`client_token(impl Into<String>)`](crate::operation::update_connection::builders::UpdateConnectionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_connection::builders::UpdateConnectionFluentBuilder::set_client_token):<br>required: **false**<br><p>Idempotency token used for the request.</p><br>
10    /// - On success, responds with [`UpdateConnectionOutput`](crate::operation::update_connection::UpdateConnectionOutput) with field(s):
11    ///   - [`connection(Option<Connection>)`](crate::operation::update_connection::UpdateConnectionOutput::connection): <p>The resulting updated <code>Connection</code></p>
12    /// - On failure, responds with [`SdkError<UpdateConnectionError>`](crate::operation::update_connection::UpdateConnectionError)
13    pub fn update_connection(&self) -> crate::operation::update_connection::builders::UpdateConnectionFluentBuilder {
14        crate::operation::update_connection::builders::UpdateConnectionFluentBuilder::new(self.handle.clone())
15    }
16}