File tree Expand file tree Collapse file tree 7 files changed +79
-2
lines changed
generator/ServiceModels/workspaces-thin-client
sdk/src/Services/WorkSpacesThinClient/Generated/Model
Internal/MarshallTransformations Expand file tree Collapse file tree 7 files changed +79
-2
lines changed Original file line number Diff line number Diff line change 508
508
"createdAt" :{"shape" :" Timestamp" },
509
509
"updatedAt" :{"shape" :" Timestamp" },
510
510
"arn" :{"shape" :" Arn" },
511
- "kmsKeyArn" :{"shape" :" KmsKeyArn" }
511
+ "kmsKeyArn" :{"shape" :" KmsKeyArn" },
512
+ "lastUserId" :{"shape" :" UserId" }
512
513
}
513
514
},
514
515
"DeviceCreationTagKey" :{
580
581
"lastPostureAt" :{"shape" :" Timestamp" },
581
582
"createdAt" :{"shape" :" Timestamp" },
582
583
"updatedAt" :{"shape" :" Timestamp" },
583
- "arn" :{"shape" :" Arn" }
584
+ "arn" :{"shape" :" Arn" },
585
+ "lastUserId" :{"shape" :" UserId" }
584
586
}
585
587
},
586
588
"Environment" :{
1111
1113
"members" :{
1112
1114
}
1113
1115
},
1116
+ "UserId" :{
1117
+ "type" :" string" ,
1118
+ "sensitive" :true
1119
+ },
1114
1120
"ValidationException" :{
1115
1121
"type" :" structure" ,
1116
1122
"members" :{
Original file line number Diff line number Diff line change 666
666
"refs" : {
667
667
}
668
668
},
669
+ "UserId" : {
670
+ "base" : null ,
671
+ "refs" : {
672
+ "Device$lastUserId" : " <p>The user ID of the most recent session on the device.</p>" ,
673
+ "DeviceSummary$lastUserId" : " <p>The user ID of the most recent session on the device.</p>"
674
+ }
675
+ },
669
676
"ValidationException" : {
670
677
"base" : " <p>The input fails to satisfy the specified constraints.</p>" ,
671
678
"refs" : {
Original file line number Diff line number Diff line change 635
635
"kmsKeyArn" :{
636
636
"shape" :" KmsKeyArn" ,
637
637
"documentation" :" <p>The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.</p>"
638
+ },
639
+ "lastUserId" :{
640
+ "shape" :" UserId" ,
641
+ "documentation" :" <p>The user ID of the most recent session on the device.</p>"
638
642
}
639
643
},
640
644
"documentation" :" <p>Describes a thin client device.</p>"
753
757
"arn" :{
754
758
"shape" :" Arn" ,
755
759
"documentation" :" <p>The Amazon Resource Name (ARN) of the device.</p>"
760
+ },
761
+ "lastUserId" :{
762
+ "shape" :" UserId" ,
763
+ "documentation" :" <p>The user ID of the most recent session on the device.</p>"
756
764
}
757
765
},
758
766
"documentation" :" <p>Describes a thin client device.</p>"
1577
1585
"members" :{
1578
1586
}
1579
1587
},
1588
+ "UserId" :{
1589
+ "type" :" string" ,
1590
+ "sensitive" :true
1591
+ },
1580
1592
"ValidationException" :{
1581
1593
"type" :" structure" ,
1582
1594
"members" :{
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ public partial class Device
44
44
private string _kmsKeyArn ;
45
45
private DateTime ? _lastConnectedAt ;
46
46
private DateTime ? _lastPostureAt ;
47
+ private string _lastUserId ;
47
48
private string _model ;
48
49
private string _name ;
49
50
private string _pendingSoftwareSetId ;
@@ -238,6 +239,25 @@ internal bool IsSetLastPostureAt()
238
239
return this . _lastPostureAt . HasValue ;
239
240
}
240
241
242
+ /// <summary>
243
+ /// Gets and sets the property LastUserId.
244
+ /// <para>
245
+ /// The user ID of the most recent session on the device.
246
+ /// </para>
247
+ /// </summary>
248
+ [ AWSProperty ( Sensitive = true ) ]
249
+ public string LastUserId
250
+ {
251
+ get { return this . _lastUserId ; }
252
+ set { this . _lastUserId = value ; }
253
+ }
254
+
255
+ // Check to see if LastUserId property is set
256
+ internal bool IsSetLastUserId ( )
257
+ {
258
+ return this . _lastUserId != null ;
259
+ }
260
+
241
261
/// <summary>
242
262
/// Gets and sets the property Model.
243
263
/// <para>
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ public partial class DeviceSummary
42
42
private string _id ;
43
43
private DateTime ? _lastConnectedAt ;
44
44
private DateTime ? _lastPostureAt ;
45
+ private string _lastUserId ;
45
46
private string _model ;
46
47
private string _name ;
47
48
private string _pendingSoftwareSetId ;
@@ -195,6 +196,25 @@ internal bool IsSetLastPostureAt()
195
196
return this . _lastPostureAt . HasValue ;
196
197
}
197
198
199
+ /// <summary>
200
+ /// Gets and sets the property LastUserId.
201
+ /// <para>
202
+ /// The user ID of the most recent session on the device.
203
+ /// </para>
204
+ /// </summary>
205
+ [ AWSProperty ( Sensitive = true ) ]
206
+ public string LastUserId
207
+ {
208
+ get { return this . _lastUserId ; }
209
+ set { this . _lastUserId = value ; }
210
+ }
211
+
212
+ // Check to see if LastUserId property is set
213
+ internal bool IsSetLastUserId ( )
214
+ {
215
+ return this . _lastUserId != null ;
216
+ }
217
+
198
218
/// <summary>
199
219
/// Gets and sets the property Model.
200
220
/// <para>
Original file line number Diff line number Diff line change @@ -114,6 +114,12 @@ public DeviceSummary Unmarshall(JsonUnmarshallerContext context)
114
114
unmarshalledObject . LastPostureAt = unmarshaller . Unmarshall ( context ) ;
115
115
continue ;
116
116
}
117
+ if ( context . TestExpression ( "lastUserId" , targetDepth ) )
118
+ {
119
+ var unmarshaller = StringUnmarshaller . Instance ;
120
+ unmarshalledObject . LastUserId = unmarshaller . Unmarshall ( context ) ;
121
+ continue ;
122
+ }
117
123
if ( context . TestExpression ( "model" , targetDepth ) )
118
124
{
119
125
var unmarshaller = StringUnmarshaller . Instance ;
Original file line number Diff line number Diff line change @@ -126,6 +126,12 @@ public Device Unmarshall(JsonUnmarshallerContext context)
126
126
unmarshalledObject . LastPostureAt = unmarshaller . Unmarshall ( context ) ;
127
127
continue ;
128
128
}
129
+ if ( context . TestExpression ( "lastUserId" , targetDepth ) )
130
+ {
131
+ var unmarshaller = StringUnmarshaller . Instance ;
132
+ unmarshalledObject . LastUserId = unmarshaller . Unmarshall ( context ) ;
133
+ continue ;
134
+ }
129
135
if ( context . TestExpression ( "model" , targetDepth ) )
130
136
{
131
137
var unmarshaller = StringUnmarshaller . Instance ;
You can’t perform that action at this time.
0 commit comments