#[non_exhaustive]pub struct GetSerialConsoleAccessStatusInput { /* private fields */ }
Implementations§
source§impl GetSerialConsoleAccessStatusInput
impl GetSerialConsoleAccessStatusInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetSerialConsoleAccessStatus, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetSerialConsoleAccessStatus, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetSerialConsoleAccessStatus
>
Examples found in repository?
src/client.rs (line 59927)
59913 59914 59915 59916 59917 59918 59919 59920 59921 59922 59923 59924 59925 59926 59927 59928 59929 59930 59931 59932 59933 59934 59935 59936 59937 59938 59939 59940 59941 59942 59943 59944 59945 59946 59947 59948 59949 59950 59951 59952 59953 59954 59955
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetSerialConsoleAccessStatus,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetSerialConsoleAccessStatusError>,
> {
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::GetSerialConsoleAccessStatusOutput,
aws_smithy_http::result::SdkError<crate::error::GetSerialConsoleAccessStatusError>,
> {
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 GetSerialConsoleAccessStatusInput
.
Trait Implementations§
source§impl Clone for GetSerialConsoleAccessStatusInput
impl Clone for GetSerialConsoleAccessStatusInput
source§fn clone(&self) -> GetSerialConsoleAccessStatusInput
fn clone(&self) -> GetSerialConsoleAccessStatusInput
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