aws-sdk-workspacesweb 1.29.0 → 1.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be0dffb94c00d5729fb2dfaa76b85db677a26c079515cfc465ae4f6e693b3ddb
4
- data.tar.gz: 922e05024da1a99a8f17d4e569125c9e83af7462f7a299a6df5c2680e4a9cff5
3
+ metadata.gz: 1f5ec15199510b23e3fb692ace75e3fc86e282c365031366c3b209fbd4b3b530
4
+ data.tar.gz: b6bc6be3ab1383eac52c8e3ea54ecfc3a8af990ce33a8f497f2459a7e415a347
5
5
  SHA512:
6
- metadata.gz: dc9842efedc56c2b463b66945f6c2c1e83d1acd2100097eebd4ee24e0e53dd96c47345e98741f607d703683ca147340a3e0dc01fc85b7aa318787e05fcae7fef
7
- data.tar.gz: 6743662e9d9856d49c06ea8c08f4de25c73d43f4245436268f16b88a747e3a5ac5d562399d9a7c7f83307fb30239c3ed59e6e789a17b2d2b59279ec6f815ec9e
6
+ metadata.gz: 4e95c326fcc5b9d97c84306258a95d14935b0aed6f6d71a2b0d6ced082ba39f0039c382575bac21c70d4995d4e8db4897fec3aef72d8dc1e1b7569c21d4d081e
7
+ data.tar.gz: 11bd087721baae9097523a6e040bab5908894bd4ed4e42ec924f30172150a0294535f3ba594f18b1cf4631bfe2f25e4c6494d59dd3c8f8346b1ad61c29fb61d8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2024-09-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.30.0 (2024-09-19)
10
+ ------------------
11
+
12
+ * Feature - WorkSpaces Secure Browser now enables Administrators to view and manage end-user browsing sessions via Session Management APIs.
13
+
4
14
  1.29.0 (2024-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.31.0
@@ -130,13 +130,15 @@ module Aws::WorkSpacesWeb
130
130
  # locations will be searched for credentials:
131
131
  #
132
132
  # * `Aws.config[:credentials]`
133
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
134
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
133
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
134
+ # `:account_id` options.
135
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
136
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
135
137
  # * `~/.aws/credentials`
136
138
  # * `~/.aws/config`
137
139
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
140
  # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
141
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
142
  # enable retries and extended timeouts. Instance profile credential
141
143
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
144
  # to true.
@@ -155,6 +157,8 @@ module Aws::WorkSpacesWeb
155
157
  #
156
158
  # @option options [String] :access_key_id
157
159
  #
160
+ # @option options [String] :account_id
161
+ #
158
162
  # @option options [Boolean] :active_endpoint_cache (false)
159
163
  # When set to `true`, a thread polling for endpoints will be running in
160
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -369,7 +373,9 @@ module Aws::WorkSpacesWeb
369
373
  # sending the request.
370
374
  #
371
375
  # @option options [Aws::WorkSpacesWeb::EndpointProvider] :endpoint_provider
372
- # 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`
376
+ # The endpoint provider used to resolve endpoints. Any object that responds to
377
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
378
+ # `Aws::WorkSpacesWeb::EndpointParameters`.
373
379
  #
374
380
  # @option options [Float] :http_continue_timeout (1)
375
381
  # The number of seconds to wait for a 100-continue response before sending the
@@ -1005,10 +1011,9 @@ module Aws::WorkSpacesWeb
1005
1011
  # provider.
1006
1012
  #
1007
1013
  # `IAM Identity Center` web portals are authenticated through IAM
1008
- # Identity Center (successor to Single Sign-On). Identity sources
1009
- # (including external identity provider integration), plus user and
1010
- # group access to your web portal, can be configured in the IAM Identity
1011
- # Center.
1014
+ # Identity Center. Identity sources (including external identity
1015
+ # provider integration), plus user and group access to your web portal,
1016
+ # can be configured in the IAM Identity Center.
1012
1017
  #
1013
1018
  # @option params [String] :client_token
1014
1019
  # A unique, case-sensitive identifier that you provide to ensure the
@@ -1618,6 +1623,32 @@ module Aws::WorkSpacesWeb
1618
1623
  req.send_request(options)
1619
1624
  end
1620
1625
 
1626
+ # Expires an active secure browser session.
1627
+ #
1628
+ # @option params [required, String] :portal_id
1629
+ # The ID of the web portal for the session.
1630
+ #
1631
+ # @option params [required, String] :session_id
1632
+ # The ID of the session to expire.
1633
+ #
1634
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1635
+ #
1636
+ # @example Request syntax with placeholder values
1637
+ #
1638
+ # resp = client.expire_session({
1639
+ # portal_id: "PortalId", # required
1640
+ # session_id: "SessionId", # required
1641
+ # })
1642
+ #
1643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ExpireSession AWS API Documentation
1644
+ #
1645
+ # @overload expire_session(params = {})
1646
+ # @param [Hash] params ({})
1647
+ def expire_session(params = {}, options = {})
1648
+ req = build_request(:expire_session, params)
1649
+ req.send_request(options)
1650
+ end
1651
+
1621
1652
  # Gets browser settings.
1622
1653
  #
1623
1654
  # @option params [required, String] :browser_settings_arn
@@ -1835,6 +1866,45 @@ module Aws::WorkSpacesWeb
1835
1866
  req.send_request(options)
1836
1867
  end
1837
1868
 
1869
+ # Gets information for a secure browser session.
1870
+ #
1871
+ # @option params [required, String] :portal_id
1872
+ # The ID of the web portal for the session.
1873
+ #
1874
+ # @option params [required, String] :session_id
1875
+ # The ID of the session.
1876
+ #
1877
+ # @return [Types::GetSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1878
+ #
1879
+ # * {Types::GetSessionResponse#session #session} => Types::Session
1880
+ #
1881
+ # @example Request syntax with placeholder values
1882
+ #
1883
+ # resp = client.get_session({
1884
+ # portal_id: "PortalId", # required
1885
+ # session_id: "SessionId", # required
1886
+ # })
1887
+ #
1888
+ # @example Response structure
1889
+ #
1890
+ # resp.session.client_ip_addresses #=> Array
1891
+ # resp.session.client_ip_addresses[0] #=> String
1892
+ # resp.session.end_time #=> Time
1893
+ # resp.session.portal_arn #=> String
1894
+ # resp.session.session_id #=> String
1895
+ # resp.session.start_time #=> Time
1896
+ # resp.session.status #=> String, one of "Active", "Terminated"
1897
+ # resp.session.username #=> String
1898
+ #
1899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetSession AWS API Documentation
1900
+ #
1901
+ # @overload get_session(params = {})
1902
+ # @param [Hash] params ({})
1903
+ def get_session(params = {}, options = {})
1904
+ req = build_request(:get_session, params)
1905
+ req.send_request(options)
1906
+ end
1907
+
1838
1908
  # Gets the trust store.
1839
1909
  #
1840
1910
  # @option params [required, String] :trust_store_arn
@@ -2199,6 +2269,70 @@ module Aws::WorkSpacesWeb
2199
2269
  req.send_request(options)
2200
2270
  end
2201
2271
 
2272
+ # Lists information for multiple secure browser sessions from a specific
2273
+ # portal.
2274
+ #
2275
+ # @option params [Integer] :max_results
2276
+ # The maximum number of results to be included in the next page.
2277
+ #
2278
+ # @option params [String] :next_token
2279
+ # The pagination token used to retrieve the next page of results for
2280
+ # this operation.
2281
+ #
2282
+ # @option params [required, String] :portal_id
2283
+ # The ID of the web portal for the sessions.
2284
+ #
2285
+ # @option params [String] :session_id
2286
+ # The ID of the session.
2287
+ #
2288
+ # @option params [String] :sort_by
2289
+ # The method in which the returned sessions should be sorted.
2290
+ #
2291
+ # @option params [String] :status
2292
+ # The status of the session.
2293
+ #
2294
+ # @option params [String] :username
2295
+ # The username of the session.
2296
+ #
2297
+ # @return [Types::ListSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2298
+ #
2299
+ # * {Types::ListSessionsResponse#next_token #next_token} => String
2300
+ # * {Types::ListSessionsResponse#sessions #sessions} => Array<Types::SessionSummary>
2301
+ #
2302
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2303
+ #
2304
+ # @example Request syntax with placeholder values
2305
+ #
2306
+ # resp = client.list_sessions({
2307
+ # max_results: 1,
2308
+ # next_token: "PaginationToken",
2309
+ # portal_id: "PortalId", # required
2310
+ # session_id: "SessionId",
2311
+ # sort_by: "StartTimeAscending", # accepts StartTimeAscending, StartTimeDescending
2312
+ # status: "Active", # accepts Active, Terminated
2313
+ # username: "Username",
2314
+ # })
2315
+ #
2316
+ # @example Response structure
2317
+ #
2318
+ # resp.next_token #=> String
2319
+ # resp.sessions #=> Array
2320
+ # resp.sessions[0].end_time #=> Time
2321
+ # resp.sessions[0].portal_arn #=> String
2322
+ # resp.sessions[0].session_id #=> String
2323
+ # resp.sessions[0].start_time #=> Time
2324
+ # resp.sessions[0].status #=> String, one of "Active", "Terminated"
2325
+ # resp.sessions[0].username #=> String
2326
+ #
2327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListSessions AWS API Documentation
2328
+ #
2329
+ # @overload list_sessions(params = {})
2330
+ # @param [Hash] params ({})
2331
+ def list_sessions(params = {}, options = {})
2332
+ req = build_request(:list_sessions, params)
2333
+ req.send_request(options)
2334
+ end
2335
+
2202
2336
  # Retrieves a list of tags for a resource.
2203
2337
  #
2204
2338
  # @option params [required, String] :resource_arn
@@ -2807,10 +2941,9 @@ module Aws::WorkSpacesWeb
2807
2941
  # provider.
2808
2942
  #
2809
2943
  # `IAM Identity Center` web portals are authenticated through IAM
2810
- # Identity Center (successor to Single Sign-On). Identity sources
2811
- # (including external identity provider integration), plus user and
2812
- # group access to your web portal, can be configured in the IAM Identity
2813
- # Center.
2944
+ # Identity Center. Identity sources (including external identity
2945
+ # provider integration), plus user and group access to your web portal,
2946
+ # can be configured in the IAM Identity Center.
2814
2947
  #
2815
2948
  # @option params [String] :display_name
2816
2949
  # The name of the web portal. This is not visible to users who log into
@@ -3114,7 +3247,7 @@ module Aws::WorkSpacesWeb
3114
3247
  tracer: tracer
3115
3248
  )
3116
3249
  context[:gem_name] = 'aws-sdk-workspacesweb'
3117
- context[:gem_version] = '1.29.0'
3250
+ context[:gem_version] = '1.31.0'
3118
3251
  Seahorse::Client::Request.new(handlers, context)
3119
3252
  end
3120
3253
 
@@ -100,6 +100,8 @@ module Aws::WorkSpacesWeb
100
100
  EnabledType = Shapes::StringShape.new(name: 'EnabledType')
101
101
  EncryptionContextMap = Shapes::MapShape.new(name: 'EncryptionContextMap')
102
102
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
103
+ ExpireSessionRequest = Shapes::StructureShape.new(name: 'ExpireSessionRequest')
104
+ ExpireSessionResponse = Shapes::StructureShape.new(name: 'ExpireSessionResponse')
103
105
  FieldName = Shapes::StringShape.new(name: 'FieldName')
104
106
  GetBrowserSettingsRequest = Shapes::StructureShape.new(name: 'GetBrowserSettingsRequest')
105
107
  GetBrowserSettingsResponse = Shapes::StructureShape.new(name: 'GetBrowserSettingsResponse')
@@ -113,6 +115,8 @@ module Aws::WorkSpacesWeb
113
115
  GetPortalResponse = Shapes::StructureShape.new(name: 'GetPortalResponse')
114
116
  GetPortalServiceProviderMetadataRequest = Shapes::StructureShape.new(name: 'GetPortalServiceProviderMetadataRequest')
115
117
  GetPortalServiceProviderMetadataResponse = Shapes::StructureShape.new(name: 'GetPortalServiceProviderMetadataResponse')
118
+ GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
119
+ GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
116
120
  GetTrustStoreCertificateRequest = Shapes::StructureShape.new(name: 'GetTrustStoreCertificateRequest')
117
121
  GetTrustStoreCertificateResponse = Shapes::StructureShape.new(name: 'GetTrustStoreCertificateResponse')
118
122
  GetTrustStoreRequest = Shapes::StructureShape.new(name: 'GetTrustStoreRequest')
@@ -133,6 +137,8 @@ module Aws::WorkSpacesWeb
133
137
  IpAccessSettings = Shapes::StructureShape.new(name: 'IpAccessSettings')
134
138
  IpAccessSettingsList = Shapes::ListShape.new(name: 'IpAccessSettingsList')
135
139
  IpAccessSettingsSummary = Shapes::StructureShape.new(name: 'IpAccessSettingsSummary')
140
+ IpAddress = Shapes::StringShape.new(name: 'IpAddress')
141
+ IpAddressList = Shapes::ListShape.new(name: 'IpAddressList')
136
142
  IpRange = Shapes::StringShape.new(name: 'IpRange')
137
143
  IpRule = Shapes::StructureShape.new(name: 'IpRule')
138
144
  IpRuleList = Shapes::ListShape.new(name: 'IpRuleList')
@@ -147,6 +153,8 @@ module Aws::WorkSpacesWeb
147
153
  ListNetworkSettingsResponse = Shapes::StructureShape.new(name: 'ListNetworkSettingsResponse')
148
154
  ListPortalsRequest = Shapes::StructureShape.new(name: 'ListPortalsRequest')
149
155
  ListPortalsResponse = Shapes::StructureShape.new(name: 'ListPortalsResponse')
156
+ ListSessionsRequest = Shapes::StructureShape.new(name: 'ListSessionsRequest')
157
+ ListSessionsResponse = Shapes::StructureShape.new(name: 'ListSessionsResponse')
150
158
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
151
159
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
152
160
  ListTrustStoreCertificatesRequest = Shapes::StructureShape.new(name: 'ListTrustStoreCertificatesRequest')
@@ -165,6 +173,7 @@ module Aws::WorkSpacesWeb
165
173
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
166
174
  Portal = Shapes::StructureShape.new(name: 'Portal')
167
175
  PortalEndpoint = Shapes::StringShape.new(name: 'PortalEndpoint')
176
+ PortalId = Shapes::StringShape.new(name: 'PortalId')
168
177
  PortalList = Shapes::ListShape.new(name: 'PortalList')
169
178
  PortalStatus = Shapes::StringShape.new(name: 'PortalStatus')
170
179
  PortalSummary = Shapes::StructureShape.new(name: 'PortalSummary')
@@ -179,6 +188,12 @@ module Aws::WorkSpacesWeb
179
188
  SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
180
189
  ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
181
190
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
191
+ Session = Shapes::StructureShape.new(name: 'Session')
192
+ SessionId = Shapes::StringShape.new(name: 'SessionId')
193
+ SessionSortBy = Shapes::StringShape.new(name: 'SessionSortBy')
194
+ SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
195
+ SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
196
+ SessionSummaryList = Shapes::ListShape.new(name: 'SessionSummaryList')
182
197
  StatusReason = Shapes::StringShape.new(name: 'StatusReason')
183
198
  StringType = Shapes::StringShape.new(name: 'StringType')
184
199
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
@@ -222,6 +237,7 @@ module Aws::WorkSpacesWeb
222
237
  UserSettings = Shapes::StructureShape.new(name: 'UserSettings')
223
238
  UserSettingsList = Shapes::ListShape.new(name: 'UserSettingsList')
224
239
  UserSettingsSummary = Shapes::StructureShape.new(name: 'UserSettingsSummary')
240
+ Username = Shapes::StringShape.new(name: 'Username')
225
241
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
226
242
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
227
243
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
@@ -495,6 +511,12 @@ module Aws::WorkSpacesWeb
495
511
  EncryptionContextMap.key = Shapes::ShapeRef.new(shape: StringType)
496
512
  EncryptionContextMap.value = Shapes::ShapeRef.new(shape: StringType)
497
513
 
514
+ ExpireSessionRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: PortalId, required: true, location: "uri", location_name: "portalId"))
515
+ ExpireSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
516
+ ExpireSessionRequest.struct_class = Types::ExpireSessionRequest
517
+
518
+ ExpireSessionResponse.struct_class = Types::ExpireSessionResponse
519
+
498
520
  GetBrowserSettingsRequest.add_member(:browser_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "browserSettingsArn"))
499
521
  GetBrowserSettingsRequest.struct_class = Types::GetBrowserSettingsRequest
500
522
 
@@ -532,6 +554,13 @@ module Aws::WorkSpacesWeb
532
554
  GetPortalServiceProviderMetadataResponse.add_member(:service_provider_saml_metadata, Shapes::ShapeRef.new(shape: SamlMetadata, location_name: "serviceProviderSamlMetadata"))
533
555
  GetPortalServiceProviderMetadataResponse.struct_class = Types::GetPortalServiceProviderMetadataResponse
534
556
 
557
+ GetSessionRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: PortalId, required: true, location: "uri", location_name: "portalId"))
558
+ GetSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
559
+ GetSessionRequest.struct_class = Types::GetSessionRequest
560
+
561
+ GetSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: Session, location_name: "session"))
562
+ GetSessionResponse.struct_class = Types::GetSessionResponse
563
+
535
564
  GetTrustStoreCertificateRequest.add_member(:thumbprint, Shapes::ShapeRef.new(shape: CertificateThumbprint, required: true, location: "querystring", location_name: "thumbprint"))
536
565
  GetTrustStoreCertificateRequest.add_member(:trust_store_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "trustStoreArn"))
537
566
  GetTrustStoreCertificateRequest.struct_class = Types::GetTrustStoreCertificateRequest
@@ -596,6 +625,8 @@ module Aws::WorkSpacesWeb
596
625
  IpAccessSettingsSummary.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ipAccessSettingsArn"))
597
626
  IpAccessSettingsSummary.struct_class = Types::IpAccessSettingsSummary
598
627
 
628
+ IpAddressList.member = Shapes::ShapeRef.new(shape: IpAddress)
629
+
599
630
  IpRule.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
600
631
  IpRule.add_member(:ip_range, Shapes::ShapeRef.new(shape: IpRange, required: true, location_name: "ipRange"))
601
632
  IpRule.struct_class = Types::IpRule
@@ -643,6 +674,19 @@ module Aws::WorkSpacesWeb
643
674
  ListPortalsResponse.add_member(:portals, Shapes::ShapeRef.new(shape: PortalList, location_name: "portals"))
644
675
  ListPortalsResponse.struct_class = Types::ListPortalsResponse
645
676
 
677
+ ListSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
678
+ ListSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
679
+ ListSessionsRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: PortalId, required: true, location: "uri", location_name: "portalId"))
680
+ ListSessionsRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location: "querystring", location_name: "sessionId"))
681
+ ListSessionsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SessionSortBy, location: "querystring", location_name: "sortBy"))
682
+ ListSessionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location: "querystring", location_name: "status"))
683
+ ListSessionsRequest.add_member(:username, Shapes::ShapeRef.new(shape: Username, location: "querystring", location_name: "username"))
684
+ ListSessionsRequest.struct_class = Types::ListSessionsRequest
685
+
686
+ ListSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
687
+ ListSessionsResponse.add_member(:sessions, Shapes::ShapeRef.new(shape: SessionSummaryList, required: true, location_name: "sessions"))
688
+ ListSessionsResponse.struct_class = Types::ListSessionsResponse
689
+
646
690
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
647
691
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
648
692
 
@@ -751,6 +795,25 @@ module Aws::WorkSpacesWeb
751
795
  ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "serviceCode"))
752
796
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
753
797
 
798
+ Session.add_member(:client_ip_addresses, Shapes::ShapeRef.new(shape: IpAddressList, location_name: "clientIpAddresses"))
799
+ Session.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
800
+ Session.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "portalArn"))
801
+ Session.add_member(:session_id, Shapes::ShapeRef.new(shape: StringType, location_name: "sessionId"))
802
+ Session.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
803
+ Session.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "status"))
804
+ Session.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "username"))
805
+ Session.struct_class = Types::Session
806
+
807
+ SessionSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
808
+ SessionSummary.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "portalArn"))
809
+ SessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: StringType, location_name: "sessionId"))
810
+ SessionSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
811
+ SessionSummary.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "status"))
812
+ SessionSummary.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "username"))
813
+ SessionSummary.struct_class = Types::SessionSummary
814
+
815
+ SessionSummaryList.member = Shapes::ShapeRef.new(shape: SessionSummary)
816
+
754
817
  SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
755
818
 
756
819
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -933,9 +996,11 @@ module Aws::WorkSpacesWeb
933
996
 
934
997
  api.metadata = {
935
998
  "apiVersion" => "2020-07-08",
999
+ "auth" => ["aws.auth#sigv4"],
936
1000
  "endpointPrefix" => "workspaces-web",
937
1001
  "jsonVersion" => "1.1",
938
1002
  "protocol" => "rest-json",
1003
+ "protocols" => ["rest-json"],
939
1004
  "serviceFullName" => "Amazon WorkSpaces Web",
940
1005
  "serviceId" => "WorkSpaces Web",
941
1006
  "signatureVersion" => "v4",
@@ -1330,6 +1395,19 @@ module Aws::WorkSpacesWeb
1330
1395
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1331
1396
  end)
1332
1397
 
1398
+ api.add_operation(:expire_session, Seahorse::Model::Operation.new.tap do |o|
1399
+ o.name = "ExpireSession"
1400
+ o.http_method = "DELETE"
1401
+ o.http_request_uri = "/portals/{portalId}/sessions/{sessionId}"
1402
+ o.input = Shapes::ShapeRef.new(shape: ExpireSessionRequest)
1403
+ o.output = Shapes::ShapeRef.new(shape: ExpireSessionResponse)
1404
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1405
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1406
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1407
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1408
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1409
+ end)
1410
+
1333
1411
  api.add_operation(:get_browser_settings, Seahorse::Model::Operation.new.tap do |o|
1334
1412
  o.name = "GetBrowserSettings"
1335
1413
  o.http_method = "GET"
@@ -1408,6 +1486,19 @@ module Aws::WorkSpacesWeb
1408
1486
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1409
1487
  end)
1410
1488
 
1489
+ api.add_operation(:get_session, Seahorse::Model::Operation.new.tap do |o|
1490
+ o.name = "GetSession"
1491
+ o.http_method = "GET"
1492
+ o.http_request_uri = "/portals/{portalId}/sessions/{sessionId}"
1493
+ o.input = Shapes::ShapeRef.new(shape: GetSessionRequest)
1494
+ o.output = Shapes::ShapeRef.new(shape: GetSessionResponse)
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
+
1411
1502
  api.add_operation(:get_trust_store, Seahorse::Model::Operation.new.tap do |o|
1412
1503
  o.name = "GetTrustStore"
1413
1504
  o.http_method = "GET"
@@ -1550,6 +1641,25 @@ module Aws::WorkSpacesWeb
1550
1641
  )
1551
1642
  end)
1552
1643
 
1644
+ api.add_operation(:list_sessions, Seahorse::Model::Operation.new.tap do |o|
1645
+ o.name = "ListSessions"
1646
+ o.http_method = "GET"
1647
+ o.http_request_uri = "/portals/{portalId}/sessions"
1648
+ o.input = Shapes::ShapeRef.new(shape: ListSessionsRequest)
1649
+ o.output = Shapes::ShapeRef.new(shape: ListSessionsResponse)
1650
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1651
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1652
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1653
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1654
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1655
+ o[:pager] = Aws::Pager.new(
1656
+ limit_key: "max_results",
1657
+ tokens: {
1658
+ "next_token" => "next_token"
1659
+ }
1660
+ )
1661
+ end)
1662
+
1553
1663
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1554
1664
  o.name = "ListTagsForResource"
1555
1665
  o.http_method = "GET"
@@ -320,6 +320,17 @@ module Aws::WorkSpacesWeb
320
320
  end
321
321
  end
322
322
 
323
+ class ExpireSession
324
+ def self.build(context)
325
+ Aws::WorkSpacesWeb::EndpointParameters.new(
326
+ region: context.config.region,
327
+ use_dual_stack: context.config.use_dualstack_endpoint,
328
+ use_fips: context.config.use_fips_endpoint,
329
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
330
+ )
331
+ end
332
+ end
333
+
323
334
  class GetBrowserSettings
324
335
  def self.build(context)
325
336
  Aws::WorkSpacesWeb::EndpointParameters.new(
@@ -386,6 +397,17 @@ module Aws::WorkSpacesWeb
386
397
  end
387
398
  end
388
399
 
400
+ class GetSession
401
+ def self.build(context)
402
+ Aws::WorkSpacesWeb::EndpointParameters.new(
403
+ region: context.config.region,
404
+ use_dual_stack: context.config.use_dualstack_endpoint,
405
+ use_fips: context.config.use_fips_endpoint,
406
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
407
+ )
408
+ end
409
+ end
410
+
389
411
  class GetTrustStore
390
412
  def self.build(context)
391
413
  Aws::WorkSpacesWeb::EndpointParameters.new(
@@ -485,6 +507,17 @@ module Aws::WorkSpacesWeb
485
507
  end
486
508
  end
487
509
 
510
+ class ListSessions
511
+ def self.build(context)
512
+ Aws::WorkSpacesWeb::EndpointParameters.new(
513
+ region: context.config.region,
514
+ use_dual_stack: context.config.use_dualstack_endpoint,
515
+ use_fips: context.config.use_fips_endpoint,
516
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
517
+ )
518
+ end
519
+ end
520
+
488
521
  class ListTagsForResource
489
522
  def self.build(context)
490
523
  Aws::WorkSpacesWeb::EndpointParameters.new(
@@ -15,11 +15,11 @@ module Aws::WorkSpacesWeb
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::WorkSpacesWeb::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::WorkSpacesWeb::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::WorkSpacesWeb::EndpointParameters`.
22
+ DOCS
23
23
  Aws::WorkSpacesWeb::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::WorkSpacesWeb
51
51
  if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
52
  metrics << 'SIGV4A_SIGNING'
53
53
  end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
54
57
  Aws::Plugins::UserAgent.metric(*metrics, &block)
55
58
  end
56
59
 
@@ -123,6 +126,8 @@ module Aws::WorkSpacesWeb
123
126
  Aws::WorkSpacesWeb::Endpoints::DisassociateUserAccessLoggingSettings.build(context)
124
127
  when :disassociate_user_settings
125
128
  Aws::WorkSpacesWeb::Endpoints::DisassociateUserSettings.build(context)
129
+ when :expire_session
130
+ Aws::WorkSpacesWeb::Endpoints::ExpireSession.build(context)
126
131
  when :get_browser_settings
127
132
  Aws::WorkSpacesWeb::Endpoints::GetBrowserSettings.build(context)
128
133
  when :get_identity_provider
@@ -135,6 +140,8 @@ module Aws::WorkSpacesWeb
135
140
  Aws::WorkSpacesWeb::Endpoints::GetPortal.build(context)
136
141
  when :get_portal_service_provider_metadata
137
142
  Aws::WorkSpacesWeb::Endpoints::GetPortalServiceProviderMetadata.build(context)
143
+ when :get_session
144
+ Aws::WorkSpacesWeb::Endpoints::GetSession.build(context)
138
145
  when :get_trust_store
139
146
  Aws::WorkSpacesWeb::Endpoints::GetTrustStore.build(context)
140
147
  when :get_trust_store_certificate
@@ -153,6 +160,8 @@ module Aws::WorkSpacesWeb
153
160
  Aws::WorkSpacesWeb::Endpoints::ListNetworkSettings.build(context)
154
161
  when :list_portals
155
162
  Aws::WorkSpacesWeb::Endpoints::ListPortals.build(context)
163
+ when :list_sessions
164
+ Aws::WorkSpacesWeb::Endpoints::ListSessions.build(context)
156
165
  when :list_tags_for_resource
157
166
  Aws::WorkSpacesWeb::Endpoints::ListTagsForResource.build(context)
158
167
  when :list_trust_store_certificates
@@ -749,10 +749,9 @@ module Aws::WorkSpacesWeb
749
749
  # provider.
750
750
  #
751
751
  # `IAM Identity Center` web portals are authenticated through IAM
752
- # Identity Center (successor to Single Sign-On). Identity sources
753
- # (including external identity provider integration), plus user and
754
- # group access to your web portal, can be configured in the IAM
755
- # Identity Center.
752
+ # Identity Center. Identity sources (including external identity
753
+ # provider integration), plus user and group access to your web
754
+ # portal, can be configured in the IAM Identity Center.
756
755
  # @return [String]
757
756
  #
758
757
  # @!attribute [rw] client_token
@@ -1246,6 +1245,27 @@ module Aws::WorkSpacesWeb
1246
1245
  #
1247
1246
  class DisassociateUserSettingsResponse < Aws::EmptyStructure; end
1248
1247
 
1248
+ # @!attribute [rw] portal_id
1249
+ # The ID of the web portal for the session.
1250
+ # @return [String]
1251
+ #
1252
+ # @!attribute [rw] session_id
1253
+ # The ID of the session to expire.
1254
+ # @return [String]
1255
+ #
1256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ExpireSessionRequest AWS API Documentation
1257
+ #
1258
+ class ExpireSessionRequest < Struct.new(
1259
+ :portal_id,
1260
+ :session_id)
1261
+ SENSITIVE = []
1262
+ include Aws::Structure
1263
+ end
1264
+
1265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ExpireSessionResponse AWS API Documentation
1266
+ #
1267
+ class ExpireSessionResponse < Aws::EmptyStructure; end
1268
+
1249
1269
  # @!attribute [rw] browser_settings_arn
1250
1270
  # The ARN of the browser settings.
1251
1271
  # @return [String]
@@ -1395,6 +1415,35 @@ module Aws::WorkSpacesWeb
1395
1415
  include Aws::Structure
1396
1416
  end
1397
1417
 
1418
+ # @!attribute [rw] portal_id
1419
+ # The ID of the web portal for the session.
1420
+ # @return [String]
1421
+ #
1422
+ # @!attribute [rw] session_id
1423
+ # The ID of the session.
1424
+ # @return [String]
1425
+ #
1426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetSessionRequest AWS API Documentation
1427
+ #
1428
+ class GetSessionRequest < Struct.new(
1429
+ :portal_id,
1430
+ :session_id)
1431
+ SENSITIVE = []
1432
+ include Aws::Structure
1433
+ end
1434
+
1435
+ # @!attribute [rw] session
1436
+ # The sessions in a list.
1437
+ # @return [Types::Session]
1438
+ #
1439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetSessionResponse AWS API Documentation
1440
+ #
1441
+ class GetSessionResponse < Struct.new(
1442
+ :session)
1443
+ SENSITIVE = []
1444
+ include Aws::Structure
1445
+ end
1446
+
1398
1447
  # @!attribute [rw] thumbprint
1399
1448
  # The thumbprint of the trust store certificate.
1400
1449
  # @return [String]
@@ -1925,6 +1974,67 @@ module Aws::WorkSpacesWeb
1925
1974
  include Aws::Structure
1926
1975
  end
1927
1976
 
1977
+ # @!attribute [rw] max_results
1978
+ # The maximum number of results to be included in the next page.
1979
+ # @return [Integer]
1980
+ #
1981
+ # @!attribute [rw] next_token
1982
+ # The pagination token used to retrieve the next page of results for
1983
+ # this operation.
1984
+ # @return [String]
1985
+ #
1986
+ # @!attribute [rw] portal_id
1987
+ # The ID of the web portal for the sessions.
1988
+ # @return [String]
1989
+ #
1990
+ # @!attribute [rw] session_id
1991
+ # The ID of the session.
1992
+ # @return [String]
1993
+ #
1994
+ # @!attribute [rw] sort_by
1995
+ # The method in which the returned sessions should be sorted.
1996
+ # @return [String]
1997
+ #
1998
+ # @!attribute [rw] status
1999
+ # The status of the session.
2000
+ # @return [String]
2001
+ #
2002
+ # @!attribute [rw] username
2003
+ # The username of the session.
2004
+ # @return [String]
2005
+ #
2006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListSessionsRequest AWS API Documentation
2007
+ #
2008
+ class ListSessionsRequest < Struct.new(
2009
+ :max_results,
2010
+ :next_token,
2011
+ :portal_id,
2012
+ :session_id,
2013
+ :sort_by,
2014
+ :status,
2015
+ :username)
2016
+ SENSITIVE = [:username]
2017
+ include Aws::Structure
2018
+ end
2019
+
2020
+ # @!attribute [rw] next_token
2021
+ # The pagination token used to retrieve the next page of results for
2022
+ # this operation.
2023
+ # @return [String]
2024
+ #
2025
+ # @!attribute [rw] sessions
2026
+ # The sessions in a list.
2027
+ # @return [Array<Types::SessionSummary>]
2028
+ #
2029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListSessionsResponse AWS API Documentation
2030
+ #
2031
+ class ListSessionsResponse < Struct.new(
2032
+ :next_token,
2033
+ :sessions)
2034
+ SENSITIVE = []
2035
+ include Aws::Structure
2036
+ end
2037
+
1928
2038
  # @!attribute [rw] resource_arn
1929
2039
  # The ARN of the resource.
1930
2040
  # @return [String]
@@ -2179,10 +2289,9 @@ module Aws::WorkSpacesWeb
2179
2289
  # provider.
2180
2290
  #
2181
2291
  # `IAM Identity Center` web portals are authenticated through IAM
2182
- # Identity Center (successor to Single Sign-On). Identity sources
2183
- # (including external identity provider integration), plus user and
2184
- # group access to your web portal, can be configured in the IAM
2185
- # Identity Center.
2292
+ # Identity Center. Identity sources (including external identity
2293
+ # provider integration), plus user and group access to your web
2294
+ # portal, can be configured in the IAM Identity Center.
2186
2295
  # @return [String]
2187
2296
  #
2188
2297
  # @!attribute [rw] browser_settings_arn
@@ -2297,10 +2406,9 @@ module Aws::WorkSpacesWeb
2297
2406
  # provider.
2298
2407
  #
2299
2408
  # `IAM Identity Center` web portals are authenticated through IAM
2300
- # Identity Center (successor to Single Sign-On). Identity sources
2301
- # (including external identity provider integration), plus user and
2302
- # group access to your web portal, can be configured in the IAM
2303
- # Identity Center.
2409
+ # Identity Center. Identity sources (including external identity
2410
+ # provider integration), plus user and group access to your web
2411
+ # portal, can be configured in the IAM Identity Center.
2304
2412
  # @return [String]
2305
2413
  #
2306
2414
  # @!attribute [rw] browser_settings_arn
@@ -2446,6 +2554,89 @@ module Aws::WorkSpacesWeb
2446
2554
  include Aws::Structure
2447
2555
  end
2448
2556
 
2557
+ # Information about a secure browser session.
2558
+ #
2559
+ # @!attribute [rw] client_ip_addresses
2560
+ # The IP address of the client.
2561
+ # @return [Array<String>]
2562
+ #
2563
+ # @!attribute [rw] end_time
2564
+ # The end time of the session.
2565
+ # @return [Time]
2566
+ #
2567
+ # @!attribute [rw] portal_arn
2568
+ # The ARN of the web portal.
2569
+ # @return [String]
2570
+ #
2571
+ # @!attribute [rw] session_id
2572
+ # The ID of the session.
2573
+ # @return [String]
2574
+ #
2575
+ # @!attribute [rw] start_time
2576
+ # The start time of the session.
2577
+ # @return [Time]
2578
+ #
2579
+ # @!attribute [rw] status
2580
+ # The status of the session.
2581
+ # @return [String]
2582
+ #
2583
+ # @!attribute [rw] username
2584
+ # The username of the session.
2585
+ # @return [String]
2586
+ #
2587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/Session AWS API Documentation
2588
+ #
2589
+ class Session < Struct.new(
2590
+ :client_ip_addresses,
2591
+ :end_time,
2592
+ :portal_arn,
2593
+ :session_id,
2594
+ :start_time,
2595
+ :status,
2596
+ :username)
2597
+ SENSITIVE = [:client_ip_addresses, :username]
2598
+ include Aws::Structure
2599
+ end
2600
+
2601
+ # Summary information about a secure browser session.
2602
+ #
2603
+ # @!attribute [rw] end_time
2604
+ # The end time of the session.
2605
+ # @return [Time]
2606
+ #
2607
+ # @!attribute [rw] portal_arn
2608
+ # The ARN of the web portal.
2609
+ # @return [String]
2610
+ #
2611
+ # @!attribute [rw] session_id
2612
+ # The ID of the session.
2613
+ # @return [String]
2614
+ #
2615
+ # @!attribute [rw] start_time
2616
+ # The start time of the session.
2617
+ # @return [Time]
2618
+ #
2619
+ # @!attribute [rw] status
2620
+ # The status of the session.
2621
+ # @return [String]
2622
+ #
2623
+ # @!attribute [rw] username
2624
+ # The username of the session.
2625
+ # @return [String]
2626
+ #
2627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/SessionSummary AWS API Documentation
2628
+ #
2629
+ class SessionSummary < Struct.new(
2630
+ :end_time,
2631
+ :portal_arn,
2632
+ :session_id,
2633
+ :start_time,
2634
+ :status,
2635
+ :username)
2636
+ SENSITIVE = [:username]
2637
+ include Aws::Structure
2638
+ end
2639
+
2449
2640
  # The tag.
2450
2641
  #
2451
2642
  # @!attribute [rw] key
@@ -2897,10 +3088,9 @@ module Aws::WorkSpacesWeb
2897
3088
  # provider.
2898
3089
  #
2899
3090
  # `IAM Identity Center` web portals are authenticated through IAM
2900
- # Identity Center (successor to Single Sign-On). Identity sources
2901
- # (including external identity provider integration), plus user and
2902
- # group access to your web portal, can be configured in the IAM
2903
- # Identity Center.
3091
+ # Identity Center. Identity sources (including external identity
3092
+ # provider integration), plus user and group access to your web
3093
+ # portal, can be configured in the IAM Identity Center.
2904
3094
  # @return [String]
2905
3095
  #
2906
3096
  # @!attribute [rw] display_name
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-workspacesweb/customizations'
52
52
  # @!group service
53
53
  module Aws::WorkSpacesWeb
54
54
 
55
- GEM_VERSION = '1.29.0'
55
+ GEM_VERSION = '1.31.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
@@ -455,6 +456,16 @@ module Aws
455
456
  ) -> _DisassociateUserSettingsResponseSuccess
456
457
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateUserSettingsResponseSuccess
457
458
 
459
+ interface _ExpireSessionResponseSuccess
460
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExpireSessionResponse]
461
+ end
462
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#expire_session-instance_method
463
+ def expire_session: (
464
+ portal_id: ::String,
465
+ session_id: ::String
466
+ ) -> _ExpireSessionResponseSuccess
467
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExpireSessionResponseSuccess
468
+
458
469
  interface _GetBrowserSettingsResponseSuccess
459
470
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBrowserSettingsResponse]
460
471
  def browser_settings: () -> Types::BrowserSettings
@@ -516,6 +527,17 @@ module Aws
516
527
  ) -> _GetPortalServiceProviderMetadataResponseSuccess
517
528
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPortalServiceProviderMetadataResponseSuccess
518
529
 
530
+ interface _GetSessionResponseSuccess
531
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionResponse]
532
+ def session: () -> Types::Session
533
+ end
534
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#get_session-instance_method
535
+ def get_session: (
536
+ portal_id: ::String,
537
+ session_id: ::String
538
+ ) -> _GetSessionResponseSuccess
539
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
540
+
519
541
  interface _GetTrustStoreResponseSuccess
520
542
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTrustStoreResponse]
521
543
  def trust_store: () -> Types::TrustStore
@@ -619,6 +641,23 @@ module Aws
619
641
  ) -> _ListPortalsResponseSuccess
620
642
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPortalsResponseSuccess
621
643
 
644
+ interface _ListSessionsResponseSuccess
645
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSessionsResponse]
646
+ def next_token: () -> ::String
647
+ def sessions: () -> ::Array[Types::SessionSummary]
648
+ end
649
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#list_sessions-instance_method
650
+ def list_sessions: (
651
+ ?max_results: ::Integer,
652
+ ?next_token: ::String,
653
+ portal_id: ::String,
654
+ ?session_id: ::String,
655
+ ?sort_by: ("StartTimeAscending" | "StartTimeDescending"),
656
+ ?status: ("Active" | "Terminated"),
657
+ ?username: ::String
658
+ ) -> _ListSessionsResponseSuccess
659
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
660
+
622
661
  interface _ListTagsForResourceResponseSuccess
623
662
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
624
663
  def tags: () -> ::Array[Types::Tag]
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
data/sig/types.rbs CHANGED
@@ -373,6 +373,15 @@ module Aws::WorkSpacesWeb
373
373
  class DisassociateUserSettingsResponse < Aws::EmptyStructure
374
374
  end
375
375
 
376
+ class ExpireSessionRequest
377
+ attr_accessor portal_id: ::String
378
+ attr_accessor session_id: ::String
379
+ SENSITIVE: []
380
+ end
381
+
382
+ class ExpireSessionResponse < Aws::EmptyStructure
383
+ end
384
+
376
385
  class GetBrowserSettingsRequest
377
386
  attr_accessor browser_settings_arn: ::String
378
387
  SENSITIVE: []
@@ -434,6 +443,17 @@ module Aws::WorkSpacesWeb
434
443
  SENSITIVE: []
435
444
  end
436
445
 
446
+ class GetSessionRequest
447
+ attr_accessor portal_id: ::String
448
+ attr_accessor session_id: ::String
449
+ SENSITIVE: []
450
+ end
451
+
452
+ class GetSessionResponse
453
+ attr_accessor session: Types::Session
454
+ SENSITIVE: []
455
+ end
456
+
437
457
  class GetTrustStoreCertificateRequest
438
458
  attr_accessor thumbprint: ::String
439
459
  attr_accessor trust_store_arn: ::String
@@ -584,6 +604,23 @@ module Aws::WorkSpacesWeb
584
604
  SENSITIVE: []
585
605
  end
586
606
 
607
+ class ListSessionsRequest
608
+ attr_accessor max_results: ::Integer
609
+ attr_accessor next_token: ::String
610
+ attr_accessor portal_id: ::String
611
+ attr_accessor session_id: ::String
612
+ attr_accessor sort_by: ("StartTimeAscending" | "StartTimeDescending")
613
+ attr_accessor status: ("Active" | "Terminated")
614
+ attr_accessor username: ::String
615
+ SENSITIVE: [:username]
616
+ end
617
+
618
+ class ListSessionsResponse
619
+ attr_accessor next_token: ::String
620
+ attr_accessor sessions: ::Array[Types::SessionSummary]
621
+ SENSITIVE: []
622
+ end
623
+
587
624
  class ListTagsForResourceRequest
588
625
  attr_accessor resource_arn: ::String
589
626
  SENSITIVE: []
@@ -718,6 +755,27 @@ module Aws::WorkSpacesWeb
718
755
  SENSITIVE: []
719
756
  end
720
757
 
758
+ class Session
759
+ attr_accessor client_ip_addresses: ::Array[::String]
760
+ attr_accessor end_time: ::Time
761
+ attr_accessor portal_arn: ::String
762
+ attr_accessor session_id: ::String
763
+ attr_accessor start_time: ::Time
764
+ attr_accessor status: ("Active" | "Terminated")
765
+ attr_accessor username: ::String
766
+ SENSITIVE: [:username]
767
+ end
768
+
769
+ class SessionSummary
770
+ attr_accessor end_time: ::Time
771
+ attr_accessor portal_arn: ::String
772
+ attr_accessor session_id: ::String
773
+ attr_accessor start_time: ::Time
774
+ attr_accessor status: ("Active" | "Terminated")
775
+ attr_accessor username: ::String
776
+ SENSITIVE: [:username]
777
+ end
778
+
721
779
  class Tag
722
780
  attr_accessor key: ::String
723
781
  attr_accessor value: ::String
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.29.0
4
+ version: 1.31.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: 2024-09-11 00:00:00.000000000 Z
11
+ date: 2024-09-20 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.205.0
22
+ version: 3.207.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.205.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for Amazon WorkSpaces Web. This gem is part of
48
48
  the AWS SDK for Ruby.
49
49
  email: