#[non_exhaustive]pub struct DisableIpamOrganizationAdminAccountInput { /* private fields */ }
Implementations§
source§impl DisableIpamOrganizationAdminAccountInput
impl DisableIpamOrganizationAdminAccountInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableIpamOrganizationAdminAccount, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableIpamOrganizationAdminAccount, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisableIpamOrganizationAdminAccount
>
Examples found in repository?
src/client.rs (line 53897)
53881 53882 53883 53884 53885 53886 53887 53888 53889 53890 53891 53892 53893 53894 53895 53896 53897 53898 53899 53900 53901 53902 53903 53904 53905 53906 53907 53908 53909 53910 53911 53912 53913 53914 53915 53916 53917 53918 53919 53920 53921 53922 53923 53924 53925 53926 53927
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisableIpamOrganizationAdminAccount,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DisableIpamOrganizationAdminAccountError,
>,
> {
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::DisableIpamOrganizationAdminAccountOutput,
aws_smithy_http::result::SdkError<
crate::error::DisableIpamOrganizationAdminAccountError,
>,
> {
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 DisableIpamOrganizationAdminAccountInput
.
source§impl DisableIpamOrganizationAdminAccountInput
impl DisableIpamOrganizationAdminAccountInput
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 disable as IPAM account.
Trait Implementations§
source§impl Clone for DisableIpamOrganizationAdminAccountInput
impl Clone for DisableIpamOrganizationAdminAccountInput
source§fn clone(&self) -> DisableIpamOrganizationAdminAccountInput
fn clone(&self) -> DisableIpamOrganizationAdminAccountInput
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