Struct aws_sdk_ec2::input::CreateCoipCidrInput
source · #[non_exhaustive]pub struct CreateCoipCidrInput { /* private fields */ }
Implementations§
source§impl CreateCoipCidrInput
impl CreateCoipCidrInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCoipCidr, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCoipCidr, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateCoipCidr
>
Examples found in repository?
src/client.rs (line 15182)
15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateCoipCidr,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateCoipCidrError>,
> {
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::CreateCoipCidrOutput,
aws_smithy_http::result::SdkError<crate::error::CreateCoipCidrError>,
> {
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 CreateCoipCidrInput
.
source§impl CreateCoipCidrInput
impl CreateCoipCidrInput
sourcepub fn coip_pool_id(&self) -> Option<&str>
pub fn coip_pool_id(&self) -> Option<&str>
The ID of the address pool.
Trait Implementations§
source§impl Clone for CreateCoipCidrInput
impl Clone for CreateCoipCidrInput
source§fn clone(&self) -> CreateCoipCidrInput
fn clone(&self) -> CreateCoipCidrInput
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