aws-sdk-iam 1.167.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/client.rb +644 -9
- data/lib/aws-sdk-iam/client_api.rb +70 -0
- data/lib/aws-sdk-iam/resource.rb +34 -0
- data/lib/aws-sdk-iam/saml_provider.rb +103 -0
- data/lib/aws-sdk-iam/types.rb +435 -7
- data/lib/aws-sdk-iam.rb +1 -1
- data/sig/client.rbs +28 -3
- data/sig/params.rbs +25 -0
- data/sig/resource.rbs +13 -1
- data/sig/saml_provider.rbs +27 -1
- data/sig/types.rbs +46 -0
- metadata +2 -1
|
@@ -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')
|
|
@@ -617,6 +628,7 @@ module Aws::IAM
|
|
|
617
628
|
stateType = Shapes::StringShape.new(name: 'stateType')
|
|
618
629
|
statusType = Shapes::StringShape.new(name: 'statusType')
|
|
619
630
|
stringType = Shapes::StringShape.new(name: 'stringType')
|
|
631
|
+
subjectTypeValueType = Shapes::StringShape.new(name: 'subjectTypeValueType')
|
|
620
632
|
summaryContentType = Shapes::StringShape.new(name: 'summaryContentType')
|
|
621
633
|
summaryKeyType = Shapes::StringShape.new(name: 'summaryKeyType')
|
|
622
634
|
summaryMapType = Shapes::MapShape.new(name: 'summaryMapType')
|
|
@@ -742,6 +754,16 @@ module Aws::IAM
|
|
|
742
754
|
|
|
743
755
|
ContextKeyValueListType.member = Shapes::ShapeRef.new(shape: ContextKeyValueType)
|
|
744
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
|
+
|
|
745
767
|
CreateAccessKeyRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: existingUserNameType, location_name: "UserName"))
|
|
746
768
|
CreateAccessKeyRequest.struct_class = Types::CreateAccessKeyRequest
|
|
747
769
|
|
|
@@ -794,6 +816,8 @@ module Aws::IAM
|
|
|
794
816
|
CreateOpenIDConnectProviderRequest.add_member(:client_id_list, Shapes::ShapeRef.new(shape: clientIDListType, location_name: "ClientIDList"))
|
|
795
817
|
CreateOpenIDConnectProviderRequest.add_member(:thumbprint_list, Shapes::ShapeRef.new(shape: thumbprintListType, location_name: "ThumbprintList"))
|
|
796
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"))
|
|
797
821
|
CreateOpenIDConnectProviderRequest.struct_class = Types::CreateOpenIDConnectProviderRequest
|
|
798
822
|
|
|
799
823
|
CreateOpenIDConnectProviderResponse.add_member(:open_id_connect_provider_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "OpenIDConnectProviderArn"))
|
|
@@ -836,6 +860,8 @@ module Aws::IAM
|
|
|
836
860
|
CreateSAMLProviderRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
|
|
837
861
|
CreateSAMLProviderRequest.add_member(:assertion_encryption_mode, Shapes::ShapeRef.new(shape: assertionEncryptionModeType, location_name: "AssertionEncryptionMode"))
|
|
838
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"))
|
|
839
865
|
CreateSAMLProviderRequest.struct_class = Types::CreateSAMLProviderRequest
|
|
840
866
|
|
|
841
867
|
CreateSAMLProviderResponse.add_member(:saml_provider_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "SAMLProviderArn"))
|
|
@@ -1226,6 +1252,9 @@ module Aws::IAM
|
|
|
1226
1252
|
GetOpenIDConnectProviderResponse.add_member(:thumbprint_list, Shapes::ShapeRef.new(shape: thumbprintListType, location_name: "ThumbprintList"))
|
|
1227
1253
|
GetOpenIDConnectProviderResponse.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, location_name: "CreateDate"))
|
|
1228
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"))
|
|
1229
1258
|
GetOpenIDConnectProviderResponse.struct_class = Types::GetOpenIDConnectProviderResponse
|
|
1230
1259
|
|
|
1231
1260
|
GetOrganizationsAccessReportRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: jobIDType, required: true, location_name: "JobId"))
|
|
@@ -1289,11 +1318,15 @@ module Aws::IAM
|
|
|
1289
1318
|
|
|
1290
1319
|
GetSAMLProviderResponse.add_member(:saml_provider_uuid, Shapes::ShapeRef.new(shape: privateKeyIdType, location_name: "SAMLProviderUUID"))
|
|
1291
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"))
|
|
1292
1323
|
GetSAMLProviderResponse.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, location_name: "CreateDate"))
|
|
1293
1324
|
GetSAMLProviderResponse.add_member(:valid_until, Shapes::ShapeRef.new(shape: dateType, location_name: "ValidUntil"))
|
|
1294
1325
|
GetSAMLProviderResponse.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
|
|
1295
1326
|
GetSAMLProviderResponse.add_member(:assertion_encryption_mode, Shapes::ShapeRef.new(shape: assertionEncryptionModeType, location_name: "AssertionEncryptionMode"))
|
|
1296
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"))
|
|
1297
1330
|
GetSAMLProviderResponse.struct_class = Types::GetSAMLProviderResponse
|
|
1298
1331
|
|
|
1299
1332
|
GetSSHPublicKeyRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: userNameType, required: true, location_name: "UserName"))
|
|
@@ -1411,6 +1444,8 @@ module Aws::IAM
|
|
|
1411
1444
|
InvalidUserTypeException.add_member(:message, Shapes::ShapeRef.new(shape: invalidUserTypeMessage, location_name: "message"))
|
|
1412
1445
|
InvalidUserTypeException.struct_class = Types::InvalidUserTypeException
|
|
1413
1446
|
|
|
1447
|
+
KeyHashListType.member = Shapes::ShapeRef.new(shape: stringType)
|
|
1448
|
+
|
|
1414
1449
|
KeyPairMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: keyPairMismatchMessage, location_name: "message"))
|
|
1415
1450
|
KeyPairMismatchException.struct_class = Types::KeyPairMismatchException
|
|
1416
1451
|
|
|
@@ -1819,6 +1854,7 @@ module Aws::IAM
|
|
|
1819
1854
|
NoSuchEntityException.struct_class = Types::NoSuchEntityException
|
|
1820
1855
|
|
|
1821
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"))
|
|
1822
1858
|
OpenIDConnectProviderListEntry.struct_class = Types::OpenIDConnectProviderListEntry
|
|
1823
1859
|
|
|
1824
1860
|
OpenIDConnectProviderListType.member = Shapes::ShapeRef.new(shape: OpenIDConnectProviderListEntry)
|
|
@@ -2086,6 +2122,12 @@ module Aws::IAM
|
|
|
2086
2122
|
RoleUsageType.add_member(:resources, Shapes::ShapeRef.new(shape: ArnListType, location_name: "Resources"))
|
|
2087
2123
|
RoleUsageType.struct_class = Types::RoleUsageType
|
|
2088
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
|
+
|
|
2089
2131
|
SAMLPrivateKey.add_member(:key_id, Shapes::ShapeRef.new(shape: privateKeyIdType, location_name: "KeyId"))
|
|
2090
2132
|
SAMLPrivateKey.add_member(:timestamp, Shapes::ShapeRef.new(shape: dateType, location_name: "Timestamp"))
|
|
2091
2133
|
SAMLPrivateKey.struct_class = Types::SAMLPrivateKey
|
|
@@ -2093,6 +2135,7 @@ module Aws::IAM
|
|
|
2093
2135
|
SAMLProviderListEntry.add_member(:arn, Shapes::ShapeRef.new(shape: arnType, location_name: "Arn"))
|
|
2094
2136
|
SAMLProviderListEntry.add_member(:valid_until, Shapes::ShapeRef.new(shape: dateType, location_name: "ValidUntil"))
|
|
2095
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"))
|
|
2096
2139
|
SAMLProviderListEntry.struct_class = Types::SAMLProviderListEntry
|
|
2097
2140
|
|
|
2098
2141
|
SAMLProviderListType.member = Shapes::ShapeRef.new(shape: SAMLProviderListEntry)
|
|
@@ -2357,6 +2400,13 @@ module Aws::IAM
|
|
|
2357
2400
|
UpdateLoginProfileRequest.add_member(:reset_max_signin_session_duration, Shapes::ShapeRef.new(shape: booleanObjectType, location_name: "ResetMaxSigninSessionDuration"))
|
|
2358
2401
|
UpdateLoginProfileRequest.struct_class = Types::UpdateLoginProfileRequest
|
|
2359
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
|
+
|
|
2360
2410
|
UpdateOpenIDConnectProviderThumbprintRequest.add_member(:open_id_connect_provider_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "OpenIDConnectProviderArn"))
|
|
2361
2411
|
UpdateOpenIDConnectProviderThumbprintRequest.add_member(:thumbprint_list, Shapes::ShapeRef.new(shape: thumbprintListType, required: true, location_name: "ThumbprintList"))
|
|
2362
2412
|
UpdateOpenIDConnectProviderThumbprintRequest.struct_class = Types::UpdateOpenIDConnectProviderThumbprintRequest
|
|
@@ -2382,6 +2432,10 @@ module Aws::IAM
|
|
|
2382
2432
|
UpdateSAMLProviderRequest.add_member(:assertion_encryption_mode, Shapes::ShapeRef.new(shape: assertionEncryptionModeType, location_name: "AssertionEncryptionMode"))
|
|
2383
2433
|
UpdateSAMLProviderRequest.add_member(:add_private_key, Shapes::ShapeRef.new(shape: privateKeyType, location_name: "AddPrivateKey"))
|
|
2384
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"))
|
|
2385
2439
|
UpdateSAMLProviderRequest.struct_class = Types::UpdateSAMLProviderRequest
|
|
2386
2440
|
|
|
2387
2441
|
UpdateSAMLProviderResponse.add_member(:saml_provider_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "SAMLProviderArn"))
|
|
@@ -2497,6 +2551,8 @@ module Aws::IAM
|
|
|
2497
2551
|
|
|
2498
2552
|
instanceProfileListType.member = Shapes::ShapeRef.new(shape: InstanceProfile)
|
|
2499
2553
|
|
|
2554
|
+
keyDefinitionListType.member = Shapes::ShapeRef.new(shape: ContextProviderKeyDefinition)
|
|
2555
|
+
|
|
2500
2556
|
listPolicyGrantingServiceAccessResponseListType.member = Shapes::ShapeRef.new(shape: ListPoliciesGrantingServiceAccessEntry)
|
|
2501
2557
|
|
|
2502
2558
|
managedPolicyArnListType.member = Shapes::ShapeRef.new(shape: arnType)
|
|
@@ -3000,6 +3056,7 @@ module Aws::IAM
|
|
|
3000
3056
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3001
3057
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
3002
3058
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
3059
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
3003
3060
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
3004
3061
|
end)
|
|
3005
3062
|
|
|
@@ -3075,6 +3132,7 @@ module Aws::IAM
|
|
|
3075
3132
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
3076
3133
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
3077
3134
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
3135
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
3078
3136
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
3079
3137
|
end)
|
|
3080
3138
|
|
|
@@ -4706,6 +4764,18 @@ module Aws::IAM
|
|
|
4706
4764
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
4707
4765
|
end)
|
|
4708
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)
|
|
4776
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
4777
|
+
end)
|
|
4778
|
+
|
|
4709
4779
|
api.add_operation(:update_open_id_connect_provider_thumbprint, Seahorse::Model::Operation.new.tap do |o|
|
|
4710
4780
|
o.name = "UpdateOpenIDConnectProviderThumbprint"
|
|
4711
4781
|
o.http_method = "POST"
|
data/lib/aws-sdk-iam/resource.rb
CHANGED
|
@@ -591,6 +591,18 @@ module Aws::IAM
|
|
|
591
591
|
# ],
|
|
592
592
|
# assertion_encryption_mode: "Required", # accepts Required, Allowed
|
|
593
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",
|
|
594
606
|
# })
|
|
595
607
|
# @param [Hash] options ({})
|
|
596
608
|
# @option options [required, String] :saml_metadata_document
|
|
@@ -639,6 +651,28 @@ module Aws::IAM
|
|
|
639
651
|
# The private key generated from your external identity provider. The
|
|
640
652
|
# private key must be a .pem file that uses AES-GCM or AES-CBC
|
|
641
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
|
|
642
676
|
# @return [SamlProvider]
|
|
643
677
|
def create_saml_provider(options = {})
|
|
644
678
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
|
@@ -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)
|