Skip to content

Commit 7913a4b

Browse files
author
awstools
committed
feat(client-workspaces-web): WorkSpaces Secure Browser now enables Administrators to view and manage end-user browsing sessions via Session Management APIs.
1 parent 0b63507 commit 7913a4b

File tree

14 files changed

+1586
-165
lines changed

14 files changed

+1586
-165
lines changed

clients/client-workspaces-web/README.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66

77
AWS SDK for JavaScript WorkSpacesWeb Client for Node.js, Browser and React Native.
88

9-
<p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built specifically to facilitate
10-
secure, web-based workloads. WorkSpaces Secure Browser makes it easy for customers to safely provide
11-
their employees with access to internal websites and SaaS web applications without the
12-
administrative burden of appliances or specialized client software. WorkSpaces Secure Browser provides
13-
simple policy tools tailored for user interactions, while offloading common tasks like
14-
capacity management, scaling, and maintaining browser images.</p>
9+
<p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built
10+
specifically to facilitate secure, web-based workloads. WorkSpaces Secure Browser makes it
11+
easy for customers to safely provide their employees with access to internal websites and
12+
SaaS web applications without the administrative burden of appliances or specialized client
13+
software. WorkSpaces Secure Browser provides simple policy tools tailored for user
14+
interactions, while offloading common tasks like capacity management, scaling, and
15+
maintaining browser images.</p>
1516

1617
## Installing
1718

@@ -431,6 +432,14 @@ DisassociateUserSettings
431432

432433
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/DisassociateUserSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/DisassociateUserSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/DisassociateUserSettingsCommandOutput/)
433434

435+
</details>
436+
<details>
437+
<summary>
438+
ExpireSession
439+
</summary>
440+
441+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/ExpireSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ExpireSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ExpireSessionCommandOutput/)
442+
434443
</details>
435444
<details>
436445
<summary>
@@ -479,6 +488,14 @@ GetPortalServiceProviderMetadata
479488

480489
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/GetPortalServiceProviderMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/GetPortalServiceProviderMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/GetPortalServiceProviderMetadataCommandOutput/)
481490

491+
</details>
492+
<details>
493+
<summary>
494+
GetSession
495+
</summary>
496+
497+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/GetSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/GetSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/GetSessionCommandOutput/)
498+
482499
</details>
483500
<details>
484501
<summary>
@@ -551,6 +568,14 @@ ListPortals
551568

552569
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/ListPortalsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ListPortalsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ListPortalsCommandOutput/)
553570

571+
</details>
572+
<details>
573+
<summary>
574+
ListSessions
575+
</summary>
576+
577+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/ListSessionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ListSessionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ListSessionsCommandOutput/)
578+
554579
</details>
555580
<details>
556581
<summary>

clients/client-workspaces-web/src/WorkSpacesWeb.ts

Lines changed: 54 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ import {
142142
DisassociateUserSettingsCommandInput,
143143
DisassociateUserSettingsCommandOutput,
144144
} from "./commands/DisassociateUserSettingsCommand";
145+
import {
146+
ExpireSessionCommand,
147+
ExpireSessionCommandInput,
148+
ExpireSessionCommandOutput,
149+
} from "./commands/ExpireSessionCommand";
145150
import {
146151
GetBrowserSettingsCommand,
147152
GetBrowserSettingsCommandInput,
@@ -168,6 +173,7 @@ import {
168173
GetPortalServiceProviderMetadataCommandInput,
169174
GetPortalServiceProviderMetadataCommandOutput,
170175
} from "./commands/GetPortalServiceProviderMetadataCommand";
176+
import { GetSessionCommand, GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
171177
import {
172178
GetTrustStoreCertificateCommand,
173179
GetTrustStoreCertificateCommandInput,
@@ -209,6 +215,11 @@ import {
209215
ListNetworkSettingsCommandOutput,
210216
} from "./commands/ListNetworkSettingsCommand";
211217
import { ListPortalsCommand, ListPortalsCommandInput, ListPortalsCommandOutput } from "./commands/ListPortalsCommand";
218+
import {
219+
ListSessionsCommand,
220+
ListSessionsCommandInput,
221+
ListSessionsCommandOutput,
222+
} from "./commands/ListSessionsCommand";
212223
import {
213224
ListTagsForResourceCommand,
214225
ListTagsForResourceCommandInput,
@@ -311,12 +322,14 @@ const commands = {
311322
DisassociateTrustStoreCommand,
312323
DisassociateUserAccessLoggingSettingsCommand,
313324
DisassociateUserSettingsCommand,
325+
ExpireSessionCommand,
314326
GetBrowserSettingsCommand,
315327
GetIdentityProviderCommand,
316328
GetIpAccessSettingsCommand,
317329
GetNetworkSettingsCommand,
318330
GetPortalCommand,
319331
GetPortalServiceProviderMetadataCommand,
332+
GetSessionCommand,
320333
GetTrustStoreCommand,
321334
GetTrustStoreCertificateCommand,
322335
GetUserAccessLoggingSettingsCommand,
@@ -326,6 +339,7 @@ const commands = {
326339
ListIpAccessSettingsCommand,
327340
ListNetworkSettingsCommand,
328341
ListPortalsCommand,
342+
ListSessionsCommand,
329343
ListTagsForResourceCommand,
330344
ListTrustStoreCertificatesCommand,
331345
ListTrustStoresCommand,
@@ -809,6 +823,17 @@ export interface WorkSpacesWeb {
809823
cb: (err: any, data?: DisassociateUserSettingsCommandOutput) => void
810824
): void;
811825

826+
/**
827+
* @see {@link ExpireSessionCommand}
828+
*/
829+
expireSession(args: ExpireSessionCommandInput, options?: __HttpHandlerOptions): Promise<ExpireSessionCommandOutput>;
830+
expireSession(args: ExpireSessionCommandInput, cb: (err: any, data?: ExpireSessionCommandOutput) => void): void;
831+
expireSession(
832+
args: ExpireSessionCommandInput,
833+
options: __HttpHandlerOptions,
834+
cb: (err: any, data?: ExpireSessionCommandOutput) => void
835+
): void;
836+
812837
/**
813838
* @see {@link GetBrowserSettingsCommand}
814839
*/
@@ -905,6 +930,17 @@ export interface WorkSpacesWeb {
905930
cb: (err: any, data?: GetPortalServiceProviderMetadataCommandOutput) => void
906931
): void;
907932

933+
/**
934+
* @see {@link GetSessionCommand}
935+
*/
936+
getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
937+
getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
938+
getSession(
939+
args: GetSessionCommandInput,
940+
options: __HttpHandlerOptions,
941+
cb: (err: any, data?: GetSessionCommandOutput) => void
942+
): void;
943+
908944
/**
909945
* @see {@link GetTrustStoreCommand}
910946
*/
@@ -1047,6 +1083,17 @@ export interface WorkSpacesWeb {
10471083
cb: (err: any, data?: ListPortalsCommandOutput) => void
10481084
): void;
10491085

1086+
/**
1087+
* @see {@link ListSessionsCommand}
1088+
*/
1089+
listSessions(args: ListSessionsCommandInput, options?: __HttpHandlerOptions): Promise<ListSessionsCommandOutput>;
1090+
listSessions(args: ListSessionsCommandInput, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
1091+
listSessions(
1092+
args: ListSessionsCommandInput,
1093+
options: __HttpHandlerOptions,
1094+
cb: (err: any, data?: ListSessionsCommandOutput) => void
1095+
): void;
1096+
10501097
/**
10511098
* @see {@link ListTagsForResourceCommand}
10521099
*/
@@ -1286,12 +1333,13 @@ export interface WorkSpacesWeb {
12861333
}
12871334

12881335
/**
1289-
* <p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built specifically to facilitate
1290-
* secure, web-based workloads. WorkSpaces Secure Browser makes it easy for customers to safely provide
1291-
* their employees with access to internal websites and SaaS web applications without the
1292-
* administrative burden of appliances or specialized client software. WorkSpaces Secure Browser provides
1293-
* simple policy tools tailored for user interactions, while offloading common tasks like
1294-
* capacity management, scaling, and maintaining browser images.</p>
1336+
* <p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built
1337+
* specifically to facilitate secure, web-based workloads. WorkSpaces Secure Browser makes it
1338+
* easy for customers to safely provide their employees with access to internal websites and
1339+
* SaaS web applications without the administrative burden of appliances or specialized client
1340+
* software. WorkSpaces Secure Browser provides simple policy tools tailored for user
1341+
* interactions, while offloading common tasks like capacity management, scaling, and
1342+
* maintaining browser images.</p>
12951343
* @public
12961344
*/
12971345
export class WorkSpacesWeb extends WorkSpacesWebClient implements WorkSpacesWeb {}

clients/client-workspaces-web/src/WorkSpacesWebClient.ts

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ import {
147147
DisassociateUserSettingsCommandInput,
148148
DisassociateUserSettingsCommandOutput,
149149
} from "./commands/DisassociateUserSettingsCommand";
150+
import { ExpireSessionCommandInput, ExpireSessionCommandOutput } from "./commands/ExpireSessionCommand";
150151
import { GetBrowserSettingsCommandInput, GetBrowserSettingsCommandOutput } from "./commands/GetBrowserSettingsCommand";
151152
import {
152153
GetIdentityProviderCommandInput,
@@ -162,6 +163,7 @@ import {
162163
GetPortalServiceProviderMetadataCommandInput,
163164
GetPortalServiceProviderMetadataCommandOutput,
164165
} from "./commands/GetPortalServiceProviderMetadataCommand";
166+
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
165167
import {
166168
GetTrustStoreCertificateCommandInput,
167169
GetTrustStoreCertificateCommandOutput,
@@ -189,6 +191,7 @@ import {
189191
ListNetworkSettingsCommandOutput,
190192
} from "./commands/ListNetworkSettingsCommand";
191193
import { ListPortalsCommandInput, ListPortalsCommandOutput } from "./commands/ListPortalsCommand";
194+
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
192195
import {
193196
ListTagsForResourceCommandInput,
194197
ListTagsForResourceCommandOutput,
@@ -271,12 +274,14 @@ export type ServiceInputTypes =
271274
| DisassociateTrustStoreCommandInput
272275
| DisassociateUserAccessLoggingSettingsCommandInput
273276
| DisassociateUserSettingsCommandInput
277+
| ExpireSessionCommandInput
274278
| GetBrowserSettingsCommandInput
275279
| GetIdentityProviderCommandInput
276280
| GetIpAccessSettingsCommandInput
277281
| GetNetworkSettingsCommandInput
278282
| GetPortalCommandInput
279283
| GetPortalServiceProviderMetadataCommandInput
284+
| GetSessionCommandInput
280285
| GetTrustStoreCertificateCommandInput
281286
| GetTrustStoreCommandInput
282287
| GetUserAccessLoggingSettingsCommandInput
@@ -286,6 +291,7 @@ export type ServiceInputTypes =
286291
| ListIpAccessSettingsCommandInput
287292
| ListNetworkSettingsCommandInput
288293
| ListPortalsCommandInput
294+
| ListSessionsCommandInput
289295
| ListTagsForResourceCommandInput
290296
| ListTrustStoreCertificatesCommandInput
291297
| ListTrustStoresCommandInput
@@ -334,12 +340,14 @@ export type ServiceOutputTypes =
334340
| DisassociateTrustStoreCommandOutput
335341
| DisassociateUserAccessLoggingSettingsCommandOutput
336342
| DisassociateUserSettingsCommandOutput
343+
| ExpireSessionCommandOutput
337344
| GetBrowserSettingsCommandOutput
338345
| GetIdentityProviderCommandOutput
339346
| GetIpAccessSettingsCommandOutput
340347
| GetNetworkSettingsCommandOutput
341348
| GetPortalCommandOutput
342349
| GetPortalServiceProviderMetadataCommandOutput
350+
| GetSessionCommandOutput
343351
| GetTrustStoreCertificateCommandOutput
344352
| GetTrustStoreCommandOutput
345353
| GetUserAccessLoggingSettingsCommandOutput
@@ -349,6 +357,7 @@ export type ServiceOutputTypes =
349357
| ListIpAccessSettingsCommandOutput
350358
| ListNetworkSettingsCommandOutput
351359
| ListPortalsCommandOutput
360+
| ListSessionsCommandOutput
352361
| ListTagsForResourceCommandOutput
353362
| ListTrustStoreCertificatesCommandOutput
354363
| ListTrustStoresCommandOutput
@@ -537,12 +546,13 @@ export type WorkSpacesWebClientResolvedConfigType = __SmithyResolvedConfiguratio
537546
export interface WorkSpacesWebClientResolvedConfig extends WorkSpacesWebClientResolvedConfigType {}
538547

539548
/**
540-
* <p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built specifically to facilitate
541-
* secure, web-based workloads. WorkSpaces Secure Browser makes it easy for customers to safely provide
542-
* their employees with access to internal websites and SaaS web applications without the
543-
* administrative burden of appliances or specialized client software. WorkSpaces Secure Browser provides
544-
* simple policy tools tailored for user interactions, while offloading common tasks like
545-
* capacity management, scaling, and maintaining browser images.</p>
549+
* <p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built
550+
* specifically to facilitate secure, web-based workloads. WorkSpaces Secure Browser makes it
551+
* easy for customers to safely provide their employees with access to internal websites and
552+
* SaaS web applications without the administrative burden of appliances or specialized client
553+
* software. WorkSpaces Secure Browser provides simple policy tools tailored for user
554+
* interactions, while offloading common tasks like capacity management, scaling, and
555+
* maintaining browser images.</p>
546556
* @public
547557
*/
548558
export class WorkSpacesWebClient extends __Client<

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export interface CreateUserAccessLoggingSettingsCommandOutput
3737
__MetadataBearer {}
3838

3939
/**
40-
* <p>Creates a user access logging settings resource that can be associated with a web portal.</p>
40+
* <p>Creates a user access logging settings resource that can be associated with a web
41+
* portal.</p>
4142
* @example
4243
* Use a bare-bones client and the command you need to make an API call.
4344
* ```javascript

0 commit comments

Comments
 (0)