| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Redshift.DescribeEndpointAuthorization
Description
Describes an endpoint authorization.
This operation returns paginated results.
Synopsis
- data DescribeEndpointAuthorization = DescribeEndpointAuthorization' {}
- newDescribeEndpointAuthorization :: DescribeEndpointAuthorization
- describeEndpointAuthorization_account :: Lens' DescribeEndpointAuthorization (Maybe Text)
- describeEndpointAuthorization_clusterIdentifier :: Lens' DescribeEndpointAuthorization (Maybe Text)
- describeEndpointAuthorization_grantee :: Lens' DescribeEndpointAuthorization (Maybe Bool)
- describeEndpointAuthorization_marker :: Lens' DescribeEndpointAuthorization (Maybe Text)
- describeEndpointAuthorization_maxRecords :: Lens' DescribeEndpointAuthorization (Maybe Int)
- data DescribeEndpointAuthorizationResponse = DescribeEndpointAuthorizationResponse' {}
- newDescribeEndpointAuthorizationResponse :: Int -> DescribeEndpointAuthorizationResponse
- describeEndpointAuthorizationResponse_endpointAuthorizationList :: Lens' DescribeEndpointAuthorizationResponse (Maybe [EndpointAuthorization])
- describeEndpointAuthorizationResponse_marker :: Lens' DescribeEndpointAuthorizationResponse (Maybe Text)
- describeEndpointAuthorizationResponse_httpStatus :: Lens' DescribeEndpointAuthorizationResponse Int
Creating a Request
data DescribeEndpointAuthorization Source #
See: newDescribeEndpointAuthorization smart constructor.
Constructors
| DescribeEndpointAuthorization' | |
Fields
| |
Instances
newDescribeEndpointAuthorization :: DescribeEndpointAuthorization Source #
Create a value of DescribeEndpointAuthorization with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:account:DescribeEndpointAuthorization', describeEndpointAuthorization_account - The AAmazon Web Services account ID of either the cluster owner
(grantor) or grantee. If Grantee parameter is true, then the Account
value is of the grantor.
DescribeEndpointAuthorization, describeEndpointAuthorization_clusterIdentifier - The cluster identifier of the cluster to access.
DescribeEndpointAuthorization, describeEndpointAuthorization_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.
DescribeEndpointAuthorization, describeEndpointAuthorization_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 the MaxRecords parameter.
$sel:maxRecords:DescribeEndpointAuthorization', describeEndpointAuthorization_maxRecords - The maximum number of records to include in the response. If more
records exist than the specified MaxRecords value, a pagination token
called a Marker is included in the response so that the remaining
results can be retrieved.
Request Lenses
describeEndpointAuthorization_account :: Lens' DescribeEndpointAuthorization (Maybe Text) Source #
The AAmazon Web Services account ID of either the cluster owner
(grantor) or grantee. If Grantee parameter is true, then the Account
value is of the grantor.
describeEndpointAuthorization_clusterIdentifier :: Lens' DescribeEndpointAuthorization (Maybe Text) Source #
The cluster identifier of the cluster to access.
describeEndpointAuthorization_grantee :: Lens' DescribeEndpointAuthorization (Maybe Bool) Source #
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.
describeEndpointAuthorization_marker :: Lens' DescribeEndpointAuthorization (Maybe Text) Source #
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 the MaxRecords parameter.
describeEndpointAuthorization_maxRecords :: Lens' DescribeEndpointAuthorization (Maybe Int) Source #
The maximum number of records to include in the response. If more
records exist than the specified MaxRecords value, a pagination token
called a Marker is included in the response so that the remaining
results can be retrieved.
Destructuring the Response
data DescribeEndpointAuthorizationResponse Source #
See: newDescribeEndpointAuthorizationResponse smart constructor.
Constructors
| DescribeEndpointAuthorizationResponse' | |
Fields
| |
Instances
newDescribeEndpointAuthorizationResponse Source #
Arguments
| :: Int | |
| -> DescribeEndpointAuthorizationResponse |
Create a value of DescribeEndpointAuthorizationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endpointAuthorizationList:DescribeEndpointAuthorizationResponse', describeEndpointAuthorizationResponse_endpointAuthorizationList - The authorizations to an endpoint.
DescribeEndpointAuthorization, describeEndpointAuthorizationResponse_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 the MaxRecords parameter.
$sel:httpStatus:DescribeEndpointAuthorizationResponse', describeEndpointAuthorizationResponse_httpStatus - The response's http status code.
Response Lenses
describeEndpointAuthorizationResponse_endpointAuthorizationList :: Lens' DescribeEndpointAuthorizationResponse (Maybe [EndpointAuthorization]) Source #
The authorizations to an endpoint.
describeEndpointAuthorizationResponse_marker :: Lens' DescribeEndpointAuthorizationResponse (Maybe Text) Source #
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 the MaxRecords parameter.
describeEndpointAuthorizationResponse_httpStatus :: Lens' DescribeEndpointAuthorizationResponse Int Source #
The response's http status code.