#[non_exhaustive]pub struct UpdateSecurityGroupRuleDescriptionsEgressInput { /* private fields */ }
Implementations§
source§impl UpdateSecurityGroupRuleDescriptionsEgressInput
impl UpdateSecurityGroupRuleDescriptionsEgressInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateSecurityGroupRuleDescriptionsEgress, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateSecurityGroupRuleDescriptionsEgress, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateSecurityGroupRuleDescriptionsEgress
>
Examples found in repository?
78913 78914 78915 78916 78917 78918 78919 78920 78921 78922 78923 78924 78925 78926 78927 78928 78929 78930 78931 78932 78933 78934 78935 78936 78937 78938 78939 78940 78941 78942 78943 78944 78945 78946 78947 78948 78949 78950 78951 78952 78953 78954 78955 78956 78957 78958 78959
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateSecurityGroupRuleDescriptionsEgress,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::UpdateSecurityGroupRuleDescriptionsEgressError,
>,
> {
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::UpdateSecurityGroupRuleDescriptionsEgressOutput,
aws_smithy_http::result::SdkError<
crate::error::UpdateSecurityGroupRuleDescriptionsEgressError,
>,
> {
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 UpdateSecurityGroupRuleDescriptionsEgressInput
.
source§impl UpdateSecurityGroupRuleDescriptionsEgressInput
impl UpdateSecurityGroupRuleDescriptionsEgressInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn group_id(&self) -> Option<&str>
pub fn group_id(&self) -> Option<&str>
The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
[Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.
sourcepub fn ip_permissions(&self) -> Option<&[IpPermission]>
pub fn ip_permissions(&self) -> Option<&[IpPermission]>
The IP permissions for the security group rule. You must specify either the IP permissions or the description.
sourcepub fn security_group_rule_descriptions(
&self
) -> Option<&[SecurityGroupRuleDescription]>
pub fn security_group_rule_descriptions(
&self
) -> Option<&[SecurityGroupRuleDescription]>
The description for the egress security group rules. You must specify either the description or the IP permissions.
Trait Implementations§
source§impl Clone for UpdateSecurityGroupRuleDescriptionsEgressInput
impl Clone for UpdateSecurityGroupRuleDescriptionsEgressInput
source§fn clone(&self) -> UpdateSecurityGroupRuleDescriptionsEgressInput
fn clone(&self) -> UpdateSecurityGroupRuleDescriptionsEgressInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more