aws_sdk_inspector2/client/get_delegated_admin_account.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 [`GetDelegatedAdminAccount`](crate::operation::get_delegated_admin_account::builders::GetDelegatedAdminAccountFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::get_delegated_admin_account::builders::GetDelegatedAdminAccountFluentBuilder::send) it.
6 /// - On success, responds with [`GetDelegatedAdminAccountOutput`](crate::operation::get_delegated_admin_account::GetDelegatedAdminAccountOutput) with field(s):
7 /// - [`delegated_admin(Option<DelegatedAdmin>)`](crate::operation::get_delegated_admin_account::GetDelegatedAdminAccountOutput::delegated_admin): <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator.</p>
8 /// - On failure, responds with [`SdkError<GetDelegatedAdminAccountError>`](crate::operation::get_delegated_admin_account::GetDelegatedAdminAccountError)
9 pub fn get_delegated_admin_account(&self) -> crate::operation::get_delegated_admin_account::builders::GetDelegatedAdminAccountFluentBuilder {
10 crate::operation::get_delegated_admin_account::builders::GetDelegatedAdminAccountFluentBuilder::new(self.handle.clone())
11 }
12}