aws-sdk-workspacesweb 1.28.0 → 1.30.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: 4154716b1bc90f1db7afd0052429a408d2cf60d4b1fff289a53c001878b103d1
4
- data.tar.gz: 6e769a201f678cf65f67e385c58949e5bd4eb7aa50d5422341875556214de7fe
3
+ metadata.gz: c8c11bdefc7a6f27ec2ffc0b6377ed54fadf8ebeb12ca37f83f87802063454df
4
+ data.tar.gz: 5893c457b52d8863056286810730268313369858fad05e4f361cea751e46d752
5
5
  SHA512:
6
- metadata.gz: b1135a68410befb94fc029fe170c1df2d598220ce524dcb89520600fa405b71538844869b307819a0ad4bbc3cb6cb87b3c2dd685c4f9d40ea37cab2e77e6ae35
7
- data.tar.gz: ea8fbcd329463f7fff96f16ad0f9bc3c211f9f9348e808543b0f6df87a8b6bd53bff4128473c78f46aa0cd327543828c757a0eb1955dc291b02695fdd9c25f12
6
+ metadata.gz: 4cb9b47773c86451aa62d7c1dd7018e9a21ec39d2c66aed9c3f29f81aa4226c2713bc51d9f316abd97a6ac32298fd10742052d96aedce7b0658d6089e3e35f2b
7
+ data.tar.gz: a92da72cb0621cca305484c8c005246449440375d31136342409778e2b6bc49ba9d7af2955bc4dc852e44261ae7ca2b124282916b3bfd9250c785eb8ae9af8b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.29.0 (2024-09-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.28.0 (2024-09-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.28.0
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 (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.
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 (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.
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.28.0'
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"