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 |
Synopsis
- data EndpointProperties = EndpointProperties' {
- creationTime :: Maybe POSIX
- currentInferenceUnits :: Maybe Natural
- dataAccessRoleArn :: Maybe Text
- desiredDataAccessRoleArn :: Maybe Text
- desiredInferenceUnits :: Maybe Natural
- desiredModelArn :: Maybe Text
- endpointArn :: Maybe Text
- lastModifiedTime :: Maybe POSIX
- message :: Maybe Text
- modelArn :: Maybe Text
- status :: Maybe EndpointStatus
- newEndpointProperties :: EndpointProperties
- endpointProperties_creationTime :: Lens' EndpointProperties (Maybe UTCTime)
- endpointProperties_currentInferenceUnits :: Lens' EndpointProperties (Maybe Natural)
- endpointProperties_dataAccessRoleArn :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_desiredDataAccessRoleArn :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_desiredInferenceUnits :: Lens' EndpointProperties (Maybe Natural)
- endpointProperties_desiredModelArn :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_endpointArn :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_lastModifiedTime :: Lens' EndpointProperties (Maybe UTCTime)
- endpointProperties_message :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_modelArn :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_status :: Lens' EndpointProperties (Maybe EndpointStatus)
Documentation
data EndpointProperties Source #
Specifies information about the specified endpoint. For information about endpoints, see Managing endpoints.
See: newEndpointProperties
smart constructor.
EndpointProperties' | |
|
Instances
newEndpointProperties :: EndpointProperties Source #
Create a value of EndpointProperties
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:creationTime:EndpointProperties'
, endpointProperties_creationTime
- The creation date and time of the endpoint.
$sel:currentInferenceUnits:EndpointProperties'
, endpointProperties_currentInferenceUnits
- The number of inference units currently used by the model using this
endpoint.
$sel:dataAccessRoleArn:EndpointProperties'
, endpointProperties_dataAccessRoleArn
- The Amazon Resource Name (ARN) of the AWS identity and Access Management
(IAM) role that grants Amazon Comprehend read access to trained custom
models encrypted with a customer managed key (ModelKmsKeyId).
$sel:desiredDataAccessRoleArn:EndpointProperties'
, endpointProperties_desiredDataAccessRoleArn
- Data access role ARN to use in case the new model is encrypted with a
customer KMS key.
$sel:desiredInferenceUnits:EndpointProperties'
, endpointProperties_desiredInferenceUnits
- The desired number of inference units to be used by the model using this
endpoint. Each inference unit represents of a throughput of 100
characters per second.
$sel:desiredModelArn:EndpointProperties'
, endpointProperties_desiredModelArn
- ARN of the new model to use for updating an existing endpoint. This ARN
is going to be different from the model ARN when the update is in
progress
$sel:endpointArn:EndpointProperties'
, endpointProperties_endpointArn
- The Amazon Resource Number (ARN) of the endpoint.
$sel:lastModifiedTime:EndpointProperties'
, endpointProperties_lastModifiedTime
- The date and time that the endpoint was last modified.
$sel:message:EndpointProperties'
, endpointProperties_message
- Specifies a reason for failure in cases of Failed
status.
$sel:modelArn:EndpointProperties'
, endpointProperties_modelArn
- The Amazon Resource Number (ARN) of the model to which the endpoint is
attached.
$sel:status:EndpointProperties'
, endpointProperties_status
- Specifies the status of the endpoint. Because the endpoint updates and
creation are asynchronous, so customers will need to wait for the
endpoint to be Ready
status before making inference requests.
endpointProperties_creationTime :: Lens' EndpointProperties (Maybe UTCTime) Source #
The creation date and time of the endpoint.
endpointProperties_currentInferenceUnits :: Lens' EndpointProperties (Maybe Natural) Source #
The number of inference units currently used by the model using this endpoint.
endpointProperties_dataAccessRoleArn :: Lens' EndpointProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).
endpointProperties_desiredDataAccessRoleArn :: Lens' EndpointProperties (Maybe Text) Source #
Data access role ARN to use in case the new model is encrypted with a customer KMS key.
endpointProperties_desiredInferenceUnits :: Lens' EndpointProperties (Maybe Natural) Source #
The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
endpointProperties_desiredModelArn :: Lens' EndpointProperties (Maybe Text) Source #
ARN of the new model to use for updating an existing endpoint. This ARN is going to be different from the model ARN when the update is in progress
endpointProperties_endpointArn :: Lens' EndpointProperties (Maybe Text) Source #
The Amazon Resource Number (ARN) of the endpoint.
endpointProperties_lastModifiedTime :: Lens' EndpointProperties (Maybe UTCTime) Source #
The date and time that the endpoint was last modified.
endpointProperties_message :: Lens' EndpointProperties (Maybe Text) Source #
Specifies a reason for failure in cases of Failed
status.
endpointProperties_modelArn :: Lens' EndpointProperties (Maybe Text) Source #
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
endpointProperties_status :: Lens' EndpointProperties (Maybe EndpointStatus) Source #
Specifies the status of the endpoint. Because the endpoint updates and
creation are asynchronous, so customers will need to wait for the
endpoint to be Ready
status before making inference requests.