Skip to content

Commit ef5386c

Browse files
author
awstools
committed
feat(client-workspaces-web): Added InstanceType and MaxConcurrentSessions parameters on CreatePortal and UpdatePortal Operations as well as the ability to read Customer Managed Key & Additional Encryption Context parameters on supported resources (Portal, BrowserSettings, UserSettings, IPAccessSettings)
1 parent f542ac3 commit ef5386c

13 files changed

+423
-66
lines changed

clients/client-workspaces-web/src/commands/CreatePortalCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ export interface CreatePortalCommandOutput extends CreatePortalResponse, __Metad
4848
* },
4949
* clientToken: "STRING_VALUE",
5050
* authenticationType: "STRING_VALUE",
51+
* instanceType: "STRING_VALUE",
52+
* maxConcurrentSessions: Number("int"),
5153
* };
5254
* const command = new CreatePortalCommand(input);
5355
* const response = await client.send(command);

clients/client-workspaces-web/src/commands/GetBrowserSettingsCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ export interface GetBrowserSettingsCommandOutput extends GetBrowserSettingsRespo
5050
* // "STRING_VALUE",
5151
* // ],
5252
* // browserPolicy: "STRING_VALUE",
53+
* // customerManagedKey: "STRING_VALUE",
54+
* // additionalEncryptionContext: { // EncryptionContextMap
55+
* // "<keys>": "STRING_VALUE",
56+
* // },
5357
* // },
5458
* // };
5559
*

clients/client-workspaces-web/src/commands/GetIpAccessSettingsCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ export interface GetIpAccessSettingsCommandOutput extends GetIpAccessSettingsRes
5858
* // displayName: "STRING_VALUE",
5959
* // description: "STRING_VALUE",
6060
* // creationDate: new Date("TIMESTAMP"),
61+
* // customerManagedKey: "STRING_VALUE",
62+
* // additionalEncryptionContext: { // EncryptionContextMap
63+
* // "<keys>": "STRING_VALUE",
64+
* // },
6165
* // },
6266
* // };
6367
*

clients/client-workspaces-web/src/commands/GetPortalCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ export interface GetPortalCommandOutput extends GetPortalResponse, __MetadataBea
5656
* // userAccessLoggingSettingsArn: "STRING_VALUE",
5757
* // authenticationType: "STRING_VALUE",
5858
* // ipAccessSettingsArn: "STRING_VALUE",
59+
* // customerManagedKey: "STRING_VALUE",
60+
* // additionalEncryptionContext: { // EncryptionContextMap
61+
* // "<keys>": "STRING_VALUE",
62+
* // },
63+
* // instanceType: "STRING_VALUE",
64+
* // maxConcurrentSessions: Number("int"),
5965
* // },
6066
* // };
6167
*

clients/client-workspaces-web/src/commands/GetUserSettingsCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ export interface GetUserSettingsCommandOutput extends GetUserSettingsResponse, _
7272
* // },
7373
* // ],
7474
* // },
75+
* // customerManagedKey: "STRING_VALUE",
76+
* // additionalEncryptionContext: { // EncryptionContextMap
77+
* // "<keys>": "STRING_VALUE",
78+
* // },
7579
* // },
7680
* // };
7781
*

clients/client-workspaces-web/src/commands/ListPortalsCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ export interface ListPortalsCommandOutput extends ListPortalsResponse, __Metadat
5757
* // userAccessLoggingSettingsArn: "STRING_VALUE",
5858
* // authenticationType: "STRING_VALUE",
5959
* // ipAccessSettingsArn: "STRING_VALUE",
60+
* // instanceType: "STRING_VALUE",
61+
* // maxConcurrentSessions: Number("int"),
6062
* // },
6163
* // ],
6264
* // nextToken: "STRING_VALUE",

clients/client-workspaces-web/src/commands/UpdateBrowserSettingsCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ export interface UpdateBrowserSettingsCommandOutput extends UpdateBrowserSetting
5353
* // "STRING_VALUE",
5454
* // ],
5555
* // browserPolicy: "STRING_VALUE",
56+
* // customerManagedKey: "STRING_VALUE",
57+
* // additionalEncryptionContext: { // EncryptionContextMap
58+
* // "<keys>": "STRING_VALUE",
59+
* // },
5660
* // },
5761
* // };
5862
*

clients/client-workspaces-web/src/commands/UpdateIpAccessSettingsCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ export interface UpdateIpAccessSettingsCommandOutput extends UpdateIpAccessSetti
6868
* // displayName: "STRING_VALUE",
6969
* // description: "STRING_VALUE",
7070
* // creationDate: new Date("TIMESTAMP"),
71+
* // customerManagedKey: "STRING_VALUE",
72+
* // additionalEncryptionContext: { // EncryptionContextMap
73+
* // "<keys>": "STRING_VALUE",
74+
* // },
7175
* // },
7276
* // };
7377
*

clients/client-workspaces-web/src/commands/UpdatePortalCommand.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ export interface UpdatePortalCommandOutput extends UpdatePortalResponse, __Metad
4343
* portalArn: "STRING_VALUE", // required
4444
* displayName: "STRING_VALUE",
4545
* authenticationType: "STRING_VALUE",
46+
* instanceType: "STRING_VALUE",
47+
* maxConcurrentSessions: Number("int"),
4648
* };
4749
* const command = new UpdatePortalCommand(input);
4850
* const response = await client.send(command);
@@ -63,6 +65,12 @@ export interface UpdatePortalCommandOutput extends UpdatePortalResponse, __Metad
6365
* // userAccessLoggingSettingsArn: "STRING_VALUE",
6466
* // authenticationType: "STRING_VALUE",
6567
* // ipAccessSettingsArn: "STRING_VALUE",
68+
* // customerManagedKey: "STRING_VALUE",
69+
* // additionalEncryptionContext: { // EncryptionContextMap
70+
* // "<keys>": "STRING_VALUE",
71+
* // },
72+
* // instanceType: "STRING_VALUE",
73+
* // maxConcurrentSessions: Number("int"),
6674
* // },
6775
* // };
6876
*
@@ -86,6 +94,9 @@ export interface UpdatePortalCommandOutput extends UpdatePortalResponse, __Metad
8694
* @throws {@link ResourceNotFoundException} (client fault)
8795
* <p>The resource cannot be found.</p>
8896
*
97+
* @throws {@link ServiceQuotaExceededException} (client fault)
98+
* <p>The service quota has been exceeded.</p>
99+
*
89100
* @throws {@link ThrottlingException} (client fault)
90101
* <p>There is a throttling error.</p>
91102
*

clients/client-workspaces-web/src/commands/UpdateUserSettingsCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ export interface UpdateUserSettingsCommandOutput extends UpdateUserSettingsRespo
9797
* // },
9898
* // ],
9999
* // },
100+
* // customerManagedKey: "STRING_VALUE",
101+
* // additionalEncryptionContext: { // EncryptionContextMap
102+
* // "<keys>": "STRING_VALUE",
103+
* // },
100104
* // },
101105
* // };
102106
*

0 commit comments

Comments
 (0)