revoke_cluster_security_group_ingress
async
¶
revoke_cluster_security_group_ingress(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = None,
cluster_security_group_name: Optional[String] = None,
cidrip: Optional[String] = None,
ec2_security_group_name: Optional[String] = None,
ec2_security_group_owner_id: Optional[String] = None,
) -> RevokeClusterSecurityGroupIngressResult
Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
Parameters:
-
cluster_security_group_name(Optional[String], default:None) –The name of the security Group from which to revoke the ingress rule.
-
cidrip(Optional[String], default:None) –The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If
CIDRIPis specified,EC2SecurityGroupNameandEC2SecurityGroupOwnerIdcannot be provided. -
ec2_security_group_name(Optional[String], default:None) –The name of the EC2 Security Group whose access is to be revoked. If
EC2SecurityGroupNameis specified,EC2SecurityGroupOwnerIdmust also be provided andCIDRIPcannot be provided. -
ec2_security_group_owner_id(Optional[String], default:None) –The Amazon Web Services account number of the owner of the security group specified in the
EC2SecurityGroupNameparameter. The Amazon Web Services access key ID is not an acceptable value. IfEC2SecurityGroupOwnerIdis specified,EC2SecurityGroupNamemust also be provided. andCIDRIPcannot be provided.Example:
111122223333
Raises:
-
AuthorizationNotFoundFault–The specified CIDR IP range or EC2 security group is not authorized for the specified cluster security group.
-
ClusterSecurityGroupNotFoundFault–The cluster security group name does not refer to an existing cluster security group.
-
InvalidClusterSecurityGroupStateFault–The state of the cluster security group is not
available. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/async_redshift.py
11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 | |