aws-sdk-workspacesweb 1.4.0 → 1.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4cb340962f44341a8886ea1d80ab17d2f23824d5ae5bf199ca236cc095d40b7
4
- data.tar.gz: 026df9cbf913a580d4ed87df3304aa243b2d7cd4aea92c0588649fe901a4dbc9
3
+ metadata.gz: 6021725633ca1ae7c1dc0358fe31b6a965eaec819fdf053a0d83bc9c48133b5d
4
+ data.tar.gz: a799380337e166bf117ae751848eca7539f78df05376c663a20d5f5b1a1e294e
5
5
  SHA512:
6
- metadata.gz: 3d353472e29826076d3b544728083c0869d4cc999d1cf0272f9127026b71f88e45e26a66cabb3ea02804c5950e556c4022c65c59adc9a3d5dcbce38db4f11984
7
- data.tar.gz: a473103691133ba322602a5d7f0c14dde56ae921ec511ff4d0e025bede331d613e2da0cf7c61a27c7117fb38deb287a5152f2bafe0613fd6e00b378e64c9bcc0
6
+ metadata.gz: 7085df3083c3c0fd45626d4e6c8a5920fdb151448405812b166d61694abec15638875d89c983e285135bf8237c482d1c5de0ca99131108015df1be43f71e57c8
7
+ data.tar.gz: f57117619ab604960798114f78e8b0f86b4e82e33a66950d95e63f07d94bb27952fbcc044e6c21ecceabe14121a56df44030fbee30638105f21dc53469e1988d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2022-10-19)
5
+ ------------------
6
+
7
+ * Feature - WorkSpaces Web now supports user access logging for recording session start, stop, and URL navigation.
8
+
4
9
  1.4.0 (2022-05-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.5.0
@@ -453,6 +453,40 @@ module Aws::WorkSpacesWeb
453
453
  req.send_request(options)
454
454
  end
455
455
 
456
+ # Associates a user access logging settings resource with a web portal.
457
+ #
458
+ # @option params [required, String] :portal_arn
459
+ # The ARN of the web portal.
460
+ #
461
+ # @option params [required, String] :user_access_logging_settings_arn
462
+ # The ARN of the user access logging settings.
463
+ #
464
+ # @return [Types::AssociateUserAccessLoggingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
465
+ #
466
+ # * {Types::AssociateUserAccessLoggingSettingsResponse#portal_arn #portal_arn} => String
467
+ # * {Types::AssociateUserAccessLoggingSettingsResponse#user_access_logging_settings_arn #user_access_logging_settings_arn} => String
468
+ #
469
+ # @example Request syntax with placeholder values
470
+ #
471
+ # resp = client.associate_user_access_logging_settings({
472
+ # portal_arn: "ARN", # required
473
+ # user_access_logging_settings_arn: "ARN", # required
474
+ # })
475
+ #
476
+ # @example Response structure
477
+ #
478
+ # resp.portal_arn #=> String
479
+ # resp.user_access_logging_settings_arn #=> String
480
+ #
481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateUserAccessLoggingSettings AWS API Documentation
482
+ #
483
+ # @overload associate_user_access_logging_settings(params = {})
484
+ # @param [Hash] params ({})
485
+ def associate_user_access_logging_settings(params = {}, options = {})
486
+ req = build_request(:associate_user_access_logging_settings, params)
487
+ req.send_request(options)
488
+ end
489
+
456
490
  # Associates a user settings resource with a web portal.
457
491
  #
458
492
  # @option params [required, String] :portal_arn
@@ -857,6 +891,59 @@ module Aws::WorkSpacesWeb
857
891
  req.send_request(options)
858
892
  end
859
893
 
894
+ # Creates a user access logging settings resource that can be associated
895
+ # with a web portal.
896
+ #
897
+ # @option params [String] :client_token
898
+ # A unique, case-sensitive identifier that you provide to ensure the
899
+ # idempotency of the request. Idempotency ensures that an API request
900
+ # completes only once. With an idempotent request, if the original
901
+ # request completes successfully, subsequent retries with the same
902
+ # client token returns the result from the original successful request.
903
+ #
904
+ # If you do not specify a client token, one is automatically generated
905
+ # by the AWS SDK.
906
+ #
907
+ # **A suitable default value is auto-generated.** You should normally
908
+ # not need to pass this option.**
909
+ #
910
+ # @option params [required, String] :kinesis_stream_arn
911
+ # The ARN of the Kinesis stream.
912
+ #
913
+ # @option params [Array<Types::Tag>] :tags
914
+ # The tags to add to the user settings resource. A tag is a key-value
915
+ # pair.
916
+ #
917
+ # @return [Types::CreateUserAccessLoggingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
918
+ #
919
+ # * {Types::CreateUserAccessLoggingSettingsResponse#user_access_logging_settings_arn #user_access_logging_settings_arn} => String
920
+ #
921
+ # @example Request syntax with placeholder values
922
+ #
923
+ # resp = client.create_user_access_logging_settings({
924
+ # client_token: "ClientToken",
925
+ # kinesis_stream_arn: "KinesisStreamArn", # required
926
+ # tags: [
927
+ # {
928
+ # key: "TagKey", # required
929
+ # value: "TagValue", # required
930
+ # },
931
+ # ],
932
+ # })
933
+ #
934
+ # @example Response structure
935
+ #
936
+ # resp.user_access_logging_settings_arn #=> String
937
+ #
938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateUserAccessLoggingSettings AWS API Documentation
939
+ #
940
+ # @overload create_user_access_logging_settings(params = {})
941
+ # @param [Hash] params ({})
942
+ def create_user_access_logging_settings(params = {}, options = {})
943
+ req = build_request(:create_user_access_logging_settings, params)
944
+ req.send_request(options)
945
+ end
946
+
860
947
  # Creates a user settings resource that can be associated with a web
861
948
  # portal. Once associated with a web portal, user settings control how
862
949
  # users can transfer data between a streaming session and the their
@@ -1053,6 +1140,28 @@ module Aws::WorkSpacesWeb
1053
1140
  req.send_request(options)
1054
1141
  end
1055
1142
 
1143
+ # Deletes user access logging settings.
1144
+ #
1145
+ # @option params [required, String] :user_access_logging_settings_arn
1146
+ # The ARN of the user access logging settings.
1147
+ #
1148
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1149
+ #
1150
+ # @example Request syntax with placeholder values
1151
+ #
1152
+ # resp = client.delete_user_access_logging_settings({
1153
+ # user_access_logging_settings_arn: "ARN", # required
1154
+ # })
1155
+ #
1156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteUserAccessLoggingSettings AWS API Documentation
1157
+ #
1158
+ # @overload delete_user_access_logging_settings(params = {})
1159
+ # @param [Hash] params ({})
1160
+ def delete_user_access_logging_settings(params = {}, options = {})
1161
+ req = build_request(:delete_user_access_logging_settings, params)
1162
+ req.send_request(options)
1163
+ end
1164
+
1056
1165
  # Deletes user settings.
1057
1166
  #
1058
1167
  # @option params [required, String] :user_settings_arn
@@ -1141,6 +1250,28 @@ module Aws::WorkSpacesWeb
1141
1250
  req.send_request(options)
1142
1251
  end
1143
1252
 
1253
+ # Disassociates user access logging settings from a web portal.
1254
+ #
1255
+ # @option params [required, String] :portal_arn
1256
+ # The ARN of the web portal.
1257
+ #
1258
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1259
+ #
1260
+ # @example Request syntax with placeholder values
1261
+ #
1262
+ # resp = client.disassociate_user_access_logging_settings({
1263
+ # portal_arn: "ARN", # required
1264
+ # })
1265
+ #
1266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateUserAccessLoggingSettings AWS API Documentation
1267
+ #
1268
+ # @overload disassociate_user_access_logging_settings(params = {})
1269
+ # @param [Hash] params ({})
1270
+ def disassociate_user_access_logging_settings(params = {}, options = {})
1271
+ req = build_request(:disassociate_user_access_logging_settings, params)
1272
+ req.send_request(options)
1273
+ end
1274
+
1144
1275
  # Disassociates user settings from a web portal.
1145
1276
  #
1146
1277
  # @option params [required, String] :portal_arn
@@ -1289,6 +1420,7 @@ module Aws::WorkSpacesWeb
1289
1420
  # resp.portal.renderer_type #=> String, one of "AppStream"
1290
1421
  # resp.portal.status_reason #=> String
1291
1422
  # resp.portal.trust_store_arn #=> String
1423
+ # resp.portal.user_access_logging_settings_arn #=> String
1292
1424
  # resp.portal.user_settings_arn #=> String
1293
1425
  #
1294
1426
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetPortal AWS API Documentation
@@ -1399,6 +1531,37 @@ module Aws::WorkSpacesWeb
1399
1531
  req.send_request(options)
1400
1532
  end
1401
1533
 
1534
+ # Gets user access logging settings.
1535
+ #
1536
+ # @option params [required, String] :user_access_logging_settings_arn
1537
+ # The ARN of the user access logging settings.
1538
+ #
1539
+ # @return [Types::GetUserAccessLoggingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1540
+ #
1541
+ # * {Types::GetUserAccessLoggingSettingsResponse#user_access_logging_settings #user_access_logging_settings} => Types::UserAccessLoggingSettings
1542
+ #
1543
+ # @example Request syntax with placeholder values
1544
+ #
1545
+ # resp = client.get_user_access_logging_settings({
1546
+ # user_access_logging_settings_arn: "ARN", # required
1547
+ # })
1548
+ #
1549
+ # @example Response structure
1550
+ #
1551
+ # resp.user_access_logging_settings.associated_portal_arns #=> Array
1552
+ # resp.user_access_logging_settings.associated_portal_arns[0] #=> String
1553
+ # resp.user_access_logging_settings.kinesis_stream_arn #=> String
1554
+ # resp.user_access_logging_settings.user_access_logging_settings_arn #=> String
1555
+ #
1556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetUserAccessLoggingSettings AWS API Documentation
1557
+ #
1558
+ # @overload get_user_access_logging_settings(params = {})
1559
+ # @param [Hash] params ({})
1560
+ def get_user_access_logging_settings(params = {}, options = {})
1561
+ req = build_request(:get_user_access_logging_settings, params)
1562
+ req.send_request(options)
1563
+ end
1564
+
1402
1565
  # Gets user settings.
1403
1566
  #
1404
1567
  # @option params [required, String] :user_settings_arn
@@ -1594,6 +1757,7 @@ module Aws::WorkSpacesWeb
1594
1757
  # resp.portals[0].portal_status #=> String, one of "Incomplete", "Pending", "Active"
1595
1758
  # resp.portals[0].renderer_type #=> String, one of "AppStream"
1596
1759
  # resp.portals[0].trust_store_arn #=> String
1760
+ # resp.portals[0].user_access_logging_settings_arn #=> String
1597
1761
  # resp.portals[0].user_settings_arn #=> String
1598
1762
  #
1599
1763
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListPortals AWS API Documentation
@@ -1721,6 +1885,45 @@ module Aws::WorkSpacesWeb
1721
1885
  req.send_request(options)
1722
1886
  end
1723
1887
 
1888
+ # Retrieves a list of user access logging settings.
1889
+ #
1890
+ # @option params [Integer] :max_results
1891
+ # The maximum number of results to be included in the next page.
1892
+ #
1893
+ # @option params [String] :next_token
1894
+ # The pagination token used to retrieve the next page of results for
1895
+ # this operation.
1896
+ #
1897
+ # @return [Types::ListUserAccessLoggingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1898
+ #
1899
+ # * {Types::ListUserAccessLoggingSettingsResponse#next_token #next_token} => String
1900
+ # * {Types::ListUserAccessLoggingSettingsResponse#user_access_logging_settings #user_access_logging_settings} => Array&lt;Types::UserAccessLoggingSettingsSummary&gt;
1901
+ #
1902
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1903
+ #
1904
+ # @example Request syntax with placeholder values
1905
+ #
1906
+ # resp = client.list_user_access_logging_settings({
1907
+ # max_results: 1,
1908
+ # next_token: "PaginationToken",
1909
+ # })
1910
+ #
1911
+ # @example Response structure
1912
+ #
1913
+ # resp.next_token #=> String
1914
+ # resp.user_access_logging_settings #=> Array
1915
+ # resp.user_access_logging_settings[0].kinesis_stream_arn #=> String
1916
+ # resp.user_access_logging_settings[0].user_access_logging_settings_arn #=> String
1917
+ #
1918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListUserAccessLoggingSettings AWS API Documentation
1919
+ #
1920
+ # @overload list_user_access_logging_settings(params = {})
1921
+ # @param [Hash] params ({})
1922
+ def list_user_access_logging_settings(params = {}, options = {})
1923
+ req = build_request(:list_user_access_logging_settings, params)
1924
+ req.send_request(options)
1925
+ end
1926
+
1724
1927
  # Retrieves a list of user settings.
1725
1928
  #
1726
1929
  # @option params [Integer] :max_results
@@ -2105,6 +2308,7 @@ module Aws::WorkSpacesWeb
2105
2308
  # resp.portal.renderer_type #=> String, one of "AppStream"
2106
2309
  # resp.portal.status_reason #=> String
2107
2310
  # resp.portal.trust_store_arn #=> String
2311
+ # resp.portal.user_access_logging_settings_arn #=> String
2108
2312
  # resp.portal.user_settings_arn #=> String
2109
2313
  #
2110
2314
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdatePortal AWS API Documentation
@@ -2166,6 +2370,55 @@ module Aws::WorkSpacesWeb
2166
2370
  req.send_request(options)
2167
2371
  end
2168
2372
 
2373
+ # Updates the user access logging settings.
2374
+ #
2375
+ # @option params [String] :client_token
2376
+ # A unique, case-sensitive identifier that you provide to ensure the
2377
+ # idempotency of the request. Idempotency ensures that an API request
2378
+ # completes only once. With an idempotent request, if the original
2379
+ # request completes successfully, subsequent retries with the same
2380
+ # client token return the result from the original successful request.
2381
+ #
2382
+ # If you do not specify a client token, one is automatically generated
2383
+ # by the AWS SDK.
2384
+ #
2385
+ # **A suitable default value is auto-generated.** You should normally
2386
+ # not need to pass this option.**
2387
+ #
2388
+ # @option params [String] :kinesis_stream_arn
2389
+ # The ARN of the Kinesis stream.
2390
+ #
2391
+ # @option params [required, String] :user_access_logging_settings_arn
2392
+ # The ARN of the user access logging settings.
2393
+ #
2394
+ # @return [Types::UpdateUserAccessLoggingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2395
+ #
2396
+ # * {Types::UpdateUserAccessLoggingSettingsResponse#user_access_logging_settings #user_access_logging_settings} => Types::UserAccessLoggingSettings
2397
+ #
2398
+ # @example Request syntax with placeholder values
2399
+ #
2400
+ # resp = client.update_user_access_logging_settings({
2401
+ # client_token: "ClientToken",
2402
+ # kinesis_stream_arn: "KinesisStreamArn",
2403
+ # user_access_logging_settings_arn: "ARN", # required
2404
+ # })
2405
+ #
2406
+ # @example Response structure
2407
+ #
2408
+ # resp.user_access_logging_settings.associated_portal_arns #=> Array
2409
+ # resp.user_access_logging_settings.associated_portal_arns[0] #=> String
2410
+ # resp.user_access_logging_settings.kinesis_stream_arn #=> String
2411
+ # resp.user_access_logging_settings.user_access_logging_settings_arn #=> String
2412
+ #
2413
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateUserAccessLoggingSettings AWS API Documentation
2414
+ #
2415
+ # @overload update_user_access_logging_settings(params = {})
2416
+ # @param [Hash] params ({})
2417
+ def update_user_access_logging_settings(params = {}, options = {})
2418
+ req = build_request(:update_user_access_logging_settings, params)
2419
+ req.send_request(options)
2420
+ end
2421
+
2169
2422
  # Updates the user settings.
2170
2423
  #
2171
2424
  # @option params [String] :client_token
@@ -2265,7 +2518,7 @@ module Aws::WorkSpacesWeb
2265
2518
  params: params,
2266
2519
  config: config)
2267
2520
  context[:gem_name] = 'aws-sdk-workspacesweb'
2268
- context[:gem_version] = '1.4.0'
2521
+ context[:gem_version] = '1.5.0'
2269
2522
  Seahorse::Client::Request.new(handlers, context)
2270
2523
  end
2271
2524
 
@@ -22,6 +22,8 @@ module Aws::WorkSpacesWeb
22
22
  AssociateNetworkSettingsResponse = Shapes::StructureShape.new(name: 'AssociateNetworkSettingsResponse')
23
23
  AssociateTrustStoreRequest = Shapes::StructureShape.new(name: 'AssociateTrustStoreRequest')
24
24
  AssociateTrustStoreResponse = Shapes::StructureShape.new(name: 'AssociateTrustStoreResponse')
25
+ AssociateUserAccessLoggingSettingsRequest = Shapes::StructureShape.new(name: 'AssociateUserAccessLoggingSettingsRequest')
26
+ AssociateUserAccessLoggingSettingsResponse = Shapes::StructureShape.new(name: 'AssociateUserAccessLoggingSettingsResponse')
25
27
  AssociateUserSettingsRequest = Shapes::StructureShape.new(name: 'AssociateUserSettingsRequest')
26
28
  AssociateUserSettingsResponse = Shapes::StructureShape.new(name: 'AssociateUserSettingsResponse')
27
29
  BrowserPolicy = Shapes::StringShape.new(name: 'BrowserPolicy')
@@ -49,6 +51,8 @@ module Aws::WorkSpacesWeb
49
51
  CreatePortalResponse = Shapes::StructureShape.new(name: 'CreatePortalResponse')
50
52
  CreateTrustStoreRequest = Shapes::StructureShape.new(name: 'CreateTrustStoreRequest')
51
53
  CreateTrustStoreResponse = Shapes::StructureShape.new(name: 'CreateTrustStoreResponse')
54
+ CreateUserAccessLoggingSettingsRequest = Shapes::StructureShape.new(name: 'CreateUserAccessLoggingSettingsRequest')
55
+ CreateUserAccessLoggingSettingsResponse = Shapes::StructureShape.new(name: 'CreateUserAccessLoggingSettingsResponse')
52
56
  CreateUserSettingsRequest = Shapes::StructureShape.new(name: 'CreateUserSettingsRequest')
53
57
  CreateUserSettingsResponse = Shapes::StructureShape.new(name: 'CreateUserSettingsResponse')
54
58
  DeleteBrowserSettingsRequest = Shapes::StructureShape.new(name: 'DeleteBrowserSettingsRequest')
@@ -61,6 +65,8 @@ module Aws::WorkSpacesWeb
61
65
  DeletePortalResponse = Shapes::StructureShape.new(name: 'DeletePortalResponse')
62
66
  DeleteTrustStoreRequest = Shapes::StructureShape.new(name: 'DeleteTrustStoreRequest')
63
67
  DeleteTrustStoreResponse = Shapes::StructureShape.new(name: 'DeleteTrustStoreResponse')
68
+ DeleteUserAccessLoggingSettingsRequest = Shapes::StructureShape.new(name: 'DeleteUserAccessLoggingSettingsRequest')
69
+ DeleteUserAccessLoggingSettingsResponse = Shapes::StructureShape.new(name: 'DeleteUserAccessLoggingSettingsResponse')
64
70
  DeleteUserSettingsRequest = Shapes::StructureShape.new(name: 'DeleteUserSettingsRequest')
65
71
  DeleteUserSettingsResponse = Shapes::StructureShape.new(name: 'DeleteUserSettingsResponse')
66
72
  DisassociateBrowserSettingsRequest = Shapes::StructureShape.new(name: 'DisassociateBrowserSettingsRequest')
@@ -69,6 +75,8 @@ module Aws::WorkSpacesWeb
69
75
  DisassociateNetworkSettingsResponse = Shapes::StructureShape.new(name: 'DisassociateNetworkSettingsResponse')
70
76
  DisassociateTrustStoreRequest = Shapes::StructureShape.new(name: 'DisassociateTrustStoreRequest')
71
77
  DisassociateTrustStoreResponse = Shapes::StructureShape.new(name: 'DisassociateTrustStoreResponse')
78
+ DisassociateUserAccessLoggingSettingsRequest = Shapes::StructureShape.new(name: 'DisassociateUserAccessLoggingSettingsRequest')
79
+ DisassociateUserAccessLoggingSettingsResponse = Shapes::StructureShape.new(name: 'DisassociateUserAccessLoggingSettingsResponse')
72
80
  DisassociateUserSettingsRequest = Shapes::StructureShape.new(name: 'DisassociateUserSettingsRequest')
73
81
  DisassociateUserSettingsResponse = Shapes::StructureShape.new(name: 'DisassociateUserSettingsResponse')
74
82
  DisconnectTimeoutInMinutes = Shapes::IntegerShape.new(name: 'DisconnectTimeoutInMinutes')
@@ -91,6 +99,8 @@ module Aws::WorkSpacesWeb
91
99
  GetTrustStoreCertificateResponse = Shapes::StructureShape.new(name: 'GetTrustStoreCertificateResponse')
92
100
  GetTrustStoreRequest = Shapes::StructureShape.new(name: 'GetTrustStoreRequest')
93
101
  GetTrustStoreResponse = Shapes::StructureShape.new(name: 'GetTrustStoreResponse')
102
+ GetUserAccessLoggingSettingsRequest = Shapes::StructureShape.new(name: 'GetUserAccessLoggingSettingsRequest')
103
+ GetUserAccessLoggingSettingsResponse = Shapes::StructureShape.new(name: 'GetUserAccessLoggingSettingsResponse')
94
104
  GetUserSettingsRequest = Shapes::StructureShape.new(name: 'GetUserSettingsRequest')
95
105
  GetUserSettingsResponse = Shapes::StructureShape.new(name: 'GetUserSettingsResponse')
96
106
  IdentityProvider = Shapes::StructureShape.new(name: 'IdentityProvider')
@@ -101,6 +111,7 @@ module Aws::WorkSpacesWeb
101
111
  IdentityProviderType = Shapes::StringShape.new(name: 'IdentityProviderType')
102
112
  IdleDisconnectTimeoutInMinutes = Shapes::IntegerShape.new(name: 'IdleDisconnectTimeoutInMinutes')
103
113
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
114
+ KinesisStreamArn = Shapes::StringShape.new(name: 'KinesisStreamArn')
104
115
  ListBrowserSettingsRequest = Shapes::StructureShape.new(name: 'ListBrowserSettingsRequest')
105
116
  ListBrowserSettingsResponse = Shapes::StructureShape.new(name: 'ListBrowserSettingsResponse')
106
117
  ListIdentityProvidersRequest = Shapes::StructureShape.new(name: 'ListIdentityProvidersRequest')
@@ -115,6 +126,8 @@ module Aws::WorkSpacesWeb
115
126
  ListTrustStoreCertificatesResponse = Shapes::StructureShape.new(name: 'ListTrustStoreCertificatesResponse')
116
127
  ListTrustStoresRequest = Shapes::StructureShape.new(name: 'ListTrustStoresRequest')
117
128
  ListTrustStoresResponse = Shapes::StructureShape.new(name: 'ListTrustStoresResponse')
129
+ ListUserAccessLoggingSettingsRequest = Shapes::StructureShape.new(name: 'ListUserAccessLoggingSettingsRequest')
130
+ ListUserAccessLoggingSettingsResponse = Shapes::StructureShape.new(name: 'ListUserAccessLoggingSettingsResponse')
118
131
  ListUserSettingsRequest = Shapes::StructureShape.new(name: 'ListUserSettingsRequest')
119
132
  ListUserSettingsResponse = Shapes::StructureShape.new(name: 'ListUserSettingsResponse')
120
133
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -168,8 +181,13 @@ module Aws::WorkSpacesWeb
168
181
  UpdatePortalResponse = Shapes::StructureShape.new(name: 'UpdatePortalResponse')
169
182
  UpdateTrustStoreRequest = Shapes::StructureShape.new(name: 'UpdateTrustStoreRequest')
170
183
  UpdateTrustStoreResponse = Shapes::StructureShape.new(name: 'UpdateTrustStoreResponse')
184
+ UpdateUserAccessLoggingSettingsRequest = Shapes::StructureShape.new(name: 'UpdateUserAccessLoggingSettingsRequest')
185
+ UpdateUserAccessLoggingSettingsResponse = Shapes::StructureShape.new(name: 'UpdateUserAccessLoggingSettingsResponse')
171
186
  UpdateUserSettingsRequest = Shapes::StructureShape.new(name: 'UpdateUserSettingsRequest')
172
187
  UpdateUserSettingsResponse = Shapes::StructureShape.new(name: 'UpdateUserSettingsResponse')
188
+ UserAccessLoggingSettings = Shapes::StructureShape.new(name: 'UserAccessLoggingSettings')
189
+ UserAccessLoggingSettingsList = Shapes::ListShape.new(name: 'UserAccessLoggingSettingsList')
190
+ UserAccessLoggingSettingsSummary = Shapes::StructureShape.new(name: 'UserAccessLoggingSettingsSummary')
173
191
  UserSettings = Shapes::StructureShape.new(name: 'UserSettings')
174
192
  UserSettingsList = Shapes::ListShape.new(name: 'UserSettingsList')
175
193
  UserSettingsSummary = Shapes::StructureShape.new(name: 'UserSettingsSummary')
@@ -209,6 +227,14 @@ module Aws::WorkSpacesWeb
209
227
  AssociateTrustStoreResponse.add_member(:trust_store_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "trustStoreArn"))
210
228
  AssociateTrustStoreResponse.struct_class = Types::AssociateTrustStoreResponse
211
229
 
230
+ AssociateUserAccessLoggingSettingsRequest.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "portalArn"))
231
+ AssociateUserAccessLoggingSettingsRequest.add_member(:user_access_logging_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "userAccessLoggingSettingsArn"))
232
+ AssociateUserAccessLoggingSettingsRequest.struct_class = Types::AssociateUserAccessLoggingSettingsRequest
233
+
234
+ AssociateUserAccessLoggingSettingsResponse.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "portalArn"))
235
+ AssociateUserAccessLoggingSettingsResponse.add_member(:user_access_logging_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "userAccessLoggingSettingsArn"))
236
+ AssociateUserAccessLoggingSettingsResponse.struct_class = Types::AssociateUserAccessLoggingSettingsResponse
237
+
212
238
  AssociateUserSettingsRequest.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "portalArn"))
213
239
  AssociateUserSettingsRequest.add_member(:user_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "userSettingsArn"))
214
240
  AssociateUserSettingsRequest.struct_class = Types::AssociateUserSettingsRequest
@@ -302,6 +328,14 @@ module Aws::WorkSpacesWeb
302
328
  CreateTrustStoreResponse.add_member(:trust_store_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "trustStoreArn"))
303
329
  CreateTrustStoreResponse.struct_class = Types::CreateTrustStoreResponse
304
330
 
331
+ CreateUserAccessLoggingSettingsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
332
+ CreateUserAccessLoggingSettingsRequest.add_member(:kinesis_stream_arn, Shapes::ShapeRef.new(shape: KinesisStreamArn, required: true, location_name: "kinesisStreamArn"))
333
+ CreateUserAccessLoggingSettingsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
334
+ CreateUserAccessLoggingSettingsRequest.struct_class = Types::CreateUserAccessLoggingSettingsRequest
335
+
336
+ CreateUserAccessLoggingSettingsResponse.add_member(:user_access_logging_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "userAccessLoggingSettingsArn"))
337
+ CreateUserAccessLoggingSettingsResponse.struct_class = Types::CreateUserAccessLoggingSettingsResponse
338
+
305
339
  CreateUserSettingsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
306
340
  CreateUserSettingsRequest.add_member(:copy_allowed, Shapes::ShapeRef.new(shape: EnabledType, required: true, location_name: "copyAllowed"))
307
341
  CreateUserSettingsRequest.add_member(:disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: DisconnectTimeoutInMinutes, location_name: "disconnectTimeoutInMinutes"))
@@ -341,6 +375,11 @@ module Aws::WorkSpacesWeb
341
375
 
342
376
  DeleteTrustStoreResponse.struct_class = Types::DeleteTrustStoreResponse
343
377
 
378
+ DeleteUserAccessLoggingSettingsRequest.add_member(:user_access_logging_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "userAccessLoggingSettingsArn"))
379
+ DeleteUserAccessLoggingSettingsRequest.struct_class = Types::DeleteUserAccessLoggingSettingsRequest
380
+
381
+ DeleteUserAccessLoggingSettingsResponse.struct_class = Types::DeleteUserAccessLoggingSettingsResponse
382
+
344
383
  DeleteUserSettingsRequest.add_member(:user_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "userSettingsArn"))
345
384
  DeleteUserSettingsRequest.struct_class = Types::DeleteUserSettingsRequest
346
385
 
@@ -361,6 +400,11 @@ module Aws::WorkSpacesWeb
361
400
 
362
401
  DisassociateTrustStoreResponse.struct_class = Types::DisassociateTrustStoreResponse
363
402
 
403
+ DisassociateUserAccessLoggingSettingsRequest.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "portalArn"))
404
+ DisassociateUserAccessLoggingSettingsRequest.struct_class = Types::DisassociateUserAccessLoggingSettingsRequest
405
+
406
+ DisassociateUserAccessLoggingSettingsResponse.struct_class = Types::DisassociateUserAccessLoggingSettingsResponse
407
+
364
408
  DisassociateUserSettingsRequest.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "portalArn"))
365
409
  DisassociateUserSettingsRequest.struct_class = Types::DisassociateUserSettingsRequest
366
410
 
@@ -414,6 +458,12 @@ module Aws::WorkSpacesWeb
414
458
  GetTrustStoreResponse.add_member(:trust_store, Shapes::ShapeRef.new(shape: TrustStore, location_name: "trustStore"))
415
459
  GetTrustStoreResponse.struct_class = Types::GetTrustStoreResponse
416
460
 
461
+ GetUserAccessLoggingSettingsRequest.add_member(:user_access_logging_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "userAccessLoggingSettingsArn"))
462
+ GetUserAccessLoggingSettingsRequest.struct_class = Types::GetUserAccessLoggingSettingsRequest
463
+
464
+ GetUserAccessLoggingSettingsResponse.add_member(:user_access_logging_settings, Shapes::ShapeRef.new(shape: UserAccessLoggingSettings, location_name: "userAccessLoggingSettings"))
465
+ GetUserAccessLoggingSettingsResponse.struct_class = Types::GetUserAccessLoggingSettingsResponse
466
+
417
467
  GetUserSettingsRequest.add_member(:user_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "userSettingsArn"))
418
468
  GetUserSettingsRequest.struct_class = Types::GetUserSettingsRequest
419
469
 
@@ -497,6 +547,14 @@ module Aws::WorkSpacesWeb
497
547
  ListTrustStoresResponse.add_member(:trust_stores, Shapes::ShapeRef.new(shape: TrustStoreSummaryList, location_name: "trustStores"))
498
548
  ListTrustStoresResponse.struct_class = Types::ListTrustStoresResponse
499
549
 
550
+ ListUserAccessLoggingSettingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
551
+ ListUserAccessLoggingSettingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
552
+ ListUserAccessLoggingSettingsRequest.struct_class = Types::ListUserAccessLoggingSettingsRequest
553
+
554
+ ListUserAccessLoggingSettingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
555
+ ListUserAccessLoggingSettingsResponse.add_member(:user_access_logging_settings, Shapes::ShapeRef.new(shape: UserAccessLoggingSettingsList, location_name: "userAccessLoggingSettings"))
556
+ ListUserAccessLoggingSettingsResponse.struct_class = Types::ListUserAccessLoggingSettingsResponse
557
+
500
558
  ListUserSettingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
501
559
  ListUserSettingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
502
560
  ListUserSettingsRequest.struct_class = Types::ListUserSettingsRequest
@@ -529,6 +587,7 @@ module Aws::WorkSpacesWeb
529
587
  Portal.add_member(:renderer_type, Shapes::ShapeRef.new(shape: RendererType, location_name: "rendererType"))
530
588
  Portal.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, location_name: "statusReason"))
531
589
  Portal.add_member(:trust_store_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "trustStoreArn"))
590
+ Portal.add_member(:user_access_logging_settings_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "userAccessLoggingSettingsArn"))
532
591
  Portal.add_member(:user_settings_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "userSettingsArn"))
533
592
  Portal.struct_class = Types::Portal
534
593
 
@@ -544,6 +603,7 @@ module Aws::WorkSpacesWeb
544
603
  PortalSummary.add_member(:portal_status, Shapes::ShapeRef.new(shape: PortalStatus, location_name: "portalStatus"))
545
604
  PortalSummary.add_member(:renderer_type, Shapes::ShapeRef.new(shape: RendererType, location_name: "rendererType"))
546
605
  PortalSummary.add_member(:trust_store_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "trustStoreArn"))
606
+ PortalSummary.add_member(:user_access_logging_settings_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "userAccessLoggingSettingsArn"))
547
607
  PortalSummary.add_member(:user_settings_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "userSettingsArn"))
548
608
  PortalSummary.struct_class = Types::PortalSummary
549
609
 
@@ -647,6 +707,14 @@ module Aws::WorkSpacesWeb
647
707
  UpdateTrustStoreResponse.add_member(:trust_store_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "trustStoreArn"))
648
708
  UpdateTrustStoreResponse.struct_class = Types::UpdateTrustStoreResponse
649
709
 
710
+ UpdateUserAccessLoggingSettingsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
711
+ UpdateUserAccessLoggingSettingsRequest.add_member(:kinesis_stream_arn, Shapes::ShapeRef.new(shape: KinesisStreamArn, location_name: "kinesisStreamArn"))
712
+ UpdateUserAccessLoggingSettingsRequest.add_member(:user_access_logging_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "userAccessLoggingSettingsArn"))
713
+ UpdateUserAccessLoggingSettingsRequest.struct_class = Types::UpdateUserAccessLoggingSettingsRequest
714
+
715
+ UpdateUserAccessLoggingSettingsResponse.add_member(:user_access_logging_settings, Shapes::ShapeRef.new(shape: UserAccessLoggingSettings, required: true, location_name: "userAccessLoggingSettings"))
716
+ UpdateUserAccessLoggingSettingsResponse.struct_class = Types::UpdateUserAccessLoggingSettingsResponse
717
+
650
718
  UpdateUserSettingsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
651
719
  UpdateUserSettingsRequest.add_member(:copy_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "copyAllowed"))
652
720
  UpdateUserSettingsRequest.add_member(:disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: DisconnectTimeoutInMinutes, location_name: "disconnectTimeoutInMinutes"))
@@ -661,6 +729,17 @@ module Aws::WorkSpacesWeb
661
729
  UpdateUserSettingsResponse.add_member(:user_settings, Shapes::ShapeRef.new(shape: UserSettings, required: true, location_name: "userSettings"))
662
730
  UpdateUserSettingsResponse.struct_class = Types::UpdateUserSettingsResponse
663
731
 
732
+ UserAccessLoggingSettings.add_member(:associated_portal_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "associatedPortalArns"))
733
+ UserAccessLoggingSettings.add_member(:kinesis_stream_arn, Shapes::ShapeRef.new(shape: KinesisStreamArn, location_name: "kinesisStreamArn"))
734
+ UserAccessLoggingSettings.add_member(:user_access_logging_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "userAccessLoggingSettingsArn"))
735
+ UserAccessLoggingSettings.struct_class = Types::UserAccessLoggingSettings
736
+
737
+ UserAccessLoggingSettingsList.member = Shapes::ShapeRef.new(shape: UserAccessLoggingSettingsSummary)
738
+
739
+ UserAccessLoggingSettingsSummary.add_member(:kinesis_stream_arn, Shapes::ShapeRef.new(shape: KinesisStreamArn, location_name: "kinesisStreamArn"))
740
+ UserAccessLoggingSettingsSummary.add_member(:user_access_logging_settings_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "userAccessLoggingSettingsArn"))
741
+ UserAccessLoggingSettingsSummary.struct_class = Types::UserAccessLoggingSettingsSummary
742
+
664
743
  UserSettings.add_member(:associated_portal_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "associatedPortalArns"))
665
744
  UserSettings.add_member(:copy_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "copyAllowed"))
666
745
  UserSettings.add_member(:disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: DisconnectTimeoutInMinutes, location_name: "disconnectTimeoutInMinutes"))
@@ -754,6 +833,20 @@ module Aws::WorkSpacesWeb
754
833
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
755
834
  end)
756
835
 
836
+ api.add_operation(:associate_user_access_logging_settings, Seahorse::Model::Operation.new.tap do |o|
837
+ o.name = "AssociateUserAccessLoggingSettings"
838
+ o.http_method = "PUT"
839
+ o.http_request_uri = "/portals/{portalArn+}/userAccessLoggingSettings"
840
+ o.input = Shapes::ShapeRef.new(shape: AssociateUserAccessLoggingSettingsRequest)
841
+ o.output = Shapes::ShapeRef.new(shape: AssociateUserAccessLoggingSettingsResponse)
842
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
843
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
844
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
845
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
847
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
848
+ end)
849
+
757
850
  api.add_operation(:associate_user_settings, Seahorse::Model::Operation.new.tap do |o|
758
851
  o.name = "AssociateUserSettings"
759
852
  o.http_method = "PUT"
@@ -841,6 +934,20 @@ module Aws::WorkSpacesWeb
841
934
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
842
935
  end)
843
936
 
937
+ api.add_operation(:create_user_access_logging_settings, Seahorse::Model::Operation.new.tap do |o|
938
+ o.name = "CreateUserAccessLoggingSettings"
939
+ o.http_method = "POST"
940
+ o.http_request_uri = "/userAccessLoggingSettings"
941
+ o.input = Shapes::ShapeRef.new(shape: CreateUserAccessLoggingSettingsRequest)
942
+ o.output = Shapes::ShapeRef.new(shape: CreateUserAccessLoggingSettingsResponse)
943
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
944
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
945
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
946
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
947
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
948
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
949
+ end)
950
+
844
951
  api.add_operation(:create_user_settings, Seahorse::Model::Operation.new.tap do |o|
845
952
  o.name = "CreateUserSettings"
846
953
  o.http_method = "POST"
@@ -920,6 +1027,19 @@ module Aws::WorkSpacesWeb
920
1027
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
921
1028
  end)
922
1029
 
1030
+ api.add_operation(:delete_user_access_logging_settings, Seahorse::Model::Operation.new.tap do |o|
1031
+ o.name = "DeleteUserAccessLoggingSettings"
1032
+ o.http_method = "DELETE"
1033
+ o.http_request_uri = "/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}"
1034
+ o.input = Shapes::ShapeRef.new(shape: DeleteUserAccessLoggingSettingsRequest)
1035
+ o.output = Shapes::ShapeRef.new(shape: DeleteUserAccessLoggingSettingsResponse)
1036
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1038
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1041
+ end)
1042
+
923
1043
  api.add_operation(:delete_user_settings, Seahorse::Model::Operation.new.tap do |o|
924
1044
  o.name = "DeleteUserSettings"
925
1045
  o.http_method = "DELETE"
@@ -972,6 +1092,19 @@ module Aws::WorkSpacesWeb
972
1092
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
973
1093
  end)
974
1094
 
1095
+ api.add_operation(:disassociate_user_access_logging_settings, Seahorse::Model::Operation.new.tap do |o|
1096
+ o.name = "DisassociateUserAccessLoggingSettings"
1097
+ o.http_method = "DELETE"
1098
+ o.http_request_uri = "/portals/{portalArn+}/userAccessLoggingSettings"
1099
+ o.input = Shapes::ShapeRef.new(shape: DisassociateUserAccessLoggingSettingsRequest)
1100
+ o.output = Shapes::ShapeRef.new(shape: DisassociateUserAccessLoggingSettingsResponse)
1101
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1102
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1103
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1104
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1105
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1106
+ end)
1107
+
975
1108
  api.add_operation(:disassociate_user_settings, Seahorse::Model::Operation.new.tap do |o|
976
1109
  o.name = "DisassociateUserSettings"
977
1110
  o.http_method = "DELETE"
@@ -1076,6 +1209,19 @@ module Aws::WorkSpacesWeb
1076
1209
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1077
1210
  end)
1078
1211
 
1212
+ api.add_operation(:get_user_access_logging_settings, Seahorse::Model::Operation.new.tap do |o|
1213
+ o.name = "GetUserAccessLoggingSettings"
1214
+ o.http_method = "GET"
1215
+ o.http_request_uri = "/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}"
1216
+ o.input = Shapes::ShapeRef.new(shape: GetUserAccessLoggingSettingsRequest)
1217
+ o.output = Shapes::ShapeRef.new(shape: GetUserAccessLoggingSettingsResponse)
1218
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1219
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1220
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1221
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1222
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1223
+ end)
1224
+
1079
1225
  api.add_operation(:get_user_settings, Seahorse::Model::Operation.new.tap do |o|
1080
1226
  o.name = "GetUserSettings"
1081
1227
  o.http_method = "GET"
@@ -1211,6 +1357,24 @@ module Aws::WorkSpacesWeb
1211
1357
  )
1212
1358
  end)
1213
1359
 
1360
+ api.add_operation(:list_user_access_logging_settings, Seahorse::Model::Operation.new.tap do |o|
1361
+ o.name = "ListUserAccessLoggingSettings"
1362
+ o.http_method = "GET"
1363
+ o.http_request_uri = "/userAccessLoggingSettings"
1364
+ o.input = Shapes::ShapeRef.new(shape: ListUserAccessLoggingSettingsRequest)
1365
+ o.output = Shapes::ShapeRef.new(shape: ListUserAccessLoggingSettingsResponse)
1366
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1367
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1368
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1369
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1370
+ o[:pager] = Aws::Pager.new(
1371
+ limit_key: "max_results",
1372
+ tokens: {
1373
+ "next_token" => "next_token"
1374
+ }
1375
+ )
1376
+ end)
1377
+
1214
1378
  api.add_operation(:list_user_settings, Seahorse::Model::Operation.new.tap do |o|
1215
1379
  o.name = "ListUserSettings"
1216
1380
  o.http_method = "GET"
@@ -1322,6 +1486,19 @@ module Aws::WorkSpacesWeb
1322
1486
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1323
1487
  end)
1324
1488
 
1489
+ api.add_operation(:update_user_access_logging_settings, Seahorse::Model::Operation.new.tap do |o|
1490
+ o.name = "UpdateUserAccessLoggingSettings"
1491
+ o.http_method = "PATCH"
1492
+ o.http_request_uri = "/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}"
1493
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserAccessLoggingSettingsRequest)
1494
+ o.output = Shapes::ShapeRef.new(shape: UpdateUserAccessLoggingSettingsResponse)
1495
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1496
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1497
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1498
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1499
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1500
+ end)
1501
+
1325
1502
  api.add_operation(:update_user_settings, Seahorse::Model::Operation.new.tap do |o|
1326
1503
  o.name = "UpdateUserSettings"
1327
1504
  o.http_method = "PATCH"
@@ -149,6 +149,48 @@ module Aws::WorkSpacesWeb
149
149
  include Aws::Structure
150
150
  end
151
151
 
152
+ # @note When making an API call, you may pass AssociateUserAccessLoggingSettingsRequest
153
+ # data as a hash:
154
+ #
155
+ # {
156
+ # portal_arn: "ARN", # required
157
+ # user_access_logging_settings_arn: "ARN", # required
158
+ # }
159
+ #
160
+ # @!attribute [rw] portal_arn
161
+ # The ARN of the web portal.
162
+ # @return [String]
163
+ #
164
+ # @!attribute [rw] user_access_logging_settings_arn
165
+ # The ARN of the user access logging settings.
166
+ # @return [String]
167
+ #
168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateUserAccessLoggingSettingsRequest AWS API Documentation
169
+ #
170
+ class AssociateUserAccessLoggingSettingsRequest < Struct.new(
171
+ :portal_arn,
172
+ :user_access_logging_settings_arn)
173
+ SENSITIVE = []
174
+ include Aws::Structure
175
+ end
176
+
177
+ # @!attribute [rw] portal_arn
178
+ # The ARN of the web portal.
179
+ # @return [String]
180
+ #
181
+ # @!attribute [rw] user_access_logging_settings_arn
182
+ # The ARN of the user access logging settings.
183
+ # @return [String]
184
+ #
185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateUserAccessLoggingSettingsResponse AWS API Documentation
186
+ #
187
+ class AssociateUserAccessLoggingSettingsResponse < Struct.new(
188
+ :portal_arn,
189
+ :user_access_logging_settings_arn)
190
+ SENSITIVE = []
191
+ include Aws::Structure
192
+ end
193
+
152
194
  # @note When making an API call, you may pass AssociateUserSettingsRequest
153
195
  # data as a hash:
154
196
  #
@@ -748,6 +790,66 @@ module Aws::WorkSpacesWeb
748
790
  include Aws::Structure
749
791
  end
750
792
 
793
+ # @note When making an API call, you may pass CreateUserAccessLoggingSettingsRequest
794
+ # data as a hash:
795
+ #
796
+ # {
797
+ # client_token: "ClientToken",
798
+ # kinesis_stream_arn: "KinesisStreamArn", # required
799
+ # tags: [
800
+ # {
801
+ # key: "TagKey", # required
802
+ # value: "TagValue", # required
803
+ # },
804
+ # ],
805
+ # }
806
+ #
807
+ # @!attribute [rw] client_token
808
+ # A unique, case-sensitive identifier that you provide to ensure the
809
+ # idempotency of the request. Idempotency ensures that an API request
810
+ # completes only once. With an idempotent request, if the original
811
+ # request completes successfully, subsequent retries with the same
812
+ # client token returns the result from the original successful
813
+ # request.
814
+ #
815
+ # If you do not specify a client token, one is automatically generated
816
+ # by the AWS SDK.
817
+ #
818
+ # **A suitable default value is auto-generated.** You should normally
819
+ # not need to pass this option.
820
+ # @return [String]
821
+ #
822
+ # @!attribute [rw] kinesis_stream_arn
823
+ # The ARN of the Kinesis stream.
824
+ # @return [String]
825
+ #
826
+ # @!attribute [rw] tags
827
+ # The tags to add to the user settings resource. A tag is a key-value
828
+ # pair.
829
+ # @return [Array<Types::Tag>]
830
+ #
831
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateUserAccessLoggingSettingsRequest AWS API Documentation
832
+ #
833
+ class CreateUserAccessLoggingSettingsRequest < Struct.new(
834
+ :client_token,
835
+ :kinesis_stream_arn,
836
+ :tags)
837
+ SENSITIVE = []
838
+ include Aws::Structure
839
+ end
840
+
841
+ # @!attribute [rw] user_access_logging_settings_arn
842
+ # The ARN of the user access logging settings.
843
+ # @return [String]
844
+ #
845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateUserAccessLoggingSettingsResponse AWS API Documentation
846
+ #
847
+ class CreateUserAccessLoggingSettingsResponse < Struct.new(
848
+ :user_access_logging_settings_arn)
849
+ SENSITIVE = []
850
+ include Aws::Structure
851
+ end
852
+
751
853
  # @note When making an API call, you may pass CreateUserSettingsRequest
752
854
  # data as a hash:
753
855
  #
@@ -966,6 +1068,29 @@ module Aws::WorkSpacesWeb
966
1068
  #
967
1069
  class DeleteTrustStoreResponse < Aws::EmptyStructure; end
968
1070
 
1071
+ # @note When making an API call, you may pass DeleteUserAccessLoggingSettingsRequest
1072
+ # data as a hash:
1073
+ #
1074
+ # {
1075
+ # user_access_logging_settings_arn: "ARN", # required
1076
+ # }
1077
+ #
1078
+ # @!attribute [rw] user_access_logging_settings_arn
1079
+ # The ARN of the user access logging settings.
1080
+ # @return [String]
1081
+ #
1082
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteUserAccessLoggingSettingsRequest AWS API Documentation
1083
+ #
1084
+ class DeleteUserAccessLoggingSettingsRequest < Struct.new(
1085
+ :user_access_logging_settings_arn)
1086
+ SENSITIVE = []
1087
+ include Aws::Structure
1088
+ end
1089
+
1090
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteUserAccessLoggingSettingsResponse AWS API Documentation
1091
+ #
1092
+ class DeleteUserAccessLoggingSettingsResponse < Aws::EmptyStructure; end
1093
+
969
1094
  # @note When making an API call, you may pass DeleteUserSettingsRequest
970
1095
  # data as a hash:
971
1096
  #
@@ -1058,6 +1183,29 @@ module Aws::WorkSpacesWeb
1058
1183
  #
1059
1184
  class DisassociateTrustStoreResponse < Aws::EmptyStructure; end
1060
1185
 
1186
+ # @note When making an API call, you may pass DisassociateUserAccessLoggingSettingsRequest
1187
+ # data as a hash:
1188
+ #
1189
+ # {
1190
+ # portal_arn: "ARN", # required
1191
+ # }
1192
+ #
1193
+ # @!attribute [rw] portal_arn
1194
+ # The ARN of the web portal.
1195
+ # @return [String]
1196
+ #
1197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateUserAccessLoggingSettingsRequest AWS API Documentation
1198
+ #
1199
+ class DisassociateUserAccessLoggingSettingsRequest < Struct.new(
1200
+ :portal_arn)
1201
+ SENSITIVE = []
1202
+ include Aws::Structure
1203
+ end
1204
+
1205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateUserAccessLoggingSettingsResponse AWS API Documentation
1206
+ #
1207
+ class DisassociateUserAccessLoggingSettingsResponse < Aws::EmptyStructure; end
1208
+
1061
1209
  # @note When making an API call, you may pass DisassociateUserSettingsRequest
1062
1210
  # data as a hash:
1063
1211
  #
@@ -1314,6 +1462,37 @@ module Aws::WorkSpacesWeb
1314
1462
  include Aws::Structure
1315
1463
  end
1316
1464
 
1465
+ # @note When making an API call, you may pass GetUserAccessLoggingSettingsRequest
1466
+ # data as a hash:
1467
+ #
1468
+ # {
1469
+ # user_access_logging_settings_arn: "ARN", # required
1470
+ # }
1471
+ #
1472
+ # @!attribute [rw] user_access_logging_settings_arn
1473
+ # The ARN of the user access logging settings.
1474
+ # @return [String]
1475
+ #
1476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetUserAccessLoggingSettingsRequest AWS API Documentation
1477
+ #
1478
+ class GetUserAccessLoggingSettingsRequest < Struct.new(
1479
+ :user_access_logging_settings_arn)
1480
+ SENSITIVE = []
1481
+ include Aws::Structure
1482
+ end
1483
+
1484
+ # @!attribute [rw] user_access_logging_settings
1485
+ # The user access logging settings.
1486
+ # @return [Types::UserAccessLoggingSettings]
1487
+ #
1488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetUserAccessLoggingSettingsResponse AWS API Documentation
1489
+ #
1490
+ class GetUserAccessLoggingSettingsResponse < Struct.new(
1491
+ :user_access_logging_settings)
1492
+ SENSITIVE = []
1493
+ include Aws::Structure
1494
+ end
1495
+
1317
1496
  # @note When making an API call, you may pass GetUserSettingsRequest
1318
1497
  # data as a hash:
1319
1498
  #
@@ -1789,6 +1968,50 @@ module Aws::WorkSpacesWeb
1789
1968
  include Aws::Structure
1790
1969
  end
1791
1970
 
1971
+ # @note When making an API call, you may pass ListUserAccessLoggingSettingsRequest
1972
+ # data as a hash:
1973
+ #
1974
+ # {
1975
+ # max_results: 1,
1976
+ # next_token: "PaginationToken",
1977
+ # }
1978
+ #
1979
+ # @!attribute [rw] max_results
1980
+ # The maximum number of results to be included in the next page.
1981
+ # @return [Integer]
1982
+ #
1983
+ # @!attribute [rw] next_token
1984
+ # The pagination token used to retrieve the next page of results for
1985
+ # this operation.
1986
+ # @return [String]
1987
+ #
1988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListUserAccessLoggingSettingsRequest AWS API Documentation
1989
+ #
1990
+ class ListUserAccessLoggingSettingsRequest < Struct.new(
1991
+ :max_results,
1992
+ :next_token)
1993
+ SENSITIVE = []
1994
+ include Aws::Structure
1995
+ end
1996
+
1997
+ # @!attribute [rw] next_token
1998
+ # The pagination token used to retrieve the next page of results for
1999
+ # this operation.
2000
+ # @return [String]
2001
+ #
2002
+ # @!attribute [rw] user_access_logging_settings
2003
+ # The user access logging settings.
2004
+ # @return [Array<Types::UserAccessLoggingSettingsSummary>]
2005
+ #
2006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListUserAccessLoggingSettingsResponse AWS API Documentation
2007
+ #
2008
+ class ListUserAccessLoggingSettingsResponse < Struct.new(
2009
+ :next_token,
2010
+ :user_access_logging_settings)
2011
+ SENSITIVE = []
2012
+ include Aws::Structure
2013
+ end
2014
+
1792
2015
  # @note When making an API call, you may pass ListUserSettingsRequest
1793
2016
  # data as a hash:
1794
2017
  #
@@ -1941,8 +2164,13 @@ module Aws::WorkSpacesWeb
1941
2164
  # The ARN of the trust store that is associated with the web portal.
1942
2165
  # @return [String]
1943
2166
  #
2167
+ # @!attribute [rw] user_access_logging_settings_arn
2168
+ # The ARN of the user access logging settings that is associated with
2169
+ # the web portal.
2170
+ # @return [String]
2171
+ #
1944
2172
  # @!attribute [rw] user_settings_arn
1945
- # The ARN of the trust store that is associated with the web portal.
2173
+ # The ARN of the user settings that is associated with the web portal.
1946
2174
  # @return [String]
1947
2175
  #
1948
2176
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/Portal AWS API Documentation
@@ -1959,6 +2187,7 @@ module Aws::WorkSpacesWeb
1959
2187
  :renderer_type,
1960
2188
  :status_reason,
1961
2189
  :trust_store_arn,
2190
+ :user_access_logging_settings_arn,
1962
2191
  :user_settings_arn)
1963
2192
  SENSITIVE = [:display_name]
1964
2193
  include Aws::Structure
@@ -2009,6 +2238,11 @@ module Aws::WorkSpacesWeb
2009
2238
  # The ARN of the trust that is associated with this web portal.
2010
2239
  # @return [String]
2011
2240
  #
2241
+ # @!attribute [rw] user_access_logging_settings_arn
2242
+ # The ARN of the user access logging settings that is associated with
2243
+ # the web portal.
2244
+ # @return [String]
2245
+ #
2012
2246
  # @!attribute [rw] user_settings_arn
2013
2247
  # The ARN of the user settings that is associated with the web portal.
2014
2248
  # @return [String]
@@ -2026,6 +2260,7 @@ module Aws::WorkSpacesWeb
2026
2260
  :portal_status,
2027
2261
  :renderer_type,
2028
2262
  :trust_store_arn,
2263
+ :user_access_logging_settings_arn,
2029
2264
  :user_settings_arn)
2030
2265
  SENSITIVE = [:display_name]
2031
2266
  include Aws::Structure
@@ -2626,6 +2861,59 @@ module Aws::WorkSpacesWeb
2626
2861
  include Aws::Structure
2627
2862
  end
2628
2863
 
2864
+ # @note When making an API call, you may pass UpdateUserAccessLoggingSettingsRequest
2865
+ # data as a hash:
2866
+ #
2867
+ # {
2868
+ # client_token: "ClientToken",
2869
+ # kinesis_stream_arn: "KinesisStreamArn",
2870
+ # user_access_logging_settings_arn: "ARN", # required
2871
+ # }
2872
+ #
2873
+ # @!attribute [rw] client_token
2874
+ # A unique, case-sensitive identifier that you provide to ensure the
2875
+ # idempotency of the request. Idempotency ensures that an API request
2876
+ # completes only once. With an idempotent request, if the original
2877
+ # request completes successfully, subsequent retries with the same
2878
+ # client token return the result from the original successful request.
2879
+ #
2880
+ # If you do not specify a client token, one is automatically generated
2881
+ # by the AWS SDK.
2882
+ #
2883
+ # **A suitable default value is auto-generated.** You should normally
2884
+ # not need to pass this option.
2885
+ # @return [String]
2886
+ #
2887
+ # @!attribute [rw] kinesis_stream_arn
2888
+ # The ARN of the Kinesis stream.
2889
+ # @return [String]
2890
+ #
2891
+ # @!attribute [rw] user_access_logging_settings_arn
2892
+ # The ARN of the user access logging settings.
2893
+ # @return [String]
2894
+ #
2895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateUserAccessLoggingSettingsRequest AWS API Documentation
2896
+ #
2897
+ class UpdateUserAccessLoggingSettingsRequest < Struct.new(
2898
+ :client_token,
2899
+ :kinesis_stream_arn,
2900
+ :user_access_logging_settings_arn)
2901
+ SENSITIVE = []
2902
+ include Aws::Structure
2903
+ end
2904
+
2905
+ # @!attribute [rw] user_access_logging_settings
2906
+ # The user access logging settings.
2907
+ # @return [Types::UserAccessLoggingSettings]
2908
+ #
2909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateUserAccessLoggingSettingsResponse AWS API Documentation
2910
+ #
2911
+ class UpdateUserAccessLoggingSettingsResponse < Struct.new(
2912
+ :user_access_logging_settings)
2913
+ SENSITIVE = []
2914
+ include Aws::Structure
2915
+ end
2916
+
2629
2917
  # @note When making an API call, you may pass UpdateUserSettingsRequest
2630
2918
  # data as a hash:
2631
2919
  #
@@ -2722,6 +3010,51 @@ module Aws::WorkSpacesWeb
2722
3010
  include Aws::Structure
2723
3011
  end
2724
3012
 
3013
+ # A user access logging settings resource that can be associated with a
3014
+ # web portal.
3015
+ #
3016
+ # @!attribute [rw] associated_portal_arns
3017
+ # A list of web portal ARNs that this user access logging settings is
3018
+ # associated with.
3019
+ # @return [Array<String>]
3020
+ #
3021
+ # @!attribute [rw] kinesis_stream_arn
3022
+ # The ARN of the Kinesis stream.
3023
+ # @return [String]
3024
+ #
3025
+ # @!attribute [rw] user_access_logging_settings_arn
3026
+ # The ARN of the user access logging settings.
3027
+ # @return [String]
3028
+ #
3029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UserAccessLoggingSettings AWS API Documentation
3030
+ #
3031
+ class UserAccessLoggingSettings < Struct.new(
3032
+ :associated_portal_arns,
3033
+ :kinesis_stream_arn,
3034
+ :user_access_logging_settings_arn)
3035
+ SENSITIVE = []
3036
+ include Aws::Structure
3037
+ end
3038
+
3039
+ # The summary of user access logging settings.
3040
+ #
3041
+ # @!attribute [rw] kinesis_stream_arn
3042
+ # The ARN of the Kinesis stream.
3043
+ # @return [String]
3044
+ #
3045
+ # @!attribute [rw] user_access_logging_settings_arn
3046
+ # The ARN of the user access logging settings.
3047
+ # @return [String]
3048
+ #
3049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UserAccessLoggingSettingsSummary AWS API Documentation
3050
+ #
3051
+ class UserAccessLoggingSettingsSummary < Struct.new(
3052
+ :kinesis_stream_arn,
3053
+ :user_access_logging_settings_arn)
3054
+ SENSITIVE = []
3055
+ include Aws::Structure
3056
+ end
3057
+
2725
3058
  # A user settings resource that can be associated with a web portal.
2726
3059
  # Once associated with a web portal, user settings control how users can
2727
3060
  # transfer data between a streaming session and the their local devices.
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-workspacesweb/customizations'
48
48
  # @!group service
49
49
  module Aws::WorkSpacesWeb
50
50
 
51
- GEM_VERSION = '1.4.0'
51
+ GEM_VERSION = '1.5.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-workspacesweb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-16 00:00:00.000000000 Z
11
+ date: 2022-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core