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 |
Returns the description of an endpoint.
Synopsis
- data DescribeEndpoint = DescribeEndpoint' {
- endpointName :: Text
- newDescribeEndpoint :: Text -> DescribeEndpoint
- describeEndpoint_endpointName :: Lens' DescribeEndpoint Text
- data DescribeEndpointResponse = DescribeEndpointResponse' {
- asyncInferenceConfig :: Maybe AsyncInferenceConfig
- dataCaptureConfig :: Maybe DataCaptureConfigSummary
- explainerConfig :: Maybe ExplainerConfig
- failureReason :: Maybe Text
- lastDeploymentConfig :: Maybe DeploymentConfig
- pendingDeploymentSummary :: Maybe PendingDeploymentSummary
- productionVariants :: Maybe (NonEmpty ProductionVariantSummary)
- shadowProductionVariants :: Maybe (NonEmpty ProductionVariantSummary)
- httpStatus :: Int
- endpointName :: Text
- endpointArn :: Text
- endpointConfigName :: Text
- endpointStatus :: EndpointStatus
- creationTime :: POSIX
- lastModifiedTime :: POSIX
- newDescribeEndpointResponse :: Int -> Text -> Text -> Text -> EndpointStatus -> UTCTime -> UTCTime -> DescribeEndpointResponse
- describeEndpointResponse_asyncInferenceConfig :: Lens' DescribeEndpointResponse (Maybe AsyncInferenceConfig)
- describeEndpointResponse_dataCaptureConfig :: Lens' DescribeEndpointResponse (Maybe DataCaptureConfigSummary)
- describeEndpointResponse_explainerConfig :: Lens' DescribeEndpointResponse (Maybe ExplainerConfig)
- describeEndpointResponse_failureReason :: Lens' DescribeEndpointResponse (Maybe Text)
- describeEndpointResponse_lastDeploymentConfig :: Lens' DescribeEndpointResponse (Maybe DeploymentConfig)
- describeEndpointResponse_pendingDeploymentSummary :: Lens' DescribeEndpointResponse (Maybe PendingDeploymentSummary)
- describeEndpointResponse_productionVariants :: Lens' DescribeEndpointResponse (Maybe (NonEmpty ProductionVariantSummary))
- describeEndpointResponse_shadowProductionVariants :: Lens' DescribeEndpointResponse (Maybe (NonEmpty ProductionVariantSummary))
- 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:
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:asyncInferenceConfig:DescribeEndpointResponse'
, describeEndpointResponse_asyncInferenceConfig
- Returns the description of an endpoint configuration created using the
CreateEndpointConfig
API.
DescribeEndpointResponse
, describeEndpointResponse_dataCaptureConfig
- Undocumented member.
$sel:explainerConfig:DescribeEndpointResponse'
, describeEndpointResponse_explainerConfig
- The configuration parameters for an explainer.
DescribeEndpointResponse
, describeEndpointResponse_failureReason
- If the status of the endpoint is Failed
, the reason why it failed.
$sel:lastDeploymentConfig:DescribeEndpointResponse'
, describeEndpointResponse_lastDeploymentConfig
- The most recent deployment configuration for the endpoint.
$sel:pendingDeploymentSummary:DescribeEndpointResponse'
, describeEndpointResponse_pendingDeploymentSummary
- Returns the summary of an in-progress deployment. This field is only
returned when the endpoint is creating or updating with a new endpoint
configuration.
DescribeEndpointResponse
, describeEndpointResponse_productionVariants
- An array of ProductionVariantSummary objects, one for each model hosted
behind this endpoint.
DescribeEndpointResponse
, describeEndpointResponse_shadowProductionVariants
- An array of ProductionVariantSummary objects, one for each model that
you want to host at this endpoint in shadow mode with production traffic
replicated from the model specified on ProductionVariants
.
$sel:httpStatus:DescribeEndpointResponse'
, describeEndpointResponse_httpStatus
- The response's http status code.
DescribeEndpoint
, describeEndpointResponse_endpointName
- Name of the endpoint.
DescribeEndpointResponse
, describeEndpointResponse_endpointArn
- The Amazon Resource Name (ARN) of the endpoint.
DescribeEndpointResponse
, describeEndpointResponse_endpointConfigName
- The name of the endpoint configuration associated with this endpoint.
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.
DescribeEndpointResponse
, describeEndpointResponse_creationTime
- A timestamp that shows when the endpoint was created.
DescribeEndpointResponse
, describeEndpointResponse_lastModifiedTime
- A timestamp that shows when the endpoint was last modified.
Response Lenses
describeEndpointResponse_asyncInferenceConfig :: Lens' DescribeEndpointResponse (Maybe AsyncInferenceConfig) Source #
Returns the description of an endpoint configuration created using the CreateEndpointConfig API.
describeEndpointResponse_dataCaptureConfig :: Lens' DescribeEndpointResponse (Maybe DataCaptureConfigSummary) Source #
Undocumented member.
describeEndpointResponse_explainerConfig :: Lens' DescribeEndpointResponse (Maybe ExplainerConfig) Source #
The configuration parameters for an explainer.
describeEndpointResponse_failureReason :: Lens' DescribeEndpointResponse (Maybe Text) Source #
If the status of the endpoint is Failed
, the reason why it failed.
describeEndpointResponse_lastDeploymentConfig :: Lens' DescribeEndpointResponse (Maybe DeploymentConfig) Source #
The most recent deployment configuration for the endpoint.
describeEndpointResponse_pendingDeploymentSummary :: Lens' DescribeEndpointResponse (Maybe PendingDeploymentSummary) Source #
Returns the summary of an in-progress deployment. This field is only returned when the endpoint is creating or updating with a new endpoint configuration.
describeEndpointResponse_productionVariants :: Lens' DescribeEndpointResponse (Maybe (NonEmpty ProductionVariantSummary)) Source #
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
describeEndpointResponse_shadowProductionVariants :: Lens' DescribeEndpointResponse (Maybe (NonEmpty ProductionVariantSummary)) Source #
An array of ProductionVariantSummary objects, one for each model that
you want to host at this endpoint in shadow mode with production traffic
replicated from the model specified on ProductionVariants
.
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.