#[non_exhaustive]pub struct DescribeSecurityGroupReferencesInput { /* private fields */ }
Implementations§
source§impl DescribeSecurityGroupReferencesInput
impl DescribeSecurityGroupReferencesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSecurityGroupReferences, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSecurityGroupReferences, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeSecurityGroupReferences
>
Examples found in repository?
src/client.rs (line 45979)
45965 45966 45967 45968 45969 45970 45971 45972 45973 45974 45975 45976 45977 45978 45979 45980 45981 45982 45983 45984 45985 45986 45987 45988 45989 45990 45991 45992 45993 45994 45995 45996 45997 45998 45999 46000 46001 46002 46003 46004 46005 46006 46007
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeSecurityGroupReferences,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeSecurityGroupReferencesError>,
> {
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::DescribeSecurityGroupReferencesOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeSecurityGroupReferencesError>,
> {
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 DescribeSecurityGroupReferencesInput
.
source§impl DescribeSecurityGroupReferencesInput
impl DescribeSecurityGroupReferencesInput
Trait Implementations§
source§impl Clone for DescribeSecurityGroupReferencesInput
impl Clone for DescribeSecurityGroupReferencesInput
source§fn clone(&self) -> DescribeSecurityGroupReferencesInput
fn clone(&self) -> DescribeSecurityGroupReferencesInput
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