Skip to content

Commit cf77139

Browse files
Remove Tags field from Get API responses
1 parent 1d96254 commit cf77139

File tree

9 files changed

+2
-140
lines changed

9 files changed

+2
-140
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 & 26 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,31 +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-
/// <para />
411-
/// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned
412-
/// from the service the property will also be null. This was changed to improve performance and allow the SDK and caller
413-
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
414-
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
415-
/// </summary>
416-
[Obsolete("This field will be removed in future releases. Use ListTagsForResource API instead.")]
417-
[AWSProperty(Sensitive=true)]
418-
public Dictionary<string, string> Tags
419-
{
420-
get { return this._tags; }
421-
set { this._tags = value; }
422-
}
423-
424-
// Check to see if Tags property is set
425-
internal bool IsSetTags()
426-
{
427-
return this._tags != null && (this._tags.Count > 0 || !AWSConfigs.InitializeCollections);
428-
}
429-
430404
/// <summary>
431405
/// Gets and sets the property UpdatedAt.
432406
/// <para>

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

Lines changed: 0 additions & 26 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>
@@ -395,31 +394,6 @@ internal bool IsSetSoftwareSetUpdateSchedule()
395394
return this._softwareSetUpdateSchedule != null;
396395
}
397396

398-
/// <summary>
399-
/// Gets and sets the property Tags.
400-
/// <para>
401-
/// The tag keys and optional values for the resource.
402-
/// </para>
403-
/// <para />
404-
/// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned
405-
/// from the service the property will also be null. This was changed to improve performance and allow the SDK and caller
406-
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
407-
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
408-
/// </summary>
409-
[Obsolete("This field will be removed in future releases. Use ListTagsForResource API instead.")]
410-
[AWSProperty(Sensitive=true)]
411-
public Dictionary<string, string> Tags
412-
{
413-
get { return this._tags; }
414-
set { this._tags = value; }
415-
}
416-
417-
// Check to see if Tags property is set
418-
internal bool IsSetTags()
419-
{
420-
return this._tags != null && (this._tags.Count > 0 || !AWSConfigs.InitializeCollections);
421-
}
422-
423397
/// <summary>
424398
/// Gets and sets the property UpdatedAt.
425399
/// <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
@@ -170,12 +170,6 @@ public Device Unmarshall(JsonUnmarshallerContext context, ref StreamingUtf8JsonR
170170
unmarshalledObject.Status = unmarshaller.Unmarshall(context, ref reader);
171171
continue;
172172
}
173-
if (context.TestExpression("tags", targetDepth))
174-
{
175-
var unmarshaller = new JsonDictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
176-
unmarshalledObject.Tags = unmarshaller.Unmarshall(context, ref reader);
177-
continue;
178-
}
179173
if (context.TestExpression("updatedAt", targetDepth))
180174
{
181175
var unmarshaller = NullableDateTimeUnmarshaller.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
@@ -164,12 +164,6 @@ public Environment Unmarshall(JsonUnmarshallerContext context, ref StreamingUtf8
164164
unmarshalledObject.SoftwareSetUpdateSchedule = unmarshaller.Unmarshall(context, ref reader);
165165
continue;
166166
}
167-
if (context.TestExpression("tags", targetDepth))
168-
{
169-
var unmarshaller = new JsonDictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
170-
unmarshalledObject.Tags = unmarshaller.Unmarshall(context, ref reader);
171-
continue;
172-
}
173167
if (context.TestExpression("updatedAt", targetDepth))
174168
{
175169
var unmarshaller = NullableDateTimeUnmarshaller.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
@@ -86,12 +86,6 @@ public SoftwareSet Unmarshall(JsonUnmarshallerContext context, ref StreamingUtf8
8686
unmarshalledObject.SupportedUntil = unmarshaller.Unmarshall(context, ref reader);
8787
continue;
8888
}
89-
if (context.TestExpression("tags", targetDepth))
90-
{
91-
var unmarshaller = new JsonDictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
92-
unmarshalledObject.Tags = unmarshaller.Unmarshall(context, ref reader);
93-
continue;
94-
}
9589
if (context.TestExpression("validationStatus", targetDepth))
9690
{
9791
var unmarshaller = StringUnmarshaller.Instance;

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

Lines changed: 0 additions & 26 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

@@ -139,31 +138,6 @@ internal bool IsSetSupportedUntil()
139138
return this._supportedUntil.HasValue;
140139
}
141140

142-
/// <summary>
143-
/// Gets and sets the property Tags.
144-
/// <para>
145-
/// The tag keys and optional values for the resource.
146-
/// </para>
147-
/// <para />
148-
/// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned
149-
/// from the service the property will also be null. This was changed to improve performance and allow the SDK and caller
150-
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
151-
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
152-
/// </summary>
153-
[Obsolete("This field will be removed in future releases. Use ListTagsForResource API instead.")]
154-
[AWSProperty(Sensitive=true)]
155-
public Dictionary<string, string> Tags
156-
{
157-
get { return this._tags; }
158-
set { this._tags = value; }
159-
}
160-
161-
// Check to see if Tags property is set
162-
internal bool IsSetTags()
163-
{
164-
return this._tags != null && (this._tags.Count > 0 || !AWSConfigs.InitializeCollections);
165-
}
166-
167141
/// <summary>
168142
/// Gets and sets the property ValidationStatus.
169143
/// <para>

0 commit comments

Comments
 (0)