#[non_exhaustive]pub struct EnableIpamOrganizationAdminAccountInput { /* private fields */ }
Implementations§
source§impl EnableIpamOrganizationAdminAccountInput
impl EnableIpamOrganizationAdminAccountInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableIpamOrganizationAdminAccount, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableIpamOrganizationAdminAccount, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<EnableIpamOrganizationAdminAccount
>
Examples found in repository?
src/client.rs (line 56043)
56027 56028 56029 56030 56031 56032 56033 56034 56035 56036 56037 56038 56039 56040 56041 56042 56043 56044 56045 56046 56047 56048 56049 56050 56051 56052 56053 56054 56055 56056 56057 56058 56059 56060 56061 56062 56063 56064 56065 56066 56067 56068 56069 56070 56071 56072 56073
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::EnableIpamOrganizationAdminAccount,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::EnableIpamOrganizationAdminAccountError,
>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::EnableIpamOrganizationAdminAccountOutput,
aws_smithy_http::result::SdkError<
crate::error::EnableIpamOrganizationAdminAccountError,
>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EnableIpamOrganizationAdminAccountInput
.
source§impl EnableIpamOrganizationAdminAccountInput
impl EnableIpamOrganizationAdminAccountInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
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 DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn delegated_admin_account_id(&self) -> Option<&str>
pub fn delegated_admin_account_id(&self) -> Option<&str>
The Organizations member account ID that you want to enable as the IPAM account.
Trait Implementations§
source§impl Clone for EnableIpamOrganizationAdminAccountInput
impl Clone for EnableIpamOrganizationAdminAccountInput
source§fn clone(&self) -> EnableIpamOrganizationAdminAccountInput
fn clone(&self) -> EnableIpamOrganizationAdminAccountInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more