Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Deploys the new EndpointConfig
specified in the request, switches to using newly created endpoint, and then deletes resources provisioned for the endpoint using the previous EndpointConfig
(there is no availability loss).
When Amazon SageMaker receives the request, it sets the endpoint status to Updating
. After updating the endpoint, it sets the status to InService
. To check the status of an endpoint, use the DescribeEndpoint API.
- updateEndpoint :: Text -> Text -> UpdateEndpoint
- data UpdateEndpoint
- ueEndpointName :: Lens' UpdateEndpoint Text
- ueEndpointConfigName :: Lens' UpdateEndpoint Text
- updateEndpointResponse :: Int -> Text -> UpdateEndpointResponse
- data UpdateEndpointResponse
- uersResponseStatus :: Lens' UpdateEndpointResponse Int
- uersEndpointARN :: Lens' UpdateEndpointResponse Text
Creating a Request
Creates a value of UpdateEndpoint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ueEndpointName
- The name of the endpoint whose configuration you want to update.ueEndpointConfigName
- The name of the new endpoint configuration.
data UpdateEndpoint Source #
See: updateEndpoint
smart constructor.
Request Lenses
ueEndpointName :: Lens' UpdateEndpoint Text Source #
The name of the endpoint whose configuration you want to update.
ueEndpointConfigName :: Lens' UpdateEndpoint Text Source #
The name of the new endpoint configuration.
Destructuring the Response
updateEndpointResponse Source #
Creates a value of UpdateEndpointResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uersResponseStatus
- -- | The response status code.uersEndpointARN
- The Amazon Resource Name (ARN) of the endpoint.
data UpdateEndpointResponse Source #
See: updateEndpointResponse
smart constructor.
Response Lenses
uersResponseStatus :: Lens' UpdateEndpointResponse Int Source #
- - | The response status code.
uersEndpointARN :: Lens' UpdateEndpointResponse Text Source #
The Amazon Resource Name (ARN) of the endpoint.