1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RevokeClusterSecurityGroupIngress`](crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_security_group_name(impl ::std::convert::Into<String>)`](crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder::cluster_security_group_name) / [`set_cluster_security_group_name(Option<String>)`](crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder::set_cluster_security_group_name): <p>The name of the security Group from which to revoke the ingress rule.</p>
    ///   - [`cidrip(impl ::std::convert::Into<String>)`](crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder::cidrip) / [`set_cidrip(Option<String>)`](crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder::set_cidrip): <p>The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If <code>CIDRIP</code> is specified, <code>EC2SecurityGroupName</code> and <code>EC2SecurityGroupOwnerId</code> cannot be provided. </p>
    ///   - [`ec2_security_group_name(impl ::std::convert::Into<String>)`](crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder::ec2_security_group_name) / [`set_ec2_security_group_name(Option<String>)`](crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder::set_ec2_security_group_name): <p>The name of the EC2 Security Group whose access is to be revoked. If <code>EC2SecurityGroupName</code> is specified, <code>EC2SecurityGroupOwnerId</code> must also be provided and <code>CIDRIP</code> cannot be provided. </p>
    ///   - [`ec2_security_group_owner_id(impl ::std::convert::Into<String>)`](crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder::ec2_security_group_owner_id) / [`set_ec2_security_group_owner_id(Option<String>)`](crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder::set_ec2_security_group_owner_id): <p>The Amazon Web Services account number of the owner of the security group specified in the <code>EC2SecurityGroupName</code> parameter. The Amazon Web Services access key ID is not an acceptable value. If <code>EC2SecurityGroupOwnerId</code> is specified, <code>EC2SecurityGroupName</code> must also be provided. and <code>CIDRIP</code> cannot be provided. </p>  <p>Example: <code>111122223333</code> </p>
    /// - On success, responds with [`RevokeClusterSecurityGroupIngressOutput`](crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressOutput) with field(s):
    ///   - [`cluster_security_group(Option<ClusterSecurityGroup>)`](crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressOutput::cluster_security_group): <p>Describes a security group.</p>
    /// - On failure, responds with [`SdkError<RevokeClusterSecurityGroupIngressError>`](crate::operation::revoke_cluster_security_group_ingress::RevokeClusterSecurityGroupIngressError)
    pub fn revoke_cluster_security_group_ingress(&self) -> crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder{
        crate::operation::revoke_cluster_security_group_ingress::builders::RevokeClusterSecurityGroupIngressFluentBuilder::new(self.handle.clone())
    }
}