@aws-sdk/client-workspaces-web 3.856.0 → 3.858.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.
Files changed (47) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +450 -0
  3. package/dist-es/WorkSpacesWeb.js +14 -0
  4. package/dist-es/commands/AssociateSessionLoggerCommand.js +22 -0
  5. package/dist-es/commands/CreateSessionLoggerCommand.js +23 -0
  6. package/dist-es/commands/DeleteSessionLoggerCommand.js +22 -0
  7. package/dist-es/commands/DisassociateSessionLoggerCommand.js +22 -0
  8. package/dist-es/commands/GetSessionLoggerCommand.js +23 -0
  9. package/dist-es/commands/ListSessionLoggersCommand.js +23 -0
  10. package/dist-es/commands/UpdateSessionLoggerCommand.js +23 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/models_0.js +83 -0
  13. package/dist-es/pagination/ListSessionLoggersPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +210 -1
  16. package/dist-types/WorkSpacesWeb.d.ts +50 -0
  17. package/dist-types/WorkSpacesWebClient.d.ts +9 -2
  18. package/dist-types/commands/AssociateSessionLoggerCommand.d.ts +109 -0
  19. package/dist-types/commands/CreateSessionLoggerCommand.d.ts +189 -0
  20. package/dist-types/commands/DeleteSessionLoggerCommand.d.ts +98 -0
  21. package/dist-types/commands/DisassociateSessionLoggerCommand.d.ts +98 -0
  22. package/dist-types/commands/GetPortalCommand.d.ts +1 -0
  23. package/dist-types/commands/GetSessionLoggerCommand.d.ts +187 -0
  24. package/dist-types/commands/ListPortalsCommand.d.ts +1 -0
  25. package/dist-types/commands/ListSessionLoggersCommand.d.ts +175 -0
  26. package/dist-types/commands/UpdatePortalCommand.d.ts +1 -0
  27. package/dist-types/commands/UpdateSessionLoggerCommand.d.ts +217 -0
  28. package/dist-types/commands/index.d.ts +7 -0
  29. package/dist-types/models/models_0.d.ts +452 -0
  30. package/dist-types/pagination/ListSessionLoggersPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  33. package/dist-types/ts3.4/WorkSpacesWeb.d.ts +120 -0
  34. package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/AssociateSessionLoggerCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/CreateSessionLoggerCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/DeleteSessionLoggerCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/DisassociateSessionLoggerCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/GetSessionLoggerCommand.d.ts +50 -0
  40. package/dist-types/ts3.4/commands/ListSessionLoggersCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/UpdateSessionLoggerCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +164 -0
  44. package/dist-types/ts3.4/pagination/ListSessionLoggersPaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  47. package/package.json +11 -11
@@ -272,6 +272,36 @@ export interface AssociateNetworkSettingsResponse {
272
272
  */
273
273
  networkSettingsArn: string | undefined;
274
274
  }
275
+ /**
276
+ * @public
277
+ */
278
+ export interface AssociateSessionLoggerRequest {
279
+ /**
280
+ * <p>The ARN of the portal to associate to the session logger ARN.</p>
281
+ * @public
282
+ */
283
+ portalArn: string | undefined;
284
+ /**
285
+ * <p>The ARN of the session logger to associate to the portal ARN.</p>
286
+ * @public
287
+ */
288
+ sessionLoggerArn: string | undefined;
289
+ }
290
+ /**
291
+ * @public
292
+ */
293
+ export interface AssociateSessionLoggerResponse {
294
+ /**
295
+ * <p>The ARN of the portal.</p>
296
+ * @public
297
+ */
298
+ portalArn: string | undefined;
299
+ /**
300
+ * <p>The ARN of the session logger.</p>
301
+ * @public
302
+ */
303
+ sessionLoggerArn: string | undefined;
304
+ }
275
305
  /**
276
306
  * @public
277
307
  */
@@ -2585,6 +2615,21 @@ export interface DisassociateNetworkSettingsRequest {
2585
2615
  */
2586
2616
  export interface DisassociateNetworkSettingsResponse {
2587
2617
  }
2618
+ /**
2619
+ * @public
2620
+ */
2621
+ export interface DisassociateSessionLoggerRequest {
2622
+ /**
2623
+ * <p>The ARN of the portal to disassociate from the a session logger.</p>
2624
+ * @public
2625
+ */
2626
+ portalArn: string | undefined;
2627
+ }
2628
+ /**
2629
+ * @public
2630
+ */
2631
+ export interface DisassociateSessionLoggerResponse {
2632
+ }
2588
2633
  /**
2589
2634
  * @public
2590
2635
  */
@@ -2725,6 +2770,11 @@ export interface Portal {
2725
2770
  * @public
2726
2771
  */
2727
2772
  networkSettingsArn?: string | undefined;
2773
+ /**
2774
+ * <p>The ARN of the session logger that is assocaited with the portal.</p>
2775
+ * @public
2776
+ */
2777
+ sessionLoggerArn?: string | undefined;
2728
2778
  /**
2729
2779
  * <p>The ARN of the trust store that is associated with the web portal.</p>
2730
2780
  * @public
@@ -2894,6 +2944,11 @@ export interface PortalSummary {
2894
2944
  * @public
2895
2945
  */
2896
2946
  networkSettingsArn?: string | undefined;
2947
+ /**
2948
+ * <p>The ARN of the session logger that is assocaited with the portal.</p>
2949
+ * @public
2950
+ */
2951
+ sessionLoggerArn?: string | undefined;
2897
2952
  /**
2898
2953
  * <p>The ARN of the trust that is associated with this web portal.</p>
2899
2954
  * @public
@@ -3003,6 +3058,367 @@ export interface UpdatePortalResponse {
3003
3058
  */
3004
3059
  portal?: Portal | undefined;
3005
3060
  }
3061
+ /**
3062
+ * @public
3063
+ */
3064
+ export interface Unit {
3065
+ }
3066
+ /**
3067
+ * @public
3068
+ * @enum
3069
+ */
3070
+ export declare const Event: {
3071
+ readonly CONTENT_COPY_FROM_WEBSITE: "ContentCopyFromWebsite";
3072
+ readonly CONTENT_PASTE_TO_WEBSITE: "ContentPasteToWebsite";
3073
+ readonly CONTENT_TRANSFER_FROM_LOCAL_TO_REMOTE_CLIPBOARD: "ContentTransferFromLocalToRemoteClipboard";
3074
+ readonly FILE_DOWNLOAD_FROM_SECURE_BROWSER_TO_REMOTE_DISK: "FileDownloadFromSecureBrowserToRemoteDisk";
3075
+ readonly FILE_TRANSFER_FROM_LOCAL_TO_REMOTE_DISK: "FileTransferFromLocalToRemoteDisk";
3076
+ readonly FILE_TRANSFER_FROM_REMOTE_TO_LOCAL_DISK: "FileTransferFromRemoteToLocalDisk";
3077
+ readonly FILE_UPLOAD_FROM_REMOTE_DISK_TO_SECURE_BROWSER: "FileUploadFromRemoteDiskToSecureBrowser";
3078
+ readonly PRINT_JOB_SUBMIT: "PrintJobSubmit";
3079
+ readonly SESSION_CONNECT: "SessionConnect";
3080
+ readonly SESSION_DISCONNECT: "SessionDisconnect";
3081
+ readonly SESSION_END: "SessionEnd";
3082
+ readonly SESSION_START: "SessionStart";
3083
+ readonly TAB_CLOSE: "TabClose";
3084
+ readonly TAB_OPEN: "TabOpen";
3085
+ readonly URL_LOAD: "UrlLoad";
3086
+ readonly WEBSITE_INTERACT: "WebsiteInteract";
3087
+ };
3088
+ /**
3089
+ * @public
3090
+ */
3091
+ export type Event = (typeof Event)[keyof typeof Event];
3092
+ /**
3093
+ * <p>The filter that specifies the events to monitor.</p>
3094
+ * @public
3095
+ */
3096
+ export type EventFilter = EventFilter.AllMember | EventFilter.IncludeMember | EventFilter.$UnknownMember;
3097
+ /**
3098
+ * @public
3099
+ */
3100
+ export declare namespace EventFilter {
3101
+ /**
3102
+ * <p>The filter that monitors all of the available events, including any new events emitted in the future.</p>
3103
+ * @public
3104
+ */
3105
+ interface AllMember {
3106
+ all: Unit;
3107
+ include?: never;
3108
+ $unknown?: never;
3109
+ }
3110
+ /**
3111
+ * <p>The filter that monitors only the listed set of events. New events are not auto-monitored.</p>
3112
+ * @public
3113
+ */
3114
+ interface IncludeMember {
3115
+ all?: never;
3116
+ include: Event[];
3117
+ $unknown?: never;
3118
+ }
3119
+ /**
3120
+ * @public
3121
+ */
3122
+ interface $UnknownMember {
3123
+ all?: never;
3124
+ include?: never;
3125
+ $unknown: [string, any];
3126
+ }
3127
+ interface Visitor<T> {
3128
+ all: (value: Unit) => T;
3129
+ include: (value: Event[]) => T;
3130
+ _: (name: string, value: any) => T;
3131
+ }
3132
+ const visit: <T>(value: EventFilter, visitor: Visitor<T>) => T;
3133
+ }
3134
+ /**
3135
+ * @public
3136
+ * @enum
3137
+ */
3138
+ export declare const FolderStructure: {
3139
+ readonly FLAT: "Flat";
3140
+ readonly NESTED_BY_DATE: "NestedByDate";
3141
+ };
3142
+ /**
3143
+ * @public
3144
+ */
3145
+ export type FolderStructure = (typeof FolderStructure)[keyof typeof FolderStructure];
3146
+ /**
3147
+ * @public
3148
+ * @enum
3149
+ */
3150
+ export declare const LogFileFormat: {
3151
+ readonly JSON: "Json";
3152
+ readonly JSON_LINES: "JSONLines";
3153
+ };
3154
+ /**
3155
+ * @public
3156
+ */
3157
+ export type LogFileFormat = (typeof LogFileFormat)[keyof typeof LogFileFormat];
3158
+ /**
3159
+ * <p>The S3 log configuration.</p>
3160
+ * @public
3161
+ */
3162
+ export interface S3LogConfiguration {
3163
+ /**
3164
+ * <p>The S3 bucket name where logs are delivered.</p>
3165
+ * @public
3166
+ */
3167
+ bucket: string | undefined;
3168
+ /**
3169
+ * <p>The S3 path prefix that determines where log files are stored.</p>
3170
+ * @public
3171
+ */
3172
+ keyPrefix?: string | undefined;
3173
+ /**
3174
+ * <p>The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.</p>
3175
+ * @public
3176
+ */
3177
+ bucketOwner?: string | undefined;
3178
+ /**
3179
+ * <p>The format of the LogFile that is written to S3.</p>
3180
+ * @public
3181
+ */
3182
+ logFileFormat: LogFileFormat | undefined;
3183
+ /**
3184
+ * <p>The folder structure that defines the organizational structure for log files in S3.</p>
3185
+ * @public
3186
+ */
3187
+ folderStructure: FolderStructure | undefined;
3188
+ }
3189
+ /**
3190
+ * <p>The configuration of the log.</p>
3191
+ * @public
3192
+ */
3193
+ export interface LogConfiguration {
3194
+ /**
3195
+ * <p>The configuration for delivering the logs to S3.</p>
3196
+ * @public
3197
+ */
3198
+ s3?: S3LogConfiguration | undefined;
3199
+ }
3200
+ /**
3201
+ * @public
3202
+ */
3203
+ export interface CreateSessionLoggerRequest {
3204
+ /**
3205
+ * <p>The filter that specifies the events to monitor.</p>
3206
+ * @public
3207
+ */
3208
+ eventFilter: EventFilter | undefined;
3209
+ /**
3210
+ * <p>The configuration that specifies where logs are delivered.</p>
3211
+ * @public
3212
+ */
3213
+ logConfiguration: LogConfiguration | undefined;
3214
+ /**
3215
+ * <p>The human-readable display name for the session logger resource.</p>
3216
+ * @public
3217
+ */
3218
+ displayName?: string | undefined;
3219
+ /**
3220
+ * <p>The custom managed key of the session logger.</p>
3221
+ * @public
3222
+ */
3223
+ customerManagedKey?: string | undefined;
3224
+ /**
3225
+ * <p>The additional encryption context of the session logger.</p>
3226
+ * @public
3227
+ */
3228
+ additionalEncryptionContext?: Record<string, string> | undefined;
3229
+ /**
3230
+ * <p>The tags to add to the session logger.</p>
3231
+ * @public
3232
+ */
3233
+ tags?: Tag[] | undefined;
3234
+ /**
3235
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request. If you do not specify a client token, one is automatically generated by the AWS SDK.</p>
3236
+ * @public
3237
+ */
3238
+ clientToken?: string | undefined;
3239
+ }
3240
+ /**
3241
+ * @public
3242
+ */
3243
+ export interface CreateSessionLoggerResponse {
3244
+ /**
3245
+ * <p>The ARN of the session logger.</p>
3246
+ * @public
3247
+ */
3248
+ sessionLoggerArn: string | undefined;
3249
+ }
3250
+ /**
3251
+ * @public
3252
+ */
3253
+ export interface DeleteSessionLoggerRequest {
3254
+ /**
3255
+ * <p>The ARN of the session logger.</p>
3256
+ * @public
3257
+ */
3258
+ sessionLoggerArn: string | undefined;
3259
+ }
3260
+ /**
3261
+ * @public
3262
+ */
3263
+ export interface DeleteSessionLoggerResponse {
3264
+ }
3265
+ /**
3266
+ * @public
3267
+ */
3268
+ export interface GetSessionLoggerRequest {
3269
+ /**
3270
+ * <p>The ARN of the session logger.</p>
3271
+ * @public
3272
+ */
3273
+ sessionLoggerArn: string | undefined;
3274
+ }
3275
+ /**
3276
+ * <p>The session logger resource.</p>
3277
+ * @public
3278
+ */
3279
+ export interface SessionLogger {
3280
+ /**
3281
+ * <p>The ARN of the session logger resource.</p>
3282
+ * @public
3283
+ */
3284
+ sessionLoggerArn: string | undefined;
3285
+ /**
3286
+ * <p>The filter that specifies which events to monitor.</p>
3287
+ * @public
3288
+ */
3289
+ eventFilter?: EventFilter | undefined;
3290
+ /**
3291
+ * <p>The configuration that specifies where logs are fowarded.</p>
3292
+ * @public
3293
+ */
3294
+ logConfiguration?: LogConfiguration | undefined;
3295
+ /**
3296
+ * <p>The custom managed key of the session logger.</p>
3297
+ * @public
3298
+ */
3299
+ customerManagedKey?: string | undefined;
3300
+ /**
3301
+ * <p>The additional encryption context of the session logger.</p>
3302
+ * @public
3303
+ */
3304
+ additionalEncryptionContext?: Record<string, string> | undefined;
3305
+ /**
3306
+ * <p>The associated portal ARN.</p>
3307
+ * @public
3308
+ */
3309
+ associatedPortalArns?: string[] | undefined;
3310
+ /**
3311
+ * <p>The human-readable display name.</p>
3312
+ * @public
3313
+ */
3314
+ displayName?: string | undefined;
3315
+ /**
3316
+ * <p>The date the session logger resource was created.</p>
3317
+ * @public
3318
+ */
3319
+ creationDate?: Date | undefined;
3320
+ }
3321
+ /**
3322
+ * @public
3323
+ */
3324
+ export interface GetSessionLoggerResponse {
3325
+ /**
3326
+ * <p>The session logger details.</p>
3327
+ * @public
3328
+ */
3329
+ sessionLogger?: SessionLogger | undefined;
3330
+ }
3331
+ /**
3332
+ * @public
3333
+ */
3334
+ export interface ListSessionLoggersRequest {
3335
+ /**
3336
+ * <p>The pagination token used to retrieve the next page of results for this operation.</p>
3337
+ * @public
3338
+ */
3339
+ nextToken?: string | undefined;
3340
+ /**
3341
+ * <p>The maximum number of results to be included in the next page.</p>
3342
+ * @public
3343
+ */
3344
+ maxResults?: number | undefined;
3345
+ }
3346
+ /**
3347
+ * <p>The summary of the session logger resource.</p>
3348
+ * @public
3349
+ */
3350
+ export interface SessionLoggerSummary {
3351
+ /**
3352
+ * <p>The ARN of the session logger resource.</p>
3353
+ * @public
3354
+ */
3355
+ sessionLoggerArn: string | undefined;
3356
+ /**
3357
+ * <p>The configuration that specifies where the logs are fowarded.</p>
3358
+ * @public
3359
+ */
3360
+ logConfiguration?: LogConfiguration | undefined;
3361
+ /**
3362
+ * <p>The human-readable display name.</p>
3363
+ * @public
3364
+ */
3365
+ displayName?: string | undefined;
3366
+ /**
3367
+ * <p>The date the session logger resource was created.</p>
3368
+ * @public
3369
+ */
3370
+ creationDate?: Date | undefined;
3371
+ }
3372
+ /**
3373
+ * @public
3374
+ */
3375
+ export interface ListSessionLoggersResponse {
3376
+ /**
3377
+ * <p>The list of session loggers, including summaries of their details.</p>
3378
+ * @public
3379
+ */
3380
+ sessionLoggers?: SessionLoggerSummary[] | undefined;
3381
+ /**
3382
+ * <p>The pagination token used to retrieve the next page of results for this operation.</p>
3383
+ * @public
3384
+ */
3385
+ nextToken?: string | undefined;
3386
+ }
3387
+ /**
3388
+ * @public
3389
+ */
3390
+ export interface UpdateSessionLoggerRequest {
3391
+ /**
3392
+ * <p>The ARN of the session logger to update.</p>
3393
+ * @public
3394
+ */
3395
+ sessionLoggerArn: string | undefined;
3396
+ /**
3397
+ * <p>The updated eventFilter.</p>
3398
+ * @public
3399
+ */
3400
+ eventFilter?: EventFilter | undefined;
3401
+ /**
3402
+ * <p>The updated logConfiguration.</p>
3403
+ * @public
3404
+ */
3405
+ logConfiguration?: LogConfiguration | undefined;
3406
+ /**
3407
+ * <p>The updated display name.</p>
3408
+ * @public
3409
+ */
3410
+ displayName?: string | undefined;
3411
+ }
3412
+ /**
3413
+ * @public
3414
+ */
3415
+ export interface UpdateSessionLoggerResponse {
3416
+ /**
3417
+ * <p>The updated details of the session logger.</p>
3418
+ * @public
3419
+ */
3420
+ sessionLogger: SessionLogger | undefined;
3421
+ }
3006
3422
  /**
3007
3423
  * @public
3008
3424
  */
@@ -4287,6 +4703,42 @@ export declare const UpdatePortalRequestFilterSensitiveLog: (obj: UpdatePortalRe
4287
4703
  * @internal
4288
4704
  */
4289
4705
  export declare const UpdatePortalResponseFilterSensitiveLog: (obj: UpdatePortalResponse) => any;
4706
+ /**
4707
+ * @internal
4708
+ */
4709
+ export declare const S3LogConfigurationFilterSensitiveLog: (obj: S3LogConfiguration) => any;
4710
+ /**
4711
+ * @internal
4712
+ */
4713
+ export declare const LogConfigurationFilterSensitiveLog: (obj: LogConfiguration) => any;
4714
+ /**
4715
+ * @internal
4716
+ */
4717
+ export declare const CreateSessionLoggerRequestFilterSensitiveLog: (obj: CreateSessionLoggerRequest) => any;
4718
+ /**
4719
+ * @internal
4720
+ */
4721
+ export declare const SessionLoggerFilterSensitiveLog: (obj: SessionLogger) => any;
4722
+ /**
4723
+ * @internal
4724
+ */
4725
+ export declare const GetSessionLoggerResponseFilterSensitiveLog: (obj: GetSessionLoggerResponse) => any;
4726
+ /**
4727
+ * @internal
4728
+ */
4729
+ export declare const SessionLoggerSummaryFilterSensitiveLog: (obj: SessionLoggerSummary) => any;
4730
+ /**
4731
+ * @internal
4732
+ */
4733
+ export declare const ListSessionLoggersResponseFilterSensitiveLog: (obj: ListSessionLoggersResponse) => any;
4734
+ /**
4735
+ * @internal
4736
+ */
4737
+ export declare const UpdateSessionLoggerRequestFilterSensitiveLog: (obj: UpdateSessionLoggerRequest) => any;
4738
+ /**
4739
+ * @internal
4740
+ */
4741
+ export declare const UpdateSessionLoggerResponseFilterSensitiveLog: (obj: UpdateSessionLoggerResponse) => any;
4290
4742
  /**
4291
4743
  * @internal
4292
4744
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListSessionLoggersCommandInput, ListSessionLoggersCommandOutput } from "../commands/ListSessionLoggersCommand";
3
+ import { WorkSpacesWebPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListSessionLoggers: (config: WorkSpacesWebPaginationConfiguration, input: ListSessionLoggersCommandInput, ...rest: any[]) => Paginator<ListSessionLoggersCommandOutput>;
@@ -5,6 +5,7 @@ export * from "./ListIdentityProvidersPaginator";
5
5
  export * from "./ListIpAccessSettingsPaginator";
6
6
  export * from "./ListNetworkSettingsPaginator";
7
7
  export * from "./ListPortalsPaginator";
8
+ export * from "./ListSessionLoggersPaginator";
8
9
  export * from "./ListSessionsPaginator";
9
10
  export * from "./ListTrustStoreCertificatesPaginator";
10
11
  export * from "./ListTrustStoresPaginator";