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 |
Returns the description of an endpoint.
Synopsis
- data DescribeEndpoint = DescribeEndpoint' {
- endpointName :: Text
- newDescribeEndpoint :: Text -> DescribeEndpoint
- describeEndpoint_endpointName :: Lens' DescribeEndpoint Text
- data DescribeEndpointResponse = DescribeEndpointResponse' {
- failureReason :: Maybe Text
- asyncInferenceConfig :: Maybe AsyncInferenceConfig
- productionVariants :: Maybe (NonEmpty ProductionVariantSummary)
- lastDeploymentConfig :: Maybe DeploymentConfig
- dataCaptureConfig :: Maybe DataCaptureConfigSummary
- httpStatus :: Int
- endpointName :: Text
- endpointArn :: Text
- endpointConfigName :: Text
- endpointStatus :: EndpointStatus
- creationTime :: POSIX
- lastModifiedTime :: POSIX
- newDescribeEndpointResponse :: Int -> Text -> Text -> Text -> EndpointStatus -> UTCTime -> UTCTime -> DescribeEndpointResponse
- describeEndpointResponse_failureReason :: Lens' DescribeEndpointResponse (Maybe Text)
- describeEndpointResponse_asyncInferenceConfig :: Lens' DescribeEndpointResponse (Maybe AsyncInferenceConfig)
- describeEndpointResponse_productionVariants :: Lens' DescribeEndpointResponse (Maybe (NonEmpty ProductionVariantSummary))
- describeEndpointResponse_lastDeploymentConfig :: Lens' DescribeEndpointResponse (Maybe DeploymentConfig)
- describeEndpointResponse_dataCaptureConfig :: Lens' DescribeEndpointResponse (Maybe DataCaptureConfigSummary)
- describeEndpointResponse_httpStatus :: Lens' DescribeEndpointResponse Int
- describeEndpointResponse_endpointName :: Lens' DescribeEndpointResponse Text
- describeEndpointResponse_endpointArn :: Lens' DescribeEndpointResponse Text
- describeEndpointResponse_endpointConfigName :: Lens' DescribeEndpointResponse Text
- describeEndpointResponse_endpointStatus :: Lens' DescribeEndpointResponse EndpointStatus
- describeEndpointResponse_creationTime :: Lens' DescribeEndpointResponse UTCTime
- describeEndpointResponse_lastModifiedTime :: Lens' DescribeEndpointResponse UTCTime
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:endpointName:DescribeEndpoint'
, describeEndpoint_endpointName
- The name of the endpoint.
Request Lenses
describeEndpoint_endpointName :: Lens' DescribeEndpoint Text Source #
The name of the endpoint.
Destructuring the Response
data DescribeEndpointResponse Source #
See: newDescribeEndpointResponse
smart constructor.
DescribeEndpointResponse' | |
|
Instances
newDescribeEndpointResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> Text | |
-> EndpointStatus | |
-> UTCTime | |
-> UTCTime | |
-> DescribeEndpointResponse |
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:failureReason:DescribeEndpointResponse'
, describeEndpointResponse_failureReason
- If the status of the endpoint is Failed
, the reason why it failed.
$sel:asyncInferenceConfig:DescribeEndpointResponse'
, describeEndpointResponse_asyncInferenceConfig
- Returns the description of an endpoint configuration created using the
CreateEndpointConfig
API.
$sel:productionVariants:DescribeEndpointResponse'
, describeEndpointResponse_productionVariants
- An array of ProductionVariantSummary objects, one for each model hosted
behind this endpoint.
$sel:lastDeploymentConfig:DescribeEndpointResponse'
, describeEndpointResponse_lastDeploymentConfig
- The most recent deployment configuration for the endpoint.
$sel:dataCaptureConfig:DescribeEndpointResponse'
, describeEndpointResponse_dataCaptureConfig
- Undocumented member.
$sel:httpStatus:DescribeEndpointResponse'
, describeEndpointResponse_httpStatus
- The response's http status code.
$sel:endpointName:DescribeEndpoint'
, describeEndpointResponse_endpointName
- Name of the endpoint.
$sel:endpointArn:DescribeEndpointResponse'
, describeEndpointResponse_endpointArn
- The Amazon Resource Name (ARN) of the endpoint.
$sel:endpointConfigName:DescribeEndpointResponse'
, describeEndpointResponse_endpointConfigName
- The name of the endpoint configuration associated with this endpoint.
$sel:endpointStatus:DescribeEndpointResponse'
, describeEndpointResponse_endpointStatus
- The status of the endpoint.
OutOfService
: Endpoint is not available to take incoming requests.Creating
: CreateEndpoint is executing.Updating
: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.SystemUpdating
: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count.RollingBack
: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to anInService
status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly.InService
: Endpoint is available to process incoming requests.Deleting
: DeleteEndpoint is executing.Failed
: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint.
$sel:creationTime:DescribeEndpointResponse'
, describeEndpointResponse_creationTime
- A timestamp that shows when the endpoint was created.
$sel:lastModifiedTime:DescribeEndpointResponse'
, describeEndpointResponse_lastModifiedTime
- A timestamp that shows when the endpoint was last modified.
Response Lenses
describeEndpointResponse_failureReason :: Lens' DescribeEndpointResponse (Maybe Text) Source #
If the status of the endpoint is Failed
, the reason why it failed.
describeEndpointResponse_asyncInferenceConfig :: Lens' DescribeEndpointResponse (Maybe AsyncInferenceConfig) Source #
Returns the description of an endpoint configuration created using the CreateEndpointConfig API.
describeEndpointResponse_productionVariants :: Lens' DescribeEndpointResponse (Maybe (NonEmpty ProductionVariantSummary)) Source #
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
describeEndpointResponse_lastDeploymentConfig :: Lens' DescribeEndpointResponse (Maybe DeploymentConfig) Source #
The most recent deployment configuration for the endpoint.
describeEndpointResponse_dataCaptureConfig :: Lens' DescribeEndpointResponse (Maybe DataCaptureConfigSummary) Source #
Undocumented member.
describeEndpointResponse_httpStatus :: Lens' DescribeEndpointResponse Int Source #
The response's http status code.
describeEndpointResponse_endpointName :: Lens' DescribeEndpointResponse Text Source #
Name of the endpoint.
describeEndpointResponse_endpointArn :: Lens' DescribeEndpointResponse Text Source #
The Amazon Resource Name (ARN) of the endpoint.
describeEndpointResponse_endpointConfigName :: Lens' DescribeEndpointResponse Text Source #
The name of the endpoint configuration associated with this endpoint.
describeEndpointResponse_endpointStatus :: Lens' DescribeEndpointResponse EndpointStatus Source #
The status of the endpoint.
OutOfService
: Endpoint is not available to take incoming requests.Creating
: CreateEndpoint is executing.Updating
: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.SystemUpdating
: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count.RollingBack
: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to anInService
status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly.InService
: Endpoint is available to process incoming requests.Deleting
: DeleteEndpoint is executing.Failed
: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint.
describeEndpointResponse_creationTime :: Lens' DescribeEndpointResponse UTCTime Source #
A timestamp that shows when the endpoint was created.
describeEndpointResponse_lastModifiedTime :: Lens' DescribeEndpointResponse UTCTime Source #
A timestamp that shows when the endpoint was last modified.