From 0c9ee9f241b5cdd978f6df9d030da8f7309db796 Mon Sep 17 00:00:00 2001 From: George Fu Date: Tue, 26 Sep 2023 17:12:45 -0400 Subject: [PATCH] add link for retryModes input enum (#962) --- .changeset/pink-kings-call.md | 2 ++ .../codegen/integration/AddClientRuntimeConfig.java | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/pink-kings-call.md diff --git a/.changeset/pink-kings-call.md b/.changeset/pink-kings-call.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/pink-kings-call.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/AddClientRuntimeConfig.java b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/AddClientRuntimeConfig.java index 1a849d41ea8..fb1083cf14a 100644 --- a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/AddClientRuntimeConfig.java +++ b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/integration/AddClientRuntimeConfig.java @@ -68,7 +68,10 @@ public void addConfigInterfaceFields( writer.writeDocs("Value for how many times a request will be made at most in case of retry.") .write("maxAttempts?: number | __Provider;\n"); - writer.writeDocs("Specifies which retry algorithm to use.") + writer.writeDocs(""" + Specifies which retry algorithm to use. + @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ + """) .write("retryMode?: string | __Provider;\n"); writer.writeDocs("Optional logger for logging debug/info/warn/error.") .write("logger?: __Logger;\n");