From 788eea1e1ab0f287f222d83ab84e9b3e71f8b036 Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Thu, 11 Feb 2021 00:36:36 +0000 Subject: [PATCH 1/3] chore(clients): mark apiVersion as internal --- packages/smithy-client/src/client.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/smithy-client/src/client.ts b/packages/smithy-client/src/client.ts index 5112a91b3290..945e5a879763 100644 --- a/packages/smithy-client/src/client.ts +++ b/packages/smithy-client/src/client.ts @@ -3,6 +3,9 @@ import { Client as IClient, Command, MetadataBearer, RequestHandler } from "@aws export interface SmithyConfiguration { requestHandler: RequestHandler; + /** + * @internal + */ readonly apiVersion: string; } From 7e05dbd0fc0568d312876ab29fbe2ba54c9f75a8 Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Thu, 11 Feb 2021 00:52:32 +0000 Subject: [PATCH 2/3] chore: amention API version is set by SDK --- packages/smithy-client/src/client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/smithy-client/src/client.ts b/packages/smithy-client/src/client.ts index 945e5a879763..eae0a1e92cf1 100644 --- a/packages/smithy-client/src/client.ts +++ b/packages/smithy-client/src/client.ts @@ -4,6 +4,7 @@ import { Client as IClient, Command, MetadataBearer, RequestHandler } from "@aws export interface SmithyConfiguration { requestHandler: RequestHandler; /** + * The API version set internally by the SDK. * @internal */ readonly apiVersion: string; From d2d42d909932d18996688c0a6bae0512bb1fd7dd Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Thu, 11 Feb 2021 01:00:02 +0000 Subject: [PATCH 3/3] chore: explicitly call out it is not be used by customer code --- packages/smithy-client/src/client.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/smithy-client/src/client.ts b/packages/smithy-client/src/client.ts index eae0a1e92cf1..516e582624ca 100644 --- a/packages/smithy-client/src/client.ts +++ b/packages/smithy-client/src/client.ts @@ -4,7 +4,8 @@ import { Client as IClient, Command, MetadataBearer, RequestHandler } from "@aws export interface SmithyConfiguration { requestHandler: RequestHandler; /** - * The API version set internally by the SDK. + * The API version set internally by the SDK, and is + * not planned to be used by customer code. * @internal */ readonly apiVersion: string;