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 |
Updates information about the specified endpoint.
Synopsis
- data UpdateEndpoint = UpdateEndpoint' {}
- newUpdateEndpoint :: Text -> UpdateEndpoint
- updateEndpoint_desiredModelArn :: Lens' UpdateEndpoint (Maybe Text)
- updateEndpoint_desiredInferenceUnits :: Lens' UpdateEndpoint (Maybe Natural)
- updateEndpoint_desiredDataAccessRoleArn :: Lens' UpdateEndpoint (Maybe Text)
- updateEndpoint_endpointArn :: Lens' UpdateEndpoint Text
- data UpdateEndpointResponse = UpdateEndpointResponse' {
- httpStatus :: Int
- newUpdateEndpointResponse :: Int -> UpdateEndpointResponse
- updateEndpointResponse_httpStatus :: Lens' UpdateEndpointResponse Int
Creating a Request
data UpdateEndpoint Source #
See: newUpdateEndpoint
smart constructor.
UpdateEndpoint' | |
|
Instances
Create a value of UpdateEndpoint
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:desiredModelArn:UpdateEndpoint'
, updateEndpoint_desiredModelArn
- The ARN of the new model to use when updating an existing endpoint.
$sel:desiredInferenceUnits:UpdateEndpoint'
, updateEndpoint_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:desiredDataAccessRoleArn:UpdateEndpoint'
, updateEndpoint_desiredDataAccessRoleArn
- Data access role ARN to use in case the new model is encrypted with a
customer CMK.
$sel:endpointArn:UpdateEndpoint'
, updateEndpoint_endpointArn
- The Amazon Resource Number (ARN) of the endpoint being updated.
Request Lenses
updateEndpoint_desiredModelArn :: Lens' UpdateEndpoint (Maybe Text) Source #
The ARN of the new model to use when updating an existing endpoint.
updateEndpoint_desiredInferenceUnits :: Lens' UpdateEndpoint (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.
updateEndpoint_desiredDataAccessRoleArn :: Lens' UpdateEndpoint (Maybe Text) Source #
Data access role ARN to use in case the new model is encrypted with a customer CMK.
updateEndpoint_endpointArn :: Lens' UpdateEndpoint Text Source #
The Amazon Resource Number (ARN) of the endpoint being updated.
Destructuring the Response
data UpdateEndpointResponse Source #
See: newUpdateEndpointResponse
smart constructor.
UpdateEndpointResponse' | |
|
Instances
newUpdateEndpointResponse Source #
Create a value of UpdateEndpointResponse
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:httpStatus:UpdateEndpointResponse'
, updateEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
updateEndpointResponse_httpStatus :: Lens' UpdateEndpointResponse Int Source #
The response's http status code.