aws-sdk-workspacesweb 1.4.0 → 1.6.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: d869431699bf377f242b80ad851391f5d4825b294f35dbfbfc7bf99c11c5935f
4
+ data.tar.gz: dc39b876ba901f02bb9ce1e3b63637682e16fd76255f005e54af83c02d21b9fe
5
5
  SHA512:
6
- metadata.gz: 3d353472e29826076d3b544728083c0869d4cc999d1cf0272f9127026b71f88e45e26a66cabb3ea02804c5950e556c4022c65c59adc9a3d5dcbce38db4f11984
7
- data.tar.gz: a473103691133ba322602a5d7f0c14dde56ae921ec511ff4d0e025bede331d613e2da0cf7c61a27c7117fb38deb287a5152f2bafe0613fd6e00b378e64c9bcc0
6
+ metadata.gz: 3cf3e43108a4cc5a5a8b85d6becfefdfcc56f4f8958dc42b63ce02f6f45b701cfb19a9f2247375209889c1b9c9c0fb043f7371f27a918de48f5c5df184dd6e77
7
+ data.tar.gz: 2a41476ff87cc4a3327dc7ff7d82eb3725635479b52ec5dc2d9d475409d912b0ee24e5ffb1a48728540d23f137d51f39c58e59eada89e399b7a67965416e5494
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.6.0 (2022-10-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.5.0 (2022-10-19)
10
+ ------------------
11
+
12
+ * Feature - WorkSpaces Web now supports user access logging for recording session start, stop, and URL navigation.
13
+
4
14
  1.4.0 (2022-05-16)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.6.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:workspacesweb)
@@ -79,8 +79,9 @@ module Aws::WorkSpacesWeb
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::WorkSpacesWeb::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::WorkSpacesWeb
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::WorkSpacesWeb
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::WorkSpacesWeb::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::WorkSpacesWeb::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -453,6 +470,40 @@ module Aws::WorkSpacesWeb
453
470
  req.send_request(options)
454
471
  end
455
472
 
473
+ # Associates a user access logging settings resource with a web portal.
474
+ #
475
+ # @option params [required, String] :portal_arn
476
+ # The ARN of the web portal.
477
+ #
478
+ # @option params [required, String] :user_access_logging_settings_arn
479
+ # The ARN of the user access logging settings.
480
+ #
481
+ # @return [Types::AssociateUserAccessLoggingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
482
+ #
483
+ # * {Types::AssociateUserAccessLoggingSettingsResponse#portal_arn #portal_arn} => String
484
+ # * {Types::AssociateUserAccessLoggingSettingsResponse#user_access_logging_settings_arn #user_access_logging_settings_arn} => String
485
+ #
486
+ # @example Request syntax with placeholder values
487
+ #
488
+ # resp = client.associate_user_access_logging_settings({
489
+ # portal_arn: "ARN", # required
490
+ # user_access_logging_settings_arn: "ARN", # required
491
+ # })
492
+ #
493
+ # @example Response structure
494
+ #
495
+ # resp.portal_arn #=> String
496
+ # resp.user_access_logging_settings_arn #=> String
497
+ #
498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateUserAccessLoggingSettings AWS API Documentation
499
+ #
500
+ # @overload associate_user_access_logging_settings(params = {})
501
+ # @param [Hash] params ({})
502
+ def associate_user_access_logging_settings(params = {}, options = {})
503
+ req = build_request(:associate_user_access_logging_settings, params)
504
+ req.send_request(options)
505
+ end
506
+
456
507
  # Associates a user settings resource with a web portal.
457
508
  #
458
509
  # @option params [required, String] :portal_arn
@@ -857,6 +908,59 @@ module Aws::WorkSpacesWeb
857
908
  req.send_request(options)
858
909
  end
859
910
 
911
+ # Creates a user access logging settings resource that can be associated
912
+ # with a web portal.
913
+ #
914
+ # @option params [String] :client_token
915
+ # A unique, case-sensitive identifier that you provide to ensure the
916
+ # idempotency of the request. Idempotency ensures that an API request
917
+ # completes only once. With an idempotent request, if the original
918
+ # request completes successfully, subsequent retries with the same
919
+ # client token returns the result from the original successful request.
920
+ #
921
+ # If you do not specify a client token, one is automatically generated
922
+ # by the AWS SDK.
923
+ #
924
+ # **A suitable default value is auto-generated.** You should normally
925
+ # not need to pass this option.**
926
+ #
927
+ # @option params [required, String] :kinesis_stream_arn
928
+ # The ARN of the Kinesis stream.
929
+ #
930
+ # @option params [Array<Types::Tag>] :tags
931
+ # The tags to add to the user settings resource. A tag is a key-value
932
+ # pair.
933
+ #
934
+ # @return [Types::CreateUserAccessLoggingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
935
+ #
936
+ # * {Types::CreateUserAccessLoggingSettingsResponse#user_access_logging_settings_arn #user_access_logging_settings_arn} => String
937
+ #
938
+ # @example Request syntax with placeholder values
939
+ #
940
+ # resp = client.create_user_access_logging_settings({
941
+ # client_token: "ClientToken",
942
+ # kinesis_stream_arn: "KinesisStreamArn", # required
943
+ # tags: [
944
+ # {
945
+ # key: "TagKey", # required
946
+ # value: "TagValue", # required
947
+ # },
948
+ # ],
949
+ # })
950
+ #
951
+ # @example Response structure
952
+ #
953
+ # resp.user_access_logging_settings_arn #=> String
954
+ #
955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateUserAccessLoggingSettings AWS API Documentation
956
+ #
957
+ # @overload create_user_access_logging_settings(params = {})
958
+ # @param [Hash] params ({})
959
+ def create_user_access_logging_settings(params = {}, options = {})
960
+ req = build_request(:create_user_access_logging_settings, params)
961
+ req.send_request(options)
962
+ end
963
+
860
964
  # Creates a user settings resource that can be associated with a web
861
965
  # portal. Once associated with a web portal, user settings control how
862
966
  # users can transfer data between a streaming session and the their
@@ -1053,6 +1157,28 @@ module Aws::WorkSpacesWeb
1053
1157
  req.send_request(options)
1054
1158
  end
1055
1159
 
1160
+ # Deletes user access logging settings.
1161
+ #
1162
+ # @option params [required, String] :user_access_logging_settings_arn
1163
+ # The ARN of the user access logging settings.
1164
+ #
1165
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1166
+ #
1167
+ # @example Request syntax with placeholder values
1168
+ #
1169
+ # resp = client.delete_user_access_logging_settings({
1170
+ # user_access_logging_settings_arn: "ARN", # required
1171
+ # })
1172
+ #
1173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteUserAccessLoggingSettings AWS API Documentation
1174
+ #
1175
+ # @overload delete_user_access_logging_settings(params = {})
1176
+ # @param [Hash] params ({})
1177
+ def delete_user_access_logging_settings(params = {}, options = {})
1178
+ req = build_request(:delete_user_access_logging_settings, params)
1179
+ req.send_request(options)
1180
+ end
1181
+
1056
1182
  # Deletes user settings.
1057
1183
  #
1058
1184
  # @option params [required, String] :user_settings_arn
@@ -1141,6 +1267,28 @@ module Aws::WorkSpacesWeb
1141
1267
  req.send_request(options)
1142
1268
  end
1143
1269
 
1270
+ # Disassociates user access logging settings from a web portal.
1271
+ #
1272
+ # @option params [required, String] :portal_arn
1273
+ # The ARN of the web portal.
1274
+ #
1275
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1276
+ #
1277
+ # @example Request syntax with placeholder values
1278
+ #
1279
+ # resp = client.disassociate_user_access_logging_settings({
1280
+ # portal_arn: "ARN", # required
1281
+ # })
1282
+ #
1283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateUserAccessLoggingSettings AWS API Documentation
1284
+ #
1285
+ # @overload disassociate_user_access_logging_settings(params = {})
1286
+ # @param [Hash] params ({})
1287
+ def disassociate_user_access_logging_settings(params = {}, options = {})
1288
+ req = build_request(:disassociate_user_access_logging_settings, params)
1289
+ req.send_request(options)
1290
+ end
1291
+
1144
1292
  # Disassociates user settings from a web portal.
1145
1293
  #
1146
1294
  # @option params [required, String] :portal_arn
@@ -1289,6 +1437,7 @@ module Aws::WorkSpacesWeb
1289
1437
  # resp.portal.renderer_type #=> String, one of "AppStream"
1290
1438
  # resp.portal.status_reason #=> String
1291
1439
  # resp.portal.trust_store_arn #=> String
1440
+ # resp.portal.user_access_logging_settings_arn #=> String
1292
1441
  # resp.portal.user_settings_arn #=> String
1293
1442
  #
1294
1443
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetPortal AWS API Documentation
@@ -1399,6 +1548,37 @@ module Aws::WorkSpacesWeb
1399
1548
  req.send_request(options)
1400
1549
  end
1401
1550
 
1551
+ # Gets user access logging settings.
1552
+ #
1553
+ # @option params [required, String] :user_access_logging_settings_arn
1554
+ # The ARN of the user access logging settings.
1555
+ #
1556
+ # @return [Types::GetUserAccessLoggingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1557
+ #
1558
+ # * {Types::GetUserAccessLoggingSettingsResponse#user_access_logging_settings #user_access_logging_settings} => Types::UserAccessLoggingSettings
1559
+ #
1560
+ # @example Request syntax with placeholder values
1561
+ #
1562
+ # resp = client.get_user_access_logging_settings({
1563
+ # user_access_logging_settings_arn: "ARN", # required
1564
+ # })
1565
+ #
1566
+ # @example Response structure
1567
+ #
1568
+ # resp.user_access_logging_settings.associated_portal_arns #=> Array
1569
+ # resp.user_access_logging_settings.associated_portal_arns[0] #=> String
1570
+ # resp.user_access_logging_settings.kinesis_stream_arn #=> String
1571
+ # resp.user_access_logging_settings.user_access_logging_settings_arn #=> String
1572
+ #
1573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetUserAccessLoggingSettings AWS API Documentation
1574
+ #
1575
+ # @overload get_user_access_logging_settings(params = {})
1576
+ # @param [Hash] params ({})
1577
+ def get_user_access_logging_settings(params = {}, options = {})
1578
+ req = build_request(:get_user_access_logging_settings, params)
1579
+ req.send_request(options)
1580
+ end
1581
+
1402
1582
  # Gets user settings.
1403
1583
  #
1404
1584
  # @option params [required, String] :user_settings_arn
@@ -1594,6 +1774,7 @@ module Aws::WorkSpacesWeb
1594
1774
  # resp.portals[0].portal_status #=> String, one of "Incomplete", "Pending", "Active"
1595
1775
  # resp.portals[0].renderer_type #=> String, one of "AppStream"
1596
1776
  # resp.portals[0].trust_store_arn #=> String
1777
+ # resp.portals[0].user_access_logging_settings_arn #=> String
1597
1778
  # resp.portals[0].user_settings_arn #=> String
1598
1779
  #
1599
1780
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListPortals AWS API Documentation
@@ -1721,6 +1902,45 @@ module Aws::WorkSpacesWeb
1721
1902
  req.send_request(options)
1722
1903
  end
1723
1904
 
1905
+ # Retrieves a list of user access logging settings.
1906
+ #
1907
+ # @option params [Integer] :max_results
1908
+ # The maximum number of results to be included in the next page.
1909
+ #
1910
+ # @option params [String] :next_token
1911
+ # The pagination token used to retrieve the next page of results for
1912
+ # this operation.
1913
+ #
1914
+ # @return [Types::ListUserAccessLoggingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1915
+ #
1916
+ # * {Types::ListUserAccessLoggingSettingsResponse#next_token #next_token} => String
1917
+ # * {Types::ListUserAccessLoggingSettingsResponse#user_access_logging_settings #user_access_logging_settings} => Array&lt;Types::UserAccessLoggingSettingsSummary&gt;
1918
+ #
1919
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1920
+ #
1921
+ # @example Request syntax with placeholder values
1922
+ #
1923
+ # resp = client.list_user_access_logging_settings({
1924
+ # max_results: 1,
1925
+ # next_token: "PaginationToken",
1926
+ # })
1927
+ #
1928
+ # @example Response structure
1929
+ #
1930
+ # resp.next_token #=> String
1931
+ # resp.user_access_logging_settings #=> Array
1932
+ # resp.user_access_logging_settings[0].kinesis_stream_arn #=> String
1933
+ # resp.user_access_logging_settings[0].user_access_logging_settings_arn #=> String
1934
+ #
1935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListUserAccessLoggingSettings AWS API Documentation
1936
+ #
1937
+ # @overload list_user_access_logging_settings(params = {})
1938
+ # @param [Hash] params ({})
1939
+ def list_user_access_logging_settings(params = {}, options = {})
1940
+ req = build_request(:list_user_access_logging_settings, params)
1941
+ req.send_request(options)
1942
+ end
1943
+
1724
1944
  # Retrieves a list of user settings.
1725
1945
  #
1726
1946
  # @option params [Integer] :max_results
@@ -2105,6 +2325,7 @@ module Aws::WorkSpacesWeb
2105
2325
  # resp.portal.renderer_type #=> String, one of "AppStream"
2106
2326
  # resp.portal.status_reason #=> String
2107
2327
  # resp.portal.trust_store_arn #=> String
2328
+ # resp.portal.user_access_logging_settings_arn #=> String
2108
2329
  # resp.portal.user_settings_arn #=> String
2109
2330
  #
2110
2331
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdatePortal AWS API Documentation
@@ -2166,6 +2387,55 @@ module Aws::WorkSpacesWeb
2166
2387
  req.send_request(options)
2167
2388
  end
2168
2389
 
2390
+ # Updates the user access logging settings.
2391
+ #
2392
+ # @option params [String] :client_token
2393
+ # A unique, case-sensitive identifier that you provide to ensure the
2394
+ # idempotency of the request. Idempotency ensures that an API request
2395
+ # completes only once. With an idempotent request, if the original
2396
+ # request completes successfully, subsequent retries with the same
2397
+ # client token return the result from the original successful request.
2398
+ #
2399
+ # If you do not specify a client token, one is automatically generated
2400
+ # by the AWS SDK.
2401
+ #
2402
+ # **A suitable default value is auto-generated.** You should normally
2403
+ # not need to pass this option.**
2404
+ #
2405
+ # @option params [String] :kinesis_stream_arn
2406
+ # The ARN of the Kinesis stream.
2407
+ #
2408
+ # @option params [required, String] :user_access_logging_settings_arn
2409
+ # The ARN of the user access logging settings.
2410
+ #
2411
+ # @return [Types::UpdateUserAccessLoggingSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2412
+ #
2413
+ # * {Types::UpdateUserAccessLoggingSettingsResponse#user_access_logging_settings #user_access_logging_settings} => Types::UserAccessLoggingSettings
2414
+ #
2415
+ # @example Request syntax with placeholder values
2416
+ #
2417
+ # resp = client.update_user_access_logging_settings({
2418
+ # client_token: "ClientToken",
2419
+ # kinesis_stream_arn: "KinesisStreamArn",
2420
+ # user_access_logging_settings_arn: "ARN", # required
2421
+ # })
2422
+ #
2423
+ # @example Response structure
2424
+ #
2425
+ # resp.user_access_logging_settings.associated_portal_arns #=> Array
2426
+ # resp.user_access_logging_settings.associated_portal_arns[0] #=> String
2427
+ # resp.user_access_logging_settings.kinesis_stream_arn #=> String
2428
+ # resp.user_access_logging_settings.user_access_logging_settings_arn #=> String
2429
+ #
2430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateUserAccessLoggingSettings AWS API Documentation
2431
+ #
2432
+ # @overload update_user_access_logging_settings(params = {})
2433
+ # @param [Hash] params ({})
2434
+ def update_user_access_logging_settings(params = {}, options = {})
2435
+ req = build_request(:update_user_access_logging_settings, params)
2436
+ req.send_request(options)
2437
+ end
2438
+
2169
2439
  # Updates the user settings.
2170
2440
  #
2171
2441
  # @option params [String] :client_token
@@ -2265,7 +2535,7 @@ module Aws::WorkSpacesWeb
2265
2535
  params: params,
2266
2536
  config: config)
2267
2537
  context[:gem_name] = 'aws-sdk-workspacesweb'
2268
- context[:gem_version] = '1.4.0'
2538
+ context[:gem_version] = '1.6.0'
2269
2539
  Seahorse::Client::Request.new(handlers, context)
2270
2540
  end
2271
2541