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 |
Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API.
The endpoint name must be unique within an AWS Region in your AWS account.
When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.
When Amazon SageMaker receives the request, it sets the endpoint status to Creating
. After it creates the endpoint, it sets the status to InService
. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API.
For an example, see Exercise 1: Using the K-Means Algorithm Provided by Amazon SageMaker .
Synopsis
- createEndpoint :: Text -> Text -> CreateEndpoint
- data CreateEndpoint
- ceTags :: Lens' CreateEndpoint [Tag]
- ceEndpointName :: Lens' CreateEndpoint Text
- ceEndpointConfigName :: Lens' CreateEndpoint Text
- createEndpointResponse :: Int -> Text -> CreateEndpointResponse
- data CreateEndpointResponse
- cersResponseStatus :: Lens' CreateEndpointResponse Int
- cersEndpointARN :: Lens' CreateEndpointResponse Text
Creating a Request
Creates a value of CreateEndpoint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ceTags
- An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .ceEndpointName
- The name of the endpoint. The name must be unique within an AWS Region in your AWS account.ceEndpointConfigName
- The name of an endpoint configuration. For more information, see CreateEndpointConfig .
data CreateEndpoint Source #
See: createEndpoint
smart constructor.
Instances
Request Lenses
ceTags :: Lens' CreateEndpoint [Tag] Source #
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .
ceEndpointName :: Lens' CreateEndpoint Text Source #
The name of the endpoint. The name must be unique within an AWS Region in your AWS account.
ceEndpointConfigName :: Lens' CreateEndpoint Text Source #
The name of an endpoint configuration. For more information, see CreateEndpointConfig .
Destructuring the Response
createEndpointResponse Source #
Creates a value of CreateEndpointResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cersResponseStatus
- -- | The response status code.cersEndpointARN
- The Amazon Resource Name (ARN) of the endpoint.
data CreateEndpointResponse Source #
See: createEndpointResponse
smart constructor.
Instances
Response Lenses
cersResponseStatus :: Lens' CreateEndpointResponse Int Source #
- - | The response status code.
cersEndpointARN :: Lens' CreateEndpointResponse Text Source #
The Amazon Resource Name (ARN) of the endpoint.