aws-sdk-workspacesweb 1.3.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspacesweb/client.rb +345 -3
- data/lib/aws-sdk-workspacesweb/client_api.rb +188 -0
- data/lib/aws-sdk-workspacesweb/types.rb +465 -15
- data/lib/aws-sdk-workspacesweb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6021725633ca1ae7c1dc0358fe31b6a965eaec819fdf053a0d83bc9c48133b5d
|
4
|
+
data.tar.gz: a799380337e166bf117ae751848eca7539f78df05376c663a20d5f5b1a1e294e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7085df3083c3c0fd45626d4e6c8a5920fdb151448405812b166d61694abec15638875d89c983e285135bf8237c482d1c5de0ca99131108015df1be43f71e57c8
|
7
|
+
data.tar.gz: f57117619ab604960798114f78e8b0f86b4e82e33a66950d95e63f07d94bb27952fbcc044e6c21ecceabe14121a56df44030fbee30638105f21dc53469e1988d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.4.0 (2022-05-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon WorkSpaces Web now supports Administrator timeout control
|
13
|
+
|
4
14
|
1.3.0 (2022-02-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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
|
@@ -631,7 +665,7 @@ module Aws::WorkSpacesWeb
|
|
631
665
|
#
|
632
666
|
# * `MetadataFile` OR `MetadataURL`
|
633
667
|
#
|
634
|
-
# * `IDPSignout` *optional*
|
668
|
+
# * `IDPSignout` (boolean) *optional*
|
635
669
|
#
|
636
670
|
# @option params [required, String] :identity_provider_name
|
637
671
|
# The identity provider name.
|
@@ -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
|
@@ -879,10 +966,19 @@ module Aws::WorkSpacesWeb
|
|
879
966
|
# Specifies whether the user can copy text from the streaming session to
|
880
967
|
# the local device.
|
881
968
|
#
|
969
|
+
# @option params [Integer] :disconnect_timeout_in_minutes
|
970
|
+
# The amount of time that a streaming session remains active after users
|
971
|
+
# disconnect.
|
972
|
+
#
|
882
973
|
# @option params [required, String] :download_allowed
|
883
974
|
# Specifies whether the user can download files from the streaming
|
884
975
|
# session to the local device.
|
885
976
|
#
|
977
|
+
# @option params [Integer] :idle_disconnect_timeout_in_minutes
|
978
|
+
# The amount of time that users can be idle (inactive) before they are
|
979
|
+
# disconnected from their streaming session and the disconnect timeout
|
980
|
+
# interval begins.
|
981
|
+
#
|
886
982
|
# @option params [required, String] :paste_allowed
|
887
983
|
# Specifies whether the user can paste text from the local device to the
|
888
984
|
# streaming session.
|
@@ -907,7 +1003,9 @@ module Aws::WorkSpacesWeb
|
|
907
1003
|
# resp = client.create_user_settings({
|
908
1004
|
# client_token: "ClientToken",
|
909
1005
|
# copy_allowed: "Disabled", # required, accepts Disabled, Enabled
|
1006
|
+
# disconnect_timeout_in_minutes: 1,
|
910
1007
|
# download_allowed: "Disabled", # required, accepts Disabled, Enabled
|
1008
|
+
# idle_disconnect_timeout_in_minutes: 1,
|
911
1009
|
# paste_allowed: "Disabled", # required, accepts Disabled, Enabled
|
912
1010
|
# print_allowed: "Disabled", # required, accepts Disabled, Enabled
|
913
1011
|
# tags: [
|
@@ -1042,6 +1140,28 @@ module Aws::WorkSpacesWeb
|
|
1042
1140
|
req.send_request(options)
|
1043
1141
|
end
|
1044
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
|
+
|
1045
1165
|
# Deletes user settings.
|
1046
1166
|
#
|
1047
1167
|
# @option params [required, String] :user_settings_arn
|
@@ -1130,6 +1250,28 @@ module Aws::WorkSpacesWeb
|
|
1130
1250
|
req.send_request(options)
|
1131
1251
|
end
|
1132
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
|
+
|
1133
1275
|
# Disassociates user settings from a web portal.
|
1134
1276
|
#
|
1135
1277
|
# @option params [required, String] :portal_arn
|
@@ -1278,6 +1420,7 @@ module Aws::WorkSpacesWeb
|
|
1278
1420
|
# resp.portal.renderer_type #=> String, one of "AppStream"
|
1279
1421
|
# resp.portal.status_reason #=> String
|
1280
1422
|
# resp.portal.trust_store_arn #=> String
|
1423
|
+
# resp.portal.user_access_logging_settings_arn #=> String
|
1281
1424
|
# resp.portal.user_settings_arn #=> String
|
1282
1425
|
#
|
1283
1426
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetPortal AWS API Documentation
|
@@ -1388,6 +1531,37 @@ module Aws::WorkSpacesWeb
|
|
1388
1531
|
req.send_request(options)
|
1389
1532
|
end
|
1390
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
|
+
|
1391
1565
|
# Gets user settings.
|
1392
1566
|
#
|
1393
1567
|
# @option params [required, String] :user_settings_arn
|
@@ -1408,7 +1582,9 @@ module Aws::WorkSpacesWeb
|
|
1408
1582
|
# resp.user_settings.associated_portal_arns #=> Array
|
1409
1583
|
# resp.user_settings.associated_portal_arns[0] #=> String
|
1410
1584
|
# resp.user_settings.copy_allowed #=> String, one of "Disabled", "Enabled"
|
1585
|
+
# resp.user_settings.disconnect_timeout_in_minutes #=> Integer
|
1411
1586
|
# resp.user_settings.download_allowed #=> String, one of "Disabled", "Enabled"
|
1587
|
+
# resp.user_settings.idle_disconnect_timeout_in_minutes #=> Integer
|
1412
1588
|
# resp.user_settings.paste_allowed #=> String, one of "Disabled", "Enabled"
|
1413
1589
|
# resp.user_settings.print_allowed #=> String, one of "Disabled", "Enabled"
|
1414
1590
|
# resp.user_settings.upload_allowed #=> String, one of "Disabled", "Enabled"
|
@@ -1581,6 +1757,7 @@ module Aws::WorkSpacesWeb
|
|
1581
1757
|
# resp.portals[0].portal_status #=> String, one of "Incomplete", "Pending", "Active"
|
1582
1758
|
# resp.portals[0].renderer_type #=> String, one of "AppStream"
|
1583
1759
|
# resp.portals[0].trust_store_arn #=> String
|
1760
|
+
# resp.portals[0].user_access_logging_settings_arn #=> String
|
1584
1761
|
# resp.portals[0].user_settings_arn #=> String
|
1585
1762
|
#
|
1586
1763
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListPortals AWS API Documentation
|
@@ -1708,6 +1885,45 @@ module Aws::WorkSpacesWeb
|
|
1708
1885
|
req.send_request(options)
|
1709
1886
|
end
|
1710
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<Types::UserAccessLoggingSettingsSummary>
|
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
|
+
|
1711
1927
|
# Retrieves a list of user settings.
|
1712
1928
|
#
|
1713
1929
|
# @option params [Integer] :max_results
|
@@ -1736,7 +1952,9 @@ module Aws::WorkSpacesWeb
|
|
1736
1952
|
# resp.next_token #=> String
|
1737
1953
|
# resp.user_settings #=> Array
|
1738
1954
|
# resp.user_settings[0].copy_allowed #=> String, one of "Disabled", "Enabled"
|
1955
|
+
# resp.user_settings[0].disconnect_timeout_in_minutes #=> Integer
|
1739
1956
|
# resp.user_settings[0].download_allowed #=> String, one of "Disabled", "Enabled"
|
1957
|
+
# resp.user_settings[0].idle_disconnect_timeout_in_minutes #=> Integer
|
1740
1958
|
# resp.user_settings[0].paste_allowed #=> String, one of "Disabled", "Enabled"
|
1741
1959
|
# resp.user_settings[0].print_allowed #=> String, one of "Disabled", "Enabled"
|
1742
1960
|
# resp.user_settings[0].upload_allowed #=> String, one of "Disabled", "Enabled"
|
@@ -1891,7 +2109,68 @@ module Aws::WorkSpacesWeb
|
|
1891
2109
|
# The ARN of the identity provider.
|
1892
2110
|
#
|
1893
2111
|
# @option params [Hash<String,String>] :identity_provider_details
|
1894
|
-
# The details of the identity provider.
|
2112
|
+
# The details of the identity provider. The following list describes the
|
2113
|
+
# provider detail keys for each identity provider type.
|
2114
|
+
#
|
2115
|
+
# * For Google and Login with Amazon:
|
2116
|
+
#
|
2117
|
+
# * `client_id`
|
2118
|
+
#
|
2119
|
+
# * `client_secret`
|
2120
|
+
#
|
2121
|
+
# * `authorize_scopes`
|
2122
|
+
#
|
2123
|
+
# * For Facebook:
|
2124
|
+
#
|
2125
|
+
# * `client_id`
|
2126
|
+
#
|
2127
|
+
# * `client_secret`
|
2128
|
+
#
|
2129
|
+
# * `authorize_scopes`
|
2130
|
+
#
|
2131
|
+
# * `api_version`
|
2132
|
+
#
|
2133
|
+
# * For Sign in with Apple:
|
2134
|
+
#
|
2135
|
+
# * `client_id`
|
2136
|
+
#
|
2137
|
+
# * `team_id`
|
2138
|
+
#
|
2139
|
+
# * `key_id`
|
2140
|
+
#
|
2141
|
+
# * `private_key`
|
2142
|
+
#
|
2143
|
+
# * `authorize_scopes`
|
2144
|
+
#
|
2145
|
+
# * For OIDC providers:
|
2146
|
+
#
|
2147
|
+
# * `client_id`
|
2148
|
+
#
|
2149
|
+
# * `client_secret`
|
2150
|
+
#
|
2151
|
+
# * `attributes_request_method`
|
2152
|
+
#
|
2153
|
+
# * `oidc_issuer`
|
2154
|
+
#
|
2155
|
+
# * `authorize_scopes`
|
2156
|
+
#
|
2157
|
+
# * `authorize_url` *if not available from discovery URL specified by
|
2158
|
+
# `oidc_issuer` key*
|
2159
|
+
#
|
2160
|
+
# * `token_url` *if not available from discovery URL specified by
|
2161
|
+
# `oidc_issuer` key*
|
2162
|
+
#
|
2163
|
+
# * `attributes_url` *if not available from discovery URL specified by
|
2164
|
+
# `oidc_issuer` key*
|
2165
|
+
#
|
2166
|
+
# * `jwks_uri` *if not available from discovery URL specified by
|
2167
|
+
# `oidc_issuer` key*
|
2168
|
+
#
|
2169
|
+
# * For SAML providers:
|
2170
|
+
#
|
2171
|
+
# * `MetadataFile` OR `MetadataURL`
|
2172
|
+
#
|
2173
|
+
# * `IDPSignout` (boolean) *optional*
|
1895
2174
|
#
|
1896
2175
|
# @option params [String] :identity_provider_name
|
1897
2176
|
# The name of the identity provider.
|
@@ -2029,6 +2308,7 @@ module Aws::WorkSpacesWeb
|
|
2029
2308
|
# resp.portal.renderer_type #=> String, one of "AppStream"
|
2030
2309
|
# resp.portal.status_reason #=> String
|
2031
2310
|
# resp.portal.trust_store_arn #=> String
|
2311
|
+
# resp.portal.user_access_logging_settings_arn #=> String
|
2032
2312
|
# resp.portal.user_settings_arn #=> String
|
2033
2313
|
#
|
2034
2314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdatePortal AWS API Documentation
|
@@ -2090,6 +2370,55 @@ module Aws::WorkSpacesWeb
|
|
2090
2370
|
req.send_request(options)
|
2091
2371
|
end
|
2092
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
|
+
|
2093
2422
|
# Updates the user settings.
|
2094
2423
|
#
|
2095
2424
|
# @option params [String] :client_token
|
@@ -2109,10 +2438,19 @@ module Aws::WorkSpacesWeb
|
|
2109
2438
|
# Specifies whether the user can copy text from the streaming session to
|
2110
2439
|
# the local device.
|
2111
2440
|
#
|
2441
|
+
# @option params [Integer] :disconnect_timeout_in_minutes
|
2442
|
+
# The amount of time that a streaming session remains active after users
|
2443
|
+
# disconnect.
|
2444
|
+
#
|
2112
2445
|
# @option params [String] :download_allowed
|
2113
2446
|
# Specifies whether the user can download files from the streaming
|
2114
2447
|
# session to the local device.
|
2115
2448
|
#
|
2449
|
+
# @option params [Integer] :idle_disconnect_timeout_in_minutes
|
2450
|
+
# The amount of time that users can be idle (inactive) before they are
|
2451
|
+
# disconnected from their streaming session and the disconnect timeout
|
2452
|
+
# interval begins.
|
2453
|
+
#
|
2116
2454
|
# @option params [String] :paste_allowed
|
2117
2455
|
# Specifies whether the user can paste text from the local device to the
|
2118
2456
|
# streaming session.
|
@@ -2136,7 +2474,9 @@ module Aws::WorkSpacesWeb
|
|
2136
2474
|
# resp = client.update_user_settings({
|
2137
2475
|
# client_token: "ClientToken",
|
2138
2476
|
# copy_allowed: "Disabled", # accepts Disabled, Enabled
|
2477
|
+
# disconnect_timeout_in_minutes: 1,
|
2139
2478
|
# download_allowed: "Disabled", # accepts Disabled, Enabled
|
2479
|
+
# idle_disconnect_timeout_in_minutes: 1,
|
2140
2480
|
# paste_allowed: "Disabled", # accepts Disabled, Enabled
|
2141
2481
|
# print_allowed: "Disabled", # accepts Disabled, Enabled
|
2142
2482
|
# upload_allowed: "Disabled", # accepts Disabled, Enabled
|
@@ -2148,7 +2488,9 @@ module Aws::WorkSpacesWeb
|
|
2148
2488
|
# resp.user_settings.associated_portal_arns #=> Array
|
2149
2489
|
# resp.user_settings.associated_portal_arns[0] #=> String
|
2150
2490
|
# resp.user_settings.copy_allowed #=> String, one of "Disabled", "Enabled"
|
2491
|
+
# resp.user_settings.disconnect_timeout_in_minutes #=> Integer
|
2151
2492
|
# resp.user_settings.download_allowed #=> String, one of "Disabled", "Enabled"
|
2493
|
+
# resp.user_settings.idle_disconnect_timeout_in_minutes #=> Integer
|
2152
2494
|
# resp.user_settings.paste_allowed #=> String, one of "Disabled", "Enabled"
|
2153
2495
|
# resp.user_settings.print_allowed #=> String, one of "Disabled", "Enabled"
|
2154
2496
|
# resp.user_settings.upload_allowed #=> String, one of "Disabled", "Enabled"
|
@@ -2176,7 +2518,7 @@ module Aws::WorkSpacesWeb
|
|
2176
2518
|
params: params,
|
2177
2519
|
config: config)
|
2178
2520
|
context[:gem_name] = 'aws-sdk-workspacesweb'
|
2179
|
-
context[:gem_version] = '1.
|
2521
|
+
context[:gem_version] = '1.5.0'
|
2180
2522
|
Seahorse::Client::Request.new(handlers, context)
|
2181
2523
|
end
|
2182
2524
|
|