Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Send an request with an empty body to the regional API endpoint to get your account API endpoint.
Synopsis
- describeEndpoints :: DescribeEndpoints
- data DescribeEndpoints
- deNextToken :: Lens' DescribeEndpoints (Maybe Text)
- deMaxResults :: Lens' DescribeEndpoints (Maybe Int)
- describeEndpointsResponse :: Int -> DescribeEndpointsResponse
- data DescribeEndpointsResponse
- dersNextToken :: Lens' DescribeEndpointsResponse (Maybe Text)
- dersEndpoints :: Lens' DescribeEndpointsResponse [Endpoint]
- dersResponseStatus :: Lens' DescribeEndpointsResponse Int
Creating a Request
describeEndpoints :: DescribeEndpoints Source #
Creates a value of DescribeEndpoints
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
deNextToken
- Use this string, provided with the response to a previous request, to request the next batch of endpoints.deMaxResults
- Optional. Max number of endpoints, up to twenty, that will be returned at one time.
data DescribeEndpoints Source #
DescribeEndpointsRequest
See: describeEndpoints
smart constructor.
Instances
Request Lenses
deNextToken :: Lens' DescribeEndpoints (Maybe Text) Source #
Use this string, provided with the response to a previous request, to request the next batch of endpoints.
deMaxResults :: Lens' DescribeEndpoints (Maybe Int) Source #
Optional. Max number of endpoints, up to twenty, that will be returned at one time.
Destructuring the Response
describeEndpointsResponse Source #
Creates a value of DescribeEndpointsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dersNextToken
- Use this string to request the next batch of endpoints.dersEndpoints
- List of endpointsdersResponseStatus
- -- | The response status code.
data DescribeEndpointsResponse Source #
See: describeEndpointsResponse
smart constructor.
Instances
Response Lenses
dersNextToken :: Lens' DescribeEndpointsResponse (Maybe Text) Source #
Use this string to request the next batch of endpoints.
dersEndpoints :: Lens' DescribeEndpointsResponse [Endpoint] Source #
List of endpoints
dersResponseStatus :: Lens' DescribeEndpointsResponse Int Source #
- - | The response status code.