aws-sdk-iam 1.166.0 → 1.168.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.
@@ -54,6 +54,8 @@ module Aws::IAM
54
54
  ContextKeyTypeEnum = Shapes::StringShape.new(name: 'ContextKeyTypeEnum')
55
55
  ContextKeyValueListType = Shapes::ListShape.new(name: 'ContextKeyValueListType')
56
56
  ContextKeyValueType = Shapes::StringShape.new(name: 'ContextKeyValueType')
57
+ ContextProvider = Shapes::StructureShape.new(name: 'ContextProvider')
58
+ ContextProviderKeyDefinition = Shapes::StructureShape.new(name: 'ContextProviderKeyDefinition')
57
59
  CreateAccessKeyRequest = Shapes::StructureShape.new(name: 'CreateAccessKeyRequest')
58
60
  CreateAccessKeyResponse = Shapes::StructureShape.new(name: 'CreateAccessKeyResponse')
59
61
  CreateAccountAliasRequest = Shapes::StructureShape.new(name: 'CreateAccountAliasRequest')
@@ -219,6 +221,7 @@ module Aws::IAM
219
221
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException', error: {"code" => "InvalidInput", "httpStatusCode" => 400, "senderFault" => true})
220
222
  InvalidPublicKeyException = Shapes::StructureShape.new(name: 'InvalidPublicKeyException', error: {"code" => "InvalidPublicKey", "httpStatusCode" => 400, "senderFault" => true})
221
223
  InvalidUserTypeException = Shapes::StructureShape.new(name: 'InvalidUserTypeException', error: {"code" => "InvalidUserType", "httpStatusCode" => 400, "senderFault" => true})
224
+ KeyHashListType = Shapes::ListShape.new(name: 'KeyHashListType')
222
225
  KeyPairMismatchException = Shapes::StructureShape.new(name: 'KeyPairMismatchException', error: {"code" => "KeyPairMismatch", "httpStatusCode" => 400, "senderFault" => true})
223
226
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException', error: {"code" => "LimitExceeded", "httpStatusCode" => 409, "senderFault" => true})
224
227
  LineNumber = Shapes::IntegerShape.new(name: 'LineNumber')
@@ -375,6 +378,9 @@ module Aws::IAM
375
378
  RoleTemplateVersion = Shapes::StructureShape.new(name: 'RoleTemplateVersion')
376
379
  RoleUsageListType = Shapes::ListShape.new(name: 'RoleUsageListType')
377
380
  RoleUsageType = Shapes::StructureShape.new(name: 'RoleUsageType')
381
+ SAMLIssuerURLType = Shapes::StringShape.new(name: 'SAMLIssuerURLType')
382
+ SAMLKeyHashEntry = Shapes::StructureShape.new(name: 'SAMLKeyHashEntry')
383
+ SAMLKeyHashListType = Shapes::ListShape.new(name: 'SAMLKeyHashListType')
378
384
  SAMLMetadataDocumentType = Shapes::StringShape.new(name: 'SAMLMetadataDocumentType')
379
385
  SAMLPrivateKey = Shapes::StructureShape.new(name: 'SAMLPrivateKey')
380
386
  SAMLProviderListEntry = Shapes::StructureShape.new(name: 'SAMLProviderListEntry')
@@ -432,6 +438,7 @@ module Aws::IAM
432
438
  UpdateDelegationRequestRequest = Shapes::StructureShape.new(name: 'UpdateDelegationRequestRequest')
433
439
  UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
434
440
  UpdateLoginProfileRequest = Shapes::StructureShape.new(name: 'UpdateLoginProfileRequest')
441
+ UpdateOpenIDConnectProviderRequest = Shapes::StructureShape.new(name: 'UpdateOpenIDConnectProviderRequest')
435
442
  UpdateOpenIDConnectProviderThumbprintRequest = Shapes::StructureShape.new(name: 'UpdateOpenIDConnectProviderThumbprintRequest')
436
443
  UpdateRoleDescriptionRequest = Shapes::StructureShape.new(name: 'UpdateRoleDescriptionRequest')
437
444
  UpdateRoleDescriptionResponse = Shapes::StructureShape.new(name: 'UpdateRoleDescriptionResponse')
@@ -478,6 +485,8 @@ module Aws::IAM
478
485
  clientIDListType = Shapes::ListShape.new(name: 'clientIDListType')
479
486
  clientIDType = Shapes::StringShape.new(name: 'clientIDType')
480
487
  consoleDeepLinkType = Shapes::StringShape.new(name: 'consoleDeepLinkType')
488
+ contextProviderSourceKeyType = Shapes::StringShape.new(name: 'contextProviderSourceKeyType')
489
+ contextProviderTargetKeyType = Shapes::StringShape.new(name: 'contextProviderTargetKeyType')
481
490
  credentialAgeDays = Shapes::IntegerShape.new(name: 'credentialAgeDays')
482
491
  credentialReportExpiredExceptionMessage = Shapes::StringShape.new(name: 'credentialReportExpiredExceptionMessage')
483
492
  credentialReportNotPresentExceptionMessage = Shapes::StringShape.new(name: 'credentialReportNotPresentExceptionMessage')
@@ -503,6 +512,7 @@ module Aws::IAM
503
512
  groupNameListType = Shapes::ListShape.new(name: 'groupNameListType')
504
513
  groupNameType = Shapes::StringShape.new(name: 'groupNameType')
505
514
  idType = Shapes::StringShape.new(name: 'idType')
515
+ identityCenterInstanceArnType = Shapes::StringShape.new(name: 'identityCenterInstanceArnType')
506
516
  inlinePolicyTemplateListType = Shapes::ListShape.new(name: 'inlinePolicyTemplateListType')
507
517
  instanceProfileListType = Shapes::ListShape.new(name: 'instanceProfileListType')
508
518
  instanceProfileNameType = Shapes::StringShape.new(name: 'instanceProfileNameType')
@@ -514,6 +524,7 @@ module Aws::IAM
514
524
  invalidUserTypeMessage = Shapes::StringShape.new(name: 'invalidUserTypeMessage')
515
525
  jobIDType = Shapes::StringShape.new(name: 'jobIDType')
516
526
  jobStatusType = Shapes::StringShape.new(name: 'jobStatusType')
527
+ keyDefinitionListType = Shapes::ListShape.new(name: 'keyDefinitionListType')
517
528
  keyPairMismatchMessage = Shapes::StringShape.new(name: 'keyPairMismatchMessage')
518
529
  limitExceededMessage = Shapes::StringShape.new(name: 'limitExceededMessage')
519
530
  listPolicyGrantingServiceAccessResponseListType = Shapes::ListShape.new(name: 'listPolicyGrantingServiceAccessResponseListType')
@@ -527,6 +538,7 @@ module Aws::IAM
527
538
  markerType = Shapes::StringShape.new(name: 'markerType')
528
539
  maxItemsType = Shapes::IntegerShape.new(name: 'maxItemsType')
529
540
  maxPasswordAgeType = Shapes::IntegerShape.new(name: 'maxPasswordAgeType')
541
+ maxSigninSessionDurationType = Shapes::IntegerShape.new(name: 'maxSigninSessionDurationType')
530
542
  mfaDeviceListType = Shapes::ListShape.new(name: 'mfaDeviceListType')
531
543
  minimumPasswordLengthType = Shapes::IntegerShape.new(name: 'minimumPasswordLengthType')
532
544
  minorVersionType = Shapes::IntegerShape.new(name: 'minorVersionType')
@@ -616,6 +628,7 @@ module Aws::IAM
616
628
  stateType = Shapes::StringShape.new(name: 'stateType')
617
629
  statusType = Shapes::StringShape.new(name: 'statusType')
618
630
  stringType = Shapes::StringShape.new(name: 'stringType')
631
+ subjectTypeValueType = Shapes::StringShape.new(name: 'subjectTypeValueType')
619
632
  summaryContentType = Shapes::StringShape.new(name: 'summaryContentType')
620
633
  summaryKeyType = Shapes::StringShape.new(name: 'summaryKeyType')
621
634
  summaryMapType = Shapes::MapShape.new(name: 'summaryMapType')
@@ -741,6 +754,16 @@ module Aws::IAM
741
754
 
742
755
  ContextKeyValueListType.member = Shapes::ShapeRef.new(shape: ContextKeyValueType)
743
756
 
757
+ ContextProvider.add_member(:key_definition_list, Shapes::ShapeRef.new(shape: keyDefinitionListType, location_name: "KeyDefinitionList"))
758
+ ContextProvider.add_member(:subject_source_key, Shapes::ShapeRef.new(shape: contextProviderSourceKeyType, required: true, location_name: "SubjectSourceKey"))
759
+ ContextProvider.add_member(:subject_type_value, Shapes::ShapeRef.new(shape: subjectTypeValueType, location_name: "SubjectTypeValue"))
760
+ ContextProvider.add_member(:subject_type_source_key, Shapes::ShapeRef.new(shape: contextProviderSourceKeyType, location_name: "SubjectTypeSourceKey"))
761
+ ContextProvider.struct_class = Types::ContextProvider
762
+
763
+ ContextProviderKeyDefinition.add_member(:source_key, Shapes::ShapeRef.new(shape: contextProviderSourceKeyType, required: true, location_name: "SourceKey"))
764
+ ContextProviderKeyDefinition.add_member(:target_key, Shapes::ShapeRef.new(shape: contextProviderTargetKeyType, location_name: "TargetKey"))
765
+ ContextProviderKeyDefinition.struct_class = Types::ContextProviderKeyDefinition
766
+
744
767
  CreateAccessKeyRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: existingUserNameType, location_name: "UserName"))
745
768
  CreateAccessKeyRequest.struct_class = Types::CreateAccessKeyRequest
746
769
 
@@ -783,6 +806,7 @@ module Aws::IAM
783
806
  CreateLoginProfileRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, location_name: "UserName"))
784
807
  CreateLoginProfileRequest.add_member(:password, Shapes::ShapeRef.new(shape: passwordType, location_name: "Password"))
785
808
  CreateLoginProfileRequest.add_member(:password_reset_required, Shapes::ShapeRef.new(shape: booleanType, location_name: "PasswordResetRequired"))
809
+ CreateLoginProfileRequest.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
786
810
  CreateLoginProfileRequest.struct_class = Types::CreateLoginProfileRequest
787
811
 
788
812
  CreateLoginProfileResponse.add_member(:login_profile, Shapes::ShapeRef.new(shape: LoginProfile, required: true, location_name: "LoginProfile"))
@@ -792,6 +816,8 @@ module Aws::IAM
792
816
  CreateOpenIDConnectProviderRequest.add_member(:client_id_list, Shapes::ShapeRef.new(shape: clientIDListType, location_name: "ClientIDList"))
793
817
  CreateOpenIDConnectProviderRequest.add_member(:thumbprint_list, Shapes::ShapeRef.new(shape: thumbprintListType, location_name: "ThumbprintList"))
794
818
  CreateOpenIDConnectProviderRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
819
+ CreateOpenIDConnectProviderRequest.add_member(:context_provider, Shapes::ShapeRef.new(shape: ContextProvider, location_name: "ContextProvider"))
820
+ CreateOpenIDConnectProviderRequest.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: identityCenterInstanceArnType, location_name: "IdentityCenterInstanceArn"))
795
821
  CreateOpenIDConnectProviderRequest.struct_class = Types::CreateOpenIDConnectProviderRequest
796
822
 
797
823
  CreateOpenIDConnectProviderResponse.add_member(:open_id_connect_provider_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "OpenIDConnectProviderArn"))
@@ -821,6 +847,7 @@ module Aws::IAM
821
847
  CreateRoleRequest.add_member(:assume_role_policy_document, Shapes::ShapeRef.new(shape: policyDocumentType, required: true, location_name: "AssumeRolePolicyDocument"))
822
848
  CreateRoleRequest.add_member(:description, Shapes::ShapeRef.new(shape: roleDescriptionType, location_name: "Description"))
823
849
  CreateRoleRequest.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: roleMaxSessionDurationType, location_name: "MaxSessionDuration"))
850
+ CreateRoleRequest.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
824
851
  CreateRoleRequest.add_member(:permissions_boundary, Shapes::ShapeRef.new(shape: arnType, location_name: "PermissionsBoundary"))
825
852
  CreateRoleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
826
853
  CreateRoleRequest.struct_class = Types::CreateRoleRequest
@@ -833,6 +860,8 @@ module Aws::IAM
833
860
  CreateSAMLProviderRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
834
861
  CreateSAMLProviderRequest.add_member(:assertion_encryption_mode, Shapes::ShapeRef.new(shape: assertionEncryptionModeType, location_name: "AssertionEncryptionMode"))
835
862
  CreateSAMLProviderRequest.add_member(:add_private_key, Shapes::ShapeRef.new(shape: privateKeyType, location_name: "AddPrivateKey"))
863
+ CreateSAMLProviderRequest.add_member(:context_provider, Shapes::ShapeRef.new(shape: ContextProvider, location_name: "ContextProvider"))
864
+ CreateSAMLProviderRequest.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: identityCenterInstanceArnType, location_name: "IdentityCenterInstanceArn"))
836
865
  CreateSAMLProviderRequest.struct_class = Types::CreateSAMLProviderRequest
837
866
 
838
867
  CreateSAMLProviderResponse.add_member(:saml_provider_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "SAMLProviderArn"))
@@ -1223,6 +1252,9 @@ module Aws::IAM
1223
1252
  GetOpenIDConnectProviderResponse.add_member(:thumbprint_list, Shapes::ShapeRef.new(shape: thumbprintListType, location_name: "ThumbprintList"))
1224
1253
  GetOpenIDConnectProviderResponse.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, location_name: "CreateDate"))
1225
1254
  GetOpenIDConnectProviderResponse.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
1255
+ GetOpenIDConnectProviderResponse.add_member(:context_provider, Shapes::ShapeRef.new(shape: ContextProvider, location_name: "ContextProvider"))
1256
+ GetOpenIDConnectProviderResponse.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: identityCenterInstanceArnType, location_name: "IdentityCenterInstanceArn"))
1257
+ GetOpenIDConnectProviderResponse.add_member(:identity_store_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "IdentityStoreArn"))
1226
1258
  GetOpenIDConnectProviderResponse.struct_class = Types::GetOpenIDConnectProviderResponse
1227
1259
 
1228
1260
  GetOrganizationsAccessReportRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: jobIDType, required: true, location_name: "JobId"))
@@ -1286,11 +1318,15 @@ module Aws::IAM
1286
1318
 
1287
1319
  GetSAMLProviderResponse.add_member(:saml_provider_uuid, Shapes::ShapeRef.new(shape: privateKeyIdType, location_name: "SAMLProviderUUID"))
1288
1320
  GetSAMLProviderResponse.add_member(:saml_metadata_document, Shapes::ShapeRef.new(shape: SAMLMetadataDocumentType, location_name: "SAMLMetadataDocument"))
1321
+ GetSAMLProviderResponse.add_member(:context_provider, Shapes::ShapeRef.new(shape: ContextProvider, location_name: "ContextProvider"))
1322
+ GetSAMLProviderResponse.add_member(:saml_key_hashes, Shapes::ShapeRef.new(shape: SAMLKeyHashListType, location_name: "SAMLKeyHashes"))
1289
1323
  GetSAMLProviderResponse.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, location_name: "CreateDate"))
1290
1324
  GetSAMLProviderResponse.add_member(:valid_until, Shapes::ShapeRef.new(shape: dateType, location_name: "ValidUntil"))
1291
1325
  GetSAMLProviderResponse.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
1292
1326
  GetSAMLProviderResponse.add_member(:assertion_encryption_mode, Shapes::ShapeRef.new(shape: assertionEncryptionModeType, location_name: "AssertionEncryptionMode"))
1293
1327
  GetSAMLProviderResponse.add_member(:private_key_list, Shapes::ShapeRef.new(shape: privateKeyList, location_name: "PrivateKeyList"))
1328
+ GetSAMLProviderResponse.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: identityCenterInstanceArnType, location_name: "IdentityCenterInstanceArn"))
1329
+ GetSAMLProviderResponse.add_member(:identity_store_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "IdentityStoreArn"))
1294
1330
  GetSAMLProviderResponse.struct_class = Types::GetSAMLProviderResponse
1295
1331
 
1296
1332
  GetSSHPublicKeyRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
@@ -1408,6 +1444,8 @@ module Aws::IAM
1408
1444
  InvalidUserTypeException.add_member(:message, Shapes::ShapeRef.new(shape: invalidUserTypeMessage, location_name: "message"))
1409
1445
  InvalidUserTypeException.struct_class = Types::InvalidUserTypeException
1410
1446
 
1447
+ KeyHashListType.member = Shapes::ShapeRef.new(shape: stringType)
1448
+
1411
1449
  KeyPairMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: keyPairMismatchMessage, location_name: "message"))
1412
1450
  KeyPairMismatchException.struct_class = Types::KeyPairMismatchException
1413
1451
 
@@ -1779,6 +1817,7 @@ module Aws::IAM
1779
1817
  LoginProfile.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
1780
1818
  LoginProfile.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, required: true, location_name: "CreateDate"))
1781
1819
  LoginProfile.add_member(:password_reset_required, Shapes::ShapeRef.new(shape: booleanType, location_name: "PasswordResetRequired"))
1820
+ LoginProfile.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
1782
1821
  LoginProfile.struct_class = Types::LoginProfile
1783
1822
 
1784
1823
  MFADevice.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
@@ -1815,6 +1854,7 @@ module Aws::IAM
1815
1854
  NoSuchEntityException.struct_class = Types::NoSuchEntityException
1816
1855
 
1817
1856
  OpenIDConnectProviderListEntry.add_member(:arn, Shapes::ShapeRef.new(shape: arnType, location_name: "Arn"))
1857
+ OpenIDConnectProviderListEntry.add_member(:is_trusted_identity_propagation_enabled, Shapes::ShapeRef.new(shape: booleanType, location_name: "IsTrustedIdentityPropagationEnabled"))
1818
1858
  OpenIDConnectProviderListEntry.struct_class = Types::OpenIDConnectProviderListEntry
1819
1859
 
1820
1860
  OpenIDConnectProviderListType.member = Shapes::ShapeRef.new(shape: OpenIDConnectProviderListEntry)
@@ -2020,6 +2060,7 @@ module Aws::IAM
2020
2060
  Role.add_member(:assume_role_policy_document, Shapes::ShapeRef.new(shape: policyDocumentType, location_name: "AssumeRolePolicyDocument"))
2021
2061
  Role.add_member(:description, Shapes::ShapeRef.new(shape: roleDescriptionType, location_name: "Description"))
2022
2062
  Role.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: roleMaxSessionDurationType, location_name: "MaxSessionDuration"))
2063
+ Role.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
2023
2064
  Role.add_member(:permissions_boundary, Shapes::ShapeRef.new(shape: AttachedPermissionsBoundary, location_name: "PermissionsBoundary"))
2024
2065
  Role.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
2025
2066
  Role.add_member(:role_last_used, Shapes::ShapeRef.new(shape: RoleLastUsed, location_name: "RoleLastUsed"))
@@ -2081,6 +2122,12 @@ module Aws::IAM
2081
2122
  RoleUsageType.add_member(:resources, Shapes::ShapeRef.new(shape: ArnListType, location_name: "Resources"))
2082
2123
  RoleUsageType.struct_class = Types::RoleUsageType
2083
2124
 
2125
+ SAMLKeyHashEntry.add_member(:issuer_url, Shapes::ShapeRef.new(shape: SAMLIssuerURLType, location_name: "IssuerURL"))
2126
+ SAMLKeyHashEntry.add_member(:key_hashes, Shapes::ShapeRef.new(shape: KeyHashListType, location_name: "KeyHashes"))
2127
+ SAMLKeyHashEntry.struct_class = Types::SAMLKeyHashEntry
2128
+
2129
+ SAMLKeyHashListType.member = Shapes::ShapeRef.new(shape: SAMLKeyHashEntry)
2130
+
2084
2131
  SAMLPrivateKey.add_member(:key_id, Shapes::ShapeRef.new(shape: privateKeyIdType, location_name: "KeyId"))
2085
2132
  SAMLPrivateKey.add_member(:timestamp, Shapes::ShapeRef.new(shape: dateType, location_name: "Timestamp"))
2086
2133
  SAMLPrivateKey.struct_class = Types::SAMLPrivateKey
@@ -2088,6 +2135,7 @@ module Aws::IAM
2088
2135
  SAMLProviderListEntry.add_member(:arn, Shapes::ShapeRef.new(shape: arnType, location_name: "Arn"))
2089
2136
  SAMLProviderListEntry.add_member(:valid_until, Shapes::ShapeRef.new(shape: dateType, location_name: "ValidUntil"))
2090
2137
  SAMLProviderListEntry.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, location_name: "CreateDate"))
2138
+ SAMLProviderListEntry.add_member(:is_trusted_identity_propagation_enabled, Shapes::ShapeRef.new(shape: booleanType, location_name: "IsTrustedIdentityPropagationEnabled"))
2091
2139
  SAMLProviderListEntry.struct_class = Types::SAMLProviderListEntry
2092
2140
 
2093
2141
  SAMLProviderListType.member = Shapes::ShapeRef.new(shape: SAMLProviderListEntry)
@@ -2348,8 +2396,17 @@ module Aws::IAM
2348
2396
  UpdateLoginProfileRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
2349
2397
  UpdateLoginProfileRequest.add_member(:password, Shapes::ShapeRef.new(shape: passwordType, location_name: "Password"))
2350
2398
  UpdateLoginProfileRequest.add_member(:password_reset_required, Shapes::ShapeRef.new(shape: booleanObjectType, location_name: "PasswordResetRequired"))
2399
+ UpdateLoginProfileRequest.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
2400
+ UpdateLoginProfileRequest.add_member(:reset_max_signin_session_duration, Shapes::ShapeRef.new(shape: booleanObjectType, location_name: "ResetMaxSigninSessionDuration"))
2351
2401
  UpdateLoginProfileRequest.struct_class = Types::UpdateLoginProfileRequest
2352
2402
 
2403
+ UpdateOpenIDConnectProviderRequest.add_member(:open_id_connect_provider_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "OpenIDConnectProviderArn"))
2404
+ UpdateOpenIDConnectProviderRequest.add_member(:context_provider, Shapes::ShapeRef.new(shape: ContextProvider, location_name: "ContextProvider"))
2405
+ UpdateOpenIDConnectProviderRequest.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: identityCenterInstanceArnType, location_name: "IdentityCenterInstanceArn"))
2406
+ UpdateOpenIDConnectProviderRequest.add_member(:remove_context_provider, Shapes::ShapeRef.new(shape: booleanType, location_name: "RemoveContextProvider"))
2407
+ UpdateOpenIDConnectProviderRequest.add_member(:remove_identity_center_instance, Shapes::ShapeRef.new(shape: booleanType, location_name: "RemoveIdentityCenterInstance"))
2408
+ UpdateOpenIDConnectProviderRequest.struct_class = Types::UpdateOpenIDConnectProviderRequest
2409
+
2353
2410
  UpdateOpenIDConnectProviderThumbprintRequest.add_member(:open_id_connect_provider_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "OpenIDConnectProviderArn"))
2354
2411
  UpdateOpenIDConnectProviderThumbprintRequest.add_member(:thumbprint_list, Shapes::ShapeRef.new(shape: thumbprintListType, required: true, location_name: "ThumbprintList"))
2355
2412
  UpdateOpenIDConnectProviderThumbprintRequest.struct_class = Types::UpdateOpenIDConnectProviderThumbprintRequest
@@ -2364,6 +2421,8 @@ module Aws::IAM
2364
2421
  UpdateRoleRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: roleNameType, required: true, location_name: "RoleName"))
2365
2422
  UpdateRoleRequest.add_member(:description, Shapes::ShapeRef.new(shape: roleDescriptionType, location_name: "Description"))
2366
2423
  UpdateRoleRequest.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: roleMaxSessionDurationType, location_name: "MaxSessionDuration"))
2424
+ UpdateRoleRequest.add_member(:max_signin_session_duration, Shapes::ShapeRef.new(shape: maxSigninSessionDurationType, location_name: "MaxSigninSessionDuration"))
2425
+ UpdateRoleRequest.add_member(:reset_max_signin_session_duration, Shapes::ShapeRef.new(shape: booleanObjectType, location_name: "ResetMaxSigninSessionDuration"))
2367
2426
  UpdateRoleRequest.struct_class = Types::UpdateRoleRequest
2368
2427
 
2369
2428
  UpdateRoleResponse.struct_class = Types::UpdateRoleResponse
@@ -2373,6 +2432,10 @@ module Aws::IAM
2373
2432
  UpdateSAMLProviderRequest.add_member(:assertion_encryption_mode, Shapes::ShapeRef.new(shape: assertionEncryptionModeType, location_name: "AssertionEncryptionMode"))
2374
2433
  UpdateSAMLProviderRequest.add_member(:add_private_key, Shapes::ShapeRef.new(shape: privateKeyType, location_name: "AddPrivateKey"))
2375
2434
  UpdateSAMLProviderRequest.add_member(:remove_private_key, Shapes::ShapeRef.new(shape: privateKeyIdType, location_name: "RemovePrivateKey"))
2435
+ UpdateSAMLProviderRequest.add_member(:context_provider, Shapes::ShapeRef.new(shape: ContextProvider, location_name: "ContextProvider"))
2436
+ UpdateSAMLProviderRequest.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: identityCenterInstanceArnType, location_name: "IdentityCenterInstanceArn"))
2437
+ UpdateSAMLProviderRequest.add_member(:remove_context_provider, Shapes::ShapeRef.new(shape: booleanType, location_name: "RemoveContextProvider"))
2438
+ UpdateSAMLProviderRequest.add_member(:remove_identity_center_instance, Shapes::ShapeRef.new(shape: booleanType, location_name: "RemoveIdentityCenterInstance"))
2376
2439
  UpdateSAMLProviderRequest.struct_class = Types::UpdateSAMLProviderRequest
2377
2440
 
2378
2441
  UpdateSAMLProviderResponse.add_member(:saml_provider_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "SAMLProviderArn"))
@@ -2488,6 +2551,8 @@ module Aws::IAM
2488
2551
 
2489
2552
  instanceProfileListType.member = Shapes::ShapeRef.new(shape: InstanceProfile)
2490
2553
 
2554
+ keyDefinitionListType.member = Shapes::ShapeRef.new(shape: ContextProviderKeyDefinition)
2555
+
2491
2556
  listPolicyGrantingServiceAccessResponseListType.member = Shapes::ShapeRef.new(shape: ListPoliciesGrantingServiceAccessEntry)
2492
2557
 
2493
2558
  managedPolicyArnListType.member = Shapes::ShapeRef.new(shape: arnType)
@@ -2991,6 +3056,7 @@ module Aws::IAM
2991
3056
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2992
3057
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2993
3058
  o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
3059
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2994
3060
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
2995
3061
  end)
2996
3062
 
@@ -3066,6 +3132,7 @@ module Aws::IAM
3066
3132
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
3067
3133
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3068
3134
  o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
3135
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
3069
3136
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
3070
3137
  end)
3071
3138
 
@@ -4693,6 +4760,19 @@ module Aws::IAM
4693
4760
  o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
4694
4761
  o.errors << Shapes::ShapeRef.new(shape: PasswordPolicyViolationException)
4695
4762
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
4763
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4764
+ o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
4765
+ end)
4766
+
4767
+ api.add_operation(:update_open_id_connect_provider, Seahorse::Model::Operation.new.tap do |o|
4768
+ o.name = "UpdateOpenIDConnectProvider"
4769
+ o.http_method = "POST"
4770
+ o.http_request_uri = "/"
4771
+ o.input = Shapes::ShapeRef.new(shape: UpdateOpenIDConnectProviderRequest)
4772
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
4773
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
4774
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4775
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
4696
4776
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
4697
4777
  end)
4698
4778
 
@@ -4716,6 +4796,7 @@ module Aws::IAM
4716
4796
  o.output = Shapes::ShapeRef.new(shape: UpdateRoleResponse)
4717
4797
  o.errors << Shapes::ShapeRef.new(shape: UnmodifiableEntityException)
4718
4798
  o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
4799
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4719
4800
  o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
4720
4801
  end)
4721
4802
 
@@ -47,6 +47,17 @@ module Aws::IAM
47
47
  data[:password_reset_required]
48
48
  end
49
49
 
50
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
51
+ # session for the user.
52
+ #
53
+ # This member is omitted when the setting is unset. In that case, no
54
+ # default value is returned and the existing sign-in session behavior
55
+ # applies.
56
+ # @return [Integer]
57
+ def max_signin_session_duration
58
+ data[:max_signin_session_duration]
59
+ end
60
+
50
61
  # @!endgroup
51
62
 
52
63
  # @return [Client]
@@ -190,6 +201,7 @@ module Aws::IAM
190
201
  # loginprofile = login_profile.create({
191
202
  # password: "passwordType",
192
203
  # password_reset_required: false,
204
+ # max_signin_session_duration: 1,
193
205
  # })
194
206
  # @param [Hash] options ({})
195
207
  # @option options [String] :password
@@ -215,6 +227,16 @@ module Aws::IAM
215
227
  # @option options [Boolean] :password_reset_required
216
228
  # Specifies whether the user is required to set a new password on next
217
229
  # sign-in.
230
+ # @option options [Integer] :max_signin_session_duration
231
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
232
+ # session for this IAM user. This setting can have a value from 1 hour
233
+ # (3600 seconds) to 90 days (7776000 seconds), inclusive. If you do not
234
+ # specify a value, the setting remains unset and the existing sign-in
235
+ # session behavior applies.
236
+ #
237
+ # <note markdown="1"> This setting is not supported for the root user.
238
+ #
239
+ # </note>
218
240
  # @return [LoginProfile]
219
241
  def create(options = {})
220
242
  options = options.merge(user_name: @user_name)
@@ -246,6 +268,8 @@ module Aws::IAM
246
268
  # login_profile.update({
247
269
  # password: "passwordType",
248
270
  # password_reset_required: false,
271
+ # max_signin_session_duration: 1,
272
+ # reset_max_signin_session_duration: false,
249
273
  # })
250
274
  # @param [Hash] options ({})
251
275
  # @option options [String] :password
@@ -274,6 +298,35 @@ module Aws::IAM
274
298
  # @option options [Boolean] :password_reset_required
275
299
  # Allows this new password to be used only once by requiring the
276
300
  # specified IAM user to set a new password on next sign-in.
301
+ # @option options [Integer] :max_signin_session_duration
302
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
303
+ # session for the specified IAM user. This setting can have a value from
304
+ # 1 hour (3600 seconds) to 90 days (7776000 seconds), inclusive, and
305
+ # replaces any value currently configured for the user.
306
+ #
307
+ # If you omit both this parameter and `ResetMaxSigninSessionDuration`,
308
+ # the current setting is unchanged. You cannot specify this parameter
309
+ # and set `ResetMaxSigninSessionDuration` to `true` in the same request.
310
+ # If you update only the sign-in session duration, the user's password
311
+ # and `PasswordResetRequired` setting do not change.
312
+ #
313
+ # Changes to this setting apply to new sign-in sessions. Sessions that
314
+ # are already established are not affected.
315
+ #
316
+ # <note markdown="1"> This setting is not supported for the root user.
317
+ #
318
+ # </note>
319
+ # @option options [Boolean] :reset_max_signin_session_duration
320
+ # Specifies whether to clear the maximum sign-in session duration for
321
+ # the specified IAM user. Set this value to `true` to return the setting
322
+ # to its unset state, so that the existing sign-in session behavior
323
+ # applies. When the setting is unset, the user's
324
+ # `MaxSigninSessionDuration` is omitted from responses.
325
+ #
326
+ # If you set this value to `false` or omit it, the current setting is
327
+ # not cleared. You cannot set this value to `true` and specify
328
+ # `MaxSigninSessionDuration` in the same request. Clearing a setting
329
+ # that is already unset has no effect.
277
330
  # @return [EmptyStructure]
278
331
  def update(options = {})
279
332
  options = options.merge(user_name: @user_name)
@@ -434,6 +434,7 @@ module Aws::IAM
434
434
  # assume_role_policy_document: "policyDocumentType", # required
435
435
  # description: "roleDescriptionType",
436
436
  # max_session_duration: 1,
437
+ # max_signin_session_duration: 1,
437
438
  # permissions_boundary: "arnType",
438
439
  # tags: [
439
440
  # {
@@ -525,6 +526,14 @@ module Aws::IAM
525
526
  #
526
527
  #
527
528
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
529
+ # @option options [Integer] :max_signin_session_duration
530
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
531
+ # session for users who sign in with this role. This setting can have a
532
+ # value from 1 hour (3600 seconds) to 90 days (7776000 seconds),
533
+ # inclusive. If you do not specify a value, the setting remains unset
534
+ # and the existing sign-in session behavior applies.
535
+ #
536
+ # This setting is independent of `MaxSessionDuration`.
528
537
  # @option options [String] :permissions_boundary
529
538
  # The ARN of the managed policy that is used to set the permissions
530
539
  # boundary for the role.
@@ -582,6 +591,18 @@ module Aws::IAM
582
591
  # ],
583
592
  # assertion_encryption_mode: "Required", # accepts Required, Allowed
584
593
  # add_private_key: "privateKeyType",
594
+ # context_provider: {
595
+ # key_definition_list: [
596
+ # {
597
+ # source_key: "contextProviderSourceKeyType", # required
598
+ # target_key: "contextProviderTargetKeyType",
599
+ # },
600
+ # ],
601
+ # subject_source_key: "contextProviderSourceKeyType", # required
602
+ # subject_type_value: "subjectTypeValueType",
603
+ # subject_type_source_key: "contextProviderSourceKeyType",
604
+ # },
605
+ # identity_center_instance_arn: "identityCenterInstanceArnType",
585
606
  # })
586
607
  # @param [Hash] options ({})
587
608
  # @option options [required, String] :saml_metadata_document
@@ -630,6 +651,28 @@ module Aws::IAM
630
651
  # The private key generated from your external identity provider. The
631
652
  # private key must be a .pem file that uses AES-GCM or AES-CBC
632
653
  # encryption algorithm to decrypt SAML assertions.
654
+ # @option options [Types::ContextProvider] :context_provider
655
+ # The trusted identity propagation context provider configuration to
656
+ # associate with the SAML provider. The context provider defines how the
657
+ # subject is derived and how keys from the provider's SAML assertion
658
+ # are mapped into trusted context keys. Specifying a context provider
659
+ # enables trusted identity propagation for the provider. For more
660
+ # information, see [ContextProvider][1].
661
+ #
662
+ #
663
+ #
664
+ # [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html
665
+ # @option options [String] :identity_center_instance_arn
666
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance to
667
+ # associate with the SAML provider. If you specify this parameter, you
668
+ # must also specify `ContextProvider`.
669
+ #
670
+ # For the format, see [InstanceMetadata][1] in the *IAM Identity Center
671
+ # API Reference*.
672
+ #
673
+ #
674
+ #
675
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
633
676
  # @return [SamlProvider]
634
677
  def create_saml_provider(options = {})
635
678
  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
@@ -102,6 +102,18 @@ module Aws::IAM
102
102
  data[:max_session_duration]
103
103
  end
104
104
 
105
+ # The maximum duration (in seconds) of an Amazon Web Services Sign-In
106
+ # session for users who sign in with this role. This value is
107
+ # independent of `MaxSessionDuration`.
108
+ #
109
+ # This member is omitted when the setting is unset. In that case, no
110
+ # default value is returned and the existing sign-in session behavior
111
+ # applies.
112
+ # @return [Integer]
113
+ def max_signin_session_duration
114
+ data[:max_signin_session_duration]
115
+ end
116
+
105
117
  # The ARN of the policy used to set the permissions boundary for the
106
118
  # role.
107
119
  #
@@ -47,6 +47,32 @@ module Aws::IAM
47
47
  data[:saml_metadata_document]
48
48
  end
49
49
 
50
+ # The trusted identity propagation context provider configuration
51
+ # associated with the SAML provider. For more information, see
52
+ # [ContextProvider][1].
53
+ #
54
+ # This element is returned only when a trusted identity propagation
55
+ # context provider is configured for the SAML provider.
56
+ #
57
+ #
58
+ #
59
+ # [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html
60
+ # @return [Types::ContextProvider]
61
+ def context_provider
62
+ data[:context_provider]
63
+ end
64
+
65
+ # The key hashes associated with the SAML provider, grouped by identity
66
+ # provider issuer. For more information, see [SAMLKeyHashEntry][1].
67
+ #
68
+ #
69
+ #
70
+ # [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SAMLKeyHashEntry.html
71
+ # @return [Array<Types::SAMLKeyHashEntry>]
72
+ def saml_key_hashes
73
+ data[:saml_key_hashes]
74
+ end
75
+
50
76
  # The date and time when the SAML provider was created.
51
77
  # @return [Time]
52
78
  def create_date
@@ -83,6 +109,40 @@ module Aws::IAM
83
109
  data[:private_key_list]
84
110
  end
85
111
 
112
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance
113
+ # associated with the SAML provider.
114
+ #
115
+ # For the format, see [InstanceMetadata][1] in the *IAM Identity Center
116
+ # API Reference*.
117
+ #
118
+ # This element is returned only when an IAM Identity Center instance is
119
+ # associated with the SAML provider.
120
+ #
121
+ #
122
+ #
123
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
124
+ # @return [String]
125
+ def identity_center_instance_arn
126
+ data[:identity_center_instance_arn]
127
+ end
128
+
129
+ # The Amazon Resource Name (ARN) of the identity store that is resolved
130
+ # from the associated IAM Identity Center instance.
131
+ #
132
+ # For the format, see [InstanceMetadata][1] in the *IAM Identity Center
133
+ # API Reference*.
134
+ #
135
+ # This element is returned only when an IAM Identity Center instance is
136
+ # associated with the SAML provider.
137
+ #
138
+ #
139
+ #
140
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
141
+ # @return [String]
142
+ def identity_store_arn
143
+ data[:identity_store_arn]
144
+ end
145
+
86
146
  # @!endgroup
87
147
 
88
148
  # @return [Client]
@@ -241,6 +301,20 @@ module Aws::IAM
241
301
  # assertion_encryption_mode: "Required", # accepts Required, Allowed
242
302
  # add_private_key: "privateKeyType",
243
303
  # remove_private_key: "privateKeyIdType",
304
+ # context_provider: {
305
+ # key_definition_list: [
306
+ # {
307
+ # source_key: "contextProviderSourceKeyType", # required
308
+ # target_key: "contextProviderTargetKeyType",
309
+ # },
310
+ # ],
311
+ # subject_source_key: "contextProviderSourceKeyType", # required
312
+ # subject_type_value: "subjectTypeValueType",
313
+ # subject_type_source_key: "contextProviderSourceKeyType",
314
+ # },
315
+ # identity_center_instance_arn: "identityCenterInstanceArnType",
316
+ # remove_context_provider: false,
317
+ # remove_identity_center_instance: false,
244
318
  # })
245
319
  # @param [Hash] options ({})
246
320
  # @option options [String] :saml_metadata_document
@@ -258,6 +332,35 @@ module Aws::IAM
258
332
  # encryption algorithm to decrypt SAML assertions.
259
333
  # @option options [String] :remove_private_key
260
334
  # The Key ID of the private key to remove.
335
+ # @option options [Types::ContextProvider] :context_provider
336
+ # The trusted identity propagation context provider configuration to
337
+ # associate with the SAML provider. This replaces the existing context
338
+ # provider configuration. For more information, see
339
+ # [ContextProvider][1].
340
+ #
341
+ #
342
+ #
343
+ # [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html
344
+ # @option options [String] :identity_center_instance_arn
345
+ # The Amazon Resource Name (ARN) of the IAM Identity Center instance to
346
+ # associate with the SAML provider.
347
+ #
348
+ # For the format, see [InstanceMetadata][1] in the *IAM Identity Center
349
+ # API Reference*.
350
+ #
351
+ #
352
+ #
353
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
354
+ # @option options [Boolean] :remove_context_provider
355
+ # Specifies whether to remove the existing trusted identity propagation
356
+ # context provider configuration from the SAML provider. When set to
357
+ # `true`, the context provider is removed. This parameter is mutually
358
+ # exclusive with `ContextProvider`.
359
+ # @option options [Boolean] :remove_identity_center_instance
360
+ # Specifies whether to disassociate the IAM Identity Center instance
361
+ # from the SAML provider. When set to `true`, the instance is
362
+ # disassociated. This parameter is mutually exclusive with
363
+ # `IdentityCenterInstanceArn`.
261
364
  # @return [Types::UpdateSAMLProviderResponse]
262
365
  def update(options = {})
263
366
  options = options.merge(saml_provider_arn: @arn)