DescribeEndpointAuthorization
Describes an endpoint authorization.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- Account
-
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If
Grantee
parameter is true, then theAccount
value is of the grantor.Type: String
Length Constraints: Maximum length of 2147483647.
Required: No
- ClusterIdentifier
-
The cluster identifier of the cluster to access.
Type: String
Length Constraints: Maximum length of 2147483647.
Required: No
- Grantee
-
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.
Type: Boolean
Required: No
- Marker
-
An optional pagination token provided by a previous
DescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter.Type: String
Length Constraints: Maximum length of 2147483647.
Required: No
- MaxRecords
-
The maximum number of records to include in the response. If more records exist than the specified
MaxRecords
value, a pagination token called aMarker
is included in the response so that the remaining results can be retrieved.Type: Integer
Required: No
Response Elements
The following elements are returned by the service.
- EndpointAuthorizationList.member.N
-
The authorizations to an endpoint.
Type: Array of EndpointAuthorization objects
- Marker
-
An optional pagination token provided by a previous
DescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter.Type: String
Length Constraints: Maximum length of 2147483647.
Errors
For information about the errors that are common to all actions, see Common Errors.
- ClusterNotFound
-
The
ClusterIdentifier
parameter does not refer to an existing cluster.HTTP Status Code: 404
- UnsupportedOperation
-
The requested operation isn't supported.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: