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 |
Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint.
Synopsis
- data DescribeEndpoint = DescribeEndpoint' {
- endpointArn :: Text
- newDescribeEndpoint :: Text -> DescribeEndpoint
- describeEndpoint_endpointArn :: Lens' DescribeEndpoint Text
- data DescribeEndpointResponse = DescribeEndpointResponse' {}
- newDescribeEndpointResponse :: Int -> DescribeEndpointResponse
- describeEndpointResponse_endpointProperties :: Lens' DescribeEndpointResponse (Maybe EndpointProperties)
- describeEndpointResponse_httpStatus :: Lens' DescribeEndpointResponse Int
Creating a Request
data DescribeEndpoint Source #
See: newDescribeEndpoint
smart constructor.
DescribeEndpoint' | |
|
Instances
Create a value of DescribeEndpoint
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:endpointArn:DescribeEndpoint'
, describeEndpoint_endpointArn
- The Amazon Resource Number (ARN) of the endpoint being described.
Request Lenses
describeEndpoint_endpointArn :: Lens' DescribeEndpoint Text Source #
The Amazon Resource Number (ARN) of the endpoint being described.
Destructuring the Response
data DescribeEndpointResponse Source #
See: newDescribeEndpointResponse
smart constructor.
DescribeEndpointResponse' | |
|
Instances
newDescribeEndpointResponse Source #
Create a value of DescribeEndpointResponse
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:endpointProperties:DescribeEndpointResponse'
, describeEndpointResponse_endpointProperties
- Describes information associated with the specific endpoint.
$sel:httpStatus:DescribeEndpointResponse'
, describeEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
describeEndpointResponse_endpointProperties :: Lens' DescribeEndpointResponse (Maybe EndpointProperties) Source #
Describes information associated with the specific endpoint.
describeEndpointResponse_httpStatus :: Lens' DescribeEndpointResponse Int Source #
The response's http status code.