Skip to content

Commit a4f5454

Browse files
chore: update links to point to smithy.io (#4193)
1 parent 2c5f310 commit a4f5454

File tree

14 files changed

+16
-16
lines changed

14 files changed

+16
-16
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
* @see QueryMemberSerVisitor
4242
* @see XmlMemberDeserVisitor
4343
* @see AwsProtocolUtils
44-
* @see <a href="https://awslabs.github.io/smithy/spec/xml.html">Smithy XML traits.</a>
45-
* @see <a href="https://awslabs.github.io/smithy/spec/aws-core.html#ec2QueryName-trait">Smithy EC2 Query Name trait.</a>
44+
* @see <a href="https://smithy.io/2.0/spec/protocol-traits.html#xml-bindings">Smithy XML traits.</a>
45+
* @see <a href="https://smithy.io/2.0/aws/protocols/aws-ec2-query-protocol.html#aws-protocols-ec2queryname-trait">Smithy EC2 Query Name trait.</a>
4646
*/
4747
@SmithyInternalApi
4848
final class AwsEc2 extends HttpRpcProtocolGenerator {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private AwsProtocolUtils() {}
5858
* Writes an {@code 'x-amz-content-sha256' = 'UNSIGNED-PAYLOAD'} header for an
5959
* {@code @aws.api#unsignedPayload} trait that specifies the {@code "aws.v4"} auth scheme.
6060
*
61-
* @see <a href=https://awslabs.github.io/smithy/spec/aws-core.html#aws-api-unsignedpayload-trait>@aws.api#unsignedPayload trait</a>
61+
* @see <a href=https://smithy.io/2.0/aws/aws-auth.html#aws-auth-unsignedpayload-trait>@aws.api#unsignedPayload trait</a>
6262
*
6363
* @param context The generation context.
6464
* @param operation The operation being generated.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* @see QueryMemberSerVisitor
4646
* @see XmlMemberDeserVisitor
4747
* @see AwsProtocolUtils
48-
* @see <a href="https://awslabs.github.io/smithy/spec/xml.html">Smithy XML traits.</a>
48+
* @see <a href="https://smithy.io/2.0/spec/protocol-traits.html#xml-bindings">Smithy XML traits.</a>
4949
*/
5050
@SmithyInternalApi
5151
final class AwsQuery extends HttpRpcProtocolGenerator {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
* @see XmlMemberSerVisitor
6060
* @see XmlMemberDeserVisitor
6161
* @see AwsProtocolUtils
62-
* @see <a href="https://awslabs.github.io/smithy/spec/http.html">Smithy HTTP protocol bindings.</a>
63-
* @see <a href="https://awslabs.github.io/smithy/spec/xml.html">Smithy XML traits.</a>
62+
* @see <a href="https://smithy.io/2.0/spec/http-bindings.html">Smithy HTTP protocol bindings.</a>
63+
* @see <a href="https://smithy.io/2.0/spec/protocol-traits.html#xml-bindings">Smithy XML traits.</a>
6464
*/
6565
@SmithyInternalApi
6666
final class AwsRestXml extends HttpBindingProtocolGenerator {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ private void writeNativeAttributeValue() {
375375
* @param member The member being generated for.
376376
* @return If the interface member should be treated as required.
377377
*
378-
* @see <a href="https://awslabs.github.io/smithy/spec/core.html#idempotencytoken-trait">Smithy idempotencyToken trait.</a>
378+
* @see <a href="https://smithy.io/2.0/spec/behavior-traits.html#smithy-api-idempotencytoken-trait">Smithy idempotencyToken trait.</a>
379379
*/
380380
private boolean isRequiredMember(MemberShape member) {
381381
return member.isRequired() && !member.hasTrait(IdempotencyTokenTrait.class);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
*
4545
* @see AwsEc2
4646
* @see QueryShapeSerVisitor
47-
* @see <a href="https://awslabs.github.io/smithy/spec/aws-core.html#ec2QueryName-trait">Smithy EC2 Query Name trait.</a>
47+
* @see <a href="https://smithy.io/2.0/aws/protocols/aws-ec2-query-protocol.html#aws-protocols-ec2queryname-trait">Smithy EC2 Query Name trait.</a>
4848
*/
4949
@SmithyInternalApi
5050
final class Ec2ShapeSerVisitor extends QueryShapeSerVisitor {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
* @see JsonMemberSerVisitor
5050
* @see JsonMemberDeserVisitor
5151
* @see AwsProtocolUtils
52-
* @see <a href="https://awslabs.github.io/smithy/spec/http.html">Smithy HTTP protocol bindings.</a>
52+
* @see <a href="https://smithy.io/2.0/spec/http-bindings.html">Smithy HTTP protocol bindings.</a>
5353
*/
5454
@SmithyInternalApi
5555
abstract class RestJsonProtocolGenerator extends HttpBindingProtocolGenerator {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* <li>Compares boolean shapes to the string {@code "true"} to generate a boolean.</li>
4444
* </ul>
4545
*
46-
* @see <a href="https://awslabs.github.io/smithy/spec/xml.html">Smithy XML traits.</a>
46+
* @see <a href="https://smithy.io/2.0/spec/protocol-traits.html#xml-bindings">Smithy XML traits.</a>
4747
*/
4848
@SmithyInternalApi
4949
final class XmlMemberDeserVisitor extends DocumentMemberDeserVisitor {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
*
4848
* TODO: Work out support for BigDecimal and BigInteger, natively or through a library.
4949
*
50-
* @see <a href="https://awslabs.github.io/smithy/spec/xml.html">Smithy XML traits.</a>
50+
* @see <a href="https://smithy.io/2.0/spec/protocol-traits.html#xml-bindings">Smithy XML traits.</a>
5151
*/
5252
@SmithyInternalApi
5353
final class XmlMemberSerVisitor extends DocumentMemberSerVisitor {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
*
5252
* Timestamps are deserialized from {@link Format}.DATE_TIME by default.
5353
*
54-
* @see <a href="https://awslabs.github.io/smithy/spec/xml.html">Smithy XML
54+
* @see <a href="https://smithy.io/2.0/spec/protocol-traits.html#xml-bindings">Smithy XML
5555
* traits.</a>
5656
*/
5757
@SmithyInternalApi

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
*
4949
* Timestamps are serialized to {@link Format}.DATE_TIME by default.
5050
*
51-
* @see <a href="https://awslabs.github.io/smithy/spec/xml.html">Smithy XML traits.</a>
51+
* @see <a href="https://smithy.io/2.0/spec/protocol-traits.html#xml-bindings">Smithy XML traits.</a>
5252
*/
5353
@SmithyInternalApi
5454
final class XmlShapeSerVisitor extends DocumentShapeSerVisitor {

packages/token-providers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ import { nodeProvider } from "@aws-sdk/token-providers"
3636
cont token = await nodeProvider();
3737
```
3838

39-
[http-bearer-auth-trait]: https://awslabs.github.io/smithy/1.0/spec/core/auth-traits.html#httpbearerauth-trait
39+
[http-bearer-auth-trait]: https://smithy.io/2.0/spec/authentication-traits.html#smithy-api-httpbearerauth-trait

packages/types/src/shapes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type DocumentType = null | boolean | number | string | DocumentType[] | {
1313

1414
/**
1515
* A structure shape with the error trait.
16-
* https://awslabs.github.io/smithy/spec/core.html#retryable-trait
16+
* https://smithy.io/2.0/spec/behavior-traits.html#smithy-api-retryable-trait
1717
*/
1818
export interface RetryableTrait {
1919
/**

packages/util-waiter/src/poller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { sleep } from "./utils/sleep";
22
import { WaiterOptions, WaiterResult, WaiterState } from "./waiter";
33

44
/**
5-
* Reference: https://awslabs.github.io/smithy/1.0/spec/waiters.html#waiter-retries
5+
* Reference: https://smithy.io/2.0/additional-specs/waiters.html#waiter-retries
66
*/
77
const exponentialBackoffWithJitter = (minDelay: number, maxDelay: number, attemptCeiling: number, attempt: number) => {
88
if (attempt > attemptCeiling) return maxDelay;

0 commit comments

Comments
 (0)