@aws-sdk/client-workspaces 3.105.0 → 3.111.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.111.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.110.0...v3.111.0) (2022-06-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-workspaces:** Added new field "reason" to OperationNotSupportedException. Receiving this exception in the DeregisterWorkspaceDirectory API will now return a reason giving more context on the failure. ([3fb0a96](https://github.com/aws/aws-sdk-js-v3/commit/3fb0a96532ec46ca7cd8ba6c5232564a859abd4f))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-workspaces
20
+
21
+
22
+
23
+
24
+
25
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-workspaces
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
34
 
8
35
 
@@ -93,6 +93,7 @@ class OperationNotSupportedException extends WorkSpacesServiceException_1.WorkSp
93
93
  this.name = "OperationNotSupportedException";
94
94
  this.$fault = "client";
95
95
  Object.setPrototypeOf(this, OperationNotSupportedException.prototype);
96
+ this.reason = opts.reason;
96
97
  }
97
98
  }
98
99
  exports.OperationNotSupportedException = OperationNotSupportedException;
@@ -4943,6 +4943,7 @@ const deserializeAws_json1_1OperationInProgressException = (output, context) =>
4943
4943
  const deserializeAws_json1_1OperationNotSupportedException = (output, context) => {
4944
4944
  return {
4945
4945
  message: (0, smithy_client_1.expectString)(output.message),
4946
+ reason: (0, smithy_client_1.expectString)(output.reason),
4946
4947
  };
4947
4948
  };
4948
4949
  const deserializeAws_json1_1RebootWorkspacesResult = (output, context) => {
@@ -76,6 +76,7 @@ var OperationNotSupportedException = (function (_super) {
76
76
  _this.name = "OperationNotSupportedException";
77
77
  _this.$fault = "client";
78
78
  Object.setPrototypeOf(_this, OperationNotSupportedException.prototype);
79
+ _this.reason = opts.reason;
79
80
  return _this;
80
81
  }
81
82
  return OperationNotSupportedException;
@@ -5715,6 +5715,7 @@ var deserializeAws_json1_1OperationInProgressException = function (output, conte
5715
5715
  var deserializeAws_json1_1OperationNotSupportedException = function (output, context) {
5716
5716
  return {
5717
5717
  message: __expectString(output.message),
5718
+ reason: __expectString(output.reason),
5718
5719
  };
5719
5720
  };
5720
5721
  var deserializeAws_json1_1RebootWorkspacesResult = function (output, context) {
@@ -123,6 +123,10 @@ export declare class InvalidResourceStateException extends __BaseException {
123
123
  export declare class OperationNotSupportedException extends __BaseException {
124
124
  readonly name: "OperationNotSupportedException";
125
125
  readonly $fault: "client";
126
+ /**
127
+ * <p>The exception error reason.</p>
128
+ */
129
+ reason?: string;
126
130
  /**
127
131
  * @internal
128
132
  */
@@ -1124,8 +1128,8 @@ export declare enum DedicatedTenancySupportEnum {
1124
1128
  */
1125
1129
  export interface DefaultClientBrandingAttributes {
1126
1130
  /**
1127
- * <p>The logo URL. This is the link where users can download the logo image. The only
1128
- * supported image format is <code>.png</code>.</p>
1131
+ * <p>The logo URL. The only image
1132
+ * format accepted is a binary data object that is converted from a <code>.png</code> file.</p>
1129
1133
  */
1130
1134
  LogoUrl?: string;
1131
1135
  /**
@@ -1189,8 +1193,8 @@ export declare namespace DefaultClientBrandingAttributes {
1189
1193
  */
1190
1194
  export interface DefaultImportClientBrandingAttributes {
1191
1195
  /**
1192
- * <p>The logo. This is the link where users can download the logo image. The only image
1193
- * format accepted is <code>.png</code>.</p>
1196
+ * <p>The logo. The only image
1197
+ * format accepted is a binary data object that is converted from a <code>.png</code> file.</p>
1194
1198
  */
1195
1199
  Logo?: Uint8Array;
1196
1200
  /**
@@ -1551,14 +1555,16 @@ export declare namespace DescribeClientBrandingRequest {
1551
1555
  */
1552
1556
  export interface IosClientBrandingAttributes {
1553
1557
  /**
1554
- * <p>The logo. This is the link where users can download the logo image. This is the
1558
+ * <p>The logo. This is the
1555
1559
  * standard-resolution display that has a 1:1 pixel density (or @1x), where one pixel is equal
1556
- * to one point.</p>
1560
+ * to one point. The only image format accepted is a binary data object that is converted from
1561
+ * a <code>.png</code> file.</p>
1557
1562
  */
1558
1563
  LogoUrl?: string;
1559
1564
  /**
1560
1565
  * <p>The @2x version of the logo. This is the higher resolution display that offers a scale
1561
- * factor of 2.0 (or @2x).</p>
1566
+ * factor of 2.0 (or @2x). The only image format accepted is a binary data object that is
1567
+ * converted from a <code>.png</code> file.</p>
1562
1568
  * <note>
1563
1569
  * <p> For more information about iOS image size and resolution, see <a href="https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/">Image Size and Resolution </a> in the <i>Apple Human Interface
1564
1570
  * Guidelines</i>.</p>
@@ -1567,7 +1573,8 @@ export interface IosClientBrandingAttributes {
1567
1573
  Logo2xUrl?: string;
1568
1574
  /**
1569
1575
  * <p>The @3x version of the logo. This is the higher resolution display that offers a scale
1570
- * factor of 3.0 (or @3x).</p>
1576
+ * factor of 3.0 (or @3x).The only image format accepted is a binary data object that is
1577
+ * converted from a <code>.png</code> file.</p>
1571
1578
  * <note>
1572
1579
  * <p> For more information about iOS image size and resolution, see <a href="https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/">Image Size and Resolution </a> in the <i>Apple Human Interface
1573
1580
  * Guidelines</i>.</p>
@@ -2615,14 +2622,16 @@ export declare namespace FailedWorkspaceChangeRequest {
2615
2622
  */
2616
2623
  export interface IosImportClientBrandingAttributes {
2617
2624
  /**
2618
- * <p>The logo. This is the link where users can download the logo image. This is the
2625
+ * <p>The logo. This is the
2619
2626
  * standard-resolution display that has a 1:1 pixel density (or @1x), where one pixel is equal
2620
- * to one point.</p>
2627
+ * to one point. The only image format accepted is a binary data object that is converted
2628
+ * from a <code>.png</code> file.</p>
2621
2629
  */
2622
2630
  Logo?: Uint8Array;
2623
2631
  /**
2624
2632
  * <p>The @2x version of the logo. This is the higher resolution display that offers a scale
2625
- * factor of 2.0 (or @2x).</p>
2633
+ * factor of 2.0 (or @2x). The only image format accepted is a binary data object that is
2634
+ * converted from a <code>.png</code> file.</p>
2626
2635
  * <note>
2627
2636
  * <p> For more information about iOS image size and resolution, see <a href="https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/">Image Size and Resolution </a> in the <i>Apple Human Interface
2628
2637
  * Guidelines</i>.</p>
@@ -2631,7 +2640,8 @@ export interface IosImportClientBrandingAttributes {
2631
2640
  Logo2x?: Uint8Array;
2632
2641
  /**
2633
2642
  * <p>The @3x version of the logo. This is the higher resolution display that offers a scale
2634
- * factor of 3.0 (or @3x).</p>
2643
+ * factor of 3.0 (or @3x). The only image format accepted is a binary data object that is
2644
+ * converted from a <code>.png</code> file.</p>
2635
2645
  * <note>
2636
2646
  * <p> For more information about iOS image size and resolution, see <a href="https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/">Image Size and Resolution </a> in the <i>Apple Human Interface
2637
2647
  * Guidelines</i>.</p>
@@ -2772,17 +2782,12 @@ export interface ImportWorkspaceImageRequest {
2772
2782
  Ec2ImageId: string | undefined;
2773
2783
  /**
2774
2784
  * <p>The ingestion process to be used when importing the image, depending on which protocol
2775
- * you want to use for your BYOL Workspace image, either PCoIP or WorkSpaces Streaming Protocol
2776
- * (WSP). To use WSP, specify a value that ends in <code>_WSP</code>. To use PCoIP, specify a value
2777
- * that does not end in <code>_WSP</code>. </p>
2778
- *
2779
- * <p>For non-GPU-enabled images (bundles other than Graphics.g4dn, GraphicsPro.g4dn, Graphics,
2780
- * or GraphicsPro), specify <code>BYOL_REGULAR</code> or <code>BYOL_REGULAR_WSP</code>, depending
2781
- * on the protocol.</p>
2782
- * <note>
2783
- * <p>Use <code>BYOL_GRAPHICS_G4DN</code> ingestion for both Graphics.g4dn and
2784
- * GraphicsPro.g4dn.</p>
2785
- * </note>
2785
+ * you want to use for your BYOL Workspace image, either PCoIP or WorkSpaces Streaming
2786
+ * Protocol (WSP). To use WSP, specify a value that ends in <code>_WSP</code>. To use PCoIP,
2787
+ * specify a value that does not end in <code>_WSP</code>. </p>
2788
+ * <p>For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify
2789
+ * <code>BYOL_REGULAR</code> or <code>BYOL_REGULAR_WSP</code>, depending on the
2790
+ * protocol.</p>
2786
2791
  */
2787
2792
  IngestionProcess: WorkspaceImageIngestionProcess | string | undefined;
2788
2793
  /**
@@ -2802,15 +2807,7 @@ export interface ImportWorkspaceImageRequest {
2802
2807
  * BYOL images. For more information about subscribing to Office for BYOL images, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html"> Bring
2803
2808
  * Your Own Windows Desktop Licenses</a>.</p>
2804
2809
  * <note>
2805
- * <ul>
2806
- * <li>
2807
- * <p>Although this parameter is an array, only one item is allowed at this time</p>
2808
- * </li>
2809
- * <li>
2810
- * <p>Microsoft Office 2016 application subscription through AWS is currently not supported
2811
- * for Graphics.g4dn Bring Your Own License (BYOL) images</p>
2812
- * </li>
2813
- * </ul>
2810
+ * <p>Although this parameter is an array, only one item is allowed at this time.</p>
2814
2811
  * </note>
2815
2812
  */
2816
2813
  Applications?: (Application | string)[];
@@ -80,6 +80,8 @@ export declare class OperationNotSupportedException extends __BaseException {
80
80
  readonly name: "OperationNotSupportedException";
81
81
  readonly $fault: "client";
82
82
 
83
+ reason?: string;
84
+
83
85
  constructor(opts: __ExceptionOptionType<OperationNotSupportedException, __BaseException>);
84
86
  }
85
87
 
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.105.0",
4
+ "version": "3.111.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",
@@ -18,37 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.105.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.105.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.105.0",
31
- "@aws-sdk/middleware-retry": "3.80.0",
32
- "@aws-sdk/middleware-serde": "3.78.0",
33
- "@aws-sdk/middleware-signing": "3.78.0",
34
- "@aws-sdk/middleware-stack": "3.78.0",
35
- "@aws-sdk/middleware-user-agent": "3.78.0",
36
- "@aws-sdk/node-config-provider": "3.80.0",
37
- "@aws-sdk/node-http-handler": "3.94.0",
38
- "@aws-sdk/protocol-http": "3.78.0",
39
- "@aws-sdk/smithy-client": "3.99.0",
40
- "@aws-sdk/types": "3.78.0",
41
- "@aws-sdk/url-parser": "3.78.0",
42
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.110.0",
22
+ "@aws-sdk/config-resolver": "3.110.0",
23
+ "@aws-sdk/credential-provider-node": "3.110.0",
24
+ "@aws-sdk/fetch-http-handler": "3.110.0",
25
+ "@aws-sdk/hash-node": "3.110.0",
26
+ "@aws-sdk/invalid-dependency": "3.110.0",
27
+ "@aws-sdk/middleware-content-length": "3.110.0",
28
+ "@aws-sdk/middleware-host-header": "3.110.0",
29
+ "@aws-sdk/middleware-logger": "3.110.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.110.0",
32
+ "@aws-sdk/middleware-serde": "3.110.0",
33
+ "@aws-sdk/middleware-signing": "3.110.0",
34
+ "@aws-sdk/middleware-stack": "3.110.0",
35
+ "@aws-sdk/middleware-user-agent": "3.110.0",
36
+ "@aws-sdk/node-config-provider": "3.110.0",
37
+ "@aws-sdk/node-http-handler": "3.110.0",
38
+ "@aws-sdk/protocol-http": "3.110.0",
39
+ "@aws-sdk/smithy-client": "3.110.0",
40
+ "@aws-sdk/types": "3.110.0",
41
+ "@aws-sdk/url-parser": "3.110.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
48
- "@aws-sdk/util-user-agent-browser": "3.78.0",
49
- "@aws-sdk/util-user-agent-node": "3.80.0",
50
- "@aws-sdk/util-utf8-browser": "3.55.0",
51
- "@aws-sdk/util-utf8-node": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.110.0",
49
+ "@aws-sdk/util-user-agent-node": "3.110.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"
53
53
  },
54
54
  "devDependencies": {