Struct aws_sdk_ec2::input::ModifyIpamInput
source · #[non_exhaustive]pub struct ModifyIpamInput { /* private fields */ }
Implementations§
source§impl ModifyIpamInput
impl ModifyIpamInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIpam, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIpam, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyIpam
>
Examples found in repository?
65822 65823 65824 65825 65826 65827 65828 65829 65830 65831 65832 65833 65834 65835 65836 65837 65838 65839 65840 65841 65842 65843 65844 65845 65846 65847 65848 65849 65850 65851 65852 65853 65854 65855 65856 65857 65858 65859 65860 65861 65862 65863 65864
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyIpam,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyIpamError>,
> {
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::ModifyIpamOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyIpamError>,
> {
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 ModifyIpamInput
.
source§impl ModifyIpamInput
impl ModifyIpamInput
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 description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the IPAM you want to modify.
sourcepub fn add_operating_regions(&self) -> Option<&[AddIpamOperatingRegion]>
pub fn add_operating_regions(&self) -> Option<&[AddIpamOperatingRegion]>
Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
sourcepub fn remove_operating_regions(&self) -> Option<&[RemoveIpamOperatingRegion]>
pub fn remove_operating_regions(&self) -> Option<&[RemoveIpamOperatingRegion]>
The operating Regions to remove.
Trait Implementations§
source§impl Clone for ModifyIpamInput
impl Clone for ModifyIpamInput
source§fn clone(&self) -> ModifyIpamInput
fn clone(&self) -> ModifyIpamInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more