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 |
DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query.
Because the Timestream SDKs are designed to transparently work with the service’s architecture, including the management and mapping of the service endpoints, it is not recommended that you use this API unless:
- You are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream
- Your application uses a programming language that does not yet have SDK support
- You require better control over the client-side implementation
For detailed information on how and when to use and implement DescribeEndpoints, see The Endpoint Discovery Pattern.
Synopsis
- data DescribeEndpoints = DescribeEndpoints' {
- newDescribeEndpoints :: DescribeEndpoints
- data DescribeEndpointsResponse = DescribeEndpointsResponse' {
- httpStatus :: Int
- endpoints :: [Endpoint]
- newDescribeEndpointsResponse :: Int -> DescribeEndpointsResponse
- describeEndpointsResponse_httpStatus :: Lens' DescribeEndpointsResponse Int
- describeEndpointsResponse_endpoints :: Lens' DescribeEndpointsResponse [Endpoint]
Creating a Request
data DescribeEndpoints Source #
See: newDescribeEndpoints
smart constructor.
Instances
newDescribeEndpoints :: DescribeEndpoints Source #
Create a value of DescribeEndpoints
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
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:httpStatus:DescribeEndpointsResponse'
, describeEndpointsResponse_httpStatus
- The response's http status code.
$sel:endpoints:DescribeEndpointsResponse'
, describeEndpointsResponse_endpoints
- An Endpoints
object is returned when a DescribeEndpoints
request is
made.
Response Lenses
describeEndpointsResponse_httpStatus :: Lens' DescribeEndpointsResponse Int Source #
The response's http status code.
describeEndpointsResponse_endpoints :: Lens' DescribeEndpointsResponse [Endpoint] Source #
An Endpoints
object is returned when a DescribeEndpoints
request is
made.