Struct aws_sdk_iot::input::DescribeSecurityProfileInput
source · #[non_exhaustive]pub struct DescribeSecurityProfileInput { /* private fields */ }
Implementations§
source§impl DescribeSecurityProfileInput
impl DescribeSecurityProfileInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSecurityProfile, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSecurityProfile, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeSecurityProfile
>
Examples found in repository?
src/client.rs (line 13560)
13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeSecurityProfile,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeSecurityProfileError>,
> {
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::DescribeSecurityProfileOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeSecurityProfileError>,
> {
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 DescribeSecurityProfileInput
.
source§impl DescribeSecurityProfileInput
impl DescribeSecurityProfileInput
sourcepub fn security_profile_name(&self) -> Option<&str>
pub fn security_profile_name(&self) -> Option<&str>
The name of the security profile whose information you want to get.
Trait Implementations§
source§impl Clone for DescribeSecurityProfileInput
impl Clone for DescribeSecurityProfileInput
source§fn clone(&self) -> DescribeSecurityProfileInput
fn clone(&self) -> DescribeSecurityProfileInput
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