aws-sdk-workspacesweb 1.4.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,170 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::WorkSpacesWeb
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::WorkSpacesWeb::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::WorkSpacesWeb::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::WorkSpacesWeb::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :associate_browser_settings
60
+ Aws::WorkSpacesWeb::Endpoints::AssociateBrowserSettings.build(context)
61
+ when :associate_network_settings
62
+ Aws::WorkSpacesWeb::Endpoints::AssociateNetworkSettings.build(context)
63
+ when :associate_trust_store
64
+ Aws::WorkSpacesWeb::Endpoints::AssociateTrustStore.build(context)
65
+ when :associate_user_access_logging_settings
66
+ Aws::WorkSpacesWeb::Endpoints::AssociateUserAccessLoggingSettings.build(context)
67
+ when :associate_user_settings
68
+ Aws::WorkSpacesWeb::Endpoints::AssociateUserSettings.build(context)
69
+ when :create_browser_settings
70
+ Aws::WorkSpacesWeb::Endpoints::CreateBrowserSettings.build(context)
71
+ when :create_identity_provider
72
+ Aws::WorkSpacesWeb::Endpoints::CreateIdentityProvider.build(context)
73
+ when :create_network_settings
74
+ Aws::WorkSpacesWeb::Endpoints::CreateNetworkSettings.build(context)
75
+ when :create_portal
76
+ Aws::WorkSpacesWeb::Endpoints::CreatePortal.build(context)
77
+ when :create_trust_store
78
+ Aws::WorkSpacesWeb::Endpoints::CreateTrustStore.build(context)
79
+ when :create_user_access_logging_settings
80
+ Aws::WorkSpacesWeb::Endpoints::CreateUserAccessLoggingSettings.build(context)
81
+ when :create_user_settings
82
+ Aws::WorkSpacesWeb::Endpoints::CreateUserSettings.build(context)
83
+ when :delete_browser_settings
84
+ Aws::WorkSpacesWeb::Endpoints::DeleteBrowserSettings.build(context)
85
+ when :delete_identity_provider
86
+ Aws::WorkSpacesWeb::Endpoints::DeleteIdentityProvider.build(context)
87
+ when :delete_network_settings
88
+ Aws::WorkSpacesWeb::Endpoints::DeleteNetworkSettings.build(context)
89
+ when :delete_portal
90
+ Aws::WorkSpacesWeb::Endpoints::DeletePortal.build(context)
91
+ when :delete_trust_store
92
+ Aws::WorkSpacesWeb::Endpoints::DeleteTrustStore.build(context)
93
+ when :delete_user_access_logging_settings
94
+ Aws::WorkSpacesWeb::Endpoints::DeleteUserAccessLoggingSettings.build(context)
95
+ when :delete_user_settings
96
+ Aws::WorkSpacesWeb::Endpoints::DeleteUserSettings.build(context)
97
+ when :disassociate_browser_settings
98
+ Aws::WorkSpacesWeb::Endpoints::DisassociateBrowserSettings.build(context)
99
+ when :disassociate_network_settings
100
+ Aws::WorkSpacesWeb::Endpoints::DisassociateNetworkSettings.build(context)
101
+ when :disassociate_trust_store
102
+ Aws::WorkSpacesWeb::Endpoints::DisassociateTrustStore.build(context)
103
+ when :disassociate_user_access_logging_settings
104
+ Aws::WorkSpacesWeb::Endpoints::DisassociateUserAccessLoggingSettings.build(context)
105
+ when :disassociate_user_settings
106
+ Aws::WorkSpacesWeb::Endpoints::DisassociateUserSettings.build(context)
107
+ when :get_browser_settings
108
+ Aws::WorkSpacesWeb::Endpoints::GetBrowserSettings.build(context)
109
+ when :get_identity_provider
110
+ Aws::WorkSpacesWeb::Endpoints::GetIdentityProvider.build(context)
111
+ when :get_network_settings
112
+ Aws::WorkSpacesWeb::Endpoints::GetNetworkSettings.build(context)
113
+ when :get_portal
114
+ Aws::WorkSpacesWeb::Endpoints::GetPortal.build(context)
115
+ when :get_portal_service_provider_metadata
116
+ Aws::WorkSpacesWeb::Endpoints::GetPortalServiceProviderMetadata.build(context)
117
+ when :get_trust_store
118
+ Aws::WorkSpacesWeb::Endpoints::GetTrustStore.build(context)
119
+ when :get_trust_store_certificate
120
+ Aws::WorkSpacesWeb::Endpoints::GetTrustStoreCertificate.build(context)
121
+ when :get_user_access_logging_settings
122
+ Aws::WorkSpacesWeb::Endpoints::GetUserAccessLoggingSettings.build(context)
123
+ when :get_user_settings
124
+ Aws::WorkSpacesWeb::Endpoints::GetUserSettings.build(context)
125
+ when :list_browser_settings
126
+ Aws::WorkSpacesWeb::Endpoints::ListBrowserSettings.build(context)
127
+ when :list_identity_providers
128
+ Aws::WorkSpacesWeb::Endpoints::ListIdentityProviders.build(context)
129
+ when :list_network_settings
130
+ Aws::WorkSpacesWeb::Endpoints::ListNetworkSettings.build(context)
131
+ when :list_portals
132
+ Aws::WorkSpacesWeb::Endpoints::ListPortals.build(context)
133
+ when :list_tags_for_resource
134
+ Aws::WorkSpacesWeb::Endpoints::ListTagsForResource.build(context)
135
+ when :list_trust_store_certificates
136
+ Aws::WorkSpacesWeb::Endpoints::ListTrustStoreCertificates.build(context)
137
+ when :list_trust_stores
138
+ Aws::WorkSpacesWeb::Endpoints::ListTrustStores.build(context)
139
+ when :list_user_access_logging_settings
140
+ Aws::WorkSpacesWeb::Endpoints::ListUserAccessLoggingSettings.build(context)
141
+ when :list_user_settings
142
+ Aws::WorkSpacesWeb::Endpoints::ListUserSettings.build(context)
143
+ when :tag_resource
144
+ Aws::WorkSpacesWeb::Endpoints::TagResource.build(context)
145
+ when :untag_resource
146
+ Aws::WorkSpacesWeb::Endpoints::UntagResource.build(context)
147
+ when :update_browser_settings
148
+ Aws::WorkSpacesWeb::Endpoints::UpdateBrowserSettings.build(context)
149
+ when :update_identity_provider
150
+ Aws::WorkSpacesWeb::Endpoints::UpdateIdentityProvider.build(context)
151
+ when :update_network_settings
152
+ Aws::WorkSpacesWeb::Endpoints::UpdateNetworkSettings.build(context)
153
+ when :update_portal
154
+ Aws::WorkSpacesWeb::Endpoints::UpdatePortal.build(context)
155
+ when :update_trust_store
156
+ Aws::WorkSpacesWeb::Endpoints::UpdateTrustStore.build(context)
157
+ when :update_user_access_logging_settings
158
+ Aws::WorkSpacesWeb::Endpoints::UpdateUserAccessLoggingSettings.build(context)
159
+ when :update_user_settings
160
+ Aws::WorkSpacesWeb::Endpoints::UpdateUserSettings.build(context)
161
+ end
162
+ end
163
+ end
164
+
165
+ def add_handlers(handlers, _config)
166
+ handlers.add(Handler, step: :build, priority: 75)
167
+ end
168
+ end
169
+ end
170
+ end
@@ -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.
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-workspacesweb/types'
15
15
  require_relative 'aws-sdk-workspacesweb/client_api'
16
+ require_relative 'aws-sdk-workspacesweb/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-workspacesweb/client'
17
18
  require_relative 'aws-sdk-workspacesweb/errors'
18
19
  require_relative 'aws-sdk-workspacesweb/resource'
20
+ require_relative 'aws-sdk-workspacesweb/endpoint_parameters'
21
+ require_relative 'aws-sdk-workspacesweb/endpoint_provider'
22
+ require_relative 'aws-sdk-workspacesweb/endpoints'
19
23
  require_relative 'aws-sdk-workspacesweb/customizations'
20
24
 
21
25
  # This module provides support for Amazon WorkSpaces Web. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-workspacesweb/customizations'
48
52
  # @!group service
49
53
  module Aws::WorkSpacesWeb
50
54
 
51
- GEM_VERSION = '1.4.0'
55
+ GEM_VERSION = '1.6.0'
52
56
 
53
57
  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.6.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-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-workspacesweb/client.rb
60
60
  - lib/aws-sdk-workspacesweb/client_api.rb
61
61
  - lib/aws-sdk-workspacesweb/customizations.rb
62
+ - lib/aws-sdk-workspacesweb/endpoint_parameters.rb
63
+ - lib/aws-sdk-workspacesweb/endpoint_provider.rb
64
+ - lib/aws-sdk-workspacesweb/endpoints.rb
62
65
  - lib/aws-sdk-workspacesweb/errors.rb
66
+ - lib/aws-sdk-workspacesweb/plugins/endpoints.rb
63
67
  - lib/aws-sdk-workspacesweb/resource.rb
64
68
  - lib/aws-sdk-workspacesweb/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby