#[non_exhaustive]pub struct DescribeNetworkInterfaceAttributeInput { /* private fields */ }
Expand description
Contains the parameters for DescribeNetworkInterfaceAttribute.
Implementations§
source§impl DescribeNetworkInterfaceAttributeInput
impl DescribeNetworkInterfaceAttributeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeNetworkInterfaceAttribute, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeNetworkInterfaceAttribute, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeNetworkInterfaceAttribute
>
Examples found in repository?
src/client.rs (line 43397)
43383 43384 43385 43386 43387 43388 43389 43390 43391 43392 43393 43394 43395 43396 43397 43398 43399 43400 43401 43402 43403 43404 43405 43406 43407 43408 43409 43410 43411 43412 43413 43414 43415 43416 43417 43418 43419 43420 43421 43422 43423 43424 43425
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeNetworkInterfaceAttribute,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeNetworkInterfaceAttributeError>,
> {
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::DescribeNetworkInterfaceAttributeOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeNetworkInterfaceAttributeError>,
> {
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 DescribeNetworkInterfaceAttributeInput
.
source§impl DescribeNetworkInterfaceAttributeInput
impl DescribeNetworkInterfaceAttributeInput
sourcepub fn attribute(&self) -> Option<&NetworkInterfaceAttribute>
pub fn attribute(&self) -> Option<&NetworkInterfaceAttribute>
The attribute of the network interface. This parameter is required.
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 network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
Trait Implementations§
source§impl Clone for DescribeNetworkInterfaceAttributeInput
impl Clone for DescribeNetworkInterfaceAttributeInput
source§fn clone(&self) -> DescribeNetworkInterfaceAttributeInput
fn clone(&self) -> DescribeNetworkInterfaceAttributeInput
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