@aws-sdk/client-workspaces-web 3.929.0 → 3.931.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 +56 -17
- package/dist-es/models/models_0.js +30 -10
- package/dist-es/schemas/schemas_0.js +26 -7
- package/dist-types/WorkSpacesWeb.d.ts +1 -0
- package/dist-types/commands/CreateBrowserSettingsCommand.d.ts +13 -2
- package/dist-types/commands/CreateSessionLoggerCommand.d.ts +1 -1
- package/dist-types/commands/GetBrowserSettingsCommand.d.ts +11 -0
- package/dist-types/commands/GetSessionLoggerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBrowserSettingsCommand.d.ts +22 -0
- package/dist-types/commands/UpdateSessionLoggerCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +79 -2
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/WorkSpacesWeb.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateBrowserSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +40 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +33 -33
package/dist-cjs/index.js
CHANGED
|
@@ -219,6 +219,35 @@ const AuthenticationType = {
|
|
|
219
219
|
IAM_IDENTITY_CENTER: "IAM_Identity_Center",
|
|
220
220
|
STANDARD: "Standard",
|
|
221
221
|
};
|
|
222
|
+
const Category = {
|
|
223
|
+
CHAT: "Chat",
|
|
224
|
+
CRIMINAL_ACTIVITY: "CriminalActivity",
|
|
225
|
+
CULTS: "Cults",
|
|
226
|
+
DOWNLOAD_SITES: "DownloadSites",
|
|
227
|
+
GAMBLING: "Gambling",
|
|
228
|
+
GAMES: "Games",
|
|
229
|
+
GENERATIVE_AI: "GenerativeAI",
|
|
230
|
+
HACKING: "Hacking",
|
|
231
|
+
HATE_AND_INTOLERANCE: "HateAndIntolerance",
|
|
232
|
+
ILLEGAL_DRUG: "IllegalDrug",
|
|
233
|
+
ILLEGAL_SOFTWARE: "IllegalSoftware",
|
|
234
|
+
IMAGE_SHARING: "ImageSharing",
|
|
235
|
+
INSTANT_MESSAGING: "InstantMessaging",
|
|
236
|
+
NUDITY: "Nudity",
|
|
237
|
+
PARKED_DOMAINS: "ParkedDomains",
|
|
238
|
+
PEER_TO_PEER: "PeerToPeer",
|
|
239
|
+
PORNOGRAPHY: "Pornography",
|
|
240
|
+
PROFESSIONAL_NETWORK: "ProfessionalNetwork",
|
|
241
|
+
SCHOOL_CHEATING: "SchoolCheating",
|
|
242
|
+
SELF_HARM: "SelfHarm",
|
|
243
|
+
SEX_EDUCATION: "SexEducation",
|
|
244
|
+
SOCIAL_NETWORKING: "SocialNetworking",
|
|
245
|
+
STREAMING_MEDIA_AND_DOWNLOADS: "StreamingMediaAndDownloads",
|
|
246
|
+
TASTELESS: "Tasteless",
|
|
247
|
+
VIOLENCE: "Violence",
|
|
248
|
+
WEAPONS: "Weapons",
|
|
249
|
+
WEB_BASED_EMAIL: "WebBasedEmail",
|
|
250
|
+
};
|
|
222
251
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends WorkSpacesWebServiceException$1 {
|
|
223
252
|
name = "ServiceQuotaExceededException";
|
|
224
253
|
$fault = "client";
|
|
@@ -289,19 +318,10 @@ const Event = {
|
|
|
289
318
|
SESSION_START: "SessionStart",
|
|
290
319
|
TAB_CLOSE: "TabClose",
|
|
291
320
|
TAB_OPEN: "TabOpen",
|
|
321
|
+
URL_BLOCK_BY_CONTENT_FILTER: "UrlBlockByContentFilter",
|
|
292
322
|
URL_LOAD: "UrlLoad",
|
|
293
323
|
WEBSITE_INTERACT: "WebsiteInteract",
|
|
294
324
|
};
|
|
295
|
-
exports.EventFilter = void 0;
|
|
296
|
-
(function (EventFilter) {
|
|
297
|
-
EventFilter.visit = (value, visitor) => {
|
|
298
|
-
if (value.all !== undefined)
|
|
299
|
-
return visitor.all(value.all);
|
|
300
|
-
if (value.include !== undefined)
|
|
301
|
-
return visitor.include(value.include);
|
|
302
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
303
|
-
};
|
|
304
|
-
})(exports.EventFilter || (exports.EventFilter = {}));
|
|
305
325
|
const FolderStructure = {
|
|
306
326
|
FLAT: "Flat",
|
|
307
327
|
NESTED_BY_DATE: "NestedByDate",
|
|
@@ -645,9 +665,11 @@ const _UIPRp = "UpdateIdentityProviderResponse";
|
|
|
645
665
|
const _UNS = "UpdateNetworkSettings";
|
|
646
666
|
const _UNSR = "UpdateNetworkSettingsRequest";
|
|
647
667
|
const _UNSRp = "UpdateNetworkSettingsResponse";
|
|
648
|
-
const _UP = "
|
|
668
|
+
const _UP = "UrlPattern";
|
|
669
|
+
const _UPL = "UrlPatternList";
|
|
649
670
|
const _UPR = "UpdatePortalRequest";
|
|
650
671
|
const _UPRp = "UpdatePortalResponse";
|
|
672
|
+
const _UPp = "UpdatePortal";
|
|
651
673
|
const _UR = "UntagResource";
|
|
652
674
|
const _URR = "UntagResourceRequest";
|
|
653
675
|
const _URRn = "UntagResourceResponse";
|
|
@@ -670,18 +692,22 @@ const _V = "Value";
|
|
|
670
692
|
const _VE = "ValidationException";
|
|
671
693
|
const _VEF = "ValidationExceptionField";
|
|
672
694
|
const _VEFL = "ValidationExceptionFieldList";
|
|
695
|
+
const _WCFP = "WebContentFilteringPolicy";
|
|
673
696
|
const _a = "allowlist";
|
|
674
697
|
const _aEC = "additionalEncryptionContext";
|
|
675
698
|
const _aPA = "associatedPortalArns";
|
|
676
699
|
const _aT = "authenticationType";
|
|
700
|
+
const _aU = "allowedUrls";
|
|
677
701
|
const _al = "all";
|
|
678
702
|
const _b = "body";
|
|
703
|
+
const _bC = "blockedCategories";
|
|
679
704
|
const _bIPI = "builtInPatternId";
|
|
680
705
|
const _bO = "bucketOwner";
|
|
681
706
|
const _bP = "browserPolicy";
|
|
682
707
|
const _bS = "browserSettings";
|
|
683
708
|
const _bSA = "browserSettingsArn";
|
|
684
709
|
const _bT = "browserType";
|
|
710
|
+
const _bU = "blockedUrls";
|
|
685
711
|
const _bl = "blocklist";
|
|
686
712
|
const _bu = "bucket";
|
|
687
713
|
const _c = "client";
|
|
@@ -808,6 +834,7 @@ const _uS = "userSettings";
|
|
|
808
834
|
const _uSA = "userSettingsArn";
|
|
809
835
|
const _vI = "vpcId";
|
|
810
836
|
const _vM = "visualMode";
|
|
837
|
+
const _wCFP = "webContentFilteringPolicy";
|
|
811
838
|
const n0 = "com.amazonaws.workspacesweb";
|
|
812
839
|
var BrowserPolicy = [0, n0, _BP, 8, 0];
|
|
813
840
|
var BuiltInPatternId = [0, n0, _BIPI, 8, 0];
|
|
@@ -829,6 +856,7 @@ var S3Bucket = [0, n0, _SB, 8, 0];
|
|
|
829
856
|
var S3KeyPrefix = [0, n0, _SKP, 8, 0];
|
|
830
857
|
var TagKey = [0, n0, _TK, 8, 0];
|
|
831
858
|
var TagValue = [0, n0, _TV, 8, 0];
|
|
859
|
+
var UrlPattern = [0, n0, _UP, 8, 0];
|
|
832
860
|
var Username = [0, n0, _U, 8, 0];
|
|
833
861
|
var AccessDeniedException = [
|
|
834
862
|
-3,
|
|
@@ -990,8 +1018,8 @@ var BrowserSettings = [
|
|
|
990
1018
|
n0,
|
|
991
1019
|
_BS,
|
|
992
1020
|
0,
|
|
993
|
-
[_bSA, _aPA, _bP, _cMK, _aEC],
|
|
994
|
-
[0, 64 | 0, [() => BrowserPolicy, 0], 0, 128 | 0],
|
|
1021
|
+
[_bSA, _aPA, _bP, _cMK, _aEC, _wCFP],
|
|
1022
|
+
[0, 64 | 0, [() => BrowserPolicy, 0], 0, 128 | 0, [() => WebContentFilteringPolicy, 0]],
|
|
995
1023
|
];
|
|
996
1024
|
var BrowserSettingsSummary = [3, n0, _BSS, 0, [_bSA], [0]];
|
|
997
1025
|
var Certificate = [3, n0, _C, 0, [_t, _s, _i, _nVB, _nVA, _b], [0, 0, 0, 4, 4, 21]];
|
|
@@ -1036,8 +1064,8 @@ var CreateBrowserSettingsRequest = [
|
|
|
1036
1064
|
n0,
|
|
1037
1065
|
_CBSR,
|
|
1038
1066
|
0,
|
|
1039
|
-
[_ta, _cMK, _aEC, _bP, _cT],
|
|
1040
|
-
[[() => TagList, 0], 0, 128 | 0, [() => BrowserPolicy, 0], [0, 4]],
|
|
1067
|
+
[_ta, _cMK, _aEC, _bP, _cT, _wCFP],
|
|
1068
|
+
[[() => TagList, 0], 0, 128 | 0, [() => BrowserPolicy, 0], [0, 4], [() => WebContentFilteringPolicy, 0]],
|
|
1041
1069
|
];
|
|
1042
1070
|
var CreateBrowserSettingsResponse = [3, n0, _CBSRr, 0, [_bSA], [0]];
|
|
1043
1071
|
var CreateDataProtectionSettingsRequest = [
|
|
@@ -1975,11 +2003,12 @@ var UpdateBrowserSettingsRequest = [
|
|
|
1975
2003
|
n0,
|
|
1976
2004
|
_UBSR,
|
|
1977
2005
|
0,
|
|
1978
|
-
[_bSA, _bP, _cT],
|
|
2006
|
+
[_bSA, _bP, _cT, _wCFP],
|
|
1979
2007
|
[
|
|
1980
2008
|
[0, 1],
|
|
1981
2009
|
[() => BrowserPolicy, 0],
|
|
1982
2010
|
[0, 4],
|
|
2011
|
+
[() => WebContentFilteringPolicy, 0],
|
|
1983
2012
|
],
|
|
1984
2013
|
];
|
|
1985
2014
|
var UpdateBrowserSettingsResponse = [
|
|
@@ -2157,6 +2186,14 @@ var ValidationException = [
|
|
|
2157
2186
|
];
|
|
2158
2187
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
2159
2188
|
var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
2189
|
+
var WebContentFilteringPolicy = [
|
|
2190
|
+
3,
|
|
2191
|
+
n0,
|
|
2192
|
+
_WCFP,
|
|
2193
|
+
0,
|
|
2194
|
+
[_bC, _aU, _bU],
|
|
2195
|
+
[64 | 0, [() => UrlPatternList, 0], [() => UrlPatternList, 0]],
|
|
2196
|
+
];
|
|
2160
2197
|
var __Unit = "unit";
|
|
2161
2198
|
var WorkSpacesWebServiceException = [-3, _sm, "WorkSpacesWebServiceException", 0, [], []];
|
|
2162
2199
|
schema.TypeRegistry.for(_sm).registerError(WorkSpacesWebServiceException, WorkSpacesWebServiceException$1);
|
|
@@ -2178,6 +2215,7 @@ var SessionSummaryList = [1, n0, _SSL, 0, [() => SessionSummary, 0]];
|
|
|
2178
2215
|
var TagKeyList = [1, n0, _TKL, 0, [() => TagKey, 0]];
|
|
2179
2216
|
var TagList = [1, n0, _TL, 0, [() => Tag, 0]];
|
|
2180
2217
|
var TrustStoreSummaryList = [1, n0, _TSSL, 0, () => TrustStoreSummary];
|
|
2218
|
+
var UrlPatternList = [1, n0, _UPL, 0, [() => UrlPattern, 0]];
|
|
2181
2219
|
var UserAccessLoggingSettingsList = [1, n0, _UALSL, 0, () => UserAccessLoggingSettingsSummary];
|
|
2182
2220
|
var UserSettingsList = [1, n0, _USL, 0, [() => UserSettingsSummary, 0]];
|
|
2183
2221
|
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
@@ -2886,7 +2924,7 @@ var UpdateNetworkSettings = [
|
|
|
2886
2924
|
var UpdatePortal = [
|
|
2887
2925
|
9,
|
|
2888
2926
|
n0,
|
|
2889
|
-
|
|
2927
|
+
_UPp,
|
|
2890
2928
|
{
|
|
2891
2929
|
[_h]: ["PUT", "/portals/{portalArn+}", 200],
|
|
2892
2930
|
},
|
|
@@ -3958,6 +3996,7 @@ exports.AssociateUserAccessLoggingSettingsCommand = AssociateUserAccessLoggingSe
|
|
|
3958
3996
|
exports.AssociateUserSettingsCommand = AssociateUserSettingsCommand;
|
|
3959
3997
|
exports.AuthenticationType = AuthenticationType;
|
|
3960
3998
|
exports.BrowserType = BrowserType;
|
|
3999
|
+
exports.Category = Category;
|
|
3961
4000
|
exports.ConflictException = ConflictException$1;
|
|
3962
4001
|
exports.CreateBrowserSettingsCommand = CreateBrowserSettingsCommand;
|
|
3963
4002
|
exports.CreateDataProtectionSettingsCommand = CreateDataProtectionSettingsCommand;
|
|
@@ -101,6 +101,35 @@ export const AuthenticationType = {
|
|
|
101
101
|
IAM_IDENTITY_CENTER: "IAM_Identity_Center",
|
|
102
102
|
STANDARD: "Standard",
|
|
103
103
|
};
|
|
104
|
+
export const Category = {
|
|
105
|
+
CHAT: "Chat",
|
|
106
|
+
CRIMINAL_ACTIVITY: "CriminalActivity",
|
|
107
|
+
CULTS: "Cults",
|
|
108
|
+
DOWNLOAD_SITES: "DownloadSites",
|
|
109
|
+
GAMBLING: "Gambling",
|
|
110
|
+
GAMES: "Games",
|
|
111
|
+
GENERATIVE_AI: "GenerativeAI",
|
|
112
|
+
HACKING: "Hacking",
|
|
113
|
+
HATE_AND_INTOLERANCE: "HateAndIntolerance",
|
|
114
|
+
ILLEGAL_DRUG: "IllegalDrug",
|
|
115
|
+
ILLEGAL_SOFTWARE: "IllegalSoftware",
|
|
116
|
+
IMAGE_SHARING: "ImageSharing",
|
|
117
|
+
INSTANT_MESSAGING: "InstantMessaging",
|
|
118
|
+
NUDITY: "Nudity",
|
|
119
|
+
PARKED_DOMAINS: "ParkedDomains",
|
|
120
|
+
PEER_TO_PEER: "PeerToPeer",
|
|
121
|
+
PORNOGRAPHY: "Pornography",
|
|
122
|
+
PROFESSIONAL_NETWORK: "ProfessionalNetwork",
|
|
123
|
+
SCHOOL_CHEATING: "SchoolCheating",
|
|
124
|
+
SELF_HARM: "SelfHarm",
|
|
125
|
+
SEX_EDUCATION: "SexEducation",
|
|
126
|
+
SOCIAL_NETWORKING: "SocialNetworking",
|
|
127
|
+
STREAMING_MEDIA_AND_DOWNLOADS: "StreamingMediaAndDownloads",
|
|
128
|
+
TASTELESS: "Tasteless",
|
|
129
|
+
VIOLENCE: "Violence",
|
|
130
|
+
WEAPONS: "Weapons",
|
|
131
|
+
WEB_BASED_EMAIL: "WebBasedEmail",
|
|
132
|
+
};
|
|
104
133
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
105
134
|
name = "ServiceQuotaExceededException";
|
|
106
135
|
$fault = "client";
|
|
@@ -171,19 +200,10 @@ export const Event = {
|
|
|
171
200
|
SESSION_START: "SessionStart",
|
|
172
201
|
TAB_CLOSE: "TabClose",
|
|
173
202
|
TAB_OPEN: "TabOpen",
|
|
203
|
+
URL_BLOCK_BY_CONTENT_FILTER: "UrlBlockByContentFilter",
|
|
174
204
|
URL_LOAD: "UrlLoad",
|
|
175
205
|
WEBSITE_INTERACT: "WebsiteInteract",
|
|
176
206
|
};
|
|
177
|
-
export var EventFilter;
|
|
178
|
-
(function (EventFilter) {
|
|
179
|
-
EventFilter.visit = (value, visitor) => {
|
|
180
|
-
if (value.all !== undefined)
|
|
181
|
-
return visitor.all(value.all);
|
|
182
|
-
if (value.include !== undefined)
|
|
183
|
-
return visitor.include(value.include);
|
|
184
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
185
|
-
};
|
|
186
|
-
})(EventFilter || (EventFilter = {}));
|
|
187
207
|
export const FolderStructure = {
|
|
188
208
|
FLAT: "Flat",
|
|
189
209
|
NESTED_BY_DATE: "NestedByDate",
|
|
@@ -289,9 +289,11 @@ const _UIPRp = "UpdateIdentityProviderResponse";
|
|
|
289
289
|
const _UNS = "UpdateNetworkSettings";
|
|
290
290
|
const _UNSR = "UpdateNetworkSettingsRequest";
|
|
291
291
|
const _UNSRp = "UpdateNetworkSettingsResponse";
|
|
292
|
-
const _UP = "
|
|
292
|
+
const _UP = "UrlPattern";
|
|
293
|
+
const _UPL = "UrlPatternList";
|
|
293
294
|
const _UPR = "UpdatePortalRequest";
|
|
294
295
|
const _UPRp = "UpdatePortalResponse";
|
|
296
|
+
const _UPp = "UpdatePortal";
|
|
295
297
|
const _UR = "UntagResource";
|
|
296
298
|
const _URR = "UntagResourceRequest";
|
|
297
299
|
const _URRn = "UntagResourceResponse";
|
|
@@ -314,18 +316,22 @@ const _V = "Value";
|
|
|
314
316
|
const _VE = "ValidationException";
|
|
315
317
|
const _VEF = "ValidationExceptionField";
|
|
316
318
|
const _VEFL = "ValidationExceptionFieldList";
|
|
319
|
+
const _WCFP = "WebContentFilteringPolicy";
|
|
317
320
|
const _a = "allowlist";
|
|
318
321
|
const _aEC = "additionalEncryptionContext";
|
|
319
322
|
const _aPA = "associatedPortalArns";
|
|
320
323
|
const _aT = "authenticationType";
|
|
324
|
+
const _aU = "allowedUrls";
|
|
321
325
|
const _al = "all";
|
|
322
326
|
const _b = "body";
|
|
327
|
+
const _bC = "blockedCategories";
|
|
323
328
|
const _bIPI = "builtInPatternId";
|
|
324
329
|
const _bO = "bucketOwner";
|
|
325
330
|
const _bP = "browserPolicy";
|
|
326
331
|
const _bS = "browserSettings";
|
|
327
332
|
const _bSA = "browserSettingsArn";
|
|
328
333
|
const _bT = "browserType";
|
|
334
|
+
const _bU = "blockedUrls";
|
|
329
335
|
const _bl = "blocklist";
|
|
330
336
|
const _bu = "bucket";
|
|
331
337
|
const _c = "client";
|
|
@@ -452,6 +458,7 @@ const _uS = "userSettings";
|
|
|
452
458
|
const _uSA = "userSettingsArn";
|
|
453
459
|
const _vI = "vpcId";
|
|
454
460
|
const _vM = "visualMode";
|
|
461
|
+
const _wCFP = "webContentFilteringPolicy";
|
|
455
462
|
const n0 = "com.amazonaws.workspacesweb";
|
|
456
463
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
457
464
|
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/index";
|
|
@@ -476,6 +483,7 @@ export var S3Bucket = [0, n0, _SB, 8, 0];
|
|
|
476
483
|
export var S3KeyPrefix = [0, n0, _SKP, 8, 0];
|
|
477
484
|
export var TagKey = [0, n0, _TK, 8, 0];
|
|
478
485
|
export var TagValue = [0, n0, _TV, 8, 0];
|
|
486
|
+
export var UrlPattern = [0, n0, _UP, 8, 0];
|
|
479
487
|
export var Username = [0, n0, _U, 8, 0];
|
|
480
488
|
export var AccessDeniedException = [
|
|
481
489
|
-3,
|
|
@@ -637,8 +645,8 @@ export var BrowserSettings = [
|
|
|
637
645
|
n0,
|
|
638
646
|
_BS,
|
|
639
647
|
0,
|
|
640
|
-
[_bSA, _aPA, _bP, _cMK, _aEC],
|
|
641
|
-
[0, 64 | 0, [() => BrowserPolicy, 0], 0, 128 | 0],
|
|
648
|
+
[_bSA, _aPA, _bP, _cMK, _aEC, _wCFP],
|
|
649
|
+
[0, 64 | 0, [() => BrowserPolicy, 0], 0, 128 | 0, [() => WebContentFilteringPolicy, 0]],
|
|
642
650
|
];
|
|
643
651
|
export var BrowserSettingsSummary = [3, n0, _BSS, 0, [_bSA], [0]];
|
|
644
652
|
export var Certificate = [3, n0, _C, 0, [_t, _s, _i, _nVB, _nVA, _b], [0, 0, 0, 4, 4, 21]];
|
|
@@ -683,8 +691,8 @@ export var CreateBrowserSettingsRequest = [
|
|
|
683
691
|
n0,
|
|
684
692
|
_CBSR,
|
|
685
693
|
0,
|
|
686
|
-
[_ta, _cMK, _aEC, _bP, _cT],
|
|
687
|
-
[[() => TagList, 0], 0, 128 | 0, [() => BrowserPolicy, 0], [0, 4]],
|
|
694
|
+
[_ta, _cMK, _aEC, _bP, _cT, _wCFP],
|
|
695
|
+
[[() => TagList, 0], 0, 128 | 0, [() => BrowserPolicy, 0], [0, 4], [() => WebContentFilteringPolicy, 0]],
|
|
688
696
|
];
|
|
689
697
|
export var CreateBrowserSettingsResponse = [3, n0, _CBSRr, 0, [_bSA], [0]];
|
|
690
698
|
export var CreateDataProtectionSettingsRequest = [
|
|
@@ -1622,11 +1630,12 @@ export var UpdateBrowserSettingsRequest = [
|
|
|
1622
1630
|
n0,
|
|
1623
1631
|
_UBSR,
|
|
1624
1632
|
0,
|
|
1625
|
-
[_bSA, _bP, _cT],
|
|
1633
|
+
[_bSA, _bP, _cT, _wCFP],
|
|
1626
1634
|
[
|
|
1627
1635
|
[0, 1],
|
|
1628
1636
|
[() => BrowserPolicy, 0],
|
|
1629
1637
|
[0, 4],
|
|
1638
|
+
[() => WebContentFilteringPolicy, 0],
|
|
1630
1639
|
],
|
|
1631
1640
|
];
|
|
1632
1641
|
export var UpdateBrowserSettingsResponse = [
|
|
@@ -1804,10 +1813,19 @@ export var ValidationException = [
|
|
|
1804
1813
|
];
|
|
1805
1814
|
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
1806
1815
|
export var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
1816
|
+
export var WebContentFilteringPolicy = [
|
|
1817
|
+
3,
|
|
1818
|
+
n0,
|
|
1819
|
+
_WCFP,
|
|
1820
|
+
0,
|
|
1821
|
+
[_bC, _aU, _bU],
|
|
1822
|
+
[64 | 0, [() => UrlPatternList, 0], [() => UrlPatternList, 0]],
|
|
1823
|
+
];
|
|
1807
1824
|
export var __Unit = "unit";
|
|
1808
1825
|
export var WorkSpacesWebServiceException = [-3, _sm, "WorkSpacesWebServiceException", 0, [], []];
|
|
1809
1826
|
TypeRegistry.for(_sm).registerError(WorkSpacesWebServiceException, __WorkSpacesWebServiceException);
|
|
1810
1827
|
export var ArnList = 64 | 0;
|
|
1828
|
+
export var BlockedCategories = 64 | 0;
|
|
1811
1829
|
export var BrowserSettingsList = [1, n0, _BSL, 0, () => BrowserSettingsSummary];
|
|
1812
1830
|
export var CertificateList = 64 | 21;
|
|
1813
1831
|
export var CertificateSummaryList = [1, n0, _CSL, 0, () => CertificateSummary];
|
|
@@ -1832,6 +1850,7 @@ export var SubnetIdList = 64 | 0;
|
|
|
1832
1850
|
export var TagKeyList = [1, n0, _TKL, 0, [() => TagKey, 0]];
|
|
1833
1851
|
export var TagList = [1, n0, _TL, 0, [() => Tag, 0]];
|
|
1834
1852
|
export var TrustStoreSummaryList = [1, n0, _TSSL, 0, () => TrustStoreSummary];
|
|
1853
|
+
export var UrlPatternList = [1, n0, _UPL, 0, [() => UrlPattern, 0]];
|
|
1835
1854
|
export var UserAccessLoggingSettingsList = [1, n0, _UALSL, 0, () => UserAccessLoggingSettingsSummary];
|
|
1836
1855
|
export var UserSettingsList = [1, n0, _USL, 0, [() => UserSettingsSummary, 0]];
|
|
1837
1856
|
export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
@@ -2541,7 +2560,7 @@ export var UpdateNetworkSettings = [
|
|
|
2541
2560
|
export var UpdatePortal = [
|
|
2542
2561
|
9,
|
|
2543
2562
|
n0,
|
|
2544
|
-
|
|
2563
|
+
_UPp,
|
|
2545
2564
|
{
|
|
2546
2565
|
[_h]: ["PUT", "/portals/{portalArn+}", 200],
|
|
2547
2566
|
},
|
|
@@ -127,6 +127,7 @@ export interface WorkSpacesWeb {
|
|
|
127
127
|
/**
|
|
128
128
|
* @see {@link CreateBrowserSettingsCommand}
|
|
129
129
|
*/
|
|
130
|
+
createBrowserSettings(): Promise<CreateBrowserSettingsCommandOutput>;
|
|
130
131
|
createBrowserSettings(args: CreateBrowserSettingsCommandInput, options?: __HttpHandlerOptions): Promise<CreateBrowserSettingsCommandOutput>;
|
|
131
132
|
createBrowserSettings(args: CreateBrowserSettingsCommandInput, cb: (err: any, data?: CreateBrowserSettingsCommandOutput) => void): void;
|
|
132
133
|
createBrowserSettings(args: CreateBrowserSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBrowserSettingsCommandOutput) => void): void;
|
|
@@ -23,7 +23,7 @@ export interface CreateBrowserSettingsCommandOutput extends CreateBrowserSetting
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateBrowserSettingsCommand_base: {
|
|
25
25
|
new (input: CreateBrowserSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBrowserSettingsCommandInput, CreateBrowserSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateBrowserSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBrowserSettingsCommandInput, CreateBrowserSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [CreateBrowserSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateBrowserSettingsCommandInput, CreateBrowserSettingsCommandOutput, WorkSpacesWebClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -49,8 +49,19 @@ declare const CreateBrowserSettingsCommand_base: {
|
|
|
49
49
|
* additionalEncryptionContext: { // EncryptionContextMap
|
|
50
50
|
* "<keys>": "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
|
-
* browserPolicy: "STRING_VALUE",
|
|
52
|
+
* browserPolicy: "STRING_VALUE",
|
|
53
53
|
* clientToken: "STRING_VALUE",
|
|
54
|
+
* webContentFilteringPolicy: { // WebContentFilteringPolicy
|
|
55
|
+
* blockedCategories: [ // BlockedCategories
|
|
56
|
+
* "Cults" || "Gambling" || "Nudity" || "Pornography" || "SexEducation" || "Tasteless" || "Violence" || "DownloadSites" || "ImageSharing" || "PeerToPeer" || "StreamingMediaAndDownloads" || "GenerativeAI" || "CriminalActivity" || "Hacking" || "HateAndIntolerance" || "IllegalDrug" || "IllegalSoftware" || "SchoolCheating" || "SelfHarm" || "Weapons" || "Chat" || "Games" || "InstantMessaging" || "ProfessionalNetwork" || "SocialNetworking" || "WebBasedEmail" || "ParkedDomains",
|
|
57
|
+
* ],
|
|
58
|
+
* allowedUrls: [ // UrlPatternList
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* blockedUrls: [
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
54
65
|
* };
|
|
55
66
|
* const command = new CreateBrowserSettingsCommand(input);
|
|
56
67
|
* const response = await client.send(command);
|
|
@@ -40,7 +40,7 @@ declare const CreateSessionLoggerCommand_base: {
|
|
|
40
40
|
* eventFilter: { // EventFilter Union: only one key present
|
|
41
41
|
* all: {},
|
|
42
42
|
* include: [ // Events
|
|
43
|
-
* "WebsiteInteract" || "FileDownloadFromSecureBrowserToRemoteDisk" || "FileTransferFromRemoteToLocalDisk" || "FileTransferFromLocalToRemoteDisk" || "FileUploadFromRemoteDiskToSecureBrowser" || "ContentPasteToWebsite" || "ContentTransferFromLocalToRemoteClipboard" || "ContentCopyFromWebsite" || "UrlLoad" || "TabOpen" || "TabClose" || "PrintJobSubmit" || "SessionConnect" || "SessionStart" || "SessionDisconnect" || "SessionEnd",
|
|
43
|
+
* "WebsiteInteract" || "FileDownloadFromSecureBrowserToRemoteDisk" || "FileTransferFromRemoteToLocalDisk" || "FileTransferFromLocalToRemoteDisk" || "FileUploadFromRemoteDiskToSecureBrowser" || "ContentPasteToWebsite" || "ContentTransferFromLocalToRemoteClipboard" || "ContentCopyFromWebsite" || "UrlLoad" || "TabOpen" || "TabClose" || "PrintJobSubmit" || "SessionConnect" || "SessionStart" || "SessionDisconnect" || "SessionEnd" || "UrlBlockByContentFilter",
|
|
44
44
|
* ],
|
|
45
45
|
* },
|
|
46
46
|
* logConfiguration: { // LogConfiguration
|
|
@@ -52,6 +52,17 @@ declare const GetBrowserSettingsCommand_base: {
|
|
|
52
52
|
* // additionalEncryptionContext: { // EncryptionContextMap
|
|
53
53
|
* // "<keys>": "STRING_VALUE",
|
|
54
54
|
* // },
|
|
55
|
+
* // webContentFilteringPolicy: { // WebContentFilteringPolicy
|
|
56
|
+
* // blockedCategories: [ // BlockedCategories
|
|
57
|
+
* // "Cults" || "Gambling" || "Nudity" || "Pornography" || "SexEducation" || "Tasteless" || "Violence" || "DownloadSites" || "ImageSharing" || "PeerToPeer" || "StreamingMediaAndDownloads" || "GenerativeAI" || "CriminalActivity" || "Hacking" || "HateAndIntolerance" || "IllegalDrug" || "IllegalSoftware" || "SchoolCheating" || "SelfHarm" || "Weapons" || "Chat" || "Games" || "InstantMessaging" || "ProfessionalNetwork" || "SocialNetworking" || "WebBasedEmail" || "ParkedDomains",
|
|
58
|
+
* // ],
|
|
59
|
+
* // allowedUrls: [ // UrlPatternList
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // blockedUrls: [
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
55
66
|
* // },
|
|
56
67
|
* // };
|
|
57
68
|
*
|
|
@@ -47,7 +47,7 @@ declare const GetSessionLoggerCommand_base: {
|
|
|
47
47
|
* // eventFilter: { // EventFilter Union: only one key present
|
|
48
48
|
* // all: {},
|
|
49
49
|
* // include: [ // Events
|
|
50
|
-
* // "WebsiteInteract" || "FileDownloadFromSecureBrowserToRemoteDisk" || "FileTransferFromRemoteToLocalDisk" || "FileTransferFromLocalToRemoteDisk" || "FileUploadFromRemoteDiskToSecureBrowser" || "ContentPasteToWebsite" || "ContentTransferFromLocalToRemoteClipboard" || "ContentCopyFromWebsite" || "UrlLoad" || "TabOpen" || "TabClose" || "PrintJobSubmit" || "SessionConnect" || "SessionStart" || "SessionDisconnect" || "SessionEnd",
|
|
50
|
+
* // "WebsiteInteract" || "FileDownloadFromSecureBrowserToRemoteDisk" || "FileTransferFromRemoteToLocalDisk" || "FileTransferFromLocalToRemoteDisk" || "FileUploadFromRemoteDiskToSecureBrowser" || "ContentPasteToWebsite" || "ContentTransferFromLocalToRemoteClipboard" || "ContentCopyFromWebsite" || "UrlLoad" || "TabOpen" || "TabClose" || "PrintJobSubmit" || "SessionConnect" || "SessionStart" || "SessionDisconnect" || "SessionEnd" || "UrlBlockByContentFilter",
|
|
51
51
|
* // ],
|
|
52
52
|
* // },
|
|
53
53
|
* // logConfiguration: { // LogConfiguration
|
|
@@ -40,6 +40,17 @@ declare const UpdateBrowserSettingsCommand_base: {
|
|
|
40
40
|
* browserSettingsArn: "STRING_VALUE", // required
|
|
41
41
|
* browserPolicy: "STRING_VALUE",
|
|
42
42
|
* clientToken: "STRING_VALUE",
|
|
43
|
+
* webContentFilteringPolicy: { // WebContentFilteringPolicy
|
|
44
|
+
* blockedCategories: [ // BlockedCategories
|
|
45
|
+
* "Cults" || "Gambling" || "Nudity" || "Pornography" || "SexEducation" || "Tasteless" || "Violence" || "DownloadSites" || "ImageSharing" || "PeerToPeer" || "StreamingMediaAndDownloads" || "GenerativeAI" || "CriminalActivity" || "Hacking" || "HateAndIntolerance" || "IllegalDrug" || "IllegalSoftware" || "SchoolCheating" || "SelfHarm" || "Weapons" || "Chat" || "Games" || "InstantMessaging" || "ProfessionalNetwork" || "SocialNetworking" || "WebBasedEmail" || "ParkedDomains",
|
|
46
|
+
* ],
|
|
47
|
+
* allowedUrls: [ // UrlPatternList
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* blockedUrls: [
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
43
54
|
* };
|
|
44
55
|
* const command = new UpdateBrowserSettingsCommand(input);
|
|
45
56
|
* const response = await client.send(command);
|
|
@@ -54,6 +65,17 @@ declare const UpdateBrowserSettingsCommand_base: {
|
|
|
54
65
|
* // additionalEncryptionContext: { // EncryptionContextMap
|
|
55
66
|
* // "<keys>": "STRING_VALUE",
|
|
56
67
|
* // },
|
|
68
|
+
* // webContentFilteringPolicy: { // WebContentFilteringPolicy
|
|
69
|
+
* // blockedCategories: [ // BlockedCategories
|
|
70
|
+
* // "Cults" || "Gambling" || "Nudity" || "Pornography" || "SexEducation" || "Tasteless" || "Violence" || "DownloadSites" || "ImageSharing" || "PeerToPeer" || "StreamingMediaAndDownloads" || "GenerativeAI" || "CriminalActivity" || "Hacking" || "HateAndIntolerance" || "IllegalDrug" || "IllegalSoftware" || "SchoolCheating" || "SelfHarm" || "Weapons" || "Chat" || "Games" || "InstantMessaging" || "ProfessionalNetwork" || "SocialNetworking" || "WebBasedEmail" || "ParkedDomains",
|
|
71
|
+
* // ],
|
|
72
|
+
* // allowedUrls: [ // UrlPatternList
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // blockedUrls: [
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
57
79
|
* // },
|
|
58
80
|
* // };
|
|
59
81
|
*
|
|
@@ -41,7 +41,7 @@ declare const UpdateSessionLoggerCommand_base: {
|
|
|
41
41
|
* eventFilter: { // EventFilter Union: only one key present
|
|
42
42
|
* all: {},
|
|
43
43
|
* include: [ // Events
|
|
44
|
-
* "WebsiteInteract" || "FileDownloadFromSecureBrowserToRemoteDisk" || "FileTransferFromRemoteToLocalDisk" || "FileTransferFromLocalToRemoteDisk" || "FileUploadFromRemoteDiskToSecureBrowser" || "ContentPasteToWebsite" || "ContentTransferFromLocalToRemoteClipboard" || "ContentCopyFromWebsite" || "UrlLoad" || "TabOpen" || "TabClose" || "PrintJobSubmit" || "SessionConnect" || "SessionStart" || "SessionDisconnect" || "SessionEnd",
|
|
44
|
+
* "WebsiteInteract" || "FileDownloadFromSecureBrowserToRemoteDisk" || "FileTransferFromRemoteToLocalDisk" || "FileTransferFromLocalToRemoteDisk" || "FileUploadFromRemoteDiskToSecureBrowser" || "ContentPasteToWebsite" || "ContentTransferFromLocalToRemoteClipboard" || "ContentCopyFromWebsite" || "UrlLoad" || "TabOpen" || "TabClose" || "PrintJobSubmit" || "SessionConnect" || "SessionStart" || "SessionDisconnect" || "SessionEnd" || "UrlBlockByContentFilter",
|
|
45
45
|
* ],
|
|
46
46
|
* },
|
|
47
47
|
* logConfiguration: { // LogConfiguration
|
|
@@ -63,7 +63,7 @@ declare const UpdateSessionLoggerCommand_base: {
|
|
|
63
63
|
* // eventFilter: { // EventFilter Union: only one key present
|
|
64
64
|
* // all: {},
|
|
65
65
|
* // include: [ // Events
|
|
66
|
-
* // "WebsiteInteract" || "FileDownloadFromSecureBrowserToRemoteDisk" || "FileTransferFromRemoteToLocalDisk" || "FileTransferFromLocalToRemoteDisk" || "FileUploadFromRemoteDiskToSecureBrowser" || "ContentPasteToWebsite" || "ContentTransferFromLocalToRemoteClipboard" || "ContentCopyFromWebsite" || "UrlLoad" || "TabOpen" || "TabClose" || "PrintJobSubmit" || "SessionConnect" || "SessionStart" || "SessionDisconnect" || "SessionEnd",
|
|
66
|
+
* // "WebsiteInteract" || "FileDownloadFromSecureBrowserToRemoteDisk" || "FileTransferFromRemoteToLocalDisk" || "FileTransferFromLocalToRemoteDisk" || "FileUploadFromRemoteDiskToSecureBrowser" || "ContentPasteToWebsite" || "ContentTransferFromLocalToRemoteClipboard" || "ContentCopyFromWebsite" || "UrlLoad" || "TabOpen" || "TabClose" || "PrintJobSubmit" || "SessionConnect" || "SessionStart" || "SessionDisconnect" || "SessionEnd" || "UrlBlockByContentFilter",
|
|
67
67
|
* // ],
|
|
68
68
|
* // },
|
|
69
69
|
* // logConfiguration: { // LogConfiguration
|
|
@@ -420,6 +420,64 @@ export interface Tag {
|
|
|
420
420
|
*/
|
|
421
421
|
Value: string | undefined;
|
|
422
422
|
}
|
|
423
|
+
/**
|
|
424
|
+
* @public
|
|
425
|
+
* @enum
|
|
426
|
+
*/
|
|
427
|
+
export declare const Category: {
|
|
428
|
+
readonly CHAT: "Chat";
|
|
429
|
+
readonly CRIMINAL_ACTIVITY: "CriminalActivity";
|
|
430
|
+
readonly CULTS: "Cults";
|
|
431
|
+
readonly DOWNLOAD_SITES: "DownloadSites";
|
|
432
|
+
readonly GAMBLING: "Gambling";
|
|
433
|
+
readonly GAMES: "Games";
|
|
434
|
+
readonly GENERATIVE_AI: "GenerativeAI";
|
|
435
|
+
readonly HACKING: "Hacking";
|
|
436
|
+
readonly HATE_AND_INTOLERANCE: "HateAndIntolerance";
|
|
437
|
+
readonly ILLEGAL_DRUG: "IllegalDrug";
|
|
438
|
+
readonly ILLEGAL_SOFTWARE: "IllegalSoftware";
|
|
439
|
+
readonly IMAGE_SHARING: "ImageSharing";
|
|
440
|
+
readonly INSTANT_MESSAGING: "InstantMessaging";
|
|
441
|
+
readonly NUDITY: "Nudity";
|
|
442
|
+
readonly PARKED_DOMAINS: "ParkedDomains";
|
|
443
|
+
readonly PEER_TO_PEER: "PeerToPeer";
|
|
444
|
+
readonly PORNOGRAPHY: "Pornography";
|
|
445
|
+
readonly PROFESSIONAL_NETWORK: "ProfessionalNetwork";
|
|
446
|
+
readonly SCHOOL_CHEATING: "SchoolCheating";
|
|
447
|
+
readonly SELF_HARM: "SelfHarm";
|
|
448
|
+
readonly SEX_EDUCATION: "SexEducation";
|
|
449
|
+
readonly SOCIAL_NETWORKING: "SocialNetworking";
|
|
450
|
+
readonly STREAMING_MEDIA_AND_DOWNLOADS: "StreamingMediaAndDownloads";
|
|
451
|
+
readonly TASTELESS: "Tasteless";
|
|
452
|
+
readonly VIOLENCE: "Violence";
|
|
453
|
+
readonly WEAPONS: "Weapons";
|
|
454
|
+
readonly WEB_BASED_EMAIL: "WebBasedEmail";
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* @public
|
|
458
|
+
*/
|
|
459
|
+
export type Category = (typeof Category)[keyof typeof Category];
|
|
460
|
+
/**
|
|
461
|
+
* <p>The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.</p>
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
export interface WebContentFilteringPolicy {
|
|
465
|
+
/**
|
|
466
|
+
* <p>Categories of websites that are blocked on the end user’s browsers.</p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
blockedCategories?: Category[] | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* <p>URLs and domains that are always accessible to end users.</p>
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
allowedUrls?: string[] | undefined;
|
|
475
|
+
/**
|
|
476
|
+
* <p>URLs and domains that end users cannot access.</p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
blockedUrls?: string[] | undefined;
|
|
480
|
+
}
|
|
423
481
|
/**
|
|
424
482
|
* @public
|
|
425
483
|
*/
|
|
@@ -444,7 +502,7 @@ export interface CreateBrowserSettingsRequest {
|
|
|
444
502
|
* streaming sessions.</p>
|
|
445
503
|
* @public
|
|
446
504
|
*/
|
|
447
|
-
browserPolicy
|
|
505
|
+
browserPolicy?: string | undefined;
|
|
448
506
|
/**
|
|
449
507
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
450
508
|
* request. Idempotency ensures that an API request completes only once. With an idempotent
|
|
@@ -455,6 +513,11 @@ export interface CreateBrowserSettingsRequest {
|
|
|
455
513
|
* @public
|
|
456
514
|
*/
|
|
457
515
|
clientToken?: string | undefined;
|
|
516
|
+
/**
|
|
517
|
+
* <p>The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.</p>
|
|
518
|
+
* @public
|
|
519
|
+
*/
|
|
520
|
+
webContentFilteringPolicy?: WebContentFilteringPolicy | undefined;
|
|
458
521
|
}
|
|
459
522
|
/**
|
|
460
523
|
* @public
|
|
@@ -557,6 +620,11 @@ export interface BrowserSettings {
|
|
|
557
620
|
* @public
|
|
558
621
|
*/
|
|
559
622
|
additionalEncryptionContext?: Record<string, string> | undefined;
|
|
623
|
+
/**
|
|
624
|
+
* <p>The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.</p>
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
webContentFilteringPolicy?: WebContentFilteringPolicy | undefined;
|
|
560
628
|
}
|
|
561
629
|
/**
|
|
562
630
|
* @public
|
|
@@ -636,6 +704,11 @@ export interface UpdateBrowserSettingsRequest {
|
|
|
636
704
|
* @public
|
|
637
705
|
*/
|
|
638
706
|
clientToken?: string | undefined;
|
|
707
|
+
/**
|
|
708
|
+
* <p>The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.</p>
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
webContentFilteringPolicy?: WebContentFilteringPolicy | undefined;
|
|
639
712
|
}
|
|
640
713
|
/**
|
|
641
714
|
* @public
|
|
@@ -3082,6 +3155,7 @@ export declare const Event: {
|
|
|
3082
3155
|
readonly SESSION_START: "SessionStart";
|
|
3083
3156
|
readonly TAB_CLOSE: "TabClose";
|
|
3084
3157
|
readonly TAB_OPEN: "TabOpen";
|
|
3158
|
+
readonly URL_BLOCK_BY_CONTENT_FILTER: "UrlBlockByContentFilter";
|
|
3085
3159
|
readonly URL_LOAD: "UrlLoad";
|
|
3086
3160
|
readonly WEBSITE_INTERACT: "WebsiteInteract";
|
|
3087
3161
|
};
|
|
@@ -3124,12 +3198,15 @@ export declare namespace EventFilter {
|
|
|
3124
3198
|
include?: never;
|
|
3125
3199
|
$unknown: [string, any];
|
|
3126
3200
|
}
|
|
3201
|
+
/**
|
|
3202
|
+
* @deprecated unused in schema-serde mode.
|
|
3203
|
+
*
|
|
3204
|
+
*/
|
|
3127
3205
|
interface Visitor<T> {
|
|
3128
3206
|
all: (value: Unit) => T;
|
|
3129
3207
|
include: (value: Event[]) => T;
|
|
3130
3208
|
_: (name: string, value: any) => T;
|
|
3131
3209
|
}
|
|
3132
|
-
const visit: <T>(value: EventFilter, visitor: Visitor<T>) => T;
|
|
3133
3210
|
}
|
|
3134
3211
|
/**
|
|
3135
3212
|
* @public
|
|
@@ -19,6 +19,7 @@ export declare var S3Bucket: StaticSimpleSchema;
|
|
|
19
19
|
export declare var S3KeyPrefix: StaticSimpleSchema;
|
|
20
20
|
export declare var TagKey: StaticSimpleSchema;
|
|
21
21
|
export declare var TagValue: StaticSimpleSchema;
|
|
22
|
+
export declare var UrlPattern: StaticSimpleSchema;
|
|
22
23
|
export declare var Username: StaticSimpleSchema;
|
|
23
24
|
export declare var AccessDeniedException: StaticErrorSchema;
|
|
24
25
|
export declare var AssociateBrowserSettingsRequest: StaticStructureSchema;
|
|
@@ -214,9 +215,11 @@ export declare var UserSettings: StaticStructureSchema;
|
|
|
214
215
|
export declare var UserSettingsSummary: StaticStructureSchema;
|
|
215
216
|
export declare var ValidationException: StaticErrorSchema;
|
|
216
217
|
export declare var ValidationExceptionField: StaticStructureSchema;
|
|
218
|
+
export declare var WebContentFilteringPolicy: StaticStructureSchema;
|
|
217
219
|
export declare var __Unit: "unit";
|
|
218
220
|
export declare var WorkSpacesWebServiceException: StaticErrorSchema;
|
|
219
221
|
export declare var ArnList: number;
|
|
222
|
+
export declare var BlockedCategories: number;
|
|
220
223
|
export declare var BrowserSettingsList: StaticListSchema;
|
|
221
224
|
export declare var CertificateList: number;
|
|
222
225
|
export declare var CertificateSummaryList: StaticListSchema;
|
|
@@ -241,6 +244,7 @@ export declare var SubnetIdList: number;
|
|
|
241
244
|
export declare var TagKeyList: StaticListSchema;
|
|
242
245
|
export declare var TagList: StaticListSchema;
|
|
243
246
|
export declare var TrustStoreSummaryList: StaticListSchema;
|
|
247
|
+
export declare var UrlPatternList: StaticListSchema;
|
|
244
248
|
export declare var UserAccessLoggingSettingsList: StaticListSchema;
|
|
245
249
|
export declare var UserSettingsList: StaticListSchema;
|
|
246
250
|
export declare var ValidationExceptionFieldList: StaticListSchema;
|
|
@@ -411,6 +411,7 @@ export interface WorkSpacesWeb {
|
|
|
411
411
|
options: __HttpHandlerOptions,
|
|
412
412
|
cb: (err: any, data?: AssociateUserSettingsCommandOutput) => void
|
|
413
413
|
): void;
|
|
414
|
+
createBrowserSettings(): Promise<CreateBrowserSettingsCommandOutput>;
|
|
414
415
|
createBrowserSettings(
|
|
415
416
|
args: CreateBrowserSettingsCommandInput,
|
|
416
417
|
options?: __HttpHandlerOptions
|
|
@@ -27,7 +27,7 @@ declare const CreateBrowserSettingsCommand_base: {
|
|
|
27
27
|
ServiceOutputTypes
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
|
-
input: CreateBrowserSettingsCommandInput
|
|
30
|
+
...[input]: [] | [CreateBrowserSettingsCommandInput]
|
|
31
31
|
): import("@smithy/smithy-client").CommandImpl<
|
|
32
32
|
CreateBrowserSettingsCommandInput,
|
|
33
33
|
CreateBrowserSettingsCommandOutput,
|
|
@@ -136,12 +136,48 @@ export interface Tag {
|
|
|
136
136
|
Key: string | undefined;
|
|
137
137
|
Value: string | undefined;
|
|
138
138
|
}
|
|
139
|
+
export declare const Category: {
|
|
140
|
+
readonly CHAT: "Chat";
|
|
141
|
+
readonly CRIMINAL_ACTIVITY: "CriminalActivity";
|
|
142
|
+
readonly CULTS: "Cults";
|
|
143
|
+
readonly DOWNLOAD_SITES: "DownloadSites";
|
|
144
|
+
readonly GAMBLING: "Gambling";
|
|
145
|
+
readonly GAMES: "Games";
|
|
146
|
+
readonly GENERATIVE_AI: "GenerativeAI";
|
|
147
|
+
readonly HACKING: "Hacking";
|
|
148
|
+
readonly HATE_AND_INTOLERANCE: "HateAndIntolerance";
|
|
149
|
+
readonly ILLEGAL_DRUG: "IllegalDrug";
|
|
150
|
+
readonly ILLEGAL_SOFTWARE: "IllegalSoftware";
|
|
151
|
+
readonly IMAGE_SHARING: "ImageSharing";
|
|
152
|
+
readonly INSTANT_MESSAGING: "InstantMessaging";
|
|
153
|
+
readonly NUDITY: "Nudity";
|
|
154
|
+
readonly PARKED_DOMAINS: "ParkedDomains";
|
|
155
|
+
readonly PEER_TO_PEER: "PeerToPeer";
|
|
156
|
+
readonly PORNOGRAPHY: "Pornography";
|
|
157
|
+
readonly PROFESSIONAL_NETWORK: "ProfessionalNetwork";
|
|
158
|
+
readonly SCHOOL_CHEATING: "SchoolCheating";
|
|
159
|
+
readonly SELF_HARM: "SelfHarm";
|
|
160
|
+
readonly SEX_EDUCATION: "SexEducation";
|
|
161
|
+
readonly SOCIAL_NETWORKING: "SocialNetworking";
|
|
162
|
+
readonly STREAMING_MEDIA_AND_DOWNLOADS: "StreamingMediaAndDownloads";
|
|
163
|
+
readonly TASTELESS: "Tasteless";
|
|
164
|
+
readonly VIOLENCE: "Violence";
|
|
165
|
+
readonly WEAPONS: "Weapons";
|
|
166
|
+
readonly WEB_BASED_EMAIL: "WebBasedEmail";
|
|
167
|
+
};
|
|
168
|
+
export type Category = (typeof Category)[keyof typeof Category];
|
|
169
|
+
export interface WebContentFilteringPolicy {
|
|
170
|
+
blockedCategories?: Category[] | undefined;
|
|
171
|
+
allowedUrls?: string[] | undefined;
|
|
172
|
+
blockedUrls?: string[] | undefined;
|
|
173
|
+
}
|
|
139
174
|
export interface CreateBrowserSettingsRequest {
|
|
140
175
|
tags?: Tag[] | undefined;
|
|
141
176
|
customerManagedKey?: string | undefined;
|
|
142
177
|
additionalEncryptionContext?: Record<string, string> | undefined;
|
|
143
|
-
browserPolicy
|
|
178
|
+
browserPolicy?: string | undefined;
|
|
144
179
|
clientToken?: string | undefined;
|
|
180
|
+
webContentFilteringPolicy?: WebContentFilteringPolicy | undefined;
|
|
145
181
|
}
|
|
146
182
|
export interface CreateBrowserSettingsResponse {
|
|
147
183
|
browserSettingsArn: string | undefined;
|
|
@@ -170,6 +206,7 @@ export interface BrowserSettings {
|
|
|
170
206
|
browserPolicy?: string | undefined;
|
|
171
207
|
customerManagedKey?: string | undefined;
|
|
172
208
|
additionalEncryptionContext?: Record<string, string> | undefined;
|
|
209
|
+
webContentFilteringPolicy?: WebContentFilteringPolicy | undefined;
|
|
173
210
|
}
|
|
174
211
|
export interface GetBrowserSettingsResponse {
|
|
175
212
|
browserSettings?: BrowserSettings | undefined;
|
|
@@ -189,6 +226,7 @@ export interface UpdateBrowserSettingsRequest {
|
|
|
189
226
|
browserSettingsArn: string | undefined;
|
|
190
227
|
browserPolicy?: string | undefined;
|
|
191
228
|
clientToken?: string | undefined;
|
|
229
|
+
webContentFilteringPolicy?: WebContentFilteringPolicy | undefined;
|
|
192
230
|
}
|
|
193
231
|
export interface UpdateBrowserSettingsResponse {
|
|
194
232
|
browserSettings: BrowserSettings | undefined;
|
|
@@ -666,6 +704,7 @@ export declare const Event: {
|
|
|
666
704
|
readonly SESSION_START: "SessionStart";
|
|
667
705
|
readonly TAB_CLOSE: "TabClose";
|
|
668
706
|
readonly TAB_OPEN: "TabOpen";
|
|
707
|
+
readonly URL_BLOCK_BY_CONTENT_FILTER: "UrlBlockByContentFilter";
|
|
669
708
|
readonly URL_LOAD: "UrlLoad";
|
|
670
709
|
readonly WEBSITE_INTERACT: "WebsiteInteract";
|
|
671
710
|
};
|
|
@@ -695,7 +734,6 @@ export declare namespace EventFilter {
|
|
|
695
734
|
include: (value: Event[]) => T;
|
|
696
735
|
_: (name: string, value: any) => T;
|
|
697
736
|
}
|
|
698
|
-
const visit: <T>(value: EventFilter, visitor: Visitor<T>) => T;
|
|
699
737
|
}
|
|
700
738
|
export declare const FolderStructure: {
|
|
701
739
|
readonly FLAT: "Flat";
|
|
@@ -26,6 +26,7 @@ export declare var S3Bucket: StaticSimpleSchema;
|
|
|
26
26
|
export declare var S3KeyPrefix: StaticSimpleSchema;
|
|
27
27
|
export declare var TagKey: StaticSimpleSchema;
|
|
28
28
|
export declare var TagValue: StaticSimpleSchema;
|
|
29
|
+
export declare var UrlPattern: StaticSimpleSchema;
|
|
29
30
|
export declare var Username: StaticSimpleSchema;
|
|
30
31
|
export declare var AccessDeniedException: StaticErrorSchema;
|
|
31
32
|
export declare var AssociateBrowserSettingsRequest: StaticStructureSchema;
|
|
@@ -221,9 +222,11 @@ export declare var UserSettings: StaticStructureSchema;
|
|
|
221
222
|
export declare var UserSettingsSummary: StaticStructureSchema;
|
|
222
223
|
export declare var ValidationException: StaticErrorSchema;
|
|
223
224
|
export declare var ValidationExceptionField: StaticStructureSchema;
|
|
225
|
+
export declare var WebContentFilteringPolicy: StaticStructureSchema;
|
|
224
226
|
export declare var __Unit: "unit";
|
|
225
227
|
export declare var WorkSpacesWebServiceException: StaticErrorSchema;
|
|
226
228
|
export declare var ArnList: number;
|
|
229
|
+
export declare var BlockedCategories: number;
|
|
227
230
|
export declare var BrowserSettingsList: StaticListSchema;
|
|
228
231
|
export declare var CertificateList: number;
|
|
229
232
|
export declare var CertificateSummaryList: StaticListSchema;
|
|
@@ -248,6 +251,7 @@ export declare var SubnetIdList: number;
|
|
|
248
251
|
export declare var TagKeyList: StaticListSchema;
|
|
249
252
|
export declare var TagList: StaticListSchema;
|
|
250
253
|
export declare var TrustStoreSummaryList: StaticListSchema;
|
|
254
|
+
export declare var UrlPatternList: StaticListSchema;
|
|
251
255
|
export declare var UserAccessLoggingSettingsList: StaticListSchema;
|
|
252
256
|
export declare var UserSettingsList: StaticListSchema;
|
|
253
257
|
export declare var ValidationExceptionFieldList: StaticListSchema;
|
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.931.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,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.931.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.931.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.931.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.931.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
+
"@smithy/core": "^3.18.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
|
+
"@smithy/hash-node": "^4.2.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
48
|
+
"@smithy/types": "^4.9.0",
|
|
49
|
+
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
57
|
+
"@smithy/util-retry": "^4.2.5",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|