describe_endpoint_authorization
¶
describe_endpoint_authorization(
*,
config_overrides: Optional[RedshiftClientConfig] = None,
cluster_identifier: Optional[String] = None,
account: Optional[String] = None,
grantee: Optional[BooleanOptional] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> EndpointAuthorizationList
Describes an endpoint authorization.
Parameters:
-
cluster_identifier(Optional[String], default:None) –The cluster identifier of the cluster to access.
-
account(Optional[String], default:None) –The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If
Granteeparameter is true, then theAccountvalue is of the grantor. -
grantee(Optional[BooleanOptional], default:None) –Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a pagination token called aMarkeris included in the response so that the remaining results can be retrieved. -
marker(Optional[String], default:None) –An optional pagination token provided by a previous
DescribeEndpointAuthorizationrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecordsparameter.
Raises:
-
ClusterNotFoundFault–The
ClusterIdentifierparameter does not refer to an existing cluster. -
UnsupportedOperationFault–The requested operation isn't supported.
-
UnknownServiceError–The service returned an error code this client does not model.