revoke_cluster_security_group_ingress
¶
revoke_cluster_security_group_ingress(
*,
config_overrides: Optional[RedshiftClientConfig] = 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/redshift.py
10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 | |