#[non_exhaustive]pub struct DescribeIpRestrictionInput { /* private fields */ }Implementations§
source§impl DescribeIpRestrictionInput
impl DescribeIpRestrictionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeIpRestriction, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeIpRestriction, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeIpRestriction>
Examples found in repository?
src/client.rs (line 8138)
8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeIpRestriction,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeIpRestrictionError>,
> {
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::DescribeIpRestrictionOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeIpRestrictionError>,
> {
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 DescribeIpRestrictionInput.
source§impl DescribeIpRestrictionInput
impl DescribeIpRestrictionInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the IP rules.
Trait Implementations§
source§impl Clone for DescribeIpRestrictionInput
impl Clone for DescribeIpRestrictionInput
source§fn clone(&self) -> DescribeIpRestrictionInput
fn clone(&self) -> DescribeIpRestrictionInput
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