Struct aws_sdk_ec2::input::GetInstanceUefiDataInput
source · #[non_exhaustive]pub struct GetInstanceUefiDataInput { /* private fields */ }
Implementations§
source§impl GetInstanceUefiDataInput
impl GetInstanceUefiDataInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetInstanceUefiData, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetInstanceUefiData, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetInstanceUefiData
>
Examples found in repository?
src/client.rs (line 58505)
58491 58492 58493 58494 58495 58496 58497 58498 58499 58500 58501 58502 58503 58504 58505 58506 58507 58508 58509 58510 58511 58512 58513 58514 58515 58516 58517 58518 58519 58520 58521 58522 58523 58524 58525 58526 58527 58528 58529 58530 58531 58532 58533
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetInstanceUefiData,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetInstanceUefiDataError>,
> {
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::GetInstanceUefiDataOutput,
aws_smithy_http::result::SdkError<crate::error::GetInstanceUefiDataError>,
> {
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 GetInstanceUefiDataInput
.
source§impl GetInstanceUefiDataInput
impl GetInstanceUefiDataInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance from which to retrieve the UEFI data.
Trait Implementations§
source§impl Clone for GetInstanceUefiDataInput
impl Clone for GetInstanceUefiDataInput
source§fn clone(&self) -> GetInstanceUefiDataInput
fn clone(&self) -> GetInstanceUefiDataInput
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