describe_endpoint_authorization
async
¶
describe_endpoint_authorization(
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = 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.
Source code in docs_src/capo_redshift/_services/async_redshift.py
5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 | |