revoke_endpoint_access
¶
revoke_endpoint_access(
*,
config_overrides: Optional[RedshiftClientConfig] = None,
cluster_identifier: Optional[String] = None,
account: Optional[String] = None,
vpc_ids: Optional[VpcIdentifierList] = None,
force: Optional[Boolean] = None,
) -> EndpointAuthorization
Revokes access to a cluster.
Parameters:
-
cluster_identifier(Optional[String], default:None) –The cluster to revoke access from.
-
account(Optional[String], default:None) –The Amazon Web Services account ID whose access is to be revoked.
-
vpc_ids(Optional[VpcIdentifierList], default:None) –The virtual private cloud (VPC) identifiers for which access is to be revoked.
-
force(Optional[Boolean], default:None) –Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
Raises:
-
ClusterNotFoundFault–The
ClusterIdentifierparameter does not refer to an existing cluster. -
EndpointAuthorizationNotFoundFault–The authorization for this endpoint can't be found.
-
EndpointNotFoundFault–The endpoint name doesn't refer to an existing endpoint.
-
InvalidAuthorizationStateFault–The status of the authorization is not valid.
-
InvalidClusterSecurityGroupStateFault–The state of the cluster security group is not
available. -
InvalidClusterStateFault–The specified cluster is not in the
availablestate. -
InvalidEndpointStateFault–The status of the endpoint is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/redshift.py
10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 | |