aws-sdk-workspacesweb 1.29.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspacesweb/client.rb +136 -9
- data/lib/aws-sdk-workspacesweb/client_api.rb +110 -0
- data/lib/aws-sdk-workspacesweb/endpoints.rb +33 -0
- data/lib/aws-sdk-workspacesweb/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-workspacesweb/types.rb +206 -16
- data/lib/aws-sdk-workspacesweb.rb +1 -1
- data/sig/client.rbs +38 -0
- data/sig/types.rbs +58 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8c11bdefc7a6f27ec2ffc0b6377ed54fadf8ebeb12ca37f83f87802063454df
|
4
|
+
data.tar.gz: 5893c457b52d8863056286810730268313369858fad05e4f361cea751e46d752
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cb9b47773c86451aa62d7c1dd7018e9a21ec39d2c66aed9c3f29f81aa4226c2713bc51d9f316abd97a6ac32298fd10742052d96aedce7b0658d6089e3e35f2b
|
7
|
+
data.tar.gz: a92da72cb0621cca305484c8c005246449440375d31136342409778e2b6bc49ba9d7af2955bc4dc852e44261ae7ca2b124282916b3bfd9250c785eb8ae9af8b7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2024-09-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - WorkSpaces Secure Browser now enables Administrators to view and manage end-user browsing sessions via Session Management APIs.
|
8
|
+
|
4
9
|
1.29.0 (2024-09-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -1005,10 +1005,9 @@ module Aws::WorkSpacesWeb
|
|
1005
1005
|
# provider.
|
1006
1006
|
#
|
1007
1007
|
# `IAM Identity Center` web portals are authenticated through IAM
|
1008
|
-
# Identity Center
|
1009
|
-
#
|
1010
|
-
#
|
1011
|
-
# Center.
|
1008
|
+
# Identity Center. Identity sources (including external identity
|
1009
|
+
# provider integration), plus user and group access to your web portal,
|
1010
|
+
# can be configured in the IAM Identity Center.
|
1012
1011
|
#
|
1013
1012
|
# @option params [String] :client_token
|
1014
1013
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -1618,6 +1617,32 @@ module Aws::WorkSpacesWeb
|
|
1618
1617
|
req.send_request(options)
|
1619
1618
|
end
|
1620
1619
|
|
1620
|
+
# Expires an active secure browser session.
|
1621
|
+
#
|
1622
|
+
# @option params [required, String] :portal_id
|
1623
|
+
# The ID of the web portal for the session.
|
1624
|
+
#
|
1625
|
+
# @option params [required, String] :session_id
|
1626
|
+
# The ID of the session to expire.
|
1627
|
+
#
|
1628
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1629
|
+
#
|
1630
|
+
# @example Request syntax with placeholder values
|
1631
|
+
#
|
1632
|
+
# resp = client.expire_session({
|
1633
|
+
# portal_id: "PortalId", # required
|
1634
|
+
# session_id: "SessionId", # required
|
1635
|
+
# })
|
1636
|
+
#
|
1637
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ExpireSession AWS API Documentation
|
1638
|
+
#
|
1639
|
+
# @overload expire_session(params = {})
|
1640
|
+
# @param [Hash] params ({})
|
1641
|
+
def expire_session(params = {}, options = {})
|
1642
|
+
req = build_request(:expire_session, params)
|
1643
|
+
req.send_request(options)
|
1644
|
+
end
|
1645
|
+
|
1621
1646
|
# Gets browser settings.
|
1622
1647
|
#
|
1623
1648
|
# @option params [required, String] :browser_settings_arn
|
@@ -1835,6 +1860,45 @@ module Aws::WorkSpacesWeb
|
|
1835
1860
|
req.send_request(options)
|
1836
1861
|
end
|
1837
1862
|
|
1863
|
+
# Gets information for a secure browser session.
|
1864
|
+
#
|
1865
|
+
# @option params [required, String] :portal_id
|
1866
|
+
# The ID of the web portal for the session.
|
1867
|
+
#
|
1868
|
+
# @option params [required, String] :session_id
|
1869
|
+
# The ID of the session.
|
1870
|
+
#
|
1871
|
+
# @return [Types::GetSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1872
|
+
#
|
1873
|
+
# * {Types::GetSessionResponse#session #session} => Types::Session
|
1874
|
+
#
|
1875
|
+
# @example Request syntax with placeholder values
|
1876
|
+
#
|
1877
|
+
# resp = client.get_session({
|
1878
|
+
# portal_id: "PortalId", # required
|
1879
|
+
# session_id: "SessionId", # required
|
1880
|
+
# })
|
1881
|
+
#
|
1882
|
+
# @example Response structure
|
1883
|
+
#
|
1884
|
+
# resp.session.client_ip_addresses #=> Array
|
1885
|
+
# resp.session.client_ip_addresses[0] #=> String
|
1886
|
+
# resp.session.end_time #=> Time
|
1887
|
+
# resp.session.portal_arn #=> String
|
1888
|
+
# resp.session.session_id #=> String
|
1889
|
+
# resp.session.start_time #=> Time
|
1890
|
+
# resp.session.status #=> String, one of "Active", "Terminated"
|
1891
|
+
# resp.session.username #=> String
|
1892
|
+
#
|
1893
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetSession AWS API Documentation
|
1894
|
+
#
|
1895
|
+
# @overload get_session(params = {})
|
1896
|
+
# @param [Hash] params ({})
|
1897
|
+
def get_session(params = {}, options = {})
|
1898
|
+
req = build_request(:get_session, params)
|
1899
|
+
req.send_request(options)
|
1900
|
+
end
|
1901
|
+
|
1838
1902
|
# Gets the trust store.
|
1839
1903
|
#
|
1840
1904
|
# @option params [required, String] :trust_store_arn
|
@@ -2199,6 +2263,70 @@ module Aws::WorkSpacesWeb
|
|
2199
2263
|
req.send_request(options)
|
2200
2264
|
end
|
2201
2265
|
|
2266
|
+
# Lists information for multiple secure browser sessions from a specific
|
2267
|
+
# portal.
|
2268
|
+
#
|
2269
|
+
# @option params [Integer] :max_results
|
2270
|
+
# The maximum number of results to be included in the next page.
|
2271
|
+
#
|
2272
|
+
# @option params [String] :next_token
|
2273
|
+
# The pagination token used to retrieve the next page of results for
|
2274
|
+
# this operation.
|
2275
|
+
#
|
2276
|
+
# @option params [required, String] :portal_id
|
2277
|
+
# The ID of the web portal for the sessions.
|
2278
|
+
#
|
2279
|
+
# @option params [String] :session_id
|
2280
|
+
# The ID of the session.
|
2281
|
+
#
|
2282
|
+
# @option params [String] :sort_by
|
2283
|
+
# The method in which the returned sessions should be sorted.
|
2284
|
+
#
|
2285
|
+
# @option params [String] :status
|
2286
|
+
# The status of the session.
|
2287
|
+
#
|
2288
|
+
# @option params [String] :username
|
2289
|
+
# The username of the session.
|
2290
|
+
#
|
2291
|
+
# @return [Types::ListSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2292
|
+
#
|
2293
|
+
# * {Types::ListSessionsResponse#next_token #next_token} => String
|
2294
|
+
# * {Types::ListSessionsResponse#sessions #sessions} => Array<Types::SessionSummary>
|
2295
|
+
#
|
2296
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2297
|
+
#
|
2298
|
+
# @example Request syntax with placeholder values
|
2299
|
+
#
|
2300
|
+
# resp = client.list_sessions({
|
2301
|
+
# max_results: 1,
|
2302
|
+
# next_token: "PaginationToken",
|
2303
|
+
# portal_id: "PortalId", # required
|
2304
|
+
# session_id: "SessionId",
|
2305
|
+
# sort_by: "StartTimeAscending", # accepts StartTimeAscending, StartTimeDescending
|
2306
|
+
# status: "Active", # accepts Active, Terminated
|
2307
|
+
# username: "Username",
|
2308
|
+
# })
|
2309
|
+
#
|
2310
|
+
# @example Response structure
|
2311
|
+
#
|
2312
|
+
# resp.next_token #=> String
|
2313
|
+
# resp.sessions #=> Array
|
2314
|
+
# resp.sessions[0].end_time #=> Time
|
2315
|
+
# resp.sessions[0].portal_arn #=> String
|
2316
|
+
# resp.sessions[0].session_id #=> String
|
2317
|
+
# resp.sessions[0].start_time #=> Time
|
2318
|
+
# resp.sessions[0].status #=> String, one of "Active", "Terminated"
|
2319
|
+
# resp.sessions[0].username #=> String
|
2320
|
+
#
|
2321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListSessions AWS API Documentation
|
2322
|
+
#
|
2323
|
+
# @overload list_sessions(params = {})
|
2324
|
+
# @param [Hash] params ({})
|
2325
|
+
def list_sessions(params = {}, options = {})
|
2326
|
+
req = build_request(:list_sessions, params)
|
2327
|
+
req.send_request(options)
|
2328
|
+
end
|
2329
|
+
|
2202
2330
|
# Retrieves a list of tags for a resource.
|
2203
2331
|
#
|
2204
2332
|
# @option params [required, String] :resource_arn
|
@@ -2807,10 +2935,9 @@ module Aws::WorkSpacesWeb
|
|
2807
2935
|
# provider.
|
2808
2936
|
#
|
2809
2937
|
# `IAM Identity Center` web portals are authenticated through IAM
|
2810
|
-
# Identity Center
|
2811
|
-
#
|
2812
|
-
#
|
2813
|
-
# Center.
|
2938
|
+
# Identity Center. Identity sources (including external identity
|
2939
|
+
# provider integration), plus user and group access to your web portal,
|
2940
|
+
# can be configured in the IAM Identity Center.
|
2814
2941
|
#
|
2815
2942
|
# @option params [String] :display_name
|
2816
2943
|
# The name of the web portal. This is not visible to users who log into
|
@@ -3114,7 +3241,7 @@ module Aws::WorkSpacesWeb
|
|
3114
3241
|
tracer: tracer
|
3115
3242
|
)
|
3116
3243
|
context[:gem_name] = 'aws-sdk-workspacesweb'
|
3117
|
-
context[:gem_version] = '1.
|
3244
|
+
context[:gem_version] = '1.30.0'
|
3118
3245
|
Seahorse::Client::Request.new(handlers, context)
|
3119
3246
|
end
|
3120
3247
|
|
@@ -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(
|
@@ -123,6 +123,8 @@ module Aws::WorkSpacesWeb
|
|
123
123
|
Aws::WorkSpacesWeb::Endpoints::DisassociateUserAccessLoggingSettings.build(context)
|
124
124
|
when :disassociate_user_settings
|
125
125
|
Aws::WorkSpacesWeb::Endpoints::DisassociateUserSettings.build(context)
|
126
|
+
when :expire_session
|
127
|
+
Aws::WorkSpacesWeb::Endpoints::ExpireSession.build(context)
|
126
128
|
when :get_browser_settings
|
127
129
|
Aws::WorkSpacesWeb::Endpoints::GetBrowserSettings.build(context)
|
128
130
|
when :get_identity_provider
|
@@ -135,6 +137,8 @@ module Aws::WorkSpacesWeb
|
|
135
137
|
Aws::WorkSpacesWeb::Endpoints::GetPortal.build(context)
|
136
138
|
when :get_portal_service_provider_metadata
|
137
139
|
Aws::WorkSpacesWeb::Endpoints::GetPortalServiceProviderMetadata.build(context)
|
140
|
+
when :get_session
|
141
|
+
Aws::WorkSpacesWeb::Endpoints::GetSession.build(context)
|
138
142
|
when :get_trust_store
|
139
143
|
Aws::WorkSpacesWeb::Endpoints::GetTrustStore.build(context)
|
140
144
|
when :get_trust_store_certificate
|
@@ -153,6 +157,8 @@ module Aws::WorkSpacesWeb
|
|
153
157
|
Aws::WorkSpacesWeb::Endpoints::ListNetworkSettings.build(context)
|
154
158
|
when :list_portals
|
155
159
|
Aws::WorkSpacesWeb::Endpoints::ListPortals.build(context)
|
160
|
+
when :list_sessions
|
161
|
+
Aws::WorkSpacesWeb::Endpoints::ListSessions.build(context)
|
156
162
|
when :list_tags_for_resource
|
157
163
|
Aws::WorkSpacesWeb::Endpoints::ListTagsForResource.build(context)
|
158
164
|
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
|
753
|
-
#
|
754
|
-
#
|
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
|
2183
|
-
#
|
2184
|
-
#
|
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
|
2301
|
-
#
|
2302
|
-
#
|
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
|
2901
|
-
#
|
2902
|
-
#
|
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
|
data/sig/client.rbs
CHANGED
@@ -455,6 +455,16 @@ module Aws
|
|
455
455
|
) -> _DisassociateUserSettingsResponseSuccess
|
456
456
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateUserSettingsResponseSuccess
|
457
457
|
|
458
|
+
interface _ExpireSessionResponseSuccess
|
459
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ExpireSessionResponse]
|
460
|
+
end
|
461
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#expire_session-instance_method
|
462
|
+
def expire_session: (
|
463
|
+
portal_id: ::String,
|
464
|
+
session_id: ::String
|
465
|
+
) -> _ExpireSessionResponseSuccess
|
466
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExpireSessionResponseSuccess
|
467
|
+
|
458
468
|
interface _GetBrowserSettingsResponseSuccess
|
459
469
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBrowserSettingsResponse]
|
460
470
|
def browser_settings: () -> Types::BrowserSettings
|
@@ -516,6 +526,17 @@ module Aws
|
|
516
526
|
) -> _GetPortalServiceProviderMetadataResponseSuccess
|
517
527
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPortalServiceProviderMetadataResponseSuccess
|
518
528
|
|
529
|
+
interface _GetSessionResponseSuccess
|
530
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionResponse]
|
531
|
+
def session: () -> Types::Session
|
532
|
+
end
|
533
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#get_session-instance_method
|
534
|
+
def get_session: (
|
535
|
+
portal_id: ::String,
|
536
|
+
session_id: ::String
|
537
|
+
) -> _GetSessionResponseSuccess
|
538
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
|
539
|
+
|
519
540
|
interface _GetTrustStoreResponseSuccess
|
520
541
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTrustStoreResponse]
|
521
542
|
def trust_store: () -> Types::TrustStore
|
@@ -619,6 +640,23 @@ module Aws
|
|
619
640
|
) -> _ListPortalsResponseSuccess
|
620
641
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPortalsResponseSuccess
|
621
642
|
|
643
|
+
interface _ListSessionsResponseSuccess
|
644
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSessionsResponse]
|
645
|
+
def next_token: () -> ::String
|
646
|
+
def sessions: () -> ::Array[Types::SessionSummary]
|
647
|
+
end
|
648
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#list_sessions-instance_method
|
649
|
+
def list_sessions: (
|
650
|
+
?max_results: ::Integer,
|
651
|
+
?next_token: ::String,
|
652
|
+
portal_id: ::String,
|
653
|
+
?session_id: ::String,
|
654
|
+
?sort_by: ("StartTimeAscending" | "StartTimeDescending"),
|
655
|
+
?status: ("Active" | "Terminated"),
|
656
|
+
?username: ::String
|
657
|
+
) -> _ListSessionsResponseSuccess
|
658
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
|
659
|
+
|
622
660
|
interface _ListTagsForResourceResponseSuccess
|
623
661
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
624
662
|
def tags: () -> ::Array[Types::Tag]
|
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.
|
4
|
+
version: 1.30.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
|
+
date: 2024-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '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.
|
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:
|