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
11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 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 | |