aws_sdk_workspaces/client/
get_account_link.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 [`GetAccountLink`](crate::operation::get_account_link::builders::GetAccountLinkFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`link_id(impl Into<String>)`](crate::operation::get_account_link::builders::GetAccountLinkFluentBuilder::link_id) / [`set_link_id(Option<String>)`](crate::operation::get_account_link::builders::GetAccountLinkFluentBuilder::set_link_id):<br>required: **false**<br><p>The identifier of the account to link.</p><br>
7    ///   - [`linked_account_id(impl Into<String>)`](crate::operation::get_account_link::builders::GetAccountLinkFluentBuilder::linked_account_id) / [`set_linked_account_id(Option<String>)`](crate::operation::get_account_link::builders::GetAccountLinkFluentBuilder::set_linked_account_id):<br>required: **false**<br><p>The identifier of the account link</p><br>
8    /// - On success, responds with [`GetAccountLinkOutput`](crate::operation::get_account_link::GetAccountLinkOutput) with field(s):
9    ///   - [`account_link(Option<AccountLink>)`](crate::operation::get_account_link::GetAccountLinkOutput::account_link): <p>The account link of the account link to retrieve.</p>
10    /// - On failure, responds with [`SdkError<GetAccountLinkError>`](crate::operation::get_account_link::GetAccountLinkError)
11    pub fn get_account_link(&self) -> crate::operation::get_account_link::builders::GetAccountLinkFluentBuilder {
12        crate::operation::get_account_link::builders::GetAccountLinkFluentBuilder::new(self.handle.clone())
13    }
14}