Skip to content

Commit 7b1a6a9

Browse files
author
awstools
committed
feat(client-workspaces-thin-client): Remove Tags field from Get API responses
1 parent 994df73 commit 7b1a6a9

File tree

6 files changed

+2
-90
lines changed

6 files changed

+2
-90
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ export interface GetDeviceCommandOutput extends GetDeviceResponse, __MetadataBea
6666
* // updatedAt: new Date("TIMESTAMP"),
6767
* // arn: "STRING_VALUE",
6868
* // kmsKeyArn: "STRING_VALUE",
69-
* // tags: { // TagsMap
70-
* // "<keys>": "STRING_VALUE",
71-
* // },
7269
* // },
7370
* // };
7471
*

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentResponse, __M
7878
* // updatedAt: new Date("TIMESTAMP"),
7979
* // arn: "STRING_VALUE",
8080
* // kmsKeyArn: "STRING_VALUE",
81-
* // tags: { // TagsMap
82-
* // "<keys>": "STRING_VALUE",
83-
* // },
8481
* // deviceCreationTags: { // DeviceCreationTagsMap
8582
* // "<keys>": "STRING_VALUE",
8683
* // },

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

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ 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 {
9-
GetSoftwareSetRequest,
10-
GetSoftwareSetResponse,
11-
GetSoftwareSetResponseFilterSensitiveLog,
12-
} from "../models/models_0";
8+
import { GetSoftwareSetRequest, GetSoftwareSetResponse } from "../models/models_0";
139
import { de_GetSoftwareSetCommand, se_GetSoftwareSetCommand } from "../protocols/Aws_restJson1";
1410
import {
1511
ServiceInputTypes,
@@ -62,9 +58,6 @@ export interface GetSoftwareSetCommandOutput extends GetSoftwareSetResponse, __M
6258
* // },
6359
* // ],
6460
* // arn: "STRING_VALUE",
65-
* // tags: { // TagsMap
66-
* // "<keys>": "STRING_VALUE",
67-
* // },
6861
* // },
6962
* // };
7063
*
@@ -114,7 +107,7 @@ export class GetSoftwareSetCommand extends $Command
114107
})
115108
.s("ThinClient", "GetSoftwareSet", {})
116109
.n("WorkSpacesThinClientClient", "GetSoftwareSetCommand")
117-
.f(void 0, GetSoftwareSetResponseFilterSensitiveLog)
110+
.f(void 0, void 0)
118111
.ser(se_GetSoftwareSetCommand)
119112
.de(de_GetSoftwareSetCommand)
120113
.build() {

clients/client-workspaces-thin-client/src/models/models_0.ts

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -842,14 +842,6 @@ export interface Device {
842842
* @public
843843
*/
844844
kmsKeyArn?: string | undefined;
845-
846-
/**
847-
* <p>The tag keys and optional values for the resource.</p>
848-
*
849-
* @deprecated
850-
* @public
851-
*/
852-
tags?: Record<string, string> | undefined;
853845
}
854846

855847
/**
@@ -1077,14 +1069,6 @@ export interface Environment {
10771069
*/
10781070
kmsKeyArn?: string | undefined;
10791071

1080-
/**
1081-
* <p>The tag keys and optional values for the resource.</p>
1082-
*
1083-
* @deprecated
1084-
* @public
1085-
*/
1086-
tags?: Record<string, string> | undefined;
1087-
10881072
/**
10891073
* <p>The tag keys and optional values for the newly created devices for this environment.</p>
10901074
* @public
@@ -1226,14 +1210,6 @@ export interface SoftwareSet {
12261210
* @public
12271211
*/
12281212
arn?: string | undefined;
1229-
1230-
/**
1231-
* <p>The tag keys and optional values for the resource.</p>
1232-
*
1233-
* @deprecated
1234-
* @public
1235-
*/
1236-
tags?: Record<string, string> | undefined;
12371213
}
12381214

12391215
/**
@@ -1624,7 +1600,6 @@ export const CreateEnvironmentResponseFilterSensitiveLog = (obj: CreateEnvironme
16241600
export const DeviceFilterSensitiveLog = (obj: Device): any => ({
16251601
...obj,
16261602
...(obj.name && { name: SENSITIVE_STRING }),
1627-
...(obj.tags && { tags: SENSITIVE_STRING }),
16281603
});
16291604

16301605
/**
@@ -1643,7 +1618,6 @@ export const EnvironmentFilterSensitiveLog = (obj: Environment): any => ({
16431618
...(obj.name && { name: SENSITIVE_STRING }),
16441619
...(obj.desktopEndpoint && { desktopEndpoint: SENSITIVE_STRING }),
16451620
...(obj.activationCode && { activationCode: SENSITIVE_STRING }),
1646-
...(obj.tags && { tags: SENSITIVE_STRING }),
16471621
...(obj.deviceCreationTags && { deviceCreationTags: SENSITIVE_STRING }),
16481622
});
16491623

@@ -1663,22 +1637,6 @@ export const GetEnvironmentResponseFilterSensitiveLog = (obj: GetEnvironmentResp
16631637
...(obj.environment && { environment: EnvironmentFilterSensitiveLog(obj.environment) }),
16641638
});
16651639

1666-
/**
1667-
* @internal
1668-
*/
1669-
export const SoftwareSetFilterSensitiveLog = (obj: SoftwareSet): any => ({
1670-
...obj,
1671-
...(obj.tags && { tags: SENSITIVE_STRING }),
1672-
});
1673-
1674-
/**
1675-
* @internal
1676-
*/
1677-
export const GetSoftwareSetResponseFilterSensitiveLog = (obj: GetSoftwareSetResponse): any => ({
1678-
...obj,
1679-
...(obj.softwareSet && { softwareSet: SoftwareSetFilterSensitiveLog(obj.softwareSet) }),
1680-
});
1681-
16821640
/**
16831641
* @internal
16841642
*/

clients/client-workspaces-thin-client/src/protocols/Aws_restJson1.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,6 @@ const de_Device = (output: any, context: __SerdeContext): Device => {
10691069
softwareSetUpdateSchedule: __expectString,
10701070
softwareSetUpdateStatus: __expectString,
10711071
status: __expectString,
1072-
tags: _json,
10731072
updatedAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10741073
}) as any;
10751074
};
@@ -1134,7 +1133,6 @@ const de_Environment = (output: any, context: __SerdeContext): Environment => {
11341133
softwareSetComplianceStatus: __expectString,
11351134
softwareSetUpdateMode: __expectString,
11361135
softwareSetUpdateSchedule: __expectString,
1137-
tags: _json,
11381136
updatedAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
11391137
}) as any;
11401138
};
@@ -1189,7 +1187,6 @@ const de_SoftwareSet = (output: any, context: __SerdeContext): SoftwareSet => {
11891187
releasedAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
11901188
software: _json,
11911189
supportedUntil: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1192-
tags: _json,
11931190
validationStatus: __expectString,
11941191
version: __expectString,
11951192
}) as any;

codegen/sdk-codegen/aws-models/workspaces-thin-client.json

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -660,16 +660,6 @@
660660
"traits": {
661661
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.</p>"
662662
}
663-
},
664-
"tags": {
665-
"target": "com.amazonaws.workspacesthinclient#TagsMap",
666-
"traits": {
667-
"smithy.api#deprecated": {
668-
"message": "This field will be removed in future releases. Use ListTagsForResource API instead.",
669-
"since": "2025-03-25"
670-
},
671-
"smithy.api#documentation": "<p>The tag keys and optional values for the resource.</p>"
672-
}
673663
}
674664
},
675665
"traits": {
@@ -995,16 +985,6 @@
995985
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.</p>"
996986
}
997987
},
998-
"tags": {
999-
"target": "com.amazonaws.workspacesthinclient#TagsMap",
1000-
"traits": {
1001-
"smithy.api#deprecated": {
1002-
"message": "This field will be removed in future releases. Use ListTagsForResource API instead.",
1003-
"since": "2025-03-25"
1004-
},
1005-
"smithy.api#documentation": "<p>The tag keys and optional values for the resource.</p>"
1006-
}
1007-
},
1008988
"deviceCreationTags": {
1009989
"target": "com.amazonaws.workspacesthinclient#DeviceCreationTagsMap",
1010990
"traits": {
@@ -1962,16 +1942,6 @@
19621942
"traits": {
19631943
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the software set.</p>"
19641944
}
1965-
},
1966-
"tags": {
1967-
"target": "com.amazonaws.workspacesthinclient#TagsMap",
1968-
"traits": {
1969-
"smithy.api#deprecated": {
1970-
"message": "This field will be removed in future releases. Use ListTagsForResource API instead.",
1971-
"since": "2025-03-25"
1972-
},
1973-
"smithy.api#documentation": "<p>The tag keys and optional values for the resource.</p>"
1974-
}
19751945
}
19761946
},
19771947
"traits": {

0 commit comments

Comments
 (0)