Struct aws_sdk_ec2::input::GetCoipPoolUsageInput
source · #[non_exhaustive]pub struct GetCoipPoolUsageInput { /* private fields */ }
Implementations§
source§impl GetCoipPoolUsageInput
impl GetCoipPoolUsageInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetCoipPoolUsage, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetCoipPoolUsage, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetCoipPoolUsage
>
Examples found in repository?
src/client.rs (line 57460)
57446 57447 57448 57449 57450 57451 57452 57453 57454 57455 57456 57457 57458 57459 57460 57461 57462 57463 57464 57465 57466 57467 57468 57469 57470 57471 57472 57473 57474 57475 57476 57477 57478 57479 57480 57481 57482 57483 57484 57485 57486 57487 57488
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetCoipPoolUsage,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetCoipPoolUsageError>,
> {
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::GetCoipPoolUsageOutput,
aws_smithy_http::result::SdkError<crate::error::GetCoipPoolUsageError>,
> {
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 GetCoipPoolUsageInput
.
source§impl GetCoipPoolUsageInput
impl GetCoipPoolUsageInput
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
One or more filters.
-
coip-address-usage.allocation-id
- The allocation ID of the address. -
coip-address-usage.aws-account-id
- The ID of the Amazon Web Services account that is using the customer-owned IP address. -
coip-address-usage.aws-service
- The Amazon Web Services service that is using the customer-owned IP address. -
coip-address-usage.co-ip
- The customer-owned IP address.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next page of results.
Trait Implementations§
source§impl Clone for GetCoipPoolUsageInput
impl Clone for GetCoipPoolUsageInput
source§fn clone(&self) -> GetCoipPoolUsageInput
fn clone(&self) -> GetCoipPoolUsageInput
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