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 |
Returns the description of an endpoint.
- describeEndpoint :: Text -> DescribeEndpoint
- data DescribeEndpoint
- dEndpointName :: Lens' DescribeEndpoint Text
- describeEndpointResponse :: Int -> Text -> Text -> Text -> EndpointStatus -> UTCTime -> UTCTime -> DescribeEndpointResponse
- data DescribeEndpointResponse
- dersFailureReason :: Lens' DescribeEndpointResponse (Maybe Text)
- dersProductionVariants :: Lens' DescribeEndpointResponse (Maybe (NonEmpty ProductionVariantSummary))
- dersResponseStatus :: Lens' DescribeEndpointResponse Int
- dersEndpointName :: Lens' DescribeEndpointResponse Text
- dersEndpointARN :: Lens' DescribeEndpointResponse Text
- dersEndpointConfigName :: Lens' DescribeEndpointResponse Text
- dersEndpointStatus :: Lens' DescribeEndpointResponse EndpointStatus
- dersCreationTime :: Lens' DescribeEndpointResponse UTCTime
- dersLastModifiedTime :: Lens' DescribeEndpointResponse UTCTime
Creating a Request
Creates a value of DescribeEndpoint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dEndpointName
- The name of the endpoint.
data DescribeEndpoint Source #
See: describeEndpoint
smart constructor.
Request Lenses
dEndpointName :: Lens' DescribeEndpoint Text Source #
The name of the endpoint.
Destructuring the Response
describeEndpointResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> Text | |
-> EndpointStatus | |
-> UTCTime | |
-> UTCTime | |
-> DescribeEndpointResponse |
Creates a value of DescribeEndpointResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dersFailureReason
- If the status of the endpoint isFailed
, the reason why it failed.dersProductionVariants
- An array of ProductionVariant objects, one for each model hosted behind this endpoint.dersResponseStatus
- -- | The response status code.dersEndpointName
- Name of the endpoint.dersEndpointARN
- The Amazon Resource Name (ARN) of the endpoint.dersEndpointConfigName
- The name of the endpoint configuration associated with this endpoint.dersEndpointStatus
- The status of the endpoint.dersCreationTime
- A timestamp that shows when the endpoint was created.dersLastModifiedTime
- A timestamp that shows when the endpoint was last modified.
data DescribeEndpointResponse Source #
See: describeEndpointResponse
smart constructor.
Response Lenses
dersFailureReason :: Lens' DescribeEndpointResponse (Maybe Text) Source #
If the status of the endpoint is Failed
, the reason why it failed.
dersProductionVariants :: Lens' DescribeEndpointResponse (Maybe (NonEmpty ProductionVariantSummary)) Source #
An array of ProductionVariant objects, one for each model hosted behind this endpoint.
dersResponseStatus :: Lens' DescribeEndpointResponse Int Source #
- - | The response status code.
dersEndpointName :: Lens' DescribeEndpointResponse Text Source #
Name of the endpoint.
dersEndpointARN :: Lens' DescribeEndpointResponse Text Source #
The Amazon Resource Name (ARN) of the endpoint.
dersEndpointConfigName :: Lens' DescribeEndpointResponse Text Source #
The name of the endpoint configuration associated with this endpoint.
dersEndpointStatus :: Lens' DescribeEndpointResponse EndpointStatus Source #
The status of the endpoint.
dersCreationTime :: Lens' DescribeEndpointResponse UTCTime Source #
A timestamp that shows when the endpoint was created.
dersLastModifiedTime :: Lens' DescribeEndpointResponse UTCTime Source #
A timestamp that shows when the endpoint was last modified.