From 2e52301c8cce2705446cc97317d6adc8fbc63d0a Mon Sep 17 00:00:00 2001 From: Joe Hosteny Date: Tue, 19 Nov 2024 12:51:46 -0500 Subject: [PATCH] Fix README to reference v2 Go SDK --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f253526..e28e6e8 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,15 @@ Code generator for Elixir and Erlang AWS client. ## Generating code -The code generator uses specs from the [AWS SDK for the Go programming -language][aws-sdk-go] to generate code. +The code generator uses specs from the [AWS SDK v2 for the Go programming +language][aws-sdk-go-v2] to generate code. Code is generated by running the `generate.exs` script. It requires Elixir 1.8.4+. ### Elixir ```bash -export SPEC_PATH=../../aws/aws-sdk-go/models/apis +export SPEC_PATH=../../aws/aws-sdk-go-v2/codegen/sdk-codegen/aws-models export TEMPLATE_PATH=priv export ELIXIR_OUTPUT_PATH=../aws-elixir/lib/aws/generated mix run generate.exs elixir $SPEC_PATH $TEMPLATE_PATH $ELIXIR_OUTPUT_PATH @@ -21,7 +21,7 @@ mix run generate.exs elixir $SPEC_PATH $TEMPLATE_PATH $ELIXIR_OUTPUT_PATH ### Erlang ```bash -export SPEC_PATH=../../aws/aws-sdk-go/models/apis +export SPEC_PATH=../../aws/aws-sdk-go-v2/codegen/sdk-codegen/aws-models export TEMPLATE_PATH=priv export ERLANG_OUTPUT_PATH=../aws-erlang/src mix run generate.exs erlang $SPEC_PATH $TEMPLATE_PATH $ERLANG_OUTPUT_PATH @@ -30,7 +30,7 @@ mix run generate.exs erlang $SPEC_PATH $TEMPLATE_PATH $ERLANG_OUTPUT_PATH ## AWS Protocols Each AWS API uses a specific protocol which is defined in its -specification JSON file in the [aws-sdk-go][] repository. The existing +specification JSON file in the [aws-sdk-go-v2][] repository. The existing protocols are: - json @@ -75,5 +75,5 @@ Alternatively you can install XCode's Command Line Developer Tools package: $ xcode-select --install -[aws-sdk-go]: https://github.com/aws/aws-sdk-go +[aws-sdk-go-v2]: https://github.com/aws/aws-sdk-go-v2 [brew]: https://brew.sh/