#[non_exhaustive]pub struct RevokeCacheSecurityGroupIngressInput { /* private fields */ }
Expand description
Represents the input of a RevokeCacheSecurityGroupIngress
operation.
Implementations§
source§impl RevokeCacheSecurityGroupIngressInput
impl RevokeCacheSecurityGroupIngressInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RevokeCacheSecurityGroupIngress, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RevokeCacheSecurityGroupIngress, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RevokeCacheSecurityGroupIngress
>
Examples found in repository?
src/client.rs (line 10403)
10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::RevokeCacheSecurityGroupIngress,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::RevokeCacheSecurityGroupIngressError>,
> {
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::RevokeCacheSecurityGroupIngressOutput,
aws_smithy_http::result::SdkError<crate::error::RevokeCacheSecurityGroupIngressError>,
> {
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 RevokeCacheSecurityGroupIngressInput
.
source§impl RevokeCacheSecurityGroupIngressInput
impl RevokeCacheSecurityGroupIngressInput
sourcepub fn cache_security_group_name(&self) -> Option<&str>
pub fn cache_security_group_name(&self) -> Option<&str>
The name of the cache security group to revoke ingress from.
sourcepub fn ec2_security_group_name(&self) -> Option<&str>
pub fn ec2_security_group_name(&self) -> Option<&str>
The name of the Amazon EC2 security group to revoke access from.
sourcepub fn ec2_security_group_owner_id(&self) -> Option<&str>
pub fn ec2_security_group_owner_id(&self) -> Option<&str>
The Amazon account number of the Amazon EC2 security group owner. Note that this is not the same thing as an Amazon access key ID - you must provide a valid Amazon account number for this parameter.
Trait Implementations§
source§impl Clone for RevokeCacheSecurityGroupIngressInput
impl Clone for RevokeCacheSecurityGroupIngressInput
source§fn clone(&self) -> RevokeCacheSecurityGroupIngressInput
fn clone(&self) -> RevokeCacheSecurityGroupIngressInput
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