aws-sdk-core 3.269.0 → 3.270.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,13 +17,19 @@ module Aws::Signin
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
18
  AccessToken = Shapes::StructureShape.new(name: 'AccessToken')
19
19
  AccountId = Shapes::StringShape.new(name: 'AccountId')
20
+ Assertion = Shapes::StringShape.new(name: 'Assertion')
20
21
  AuthorizationCode = Shapes::StringShape.new(name: 'AuthorizationCode')
22
+ BatchRevokeSessionError = Shapes::StructureShape.new(name: 'BatchRevokeSessionError')
23
+ BatchRevokeSessionErrorList = Shapes::ListShape.new(name: 'BatchRevokeSessionErrorList')
24
+ BatchRevokeSessionsInput = Shapes::StructureShape.new(name: 'BatchRevokeSessionsInput')
25
+ BatchRevokeSessionsOutput = Shapes::StructureShape.new(name: 'BatchRevokeSessionsOutput')
21
26
  BearerTokenExpiresIn = Shapes::IntegerShape.new(name: 'BearerTokenExpiresIn')
22
27
  BearerTokenType = Shapes::StringShape.new(name: 'BearerTokenType')
23
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
24
29
  ClientCredentialsGrantType = Shapes::StringShape.new(name: 'ClientCredentialsGrantType')
25
30
  ClientId = Shapes::StringShape.new(name: 'ClientId')
26
31
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
32
+ ClientType = Shapes::StringShape.new(name: 'ClientType')
27
33
  CodeVerifier = Shapes::StringShape.new(name: 'CodeVerifier')
28
34
  Condition = Shapes::MapShape.new(name: 'Condition')
29
35
  ConditionBlock = Shapes::MapShape.new(name: 'ConditionBlock')
@@ -51,6 +57,8 @@ module Aws::Signin
51
57
  GetConsoleAuthorizationConfigurationOutput = Shapes::StructureShape.new(name: 'GetConsoleAuthorizationConfigurationOutput')
52
58
  GetResourcePolicyInput = Shapes::StructureShape.new(name: 'GetResourcePolicyInput')
53
59
  GetResourcePolicyOutput = Shapes::StructureShape.new(name: 'GetResourcePolicyOutput')
60
+ GetSessionInput = Shapes::StructureShape.new(name: 'GetSessionInput')
61
+ GetSessionOutput = Shapes::StructureShape.new(name: 'GetSessionOutput')
54
62
  GrantType = Shapes::StringShape.new(name: 'GrantType')
55
63
  IdToken = Shapes::StringShape.new(name: 'IdToken')
56
64
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -61,8 +69,11 @@ module Aws::Signin
61
69
  InvalidGrantException = Shapes::StructureShape.new(name: 'InvalidGrantException')
62
70
  InvalidScopeException = Shapes::StructureShape.new(name: 'InvalidScopeException')
63
71
  IssuedOAuthAccessTokenType = Shapes::StringShape.new(name: 'IssuedOAuthAccessTokenType')
72
+ JwtBearerClientId = Shapes::StringShape.new(name: 'JwtBearerClientId')
64
73
  ListResourcePermissionStatementsInput = Shapes::StructureShape.new(name: 'ListResourcePermissionStatementsInput')
65
74
  ListResourcePermissionStatementsOutput = Shapes::StructureShape.new(name: 'ListResourcePermissionStatementsOutput')
75
+ ListSessionsInput = Shapes::StructureShape.new(name: 'ListSessionsInput')
76
+ ListSessionsOutput = Shapes::StructureShape.new(name: 'ListSessionsOutput')
66
77
  Long = Shapes::IntegerShape.new(name: 'Long')
67
78
  NextToken = Shapes::StringShape.new(name: 'NextToken')
68
79
  OAuth2ErrorCode = Shapes::StringShape.new(name: 'OAuth2ErrorCode')
@@ -73,6 +84,8 @@ module Aws::Signin
73
84
  PolicyStatement = Shapes::StructureShape.new(name: 'PolicyStatement')
74
85
  PolicyStatements = Shapes::ListShape.new(name: 'PolicyStatements')
75
86
  Principal = Shapes::MapShape.new(name: 'Principal')
87
+ PrincipalArn = Shapes::StringShape.new(name: 'PrincipalArn')
88
+ PrincipalArnFilter = Shapes::StringShape.new(name: 'PrincipalArnFilter')
76
89
  PutConsoleAuthorizationConfigurationInput = Shapes::StructureShape.new(name: 'PutConsoleAuthorizationConfigurationInput')
77
90
  PutConsoleAuthorizationConfigurationOutput = Shapes::StructureShape.new(name: 'PutConsoleAuthorizationConfigurationOutput')
78
91
  PutResourcePermissionStatementInput = Shapes::StructureShape.new(name: 'PutResourcePermissionStatementInput')
@@ -82,12 +95,21 @@ module Aws::Signin
82
95
  RequestedRegion = Shapes::StringShape.new(name: 'RequestedRegion')
83
96
  Resource = Shapes::StringShape.new(name: 'Resource')
84
97
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
98
+ RevocationReason = Shapes::StringShape.new(name: 'RevocationReason')
85
99
  RevocationToken = Shapes::StringShape.new(name: 'RevocationToken')
86
100
  RevokeOAuth2TokenWithIAMRequest = Shapes::StructureShape.new(name: 'RevokeOAuth2TokenWithIAMRequest')
87
101
  RevokeOAuth2TokenWithIAMResponse = Shapes::StructureShape.new(name: 'RevokeOAuth2TokenWithIAMResponse')
102
+ RevokedSession = Shapes::StructureShape.new(name: 'RevokedSession')
103
+ RevokedSessionList = Shapes::ListShape.new(name: 'RevokedSessionList')
88
104
  Scope = Shapes::StringShape.new(name: 'Scope')
89
105
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
90
106
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
107
+ Session = Shapes::StructureShape.new(name: 'Session')
108
+ SessionArn = Shapes::StringShape.new(name: 'SessionArn')
109
+ SessionArnList = Shapes::ListShape.new(name: 'SessionArnList')
110
+ SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
111
+ SessionSummaryList = Shapes::ListShape.new(name: 'SessionSummaryList')
112
+ SessionsMaxResults = Shapes::IntegerShape.new(name: 'SessionsMaxResults')
91
113
  SigninResourceBasedPolicy = Shapes::StructureShape.new(name: 'SigninResourceBasedPolicy')
92
114
  SourceIp = Shapes::StringShape.new(name: 'SourceIp')
93
115
  SourceVpc = Shapes::StringShape.new(name: 'SourceVpc')
@@ -115,6 +137,22 @@ module Aws::Signin
115
137
  AccessToken.add_member(:session_token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sessionToken"))
116
138
  AccessToken.struct_class = Types::AccessToken
117
139
 
140
+ BatchRevokeSessionError.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "sessionArn"))
141
+ BatchRevokeSessionError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
142
+ BatchRevokeSessionError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
143
+ BatchRevokeSessionError.struct_class = Types::BatchRevokeSessionError
144
+
145
+ BatchRevokeSessionErrorList.member = Shapes::ShapeRef.new(shape: BatchRevokeSessionError)
146
+
147
+ BatchRevokeSessionsInput.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalArnFilter, location_name: "principalArn"))
148
+ BatchRevokeSessionsInput.add_member(:session_arns, Shapes::ShapeRef.new(shape: SessionArnList, required: true, location_name: "sessionArns"))
149
+ BatchRevokeSessionsInput.add_member(:reason, Shapes::ShapeRef.new(shape: RevocationReason, location_name: "reason"))
150
+ BatchRevokeSessionsInput.struct_class = Types::BatchRevokeSessionsInput
151
+
152
+ BatchRevokeSessionsOutput.add_member(:revoked_sessions, Shapes::ShapeRef.new(shape: RevokedSessionList, required: true, location_name: "revokedSessions"))
153
+ BatchRevokeSessionsOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchRevokeSessionErrorList, required: true, location_name: "errors"))
154
+ BatchRevokeSessionsOutput.struct_class = Types::BatchRevokeSessionsOutput
155
+
118
156
  Condition.key = Shapes::ShapeRef.new(shape: String)
119
157
  Condition.value = Shapes::ShapeRef.new(shape: ConditionValues)
120
158
 
@@ -174,6 +212,8 @@ module Aws::Signin
174
212
  CreateOAuth2TokenWithTokenExchangeRequest.add_member(:grant_type, Shapes::ShapeRef.new(shape: TokenExchangeGrantType, required: true, location_name: "grant_type"))
175
213
  CreateOAuth2TokenWithTokenExchangeRequest.add_member(:subject_token, Shapes::ShapeRef.new(shape: SubjectToken, location_name: "subject_token"))
176
214
  CreateOAuth2TokenWithTokenExchangeRequest.add_member(:subject_token_type, Shapes::ShapeRef.new(shape: SubjectTokenType, location_name: "subject_token_type"))
215
+ CreateOAuth2TokenWithTokenExchangeRequest.add_member(:assertion, Shapes::ShapeRef.new(shape: Assertion, location_name: "assertion"))
216
+ CreateOAuth2TokenWithTokenExchangeRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: JwtBearerClientId, location_name: "client_id"))
177
217
  CreateOAuth2TokenWithTokenExchangeRequest.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "resource"))
178
218
  CreateOAuth2TokenWithTokenExchangeRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "scope"))
179
219
  CreateOAuth2TokenWithTokenExchangeRequest.struct_class = Types::CreateOAuth2TokenWithTokenExchangeRequest
@@ -182,6 +222,8 @@ module Aws::Signin
182
222
  CreateOAuth2TokenWithTokenExchangeResponse.add_member(:issued_token_type, Shapes::ShapeRef.new(shape: IssuedOAuthAccessTokenType, location_name: "issued_token_type"))
183
223
  CreateOAuth2TokenWithTokenExchangeResponse.add_member(:token_type, Shapes::ShapeRef.new(shape: BearerTokenType, required: true, location_name: "token_type"))
184
224
  CreateOAuth2TokenWithTokenExchangeResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: TokenExpiresIn, required: true, location_name: "expires_in"))
225
+ CreateOAuth2TokenWithTokenExchangeResponse.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "resource"))
226
+ CreateOAuth2TokenWithTokenExchangeResponse.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "scope"))
185
227
  CreateOAuth2TokenWithTokenExchangeResponse.struct_class = Types::CreateOAuth2TokenWithTokenExchangeResponse
186
228
 
187
229
  DeleteConsoleAuthorizationConfigurationInput.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "targetId"))
@@ -211,6 +253,25 @@ module Aws::Signin
211
253
  GetResourcePolicyOutput.add_member(:signin_resource_based_policy, Shapes::ShapeRef.new(shape: SigninResourceBasedPolicy, required: true, location_name: "signinResourceBasedPolicy"))
212
254
  GetResourcePolicyOutput.struct_class = Types::GetResourcePolicyOutput
213
255
 
256
+ GetSessionInput.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "sessionArn"))
257
+ GetSessionInput.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalArnFilter, location_name: "principalArn"))
258
+ GetSessionInput.struct_class = Types::GetSessionInput
259
+
260
+ GetSessionOutput.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "sessionArn"))
261
+ GetSessionOutput.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalArn, required: true, location_name: "principalArn"))
262
+ GetSessionOutput.add_member(:role, Shapes::ShapeRef.new(shape: PrincipalArn, location_name: "role"))
263
+ GetSessionOutput.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "status"))
264
+ GetSessionOutput.add_member(:client_id, Shapes::ShapeRef.new(shape: String, location_name: "clientId"))
265
+ GetSessionOutput.add_member(:client_type, Shapes::ShapeRef.new(shape: ClientType, location_name: "clientType"))
266
+ GetSessionOutput.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
267
+ GetSessionOutput.add_member(:issued_at, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "issuedAt"))
268
+ GetSessionOutput.add_member(:expires_at, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "expiresAt"))
269
+ GetSessionOutput.add_member(:last_used_at, Shapes::ShapeRef.new(shape: Long, location_name: "lastUsedAt"))
270
+ GetSessionOutput.add_member(:issued_in_region, Shapes::ShapeRef.new(shape: String, location_name: "issuedInRegion"))
271
+ GetSessionOutput.add_member(:origin_session_arn, Shapes::ShapeRef.new(shape: SessionArn, location_name: "originSessionArn"))
272
+ GetSessionOutput.add_member(:user_agent, Shapes::ShapeRef.new(shape: String, location_name: "userAgent"))
273
+ GetSessionOutput.struct_class = Types::GetSessionOutput
274
+
214
275
  InternalServerException.add_member(:error, Shapes::ShapeRef.new(shape: OAuth2ErrorCode, required: true, location_name: "error"))
215
276
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
216
277
  InternalServerException.struct_class = Types::InternalServerException
@@ -251,6 +312,19 @@ module Aws::Signin
251
312
  ListResourcePermissionStatementsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
252
313
  ListResourcePermissionStatementsOutput.struct_class = Types::ListResourcePermissionStatementsOutput
253
314
 
315
+ ListSessionsInput.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalArnFilter, location_name: "principalArn"))
316
+ ListSessionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: SessionsMaxResults, location_name: "maxResults"))
317
+ ListSessionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
318
+ ListSessionsInput.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "status"))
319
+ ListSessionsInput.add_member(:client_id, Shapes::ShapeRef.new(shape: String, location_name: "clientId"))
320
+ ListSessionsInput.add_member(:issued_after, Shapes::ShapeRef.new(shape: Long, location_name: "issuedAfter"))
321
+ ListSessionsInput.add_member(:issued_before, Shapes::ShapeRef.new(shape: Long, location_name: "issuedBefore"))
322
+ ListSessionsInput.struct_class = Types::ListSessionsInput
323
+
324
+ ListSessionsOutput.add_member(:items, Shapes::ShapeRef.new(shape: SessionSummaryList, required: true, location_name: "items"))
325
+ ListSessionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
326
+ ListSessionsOutput.struct_class = Types::ListSessionsOutput
327
+
254
328
  PermissionStatementSummaries.member = Shapes::ShapeRef.new(shape: PermissionStatementSummary)
255
329
 
256
330
  PermissionStatementSummary.add_member(:sid, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "sid"))
@@ -301,6 +375,11 @@ module Aws::Signin
301
375
 
302
376
  RevokeOAuth2TokenWithIAMResponse.struct_class = Types::RevokeOAuth2TokenWithIAMResponse
303
377
 
378
+ RevokedSession.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "sessionArn"))
379
+ RevokedSession.struct_class = Types::RevokedSession
380
+
381
+ RevokedSessionList.member = Shapes::ShapeRef.new(shape: RevokedSession)
382
+
304
383
  ServiceQuotaExceededException.add_member(:error, Shapes::ShapeRef.new(shape: OAuth2ErrorCode, required: true, location_name: "error"))
305
384
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
306
385
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
@@ -309,6 +388,21 @@ module Aws::Signin
309
388
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
310
389
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
311
390
 
391
+ Session.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "sessionArn"))
392
+ Session.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalArn, required: true, location_name: "principalArn"))
393
+ Session.add_member(:role, Shapes::ShapeRef.new(shape: PrincipalArn, location_name: "role"))
394
+ Session.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "status"))
395
+ Session.add_member(:issued_at, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "issuedAt"))
396
+ Session.add_member(:expires_at, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "expiresAt"))
397
+ Session.add_member(:client_id, Shapes::ShapeRef.new(shape: String, location_name: "clientId"))
398
+ Session.add_member(:client_type, Shapes::ShapeRef.new(shape: ClientType, location_name: "clientType"))
399
+ Session.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
400
+ Session.struct_class = Types::Session
401
+
402
+ SessionArnList.member = Shapes::ShapeRef.new(shape: SessionArn)
403
+
404
+ SessionSummaryList.member = Shapes::ShapeRef.new(shape: Session)
405
+
312
406
  SigninResourceBasedPolicy.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
313
407
  SigninResourceBasedPolicy.add_member(:statement, Shapes::ShapeRef.new(shape: PolicyStatements, location_name: "Statement"))
314
408
  SigninResourceBasedPolicy.struct_class = Types::SigninResourceBasedPolicy
@@ -340,6 +434,19 @@ module Aws::Signin
340
434
  "uid" => "signin-2023-01-01",
341
435
  }
342
436
 
437
+ api.add_operation(:batch_revoke_sessions, Seahorse::Model::Operation.new.tap do |o|
438
+ o.name = "BatchRevokeSessions"
439
+ o.http_method = "POST"
440
+ o.http_request_uri = "/batch-revoke-sessions"
441
+ o.input = Shapes::ShapeRef.new(shape: BatchRevokeSessionsInput)
442
+ o.output = Shapes::ShapeRef.new(shape: BatchRevokeSessionsOutput)
443
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsError)
444
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
445
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
446
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
447
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
448
+ end)
449
+
343
450
  api.add_operation(:create_bearer_token, Seahorse::Model::Operation.new.tap do |o|
344
451
  o.name = "CreateBearerToken"
345
452
  o.http_method = "POST"
@@ -445,6 +552,19 @@ module Aws::Signin
445
552
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
446
553
  end)
447
554
 
555
+ api.add_operation(:get_session, Seahorse::Model::Operation.new.tap do |o|
556
+ o.name = "GetSession"
557
+ o.http_method = "POST"
558
+ o.http_request_uri = "/get-session"
559
+ o.input = Shapes::ShapeRef.new(shape: GetSessionInput)
560
+ o.output = Shapes::ShapeRef.new(shape: GetSessionOutput)
561
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsError)
562
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
563
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
564
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
565
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
566
+ end)
567
+
448
568
  api.add_operation(:introspect_o_auth_2_token_with_iam, Seahorse::Model::Operation.new.tap do |o|
449
569
  o.name = "IntrospectOAuth2TokenWithIAM"
450
570
  o.http_method = "POST"
@@ -476,6 +596,24 @@ module Aws::Signin
476
596
  )
477
597
  end)
478
598
 
599
+ api.add_operation(:list_sessions, Seahorse::Model::Operation.new.tap do |o|
600
+ o.name = "ListSessions"
601
+ o.http_method = "POST"
602
+ o.http_request_uri = "/list-sessions"
603
+ o.input = Shapes::ShapeRef.new(shape: ListSessionsInput)
604
+ o.output = Shapes::ShapeRef.new(shape: ListSessionsOutput)
605
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsError)
606
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
607
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
608
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
609
+ o[:pager] = Aws::Pager.new(
610
+ limit_key: "max_results",
611
+ tokens: {
612
+ "next_token" => "next_token"
613
+ }
614
+ )
615
+ end)
616
+
479
617
  api.add_operation(:put_console_authorization_configuration, Seahorse::Model::Operation.new.tap do |o|
480
618
  o.name = "PutConsoleAuthorizationConfiguration"
481
619
  o.http_method = "POST"
@@ -12,6 +12,15 @@ module Aws::Signin
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
+ class BatchRevokeSessions
16
+ def self.build(context)
17
+ Aws::Signin::EndpointParameters.create(
18
+ context.config,
19
+ is_control_plane: true,
20
+ )
21
+ end
22
+ end
23
+
15
24
  class CreateBearerToken
16
25
  def self.build(context)
17
26
  Aws::Signin::EndpointParameters.create(
@@ -75,6 +84,15 @@ module Aws::Signin
75
84
  end
76
85
  end
77
86
 
87
+ class GetSession
88
+ def self.build(context)
89
+ Aws::Signin::EndpointParameters.create(
90
+ context.config,
91
+ is_control_plane: true,
92
+ )
93
+ end
94
+ end
95
+
78
96
  class IntrospectOAuth2TokenWithIAM
79
97
  def self.build(context)
80
98
  Aws::Signin::EndpointParameters.create(
@@ -93,6 +111,15 @@ module Aws::Signin
93
111
  end
94
112
  end
95
113
 
114
+ class ListSessions
115
+ def self.build(context)
116
+ Aws::Signin::EndpointParameters.create(
117
+ context.config,
118
+ is_control_plane: true,
119
+ )
120
+ end
121
+ end
122
+
96
123
  class PutConsoleAuthorizationConfiguration
97
124
  def self.build(context)
98
125
  Aws::Signin::EndpointParameters.create(
@@ -123,6 +150,8 @@ module Aws::Signin
123
150
 
124
151
  def self.parameters_for_operation(context)
125
152
  case context.operation_name
153
+ when :batch_revoke_sessions
154
+ BatchRevokeSessions.build(context)
126
155
  when :create_bearer_token
127
156
  CreateBearerToken.build(context)
128
157
  when :create_o_auth_2_token_with_iam
@@ -137,10 +166,14 @@ module Aws::Signin
137
166
  GetConsoleAuthorizationConfiguration.build(context)
138
167
  when :get_resource_policy
139
168
  GetResourcePolicy.build(context)
169
+ when :get_session
170
+ GetSession.build(context)
140
171
  when :introspect_o_auth_2_token_with_iam
141
172
  IntrospectOAuth2TokenWithIAM.build(context)
142
173
  when :list_resource_permission_statements
143
174
  ListResourcePermissionStatements.build(context)
175
+ when :list_sessions
176
+ ListSessions.build(context)
144
177
  when :put_console_authorization_configuration
145
178
  PutConsoleAuthorizationConfiguration.build(context)
146
179
  when :put_resource_permission_statement