revoke_endpoint_access
async
¶
revoke_endpoint_access(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = 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/async_redshift.py
11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 | |