@aws-sdk/client-workspaces-web 3.934.0 → 3.935.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.
@@ -1,17 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { WorkSpacesWebServiceException as __BaseException } from "./WorkSpacesWebServiceException";
3
- /**
4
- * <p>Access is denied.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
- }
1
+ import { Category, Event, FolderStructure, LogFileFormat, SessionSortBy, SessionStatus } from "./enums";
15
2
  /**
16
3
  * @public
17
4
  */
@@ -42,94 +29,6 @@ export interface AssociateBrowserSettingsResponse {
42
29
  */
43
30
  browserSettingsArn: string | undefined;
44
31
  }
45
- /**
46
- * <p>There is a conflict.</p>
47
- * @public
48
- */
49
- export declare class ConflictException extends __BaseException {
50
- readonly name: "ConflictException";
51
- readonly $fault: "client";
52
- /**
53
- * <p>Identifier of the resource affected.</p>
54
- * @public
55
- */
56
- resourceId?: string | undefined;
57
- /**
58
- * <p>Type of the resource affected.</p>
59
- * @public
60
- */
61
- resourceType?: string | undefined;
62
- /**
63
- * @internal
64
- */
65
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
66
- }
67
- /**
68
- * <p>There is an internal server error.</p>
69
- * @public
70
- */
71
- export declare class InternalServerException extends __BaseException {
72
- readonly name: "InternalServerException";
73
- readonly $fault: "server";
74
- /**
75
- * <p>Advice to clients on when the call can be safely retried.</p>
76
- * @public
77
- */
78
- retryAfterSeconds?: number | undefined;
79
- /**
80
- * @internal
81
- */
82
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
83
- }
84
- /**
85
- * <p>The resource cannot be found.</p>
86
- * @public
87
- */
88
- export declare class ResourceNotFoundException extends __BaseException {
89
- readonly name: "ResourceNotFoundException";
90
- readonly $fault: "client";
91
- /**
92
- * <p>Hypothetical identifier of the resource affected.</p>
93
- * @public
94
- */
95
- resourceId?: string | undefined;
96
- /**
97
- * <p>Hypothetical type of the resource affected.</p>
98
- * @public
99
- */
100
- resourceType?: string | undefined;
101
- /**
102
- * @internal
103
- */
104
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
105
- }
106
- /**
107
- * <p>There is a throttling error.</p>
108
- * @public
109
- */
110
- export declare class ThrottlingException extends __BaseException {
111
- readonly name: "ThrottlingException";
112
- readonly $fault: "client";
113
- /**
114
- * <p>The originating service.</p>
115
- * @public
116
- */
117
- serviceCode?: string | undefined;
118
- /**
119
- * <p>The originating quota.</p>
120
- * @public
121
- */
122
- quotaCode?: string | undefined;
123
- /**
124
- * <p>Advice to clients on when the call can be safely retried.</p>
125
- * @public
126
- */
127
- retryAfterSeconds?: number | undefined;
128
- /**
129
- * @internal
130
- */
131
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
132
- }
133
32
  /**
134
33
  * <p>Information about a field passed inside a request that resulted in an exception.</p>
135
34
  * @public
@@ -160,28 +59,6 @@ export declare const ValidationExceptionReason: {
160
59
  * @public
161
60
  */
162
61
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
163
- /**
164
- * <p>There is a validation error.</p>
165
- * @public
166
- */
167
- export declare class ValidationException extends __BaseException {
168
- readonly name: "ValidationException";
169
- readonly $fault: "client";
170
- /**
171
- * <p>Reason the request failed validation</p>
172
- * @public
173
- */
174
- reason?: ValidationExceptionReason | undefined;
175
- /**
176
- * <p>The field that caused the error.</p>
177
- * @public
178
- */
179
- fieldList?: ValidationExceptionField[] | undefined;
180
- /**
181
- * @internal
182
- */
183
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
184
- }
185
62
  /**
186
63
  * @public
187
64
  */
@@ -420,43 +297,6 @@ export interface Tag {
420
297
  */
421
298
  Value: string | undefined;
422
299
  }
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
300
  /**
461
301
  * <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
302
  * @public
@@ -529,38 +369,6 @@ export interface CreateBrowserSettingsResponse {
529
369
  */
530
370
  browserSettingsArn: string | undefined;
531
371
  }
532
- /**
533
- * <p>The service quota has been exceeded.</p>
534
- * @public
535
- */
536
- export declare class ServiceQuotaExceededException extends __BaseException {
537
- readonly name: "ServiceQuotaExceededException";
538
- readonly $fault: "client";
539
- /**
540
- * <p>Identifier of the resource affected.</p>
541
- * @public
542
- */
543
- resourceId?: string | undefined;
544
- /**
545
- * <p> Type of the resource affected.</p>
546
- * @public
547
- */
548
- resourceType?: string | undefined;
549
- /**
550
- * <p>The originating service.</p>
551
- * @public
552
- */
553
- serviceCode?: string | undefined;
554
- /**
555
- * <p>The originating quota.</p>
556
- * @public
557
- */
558
- quotaCode?: string | undefined;
559
- /**
560
- * @internal
561
- */
562
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
563
- }
564
372
  /**
565
373
  * @public
566
374
  */
@@ -1124,18 +932,6 @@ export interface GetSessionRequest {
1124
932
  */
1125
933
  sessionId: string | undefined;
1126
934
  }
1127
- /**
1128
- * @public
1129
- * @enum
1130
- */
1131
- export declare const SessionStatus: {
1132
- readonly ACTIVE: "Active";
1133
- readonly TERMINATED: "Terminated";
1134
- };
1135
- /**
1136
- * @public
1137
- */
1138
- export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
1139
935
  /**
1140
936
  * <p>Information about a secure browser session.</p>
1141
937
  * @public
@@ -2175,18 +1971,6 @@ export interface UpdateIpAccessSettingsResponse {
2175
1971
  */
2176
1972
  ipAccessSettings: IpAccessSettings | undefined;
2177
1973
  }
2178
- /**
2179
- * @public
2180
- * @enum
2181
- */
2182
- export declare const SessionSortBy: {
2183
- readonly START_TIME_ASCENDING: "StartTimeAscending";
2184
- readonly START_TIME_DESCENDING: "StartTimeDescending";
2185
- };
2186
- /**
2187
- * @public
2188
- */
2189
- export type SessionSortBy = (typeof SessionSortBy)[keyof typeof SessionSortBy];
2190
1974
  /**
2191
1975
  * @public
2192
1976
  */
@@ -3136,33 +2920,6 @@ export interface UpdatePortalResponse {
3136
2920
  */
3137
2921
  export interface Unit {
3138
2922
  }
3139
- /**
3140
- * @public
3141
- * @enum
3142
- */
3143
- export declare const Event: {
3144
- readonly CONTENT_COPY_FROM_WEBSITE: "ContentCopyFromWebsite";
3145
- readonly CONTENT_PASTE_TO_WEBSITE: "ContentPasteToWebsite";
3146
- readonly CONTENT_TRANSFER_FROM_LOCAL_TO_REMOTE_CLIPBOARD: "ContentTransferFromLocalToRemoteClipboard";
3147
- readonly FILE_DOWNLOAD_FROM_SECURE_BROWSER_TO_REMOTE_DISK: "FileDownloadFromSecureBrowserToRemoteDisk";
3148
- readonly FILE_TRANSFER_FROM_LOCAL_TO_REMOTE_DISK: "FileTransferFromLocalToRemoteDisk";
3149
- readonly FILE_TRANSFER_FROM_REMOTE_TO_LOCAL_DISK: "FileTransferFromRemoteToLocalDisk";
3150
- readonly FILE_UPLOAD_FROM_REMOTE_DISK_TO_SECURE_BROWSER: "FileUploadFromRemoteDiskToSecureBrowser";
3151
- readonly PRINT_JOB_SUBMIT: "PrintJobSubmit";
3152
- readonly SESSION_CONNECT: "SessionConnect";
3153
- readonly SESSION_DISCONNECT: "SessionDisconnect";
3154
- readonly SESSION_END: "SessionEnd";
3155
- readonly SESSION_START: "SessionStart";
3156
- readonly TAB_CLOSE: "TabClose";
3157
- readonly TAB_OPEN: "TabOpen";
3158
- readonly URL_BLOCK_BY_CONTENT_FILTER: "UrlBlockByContentFilter";
3159
- readonly URL_LOAD: "UrlLoad";
3160
- readonly WEBSITE_INTERACT: "WebsiteInteract";
3161
- };
3162
- /**
3163
- * @public
3164
- */
3165
- export type Event = (typeof Event)[keyof typeof Event];
3166
2923
  /**
3167
2924
  * <p>The filter that specifies the events to monitor.</p>
3168
2925
  * @public
@@ -3208,30 +2965,6 @@ export declare namespace EventFilter {
3208
2965
  _: (name: string, value: any) => T;
3209
2966
  }
3210
2967
  }
3211
- /**
3212
- * @public
3213
- * @enum
3214
- */
3215
- export declare const FolderStructure: {
3216
- readonly FLAT: "Flat";
3217
- readonly NESTED_BY_DATE: "NestedByDate";
3218
- };
3219
- /**
3220
- * @public
3221
- */
3222
- export type FolderStructure = (typeof FolderStructure)[keyof typeof FolderStructure];
3223
- /**
3224
- * @public
3225
- * @enum
3226
- */
3227
- export declare const LogFileFormat: {
3228
- readonly JSON: "Json";
3229
- readonly JSON_LINES: "JSONLines";
3230
- };
3231
- /**
3232
- * @public
3233
- */
3234
- export type LogFileFormat = (typeof LogFileFormat)[keyof typeof LogFileFormat];
3235
2968
  /**
3236
2969
  * <p>The S3 log configuration.</p>
3237
2970
  * @public
@@ -3526,23 +3259,6 @@ export interface TagResourceRequest {
3526
3259
  */
3527
3260
  export interface TagResourceResponse {
3528
3261
  }
3529
- /**
3530
- * <p>There are too many tags.</p>
3531
- * @public
3532
- */
3533
- export declare class TooManyTagsException extends __BaseException {
3534
- readonly name: "TooManyTagsException";
3535
- readonly $fault: "client";
3536
- /**
3537
- * <p>Name of the resource affected.</p>
3538
- * @public
3539
- */
3540
- resourceName?: string | undefined;
3541
- /**
3542
- * @internal
3543
- */
3544
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
3545
- }
3546
3262
  /**
3547
3263
  * <p>The summary of the certificate.</p>
3548
3264
  * @public
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { WorkSpacesWebExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { WorkSpacesWebServiceException } from "./models/WorkSpacesWebServiceException";
@@ -0,0 +1,71 @@
1
+ export declare const Category: {
2
+ readonly CHAT: "Chat";
3
+ readonly CRIMINAL_ACTIVITY: "CriminalActivity";
4
+ readonly CULTS: "Cults";
5
+ readonly DOWNLOAD_SITES: "DownloadSites";
6
+ readonly GAMBLING: "Gambling";
7
+ readonly GAMES: "Games";
8
+ readonly GENERATIVE_AI: "GenerativeAI";
9
+ readonly HACKING: "Hacking";
10
+ readonly HATE_AND_INTOLERANCE: "HateAndIntolerance";
11
+ readonly ILLEGAL_DRUG: "IllegalDrug";
12
+ readonly ILLEGAL_SOFTWARE: "IllegalSoftware";
13
+ readonly IMAGE_SHARING: "ImageSharing";
14
+ readonly INSTANT_MESSAGING: "InstantMessaging";
15
+ readonly NUDITY: "Nudity";
16
+ readonly PARKED_DOMAINS: "ParkedDomains";
17
+ readonly PEER_TO_PEER: "PeerToPeer";
18
+ readonly PORNOGRAPHY: "Pornography";
19
+ readonly PROFESSIONAL_NETWORK: "ProfessionalNetwork";
20
+ readonly SCHOOL_CHEATING: "SchoolCheating";
21
+ readonly SELF_HARM: "SelfHarm";
22
+ readonly SEX_EDUCATION: "SexEducation";
23
+ readonly SOCIAL_NETWORKING: "SocialNetworking";
24
+ readonly STREAMING_MEDIA_AND_DOWNLOADS: "StreamingMediaAndDownloads";
25
+ readonly TASTELESS: "Tasteless";
26
+ readonly VIOLENCE: "Violence";
27
+ readonly WEAPONS: "Weapons";
28
+ readonly WEB_BASED_EMAIL: "WebBasedEmail";
29
+ };
30
+ export type Category = (typeof Category)[keyof typeof Category];
31
+ export declare const SessionStatus: {
32
+ readonly ACTIVE: "Active";
33
+ readonly TERMINATED: "Terminated";
34
+ };
35
+ export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
36
+ export declare const SessionSortBy: {
37
+ readonly START_TIME_ASCENDING: "StartTimeAscending";
38
+ readonly START_TIME_DESCENDING: "StartTimeDescending";
39
+ };
40
+ export type SessionSortBy = (typeof SessionSortBy)[keyof typeof SessionSortBy];
41
+ export declare const Event: {
42
+ readonly CONTENT_COPY_FROM_WEBSITE: "ContentCopyFromWebsite";
43
+ readonly CONTENT_PASTE_TO_WEBSITE: "ContentPasteToWebsite";
44
+ readonly CONTENT_TRANSFER_FROM_LOCAL_TO_REMOTE_CLIPBOARD: "ContentTransferFromLocalToRemoteClipboard";
45
+ readonly FILE_DOWNLOAD_FROM_SECURE_BROWSER_TO_REMOTE_DISK: "FileDownloadFromSecureBrowserToRemoteDisk";
46
+ readonly FILE_TRANSFER_FROM_LOCAL_TO_REMOTE_DISK: "FileTransferFromLocalToRemoteDisk";
47
+ readonly FILE_TRANSFER_FROM_REMOTE_TO_LOCAL_DISK: "FileTransferFromRemoteToLocalDisk";
48
+ readonly FILE_UPLOAD_FROM_REMOTE_DISK_TO_SECURE_BROWSER: "FileUploadFromRemoteDiskToSecureBrowser";
49
+ readonly PRINT_JOB_SUBMIT: "PrintJobSubmit";
50
+ readonly SESSION_CONNECT: "SessionConnect";
51
+ readonly SESSION_DISCONNECT: "SessionDisconnect";
52
+ readonly SESSION_END: "SessionEnd";
53
+ readonly SESSION_START: "SessionStart";
54
+ readonly TAB_CLOSE: "TabClose";
55
+ readonly TAB_OPEN: "TabOpen";
56
+ readonly URL_BLOCK_BY_CONTENT_FILTER: "UrlBlockByContentFilter";
57
+ readonly URL_LOAD: "UrlLoad";
58
+ readonly WEBSITE_INTERACT: "WebsiteInteract";
59
+ };
60
+ export type Event = (typeof Event)[keyof typeof Event];
61
+ export declare const FolderStructure: {
62
+ readonly FLAT: "Flat";
63
+ readonly NESTED_BY_DATE: "NestedByDate";
64
+ };
65
+ export type FolderStructure =
66
+ (typeof FolderStructure)[keyof typeof FolderStructure];
67
+ export declare const LogFileFormat: {
68
+ readonly JSON: "Json";
69
+ readonly JSON_LINES: "JSONLines";
70
+ };
71
+ export type LogFileFormat = (typeof LogFileFormat)[keyof typeof LogFileFormat];
@@ -0,0 +1,75 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import {
3
+ ValidationExceptionField,
4
+ ValidationExceptionReason,
5
+ } from "./models_0";
6
+ import { WorkSpacesWebServiceException as __BaseException } from "./WorkSpacesWebServiceException";
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ constructor(
11
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
12
+ );
13
+ }
14
+ export declare class ConflictException extends __BaseException {
15
+ readonly name: "ConflictException";
16
+ readonly $fault: "client";
17
+ resourceId?: string | undefined;
18
+ resourceType?: string | undefined;
19
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
+ }
21
+ export declare class InternalServerException extends __BaseException {
22
+ readonly name: "InternalServerException";
23
+ readonly $fault: "server";
24
+ retryAfterSeconds?: number | undefined;
25
+ constructor(
26
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
27
+ );
28
+ }
29
+ export declare class ResourceNotFoundException extends __BaseException {
30
+ readonly name: "ResourceNotFoundException";
31
+ readonly $fault: "client";
32
+ resourceId?: string | undefined;
33
+ resourceType?: string | undefined;
34
+ constructor(
35
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
36
+ );
37
+ }
38
+ export declare class ThrottlingException extends __BaseException {
39
+ readonly name: "ThrottlingException";
40
+ readonly $fault: "client";
41
+ serviceCode?: string | undefined;
42
+ quotaCode?: string | undefined;
43
+ retryAfterSeconds?: number | undefined;
44
+ constructor(
45
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
46
+ );
47
+ }
48
+ export declare class ValidationException extends __BaseException {
49
+ readonly name: "ValidationException";
50
+ readonly $fault: "client";
51
+ reason?: ValidationExceptionReason | undefined;
52
+ fieldList?: ValidationExceptionField[] | undefined;
53
+ constructor(
54
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
55
+ );
56
+ }
57
+ export declare class ServiceQuotaExceededException extends __BaseException {
58
+ readonly name: "ServiceQuotaExceededException";
59
+ readonly $fault: "client";
60
+ resourceId?: string | undefined;
61
+ resourceType?: string | undefined;
62
+ serviceCode?: string | undefined;
63
+ quotaCode?: string | undefined;
64
+ constructor(
65
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
66
+ );
67
+ }
68
+ export declare class TooManyTagsException extends __BaseException {
69
+ readonly name: "TooManyTagsException";
70
+ readonly $fault: "client";
71
+ resourceName?: string | undefined;
72
+ constructor(
73
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
74
+ );
75
+ }