Skip to content

Commit 8061bcc

Browse files
author
awstools
committed
feat(client-workspaces-thin-client): Adding tags field to SoftwareSet. Removing tags fields from Summary objects. Changing the list of exceptions in tagging APIs. Fixing an issue where the SDK returns empty tags in Get APIs.
1 parent 88f12a7 commit 8061bcc

14 files changed

+106
-189
lines changed

clients/client-workspaces-thin-client/src/commands/CreateEnvironmentCommand.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,6 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentRespons
9595
* // createdAt: new Date("TIMESTAMP"),
9696
* // updatedAt: new Date("TIMESTAMP"),
9797
* // arn: "STRING_VALUE",
98-
* // tags: { // EmbeddedTag
99-
* // resourceArn: "STRING_VALUE",
100-
* // internalId: "STRING_VALUE",
101-
* // },
10298
* // },
10399
* // };
104100
*

clients/client-workspaces-thin-client/src/commands/GetDeviceCommand.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ export interface GetDeviceCommandOutput extends GetDeviceResponse, __MetadataBea
6565
* // updatedAt: new Date("TIMESTAMP"),
6666
* // arn: "STRING_VALUE",
6767
* // kmsKeyArn: "STRING_VALUE",
68-
* // tags: { // EmbeddedTag
69-
* // resourceArn: "STRING_VALUE",
70-
* // internalId: "STRING_VALUE",
68+
* // tags: { // TagsMap
69+
* // "<keys>": "STRING_VALUE",
7170
* // },
7271
* // },
7372
* // };

clients/client-workspaces-thin-client/src/commands/GetEnvironmentCommand.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentResponse, __M
7777
* // updatedAt: new Date("TIMESTAMP"),
7878
* // arn: "STRING_VALUE",
7979
* // kmsKeyArn: "STRING_VALUE",
80-
* // tags: { // EmbeddedTag
81-
* // resourceArn: "STRING_VALUE",
82-
* // internalId: "STRING_VALUE",
80+
* // tags: { // TagsMap
81+
* // "<keys>": "STRING_VALUE",
8382
* // },
8483
* // },
8584
* // };

clients/client-workspaces-thin-client/src/commands/GetSoftwareSetCommand.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { GetSoftwareSetRequest, GetSoftwareSetResponse } from "../models/models_0";
8+
import {
9+
GetSoftwareSetRequest,
10+
GetSoftwareSetResponse,
11+
GetSoftwareSetResponseFilterSensitiveLog,
12+
} from "../models/models_0";
913
import { de_GetSoftwareSetCommand, se_GetSoftwareSetCommand } from "../protocols/Aws_restJson1";
1014
import {
1115
ServiceInputTypes,
@@ -57,6 +61,9 @@ export interface GetSoftwareSetCommandOutput extends GetSoftwareSetResponse, __M
5761
* // },
5862
* // ],
5963
* // arn: "STRING_VALUE",
64+
* // tags: { // TagsMap
65+
* // "<keys>": "STRING_VALUE",
66+
* // },
6067
* // },
6168
* // };
6269
*
@@ -107,7 +114,7 @@ export class GetSoftwareSetCommand extends $Command
107114
})
108115
.s("ThinClient", "GetSoftwareSet", {})
109116
.n("WorkSpacesThinClientClient", "GetSoftwareSetCommand")
110-
.f(void 0, void 0)
117+
.f(void 0, GetSoftwareSetResponseFilterSensitiveLog)
111118
.ser(se_GetSoftwareSetCommand)
112119
.de(de_GetSoftwareSetCommand)
113120
.build() {}

clients/client-workspaces-thin-client/src/commands/ListDevicesCommand.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ export interface ListDevicesCommandOutput extends ListDevicesResponse, __Metadat
6262
* // createdAt: new Date("TIMESTAMP"),
6363
* // updatedAt: new Date("TIMESTAMP"),
6464
* // arn: "STRING_VALUE",
65-
* // tags: { // EmbeddedTag
66-
* // resourceArn: "STRING_VALUE",
67-
* // internalId: "STRING_VALUE",
68-
* // },
6965
* // },
7066
* // ],
7167
* // nextToken: "STRING_VALUE",

clients/client-workspaces-thin-client/src/commands/ListEnvironmentsCommand.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResponse,
7575
* // createdAt: new Date("TIMESTAMP"),
7676
* // updatedAt: new Date("TIMESTAMP"),
7777
* // arn: "STRING_VALUE",
78-
* // tags: { // EmbeddedTag
79-
* // resourceArn: "STRING_VALUE",
80-
* // internalId: "STRING_VALUE",
81-
* // },
8278
* // },
8379
* // ],
8480
* // nextToken: "STRING_VALUE",

clients/client-workspaces-thin-client/src/commands/ListTagsForResourceCommand.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,18 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
6161
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
6262
* @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
6363
*
64-
* @throws {@link InternalServiceException} (server fault)
65-
* <p>Request processing failed due to some unknown error, exception, or failure.</p>
64+
* @throws {@link AccessDeniedException} (client fault)
65+
* <p>You do not have sufficient access to perform this action.</p>
66+
*
67+
* @throws {@link InternalServerException} (server fault)
68+
* <p>The server encountered an internal error and is unable to complete the request.</p>
6669
*
6770
* @throws {@link ResourceNotFoundException} (client fault)
6871
* <p>The resource specified in the request was not found.</p>
6972
*
73+
* @throws {@link ThrottlingException} (client fault)
74+
* <p>The request was denied due to request throttling.</p>
75+
*
7076
* @throws {@link ValidationException} (client fault)
7177
* <p>The input fails to satisfy the specified constraints.</p>
7278
*

clients/client-workspaces-thin-client/src/commands/TagResourceCommand.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,23 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
5656
* @see {@link TagResourceCommandOutput} for command's `response` shape.
5757
* @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
5858
*
59-
* @throws {@link InternalServiceException} (server fault)
60-
* <p>Request processing failed due to some unknown error, exception, or failure.</p>
59+
* @throws {@link AccessDeniedException} (client fault)
60+
* <p>You do not have sufficient access to perform this action.</p>
61+
*
62+
* @throws {@link ConflictException} (client fault)
63+
* <p>The requested operation would cause a conflict with the current state of a service
64+
* resource associated with the request. Resolve the conflict before retrying this
65+
* request.</p>
66+
*
67+
* @throws {@link InternalServerException} (server fault)
68+
* <p>The server encountered an internal error and is unable to complete the request.</p>
6169
*
6270
* @throws {@link ResourceNotFoundException} (client fault)
6371
* <p>The resource specified in the request was not found.</p>
6472
*
73+
* @throws {@link ThrottlingException} (client fault)
74+
* <p>The request was denied due to request throttling.</p>
75+
*
6576
* @throws {@link ValidationException} (client fault)
6677
* <p>The input fails to satisfy the specified constraints.</p>
6778
*

clients/client-workspaces-thin-client/src/commands/UntagResourceCommand.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,23 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
6060
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
6161
* @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
6262
*
63-
* @throws {@link InternalServiceException} (server fault)
64-
* <p>Request processing failed due to some unknown error, exception, or failure.</p>
63+
* @throws {@link AccessDeniedException} (client fault)
64+
* <p>You do not have sufficient access to perform this action.</p>
65+
*
66+
* @throws {@link ConflictException} (client fault)
67+
* <p>The requested operation would cause a conflict with the current state of a service
68+
* resource associated with the request. Resolve the conflict before retrying this
69+
* request.</p>
70+
*
71+
* @throws {@link InternalServerException} (server fault)
72+
* <p>The server encountered an internal error and is unable to complete the request.</p>
6573
*
6674
* @throws {@link ResourceNotFoundException} (client fault)
6775
* <p>The resource specified in the request was not found.</p>
6876
*
77+
* @throws {@link ThrottlingException} (client fault)
78+
* <p>The request was denied due to request throttling.</p>
79+
*
6980
* @throws {@link ValidationException} (client fault)
7081
* <p>The input fails to satisfy the specified constraints.</p>
7182
*

clients/client-workspaces-thin-client/src/commands/UpdateDeviceCommand.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ export interface UpdateDeviceCommandOutput extends UpdateDeviceResponse, __Metad
6868
* // createdAt: new Date("TIMESTAMP"),
6969
* // updatedAt: new Date("TIMESTAMP"),
7070
* // arn: "STRING_VALUE",
71-
* // tags: { // EmbeddedTag
72-
* // resourceArn: "STRING_VALUE",
73-
* // internalId: "STRING_VALUE",
74-
* // },
7571
* // },
7672
* // };
7773
*

0 commit comments

Comments
 (0)