@aws-sdk/client-workspaces-thin-client 3.848.0 → 3.852.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -547,11 +547,13 @@ var CreateEnvironmentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
547
547
  }), "CreateEnvironmentResponseFilterSensitiveLog");
548
548
  var DeviceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
549
549
  ...obj,
550
- ...obj.name && { name: import_smithy_client.SENSITIVE_STRING }
550
+ ...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
551
+ ...obj.lastUserId && { lastUserId: import_smithy_client.SENSITIVE_STRING }
551
552
  }), "DeviceFilterSensitiveLog");
552
553
  var DeviceSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
553
554
  ...obj,
554
- ...obj.name && { name: import_smithy_client.SENSITIVE_STRING }
555
+ ...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
556
+ ...obj.lastUserId && { lastUserId: import_smithy_client.SENSITIVE_STRING }
555
557
  }), "DeviceSummaryFilterSensitiveLog");
556
558
  var EnvironmentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
557
559
  ...obj,
@@ -1324,6 +1326,7 @@ var de_Device = /* @__PURE__ */ __name((output, context) => {
1324
1326
  kmsKeyArn: import_smithy_client.expectString,
1325
1327
  lastConnectedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastConnectedAt"),
1326
1328
  lastPostureAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastPostureAt"),
1329
+ lastUserId: import_smithy_client.expectString,
1327
1330
  model: import_smithy_client.expectString,
1328
1331
  name: import_smithy_client.expectString,
1329
1332
  pendingSoftwareSetId: import_smithy_client.expectString,
@@ -1352,6 +1355,7 @@ var de_DeviceSummary = /* @__PURE__ */ __name((output, context) => {
1352
1355
  id: import_smithy_client.expectString,
1353
1356
  lastConnectedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastConnectedAt"),
1354
1357
  lastPostureAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastPostureAt"),
1358
+ lastUserId: import_smithy_client.expectString,
1355
1359
  model: import_smithy_client.expectString,
1356
1360
  name: import_smithy_client.expectString,
1357
1361
  pendingSoftwareSetId: import_smithy_client.expectString,
@@ -197,10 +197,12 @@ export const CreateEnvironmentResponseFilterSensitiveLog = (obj) => ({
197
197
  export const DeviceFilterSensitiveLog = (obj) => ({
198
198
  ...obj,
199
199
  ...(obj.name && { name: SENSITIVE_STRING }),
200
+ ...(obj.lastUserId && { lastUserId: SENSITIVE_STRING }),
200
201
  });
201
202
  export const DeviceSummaryFilterSensitiveLog = (obj) => ({
202
203
  ...obj,
203
204
  ...(obj.name && { name: SENSITIVE_STRING }),
205
+ ...(obj.lastUserId && { lastUserId: SENSITIVE_STRING }),
204
206
  });
205
207
  export const EnvironmentFilterSensitiveLog = (obj) => ({
206
208
  ...obj,
@@ -704,6 +704,7 @@ const de_Device = (output, context) => {
704
704
  kmsKeyArn: __expectString,
705
705
  lastConnectedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
706
706
  lastPostureAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
707
+ lastUserId: __expectString,
707
708
  model: __expectString,
708
709
  name: __expectString,
709
710
  pendingSoftwareSetId: __expectString,
@@ -734,6 +735,7 @@ const de_DeviceSummary = (output, context) => {
734
735
  id: __expectString,
735
736
  lastConnectedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
736
737
  lastPostureAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
738
+ lastUserId: __expectString,
737
739
  model: __expectString,
738
740
  name: __expectString,
739
741
  pendingSoftwareSetId: __expectString,
@@ -61,6 +61,7 @@ declare const GetDeviceCommand_base: {
61
61
  * // updatedAt: new Date("TIMESTAMP"),
62
62
  * // arn: "STRING_VALUE",
63
63
  * // kmsKeyArn: "STRING_VALUE",
64
+ * // lastUserId: "STRING_VALUE",
64
65
  * // },
65
66
  * // };
66
67
  *
@@ -58,6 +58,7 @@ declare const ListDevicesCommand_base: {
58
58
  * // createdAt: new Date("TIMESTAMP"),
59
59
  * // updatedAt: new Date("TIMESTAMP"),
60
60
  * // arn: "STRING_VALUE",
61
+ * // lastUserId: "STRING_VALUE",
61
62
  * // },
62
63
  * // ],
63
64
  * // nextToken: "STRING_VALUE",
@@ -59,6 +59,7 @@ declare const UpdateDeviceCommand_base: {
59
59
  * // createdAt: new Date("TIMESTAMP"),
60
60
  * // updatedAt: new Date("TIMESTAMP"),
61
61
  * // arn: "STRING_VALUE",
62
+ * // lastUserId: "STRING_VALUE",
62
63
  * // },
63
64
  * // };
64
65
  *
@@ -671,6 +671,11 @@ export interface Device {
671
671
  * @public
672
672
  */
673
673
  kmsKeyArn?: string | undefined;
674
+ /**
675
+ * <p>The user ID of the most recent session on the device.</p>
676
+ * @public
677
+ */
678
+ lastUserId?: string | undefined;
674
679
  }
675
680
  /**
676
681
  * <p>Describes a thin client device.</p>
@@ -752,6 +757,11 @@ export interface DeviceSummary {
752
757
  * @public
753
758
  */
754
759
  arn?: string | undefined;
760
+ /**
761
+ * <p>The user ID of the most recent session on the device.</p>
762
+ * @public
763
+ */
764
+ lastUserId?: string | undefined;
755
765
  }
756
766
  /**
757
767
  * @public
@@ -217,6 +217,7 @@ export interface Device {
217
217
  updatedAt?: Date | undefined;
218
218
  arn?: string | undefined;
219
219
  kmsKeyArn?: string | undefined;
220
+ lastUserId?: string | undefined;
220
221
  }
221
222
  export interface DeviceSummary {
222
223
  id?: string | undefined;
@@ -234,6 +235,7 @@ export interface DeviceSummary {
234
235
  createdAt?: Date | undefined;
235
236
  updatedAt?: Date | undefined;
236
237
  arn?: string | undefined;
238
+ lastUserId?: string | undefined;
237
239
  }
238
240
  export declare const EnvironmentSoftwareSetComplianceStatus: {
239
241
  readonly COMPLIANT: "COMPLIANT";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workspaces-thin-client",
3
3
  "description": "AWS SDK for JavaScript Workspaces Thin Client Client for Node.js, Browser and React Native",
4
- "version": "3.848.0",
4
+ "version": "3.852.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-workspaces-thin-client",