From 4ae18d4b6211fb002a61a31169ca170dab68e7de Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 15 Nov 2023 19:27:16 +0000 Subject: [PATCH] feat(client-finspace): Adding deprecated trait on Dataset Browser Environment APIs --- .../src/commands/CreateEnvironmentCommand.ts | 2 ++ .../src/commands/DeleteEnvironmentCommand.ts | 2 ++ .../src/commands/GetEnvironmentCommand.ts | 2 ++ .../src/commands/ListEnvironmentsCommand.ts | 2 ++ .../src/commands/UpdateEnvironmentCommand.ts | 2 ++ codegen/sdk-codegen/aws-models/finspace.json | 15 +++++++++++++++ 6 files changed, 25 insertions(+) diff --git a/clients/client-finspace/src/commands/CreateEnvironmentCommand.ts b/clients/client-finspace/src/commands/CreateEnvironmentCommand.ts index 9189ce3de255c..61355e6ec6542 100644 --- a/clients/client-finspace/src/commands/CreateEnvironmentCommand.ts +++ b/clients/client-finspace/src/commands/CreateEnvironmentCommand.ts @@ -41,6 +41,8 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentRespons /** * @public + * @deprecated + * *

Create a new FinSpace environment.

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-finspace/src/commands/DeleteEnvironmentCommand.ts b/clients/client-finspace/src/commands/DeleteEnvironmentCommand.ts index 16dd379467b52..45e2763a6a548 100644 --- a/clients/client-finspace/src/commands/DeleteEnvironmentCommand.ts +++ b/clients/client-finspace/src/commands/DeleteEnvironmentCommand.ts @@ -37,6 +37,8 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentRespons /** * @public + * @deprecated + * *

Delete an FinSpace environment.

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-finspace/src/commands/GetEnvironmentCommand.ts b/clients/client-finspace/src/commands/GetEnvironmentCommand.ts index d76091a942a2d..68f69aa851bbd 100644 --- a/clients/client-finspace/src/commands/GetEnvironmentCommand.ts +++ b/clients/client-finspace/src/commands/GetEnvironmentCommand.ts @@ -37,6 +37,8 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentResponse, __M /** * @public + * @deprecated + * *

Returns the FinSpace environment object.

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-finspace/src/commands/ListEnvironmentsCommand.ts b/clients/client-finspace/src/commands/ListEnvironmentsCommand.ts index 5c0cf1de70408..aad4b81f2c8f1 100644 --- a/clients/client-finspace/src/commands/ListEnvironmentsCommand.ts +++ b/clients/client-finspace/src/commands/ListEnvironmentsCommand.ts @@ -37,6 +37,8 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResponse, /** * @public + * @deprecated + * *

A list of all of your FinSpace environments.

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-finspace/src/commands/UpdateEnvironmentCommand.ts b/clients/client-finspace/src/commands/UpdateEnvironmentCommand.ts index 8ade7030c525d..480a67e5e3e53 100644 --- a/clients/client-finspace/src/commands/UpdateEnvironmentCommand.ts +++ b/clients/client-finspace/src/commands/UpdateEnvironmentCommand.ts @@ -37,6 +37,8 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentRespons /** * @public + * @deprecated + * *

Update your FinSpace environment.

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/codegen/sdk-codegen/aws-models/finspace.json b/codegen/sdk-codegen/aws-models/finspace.json index f40ad42381387..e0af48b82f04d 100644 --- a/codegen/sdk-codegen/aws-models/finspace.json +++ b/codegen/sdk-codegen/aws-models/finspace.json @@ -1151,6 +1151,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Create a new FinSpace environment.

", "smithy.api#http": { "method": "POST", @@ -2158,6 +2161,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Delete an FinSpace environment.

", "smithy.api#http": { "method": "DELETE", @@ -2916,6 +2922,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Returns the FinSpace environment object.

", "smithy.api#http": { "method": "GET", @@ -4649,6 +4658,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

A list of all of your FinSpace environments.

", "smithy.api#http": { "method": "GET", @@ -5924,6 +5936,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Update your FinSpace environment.

", "smithy.api#http": { "method": "PUT",