Skip to content

Commit 252939d

Browse files
author
awstools
committed
feat(client-workspaces): This release includes diagnostic log uploading feature. If it is enabled, the log files of WorkSpaces Windows client will be sent to Amazon WorkSpaces automatically for troubleshooting. You can use modifyClientProperty api to enable/disable this feature.
1 parent 0afc7d5 commit 252939d

File tree

3 files changed

+648
-492
lines changed

3 files changed

+648
-492
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,11 @@ export enum ClientDeviceType {
386386
DEVICE_TYPE_WINDOWS = "DeviceTypeWindows",
387387
}
388388

389+
export enum LogUploadEnum {
390+
DISABLED = "DISABLED",
391+
ENABLED = "ENABLED",
392+
}
393+
389394
export enum ReconnectEnum {
390395
DISABLED = "DISABLED",
391396
ENABLED = "ENABLED",
@@ -401,6 +406,14 @@ export interface ClientProperties {
401406
* credentials. </p>
402407
*/
403408
ReconnectEnabled?: ReconnectEnum | string;
409+
410+
/**
411+
* <p>Specifies whether users can upload diagnostic log files of Amazon WorkSpaces client directly to
412+
* WorkSpaces to troubleshoot issues when using the WorkSpaces client.
413+
* When enabled, the log files will be sent to WorkSpaces automatically and will be applied to all
414+
* users in the specified directory.</p>
415+
*/
416+
LogUploadEnabled?: LogUploadEnum | string;
404417
}
405418

406419
/**
@@ -918,7 +931,7 @@ export interface CreateWorkspaceImageResult {
918931
Created?: Date;
919932

920933
/**
921-
* <p>The identifier of the AWS account that owns the image.</p>
934+
* <p>The identifier of the Amazon Web Services account that owns the image.</p>
922935
*/
923936
OwnerAccountId?: string;
924937
}

clients/client-workspaces/src/protocols/Aws_json1_1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4508,6 +4508,7 @@ const serializeAws_json1_1ClientDeviceTypeList = (
45084508

45094509
const serializeAws_json1_1ClientProperties = (input: ClientProperties, context: __SerdeContext): any => {
45104510
return {
4511+
...(input.LogUploadEnabled != null && { LogUploadEnabled: input.LogUploadEnabled }),
45114512
...(input.ReconnectEnabled != null && { ReconnectEnabled: input.ReconnectEnabled }),
45124513
};
45134514
};
@@ -5561,6 +5562,7 @@ const deserializeAws_json1_1BundleList = (output: any, context: __SerdeContext):
55615562

55625563
const deserializeAws_json1_1ClientProperties = (output: any, context: __SerdeContext): ClientProperties => {
55635564
return {
5565+
LogUploadEnabled: __expectString(output.LogUploadEnabled),
55645566
ReconnectEnabled: __expectString(output.ReconnectEnabled),
55655567
} as any;
55665568
};

0 commit comments

Comments
 (0)