Skip to content

Commit 29c3609

Browse files
authored
chore(codegen): fix link to Hash interface in SQS (#2622)
1 parent 6890a47 commit 29c3609

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

clients/client-sqs/SQSClient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
230230
regionInfoProvider?: RegionInfoProvider;
231231

232232
/**
233-
* A constructor for a class implementing the @aws-sdk/types.Hash interface
233+
* A constructor for a class implementing the {@link __Hash} interface
234234
* that computes MD5 hashes.
235235
* @internal
236236
*/

codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddSqsDependency.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ public void addConfigInterfaceFields(
7373
return;
7474
}
7575

76+
writer.addImport("Hash", "__Hash", "@aws-sdk/types");
7677
writer.addImport("HashConstructor", "__HashConstructor", "@aws-sdk/types");
77-
writer.writeDocs("A constructor for a class implementing the @aws-sdk/types.Hash interface \n"
78+
writer.writeDocs("A constructor for a class implementing the {@link __Hash} interface \n"
7879
+ "that computes MD5 hashes.\n"
7980
+ "@internal");
8081
writer.write("md5?: __HashConstructor;\n");

0 commit comments

Comments
 (0)