#[non_exhaustive]pub struct DisableSerialConsoleAccessInput { /* private fields */ }
Implementations§
source§impl DisableSerialConsoleAccessInput
impl DisableSerialConsoleAccessInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableSerialConsoleAccess, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableSerialConsoleAccess, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisableSerialConsoleAccess
>
Examples found in repository?
src/client.rs (line 53985)
53971 53972 53973 53974 53975 53976 53977 53978 53979 53980 53981 53982 53983 53984 53985 53986 53987 53988 53989 53990 53991 53992 53993 53994 53995 53996 53997 53998 53999 54000 54001 54002 54003 54004 54005 54006 54007 54008 54009 54010 54011 54012 54013
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisableSerialConsoleAccess,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DisableSerialConsoleAccessError>,
> {
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::DisableSerialConsoleAccessOutput,
aws_smithy_http::result::SdkError<crate::error::DisableSerialConsoleAccessError>,
> {
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 DisableSerialConsoleAccessInput
.
Trait Implementations§
source§impl Clone for DisableSerialConsoleAccessInput
impl Clone for DisableSerialConsoleAccessInput
source§fn clone(&self) -> DisableSerialConsoleAccessInput
fn clone(&self) -> DisableSerialConsoleAccessInput
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