@aws-sdk/client-workspaces 3.408.0 → 3.409.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +29 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/DescribeWorkspaceImagesCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +58 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -0
- package/package.json +3 -3
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://workspaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://workspaces-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://workspaces.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://workspaces.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkspacesDefaultRoleNotFoundException = exports.UnsupportedNetworkConfigurationException = exports.TargetWorkspaceState = exports.UnsupportedWorkspaceConfigurationException = exports.OperationInProgressException = exports.WorkspaceImageIngestionProcess = exports.ImageType = exports.Tenancy = exports.WorkspaceDirectoryState = exports.SamlStatusEnum = exports.WorkspaceDirectoryType = exports.DeletableSamlProperty = exports.DeletableCertificateBasedAuthProperty = exports.DedicatedTenancySupportEnum = exports.StandbyWorkspaceRelationshipType = exports.ModificationStateEnum = exports.ModificationResourceEnum = exports.RunningMode = exports.Protocol = exports.WorkspaceImageState = exports.WorkspaceImageRequiredTenancy = exports.OperatingSystemType = exports.WorkspaceState = exports.ResourceCreationFailedException = exports.ResourceUnavailableException = exports.ResourceAlreadyExistsException = exports.ConnectionState = exports.ConnectionAliasState = exports.ReconnectEnum = exports.LogUploadEnum = exports.ClientDeviceType = exports.CertificateBasedAuthStatusEnum = exports.WorkspaceBundleState = exports.Compute = exports.BundleType = exports.AssociationStatus = exports.ResourceLimitExceededException = exports.ResourceNotFoundException = exports.ResourceAssociatedException = exports.OperationNotSupportedException = exports.InvalidResourceStateException = exports.InvalidParameterValuesException = exports.Application = exports.DedicatedTenancyModificationStateEnum = exports.DedicatedTenancySupportResultEnum = exports.AccessPropertyValue = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.WorkspacesDefaultRoleNotFoundException = exports.UnsupportedNetworkConfigurationException = exports.TargetWorkspaceState = exports.UnsupportedWorkspaceConfigurationException = exports.OperationInProgressException = exports.WorkspaceImageIngestionProcess = exports.WorkspaceImageErrorDetailCode = exports.ImageType = exports.Tenancy = exports.WorkspaceDirectoryState = exports.SamlStatusEnum = exports.WorkspaceDirectoryType = exports.DeletableSamlProperty = exports.DeletableCertificateBasedAuthProperty = exports.DedicatedTenancySupportEnum = exports.StandbyWorkspaceRelationshipType = exports.ModificationStateEnum = exports.ModificationResourceEnum = exports.RunningMode = exports.Protocol = exports.WorkspaceImageState = exports.WorkspaceImageRequiredTenancy = exports.OperatingSystemType = exports.WorkspaceState = exports.ResourceCreationFailedException = exports.ResourceUnavailableException = exports.ResourceAlreadyExistsException = exports.ConnectionState = exports.ConnectionAliasState = exports.ReconnectEnum = exports.LogUploadEnum = exports.ClientDeviceType = exports.CertificateBasedAuthStatusEnum = exports.WorkspaceBundleState = exports.Compute = exports.BundleType = exports.AssociationStatus = exports.ResourceLimitExceededException = exports.ResourceNotFoundException = exports.ResourceAssociatedException = exports.OperationNotSupportedException = exports.InvalidResourceStateException = exports.InvalidParameterValuesException = exports.Application = exports.DedicatedTenancyModificationStateEnum = exports.DedicatedTenancySupportResultEnum = exports.AccessPropertyValue = exports.AccessDeniedException = void 0;
|
|
4
4
|
const WorkSpacesServiceException_1 = require("./WorkSpacesServiceException");
|
|
5
5
|
class AccessDeniedException extends WorkSpacesServiceException_1.WorkSpacesServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -297,6 +297,34 @@ exports.ImageType = {
|
|
|
297
297
|
OWNED: "OWNED",
|
|
298
298
|
SHARED: "SHARED",
|
|
299
299
|
};
|
|
300
|
+
exports.WorkspaceImageErrorDetailCode = {
|
|
301
|
+
ADDITIONAL_DRIVES_ATTACHED: "AdditionalDrivesAttached",
|
|
302
|
+
ANTI_VIRUS_INSTALLED: "AntiVirusInstalled",
|
|
303
|
+
AUTO_LOGON_ENABLED: "AutoLogonEnabled",
|
|
304
|
+
AUTO_MOUNT_DISABLED: "AutoMountDisabled",
|
|
305
|
+
AZURE_DOMAIN_JOINED: "AzureDomainJoined",
|
|
306
|
+
DHCP_DISABLED: "DHCPDisabled",
|
|
307
|
+
DISK_FREE_SPACE: "DiskFreeSpace",
|
|
308
|
+
DISK_SIZE_EXCEEDED: "DiskSizeExceeded",
|
|
309
|
+
DOMAIN_JOINED: "DomainJoined",
|
|
310
|
+
FIREWALL_ENABLED: "FirewallEnabled",
|
|
311
|
+
INCOMPATIBLE_PARTITIONING: "IncompatiblePartitioning",
|
|
312
|
+
IN_PLACE_UPGRADE: "InPlaceUpgrade",
|
|
313
|
+
MULTIPLE_BOOT_PARTITION: "MultipleBootPartition",
|
|
314
|
+
OFFICE_INSTALLED: "OfficeInstalled",
|
|
315
|
+
OS_NOT_SUPPORTED: "OSNotSupported",
|
|
316
|
+
OUTDATED_POWERSHELL_VERSION: "OutdatedPowershellVersion",
|
|
317
|
+
PCOIP_AGENT_INSTALLED: "PCoIPAgentInstalled",
|
|
318
|
+
PENDING_REBOOT: "PendingReboot",
|
|
319
|
+
REALTIME_UNIVERSAL_DISABLED: "RealTimeUniversalDisabled",
|
|
320
|
+
SIXTY_FOUR_BIT_OS: "Requires64BitOS",
|
|
321
|
+
UEFI_NOT_SUPPORTED: "UEFINotSupported",
|
|
322
|
+
VMWARE_TOOLS_INSTALLED: "VMWareToolsInstalled",
|
|
323
|
+
WINDOWS_UPDATES_ENABLED: "WindowsUpdatesEnabled",
|
|
324
|
+
WORKSPACES_BYOL_ACCOUNT_DISABLED: "WorkspacesBYOLAccountDisabled",
|
|
325
|
+
WORKSPACES_BYOL_ACCOUNT_NOT_FOUND: "WorkspacesBYOLAccountNotFound",
|
|
326
|
+
ZERO_REARM_COUNT: "ZeroRearmCount",
|
|
327
|
+
};
|
|
300
328
|
exports.WorkspaceImageIngestionProcess = {
|
|
301
329
|
BYOL_GRAPHICS: "BYOL_GRAPHICS",
|
|
302
330
|
BYOL_GRAPHICSPRO: "BYOL_GRAPHICSPRO",
|
|
@@ -3400,6 +3400,7 @@ const de_WorkspaceImage = (output, context) => {
|
|
|
3400
3400
|
Created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3401
3401
|
Description: smithy_client_1.expectString,
|
|
3402
3402
|
ErrorCode: smithy_client_1.expectString,
|
|
3403
|
+
ErrorDetails: smithy_client_1._json,
|
|
3403
3404
|
ErrorMessage: smithy_client_1.expectString,
|
|
3404
3405
|
ImageId: smithy_client_1.expectString,
|
|
3405
3406
|
Name: smithy_client_1.expectString,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://workspaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://workspaces-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://workspaces.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://workspaces.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -284,6 +284,34 @@ export const ImageType = {
|
|
|
284
284
|
OWNED: "OWNED",
|
|
285
285
|
SHARED: "SHARED",
|
|
286
286
|
};
|
|
287
|
+
export const WorkspaceImageErrorDetailCode = {
|
|
288
|
+
ADDITIONAL_DRIVES_ATTACHED: "AdditionalDrivesAttached",
|
|
289
|
+
ANTI_VIRUS_INSTALLED: "AntiVirusInstalled",
|
|
290
|
+
AUTO_LOGON_ENABLED: "AutoLogonEnabled",
|
|
291
|
+
AUTO_MOUNT_DISABLED: "AutoMountDisabled",
|
|
292
|
+
AZURE_DOMAIN_JOINED: "AzureDomainJoined",
|
|
293
|
+
DHCP_DISABLED: "DHCPDisabled",
|
|
294
|
+
DISK_FREE_SPACE: "DiskFreeSpace",
|
|
295
|
+
DISK_SIZE_EXCEEDED: "DiskSizeExceeded",
|
|
296
|
+
DOMAIN_JOINED: "DomainJoined",
|
|
297
|
+
FIREWALL_ENABLED: "FirewallEnabled",
|
|
298
|
+
INCOMPATIBLE_PARTITIONING: "IncompatiblePartitioning",
|
|
299
|
+
IN_PLACE_UPGRADE: "InPlaceUpgrade",
|
|
300
|
+
MULTIPLE_BOOT_PARTITION: "MultipleBootPartition",
|
|
301
|
+
OFFICE_INSTALLED: "OfficeInstalled",
|
|
302
|
+
OS_NOT_SUPPORTED: "OSNotSupported",
|
|
303
|
+
OUTDATED_POWERSHELL_VERSION: "OutdatedPowershellVersion",
|
|
304
|
+
PCOIP_AGENT_INSTALLED: "PCoIPAgentInstalled",
|
|
305
|
+
PENDING_REBOOT: "PendingReboot",
|
|
306
|
+
REALTIME_UNIVERSAL_DISABLED: "RealTimeUniversalDisabled",
|
|
307
|
+
SIXTY_FOUR_BIT_OS: "Requires64BitOS",
|
|
308
|
+
UEFI_NOT_SUPPORTED: "UEFINotSupported",
|
|
309
|
+
VMWARE_TOOLS_INSTALLED: "VMWareToolsInstalled",
|
|
310
|
+
WINDOWS_UPDATES_ENABLED: "WindowsUpdatesEnabled",
|
|
311
|
+
WORKSPACES_BYOL_ACCOUNT_DISABLED: "WorkspacesBYOLAccountDisabled",
|
|
312
|
+
WORKSPACES_BYOL_ACCOUNT_NOT_FOUND: "WorkspacesBYOLAccountNotFound",
|
|
313
|
+
ZERO_REARM_COUNT: "ZeroRearmCount",
|
|
314
|
+
};
|
|
287
315
|
export const WorkspaceImageIngestionProcess = {
|
|
288
316
|
BYOL_GRAPHICS: "BYOL_GRAPHICS",
|
|
289
317
|
BYOL_GRAPHICSPRO: "BYOL_GRAPHICSPRO",
|
|
@@ -3265,6 +3265,7 @@ const de_WorkspaceImage = (output, context) => {
|
|
|
3265
3265
|
Created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3266
3266
|
Description: __expectString,
|
|
3267
3267
|
ErrorCode: __expectString,
|
|
3268
|
+
ErrorDetails: _json,
|
|
3268
3269
|
ErrorMessage: __expectString,
|
|
3269
3270
|
ImageId: __expectString,
|
|
3270
3271
|
Name: __expectString,
|
|
@@ -60,6 +60,12 @@ export interface DescribeWorkspaceImagesCommandOutput extends DescribeWorkspaceI
|
|
|
60
60
|
* // UpdateAvailable: true || false,
|
|
61
61
|
* // Description: "STRING_VALUE",
|
|
62
62
|
* // },
|
|
63
|
+
* // ErrorDetails: [ // ErrorDetailsList
|
|
64
|
+
* // { // ErrorDetails
|
|
65
|
+
* // ErrorCode: "OutdatedPowershellVersion" || "OfficeInstalled" || "PCoIPAgentInstalled" || "WindowsUpdatesEnabled" || "AutoMountDisabled" || "WorkspacesBYOLAccountNotFound" || "WorkspacesBYOLAccountDisabled" || "DHCPDisabled" || "DiskFreeSpace" || "AdditionalDrivesAttached" || "OSNotSupported" || "DomainJoined" || "AzureDomainJoined" || "FirewallEnabled" || "VMWareToolsInstalled" || "DiskSizeExceeded" || "IncompatiblePartitioning" || "PendingReboot" || "AutoLogonEnabled" || "RealTimeUniversalDisabled" || "MultipleBootPartition" || "Requires64BitOS" || "ZeroRearmCount" || "InPlaceUpgrade" || "AntiVirusInstalled" || "UEFINotSupported",
|
|
66
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
63
69
|
* // },
|
|
64
70
|
* // ],
|
|
65
71
|
* // NextToken: "STRING_VALUE",
|
|
@@ -2822,6 +2822,59 @@ export interface DescribeWorkspaceImagesRequest {
|
|
|
2822
2822
|
*/
|
|
2823
2823
|
MaxResults?: number;
|
|
2824
2824
|
}
|
|
2825
|
+
/**
|
|
2826
|
+
* @public
|
|
2827
|
+
* @enum
|
|
2828
|
+
*/
|
|
2829
|
+
export declare const WorkspaceImageErrorDetailCode: {
|
|
2830
|
+
readonly ADDITIONAL_DRIVES_ATTACHED: "AdditionalDrivesAttached";
|
|
2831
|
+
readonly ANTI_VIRUS_INSTALLED: "AntiVirusInstalled";
|
|
2832
|
+
readonly AUTO_LOGON_ENABLED: "AutoLogonEnabled";
|
|
2833
|
+
readonly AUTO_MOUNT_DISABLED: "AutoMountDisabled";
|
|
2834
|
+
readonly AZURE_DOMAIN_JOINED: "AzureDomainJoined";
|
|
2835
|
+
readonly DHCP_DISABLED: "DHCPDisabled";
|
|
2836
|
+
readonly DISK_FREE_SPACE: "DiskFreeSpace";
|
|
2837
|
+
readonly DISK_SIZE_EXCEEDED: "DiskSizeExceeded";
|
|
2838
|
+
readonly DOMAIN_JOINED: "DomainJoined";
|
|
2839
|
+
readonly FIREWALL_ENABLED: "FirewallEnabled";
|
|
2840
|
+
readonly INCOMPATIBLE_PARTITIONING: "IncompatiblePartitioning";
|
|
2841
|
+
readonly IN_PLACE_UPGRADE: "InPlaceUpgrade";
|
|
2842
|
+
readonly MULTIPLE_BOOT_PARTITION: "MultipleBootPartition";
|
|
2843
|
+
readonly OFFICE_INSTALLED: "OfficeInstalled";
|
|
2844
|
+
readonly OS_NOT_SUPPORTED: "OSNotSupported";
|
|
2845
|
+
readonly OUTDATED_POWERSHELL_VERSION: "OutdatedPowershellVersion";
|
|
2846
|
+
readonly PCOIP_AGENT_INSTALLED: "PCoIPAgentInstalled";
|
|
2847
|
+
readonly PENDING_REBOOT: "PendingReboot";
|
|
2848
|
+
readonly REALTIME_UNIVERSAL_DISABLED: "RealTimeUniversalDisabled";
|
|
2849
|
+
readonly SIXTY_FOUR_BIT_OS: "Requires64BitOS";
|
|
2850
|
+
readonly UEFI_NOT_SUPPORTED: "UEFINotSupported";
|
|
2851
|
+
readonly VMWARE_TOOLS_INSTALLED: "VMWareToolsInstalled";
|
|
2852
|
+
readonly WINDOWS_UPDATES_ENABLED: "WindowsUpdatesEnabled";
|
|
2853
|
+
readonly WORKSPACES_BYOL_ACCOUNT_DISABLED: "WorkspacesBYOLAccountDisabled";
|
|
2854
|
+
readonly WORKSPACES_BYOL_ACCOUNT_NOT_FOUND: "WorkspacesBYOLAccountNotFound";
|
|
2855
|
+
readonly ZERO_REARM_COUNT: "ZeroRearmCount";
|
|
2856
|
+
};
|
|
2857
|
+
/**
|
|
2858
|
+
* @public
|
|
2859
|
+
*/
|
|
2860
|
+
export type WorkspaceImageErrorDetailCode = (typeof WorkspaceImageErrorDetailCode)[keyof typeof WorkspaceImageErrorDetailCode];
|
|
2861
|
+
/**
|
|
2862
|
+
* @public
|
|
2863
|
+
* <p>Provides in-depth details about the error. These details include the
|
|
2864
|
+
* possible causes of the errors and troubleshooting information.</p>
|
|
2865
|
+
*/
|
|
2866
|
+
export interface ErrorDetails {
|
|
2867
|
+
/**
|
|
2868
|
+
* @public
|
|
2869
|
+
* <p>Indicates the error code returned.</p>
|
|
2870
|
+
*/
|
|
2871
|
+
ErrorCode?: WorkspaceImageErrorDetailCode | string;
|
|
2872
|
+
/**
|
|
2873
|
+
* @public
|
|
2874
|
+
* <p>The text of the error message related the error code.</p>
|
|
2875
|
+
*/
|
|
2876
|
+
ErrorMessage?: string;
|
|
2877
|
+
}
|
|
2825
2878
|
/**
|
|
2826
2879
|
* @public
|
|
2827
2880
|
* <p>Describes whether a WorkSpace image needs to be updated with the latest drivers and
|
|
@@ -2908,6 +2961,11 @@ export interface WorkspaceImage {
|
|
|
2908
2961
|
* <p>The updates (if any) that are available for the specified image.</p>
|
|
2909
2962
|
*/
|
|
2910
2963
|
Updates?: UpdateResult;
|
|
2964
|
+
/**
|
|
2965
|
+
* @public
|
|
2966
|
+
* <p>The details of the error returned for the image.</p>
|
|
2967
|
+
*/
|
|
2968
|
+
ErrorDetails?: ErrorDetails[];
|
|
2911
2969
|
}
|
|
2912
2970
|
/**
|
|
2913
2971
|
* @public
|
|
@@ -771,6 +771,40 @@ export interface DescribeWorkspaceImagesRequest {
|
|
|
771
771
|
NextToken?: string;
|
|
772
772
|
MaxResults?: number;
|
|
773
773
|
}
|
|
774
|
+
export declare const WorkspaceImageErrorDetailCode: {
|
|
775
|
+
readonly ADDITIONAL_DRIVES_ATTACHED: "AdditionalDrivesAttached";
|
|
776
|
+
readonly ANTI_VIRUS_INSTALLED: "AntiVirusInstalled";
|
|
777
|
+
readonly AUTO_LOGON_ENABLED: "AutoLogonEnabled";
|
|
778
|
+
readonly AUTO_MOUNT_DISABLED: "AutoMountDisabled";
|
|
779
|
+
readonly AZURE_DOMAIN_JOINED: "AzureDomainJoined";
|
|
780
|
+
readonly DHCP_DISABLED: "DHCPDisabled";
|
|
781
|
+
readonly DISK_FREE_SPACE: "DiskFreeSpace";
|
|
782
|
+
readonly DISK_SIZE_EXCEEDED: "DiskSizeExceeded";
|
|
783
|
+
readonly DOMAIN_JOINED: "DomainJoined";
|
|
784
|
+
readonly FIREWALL_ENABLED: "FirewallEnabled";
|
|
785
|
+
readonly INCOMPATIBLE_PARTITIONING: "IncompatiblePartitioning";
|
|
786
|
+
readonly IN_PLACE_UPGRADE: "InPlaceUpgrade";
|
|
787
|
+
readonly MULTIPLE_BOOT_PARTITION: "MultipleBootPartition";
|
|
788
|
+
readonly OFFICE_INSTALLED: "OfficeInstalled";
|
|
789
|
+
readonly OS_NOT_SUPPORTED: "OSNotSupported";
|
|
790
|
+
readonly OUTDATED_POWERSHELL_VERSION: "OutdatedPowershellVersion";
|
|
791
|
+
readonly PCOIP_AGENT_INSTALLED: "PCoIPAgentInstalled";
|
|
792
|
+
readonly PENDING_REBOOT: "PendingReboot";
|
|
793
|
+
readonly REALTIME_UNIVERSAL_DISABLED: "RealTimeUniversalDisabled";
|
|
794
|
+
readonly SIXTY_FOUR_BIT_OS: "Requires64BitOS";
|
|
795
|
+
readonly UEFI_NOT_SUPPORTED: "UEFINotSupported";
|
|
796
|
+
readonly VMWARE_TOOLS_INSTALLED: "VMWareToolsInstalled";
|
|
797
|
+
readonly WINDOWS_UPDATES_ENABLED: "WindowsUpdatesEnabled";
|
|
798
|
+
readonly WORKSPACES_BYOL_ACCOUNT_DISABLED: "WorkspacesBYOLAccountDisabled";
|
|
799
|
+
readonly WORKSPACES_BYOL_ACCOUNT_NOT_FOUND: "WorkspacesBYOLAccountNotFound";
|
|
800
|
+
readonly ZERO_REARM_COUNT: "ZeroRearmCount";
|
|
801
|
+
};
|
|
802
|
+
export type WorkspaceImageErrorDetailCode =
|
|
803
|
+
(typeof WorkspaceImageErrorDetailCode)[keyof typeof WorkspaceImageErrorDetailCode];
|
|
804
|
+
export interface ErrorDetails {
|
|
805
|
+
ErrorCode?: WorkspaceImageErrorDetailCode | string;
|
|
806
|
+
ErrorMessage?: string;
|
|
807
|
+
}
|
|
774
808
|
export interface UpdateResult {
|
|
775
809
|
UpdateAvailable?: boolean;
|
|
776
810
|
Description?: string;
|
|
@@ -787,6 +821,7 @@ export interface WorkspaceImage {
|
|
|
787
821
|
Created?: Date;
|
|
788
822
|
OwnerAccountId?: string;
|
|
789
823
|
Updates?: UpdateResult;
|
|
824
|
+
ErrorDetails?: ErrorDetails[];
|
|
790
825
|
}
|
|
791
826
|
export interface DescribeWorkspaceImagesResult {
|
|
792
827
|
Images?: WorkspaceImage[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workspaces",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workspaces Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.409.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.409.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.409.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.408.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.408.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.408.0",
|