1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::authorize_security_group_ingress::_authorize_security_group_ingress_output::AuthorizeSecurityGroupIngressOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::authorize_security_group_ingress::_authorize_security_group_ingress_input::AuthorizeSecurityGroupIngressInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::authorize_security_group_ingress::_authorize_security_group_ingress_output::AuthorizeSecurityGroupIngressOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::authorize_security_group_ingress::builders::AuthorizeSecurityGroupIngressInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::authorize_security_group_ingress::AuthorizeSecurityGroupIngressError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.authorize_security_group_ingress();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `AuthorizeSecurityGroupIngress`.
|
24 24 | ///
|
25 25 | /// <p>Adds the specified inbound (ingress) rules to a security group.</p>
|
26 26 | /// <p>An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 address range, the IP address ranges that are specified by a prefix list, or the instances that are associated with a destination security group. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html">Security group rules</a>.</p>
|
27 27 | /// <p>You must specify exactly one of the following sources: an IPv4 or IPv6 address range, a prefix list, or a security group. You must specify a protocol for each rule (for example, TCP). If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is ICMP or ICMPv6, you must also specify the ICMP/ICMPv6 type and code.</p>
|
28 28 | /// <p>Rule changes are propagated to instances associated with the security group as quickly as possible. However, a small delay might occur.</p>
|
29 29 | /// <p>For examples of rules that you can add to security groups for specific access scenarios, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html">Security group rules for different use cases</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
30 30 | /// <p>For more information about security group quotas, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC quotas</a> in the <i>Amazon VPC User Guide</i>.</p>
|
31 31 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
32 32 | pub struct AuthorizeSecurityGroupIngressFluentBuilder {
|
33 33 | handle: ::std::sync::Arc<crate::client::Handle>,
|
34 34 | inner: crate::operation::authorize_security_group_ingress::builders::AuthorizeSecurityGroupIngressInputBuilder,
|
35 35 | config_override: ::std::option::Option<crate::config::Builder>,
|