Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes an endpoint authorization.
This operation returns paginated results.
Synopsis
- data DescribeEndpointAuthorization = DescribeEndpointAuthorization' {}
- newDescribeEndpointAuthorization :: DescribeEndpointAuthorization
- describeEndpointAuthorization_clusterIdentifier :: Lens' DescribeEndpointAuthorization (Maybe Text)
- describeEndpointAuthorization_account :: Lens' DescribeEndpointAuthorization (Maybe Text)
- describeEndpointAuthorization_marker :: Lens' DescribeEndpointAuthorization (Maybe Text)
- describeEndpointAuthorization_maxRecords :: Lens' DescribeEndpointAuthorization (Maybe Int)
- describeEndpointAuthorization_grantee :: Lens' DescribeEndpointAuthorization (Maybe Bool)
- 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.
DescribeEndpointAuthorization' | |
|
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:clusterIdentifier:DescribeEndpointAuthorization'
, describeEndpointAuthorization_clusterIdentifier
- The cluster identifier of the cluster to access.
$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.
$sel:marker: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.
$sel:grantee: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.
Request Lenses
describeEndpointAuthorization_clusterIdentifier :: Lens' DescribeEndpointAuthorization (Maybe Text) Source #
The cluster identifier of the cluster to access.
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_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.
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.
Destructuring the Response
data DescribeEndpointAuthorizationResponse Source #
See: newDescribeEndpointAuthorizationResponse
smart constructor.
DescribeEndpointAuthorizationResponse' | |
|
Instances
newDescribeEndpointAuthorizationResponse Source #
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.
$sel:marker: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.