@@ -16,6 +16,11 @@ import {
16
16
AssociateTrustStoreCommandInput ,
17
17
AssociateTrustStoreCommandOutput ,
18
18
} from "./commands/AssociateTrustStoreCommand" ;
19
+ import {
20
+ AssociateUserAccessLoggingSettingsCommand ,
21
+ AssociateUserAccessLoggingSettingsCommandInput ,
22
+ AssociateUserAccessLoggingSettingsCommandOutput ,
23
+ } from "./commands/AssociateUserAccessLoggingSettingsCommand" ;
19
24
import {
20
25
AssociateUserSettingsCommand ,
21
26
AssociateUserSettingsCommandInput ,
@@ -46,6 +51,11 @@ import {
46
51
CreateTrustStoreCommandInput ,
47
52
CreateTrustStoreCommandOutput ,
48
53
} from "./commands/CreateTrustStoreCommand" ;
54
+ import {
55
+ CreateUserAccessLoggingSettingsCommand ,
56
+ CreateUserAccessLoggingSettingsCommandInput ,
57
+ CreateUserAccessLoggingSettingsCommandOutput ,
58
+ } from "./commands/CreateUserAccessLoggingSettingsCommand" ;
49
59
import {
50
60
CreateUserSettingsCommand ,
51
61
CreateUserSettingsCommandInput ,
@@ -76,6 +86,11 @@ import {
76
86
DeleteTrustStoreCommandInput ,
77
87
DeleteTrustStoreCommandOutput ,
78
88
} from "./commands/DeleteTrustStoreCommand" ;
89
+ import {
90
+ DeleteUserAccessLoggingSettingsCommand ,
91
+ DeleteUserAccessLoggingSettingsCommandInput ,
92
+ DeleteUserAccessLoggingSettingsCommandOutput ,
93
+ } from "./commands/DeleteUserAccessLoggingSettingsCommand" ;
79
94
import {
80
95
DeleteUserSettingsCommand ,
81
96
DeleteUserSettingsCommandInput ,
@@ -96,6 +111,11 @@ import {
96
111
DisassociateTrustStoreCommandInput ,
97
112
DisassociateTrustStoreCommandOutput ,
98
113
} from "./commands/DisassociateTrustStoreCommand" ;
114
+ import {
115
+ DisassociateUserAccessLoggingSettingsCommand ,
116
+ DisassociateUserAccessLoggingSettingsCommandInput ,
117
+ DisassociateUserAccessLoggingSettingsCommandOutput ,
118
+ } from "./commands/DisassociateUserAccessLoggingSettingsCommand" ;
99
119
import {
100
120
DisassociateUserSettingsCommand ,
101
121
DisassociateUserSettingsCommandInput ,
@@ -132,6 +152,11 @@ import {
132
152
GetTrustStoreCommandInput ,
133
153
GetTrustStoreCommandOutput ,
134
154
} from "./commands/GetTrustStoreCommand" ;
155
+ import {
156
+ GetUserAccessLoggingSettingsCommand ,
157
+ GetUserAccessLoggingSettingsCommandInput ,
158
+ GetUserAccessLoggingSettingsCommandOutput ,
159
+ } from "./commands/GetUserAccessLoggingSettingsCommand" ;
135
160
import {
136
161
GetUserSettingsCommand ,
137
162
GetUserSettingsCommandInput ,
@@ -168,6 +193,11 @@ import {
168
193
ListTrustStoresCommandInput ,
169
194
ListTrustStoresCommandOutput ,
170
195
} from "./commands/ListTrustStoresCommand" ;
196
+ import {
197
+ ListUserAccessLoggingSettingsCommand ,
198
+ ListUserAccessLoggingSettingsCommandInput ,
199
+ ListUserAccessLoggingSettingsCommandOutput ,
200
+ } from "./commands/ListUserAccessLoggingSettingsCommand" ;
171
201
import {
172
202
ListUserSettingsCommand ,
173
203
ListUserSettingsCommandInput ,
@@ -204,6 +234,11 @@ import {
204
234
UpdateTrustStoreCommandInput ,
205
235
UpdateTrustStoreCommandOutput ,
206
236
} from "./commands/UpdateTrustStoreCommand" ;
237
+ import {
238
+ UpdateUserAccessLoggingSettingsCommand ,
239
+ UpdateUserAccessLoggingSettingsCommandInput ,
240
+ UpdateUserAccessLoggingSettingsCommandOutput ,
241
+ } from "./commands/UpdateUserAccessLoggingSettingsCommand" ;
207
242
import {
208
243
UpdateUserSettingsCommand ,
209
244
UpdateUserSettingsCommandInput ,
@@ -316,6 +351,38 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
316
351
}
317
352
}
318
353
354
+ /**
355
+ * <p>Associates a user access logging settings resource with a web portal.</p>
356
+ */
357
+ public associateUserAccessLoggingSettings (
358
+ args : AssociateUserAccessLoggingSettingsCommandInput ,
359
+ options ?: __HttpHandlerOptions
360
+ ) : Promise < AssociateUserAccessLoggingSettingsCommandOutput > ;
361
+ public associateUserAccessLoggingSettings (
362
+ args : AssociateUserAccessLoggingSettingsCommandInput ,
363
+ cb : ( err : any , data ?: AssociateUserAccessLoggingSettingsCommandOutput ) => void
364
+ ) : void ;
365
+ public associateUserAccessLoggingSettings (
366
+ args : AssociateUserAccessLoggingSettingsCommandInput ,
367
+ options : __HttpHandlerOptions ,
368
+ cb : ( err : any , data ?: AssociateUserAccessLoggingSettingsCommandOutput ) => void
369
+ ) : void ;
370
+ public associateUserAccessLoggingSettings (
371
+ args : AssociateUserAccessLoggingSettingsCommandInput ,
372
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: AssociateUserAccessLoggingSettingsCommandOutput ) => void ) ,
373
+ cb ?: ( err : any , data ?: AssociateUserAccessLoggingSettingsCommandOutput ) => void
374
+ ) : Promise < AssociateUserAccessLoggingSettingsCommandOutput > | void {
375
+ const command = new AssociateUserAccessLoggingSettingsCommand ( args ) ;
376
+ if ( typeof optionsOrCb === "function" ) {
377
+ this . send ( command , optionsOrCb ) ;
378
+ } else if ( typeof cb === "function" ) {
379
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
380
+ this . send ( command , optionsOrCb || { } , cb ) ;
381
+ } else {
382
+ return this . send ( command , optionsOrCb ) ;
383
+ }
384
+ }
385
+
319
386
/**
320
387
* <p>Associates a user settings resource with a web portal.</p>
321
388
*/
@@ -513,6 +580,38 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
513
580
}
514
581
}
515
582
583
+ /**
584
+ * <p>Creates a user access logging settings resource that can be associated with a web portal.</p>
585
+ */
586
+ public createUserAccessLoggingSettings (
587
+ args : CreateUserAccessLoggingSettingsCommandInput ,
588
+ options ?: __HttpHandlerOptions
589
+ ) : Promise < CreateUserAccessLoggingSettingsCommandOutput > ;
590
+ public createUserAccessLoggingSettings (
591
+ args : CreateUserAccessLoggingSettingsCommandInput ,
592
+ cb : ( err : any , data ?: CreateUserAccessLoggingSettingsCommandOutput ) => void
593
+ ) : void ;
594
+ public createUserAccessLoggingSettings (
595
+ args : CreateUserAccessLoggingSettingsCommandInput ,
596
+ options : __HttpHandlerOptions ,
597
+ cb : ( err : any , data ?: CreateUserAccessLoggingSettingsCommandOutput ) => void
598
+ ) : void ;
599
+ public createUserAccessLoggingSettings (
600
+ args : CreateUserAccessLoggingSettingsCommandInput ,
601
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: CreateUserAccessLoggingSettingsCommandOutput ) => void ) ,
602
+ cb ?: ( err : any , data ?: CreateUserAccessLoggingSettingsCommandOutput ) => void
603
+ ) : Promise < CreateUserAccessLoggingSettingsCommandOutput > | void {
604
+ const command = new CreateUserAccessLoggingSettingsCommand ( args ) ;
605
+ if ( typeof optionsOrCb === "function" ) {
606
+ this . send ( command , optionsOrCb ) ;
607
+ } else if ( typeof cb === "function" ) {
608
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
609
+ this . send ( command , optionsOrCb || { } , cb ) ;
610
+ } else {
611
+ return this . send ( command , optionsOrCb ) ;
612
+ }
613
+ }
614
+
516
615
/**
517
616
* <p>Creates a user settings resource that can be associated with a web portal. Once
518
617
* associated with a web portal, user settings control how users can transfer data between a
@@ -704,6 +803,38 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
704
803
}
705
804
}
706
805
806
+ /**
807
+ * <p>Deletes user access logging settings.</p>
808
+ */
809
+ public deleteUserAccessLoggingSettings (
810
+ args : DeleteUserAccessLoggingSettingsCommandInput ,
811
+ options ?: __HttpHandlerOptions
812
+ ) : Promise < DeleteUserAccessLoggingSettingsCommandOutput > ;
813
+ public deleteUserAccessLoggingSettings (
814
+ args : DeleteUserAccessLoggingSettingsCommandInput ,
815
+ cb : ( err : any , data ?: DeleteUserAccessLoggingSettingsCommandOutput ) => void
816
+ ) : void ;
817
+ public deleteUserAccessLoggingSettings (
818
+ args : DeleteUserAccessLoggingSettingsCommandInput ,
819
+ options : __HttpHandlerOptions ,
820
+ cb : ( err : any , data ?: DeleteUserAccessLoggingSettingsCommandOutput ) => void
821
+ ) : void ;
822
+ public deleteUserAccessLoggingSettings (
823
+ args : DeleteUserAccessLoggingSettingsCommandInput ,
824
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: DeleteUserAccessLoggingSettingsCommandOutput ) => void ) ,
825
+ cb ?: ( err : any , data ?: DeleteUserAccessLoggingSettingsCommandOutput ) => void
826
+ ) : Promise < DeleteUserAccessLoggingSettingsCommandOutput > | void {
827
+ const command = new DeleteUserAccessLoggingSettingsCommand ( args ) ;
828
+ if ( typeof optionsOrCb === "function" ) {
829
+ this . send ( command , optionsOrCb ) ;
830
+ } else if ( typeof cb === "function" ) {
831
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
832
+ this . send ( command , optionsOrCb || { } , cb ) ;
833
+ } else {
834
+ return this . send ( command , optionsOrCb ) ;
835
+ }
836
+ }
837
+
707
838
/**
708
839
* <p>Deletes user settings.</p>
709
840
*/
@@ -832,6 +963,40 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
832
963
}
833
964
}
834
965
966
+ /**
967
+ * <p>Disassociates user access logging settings from a web portal.</p>
968
+ */
969
+ public disassociateUserAccessLoggingSettings (
970
+ args : DisassociateUserAccessLoggingSettingsCommandInput ,
971
+ options ?: __HttpHandlerOptions
972
+ ) : Promise < DisassociateUserAccessLoggingSettingsCommandOutput > ;
973
+ public disassociateUserAccessLoggingSettings (
974
+ args : DisassociateUserAccessLoggingSettingsCommandInput ,
975
+ cb : ( err : any , data ?: DisassociateUserAccessLoggingSettingsCommandOutput ) => void
976
+ ) : void ;
977
+ public disassociateUserAccessLoggingSettings (
978
+ args : DisassociateUserAccessLoggingSettingsCommandInput ,
979
+ options : __HttpHandlerOptions ,
980
+ cb : ( err : any , data ?: DisassociateUserAccessLoggingSettingsCommandOutput ) => void
981
+ ) : void ;
982
+ public disassociateUserAccessLoggingSettings (
983
+ args : DisassociateUserAccessLoggingSettingsCommandInput ,
984
+ optionsOrCb ?:
985
+ | __HttpHandlerOptions
986
+ | ( ( err : any , data ?: DisassociateUserAccessLoggingSettingsCommandOutput ) => void ) ,
987
+ cb ?: ( err : any , data ?: DisassociateUserAccessLoggingSettingsCommandOutput ) => void
988
+ ) : Promise < DisassociateUserAccessLoggingSettingsCommandOutput > | void {
989
+ const command = new DisassociateUserAccessLoggingSettingsCommand ( args ) ;
990
+ if ( typeof optionsOrCb === "function" ) {
991
+ this . send ( command , optionsOrCb ) ;
992
+ } else if ( typeof cb === "function" ) {
993
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
994
+ this . send ( command , optionsOrCb || { } , cb ) ;
995
+ } else {
996
+ return this . send ( command , optionsOrCb ) ;
997
+ }
998
+ }
999
+
835
1000
/**
836
1001
* <p>Disassociates user settings from a web portal.</p>
837
1002
*/
@@ -1082,6 +1247,38 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
1082
1247
}
1083
1248
}
1084
1249
1250
+ /**
1251
+ * <p>Gets user access logging settings.</p>
1252
+ */
1253
+ public getUserAccessLoggingSettings (
1254
+ args : GetUserAccessLoggingSettingsCommandInput ,
1255
+ options ?: __HttpHandlerOptions
1256
+ ) : Promise < GetUserAccessLoggingSettingsCommandOutput > ;
1257
+ public getUserAccessLoggingSettings (
1258
+ args : GetUserAccessLoggingSettingsCommandInput ,
1259
+ cb : ( err : any , data ?: GetUserAccessLoggingSettingsCommandOutput ) => void
1260
+ ) : void ;
1261
+ public getUserAccessLoggingSettings (
1262
+ args : GetUserAccessLoggingSettingsCommandInput ,
1263
+ options : __HttpHandlerOptions ,
1264
+ cb : ( err : any , data ?: GetUserAccessLoggingSettingsCommandOutput ) => void
1265
+ ) : void ;
1266
+ public getUserAccessLoggingSettings (
1267
+ args : GetUserAccessLoggingSettingsCommandInput ,
1268
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: GetUserAccessLoggingSettingsCommandOutput ) => void ) ,
1269
+ cb ?: ( err : any , data ?: GetUserAccessLoggingSettingsCommandOutput ) => void
1270
+ ) : Promise < GetUserAccessLoggingSettingsCommandOutput > | void {
1271
+ const command = new GetUserAccessLoggingSettingsCommand ( args ) ;
1272
+ if ( typeof optionsOrCb === "function" ) {
1273
+ this . send ( command , optionsOrCb ) ;
1274
+ } else if ( typeof cb === "function" ) {
1275
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1276
+ this . send ( command , optionsOrCb || { } , cb ) ;
1277
+ } else {
1278
+ return this . send ( command , optionsOrCb ) ;
1279
+ }
1280
+ }
1281
+
1085
1282
/**
1086
1283
* <p>Gets user settings.</p>
1087
1284
*/
@@ -1332,6 +1529,38 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
1332
1529
}
1333
1530
}
1334
1531
1532
+ /**
1533
+ * <p>Retrieves a list of user access logging settings.</p>
1534
+ */
1535
+ public listUserAccessLoggingSettings (
1536
+ args : ListUserAccessLoggingSettingsCommandInput ,
1537
+ options ?: __HttpHandlerOptions
1538
+ ) : Promise < ListUserAccessLoggingSettingsCommandOutput > ;
1539
+ public listUserAccessLoggingSettings (
1540
+ args : ListUserAccessLoggingSettingsCommandInput ,
1541
+ cb : ( err : any , data ?: ListUserAccessLoggingSettingsCommandOutput ) => void
1542
+ ) : void ;
1543
+ public listUserAccessLoggingSettings (
1544
+ args : ListUserAccessLoggingSettingsCommandInput ,
1545
+ options : __HttpHandlerOptions ,
1546
+ cb : ( err : any , data ?: ListUserAccessLoggingSettingsCommandOutput ) => void
1547
+ ) : void ;
1548
+ public listUserAccessLoggingSettings (
1549
+ args : ListUserAccessLoggingSettingsCommandInput ,
1550
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: ListUserAccessLoggingSettingsCommandOutput ) => void ) ,
1551
+ cb ?: ( err : any , data ?: ListUserAccessLoggingSettingsCommandOutput ) => void
1552
+ ) : Promise < ListUserAccessLoggingSettingsCommandOutput > | void {
1553
+ const command = new ListUserAccessLoggingSettingsCommand ( args ) ;
1554
+ if ( typeof optionsOrCb === "function" ) {
1555
+ this . send ( command , optionsOrCb ) ;
1556
+ } else if ( typeof cb === "function" ) {
1557
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1558
+ this . send ( command , optionsOrCb || { } , cb ) ;
1559
+ } else {
1560
+ return this . send ( command , optionsOrCb ) ;
1561
+ }
1562
+ }
1563
+
1335
1564
/**
1336
1565
* <p>Retrieves a list of user settings.</p>
1337
1566
*/
@@ -1579,6 +1808,38 @@ export class WorkSpacesWeb extends WorkSpacesWebClient {
1579
1808
}
1580
1809
}
1581
1810
1811
+ /**
1812
+ * <p>Updates the user access logging settings.</p>
1813
+ */
1814
+ public updateUserAccessLoggingSettings (
1815
+ args : UpdateUserAccessLoggingSettingsCommandInput ,
1816
+ options ?: __HttpHandlerOptions
1817
+ ) : Promise < UpdateUserAccessLoggingSettingsCommandOutput > ;
1818
+ public updateUserAccessLoggingSettings (
1819
+ args : UpdateUserAccessLoggingSettingsCommandInput ,
1820
+ cb : ( err : any , data ?: UpdateUserAccessLoggingSettingsCommandOutput ) => void
1821
+ ) : void ;
1822
+ public updateUserAccessLoggingSettings (
1823
+ args : UpdateUserAccessLoggingSettingsCommandInput ,
1824
+ options : __HttpHandlerOptions ,
1825
+ cb : ( err : any , data ?: UpdateUserAccessLoggingSettingsCommandOutput ) => void
1826
+ ) : void ;
1827
+ public updateUserAccessLoggingSettings (
1828
+ args : UpdateUserAccessLoggingSettingsCommandInput ,
1829
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: UpdateUserAccessLoggingSettingsCommandOutput ) => void ) ,
1830
+ cb ?: ( err : any , data ?: UpdateUserAccessLoggingSettingsCommandOutput ) => void
1831
+ ) : Promise < UpdateUserAccessLoggingSettingsCommandOutput > | void {
1832
+ const command = new UpdateUserAccessLoggingSettingsCommand ( args ) ;
1833
+ if ( typeof optionsOrCb === "function" ) {
1834
+ this . send ( command , optionsOrCb ) ;
1835
+ } else if ( typeof cb === "function" ) {
1836
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1837
+ this . send ( command , optionsOrCb || { } , cb ) ;
1838
+ } else {
1839
+ return this . send ( command , optionsOrCb ) ;
1840
+ }
1841
+ }
1842
+
1582
1843
/**
1583
1844
* <p>Updates the user settings.</p>
1584
1845
*/
0 commit comments