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
11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 | |