| 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 |
Amazonka.Comprehend.DescribeEndpoint
Description
Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint. For information about endpoints, see Managing endpoints.
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.
Constructors
| DescribeEndpoint' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeEndpoint |
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:
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.
Constructors
| DescribeEndpointResponse' | |
Fields
| |
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.