@aws-sdk/client-workspaces-web 3.654.0 → 3.655.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/README.md +31 -6
- package/dist-cjs/index.js +207 -0
- package/dist-es/WorkSpacesWeb.js +6 -0
- package/dist-es/commands/ExpireSessionCommand.js +22 -0
- package/dist-es/commands/GetSessionCommand.js +23 -0
- package/dist-es/commands/ListSessionsCommand.js +23 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +29 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +109 -0
- package/dist-types/WorkSpacesWeb.d.ts +28 -6
- package/dist-types/WorkSpacesWebClient.d.ts +12 -8
- package/dist-types/commands/CreateUserAccessLoggingSettingsCommand.d.ts +2 -1
- package/dist-types/commands/ExpireSessionCommand.d.ts +85 -0
- package/dist-types/commands/GetSessionCommand.d.ts +97 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +7 -6
- package/dist-types/models/models_0.d.ts +352 -75
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/WorkSpacesWeb.d.ts +51 -0
- package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ExpireSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +65 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "../commands/ListSessionsCommand";
|
|
3
|
+
import { WorkSpacesWebPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListSessions: (config: WorkSpacesWebPaginationConfiguration, input: ListSessionsCommandInput, ...rest: any[]) => Paginator<ListSessionsCommandOutput>;
|
|
@@ -4,6 +4,7 @@ export * from "./ListIdentityProvidersPaginator";
|
|
|
4
4
|
export * from "./ListIpAccessSettingsPaginator";
|
|
5
5
|
export * from "./ListNetworkSettingsPaginator";
|
|
6
6
|
export * from "./ListPortalsPaginator";
|
|
7
|
+
export * from "./ListSessionsPaginator";
|
|
7
8
|
export * from "./ListTrustStoreCertificatesPaginator";
|
|
8
9
|
export * from "./ListTrustStoresPaginator";
|
|
9
10
|
export * from "./ListUserAccessLoggingSettingsPaginator";
|
|
@@ -28,12 +28,14 @@ import { DisassociateNetworkSettingsCommandInput, DisassociateNetworkSettingsCom
|
|
|
28
28
|
import { DisassociateTrustStoreCommandInput, DisassociateTrustStoreCommandOutput } from "../commands/DisassociateTrustStoreCommand";
|
|
29
29
|
import { DisassociateUserAccessLoggingSettingsCommandInput, DisassociateUserAccessLoggingSettingsCommandOutput } from "../commands/DisassociateUserAccessLoggingSettingsCommand";
|
|
30
30
|
import { DisassociateUserSettingsCommandInput, DisassociateUserSettingsCommandOutput } from "../commands/DisassociateUserSettingsCommand";
|
|
31
|
+
import { ExpireSessionCommandInput, ExpireSessionCommandOutput } from "../commands/ExpireSessionCommand";
|
|
31
32
|
import { GetBrowserSettingsCommandInput, GetBrowserSettingsCommandOutput } from "../commands/GetBrowserSettingsCommand";
|
|
32
33
|
import { GetIdentityProviderCommandInput, GetIdentityProviderCommandOutput } from "../commands/GetIdentityProviderCommand";
|
|
33
34
|
import { GetIpAccessSettingsCommandInput, GetIpAccessSettingsCommandOutput } from "../commands/GetIpAccessSettingsCommand";
|
|
34
35
|
import { GetNetworkSettingsCommandInput, GetNetworkSettingsCommandOutput } from "../commands/GetNetworkSettingsCommand";
|
|
35
36
|
import { GetPortalCommandInput, GetPortalCommandOutput } from "../commands/GetPortalCommand";
|
|
36
37
|
import { GetPortalServiceProviderMetadataCommandInput, GetPortalServiceProviderMetadataCommandOutput } from "../commands/GetPortalServiceProviderMetadataCommand";
|
|
38
|
+
import { GetSessionCommandInput, GetSessionCommandOutput } from "../commands/GetSessionCommand";
|
|
37
39
|
import { GetTrustStoreCertificateCommandInput, GetTrustStoreCertificateCommandOutput } from "../commands/GetTrustStoreCertificateCommand";
|
|
38
40
|
import { GetTrustStoreCommandInput, GetTrustStoreCommandOutput } from "../commands/GetTrustStoreCommand";
|
|
39
41
|
import { GetUserAccessLoggingSettingsCommandInput, GetUserAccessLoggingSettingsCommandOutput } from "../commands/GetUserAccessLoggingSettingsCommand";
|
|
@@ -43,6 +45,7 @@ import { ListIdentityProvidersCommandInput, ListIdentityProvidersCommandOutput }
|
|
|
43
45
|
import { ListIpAccessSettingsCommandInput, ListIpAccessSettingsCommandOutput } from "../commands/ListIpAccessSettingsCommand";
|
|
44
46
|
import { ListNetworkSettingsCommandInput, ListNetworkSettingsCommandOutput } from "../commands/ListNetworkSettingsCommand";
|
|
45
47
|
import { ListPortalsCommandInput, ListPortalsCommandOutput } from "../commands/ListPortalsCommand";
|
|
48
|
+
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "../commands/ListSessionsCommand";
|
|
46
49
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
47
50
|
import { ListTrustStoreCertificatesCommandInput, ListTrustStoreCertificatesCommandOutput } from "../commands/ListTrustStoreCertificatesCommand";
|
|
48
51
|
import { ListTrustStoresCommandInput, ListTrustStoresCommandOutput } from "../commands/ListTrustStoresCommand";
|
|
@@ -170,6 +173,10 @@ export declare const se_DisassociateUserAccessLoggingSettingsCommand: (input: Di
|
|
|
170
173
|
* serializeAws_restJson1DisassociateUserSettingsCommand
|
|
171
174
|
*/
|
|
172
175
|
export declare const se_DisassociateUserSettingsCommand: (input: DisassociateUserSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
176
|
+
/**
|
|
177
|
+
* serializeAws_restJson1ExpireSessionCommand
|
|
178
|
+
*/
|
|
179
|
+
export declare const se_ExpireSessionCommand: (input: ExpireSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
173
180
|
/**
|
|
174
181
|
* serializeAws_restJson1GetBrowserSettingsCommand
|
|
175
182
|
*/
|
|
@@ -194,6 +201,10 @@ export declare const se_GetPortalCommand: (input: GetPortalCommandInput, context
|
|
|
194
201
|
* serializeAws_restJson1GetPortalServiceProviderMetadataCommand
|
|
195
202
|
*/
|
|
196
203
|
export declare const se_GetPortalServiceProviderMetadataCommand: (input: GetPortalServiceProviderMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
204
|
+
/**
|
|
205
|
+
* serializeAws_restJson1GetSessionCommand
|
|
206
|
+
*/
|
|
207
|
+
export declare const se_GetSessionCommand: (input: GetSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
197
208
|
/**
|
|
198
209
|
* serializeAws_restJson1GetTrustStoreCommand
|
|
199
210
|
*/
|
|
@@ -230,6 +241,10 @@ export declare const se_ListNetworkSettingsCommand: (input: ListNetworkSettingsC
|
|
|
230
241
|
* serializeAws_restJson1ListPortalsCommand
|
|
231
242
|
*/
|
|
232
243
|
export declare const se_ListPortalsCommand: (input: ListPortalsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
244
|
+
/**
|
|
245
|
+
* serializeAws_restJson1ListSessionsCommand
|
|
246
|
+
*/
|
|
247
|
+
export declare const se_ListSessionsCommand: (input: ListSessionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
233
248
|
/**
|
|
234
249
|
* serializeAws_restJson1ListTagsForResourceCommand
|
|
235
250
|
*/
|
|
@@ -402,6 +417,10 @@ export declare const de_DisassociateUserAccessLoggingSettingsCommand: (output: _
|
|
|
402
417
|
* deserializeAws_restJson1DisassociateUserSettingsCommand
|
|
403
418
|
*/
|
|
404
419
|
export declare const de_DisassociateUserSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateUserSettingsCommandOutput>;
|
|
420
|
+
/**
|
|
421
|
+
* deserializeAws_restJson1ExpireSessionCommand
|
|
422
|
+
*/
|
|
423
|
+
export declare const de_ExpireSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExpireSessionCommandOutput>;
|
|
405
424
|
/**
|
|
406
425
|
* deserializeAws_restJson1GetBrowserSettingsCommand
|
|
407
426
|
*/
|
|
@@ -426,6 +445,10 @@ export declare const de_GetPortalCommand: (output: __HttpResponse, context: __Se
|
|
|
426
445
|
* deserializeAws_restJson1GetPortalServiceProviderMetadataCommand
|
|
427
446
|
*/
|
|
428
447
|
export declare const de_GetPortalServiceProviderMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPortalServiceProviderMetadataCommandOutput>;
|
|
448
|
+
/**
|
|
449
|
+
* deserializeAws_restJson1GetSessionCommand
|
|
450
|
+
*/
|
|
451
|
+
export declare const de_GetSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionCommandOutput>;
|
|
429
452
|
/**
|
|
430
453
|
* deserializeAws_restJson1GetTrustStoreCommand
|
|
431
454
|
*/
|
|
@@ -462,6 +485,10 @@ export declare const de_ListNetworkSettingsCommand: (output: __HttpResponse, con
|
|
|
462
485
|
* deserializeAws_restJson1ListPortalsCommand
|
|
463
486
|
*/
|
|
464
487
|
export declare const de_ListPortalsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPortalsCommandOutput>;
|
|
488
|
+
/**
|
|
489
|
+
* deserializeAws_restJson1ListSessionsCommand
|
|
490
|
+
*/
|
|
491
|
+
export declare const de_ListSessionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSessionsCommandOutput>;
|
|
465
492
|
/**
|
|
466
493
|
* deserializeAws_restJson1ListTagsForResourceCommand
|
|
467
494
|
*/
|
|
@@ -111,6 +111,10 @@ import {
|
|
|
111
111
|
DisassociateUserSettingsCommandInput,
|
|
112
112
|
DisassociateUserSettingsCommandOutput,
|
|
113
113
|
} from "./commands/DisassociateUserSettingsCommand";
|
|
114
|
+
import {
|
|
115
|
+
ExpireSessionCommandInput,
|
|
116
|
+
ExpireSessionCommandOutput,
|
|
117
|
+
} from "./commands/ExpireSessionCommand";
|
|
114
118
|
import {
|
|
115
119
|
GetBrowserSettingsCommandInput,
|
|
116
120
|
GetBrowserSettingsCommandOutput,
|
|
@@ -135,6 +139,10 @@ import {
|
|
|
135
139
|
GetPortalServiceProviderMetadataCommandInput,
|
|
136
140
|
GetPortalServiceProviderMetadataCommandOutput,
|
|
137
141
|
} from "./commands/GetPortalServiceProviderMetadataCommand";
|
|
142
|
+
import {
|
|
143
|
+
GetSessionCommandInput,
|
|
144
|
+
GetSessionCommandOutput,
|
|
145
|
+
} from "./commands/GetSessionCommand";
|
|
138
146
|
import {
|
|
139
147
|
GetTrustStoreCertificateCommandInput,
|
|
140
148
|
GetTrustStoreCertificateCommandOutput,
|
|
@@ -171,6 +179,10 @@ import {
|
|
|
171
179
|
ListPortalsCommandInput,
|
|
172
180
|
ListPortalsCommandOutput,
|
|
173
181
|
} from "./commands/ListPortalsCommand";
|
|
182
|
+
import {
|
|
183
|
+
ListSessionsCommandInput,
|
|
184
|
+
ListSessionsCommandOutput,
|
|
185
|
+
} from "./commands/ListSessionsCommand";
|
|
174
186
|
import {
|
|
175
187
|
ListTagsForResourceCommandInput,
|
|
176
188
|
ListTagsForResourceCommandOutput,
|
|
@@ -610,6 +622,19 @@ export interface WorkSpacesWeb {
|
|
|
610
622
|
options: __HttpHandlerOptions,
|
|
611
623
|
cb: (err: any, data?: DisassociateUserSettingsCommandOutput) => void
|
|
612
624
|
): void;
|
|
625
|
+
expireSession(
|
|
626
|
+
args: ExpireSessionCommandInput,
|
|
627
|
+
options?: __HttpHandlerOptions
|
|
628
|
+
): Promise<ExpireSessionCommandOutput>;
|
|
629
|
+
expireSession(
|
|
630
|
+
args: ExpireSessionCommandInput,
|
|
631
|
+
cb: (err: any, data?: ExpireSessionCommandOutput) => void
|
|
632
|
+
): void;
|
|
633
|
+
expireSession(
|
|
634
|
+
args: ExpireSessionCommandInput,
|
|
635
|
+
options: __HttpHandlerOptions,
|
|
636
|
+
cb: (err: any, data?: ExpireSessionCommandOutput) => void
|
|
637
|
+
): void;
|
|
613
638
|
getBrowserSettings(
|
|
614
639
|
args: GetBrowserSettingsCommandInput,
|
|
615
640
|
options?: __HttpHandlerOptions
|
|
@@ -688,6 +713,19 @@ export interface WorkSpacesWeb {
|
|
|
688
713
|
options: __HttpHandlerOptions,
|
|
689
714
|
cb: (err: any, data?: GetPortalServiceProviderMetadataCommandOutput) => void
|
|
690
715
|
): void;
|
|
716
|
+
getSession(
|
|
717
|
+
args: GetSessionCommandInput,
|
|
718
|
+
options?: __HttpHandlerOptions
|
|
719
|
+
): Promise<GetSessionCommandOutput>;
|
|
720
|
+
getSession(
|
|
721
|
+
args: GetSessionCommandInput,
|
|
722
|
+
cb: (err: any, data?: GetSessionCommandOutput) => void
|
|
723
|
+
): void;
|
|
724
|
+
getSession(
|
|
725
|
+
args: GetSessionCommandInput,
|
|
726
|
+
options: __HttpHandlerOptions,
|
|
727
|
+
cb: (err: any, data?: GetSessionCommandOutput) => void
|
|
728
|
+
): void;
|
|
691
729
|
getTrustStore(
|
|
692
730
|
args: GetTrustStoreCommandInput,
|
|
693
731
|
options?: __HttpHandlerOptions
|
|
@@ -809,6 +847,19 @@ export interface WorkSpacesWeb {
|
|
|
809
847
|
options: __HttpHandlerOptions,
|
|
810
848
|
cb: (err: any, data?: ListPortalsCommandOutput) => void
|
|
811
849
|
): void;
|
|
850
|
+
listSessions(
|
|
851
|
+
args: ListSessionsCommandInput,
|
|
852
|
+
options?: __HttpHandlerOptions
|
|
853
|
+
): Promise<ListSessionsCommandOutput>;
|
|
854
|
+
listSessions(
|
|
855
|
+
args: ListSessionsCommandInput,
|
|
856
|
+
cb: (err: any, data?: ListSessionsCommandOutput) => void
|
|
857
|
+
): void;
|
|
858
|
+
listSessions(
|
|
859
|
+
args: ListSessionsCommandInput,
|
|
860
|
+
options: __HttpHandlerOptions,
|
|
861
|
+
cb: (err: any, data?: ListSessionsCommandOutput) => void
|
|
862
|
+
): void;
|
|
812
863
|
listTagsForResource(
|
|
813
864
|
args: ListTagsForResourceCommandInput,
|
|
814
865
|
options?: __HttpHandlerOptions
|
|
@@ -157,6 +157,10 @@ import {
|
|
|
157
157
|
DisassociateUserSettingsCommandInput,
|
|
158
158
|
DisassociateUserSettingsCommandOutput,
|
|
159
159
|
} from "./commands/DisassociateUserSettingsCommand";
|
|
160
|
+
import {
|
|
161
|
+
ExpireSessionCommandInput,
|
|
162
|
+
ExpireSessionCommandOutput,
|
|
163
|
+
} from "./commands/ExpireSessionCommand";
|
|
160
164
|
import {
|
|
161
165
|
GetBrowserSettingsCommandInput,
|
|
162
166
|
GetBrowserSettingsCommandOutput,
|
|
@@ -181,6 +185,10 @@ import {
|
|
|
181
185
|
GetPortalServiceProviderMetadataCommandInput,
|
|
182
186
|
GetPortalServiceProviderMetadataCommandOutput,
|
|
183
187
|
} from "./commands/GetPortalServiceProviderMetadataCommand";
|
|
188
|
+
import {
|
|
189
|
+
GetSessionCommandInput,
|
|
190
|
+
GetSessionCommandOutput,
|
|
191
|
+
} from "./commands/GetSessionCommand";
|
|
184
192
|
import {
|
|
185
193
|
GetTrustStoreCertificateCommandInput,
|
|
186
194
|
GetTrustStoreCertificateCommandOutput,
|
|
@@ -217,6 +225,10 @@ import {
|
|
|
217
225
|
ListPortalsCommandInput,
|
|
218
226
|
ListPortalsCommandOutput,
|
|
219
227
|
} from "./commands/ListPortalsCommand";
|
|
228
|
+
import {
|
|
229
|
+
ListSessionsCommandInput,
|
|
230
|
+
ListSessionsCommandOutput,
|
|
231
|
+
} from "./commands/ListSessionsCommand";
|
|
220
232
|
import {
|
|
221
233
|
ListTagsForResourceCommandInput,
|
|
222
234
|
ListTagsForResourceCommandOutput,
|
|
@@ -313,12 +325,14 @@ export type ServiceInputTypes =
|
|
|
313
325
|
| DisassociateTrustStoreCommandInput
|
|
314
326
|
| DisassociateUserAccessLoggingSettingsCommandInput
|
|
315
327
|
| DisassociateUserSettingsCommandInput
|
|
328
|
+
| ExpireSessionCommandInput
|
|
316
329
|
| GetBrowserSettingsCommandInput
|
|
317
330
|
| GetIdentityProviderCommandInput
|
|
318
331
|
| GetIpAccessSettingsCommandInput
|
|
319
332
|
| GetNetworkSettingsCommandInput
|
|
320
333
|
| GetPortalCommandInput
|
|
321
334
|
| GetPortalServiceProviderMetadataCommandInput
|
|
335
|
+
| GetSessionCommandInput
|
|
322
336
|
| GetTrustStoreCertificateCommandInput
|
|
323
337
|
| GetTrustStoreCommandInput
|
|
324
338
|
| GetUserAccessLoggingSettingsCommandInput
|
|
@@ -328,6 +342,7 @@ export type ServiceInputTypes =
|
|
|
328
342
|
| ListIpAccessSettingsCommandInput
|
|
329
343
|
| ListNetworkSettingsCommandInput
|
|
330
344
|
| ListPortalsCommandInput
|
|
345
|
+
| ListSessionsCommandInput
|
|
331
346
|
| ListTagsForResourceCommandInput
|
|
332
347
|
| ListTrustStoreCertificatesCommandInput
|
|
333
348
|
| ListTrustStoresCommandInput
|
|
@@ -372,12 +387,14 @@ export type ServiceOutputTypes =
|
|
|
372
387
|
| DisassociateTrustStoreCommandOutput
|
|
373
388
|
| DisassociateUserAccessLoggingSettingsCommandOutput
|
|
374
389
|
| DisassociateUserSettingsCommandOutput
|
|
390
|
+
| ExpireSessionCommandOutput
|
|
375
391
|
| GetBrowserSettingsCommandOutput
|
|
376
392
|
| GetIdentityProviderCommandOutput
|
|
377
393
|
| GetIpAccessSettingsCommandOutput
|
|
378
394
|
| GetNetworkSettingsCommandOutput
|
|
379
395
|
| GetPortalCommandOutput
|
|
380
396
|
| GetPortalServiceProviderMetadataCommandOutput
|
|
397
|
+
| GetSessionCommandOutput
|
|
381
398
|
| GetTrustStoreCertificateCommandOutput
|
|
382
399
|
| GetTrustStoreCommandOutput
|
|
383
400
|
| GetUserAccessLoggingSettingsCommandOutput
|
|
@@ -387,6 +404,7 @@ export type ServiceOutputTypes =
|
|
|
387
404
|
| ListIpAccessSettingsCommandOutput
|
|
388
405
|
| ListNetworkSettingsCommandOutput
|
|
389
406
|
| ListPortalsCommandOutput
|
|
407
|
+
| ListSessionsCommandOutput
|
|
390
408
|
| ListTagsForResourceCommandOutput
|
|
391
409
|
| ListTrustStoreCertificatesCommandOutput
|
|
392
410
|
| ListTrustStoresCommandOutput
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ExpireSessionRequest,
|
|
5
|
+
ExpireSessionResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
WorkSpacesWebClientResolvedConfig,
|
|
11
|
+
} from "../WorkSpacesWebClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ExpireSessionCommandInput extends ExpireSessionRequest {}
|
|
15
|
+
export interface ExpireSessionCommandOutput
|
|
16
|
+
extends ExpireSessionResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ExpireSessionCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ExpireSessionCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ExpireSessionCommandInput,
|
|
23
|
+
ExpireSessionCommandOutput,
|
|
24
|
+
WorkSpacesWebClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: ExpireSessionCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ExpireSessionCommandInput,
|
|
32
|
+
ExpireSessionCommandOutput,
|
|
33
|
+
WorkSpacesWebClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ExpireSessionCommand extends ExpireSessionCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: ExpireSessionRequest;
|
|
43
|
+
output: {};
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: ExpireSessionCommandInput;
|
|
47
|
+
output: ExpireSessionCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
WorkSpacesWebClientResolvedConfig,
|
|
8
|
+
} from "../WorkSpacesWebClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetSessionCommandInput extends GetSessionRequest {}
|
|
12
|
+
export interface GetSessionCommandOutput
|
|
13
|
+
extends GetSessionResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetSessionCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetSessionCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetSessionCommandInput,
|
|
20
|
+
GetSessionCommandOutput,
|
|
21
|
+
WorkSpacesWebClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: GetSessionCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetSessionCommandInput,
|
|
29
|
+
GetSessionCommandOutput,
|
|
30
|
+
WorkSpacesWebClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetSessionCommand extends GetSessionCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: GetSessionRequest;
|
|
40
|
+
output: GetSessionResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetSessionCommandInput;
|
|
44
|
+
output: GetSessionCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListSessionsRequest, ListSessionsResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
WorkSpacesWebClientResolvedConfig,
|
|
8
|
+
} from "../WorkSpacesWebClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListSessionsCommandInput extends ListSessionsRequest {}
|
|
12
|
+
export interface ListSessionsCommandOutput
|
|
13
|
+
extends ListSessionsResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListSessionsCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListSessionsCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
ListSessionsCommandInput,
|
|
20
|
+
ListSessionsCommandOutput,
|
|
21
|
+
WorkSpacesWebClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: ListSessionsCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
ListSessionsCommandInput,
|
|
29
|
+
ListSessionsCommandOutput,
|
|
30
|
+
WorkSpacesWebClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class ListSessionsCommand extends ListSessionsCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: ListSessionsRequest;
|
|
40
|
+
output: ListSessionsResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: ListSessionsCommandInput;
|
|
44
|
+
output: ListSessionsCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -26,12 +26,14 @@ export * from "./DisassociateNetworkSettingsCommand";
|
|
|
26
26
|
export * from "./DisassociateTrustStoreCommand";
|
|
27
27
|
export * from "./DisassociateUserAccessLoggingSettingsCommand";
|
|
28
28
|
export * from "./DisassociateUserSettingsCommand";
|
|
29
|
+
export * from "./ExpireSessionCommand";
|
|
29
30
|
export * from "./GetBrowserSettingsCommand";
|
|
30
31
|
export * from "./GetIdentityProviderCommand";
|
|
31
32
|
export * from "./GetIpAccessSettingsCommand";
|
|
32
33
|
export * from "./GetNetworkSettingsCommand";
|
|
33
34
|
export * from "./GetPortalCommand";
|
|
34
35
|
export * from "./GetPortalServiceProviderMetadataCommand";
|
|
36
|
+
export * from "./GetSessionCommand";
|
|
35
37
|
export * from "./GetTrustStoreCertificateCommand";
|
|
36
38
|
export * from "./GetTrustStoreCommand";
|
|
37
39
|
export * from "./GetUserAccessLoggingSettingsCommand";
|
|
@@ -41,6 +43,7 @@ export * from "./ListIdentityProvidersCommand";
|
|
|
41
43
|
export * from "./ListIpAccessSettingsCommand";
|
|
42
44
|
export * from "./ListNetworkSettingsCommand";
|
|
43
45
|
export * from "./ListPortalsCommand";
|
|
46
|
+
export * from "./ListSessionsCommand";
|
|
44
47
|
export * from "./ListTagsForResourceCommand";
|
|
45
48
|
export * from "./ListTrustStoreCertificatesCommand";
|
|
46
49
|
export * from "./ListTrustStoresCommand";
|
|
@@ -177,6 +177,32 @@ export interface UpdateBrowserSettingsRequest {
|
|
|
177
177
|
export interface UpdateBrowserSettingsResponse {
|
|
178
178
|
browserSettings: BrowserSettings | undefined;
|
|
179
179
|
}
|
|
180
|
+
export interface ExpireSessionRequest {
|
|
181
|
+
portalId: string | undefined;
|
|
182
|
+
sessionId: string | undefined;
|
|
183
|
+
}
|
|
184
|
+
export interface ExpireSessionResponse {}
|
|
185
|
+
export interface GetSessionRequest {
|
|
186
|
+
portalId: string | undefined;
|
|
187
|
+
sessionId: string | undefined;
|
|
188
|
+
}
|
|
189
|
+
export declare const SessionStatus: {
|
|
190
|
+
readonly ACTIVE: "Active";
|
|
191
|
+
readonly TERMINATED: "Terminated";
|
|
192
|
+
};
|
|
193
|
+
export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
|
|
194
|
+
export interface Session {
|
|
195
|
+
portalArn?: string;
|
|
196
|
+
sessionId?: string;
|
|
197
|
+
username?: string;
|
|
198
|
+
clientIpAddresses?: string[];
|
|
199
|
+
status?: SessionStatus;
|
|
200
|
+
startTime?: Date;
|
|
201
|
+
endTime?: Date;
|
|
202
|
+
}
|
|
203
|
+
export interface GetSessionResponse {
|
|
204
|
+
session?: Session;
|
|
205
|
+
}
|
|
180
206
|
export declare const IdentityProviderType: {
|
|
181
207
|
readonly Facebook: "Facebook";
|
|
182
208
|
readonly Google: "Google";
|
|
@@ -298,6 +324,32 @@ export interface UpdateIpAccessSettingsRequest {
|
|
|
298
324
|
export interface UpdateIpAccessSettingsResponse {
|
|
299
325
|
ipAccessSettings: IpAccessSettings | undefined;
|
|
300
326
|
}
|
|
327
|
+
export declare const SessionSortBy: {
|
|
328
|
+
readonly START_TIME_ASCENDING: "StartTimeAscending";
|
|
329
|
+
readonly START_TIME_DESCENDING: "StartTimeDescending";
|
|
330
|
+
};
|
|
331
|
+
export type SessionSortBy = (typeof SessionSortBy)[keyof typeof SessionSortBy];
|
|
332
|
+
export interface ListSessionsRequest {
|
|
333
|
+
portalId: string | undefined;
|
|
334
|
+
username?: string;
|
|
335
|
+
sessionId?: string;
|
|
336
|
+
sortBy?: SessionSortBy;
|
|
337
|
+
status?: SessionStatus;
|
|
338
|
+
maxResults?: number;
|
|
339
|
+
nextToken?: string;
|
|
340
|
+
}
|
|
341
|
+
export interface SessionSummary {
|
|
342
|
+
portalArn?: string;
|
|
343
|
+
sessionId?: string;
|
|
344
|
+
username?: string;
|
|
345
|
+
status?: SessionStatus;
|
|
346
|
+
startTime?: Date;
|
|
347
|
+
endTime?: Date;
|
|
348
|
+
}
|
|
349
|
+
export interface ListSessionsResponse {
|
|
350
|
+
sessions: SessionSummary[] | undefined;
|
|
351
|
+
nextToken?: string;
|
|
352
|
+
}
|
|
301
353
|
export interface ListTagsForResourceRequest {
|
|
302
354
|
resourceArn: string | undefined;
|
|
303
355
|
}
|
|
@@ -731,6 +783,10 @@ export declare const UpdateBrowserSettingsRequestFilterSensitiveLog: (
|
|
|
731
783
|
export declare const UpdateBrowserSettingsResponseFilterSensitiveLog: (
|
|
732
784
|
obj: UpdateBrowserSettingsResponse
|
|
733
785
|
) => any;
|
|
786
|
+
export declare const SessionFilterSensitiveLog: (obj: Session) => any;
|
|
787
|
+
export declare const GetSessionResponseFilterSensitiveLog: (
|
|
788
|
+
obj: GetSessionResponse
|
|
789
|
+
) => any;
|
|
734
790
|
export declare const CreateIdentityProviderRequestFilterSensitiveLog: (
|
|
735
791
|
obj: CreateIdentityProviderRequest
|
|
736
792
|
) => any;
|
|
@@ -774,6 +830,15 @@ export declare const UpdateIpAccessSettingsRequestFilterSensitiveLog: (
|
|
|
774
830
|
export declare const UpdateIpAccessSettingsResponseFilterSensitiveLog: (
|
|
775
831
|
obj: UpdateIpAccessSettingsResponse
|
|
776
832
|
) => any;
|
|
833
|
+
export declare const ListSessionsRequestFilterSensitiveLog: (
|
|
834
|
+
obj: ListSessionsRequest
|
|
835
|
+
) => any;
|
|
836
|
+
export declare const SessionSummaryFilterSensitiveLog: (
|
|
837
|
+
obj: SessionSummary
|
|
838
|
+
) => any;
|
|
839
|
+
export declare const ListSessionsResponseFilterSensitiveLog: (
|
|
840
|
+
obj: ListSessionsResponse
|
|
841
|
+
) => any;
|
|
777
842
|
export declare const ListTagsForResourceResponseFilterSensitiveLog: (
|
|
778
843
|
obj: ListTagsForResourceResponse
|
|
779
844
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListSessionsCommandInput,
|
|
4
|
+
ListSessionsCommandOutput,
|
|
5
|
+
} from "../commands/ListSessionsCommand";
|
|
6
|
+
import { WorkSpacesWebPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListSessions: (
|
|
8
|
+
config: WorkSpacesWebPaginationConfiguration,
|
|
9
|
+
input: ListSessionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSessionsCommandOutput>;
|
|
@@ -4,6 +4,7 @@ export * from "./ListIdentityProvidersPaginator";
|
|
|
4
4
|
export * from "./ListIpAccessSettingsPaginator";
|
|
5
5
|
export * from "./ListNetworkSettingsPaginator";
|
|
6
6
|
export * from "./ListPortalsPaginator";
|
|
7
|
+
export * from "./ListSessionsPaginator";
|
|
7
8
|
export * from "./ListTrustStoreCertificatesPaginator";
|
|
8
9
|
export * from "./ListTrustStoresPaginator";
|
|
9
10
|
export * from "./ListUserAccessLoggingSettingsPaginator";
|
|
@@ -115,6 +115,10 @@ import {
|
|
|
115
115
|
DisassociateUserSettingsCommandInput,
|
|
116
116
|
DisassociateUserSettingsCommandOutput,
|
|
117
117
|
} from "../commands/DisassociateUserSettingsCommand";
|
|
118
|
+
import {
|
|
119
|
+
ExpireSessionCommandInput,
|
|
120
|
+
ExpireSessionCommandOutput,
|
|
121
|
+
} from "../commands/ExpireSessionCommand";
|
|
118
122
|
import {
|
|
119
123
|
GetBrowserSettingsCommandInput,
|
|
120
124
|
GetBrowserSettingsCommandOutput,
|
|
@@ -139,6 +143,10 @@ import {
|
|
|
139
143
|
GetPortalServiceProviderMetadataCommandInput,
|
|
140
144
|
GetPortalServiceProviderMetadataCommandOutput,
|
|
141
145
|
} from "../commands/GetPortalServiceProviderMetadataCommand";
|
|
146
|
+
import {
|
|
147
|
+
GetSessionCommandInput,
|
|
148
|
+
GetSessionCommandOutput,
|
|
149
|
+
} from "../commands/GetSessionCommand";
|
|
142
150
|
import {
|
|
143
151
|
GetTrustStoreCertificateCommandInput,
|
|
144
152
|
GetTrustStoreCertificateCommandOutput,
|
|
@@ -175,6 +183,10 @@ import {
|
|
|
175
183
|
ListPortalsCommandInput,
|
|
176
184
|
ListPortalsCommandOutput,
|
|
177
185
|
} from "../commands/ListPortalsCommand";
|
|
186
|
+
import {
|
|
187
|
+
ListSessionsCommandInput,
|
|
188
|
+
ListSessionsCommandOutput,
|
|
189
|
+
} from "../commands/ListSessionsCommand";
|
|
178
190
|
import {
|
|
179
191
|
ListTagsForResourceCommandInput,
|
|
180
192
|
ListTagsForResourceCommandOutput,
|
|
@@ -347,6 +359,10 @@ export declare const se_DisassociateUserSettingsCommand: (
|
|
|
347
359
|
input: DisassociateUserSettingsCommandInput,
|
|
348
360
|
context: __SerdeContext
|
|
349
361
|
) => Promise<__HttpRequest>;
|
|
362
|
+
export declare const se_ExpireSessionCommand: (
|
|
363
|
+
input: ExpireSessionCommandInput,
|
|
364
|
+
context: __SerdeContext
|
|
365
|
+
) => Promise<__HttpRequest>;
|
|
350
366
|
export declare const se_GetBrowserSettingsCommand: (
|
|
351
367
|
input: GetBrowserSettingsCommandInput,
|
|
352
368
|
context: __SerdeContext
|
|
@@ -371,6 +387,10 @@ export declare const se_GetPortalServiceProviderMetadataCommand: (
|
|
|
371
387
|
input: GetPortalServiceProviderMetadataCommandInput,
|
|
372
388
|
context: __SerdeContext
|
|
373
389
|
) => Promise<__HttpRequest>;
|
|
390
|
+
export declare const se_GetSessionCommand: (
|
|
391
|
+
input: GetSessionCommandInput,
|
|
392
|
+
context: __SerdeContext
|
|
393
|
+
) => Promise<__HttpRequest>;
|
|
374
394
|
export declare const se_GetTrustStoreCommand: (
|
|
375
395
|
input: GetTrustStoreCommandInput,
|
|
376
396
|
context: __SerdeContext
|
|
@@ -407,6 +427,10 @@ export declare const se_ListPortalsCommand: (
|
|
|
407
427
|
input: ListPortalsCommandInput,
|
|
408
428
|
context: __SerdeContext
|
|
409
429
|
) => Promise<__HttpRequest>;
|
|
430
|
+
export declare const se_ListSessionsCommand: (
|
|
431
|
+
input: ListSessionsCommandInput,
|
|
432
|
+
context: __SerdeContext
|
|
433
|
+
) => Promise<__HttpRequest>;
|
|
410
434
|
export declare const se_ListTagsForResourceCommand: (
|
|
411
435
|
input: ListTagsForResourceCommandInput,
|
|
412
436
|
context: __SerdeContext
|
|
@@ -579,6 +603,10 @@ export declare const de_DisassociateUserSettingsCommand: (
|
|
|
579
603
|
output: __HttpResponse,
|
|
580
604
|
context: __SerdeContext
|
|
581
605
|
) => Promise<DisassociateUserSettingsCommandOutput>;
|
|
606
|
+
export declare const de_ExpireSessionCommand: (
|
|
607
|
+
output: __HttpResponse,
|
|
608
|
+
context: __SerdeContext
|
|
609
|
+
) => Promise<ExpireSessionCommandOutput>;
|
|
582
610
|
export declare const de_GetBrowserSettingsCommand: (
|
|
583
611
|
output: __HttpResponse,
|
|
584
612
|
context: __SerdeContext
|
|
@@ -603,6 +631,10 @@ export declare const de_GetPortalServiceProviderMetadataCommand: (
|
|
|
603
631
|
output: __HttpResponse,
|
|
604
632
|
context: __SerdeContext
|
|
605
633
|
) => Promise<GetPortalServiceProviderMetadataCommandOutput>;
|
|
634
|
+
export declare const de_GetSessionCommand: (
|
|
635
|
+
output: __HttpResponse,
|
|
636
|
+
context: __SerdeContext
|
|
637
|
+
) => Promise<GetSessionCommandOutput>;
|
|
606
638
|
export declare const de_GetTrustStoreCommand: (
|
|
607
639
|
output: __HttpResponse,
|
|
608
640
|
context: __SerdeContext
|
|
@@ -639,6 +671,10 @@ export declare const de_ListPortalsCommand: (
|
|
|
639
671
|
output: __HttpResponse,
|
|
640
672
|
context: __SerdeContext
|
|
641
673
|
) => Promise<ListPortalsCommandOutput>;
|
|
674
|
+
export declare const de_ListSessionsCommand: (
|
|
675
|
+
output: __HttpResponse,
|
|
676
|
+
context: __SerdeContext
|
|
677
|
+
) => Promise<ListSessionsCommandOutput>;
|
|
642
678
|
export declare const de_ListTagsForResourceCommand: (
|
|
643
679
|
output: __HttpResponse,
|
|
644
680
|
context: __SerdeContext
|
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.
|
|
4
|
+
"version": "3.655.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",
|