ex-aws / ex_aws

A flexible, easy to use set of clients AWS APIs for Elixir
https://hex.pm/packages/ex_aws
MIT License
1.29k stars 529 forks source link

Add config for sagemaker_runtime_a2i #822

Closed Gazler closed 3 years ago

Gazler commented 3 years ago

To allow ex_aws to be used with the Amazon Augmented AI API (endpoint a2i-runtime.sagemaker.REGION.amazonaws.com) a new service map override has been added named :sagemaker_runtime_a2i to reflect the existing :sagemaker_runtime

https://docs.aws.amazon.com/augmented-ai/2019-11-07/APIReference/API_StartHumanLoop.html

Example:

operation =
  %ExAws.Operation.JSON{
    http_method: :get,
    path: "/human-loops",
    service: :sagemaker_runtime_a2i
}

ExAws.request(operation)
bernardd commented 3 years ago

Thanks @Gazler!