@aws-sdk/client-workspaces-web 3.554.0 → 3.561.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
@@ -32,6 +32,7 @@ __export(src_exports, {
32
32
  BrowserSettingsFilterSensitiveLog: () => BrowserSettingsFilterSensitiveLog,
33
33
  BrowserType: () => BrowserType,
34
34
  ConflictException: () => ConflictException,
35
+ CookieSpecificationFilterSensitiveLog: () => CookieSpecificationFilterSensitiveLog,
35
36
  CookieSynchronizationConfigurationFilterSensitiveLog: () => CookieSynchronizationConfigurationFilterSensitiveLog,
36
37
  CreateBrowserSettingsCommand: () => CreateBrowserSettingsCommand,
37
38
  CreateBrowserSettingsRequestFilterSensitiveLog: () => CreateBrowserSettingsRequestFilterSensitiveLog,
@@ -139,6 +140,7 @@ __export(src_exports, {
139
140
  WorkSpacesWeb: () => WorkSpacesWeb,
140
141
  WorkSpacesWebClient: () => WorkSpacesWebClient,
141
142
  WorkSpacesWebServiceException: () => WorkSpacesWebServiceException,
143
+ _InstanceType: () => _InstanceType,
142
144
  __Client: () => import_smithy_client.Client,
143
145
  paginateListBrowserSettings: () => paginateListBrowserSettings,
144
146
  paginateListIdentityProviders: () => paginateListIdentityProviders,
@@ -482,6 +484,11 @@ var IdentityProviderType = {
482
484
  var BrowserType = {
483
485
  CHROME: "Chrome"
484
486
  };
487
+ var _InstanceType = {
488
+ STANDARD_LARGE: "standard.large",
489
+ STANDARD_REGULAR: "standard.regular",
490
+ STANDARD_XLARGE: "standard.xlarge"
491
+ };
485
492
  var PortalStatus = {
486
493
  ACTIVE: "Active",
487
494
  INCOMPLETE: "Incomplete",
@@ -667,8 +674,16 @@ var CreateUserAccessLoggingSettingsRequestFilterSensitiveLog = /* @__PURE__ */ _
667
674
  ...obj,
668
675
  ...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
669
676
  }), "CreateUserAccessLoggingSettingsRequestFilterSensitiveLog");
677
+ var CookieSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
678
+ ...obj,
679
+ ...obj.domain && { domain: import_smithy_client.SENSITIVE_STRING },
680
+ ...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
681
+ ...obj.path && { path: import_smithy_client.SENSITIVE_STRING }
682
+ }), "CookieSpecificationFilterSensitiveLog");
670
683
  var CookieSynchronizationConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
671
- ...obj
684
+ ...obj,
685
+ ...obj.allowlist && { allowlist: obj.allowlist.map((item) => CookieSpecificationFilterSensitiveLog(item)) },
686
+ ...obj.blocklist && { blocklist: obj.blocklist.map((item) => CookieSpecificationFilterSensitiveLog(item)) }
672
687
  }), "CookieSynchronizationConfigurationFilterSensitiveLog");
673
688
  var CreateUserSettingsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
674
689
  ...obj,
@@ -867,6 +882,8 @@ var se_CreatePortalCommand = /* @__PURE__ */ __name(async (input, context) => {
867
882
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
868
883
  customerManagedKey: [],
869
884
  displayName: [],
885
+ instanceType: [],
886
+ maxConcurrentSessions: [],
870
887
  tags: (_) => (0, import_smithy_client._json)(_)
871
888
  })
872
889
  );
@@ -1398,7 +1415,9 @@ var se_UpdatePortalCommand = /* @__PURE__ */ __name(async (input, context) => {
1398
1415
  body = JSON.stringify(
1399
1416
  (0, import_smithy_client.take)(input, {
1400
1417
  authenticationType: [],
1401
- displayName: []
1418
+ displayName: [],
1419
+ instanceType: [],
1420
+ maxConcurrentSessions: []
1402
1421
  })
1403
1422
  );
1404
1423
  b.m("PUT").h(headers).b(body);
@@ -2429,8 +2448,10 @@ var de_CertificateSummaryList = /* @__PURE__ */ __name((output, context) => {
2429
2448
  }, "de_CertificateSummaryList");
2430
2449
  var de_IpAccessSettings = /* @__PURE__ */ __name((output, context) => {
2431
2450
  return (0, import_smithy_client.take)(output, {
2451
+ additionalEncryptionContext: import_smithy_client._json,
2432
2452
  associatedPortalArns: import_smithy_client._json,
2433
2453
  creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2454
+ customerManagedKey: import_smithy_client.expectString,
2434
2455
  description: import_smithy_client.expectString,
2435
2456
  displayName: import_smithy_client.expectString,
2436
2457
  ipAccessSettingsArn: import_smithy_client.expectString,
@@ -2453,12 +2474,16 @@ var de_IpAccessSettingsSummary = /* @__PURE__ */ __name((output, context) => {
2453
2474
  }, "de_IpAccessSettingsSummary");
2454
2475
  var de_Portal = /* @__PURE__ */ __name((output, context) => {
2455
2476
  return (0, import_smithy_client.take)(output, {
2477
+ additionalEncryptionContext: import_smithy_client._json,
2456
2478
  authenticationType: import_smithy_client.expectString,
2457
2479
  browserSettingsArn: import_smithy_client.expectString,
2458
2480
  browserType: import_smithy_client.expectString,
2459
2481
  creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2482
+ customerManagedKey: import_smithy_client.expectString,
2460
2483
  displayName: import_smithy_client.expectString,
2484
+ instanceType: import_smithy_client.expectString,
2461
2485
  ipAccessSettingsArn: import_smithy_client.expectString,
2486
+ maxConcurrentSessions: import_smithy_client.expectInt32,
2462
2487
  networkSettingsArn: import_smithy_client.expectString,
2463
2488
  portalArn: import_smithy_client.expectString,
2464
2489
  portalEndpoint: import_smithy_client.expectString,
@@ -2483,7 +2508,9 @@ var de_PortalSummary = /* @__PURE__ */ __name((output, context) => {
2483
2508
  browserType: import_smithy_client.expectString,
2484
2509
  creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2485
2510
  displayName: import_smithy_client.expectString,
2511
+ instanceType: import_smithy_client.expectString,
2486
2512
  ipAccessSettingsArn: import_smithy_client.expectString,
2513
+ maxConcurrentSessions: import_smithy_client.expectInt32,
2487
2514
  networkSettingsArn: import_smithy_client.expectString,
2488
2515
  portalArn: import_smithy_client.expectString,
2489
2516
  portalEndpoint: import_smithy_client.expectString,
@@ -3683,6 +3710,7 @@ var paginateListUserSettings = (0, import_core.createPaginator)(WorkSpacesWebCli
3683
3710
  ServiceQuotaExceededException,
3684
3711
  IdentityProviderType,
3685
3712
  BrowserType,
3713
+ _InstanceType,
3686
3714
  PortalStatus,
3687
3715
  RendererType,
3688
3716
  TooManyTagsException,
@@ -3721,6 +3749,7 @@ var paginateListUserSettings = (0, import_core.createPaginator)(WorkSpacesWebCli
3721
3749
  CreateTrustStoreRequestFilterSensitiveLog,
3722
3750
  UntagResourceRequestFilterSensitiveLog,
3723
3751
  CreateUserAccessLoggingSettingsRequestFilterSensitiveLog,
3752
+ CookieSpecificationFilterSensitiveLog,
3724
3753
  CookieSynchronizationConfigurationFilterSensitiveLog,
3725
3754
  CreateUserSettingsRequestFilterSensitiveLog,
3726
3755
  UserSettingsFilterSensitiveLog,
@@ -119,6 +119,11 @@ export const IdentityProviderType = {
119
119
  export const BrowserType = {
120
120
  CHROME: "Chrome",
121
121
  };
122
+ export const _InstanceType = {
123
+ STANDARD_LARGE: "standard.large",
124
+ STANDARD_REGULAR: "standard.regular",
125
+ STANDARD_XLARGE: "standard.xlarge",
126
+ };
122
127
  export const PortalStatus = {
123
128
  ACTIVE: "Active",
124
129
  INCOMPLETE: "Incomplete",
@@ -299,8 +304,16 @@ export const CreateUserAccessLoggingSettingsRequestFilterSensitiveLog = (obj) =>
299
304
  ...obj,
300
305
  ...(obj.tags && { tags: SENSITIVE_STRING }),
301
306
  });
307
+ export const CookieSpecificationFilterSensitiveLog = (obj) => ({
308
+ ...obj,
309
+ ...(obj.domain && { domain: SENSITIVE_STRING }),
310
+ ...(obj.name && { name: SENSITIVE_STRING }),
311
+ ...(obj.path && { path: SENSITIVE_STRING }),
312
+ });
302
313
  export const CookieSynchronizationConfigurationFilterSensitiveLog = (obj) => ({
303
314
  ...obj,
315
+ ...(obj.allowlist && { allowlist: obj.allowlist.map((item) => CookieSpecificationFilterSensitiveLog(item)) }),
316
+ ...(obj.blocklist && { blocklist: obj.blocklist.map((item) => CookieSpecificationFilterSensitiveLog(item)) }),
304
317
  });
305
318
  export const CreateUserSettingsRequestFilterSensitiveLog = (obj) => ({
306
319
  ...obj,
@@ -1,6 +1,6 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
6
6
  import { WorkSpacesWebServiceException as __BaseException } from "../models/WorkSpacesWebServiceException";
@@ -159,6 +159,8 @@ export const se_CreatePortalCommand = async (input, context) => {
159
159
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
160
160
  customerManagedKey: [],
161
161
  displayName: [],
162
+ instanceType: [],
163
+ maxConcurrentSessions: [],
162
164
  tags: (_) => _json(_),
163
165
  }));
164
166
  b.m("POST").h(headers).b(body);
@@ -663,6 +665,8 @@ export const se_UpdatePortalCommand = async (input, context) => {
663
665
  body = JSON.stringify(take(input, {
664
666
  authenticationType: [],
665
667
  displayName: [],
668
+ instanceType: [],
669
+ maxConcurrentSessions: [],
666
670
  }));
667
671
  b.m("PUT").h(headers).b(body);
668
672
  return b.build();
@@ -1685,8 +1689,10 @@ const de_CertificateSummaryList = (output, context) => {
1685
1689
  };
1686
1690
  const de_IpAccessSettings = (output, context) => {
1687
1691
  return take(output, {
1692
+ additionalEncryptionContext: _json,
1688
1693
  associatedPortalArns: _json,
1689
1694
  creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1695
+ customerManagedKey: __expectString,
1690
1696
  description: __expectString,
1691
1697
  displayName: __expectString,
1692
1698
  ipAccessSettingsArn: __expectString,
@@ -1711,12 +1717,16 @@ const de_IpAccessSettingsSummary = (output, context) => {
1711
1717
  };
1712
1718
  const de_Portal = (output, context) => {
1713
1719
  return take(output, {
1720
+ additionalEncryptionContext: _json,
1714
1721
  authenticationType: __expectString,
1715
1722
  browserSettingsArn: __expectString,
1716
1723
  browserType: __expectString,
1717
1724
  creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1725
+ customerManagedKey: __expectString,
1718
1726
  displayName: __expectString,
1727
+ instanceType: __expectString,
1719
1728
  ipAccessSettingsArn: __expectString,
1729
+ maxConcurrentSessions: __expectInt32,
1720
1730
  networkSettingsArn: __expectString,
1721
1731
  portalArn: __expectString,
1722
1732
  portalEndpoint: __expectString,
@@ -1743,7 +1753,9 @@ const de_PortalSummary = (output, context) => {
1743
1753
  browserType: __expectString,
1744
1754
  creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1745
1755
  displayName: __expectString,
1756
+ instanceType: __expectString,
1746
1757
  ipAccessSettingsArn: __expectString,
1758
+ maxConcurrentSessions: __expectInt32,
1747
1759
  networkSettingsArn: __expectString,
1748
1760
  portalArn: __expectString,
1749
1761
  portalEndpoint: __expectString,
@@ -47,6 +47,8 @@ declare const CreatePortalCommand_base: {
47
47
  * },
48
48
  * clientToken: "STRING_VALUE",
49
49
  * authenticationType: "STRING_VALUE",
50
+ * instanceType: "STRING_VALUE",
51
+ * maxConcurrentSessions: Number("int"),
50
52
  * };
51
53
  * const command = new CreatePortalCommand(input);
52
54
  * const response = await client.send(command);
@@ -45,6 +45,10 @@ declare const GetBrowserSettingsCommand_base: {
45
45
  * // "STRING_VALUE",
46
46
  * // ],
47
47
  * // browserPolicy: "STRING_VALUE",
48
+ * // customerManagedKey: "STRING_VALUE",
49
+ * // additionalEncryptionContext: { // EncryptionContextMap
50
+ * // "<keys>": "STRING_VALUE",
51
+ * // },
48
52
  * // },
49
53
  * // };
50
54
  *
@@ -53,6 +53,10 @@ declare const GetIpAccessSettingsCommand_base: {
53
53
  * // displayName: "STRING_VALUE",
54
54
  * // description: "STRING_VALUE",
55
55
  * // creationDate: new Date("TIMESTAMP"),
56
+ * // customerManagedKey: "STRING_VALUE",
57
+ * // additionalEncryptionContext: { // EncryptionContextMap
58
+ * // "<keys>": "STRING_VALUE",
59
+ * // },
56
60
  * // },
57
61
  * // };
58
62
  *
@@ -55,6 +55,12 @@ declare const GetPortalCommand_base: {
55
55
  * // userAccessLoggingSettingsArn: "STRING_VALUE",
56
56
  * // authenticationType: "STRING_VALUE",
57
57
  * // ipAccessSettingsArn: "STRING_VALUE",
58
+ * // customerManagedKey: "STRING_VALUE",
59
+ * // additionalEncryptionContext: { // EncryptionContextMap
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
62
+ * // instanceType: "STRING_VALUE",
63
+ * // maxConcurrentSessions: Number("int"),
58
64
  * // },
59
65
  * // };
60
66
  *
@@ -67,6 +67,10 @@ declare const GetUserSettingsCommand_base: {
67
67
  * // },
68
68
  * // ],
69
69
  * // },
70
+ * // customerManagedKey: "STRING_VALUE",
71
+ * // additionalEncryptionContext: { // EncryptionContextMap
72
+ * // "<keys>": "STRING_VALUE",
73
+ * // },
70
74
  * // },
71
75
  * // };
72
76
  *
@@ -56,6 +56,8 @@ declare const ListPortalsCommand_base: {
56
56
  * // userAccessLoggingSettingsArn: "STRING_VALUE",
57
57
  * // authenticationType: "STRING_VALUE",
58
58
  * // ipAccessSettingsArn: "STRING_VALUE",
59
+ * // instanceType: "STRING_VALUE",
60
+ * // maxConcurrentSessions: Number("int"),
59
61
  * // },
60
62
  * // ],
61
63
  * // nextToken: "STRING_VALUE",
@@ -47,6 +47,10 @@ declare const UpdateBrowserSettingsCommand_base: {
47
47
  * // "STRING_VALUE",
48
48
  * // ],
49
49
  * // browserPolicy: "STRING_VALUE",
50
+ * // customerManagedKey: "STRING_VALUE",
51
+ * // additionalEncryptionContext: { // EncryptionContextMap
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
50
54
  * // },
51
55
  * // };
52
56
  *
@@ -62,6 +62,10 @@ declare const UpdateIpAccessSettingsCommand_base: {
62
62
  * // displayName: "STRING_VALUE",
63
63
  * // description: "STRING_VALUE",
64
64
  * // creationDate: new Date("TIMESTAMP"),
65
+ * // customerManagedKey: "STRING_VALUE",
66
+ * // additionalEncryptionContext: { // EncryptionContextMap
67
+ * // "<keys>": "STRING_VALUE",
68
+ * // },
65
69
  * // },
66
70
  * // };
67
71
  *
@@ -37,6 +37,8 @@ declare const UpdatePortalCommand_base: {
37
37
  * portalArn: "STRING_VALUE", // required
38
38
  * displayName: "STRING_VALUE",
39
39
  * authenticationType: "STRING_VALUE",
40
+ * instanceType: "STRING_VALUE",
41
+ * maxConcurrentSessions: Number("int"),
40
42
  * };
41
43
  * const command = new UpdatePortalCommand(input);
42
44
  * const response = await client.send(command);
@@ -57,6 +59,12 @@ declare const UpdatePortalCommand_base: {
57
59
  * // userAccessLoggingSettingsArn: "STRING_VALUE",
58
60
  * // authenticationType: "STRING_VALUE",
59
61
  * // ipAccessSettingsArn: "STRING_VALUE",
62
+ * // customerManagedKey: "STRING_VALUE",
63
+ * // additionalEncryptionContext: { // EncryptionContextMap
64
+ * // "<keys>": "STRING_VALUE",
65
+ * // },
66
+ * // instanceType: "STRING_VALUE",
67
+ * // maxConcurrentSessions: Number("int"),
60
68
  * // },
61
69
  * // };
62
70
  *
@@ -80,6 +88,9 @@ declare const UpdatePortalCommand_base: {
80
88
  * @throws {@link ResourceNotFoundException} (client fault)
81
89
  * <p>The resource cannot be found.</p>
82
90
  *
91
+ * @throws {@link ServiceQuotaExceededException} (client fault)
92
+ * <p>The service quota has been exceeded.</p>
93
+ *
83
94
  * @throws {@link ThrottlingException} (client fault)
84
95
  * <p>There is a throttling error.</p>
85
96
  *
@@ -91,6 +91,10 @@ declare const UpdateUserSettingsCommand_base: {
91
91
  * // },
92
92
  * // ],
93
93
  * // },
94
+ * // customerManagedKey: "STRING_VALUE",
95
+ * // additionalEncryptionContext: { // EncryptionContextMap
96
+ * // "<keys>": "STRING_VALUE",
97
+ * // },
94
98
  * // },
95
99
  * // };
96
100
  *
@@ -390,7 +390,7 @@ export interface CreateBrowserSettingsRequest {
390
390
  * request. Idempotency ensures that an API request completes only once. With an idempotent
391
391
  * request, if the original request completes successfully, subsequent retries with the same
392
392
  * client token returns the result from the original successful request.</p>
393
- * <p>If you do not specify a client token, one is automatically generated by the AWS SDK. </p>
393
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK. </p>
394
394
  * @public
395
395
  */
396
396
  clientToken?: string;
@@ -485,6 +485,16 @@ export interface BrowserSettings {
485
485
  * @public
486
486
  */
487
487
  browserPolicy?: string;
488
+ /**
489
+ * <p>The customer managed key used to encrypt sensitive information in the browser settings.</p>
490
+ * @public
491
+ */
492
+ customerManagedKey?: string;
493
+ /**
494
+ * <p>The additional encryption context of the browser settings.</p>
495
+ * @public
496
+ */
497
+ additionalEncryptionContext?: Record<string, string>;
488
498
  }
489
499
  /**
490
500
  * @public
@@ -557,7 +567,7 @@ export interface UpdateBrowserSettingsRequest {
557
567
  * request. Idempotency ensures that an API request completes only once. With an idempotent
558
568
  * request, if the original request completes successfully, subsequent retries with the same
559
569
  * client token return the result from the original successful request. </p>
560
- * <p>If you do not specify a client token, one is automatically generated by the AWS
570
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
561
571
  * SDK.</p>
562
572
  * @public
563
573
  */
@@ -759,6 +769,22 @@ export interface CreateIdentityProviderRequest {
759
769
  * <i>optional</i>
760
770
  * </p>
761
771
  * </li>
772
+ * <li>
773
+ * <p>
774
+ * <code>IDPInit</code> (boolean) <i>optional</i>
775
+ * </p>
776
+ * </li>
777
+ * <li>
778
+ * <p>
779
+ * <code>RequestSigningAlgorithm</code> (string) <i>optional</i>
780
+ * - Only accepts <code>rsa-sha256</code>
781
+ * </p>
782
+ * </li>
783
+ * <li>
784
+ * <p>
785
+ * <code>EncryptedResponses</code> (boolean) <i>optional</i>
786
+ * </p>
787
+ * </li>
762
788
  * </ul>
763
789
  * </li>
764
790
  * </ul>
@@ -770,7 +796,7 @@ export interface CreateIdentityProviderRequest {
770
796
  * request. Idempotency ensures that an API request completes only once. With an idempotent
771
797
  * request, if the original request completes successfully, subsequent retries with the same
772
798
  * client token returns the result from the original successful request.</p>
773
- * <p>If you do not specify a client token, one is automatically generated by the AWS
799
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
774
800
  * SDK.</p>
775
801
  * @public
776
802
  */
@@ -978,8 +1004,23 @@ export interface IdentityProvider {
978
1004
  * </li>
979
1005
  * <li>
980
1006
  * <p>
981
- * <code>IDPSignout</code>
982
- * <i>optional</i>
1007
+ * <code>IDPSignout</code> (boolean) <i>optional</i>
1008
+ * </p>
1009
+ * </li>
1010
+ * <li>
1011
+ * <p>
1012
+ * <code>IDPInit</code> (boolean) <i>optional</i>
1013
+ * </p>
1014
+ * </li>
1015
+ * <li>
1016
+ * <p>
1017
+ * <code>RequestSigningAlgorithm</code> (string) <i>optional</i>
1018
+ * - Only accepts <code>rsa-sha256</code>
1019
+ * </p>
1020
+ * </li>
1021
+ * <li>
1022
+ * <p>
1023
+ * <code>EncryptedResponses</code> (boolean) <i>optional</i>
983
1024
  * </p>
984
1025
  * </li>
985
1026
  * </ul>
@@ -1221,8 +1262,23 @@ export interface UpdateIdentityProviderRequest {
1221
1262
  * </li>
1222
1263
  * <li>
1223
1264
  * <p>
1224
- * <code>IDPSignout</code> (boolean)
1225
- * <i>optional</i>
1265
+ * <code>IDPSignout</code> (boolean) <i>optional</i>
1266
+ * </p>
1267
+ * </li>
1268
+ * <li>
1269
+ * <p>
1270
+ * <code>IDPInit</code> (boolean) <i>optional</i>
1271
+ * </p>
1272
+ * </li>
1273
+ * <li>
1274
+ * <p>
1275
+ * <code>RequestSigningAlgorithm</code> (string) <i>optional</i>
1276
+ * - Only accepts <code>rsa-sha256</code>
1277
+ * </p>
1278
+ * </li>
1279
+ * <li>
1280
+ * <p>
1281
+ * <code>EncryptedResponses</code> (boolean) <i>optional</i>
1226
1282
  * </p>
1227
1283
  * </li>
1228
1284
  * </ul>
@@ -1236,7 +1292,7 @@ export interface UpdateIdentityProviderRequest {
1236
1292
  * request. Idempotency ensures that an API request completes only once. With an idempotent
1237
1293
  * request, if the original request completes successfully, subsequent retries with the same
1238
1294
  * client token return the result from the original successful request. </p>
1239
- * <p>If you do not specify a client token, one is automatically generated by the AWS
1295
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
1240
1296
  * SDK.</p>
1241
1297
  * @public
1242
1298
  */
@@ -1307,7 +1363,7 @@ export interface CreateIpAccessSettingsRequest {
1307
1363
  * request. Idempotency ensures that an API request completes only once. With an idempotent
1308
1364
  * request, if the original request completes successfully, subsequent retries with the same
1309
1365
  * client token returns the result from the original successful request. </p>
1310
- * <p>If you do not specify a client token, one is automatically generated by the AWS
1366
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
1311
1367
  * SDK.</p>
1312
1368
  * @public
1313
1369
  */
@@ -1383,6 +1439,16 @@ export interface IpAccessSettings {
1383
1439
  * @public
1384
1440
  */
1385
1441
  creationDate?: Date;
1442
+ /**
1443
+ * <p>The customer managed key used to encrypt sensitive information in the IP access settings.</p>
1444
+ * @public
1445
+ */
1446
+ customerManagedKey?: string;
1447
+ /**
1448
+ * <p>The additional encryption context of the IP access settings.</p>
1449
+ * @public
1450
+ */
1451
+ additionalEncryptionContext?: Record<string, string>;
1386
1452
  }
1387
1453
  /**
1388
1454
  * @public
@@ -1479,7 +1545,7 @@ export interface UpdateIpAccessSettingsRequest {
1479
1545
  * request. Idempotency ensures that an API request completes only once. With an idempotent
1480
1546
  * request, if the original request completes successfully, subsequent retries with the same
1481
1547
  * client token return the result from the original successful request. </p>
1482
- * <p>If you do not specify a client token, one is automatically generated by the AWS
1548
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
1483
1549
  * SDK.</p>
1484
1550
  * @public
1485
1551
  */
@@ -1544,7 +1610,7 @@ export interface CreateNetworkSettingsRequest {
1544
1610
  * request. Idempotency ensures that an API request completes only once. With an idempotent
1545
1611
  * request, if the original request completes successfully, subsequent retries with the same
1546
1612
  * client token returns the result from the original successful request. </p>
1547
- * <p>If you do not specify a client token, one is automatically generated by the AWS
1613
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
1548
1614
  * SDK.</p>
1549
1615
  * @public
1550
1616
  */
@@ -1703,7 +1769,7 @@ export interface UpdateNetworkSettingsRequest {
1703
1769
  * request. Idempotency ensures that an API request completes only once. With an idempotent
1704
1770
  * request, if the original request completes successfully, subsequent retries with the same
1705
1771
  * client token return the result from the original successful request. </p>
1706
- * <p>If you do not specify a client token, one is automatically generated by the AWS
1772
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
1707
1773
  * SDK.</p>
1708
1774
  * @public
1709
1775
  */
@@ -1730,6 +1796,19 @@ export declare const BrowserType: {
1730
1796
  * @public
1731
1797
  */
1732
1798
  export type BrowserType = (typeof BrowserType)[keyof typeof BrowserType];
1799
+ /**
1800
+ * @public
1801
+ * @enum
1802
+ */
1803
+ export declare const _InstanceType: {
1804
+ readonly STANDARD_LARGE: "standard.large";
1805
+ readonly STANDARD_REGULAR: "standard.regular";
1806
+ readonly STANDARD_XLARGE: "standard.xlarge";
1807
+ };
1808
+ /**
1809
+ * @public
1810
+ */
1811
+ export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
1733
1812
  /**
1734
1813
  * @public
1735
1814
  */
@@ -1759,7 +1838,7 @@ export interface CreatePortalRequest {
1759
1838
  * request. Idempotency ensures that an API request completes only once. With an idempotent
1760
1839
  * request, if the original request completes successfully, subsequent retries with the same
1761
1840
  * client token returns the result from the original successful request. </p>
1762
- * <p>If you do not specify a client token, one is automatically generated by the AWS
1841
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
1763
1842
  * SDK.</p>
1764
1843
  * @public
1765
1844
  */
@@ -1773,14 +1852,22 @@ export interface CreatePortalRequest {
1773
1852
  * provider with your web portal. User and group access to your web portal is controlled
1774
1853
  * through your identity provider.</p>
1775
1854
  * <p>
1776
- * <code>IAM_Identity_Center</code> web portals are authenticated through AWS IAM Identity
1777
- * Center (successor to AWS Single Sign-On). They provide additional features, such as
1778
- * IdP-initiated authentication. Identity sources (including external identity provider
1779
- * integration), plus user and group access to your web portal, can be configured in the IAM
1780
- * Identity Center.</p>
1855
+ * <code>IAM Identity Center</code> web portals are authenticated through IAM Identity Center (successor to Single Sign-On). Identity sources (including
1856
+ * external identity provider integration), plus user and group access to your web portal,
1857
+ * can be configured in the IAM Identity Center.</p>
1781
1858
  * @public
1782
1859
  */
1783
1860
  authenticationType?: AuthenticationType;
1861
+ /**
1862
+ * <p>The type and resources of the underlying instance.</p>
1863
+ * @public
1864
+ */
1865
+ instanceType?: _InstanceType;
1866
+ /**
1867
+ * <p>The maximum number of concurrent sessions for the portal.</p>
1868
+ * @public
1869
+ */
1870
+ maxConcurrentSessions?: number;
1784
1871
  }
1785
1872
  /**
1786
1873
  * @public
@@ -2016,11 +2103,9 @@ export interface Portal {
2016
2103
  * provider with your web portal. User and group access to your web portal is controlled
2017
2104
  * through your identity provider.</p>
2018
2105
  * <p>
2019
- * <code>IAM_Identity_Center</code> web portals are authenticated through AWS IAM Identity
2020
- * Center (successor to AWS Single Sign-On). They provide additional features, such as
2021
- * IdP-initiated authentication. Identity sources (including external identity provider
2022
- * integration), plus user and group access to your web portal, can be configured in the IAM
2023
- * Identity Center.</p>
2106
+ * <code>IAM Identity Center</code> web portals are authenticated through IAM Identity Center (successor to Single Sign-On). Identity sources (including
2107
+ * external identity provider integration), plus user and group access to your web portal,
2108
+ * can be configured in the IAM Identity Center.</p>
2024
2109
  * @public
2025
2110
  */
2026
2111
  authenticationType?: AuthenticationType;
@@ -2029,6 +2114,26 @@ export interface Portal {
2029
2114
  * @public
2030
2115
  */
2031
2116
  ipAccessSettingsArn?: string;
2117
+ /**
2118
+ * <p>The customer managed key used to encrypt sensitive information in the portal.</p>
2119
+ * @public
2120
+ */
2121
+ customerManagedKey?: string;
2122
+ /**
2123
+ * <p>The additional encryption context of the portal.</p>
2124
+ * @public
2125
+ */
2126
+ additionalEncryptionContext?: Record<string, string>;
2127
+ /**
2128
+ * <p>The type and resources of the underlying instance.</p>
2129
+ * @public
2130
+ */
2131
+ instanceType?: _InstanceType;
2132
+ /**
2133
+ * <p>The maximum number of concurrent sessions for the portal.</p>
2134
+ * @public
2135
+ */
2136
+ maxConcurrentSessions?: number;
2032
2137
  }
2033
2138
  /**
2034
2139
  * @public
@@ -2155,11 +2260,9 @@ export interface PortalSummary {
2155
2260
  * provider with your web portal. User and group access to your web portal is controlled
2156
2261
  * through your identity provider.</p>
2157
2262
  * <p>
2158
- * <code>IAM_Identity_Center</code> web portals are authenticated through AWS IAM Identity
2159
- * Center (successor to AWS Single Sign-On). They provide additional features, such as
2160
- * IdP-initiated authentication. Identity sources (including external identity provider
2161
- * integration), plus user and group access to your web portal, can be configured in the IAM
2162
- * Identity Center.</p>
2263
+ * <code>IAM Identity Center</code> web portals are authenticated through IAM Identity Center (successor to Single Sign-On). Identity sources (including
2264
+ * external identity provider integration), plus user and group access to your web portal,
2265
+ * can be configured in the IAM Identity Center.</p>
2163
2266
  * @public
2164
2267
  */
2165
2268
  authenticationType?: AuthenticationType;
@@ -2168,6 +2271,16 @@ export interface PortalSummary {
2168
2271
  * @public
2169
2272
  */
2170
2273
  ipAccessSettingsArn?: string;
2274
+ /**
2275
+ * <p>The type and resources of the underlying instance.</p>
2276
+ * @public
2277
+ */
2278
+ instanceType?: _InstanceType;
2279
+ /**
2280
+ * <p>The maximum number of concurrent sessions for the portal.</p>
2281
+ * @public
2282
+ */
2283
+ maxConcurrentSessions?: number;
2171
2284
  }
2172
2285
  /**
2173
2286
  * @public
@@ -2207,14 +2320,22 @@ export interface UpdatePortalRequest {
2207
2320
  * provider with your web portal. User and group access to your web portal is controlled
2208
2321
  * through your identity provider.</p>
2209
2322
  * <p>
2210
- * <code>IAM_Identity_Center</code> web portals are authenticated through AWS IAM Identity
2211
- * Center (successor to AWS Single Sign-On). They provide additional features, such as
2212
- * IdP-initiated authentication. Identity sources (including external identity provider
2213
- * integration), plus user and group access to your web portal, can be configured in the IAM
2214
- * Identity Center.</p>
2323
+ * <code>IAM Identity Center</code> web portals are authenticated through IAM Identity Center (successor to Single Sign-On). Identity sources (including
2324
+ * external identity provider integration), plus user and group access to your web portal,
2325
+ * can be configured in the IAM Identity Center.</p>
2215
2326
  * @public
2216
2327
  */
2217
2328
  authenticationType?: AuthenticationType;
2329
+ /**
2330
+ * <p>The type and resources of the underlying instance.</p>
2331
+ * @public
2332
+ */
2333
+ instanceType?: _InstanceType;
2334
+ /**
2335
+ * <p>The maximum number of concurrent sessions for the portal.</p>
2336
+ * @public
2337
+ */
2338
+ maxConcurrentSessions?: number;
2218
2339
  }
2219
2340
  /**
2220
2341
  * @public
@@ -2245,7 +2366,7 @@ export interface TagResourceRequest {
2245
2366
  * request. Idempotency ensures that an API request completes only once. With an idempotent
2246
2367
  * request, if the original request completes successfully, subsequent retries with the same
2247
2368
  * client token returns the result from the original successful request. </p>
2248
- * <p>If you do not specify a client token, one is automatically generated by the AWS
2369
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
2249
2370
  * SDK.</p>
2250
2371
  * @public
2251
2372
  */
@@ -2323,7 +2444,7 @@ export interface CreateTrustStoreRequest {
2323
2444
  * request. Idempotency ensures that an API request completes only once. With an idempotent
2324
2445
  * request, if the original request completes successfully, subsequent retries with the same
2325
2446
  * client token returns the result from the original successful request. </p>
2326
- * <p>If you do not specify a client token, one is automatically generated by the AWS
2447
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
2327
2448
  * SDK.</p>
2328
2449
  * @public
2329
2450
  */
@@ -2565,7 +2686,7 @@ export interface UpdateTrustStoreRequest {
2565
2686
  * request. Idempotency ensures that an API request completes only once. With an idempotent
2566
2687
  * request, if the original request completes successfully, subsequent retries with the same
2567
2688
  * client token return the result from the original successful request. </p>
2568
- * <p>If you do not specify a client token, one is automatically generated by the AWS
2689
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
2569
2690
  * SDK.</p>
2570
2691
  * @public
2571
2692
  */
@@ -2620,7 +2741,7 @@ export interface CreateUserAccessLoggingSettingsRequest {
2620
2741
  * request. Idempotency ensures that an API request completes only once. With an idempotent
2621
2742
  * request, if the original request completes successfully, subsequent retries with the same
2622
2743
  * client token returns the result from the original successful request. </p>
2623
- * <p>If you do not specify a client token, one is automatically generated by the AWS
2744
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
2624
2745
  * SDK.</p>
2625
2746
  * @public
2626
2747
  */
@@ -2757,7 +2878,7 @@ export interface UpdateUserAccessLoggingSettingsRequest {
2757
2878
  * request. Idempotency ensures that an API request completes only once. With an idempotent
2758
2879
  * request, if the original request completes successfully, subsequent retries with the same
2759
2880
  * client token return the result from the original successful request. </p>
2760
- * <p>If you do not specify a client token, one is automatically generated by the AWS
2881
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
2761
2882
  * SDK.</p>
2762
2883
  * @public
2763
2884
  */
@@ -2875,7 +2996,7 @@ export interface CreateUserSettingsRequest {
2875
2996
  * request. Idempotency ensures that an API request completes only once. With an idempotent
2876
2997
  * request, if the original request completes successfully, subsequent retries with the same
2877
2998
  * client token returns the result from the original successful request. </p>
2878
- * <p>If you do not specify a client token, one is automatically generated by the AWS
2999
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
2879
3000
  * SDK.</p>
2880
3001
  * @public
2881
3002
  */
@@ -2992,6 +3113,16 @@ export interface UserSettings {
2992
3113
  * @public
2993
3114
  */
2994
3115
  cookieSynchronizationConfiguration?: CookieSynchronizationConfiguration;
3116
+ /**
3117
+ * <p>The customer managed key used to encrypt sensitive information in the user settings.</p>
3118
+ * @public
3119
+ */
3120
+ customerManagedKey?: string;
3121
+ /**
3122
+ * <p>The additional encryption context of the user settings.</p>
3123
+ * @public
3124
+ */
3125
+ additionalEncryptionContext?: Record<string, string>;
2995
3126
  }
2996
3127
  /**
2997
3128
  * @public
@@ -3141,7 +3272,7 @@ export interface UpdateUserSettingsRequest {
3141
3272
  * request. Idempotency ensures that an API request completes only once. With an idempotent
3142
3273
  * request, if the original request completes successfully, subsequent retries with the same
3143
3274
  * client token return the result from the original successful request. </p>
3144
- * <p>If you do not specify a client token, one is automatically generated by the AWS
3275
+ * <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services
3145
3276
  * SDK.</p>
3146
3277
  * @public
3147
3278
  */
@@ -3299,6 +3430,10 @@ export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResource
3299
3430
  * @internal
3300
3431
  */
3301
3432
  export declare const CreateUserAccessLoggingSettingsRequestFilterSensitiveLog: (obj: CreateUserAccessLoggingSettingsRequest) => any;
3433
+ /**
3434
+ * @internal
3435
+ */
3436
+ export declare const CookieSpecificationFilterSensitiveLog: (obj: CookieSpecification) => any;
3302
3437
  /**
3303
3438
  * @internal
3304
3439
  */
@@ -152,6 +152,8 @@ export interface BrowserSettings {
152
152
  browserSettingsArn: string | undefined;
153
153
  associatedPortalArns?: string[];
154
154
  browserPolicy?: string;
155
+ customerManagedKey?: string;
156
+ additionalEncryptionContext?: Record<string, string>;
155
157
  }
156
158
  export interface GetBrowserSettingsResponse {
157
159
  browserSettings?: BrowserSettings;
@@ -265,6 +267,8 @@ export interface IpAccessSettings {
265
267
  displayName?: string;
266
268
  description?: string;
267
269
  creationDate?: Date;
270
+ customerManagedKey?: string;
271
+ additionalEncryptionContext?: Record<string, string>;
268
272
  }
269
273
  export interface GetIpAccessSettingsResponse {
270
274
  ipAccessSettings?: IpAccessSettings;
@@ -352,6 +356,12 @@ export declare const BrowserType: {
352
356
  readonly CHROME: "Chrome";
353
357
  };
354
358
  export type BrowserType = (typeof BrowserType)[keyof typeof BrowserType];
359
+ export declare const _InstanceType: {
360
+ readonly STANDARD_LARGE: "standard.large";
361
+ readonly STANDARD_REGULAR: "standard.regular";
362
+ readonly STANDARD_XLARGE: "standard.xlarge";
363
+ };
364
+ export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
355
365
  export interface CreatePortalRequest {
356
366
  displayName?: string;
357
367
  tags?: Tag[];
@@ -359,6 +369,8 @@ export interface CreatePortalRequest {
359
369
  additionalEncryptionContext?: Record<string, string>;
360
370
  clientToken?: string;
361
371
  authenticationType?: AuthenticationType;
372
+ instanceType?: _InstanceType;
373
+ maxConcurrentSessions?: number;
362
374
  }
363
375
  export interface CreatePortalResponse {
364
376
  portalArn: string | undefined;
@@ -421,6 +433,10 @@ export interface Portal {
421
433
  userAccessLoggingSettingsArn?: string;
422
434
  authenticationType?: AuthenticationType;
423
435
  ipAccessSettingsArn?: string;
436
+ customerManagedKey?: string;
437
+ additionalEncryptionContext?: Record<string, string>;
438
+ instanceType?: _InstanceType;
439
+ maxConcurrentSessions?: number;
424
440
  }
425
441
  export interface GetPortalResponse {
426
442
  portal?: Portal;
@@ -451,6 +467,8 @@ export interface PortalSummary {
451
467
  userAccessLoggingSettingsArn?: string;
452
468
  authenticationType?: AuthenticationType;
453
469
  ipAccessSettingsArn?: string;
470
+ instanceType?: _InstanceType;
471
+ maxConcurrentSessions?: number;
454
472
  }
455
473
  export interface ListPortalsResponse {
456
474
  portals?: PortalSummary[];
@@ -460,6 +478,8 @@ export interface UpdatePortalRequest {
460
478
  portalArn: string | undefined;
461
479
  displayName?: string;
462
480
  authenticationType?: AuthenticationType;
481
+ instanceType?: _InstanceType;
482
+ maxConcurrentSessions?: number;
463
483
  }
464
484
  export interface UpdatePortalResponse {
465
485
  portal?: Portal;
@@ -650,6 +670,8 @@ export interface UserSettings {
650
670
  disconnectTimeoutInMinutes?: number;
651
671
  idleDisconnectTimeoutInMinutes?: number;
652
672
  cookieSynchronizationConfiguration?: CookieSynchronizationConfiguration;
673
+ customerManagedKey?: string;
674
+ additionalEncryptionContext?: Record<string, string>;
653
675
  }
654
676
  export interface GetUserSettingsResponse {
655
677
  userSettings?: UserSettings;
@@ -784,6 +806,9 @@ export declare const UntagResourceRequestFilterSensitiveLog: (
784
806
  export declare const CreateUserAccessLoggingSettingsRequestFilterSensitiveLog: (
785
807
  obj: CreateUserAccessLoggingSettingsRequest
786
808
  ) => any;
809
+ export declare const CookieSpecificationFilterSensitiveLog: (
810
+ obj: CookieSpecification
811
+ ) => any;
787
812
  export declare const CookieSynchronizationConfigurationFilterSensitiveLog: (
788
813
  obj: CookieSynchronizationConfiguration
789
814
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workspaces-web",
3
3
  "description": "AWS SDK for JavaScript Workspaces Web Client for Node.js, Browser and React Native",
4
- "version": "3.554.0",
4
+ "version": "3.561.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-web",
@@ -20,9 +20,9 @@
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.554.0",
24
- "@aws-sdk/core": "3.554.0",
25
- "@aws-sdk/credential-provider-node": "3.554.0",
23
+ "@aws-sdk/client-sts": "3.556.0",
24
+ "@aws-sdk/core": "3.556.0",
25
+ "@aws-sdk/credential-provider-node": "3.556.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",