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 |
Returns information about the endpoints for your account in the current region.
This operation returns paginated results.
Synopsis
- data DescribeEndpoints = DescribeEndpoints' {}
- newDescribeEndpoints :: DescribeEndpoints
- describeEndpoints_filters :: Lens' DescribeEndpoints (Maybe [Filter])
- describeEndpoints_marker :: Lens' DescribeEndpoints (Maybe Text)
- describeEndpoints_maxRecords :: Lens' DescribeEndpoints (Maybe Int)
- data DescribeEndpointsResponse = DescribeEndpointsResponse' {}
- newDescribeEndpointsResponse :: Int -> DescribeEndpointsResponse
- describeEndpointsResponse_marker :: Lens' DescribeEndpointsResponse (Maybe Text)
- describeEndpointsResponse_endpoints :: Lens' DescribeEndpointsResponse (Maybe [Endpoint])
- describeEndpointsResponse_httpStatus :: Lens' DescribeEndpointsResponse Int
Creating a Request
data DescribeEndpoints Source #
See: newDescribeEndpoints
smart constructor.
DescribeEndpoints' | |
|
Instances
newDescribeEndpoints :: DescribeEndpoints Source #
Create a value of DescribeEndpoints
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:filters:DescribeEndpoints'
, describeEndpoints_filters
- Filters applied to the endpoints.
Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name
$sel:marker:DescribeEndpoints'
, describeEndpoints_marker
- An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
$sel:maxRecords:DescribeEndpoints'
, describeEndpoints_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.
Default: 100
Constraints: Minimum 20, maximum 100.
Request Lenses
describeEndpoints_filters :: Lens' DescribeEndpoints (Maybe [Filter]) Source #
Filters applied to the endpoints.
Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name
describeEndpoints_marker :: Lens' DescribeEndpoints (Maybe Text) Source #
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
describeEndpoints_maxRecords :: Lens' DescribeEndpoints (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.
Default: 100
Constraints: Minimum 20, maximum 100.
Destructuring the Response
data DescribeEndpointsResponse Source #
See: newDescribeEndpointsResponse
smart constructor.
DescribeEndpointsResponse' | |
|
Instances
newDescribeEndpointsResponse Source #
Create a value of DescribeEndpointsResponse
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:marker:DescribeEndpoints'
, describeEndpointsResponse_marker
- An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
$sel:endpoints:DescribeEndpointsResponse'
, describeEndpointsResponse_endpoints
- Endpoint description.
$sel:httpStatus:DescribeEndpointsResponse'
, describeEndpointsResponse_httpStatus
- The response's http status code.
Response Lenses
describeEndpointsResponse_marker :: Lens' DescribeEndpointsResponse (Maybe Text) Source #
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
describeEndpointsResponse_endpoints :: Lens' DescribeEndpointsResponse (Maybe [Endpoint]) Source #
Endpoint description.
describeEndpointsResponse_httpStatus :: Lens' DescribeEndpointsResponse Int Source #
The response's http status code.