Skip to content

Commit 1a6de65

Browse files
Remove Tags field from Get API responses
1 parent 6e82020 commit 1a6de65

File tree

9 files changed

+2
-125
lines changed

9 files changed

+2
-125
lines changed

generator/ServiceModels/workspaces-thin-client/workspaces-thin-client-2023-08-22.api.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -508,13 +508,7 @@
508508
"createdAt":{"shape":"Timestamp"},
509509
"updatedAt":{"shape":"Timestamp"},
510510
"arn":{"shape":"Arn"},
511-
"kmsKeyArn":{"shape":"KmsKeyArn"},
512-
"tags":{
513-
"shape":"TagsMap",
514-
"deprecated":true,
515-
"deprecatedMessage":"This field will be removed in future releases. Use ListTagsForResource API instead.",
516-
"deprecatedSince":"2025-03-25"
517-
}
511+
"kmsKeyArn":{"shape":"KmsKeyArn"}
518512
}
519513
},
520514
"DeviceCreationTagKey":{
@@ -610,12 +604,6 @@
610604
"updatedAt":{"shape":"Timestamp"},
611605
"arn":{"shape":"Arn"},
612606
"kmsKeyArn":{"shape":"KmsKeyArn"},
613-
"tags":{
614-
"shape":"TagsMap",
615-
"deprecated":true,
616-
"deprecatedMessage":"This field will be removed in future releases. Use ListTagsForResource API instead.",
617-
"deprecatedSince":"2025-03-25"
618-
},
619607
"deviceCreationTags":{"shape":"DeviceCreationTagsMap"}
620608
}
621609
},
@@ -921,13 +909,7 @@
921909
"supportedUntil":{"shape":"Timestamp"},
922910
"validationStatus":{"shape":"SoftwareSetValidationStatus"},
923911
"software":{"shape":"SoftwareList"},
924-
"arn":{"shape":"Arn"},
925-
"tags":{
926-
"shape":"TagsMap",
927-
"deprecated":true,
928-
"deprecatedMessage":"This field will be removed in future releases. Use ListTagsForResource API instead.",
929-
"deprecatedSince":"2025-03-25"
930-
}
912+
"arn":{"shape":"Arn"}
931913
}
932914
},
933915
"SoftwareSetId":{

generator/ServiceModels/workspaces-thin-client/workspaces-thin-client-2023-08-22.docs.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -590,10 +590,7 @@
590590
"base": null,
591591
"refs": {
592592
"CreateEnvironmentRequest$tags": "<p>A map of the key-value pairs of the tag or tags to assign to the resource.</p>",
593-
"Device$tags": "<p>The tag keys and optional values for the resource.</p>",
594-
"Environment$tags": "<p>The tag keys and optional values for the resource.</p>",
595593
"ListTagsForResourceResponse$tags": "<p>A map of the key-value pairs for the tag or tags assigned to the specified resource.</p>",
596-
"SoftwareSet$tags": "<p>The tag keys and optional values for the resource.</p>",
597594
"TagResourceRequest$tags": "<p>A map of the key-value pairs of the tag or tags to assign to the resource.</p>"
598595
}
599596
},

generator/ServiceModels/workspaces-thin-client/workspaces-thin-client-2023-08-22.normal.json

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -635,13 +635,6 @@
635635
"kmsKeyArn":{
636636
"shape":"KmsKeyArn",
637637
"documentation":"<p>The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.</p>"
638-
},
639-
"tags":{
640-
"shape":"TagsMap",
641-
"documentation":"<p>The tag keys and optional values for the resource.</p>",
642-
"deprecated":true,
643-
"deprecatedMessage":"This field will be removed in future releases. Use ListTagsForResource API instead.",
644-
"deprecatedSince":"2025-03-25"
645638
}
646639
},
647640
"documentation":"<p>Describes a thin client device.</p>"
@@ -839,13 +832,6 @@
839832
"shape":"KmsKeyArn",
840833
"documentation":"<p>The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the environment.</p>"
841834
},
842-
"tags":{
843-
"shape":"TagsMap",
844-
"documentation":"<p>The tag keys and optional values for the resource.</p>",
845-
"deprecated":true,
846-
"deprecatedMessage":"This field will be removed in future releases. Use ListTagsForResource API instead.",
847-
"deprecatedSince":"2025-03-25"
848-
},
849835
"deviceCreationTags":{
850836
"shape":"DeviceCreationTagsMap",
851837
"documentation":"<p>The tag keys and optional values for the newly created devices for this environment.</p>"
@@ -1310,13 +1296,6 @@
13101296
"arn":{
13111297
"shape":"Arn",
13121298
"documentation":"<p>The Amazon Resource Name (ARN) of the software set.</p>"
1313-
},
1314-
"tags":{
1315-
"shape":"TagsMap",
1316-
"documentation":"<p>The tag keys and optional values for the resource.</p>",
1317-
"deprecated":true,
1318-
"deprecatedMessage":"This field will be removed in future releases. Use ListTagsForResource API instead.",
1319-
"deprecatedSince":"2025-03-25"
13201299
}
13211300
},
13221301
"documentation":"<p>Describes a software set.</p>"

sdk/src/Services/WorkSpacesThinClient/Generated/Model/Device.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ public partial class Device
5353
private SoftwareSetUpdateSchedule _softwareSetUpdateSchedule;
5454
private SoftwareSetUpdateStatus _softwareSetUpdateStatus;
5555
private DeviceStatus _status;
56-
private Dictionary<string, string> _tags = AWSConfigs.InitializeCollections ? new Dictionary<string, string>() : null;
5756
private DateTime? _updatedAt;
5857

5958
/// <summary>
@@ -402,26 +401,6 @@ internal bool IsSetStatus()
402401
return this._status != null;
403402
}
404403

405-
/// <summary>
406-
/// Gets and sets the property Tags.
407-
/// <para>
408-
/// The tag keys and optional values for the resource.
409-
/// </para>
410-
/// </summary>
411-
[Obsolete("This field will be removed in future releases. Use ListTagsForResource API instead.")]
412-
[AWSProperty(Sensitive=true)]
413-
public Dictionary<string, string> Tags
414-
{
415-
get { return this._tags; }
416-
set { this._tags = value; }
417-
}
418-
419-
// Check to see if Tags property is set
420-
internal bool IsSetTags()
421-
{
422-
return this._tags != null && (this._tags.Count > 0 || !AWSConfigs.InitializeCollections);
423-
}
424-
425404
/// <summary>
426405
/// Gets and sets the property UpdatedAt.
427406
/// <para>

sdk/src/Services/WorkSpacesThinClient/Generated/Model/Environment.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public partial class Environment
5252
private EnvironmentSoftwareSetComplianceStatus _softwareSetComplianceStatus;
5353
private SoftwareSetUpdateMode _softwareSetUpdateMode;
5454
private SoftwareSetUpdateSchedule _softwareSetUpdateSchedule;
55-
private Dictionary<string, string> _tags = AWSConfigs.InitializeCollections ? new Dictionary<string, string>() : null;
5655
private DateTime? _updatedAt;
5756

5857
/// <summary>
@@ -390,26 +389,6 @@ internal bool IsSetSoftwareSetUpdateSchedule()
390389
return this._softwareSetUpdateSchedule != null;
391390
}
392391

393-
/// <summary>
394-
/// Gets and sets the property Tags.
395-
/// <para>
396-
/// The tag keys and optional values for the resource.
397-
/// </para>
398-
/// </summary>
399-
[Obsolete("This field will be removed in future releases. Use ListTagsForResource API instead.")]
400-
[AWSProperty(Sensitive=true)]
401-
public Dictionary<string, string> Tags
402-
{
403-
get { return this._tags; }
404-
set { this._tags = value; }
405-
}
406-
407-
// Check to see if Tags property is set
408-
internal bool IsSetTags()
409-
{
410-
return this._tags != null && (this._tags.Count > 0 || !AWSConfigs.InitializeCollections);
411-
}
412-
413392
/// <summary>
414393
/// Gets and sets the property UpdatedAt.
415394
/// <para>

sdk/src/Services/WorkSpacesThinClient/Generated/Model/Internal/MarshallTransformations/DeviceUnmarshaller.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,6 @@ public Device Unmarshall(JsonUnmarshallerContext context)
180180
unmarshalledObject.Status = unmarshaller.Unmarshall(context);
181181
continue;
182182
}
183-
if (context.TestExpression("tags", targetDepth))
184-
{
185-
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
186-
unmarshalledObject.Tags = unmarshaller.Unmarshall(context);
187-
continue;
188-
}
189183
if (context.TestExpression("updatedAt", targetDepth))
190184
{
191185
var unmarshaller = DateTimeUnmarshaller.Instance;

sdk/src/Services/WorkSpacesThinClient/Generated/Model/Internal/MarshallTransformations/EnvironmentUnmarshaller.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,6 @@ public Environment Unmarshall(JsonUnmarshallerContext context)
174174
unmarshalledObject.SoftwareSetUpdateSchedule = unmarshaller.Unmarshall(context);
175175
continue;
176176
}
177-
if (context.TestExpression("tags", targetDepth))
178-
{
179-
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
180-
unmarshalledObject.Tags = unmarshaller.Unmarshall(context);
181-
continue;
182-
}
183177
if (context.TestExpression("updatedAt", targetDepth))
184178
{
185179
var unmarshaller = DateTimeUnmarshaller.Instance;

sdk/src/Services/WorkSpacesThinClient/Generated/Model/Internal/MarshallTransformations/SoftwareSetUnmarshaller.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,6 @@ public SoftwareSet Unmarshall(JsonUnmarshallerContext context)
9696
unmarshalledObject.SupportedUntil = unmarshaller.Unmarshall(context);
9797
continue;
9898
}
99-
if (context.TestExpression("tags", targetDepth))
100-
{
101-
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
102-
unmarshalledObject.Tags = unmarshaller.Unmarshall(context);
103-
continue;
104-
}
10599
if (context.TestExpression("validationStatus", targetDepth))
106100
{
107101
var unmarshaller = StringUnmarshaller.Instance;

sdk/src/Services/WorkSpacesThinClient/Generated/Model/SoftwareSet.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public partial class SoftwareSet
3939
private DateTime? _releasedAt;
4040
private List<Software> _software = AWSConfigs.InitializeCollections ? new List<Software>() : null;
4141
private DateTime? _supportedUntil;
42-
private Dictionary<string, string> _tags = AWSConfigs.InitializeCollections ? new Dictionary<string, string>() : null;
4342
private SoftwareSetValidationStatus _validationStatus;
4443
private string _version;
4544

@@ -134,26 +133,6 @@ internal bool IsSetSupportedUntil()
134133
return this._supportedUntil.HasValue;
135134
}
136135

137-
/// <summary>
138-
/// Gets and sets the property Tags.
139-
/// <para>
140-
/// The tag keys and optional values for the resource.
141-
/// </para>
142-
/// </summary>
143-
[Obsolete("This field will be removed in future releases. Use ListTagsForResource API instead.")]
144-
[AWSProperty(Sensitive=true)]
145-
public Dictionary<string, string> Tags
146-
{
147-
get { return this._tags; }
148-
set { this._tags = value; }
149-
}
150-
151-
// Check to see if Tags property is set
152-
internal bool IsSetTags()
153-
{
154-
return this._tags != null && (this._tags.Count > 0 || !AWSConfigs.InitializeCollections);
155-
}
156-
157136
/// <summary>
158137
/// Gets and sets the property ValidationStatus.
159138
/// <para>

0 commit comments

Comments
 (0)