aws_sdk_inspector2/client/enable_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 [`EnableDelegatedAdminAccount`](crate::operation::enable_delegated_admin_account::builders::EnableDelegatedAdminAccountFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`delegated_admin_account_id(impl Into<String>)`](crate::operation::enable_delegated_admin_account::builders::EnableDelegatedAdminAccountFluentBuilder::delegated_admin_account_id) / [`set_delegated_admin_account_id(Option<String>)`](crate::operation::enable_delegated_admin_account::builders::EnableDelegatedAdminAccountFluentBuilder::set_delegated_admin_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator.</p><br>
7 /// - [`client_token(impl Into<String>)`](crate::operation::enable_delegated_admin_account::builders::EnableDelegatedAdminAccountFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::enable_delegated_admin_account::builders::EnableDelegatedAdminAccountFluentBuilder::set_client_token):<br>required: **false**<br><p>The idempotency token for the request.</p><br>
8 /// - On success, responds with [`EnableDelegatedAdminAccountOutput`](crate::operation::enable_delegated_admin_account::EnableDelegatedAdminAccountOutput) with field(s):
9 /// - [`delegated_admin_account_id(String)`](crate::operation::enable_delegated_admin_account::EnableDelegatedAdminAccountOutput::delegated_admin_account_id): <p>The Amazon Web Services account ID of the successfully Amazon Inspector delegated administrator.</p>
10 /// - On failure, responds with [`SdkError<EnableDelegatedAdminAccountError>`](crate::operation::enable_delegated_admin_account::EnableDelegatedAdminAccountError)
11 pub fn enable_delegated_admin_account(
12 &self,
13 ) -> crate::operation::enable_delegated_admin_account::builders::EnableDelegatedAdminAccountFluentBuilder {
14 crate::operation::enable_delegated_admin_account::builders::EnableDelegatedAdminAccountFluentBuilder::new(self.handle.clone())
15 }
16}