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.
Source code in docs_src/capo_redshift/_services/redshift.py
5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 | |