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 |
Updates information about the specified endpoint. For information about endpoints, see Managing endpoints.
Synopsis
- data UpdateEndpoint = UpdateEndpoint' {}
- newUpdateEndpoint :: Text -> UpdateEndpoint
- updateEndpoint_desiredDataAccessRoleArn :: Lens' UpdateEndpoint (Maybe Text)
- updateEndpoint_desiredInferenceUnits :: Lens' UpdateEndpoint (Maybe Natural)
- updateEndpoint_desiredModelArn :: 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:
UpdateEndpoint
, updateEndpoint_desiredDataAccessRoleArn
- Data access role ARN to use in case the new model is encrypted with a
customer CMK.
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.
UpdateEndpoint
, updateEndpoint_desiredModelArn
- The ARN of the new model to use when updating an existing endpoint.
UpdateEndpoint
, updateEndpoint_endpointArn
- The Amazon Resource Number (ARN) of the endpoint being updated.
Request Lenses
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_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_desiredModelArn :: Lens' UpdateEndpoint (Maybe Text) Source #
The ARN of the new model to use when updating an existing endpoint.
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.