Struct aws_sdk_ec2::input::ProvisionByoipCidrInput
source · #[non_exhaustive]pub struct ProvisionByoipCidrInput { /* private fields */ }
Implementations§
source§impl ProvisionByoipCidrInput
impl ProvisionByoipCidrInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ProvisionByoipCidr, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ProvisionByoipCidr, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ProvisionByoipCidr
>
Examples found in repository?
71102 71103 71104 71105 71106 71107 71108 71109 71110 71111 71112 71113 71114 71115 71116 71117 71118 71119 71120 71121 71122 71123 71124 71125 71126 71127 71128 71129 71130 71131 71132 71133 71134 71135 71136 71137 71138 71139 71140 71141 71142 71143 71144
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ProvisionByoipCidr,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ProvisionByoipCidrError>,
> {
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::ProvisionByoipCidrOutput,
aws_smithy_http::result::SdkError<crate::error::ProvisionByoipCidrError>,
> {
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 ProvisionByoipCidrInput
.
source§impl ProvisionByoipCidrInput
impl ProvisionByoipCidrInput
sourcepub fn cidr(&self) -> Option<&str>
pub fn cidr(&self) -> Option<&str>
The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address range that you've brought to this or another Region.
A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
sourcepub fn publicly_advertisable(&self) -> Option<bool>
pub fn publicly_advertisable(&self) -> Option<bool>
(IPv6 only) Indicate whether the address range will be publicly advertised to the internet.
Default: true
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the address range and the address pool.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks 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 pool_tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn pool_tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the address pool.
sourcepub fn multi_region(&self) -> Option<bool>
pub fn multi_region(&self) -> Option<bool>
Reserved.
Trait Implementations§
source§impl Clone for ProvisionByoipCidrInput
impl Clone for ProvisionByoipCidrInput
source§fn clone(&self) -> ProvisionByoipCidrInput
fn clone(&self) -> ProvisionByoipCidrInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more