aws-sdk-core 3.270.0 → 3.271.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.
@@ -38,18 +38,26 @@ module Aws::STS
38
38
  GetDelegatedAccessTokenResponse = Shapes::StructureShape.new(name: 'GetDelegatedAccessTokenResponse')
39
39
  GetFederationTokenRequest = Shapes::StructureShape.new(name: 'GetFederationTokenRequest')
40
40
  GetFederationTokenResponse = Shapes::StructureShape.new(name: 'GetFederationTokenResponse')
41
+ GetScopedCredentialsRequest = Shapes::StructureShape.new(name: 'GetScopedCredentialsRequest')
42
+ GetScopedCredentialsResponse = Shapes::StructureShape.new(name: 'GetScopedCredentialsResponse')
41
43
  GetSessionTokenRequest = Shapes::StructureShape.new(name: 'GetSessionTokenRequest')
42
44
  GetSessionTokenResponse = Shapes::StructureShape.new(name: 'GetSessionTokenResponse')
43
45
  GetWebIdentityTokenRequest = Shapes::StructureShape.new(name: 'GetWebIdentityTokenRequest')
44
46
  GetWebIdentityTokenResponse = Shapes::StructureShape.new(name: 'GetWebIdentityTokenResponse')
45
47
  IDPCommunicationErrorException = Shapes::StructureShape.new(name: 'IDPCommunicationErrorException', error: {"code" => "IDPCommunicationError", "httpStatusCode" => 400, "senderFault" => true})
46
48
  IDPRejectedClaimException = Shapes::StructureShape.new(name: 'IDPRejectedClaimException', error: {"code" => "IDPRejectedClaim", "httpStatusCode" => 403, "senderFault" => true})
49
+ InsufficientSessionLifetimeException = Shapes::StructureShape.new(name: 'InsufficientSessionLifetimeException', error: {"code" => "InsufficientSessionLifetime", "httpStatusCode" => 400, "senderFault" => true})
47
50
  InvalidAuthorizationMessageException = Shapes::StructureShape.new(name: 'InvalidAuthorizationMessageException', error: {"code" => "InvalidAuthorizationMessageException", "httpStatusCode" => 400, "senderFault" => true})
51
+ InvalidContextAssertionException = Shapes::StructureShape.new(name: 'InvalidContextAssertionException', error: {"code" => "InvalidContextAssertion", "httpStatusCode" => 400, "senderFault" => true})
52
+ InvalidContextAssertionMessage = Shapes::StringShape.new(name: 'InvalidContextAssertionMessage')
48
53
  InvalidIdentityTokenException = Shapes::StructureShape.new(name: 'InvalidIdentityTokenException', error: {"code" => "InvalidIdentityToken", "httpStatusCode" => 400, "senderFault" => true})
54
+ InvalidSubjectCredentialsException = Shapes::StructureShape.new(name: 'InvalidSubjectCredentialsException', error: {"code" => "InvalidSubjectCredentials", "httpStatusCode" => 400, "senderFault" => true})
55
+ InvalidSubjectCredentialsMessage = Shapes::StringShape.new(name: 'InvalidSubjectCredentialsMessage')
49
56
  Issuer = Shapes::StringShape.new(name: 'Issuer')
50
57
  JWTPayloadSizeExceededException = Shapes::StructureShape.new(name: 'JWTPayloadSizeExceededException', error: {"code" => "JWTPayloadSizeExceededException", "httpStatusCode" => 400, "senderFault" => true})
51
58
  MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException', error: {"code" => "MalformedPolicyDocument", "httpStatusCode" => 400, "senderFault" => true})
52
59
  NameQualifier = Shapes::StringShape.new(name: 'NameQualifier')
60
+ OriginIdentity = Shapes::StructureShape.new(name: 'OriginIdentity')
53
61
  OutboundWebIdentityFederationDisabledException = Shapes::StructureShape.new(name: 'OutboundWebIdentityFederationDisabledException', error: {"code" => "OutboundWebIdentityFederationDisabledException", "httpStatusCode" => 403, "senderFault" => true})
54
62
  PackedPolicyTooLargeException = Shapes::StructureShape.new(name: 'PackedPolicyTooLargeException', error: {"code" => "PackedPolicyTooLarge", "httpStatusCode" => 400, "senderFault" => true})
55
63
  PolicyDescriptorType = Shapes::StructureShape.new(name: 'PolicyDescriptorType')
@@ -58,11 +66,14 @@ module Aws::STS
58
66
  RegionDisabledException = Shapes::StructureShape.new(name: 'RegionDisabledException', error: {"code" => "RegionDisabledException", "httpStatusCode" => 403, "senderFault" => true})
59
67
  RootDurationSecondsType = Shapes::IntegerShape.new(name: 'RootDurationSecondsType')
60
68
  SAMLAssertionType = Shapes::StringShape.new(name: 'SAMLAssertionType')
69
+ ScopedSession = Shapes::StructureShape.new(name: 'ScopedSession')
61
70
  SessionDurationEscalationException = Shapes::StructureShape.new(name: 'SessionDurationEscalationException', error: {"code" => "SessionDurationEscalationException", "httpStatusCode" => 403, "senderFault" => true})
62
71
  Subject = Shapes::StringShape.new(name: 'Subject')
63
72
  SubjectType = Shapes::StringShape.new(name: 'SubjectType')
64
73
  Tag = Shapes::StructureShape.new(name: 'Tag')
65
74
  TargetPrincipalType = Shapes::StringShape.new(name: 'TargetPrincipalType')
75
+ TransactionContext = Shapes::StructureShape.new(name: 'TransactionContext')
76
+ TrustedIdentityPropagationContext = Shapes::StructureShape.new(name: 'TrustedIdentityPropagationContext')
66
77
  accessKeyIdType = Shapes::StringShape.new(name: 'accessKeyIdType')
67
78
  accessKeySecretType = Shapes::StringShape.new(name: 'accessKeySecretType')
68
79
  accountType = Shapes::StringShape.new(name: 'accountType')
@@ -80,6 +91,7 @@ module Aws::STS
80
91
  federatedIdType = Shapes::StringShape.new(name: 'federatedIdType')
81
92
  idpCommunicationErrorMessage = Shapes::StringShape.new(name: 'idpCommunicationErrorMessage')
82
93
  idpRejectedClaimMessage = Shapes::StringShape.new(name: 'idpRejectedClaimMessage')
94
+ insufficientSessionLifetimeMessage = Shapes::StringShape.new(name: 'insufficientSessionLifetimeMessage')
83
95
  invalidAuthorizationMessage = Shapes::StringShape.new(name: 'invalidAuthorizationMessage')
84
96
  invalidIdentityTokenMessage = Shapes::StringShape.new(name: 'invalidIdentityTokenMessage')
85
97
  jwtAlgorithmType = Shapes::StringShape.new(name: 'jwtAlgorithmType')
@@ -87,12 +99,19 @@ module Aws::STS
87
99
  malformedPolicyDocumentMessage = Shapes::StringShape.new(name: 'malformedPolicyDocumentMessage')
88
100
  minimumSessionTokenSizeType = Shapes::IntegerShape.new(name: 'minimumSessionTokenSizeType')
89
101
  nonNegativeIntegerType = Shapes::IntegerShape.new(name: 'nonNegativeIntegerType')
102
+ originIdentityIssuerType = Shapes::StringShape.new(name: 'originIdentityIssuerType')
103
+ originIdentitySubjectType = Shapes::StringShape.new(name: 'originIdentitySubjectType')
104
+ originIdentitySubjectTypeType = Shapes::StringShape.new(name: 'originIdentitySubjectTypeType')
90
105
  outboundWebIdentityFederationDisabledException = Shapes::StringShape.new(name: 'outboundWebIdentityFederationDisabledException')
91
106
  packedPolicyTooLargeMessage = Shapes::StringShape.new(name: 'packedPolicyTooLargeMessage')
92
107
  policyDescriptorListType = Shapes::ListShape.new(name: 'policyDescriptorListType')
93
108
  regionDisabledMessage = Shapes::StringShape.new(name: 'regionDisabledMessage')
94
109
  roleDurationSecondsType = Shapes::IntegerShape.new(name: 'roleDurationSecondsType')
95
110
  roleSessionNameType = Shapes::StringShape.new(name: 'roleSessionNameType')
111
+ scopedCredentialDurationSecondsType = Shapes::IntegerShape.new(name: 'scopedCredentialDurationSecondsType')
112
+ scopedPoliciesCountType = Shapes::IntegerShape.new(name: 'scopedPoliciesCountType')
113
+ scopedSessionDescriptionType = Shapes::StringShape.new(name: 'scopedSessionDescriptionType')
114
+ scopedSessionIdType = Shapes::StringShape.new(name: 'scopedSessionIdType')
96
115
  serialNumberType = Shapes::StringShape.new(name: 'serialNumberType')
97
116
  sessionDurationEscalationException = Shapes::StringShape.new(name: 'sessionDurationEscalationException')
98
117
  sessionPolicyDocumentType = Shapes::StringShape.new(name: 'sessionPolicyDocumentType')
@@ -106,6 +125,9 @@ module Aws::STS
106
125
  tokenCodeType = Shapes::StringShape.new(name: 'tokenCodeType')
107
126
  tokenType = Shapes::StringShape.new(name: 'tokenType')
108
127
  tradeInTokenType = Shapes::StringShape.new(name: 'tradeInTokenType')
128
+ transactionContextIdentityProviderMapType = Shapes::MapShape.new(name: 'transactionContextIdentityProviderMapType')
129
+ transactionContextKeyType = Shapes::StringShape.new(name: 'transactionContextKeyType')
130
+ transactionContextValueType = Shapes::StringShape.new(name: 'transactionContextValueType')
109
131
  unrestrictedSessionPolicyDocumentType = Shapes::StringShape.new(name: 'unrestrictedSessionPolicyDocumentType')
110
132
  urlType = Shapes::StringShape.new(name: 'urlType')
111
133
  userIdType = Shapes::StringShape.new(name: 'userIdType')
@@ -114,6 +136,8 @@ module Aws::STS
114
136
  webIdentityTokenAudienceListType = Shapes::ListShape.new(name: 'webIdentityTokenAudienceListType')
115
137
  webIdentityTokenAudienceStringType = Shapes::StringShape.new(name: 'webIdentityTokenAudienceStringType')
116
138
  webIdentityTokenDurationSecondsType = Shapes::IntegerShape.new(name: 'webIdentityTokenDurationSecondsType')
139
+ webIdentityTokenScopeType = Shapes::StringShape.new(name: 'webIdentityTokenScopeType')
140
+ webIdentityTokenSubjectModeType = Shapes::StringShape.new(name: 'webIdentityTokenSubjectModeType')
117
141
  webIdentityTokenType = Shapes::StringShape.new(name: 'webIdentityTokenType')
118
142
 
119
143
  AssumeRoleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "RoleArn"))
@@ -159,6 +183,7 @@ module Aws::STS
159
183
  AssumeRoleWithSAMLResponse.add_member(:source_identity, Shapes::ShapeRef.new(shape: sourceIdentityType, location_name: "SourceIdentity"))
160
184
  AssumeRoleWithSAMLResponse.add_member(:session_token_utilization, Shapes::ShapeRef.new(shape: sessionTokenUtilizationType, location_name: "SessionTokenUtilization"))
161
185
  AssumeRoleWithSAMLResponse.add_member(:session_token_size, Shapes::ShapeRef.new(shape: sessionTokenSizeType, location_name: "SessionTokenSize"))
186
+ AssumeRoleWithSAMLResponse.add_member(:trusted_identity_propagation_context, Shapes::ShapeRef.new(shape: TrustedIdentityPropagationContext, location_name: "TrustedIdentityPropagationContext"))
162
187
  AssumeRoleWithSAMLResponse.struct_class = Types::AssumeRoleWithSAMLResponse
163
188
 
164
189
  AssumeRoleWithWebIdentityRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "RoleArn"))
@@ -180,6 +205,7 @@ module Aws::STS
180
205
  AssumeRoleWithWebIdentityResponse.add_member(:source_identity, Shapes::ShapeRef.new(shape: sourceIdentityType, location_name: "SourceIdentity"))
181
206
  AssumeRoleWithWebIdentityResponse.add_member(:session_token_utilization, Shapes::ShapeRef.new(shape: sessionTokenUtilizationType, location_name: "SessionTokenUtilization"))
182
207
  AssumeRoleWithWebIdentityResponse.add_member(:session_token_size, Shapes::ShapeRef.new(shape: sessionTokenSizeType, location_name: "SessionTokenSize"))
208
+ AssumeRoleWithWebIdentityResponse.add_member(:trusted_identity_propagation_context, Shapes::ShapeRef.new(shape: TrustedIdentityPropagationContext, location_name: "TrustedIdentityPropagationContext"))
183
209
  AssumeRoleWithWebIdentityResponse.struct_class = Types::AssumeRoleWithWebIdentityResponse
184
210
 
185
211
  AssumeRootRequest.add_member(:target_principal, Shapes::ShapeRef.new(shape: TargetPrincipalType, required: true, location_name: "TargetPrincipal"))
@@ -256,6 +282,20 @@ module Aws::STS
256
282
  GetFederationTokenResponse.add_member(:session_token_size, Shapes::ShapeRef.new(shape: sessionTokenSizeType, location_name: "SessionTokenSize"))
257
283
  GetFederationTokenResponse.struct_class = Types::GetFederationTokenResponse
258
284
 
285
+ GetScopedCredentialsRequest.add_member(:policy, Shapes::ShapeRef.new(shape: sessionPolicyDocumentType, location_name: "Policy"))
286
+ GetScopedCredentialsRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: scopedCredentialDurationSecondsType, location_name: "DurationSeconds"))
287
+ GetScopedCredentialsRequest.add_member(:minimum_session_token_size, Shapes::ShapeRef.new(shape: minimumSessionTokenSizeType, location_name: "MinimumSessionTokenSize"))
288
+ GetScopedCredentialsRequest.add_member(:scoped_session_description, Shapes::ShapeRef.new(shape: scopedSessionDescriptionType, location_name: "ScopedSessionDescription"))
289
+ GetScopedCredentialsRequest.struct_class = Types::GetScopedCredentialsRequest
290
+
291
+ GetScopedCredentialsResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
292
+ GetScopedCredentialsResponse.add_member(:session_info, Shapes::ShapeRef.new(shape: ScopedSession, location_name: "SessionInfo"))
293
+ GetScopedCredentialsResponse.add_member(:session_token_utilization, Shapes::ShapeRef.new(shape: sessionTokenUtilizationType, location_name: "SessionTokenUtilization"))
294
+ GetScopedCredentialsResponse.add_member(:session_token_size, Shapes::ShapeRef.new(shape: sessionTokenSizeType, location_name: "SessionTokenSize"))
295
+ GetScopedCredentialsResponse.add_member(:scoped_policies_count, Shapes::ShapeRef.new(shape: scopedPoliciesCountType, location_name: "ScopedPoliciesCount"))
296
+ GetScopedCredentialsResponse.add_member(:source_identity, Shapes::ShapeRef.new(shape: sourceIdentityType, location_name: "SourceIdentity"))
297
+ GetScopedCredentialsResponse.struct_class = Types::GetScopedCredentialsResponse
298
+
259
299
  GetSessionTokenRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: durationSecondsType, location_name: "DurationSeconds"))
260
300
  GetSessionTokenRequest.add_member(:serial_number, Shapes::ShapeRef.new(shape: serialNumberType, location_name: "SerialNumber"))
261
301
  GetSessionTokenRequest.add_member(:token_code, Shapes::ShapeRef.new(shape: tokenCodeType, location_name: "TokenCode"))
@@ -270,6 +310,8 @@ module Aws::STS
270
310
  GetWebIdentityTokenRequest.add_member(:audience, Shapes::ShapeRef.new(shape: webIdentityTokenAudienceListType, required: true, location_name: "Audience"))
271
311
  GetWebIdentityTokenRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: webIdentityTokenDurationSecondsType, location_name: "DurationSeconds"))
272
312
  GetWebIdentityTokenRequest.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: jwtAlgorithmType, required: true, location_name: "SigningAlgorithm"))
313
+ GetWebIdentityTokenRequest.add_member(:scope, Shapes::ShapeRef.new(shape: webIdentityTokenScopeType, location_name: "Scope"))
314
+ GetWebIdentityTokenRequest.add_member(:subject_mode, Shapes::ShapeRef.new(shape: webIdentityTokenSubjectModeType, location_name: "SubjectMode"))
273
315
  GetWebIdentityTokenRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
274
316
  GetWebIdentityTokenRequest.struct_class = Types::GetWebIdentityTokenRequest
275
317
 
@@ -283,18 +325,33 @@ module Aws::STS
283
325
  IDPRejectedClaimException.add_member(:message, Shapes::ShapeRef.new(shape: idpRejectedClaimMessage, location_name: "message"))
284
326
  IDPRejectedClaimException.struct_class = Types::IDPRejectedClaimException
285
327
 
328
+ InsufficientSessionLifetimeException.add_member(:message, Shapes::ShapeRef.new(shape: insufficientSessionLifetimeMessage, location_name: "message"))
329
+ InsufficientSessionLifetimeException.struct_class = Types::InsufficientSessionLifetimeException
330
+
286
331
  InvalidAuthorizationMessageException.add_member(:message, Shapes::ShapeRef.new(shape: invalidAuthorizationMessage, location_name: "message"))
287
332
  InvalidAuthorizationMessageException.struct_class = Types::InvalidAuthorizationMessageException
288
333
 
334
+ InvalidContextAssertionException.add_member(:message, Shapes::ShapeRef.new(shape: InvalidContextAssertionMessage, location_name: "message"))
335
+ InvalidContextAssertionException.struct_class = Types::InvalidContextAssertionException
336
+
289
337
  InvalidIdentityTokenException.add_member(:message, Shapes::ShapeRef.new(shape: invalidIdentityTokenMessage, location_name: "message"))
290
338
  InvalidIdentityTokenException.struct_class = Types::InvalidIdentityTokenException
291
339
 
340
+ InvalidSubjectCredentialsException.add_member(:message, Shapes::ShapeRef.new(shape: InvalidSubjectCredentialsMessage, location_name: "message"))
341
+ InvalidSubjectCredentialsException.struct_class = Types::InvalidSubjectCredentialsException
342
+
292
343
  JWTPayloadSizeExceededException.add_member(:message, Shapes::ShapeRef.new(shape: jwtPayloadSizeExceededException, location_name: "message"))
293
344
  JWTPayloadSizeExceededException.struct_class = Types::JWTPayloadSizeExceededException
294
345
 
295
346
  MalformedPolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: malformedPolicyDocumentMessage, location_name: "message"))
296
347
  MalformedPolicyDocumentException.struct_class = Types::MalformedPolicyDocumentException
297
348
 
349
+ OriginIdentity.add_member(:subject, Shapes::ShapeRef.new(shape: originIdentitySubjectType, location_name: "Subject"))
350
+ OriginIdentity.add_member(:subject_type, Shapes::ShapeRef.new(shape: originIdentitySubjectTypeType, location_name: "SubjectType"))
351
+ OriginIdentity.add_member(:issuer, Shapes::ShapeRef.new(shape: originIdentityIssuerType, location_name: "Issuer"))
352
+ OriginIdentity.add_member(:federated_provider_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "FederatedProviderArn"))
353
+ OriginIdentity.struct_class = Types::OriginIdentity
354
+
298
355
  OutboundWebIdentityFederationDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: outboundWebIdentityFederationDisabledException, location_name: "message"))
299
356
  OutboundWebIdentityFederationDisabledException.struct_class = Types::OutboundWebIdentityFederationDisabledException
300
357
 
@@ -313,6 +370,10 @@ module Aws::STS
313
370
  RegionDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: regionDisabledMessage, location_name: "message"))
314
371
  RegionDisabledException.struct_class = Types::RegionDisabledException
315
372
 
373
+ ScopedSession.add_member(:scoped_session_id, Shapes::ShapeRef.new(shape: scopedSessionIdType, required: true, location_name: "ScopedSessionId"))
374
+ ScopedSession.add_member(:arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "Arn"))
375
+ ScopedSession.struct_class = Types::ScopedSession
376
+
316
377
  SessionDurationEscalationException.add_member(:message, Shapes::ShapeRef.new(shape: sessionDurationEscalationException, location_name: "message"))
317
378
  SessionDurationEscalationException.struct_class = Types::SessionDurationEscalationException
318
379
 
@@ -320,12 +381,22 @@ module Aws::STS
320
381
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: tagValueType, required: true, location_name: "Value"))
321
382
  Tag.struct_class = Types::Tag
322
383
 
384
+ TransactionContext.add_member(:identity_provider, Shapes::ShapeRef.new(shape: transactionContextIdentityProviderMapType, location_name: "IdentityProvider"))
385
+ TransactionContext.struct_class = Types::TransactionContext
386
+
387
+ TrustedIdentityPropagationContext.add_member(:origin_identity, Shapes::ShapeRef.new(shape: OriginIdentity, location_name: "OriginIdentity"))
388
+ TrustedIdentityPropagationContext.add_member(:transaction_context, Shapes::ShapeRef.new(shape: TransactionContext, location_name: "TransactionContext"))
389
+ TrustedIdentityPropagationContext.struct_class = Types::TrustedIdentityPropagationContext
390
+
323
391
  policyDescriptorListType.member = Shapes::ShapeRef.new(shape: PolicyDescriptorType)
324
392
 
325
393
  tagKeyListType.member = Shapes::ShapeRef.new(shape: tagKeyType)
326
394
 
327
395
  tagListType.member = Shapes::ShapeRef.new(shape: Tag)
328
396
 
397
+ transactionContextIdentityProviderMapType.key = Shapes::ShapeRef.new(shape: transactionContextKeyType)
398
+ transactionContextIdentityProviderMapType.value = Shapes::ShapeRef.new(shape: transactionContextValueType)
399
+
329
400
  webIdentityTokenAudienceListType.member = Shapes::ShapeRef.new(shape: webIdentityTokenAudienceStringType)
330
401
 
331
402
 
@@ -359,6 +430,7 @@ module Aws::STS
359
430
  o.errors << Shapes::ShapeRef.new(shape: PackedPolicyTooLargeException)
360
431
  o.errors << Shapes::ShapeRef.new(shape: RegionDisabledException)
361
432
  o.errors << Shapes::ShapeRef.new(shape: ExpiredTokenException)
433
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContextAssertionException)
362
434
  end)
363
435
 
364
436
  api.add_operation(:assume_role_with_saml, Seahorse::Model::Operation.new.tap do |o|
@@ -451,6 +523,18 @@ module Aws::STS
451
523
  o.errors << Shapes::ShapeRef.new(shape: RegionDisabledException)
452
524
  end)
453
525
 
526
+ api.add_operation(:get_scoped_credentials, Seahorse::Model::Operation.new.tap do |o|
527
+ o.name = "GetScopedCredentials"
528
+ o.http_method = "POST"
529
+ o.http_request_uri = "/"
530
+ o.input = Shapes::ShapeRef.new(shape: GetScopedCredentialsRequest)
531
+ o.output = Shapes::ShapeRef.new(shape: GetScopedCredentialsResponse)
532
+ o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyDocumentException)
533
+ o.errors << Shapes::ShapeRef.new(shape: PackedPolicyTooLargeException)
534
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientSessionLifetimeException)
535
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSubjectCredentialsException)
536
+ end)
537
+
454
538
  api.add_operation(:get_session_token, Seahorse::Model::Operation.new.tap do |o|
455
539
  o.name = "GetSessionToken"
456
540
  o.http_method = "POST"
@@ -33,9 +33,15 @@ module Aws::STS
33
33
  # * This error class is not used. `IDPCommunicationError` is used during parsing instead.
34
34
  # * {IDPRejectedClaimException}
35
35
  # * This error class is not used. `IDPRejectedClaim` is used during parsing instead.
36
+ # * {InsufficientSessionLifetimeException}
37
+ # * This error class is not used. `InsufficientSessionLifetime` is used during parsing instead.
36
38
  # * {InvalidAuthorizationMessageException}
39
+ # * {InvalidContextAssertionException}
40
+ # * This error class is not used. `InvalidContextAssertion` is used during parsing instead.
37
41
  # * {InvalidIdentityTokenException}
38
42
  # * This error class is not used. `InvalidIdentityToken` is used during parsing instead.
43
+ # * {InvalidSubjectCredentialsException}
44
+ # * This error class is not used. `InvalidSubjectCredentials` is used during parsing instead.
39
45
  # * {JWTPayloadSizeExceededException}
40
46
  # * {MalformedPolicyDocumentException}
41
47
  # * This error class is not used. `MalformedPolicyDocument` is used during parsing instead.
@@ -115,6 +121,23 @@ module Aws::STS
115
121
  end
116
122
  end
117
123
 
124
+ # @deprecated This error class is not used during parsing.
125
+ # Please use `InsufficientSessionLifetime` instead.
126
+ class InsufficientSessionLifetimeException < ServiceError
127
+
128
+ # @param [Seahorse::Client::RequestContext] context
129
+ # @param [String] message
130
+ # @param [Aws::STS::Types::InsufficientSessionLifetimeException] data
131
+ def initialize(context, message, data = Aws::EmptyStructure.new)
132
+ super(context, message, data)
133
+ end
134
+
135
+ # @return [String]
136
+ def message
137
+ @message || @data[:message]
138
+ end
139
+ end
140
+
118
141
  class InvalidAuthorizationMessageException < ServiceError
119
142
 
120
143
  # @param [Seahorse::Client::RequestContext] context
@@ -130,6 +153,23 @@ module Aws::STS
130
153
  end
131
154
  end
132
155
 
156
+ # @deprecated This error class is not used during parsing.
157
+ # Please use `InvalidContextAssertion` instead.
158
+ class InvalidContextAssertionException < ServiceError
159
+
160
+ # @param [Seahorse::Client::RequestContext] context
161
+ # @param [String] message
162
+ # @param [Aws::STS::Types::InvalidContextAssertionException] data
163
+ def initialize(context, message, data = Aws::EmptyStructure.new)
164
+ super(context, message, data)
165
+ end
166
+
167
+ # @return [String]
168
+ def message
169
+ @message || @data[:message]
170
+ end
171
+ end
172
+
133
173
  # @deprecated This error class is not used during parsing.
134
174
  # Please use `InvalidIdentityToken` instead.
135
175
  class InvalidIdentityTokenException < ServiceError
@@ -147,6 +187,23 @@ module Aws::STS
147
187
  end
148
188
  end
149
189
 
190
+ # @deprecated This error class is not used during parsing.
191
+ # Please use `InvalidSubjectCredentials` instead.
192
+ class InvalidSubjectCredentialsException < ServiceError
193
+
194
+ # @param [Seahorse::Client::RequestContext] context
195
+ # @param [String] message
196
+ # @param [Aws::STS::Types::InvalidSubjectCredentialsException] data
197
+ def initialize(context, message, data = Aws::EmptyStructure.new)
198
+ super(context, message, data)
199
+ end
200
+
201
+ # @return [String]
202
+ def message
203
+ @message || @data[:message]
204
+ end
205
+ end
206
+
150
207
  class JWTPayloadSizeExceededException < ServiceError
151
208
 
152
209
  # @param [Seahorse::Client::RequestContext] context