@aws-sdk/client-workspaces 3.509.0 → 3.511.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
@@ -2758,6 +2758,7 @@ var de_Workspace = /* @__PURE__ */ __name((output, context) => {
2758
2758
  UserVolumeEncryptionEnabled: import_smithy_client.expectBoolean,
2759
2759
  VolumeEncryptionKey: import_smithy_client.expectString,
2760
2760
  WorkspaceId: import_smithy_client.expectString,
2761
+ WorkspaceName: import_smithy_client.expectString,
2761
2762
  WorkspaceProperties: import_smithy_client._json
2762
2763
  });
2763
2764
  }, "de_Workspace");
@@ -1901,6 +1901,7 @@ const de_Workspace = (output, context) => {
1901
1901
  UserVolumeEncryptionEnabled: __expectBoolean,
1902
1902
  VolumeEncryptionKey: __expectString,
1903
1903
  WorkspaceId: __expectString,
1904
+ WorkspaceName: __expectString,
1904
1905
  WorkspaceProperties: _json,
1905
1906
  });
1906
1907
  };
@@ -74,6 +74,7 @@ declare const CreateWorkspacesCommand_base: {
74
74
  * Value: "STRING_VALUE",
75
75
  * },
76
76
  * ],
77
+ * WorkspaceName: "STRING_VALUE",
77
78
  * },
78
79
  * ],
79
80
  * };
@@ -106,6 +107,7 @@ declare const CreateWorkspacesCommand_base: {
106
107
  * // Value: "STRING_VALUE",
107
108
  * // },
108
109
  * // ],
110
+ * // WorkspaceName: "STRING_VALUE",
109
111
  * // },
110
112
  * // ErrorCode: "STRING_VALUE",
111
113
  * // ErrorMessage: "STRING_VALUE",
@@ -126,6 +128,7 @@ declare const CreateWorkspacesCommand_base: {
126
128
  * // VolumeEncryptionKey: "STRING_VALUE",
127
129
  * // UserVolumeEncryptionEnabled: true || false,
128
130
  * // RootVolumeEncryptionEnabled: true || false,
131
+ * // WorkspaceName: "STRING_VALUE",
129
132
  * // WorkspaceProperties: {
130
133
  * // RunningMode: "AUTO_STOP" || "ALWAYS_ON" || "MANUAL",
131
134
  * // RunningModeAutoStopTimeoutInMinutes: Number("int"),
@@ -44,6 +44,7 @@ declare const DescribeWorkspacesCommand_base: {
44
44
  * BundleId: "STRING_VALUE",
45
45
  * Limit: Number("int"),
46
46
  * NextToken: "STRING_VALUE",
47
+ * WorkspaceName: "STRING_VALUE",
47
48
  * };
48
49
  * const command = new DescribeWorkspacesCommand(input);
49
50
  * const response = await client.send(command);
@@ -63,6 +64,7 @@ declare const DescribeWorkspacesCommand_base: {
63
64
  * // VolumeEncryptionKey: "STRING_VALUE",
64
65
  * // UserVolumeEncryptionEnabled: true || false,
65
66
  * // RootVolumeEncryptionEnabled: true || false,
67
+ * // WorkspaceName: "STRING_VALUE",
66
68
  * // WorkspaceProperties: { // WorkspaceProperties
67
69
  * // RunningMode: "AUTO_STOP" || "ALWAYS_ON" || "MANUAL",
68
70
  * // RunningModeAutoStopTimeoutInMinutes: Number("int"),
@@ -27,9 +27,8 @@ declare const RebootWorkspacesCommand_base: {
27
27
  /**
28
28
  * @public
29
29
  * <p>Reboots the specified WorkSpaces.</p>
30
- * <p>You cannot reboot a WorkSpace unless its state is <code>AVAILABLE</code>,
31
- * <code>UNHEALTHY</code>, or <code>REBOOTING</code>. Reboot a WorkSpace in the <code>REBOOTING</code>
32
- * state only if your WorkSpace has been stuck in the <code>REBOOTING</code> state for over 20 minutes.</p>
30
+ * <p>You cannot reboot a WorkSpace unless its state is <code>AVAILABLE</code> or
31
+ * <code>UNHEALTHY</code>.</p>
33
32
  * <p>This operation is asynchronous and returns before the WorkSpaces have rebooted.</p>
34
33
  * @example
35
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -1678,6 +1678,7 @@ export interface WorkspaceRequest {
1678
1678
  /**
1679
1679
  * @public
1680
1680
  * <p>The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.</p>
1681
+ * <p>The reserved keyword, <code>[UNDEFINED]</code>, is used when creating user-decoupled WorkSpaces.</p>
1681
1682
  */
1682
1683
  UserName: string | undefined;
1683
1684
  /**
@@ -1711,6 +1712,11 @@ export interface WorkspaceRequest {
1711
1712
  * <p>The tags for the WorkSpace.</p>
1712
1713
  */
1713
1714
  Tags?: Tag[];
1715
+ /**
1716
+ * @public
1717
+ * <p>The name of the user-decoupled WorkSpace.</p>
1718
+ */
1719
+ WorkspaceName?: string;
1714
1720
  }
1715
1721
  /**
1716
1722
  * @public
@@ -1891,76 +1897,6 @@ export interface Workspace {
1891
1897
  /**
1892
1898
  * @public
1893
1899
  * <p>The operational state of the WorkSpace.</p>
1894
- * <ul>
1895
- * <li>
1896
- * <p>
1897
- * <code>PENDING</code> – The WorkSpace is in a waiting state (for example, the WorkSpace is being created).</p>
1898
- * </li>
1899
- * <li>
1900
- * <p>
1901
- * <code>AVAILABLE</code> – The WorkSpace is running and has passed the health checks.</p>
1902
- * </li>
1903
- * <li>
1904
- * <p>
1905
- * <code>IMPAIRED</code> – Refer to <code>UNHEALTHY</code> state.</p>
1906
- * </li>
1907
- * <li>
1908
- * <p>
1909
- * <code>UNHEALTHY</code> – The WorkSpace is not responding to health checks.</p>
1910
- * </li>
1911
- * <li>
1912
- * <p>
1913
- * <code>REBOOTING</code> – The WorkSpace is being rebooted (restarted).</p>
1914
- * </li>
1915
- * <li>
1916
- * <p>
1917
- * <code>STARTING</code> – The WorkSpace is starting up and health checks are being run.</p>
1918
- * </li>
1919
- * <li>
1920
- * <p>
1921
- * <code>REBUILDING</code> – The WorkSpace is being rebuilt.</p>
1922
- * </li>
1923
- * <li>
1924
- * <p>
1925
- * <code>RESTORING</code> – The WorkSpace is being restored.</p>
1926
- * </li>
1927
- * <li>
1928
- * <p>
1929
- * <code>MAINTENANCE</code> – The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.</p>
1930
- * </li>
1931
- * <li>
1932
- * <p>
1933
- * <code>ADMIN_MAINTENANCE</code> – The WorkSpace is undergoing maintenance by the WorkSpaces administrator.</p>
1934
- * </li>
1935
- * <li>
1936
- * <p>
1937
- * <code>TERMINATING</code> – The WorkSpace is being deleted.</p>
1938
- * </li>
1939
- * <li>
1940
- * <p>
1941
- * <code>TERMINATED</code> – The WorkSpace has been deleted.</p>
1942
- * </li>
1943
- * <li>
1944
- * <p>
1945
- * <code>SUSPENDED</code> – The WorkSpace has been suspended for image creation.</p>
1946
- * </li>
1947
- * <li>
1948
- * <p>
1949
- * <code>UPDATING</code> – The WorkSpace is undergoing an update.</p>
1950
- * </li>
1951
- * <li>
1952
- * <p>
1953
- * <code>STOPPING</code> – The WorkSpace is being stopped.</p>
1954
- * </li>
1955
- * <li>
1956
- * <p>
1957
- * <code>STOPPED</code> – The WorkSpace has been stopped.</p>
1958
- * </li>
1959
- * <li>
1960
- * <p>
1961
- * <code>ERROR </code> – The WorkSpace is an error state (for example, an error occurred during startup).</p>
1962
- * </li>
1963
- * </ul>
1964
1900
  * <note>
1965
1901
  * <p>After a WorkSpace is terminated, the <code>TERMINATED</code> state is returned only
1966
1902
  * briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely
@@ -2015,6 +1951,11 @@ export interface Workspace {
2015
1951
  * <p>Indicates whether the data stored on the root volume is encrypted.</p>
2016
1952
  */
2017
1953
  RootVolumeEncryptionEnabled?: boolean;
1954
+ /**
1955
+ * @public
1956
+ * <p>The name of the user-decoupled WorkSpace.</p>
1957
+ */
1958
+ WorkspaceName?: string;
2018
1959
  /**
2019
1960
  * @public
2020
1961
  * <p>The properties of the WorkSpace.</p>
@@ -3822,6 +3763,11 @@ export interface DescribeWorkspacesRequest {
3822
3763
  * provide this token to receive the next set of results.</p>
3823
3764
  */
3824
3765
  NextToken?: string;
3766
+ /**
3767
+ * @public
3768
+ * <p>The name of the user-decoupled WorkSpace.</p>
3769
+ */
3770
+ WorkspaceName?: string;
3825
3771
  }
3826
3772
  /**
3827
3773
  * @public
@@ -584,6 +584,7 @@ export interface WorkspaceRequest {
584
584
  RootVolumeEncryptionEnabled?: boolean;
585
585
  WorkspaceProperties?: WorkspaceProperties;
586
586
  Tags?: Tag[];
587
+ WorkspaceName?: string;
587
588
  }
588
589
  export interface CreateWorkspacesRequest {
589
590
  Workspaces: WorkspaceRequest[] | undefined;
@@ -645,6 +646,7 @@ export interface Workspace {
645
646
  VolumeEncryptionKey?: string;
646
647
  UserVolumeEncryptionEnabled?: boolean;
647
648
  RootVolumeEncryptionEnabled?: boolean;
649
+ WorkspaceName?: string;
648
650
  WorkspaceProperties?: WorkspaceProperties;
649
651
  ModificationStates?: ModificationState[];
650
652
  RelatedWorkspaces?: RelatedWorkspaceProperties[];
@@ -1083,6 +1085,7 @@ export interface DescribeWorkspacesRequest {
1083
1085
  BundleId?: string;
1084
1086
  Limit?: number;
1085
1087
  NextToken?: string;
1088
+ WorkspaceName?: string;
1086
1089
  }
1087
1090
  export interface DescribeWorkspacesResult {
1088
1091
  Workspaces?: Workspace[];
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.509.0",
4
+ "version": "3.511.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",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.507.0",
24
- "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.509.0",
26
- "@aws-sdk/middleware-host-header": "3.502.0",
27
- "@aws-sdk/middleware-logger": "3.502.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.502.0",
29
- "@aws-sdk/middleware-signing": "3.502.0",
30
- "@aws-sdk/middleware-user-agent": "3.502.0",
31
- "@aws-sdk/region-config-resolver": "3.502.0",
32
- "@aws-sdk/types": "3.502.0",
33
- "@aws-sdk/util-endpoints": "3.502.0",
34
- "@aws-sdk/util-user-agent-browser": "3.502.0",
35
- "@aws-sdk/util-user-agent-node": "3.502.0",
23
+ "@aws-sdk/client-sts": "3.511.0",
24
+ "@aws-sdk/core": "3.511.0",
25
+ "@aws-sdk/credential-provider-node": "3.511.0",
26
+ "@aws-sdk/middleware-host-header": "3.511.0",
27
+ "@aws-sdk/middleware-logger": "3.511.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.511.0",
29
+ "@aws-sdk/middleware-signing": "3.511.0",
30
+ "@aws-sdk/middleware-user-agent": "3.511.0",
31
+ "@aws-sdk/region-config-resolver": "3.511.0",
32
+ "@aws-sdk/types": "3.511.0",
33
+ "@aws-sdk/util-endpoints": "3.511.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.511.0",
35
+ "@aws-sdk/util-user-agent-node": "3.511.0",
36
36
  "@smithy/config-resolver": "^2.1.1",
37
37
  "@smithy/core": "^1.3.1",
38
38
  "@smithy/fetch-http-handler": "^2.4.1",