aws-sdk-iam 1.22.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iam.rb +1 -1
- data/lib/aws-sdk-iam/client.rb +1 -1
- data/lib/aws-sdk-iam/client_api.rb +78 -0
- data/lib/aws-sdk-iam/errors.rb +416 -0
- data/lib/aws-sdk-iam/types.rb +352 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bdd0fe53b04759dddfb26ecbd76747e702974b1
|
4
|
+
data.tar.gz: 145a91719641f27fc09cadd2fca66addaad63af2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 210a457d823533042513c09b0dab2356351696524c98c92361c9f709bc8aa4903ef1e5dbfb153acfb0496aca70c78ee0e736713a6a704ae8e29e56f86630ee6c
|
7
|
+
data.tar.gz: 016df43dd92c838c69af03ce70f75311ff01ecd279836ab54d83c687f423a0760a5c1d2d26672dd3b9175b9e607d097ca11ba2ee971b564f61123a1ed6ac3832
|
data/lib/aws-sdk-iam.rb
CHANGED
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -10962,7 +10962,7 @@ module Aws::IAM
|
|
10962
10962
|
params: params,
|
10963
10963
|
config: config)
|
10964
10964
|
context[:gem_name] = 'aws-sdk-iam'
|
10965
|
-
context[:gem_version] = '1.
|
10965
|
+
context[:gem_version] = '1.23.0'
|
10966
10966
|
Seahorse::Client::Request.new(handlers, context)
|
10967
10967
|
end
|
10968
10968
|
|
@@ -520,6 +520,9 @@ module Aws::IAM
|
|
520
520
|
ChangePasswordRequest.add_member(:new_password, Shapes::ShapeRef.new(shape: passwordType, required: true, location_name: "NewPassword"))
|
521
521
|
ChangePasswordRequest.struct_class = Types::ChangePasswordRequest
|
522
522
|
|
523
|
+
ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: ConcurrentModificationMessage, location_name: "message"))
|
524
|
+
ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
|
525
|
+
|
523
526
|
ContextEntry.add_member(:context_key_name, Shapes::ShapeRef.new(shape: ContextKeyNameType, location_name: "ContextKeyName"))
|
524
527
|
ContextEntry.add_member(:context_key_values, Shapes::ShapeRef.new(shape: ContextKeyValueListType, location_name: "ContextKeyValues"))
|
525
528
|
ContextEntry.add_member(:context_key_type, Shapes::ShapeRef.new(shape: ContextKeyTypeEnum, location_name: "ContextKeyType"))
|
@@ -637,6 +640,15 @@ module Aws::IAM
|
|
637
640
|
CreateVirtualMFADeviceResponse.add_member(:virtual_mfa_device, Shapes::ShapeRef.new(shape: VirtualMFADevice, required: true, location_name: "VirtualMFADevice"))
|
638
641
|
CreateVirtualMFADeviceResponse.struct_class = Types::CreateVirtualMFADeviceResponse
|
639
642
|
|
643
|
+
CredentialReportExpiredException.add_member(:message, Shapes::ShapeRef.new(shape: credentialReportExpiredExceptionMessage, location_name: "message"))
|
644
|
+
CredentialReportExpiredException.struct_class = Types::CredentialReportExpiredException
|
645
|
+
|
646
|
+
CredentialReportNotPresentException.add_member(:message, Shapes::ShapeRef.new(shape: credentialReportNotPresentExceptionMessage, location_name: "message"))
|
647
|
+
CredentialReportNotPresentException.struct_class = Types::CredentialReportNotPresentException
|
648
|
+
|
649
|
+
CredentialReportNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: credentialReportNotReadyExceptionMessage, location_name: "message"))
|
650
|
+
CredentialReportNotReadyException.struct_class = Types::CredentialReportNotReadyException
|
651
|
+
|
640
652
|
DeactivateMFADeviceRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: existingUserNameType, required: true, location_name: "UserName"))
|
641
653
|
DeactivateMFADeviceRequest.add_member(:serial_number, Shapes::ShapeRef.new(shape: serialNumberType, required: true, location_name: "SerialNumber"))
|
642
654
|
DeactivateMFADeviceRequest.struct_class = Types::DeactivateMFADeviceRequest
|
@@ -648,6 +660,9 @@ module Aws::IAM
|
|
648
660
|
DeleteAccountAliasRequest.add_member(:account_alias, Shapes::ShapeRef.new(shape: accountAliasType, required: true, location_name: "AccountAlias"))
|
649
661
|
DeleteAccountAliasRequest.struct_class = Types::DeleteAccountAliasRequest
|
650
662
|
|
663
|
+
DeleteConflictException.add_member(:message, Shapes::ShapeRef.new(shape: deleteConflictMessage, location_name: "message"))
|
664
|
+
DeleteConflictException.struct_class = Types::DeleteConflictException
|
665
|
+
|
651
666
|
DeleteGroupPolicyRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: groupNameType, required: true, location_name: "GroupName"))
|
652
667
|
DeleteGroupPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: policyNameType, required: true, location_name: "PolicyName"))
|
653
668
|
DeleteGroupPolicyRequest.struct_class = Types::DeleteGroupPolicyRequest
|
@@ -734,12 +749,21 @@ module Aws::IAM
|
|
734
749
|
DetachUserPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "PolicyArn"))
|
735
750
|
DetachUserPolicyRequest.struct_class = Types::DetachUserPolicyRequest
|
736
751
|
|
752
|
+
DuplicateCertificateException.add_member(:message, Shapes::ShapeRef.new(shape: duplicateCertificateMessage, location_name: "message"))
|
753
|
+
DuplicateCertificateException.struct_class = Types::DuplicateCertificateException
|
754
|
+
|
755
|
+
DuplicateSSHPublicKeyException.add_member(:message, Shapes::ShapeRef.new(shape: duplicateSSHPublicKeyMessage, location_name: "message"))
|
756
|
+
DuplicateSSHPublicKeyException.struct_class = Types::DuplicateSSHPublicKeyException
|
757
|
+
|
737
758
|
EnableMFADeviceRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: existingUserNameType, required: true, location_name: "UserName"))
|
738
759
|
EnableMFADeviceRequest.add_member(:serial_number, Shapes::ShapeRef.new(shape: serialNumberType, required: true, location_name: "SerialNumber"))
|
739
760
|
EnableMFADeviceRequest.add_member(:authentication_code_1, Shapes::ShapeRef.new(shape: authenticationCodeType, required: true, location_name: "AuthenticationCode1"))
|
740
761
|
EnableMFADeviceRequest.add_member(:authentication_code_2, Shapes::ShapeRef.new(shape: authenticationCodeType, required: true, location_name: "AuthenticationCode2"))
|
741
762
|
EnableMFADeviceRequest.struct_class = Types::EnableMFADeviceRequest
|
742
763
|
|
764
|
+
EntityAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: entityAlreadyExistsMessage, location_name: "message"))
|
765
|
+
EntityAlreadyExistsException.struct_class = Types::EntityAlreadyExistsException
|
766
|
+
|
743
767
|
EntityDetails.add_member(:entity_info, Shapes::ShapeRef.new(shape: EntityInfo, required: true, location_name: "EntityInfo"))
|
744
768
|
EntityDetails.add_member(:last_authenticated, Shapes::ShapeRef.new(shape: dateType, location_name: "LastAuthenticated"))
|
745
769
|
EntityDetails.struct_class = Types::EntityDetails
|
@@ -751,6 +775,9 @@ module Aws::IAM
|
|
751
775
|
EntityInfo.add_member(:path, Shapes::ShapeRef.new(shape: pathType, location_name: "Path"))
|
752
776
|
EntityInfo.struct_class = Types::EntityInfo
|
753
777
|
|
778
|
+
EntityTemporarilyUnmodifiableException.add_member(:message, Shapes::ShapeRef.new(shape: entityTemporarilyUnmodifiableMessage, location_name: "message"))
|
779
|
+
EntityTemporarilyUnmodifiableException.struct_class = Types::EntityTemporarilyUnmodifiableException
|
780
|
+
|
754
781
|
ErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: stringType, required: true, location_name: "Message"))
|
755
782
|
ErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: stringType, required: true, location_name: "Code"))
|
756
783
|
ErrorDetails.struct_class = Types::ErrorDetails
|
@@ -987,6 +1014,27 @@ module Aws::IAM
|
|
987
1014
|
InstanceProfile.add_member(:roles, Shapes::ShapeRef.new(shape: roleListType, required: true, location_name: "Roles"))
|
988
1015
|
InstanceProfile.struct_class = Types::InstanceProfile
|
989
1016
|
|
1017
|
+
InvalidAuthenticationCodeException.add_member(:message, Shapes::ShapeRef.new(shape: invalidAuthenticationCodeMessage, location_name: "message"))
|
1018
|
+
InvalidAuthenticationCodeException.struct_class = Types::InvalidAuthenticationCodeException
|
1019
|
+
|
1020
|
+
InvalidCertificateException.add_member(:message, Shapes::ShapeRef.new(shape: invalidCertificateMessage, location_name: "message"))
|
1021
|
+
InvalidCertificateException.struct_class = Types::InvalidCertificateException
|
1022
|
+
|
1023
|
+
InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: invalidInputMessage, location_name: "message"))
|
1024
|
+
InvalidInputException.struct_class = Types::InvalidInputException
|
1025
|
+
|
1026
|
+
InvalidPublicKeyException.add_member(:message, Shapes::ShapeRef.new(shape: invalidPublicKeyMessage, location_name: "message"))
|
1027
|
+
InvalidPublicKeyException.struct_class = Types::InvalidPublicKeyException
|
1028
|
+
|
1029
|
+
InvalidUserTypeException.add_member(:message, Shapes::ShapeRef.new(shape: invalidUserTypeMessage, location_name: "message"))
|
1030
|
+
InvalidUserTypeException.struct_class = Types::InvalidUserTypeException
|
1031
|
+
|
1032
|
+
KeyPairMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: keyPairMismatchMessage, location_name: "message"))
|
1033
|
+
KeyPairMismatchException.struct_class = Types::KeyPairMismatchException
|
1034
|
+
|
1035
|
+
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: limitExceededMessage, location_name: "message"))
|
1036
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
1037
|
+
|
990
1038
|
ListAccessKeysRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: existingUserNameType, location_name: "UserName"))
|
991
1039
|
ListAccessKeysRequest.add_member(:marker, Shapes::ShapeRef.new(shape: markerType, location_name: "Marker"))
|
992
1040
|
ListAccessKeysRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: maxItemsType, location_name: "MaxItems"))
|
@@ -1278,6 +1326,12 @@ module Aws::IAM
|
|
1278
1326
|
MFADevice.add_member(:enable_date, Shapes::ShapeRef.new(shape: dateType, required: true, location_name: "EnableDate"))
|
1279
1327
|
MFADevice.struct_class = Types::MFADevice
|
1280
1328
|
|
1329
|
+
MalformedCertificateException.add_member(:message, Shapes::ShapeRef.new(shape: malformedCertificateMessage, location_name: "message"))
|
1330
|
+
MalformedCertificateException.struct_class = Types::MalformedCertificateException
|
1331
|
+
|
1332
|
+
MalformedPolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: malformedPolicyDocumentMessage, location_name: "message"))
|
1333
|
+
MalformedPolicyDocumentException.struct_class = Types::MalformedPolicyDocumentException
|
1334
|
+
|
1281
1335
|
ManagedPolicyDetail.add_member(:policy_name, Shapes::ShapeRef.new(shape: policyNameType, location_name: "PolicyName"))
|
1282
1336
|
ManagedPolicyDetail.add_member(:policy_id, Shapes::ShapeRef.new(shape: idType, location_name: "PolicyId"))
|
1283
1337
|
ManagedPolicyDetail.add_member(:arn, Shapes::ShapeRef.new(shape: arnType, location_name: "Arn"))
|
@@ -1294,6 +1348,9 @@ module Aws::IAM
|
|
1294
1348
|
|
1295
1349
|
ManagedPolicyDetailListType.member = Shapes::ShapeRef.new(shape: ManagedPolicyDetail)
|
1296
1350
|
|
1351
|
+
NoSuchEntityException.add_member(:message, Shapes::ShapeRef.new(shape: noSuchEntityMessage, location_name: "message"))
|
1352
|
+
NoSuchEntityException.struct_class = Types::NoSuchEntityException
|
1353
|
+
|
1297
1354
|
OpenIDConnectProviderListEntry.add_member(:arn, Shapes::ShapeRef.new(shape: arnType, location_name: "Arn"))
|
1298
1355
|
OpenIDConnectProviderListEntry.struct_class = Types::OpenIDConnectProviderListEntry
|
1299
1356
|
|
@@ -1314,6 +1371,9 @@ module Aws::IAM
|
|
1314
1371
|
PasswordPolicy.add_member(:hard_expiry, Shapes::ShapeRef.new(shape: booleanObjectType, location_name: "HardExpiry"))
|
1315
1372
|
PasswordPolicy.struct_class = Types::PasswordPolicy
|
1316
1373
|
|
1374
|
+
PasswordPolicyViolationException.add_member(:message, Shapes::ShapeRef.new(shape: passwordPolicyViolationMessage, location_name: "message"))
|
1375
|
+
PasswordPolicyViolationException.struct_class = Types::PasswordPolicyViolationException
|
1376
|
+
|
1317
1377
|
Policy.add_member(:policy_name, Shapes::ShapeRef.new(shape: policyNameType, location_name: "PolicyName"))
|
1318
1378
|
Policy.add_member(:policy_id, Shapes::ShapeRef.new(shape: idType, location_name: "PolicyId"))
|
1319
1379
|
Policy.add_member(:arn, Shapes::ShapeRef.new(shape: arnType, location_name: "Arn"))
|
@@ -1331,6 +1391,9 @@ module Aws::IAM
|
|
1331
1391
|
PolicyDetail.add_member(:policy_document, Shapes::ShapeRef.new(shape: policyDocumentType, location_name: "PolicyDocument"))
|
1332
1392
|
PolicyDetail.struct_class = Types::PolicyDetail
|
1333
1393
|
|
1394
|
+
PolicyEvaluationException.add_member(:message, Shapes::ShapeRef.new(shape: policyEvaluationErrorMessage, location_name: "message"))
|
1395
|
+
PolicyEvaluationException.struct_class = Types::PolicyEvaluationException
|
1396
|
+
|
1334
1397
|
PolicyGrantingServiceAccess.add_member(:policy_name, Shapes::ShapeRef.new(shape: policyNameType, required: true, location_name: "PolicyName"))
|
1335
1398
|
PolicyGrantingServiceAccess.add_member(:policy_type, Shapes::ShapeRef.new(shape: policyType, required: true, location_name: "PolicyType"))
|
1336
1399
|
PolicyGrantingServiceAccess.add_member(:policy_arn, Shapes::ShapeRef.new(shape: arnType, location_name: "PolicyArn"))
|
@@ -1344,6 +1407,9 @@ module Aws::IAM
|
|
1344
1407
|
|
1345
1408
|
PolicyGroupListType.member = Shapes::ShapeRef.new(shape: PolicyGroup)
|
1346
1409
|
|
1410
|
+
PolicyNotAttachableException.add_member(:message, Shapes::ShapeRef.new(shape: policyNotAttachableMessage, location_name: "message"))
|
1411
|
+
PolicyNotAttachableException.struct_class = Types::PolicyNotAttachableException
|
1412
|
+
|
1347
1413
|
PolicyRole.add_member(:role_name, Shapes::ShapeRef.new(shape: roleNameType, location_name: "RoleName"))
|
1348
1414
|
PolicyRole.add_member(:role_id, Shapes::ShapeRef.new(shape: idType, location_name: "RoleId"))
|
1349
1415
|
PolicyRole.struct_class = Types::PolicyRole
|
@@ -1492,6 +1558,9 @@ module Aws::IAM
|
|
1492
1558
|
ServerCertificateMetadata.add_member(:expiration, Shapes::ShapeRef.new(shape: dateType, location_name: "Expiration"))
|
1493
1559
|
ServerCertificateMetadata.struct_class = Types::ServerCertificateMetadata
|
1494
1560
|
|
1561
|
+
ServiceFailureException.add_member(:message, Shapes::ShapeRef.new(shape: serviceFailureExceptionMessage, location_name: "message"))
|
1562
|
+
ServiceFailureException.struct_class = Types::ServiceFailureException
|
1563
|
+
|
1495
1564
|
ServiceLastAccessed.add_member(:service_name, Shapes::ShapeRef.new(shape: serviceNameType, required: true, location_name: "ServiceName"))
|
1496
1565
|
ServiceLastAccessed.add_member(:last_authenticated, Shapes::ShapeRef.new(shape: dateType, location_name: "LastAuthenticated"))
|
1497
1566
|
ServiceLastAccessed.add_member(:service_namespace, Shapes::ShapeRef.new(shape: serviceNamespaceType, required: true, location_name: "ServiceNamespace"))
|
@@ -1499,6 +1568,9 @@ module Aws::IAM
|
|
1499
1568
|
ServiceLastAccessed.add_member(:total_authenticated_entities, Shapes::ShapeRef.new(shape: integerType, location_name: "TotalAuthenticatedEntities"))
|
1500
1569
|
ServiceLastAccessed.struct_class = Types::ServiceLastAccessed
|
1501
1570
|
|
1571
|
+
ServiceNotSupportedException.add_member(:message, Shapes::ShapeRef.new(shape: serviceNotSupportedMessage, location_name: "message"))
|
1572
|
+
ServiceNotSupportedException.struct_class = Types::ServiceNotSupportedException
|
1573
|
+
|
1502
1574
|
ServiceSpecificCredential.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, required: true, location_name: "CreateDate"))
|
1503
1575
|
ServiceSpecificCredential.add_member(:service_name, Shapes::ShapeRef.new(shape: serviceName, required: true, location_name: "ServiceName"))
|
1504
1576
|
ServiceSpecificCredential.add_member(:service_user_name, Shapes::ShapeRef.new(shape: serviceUserName, required: true, location_name: "ServiceUserName"))
|
@@ -1586,6 +1658,12 @@ module Aws::IAM
|
|
1586
1658
|
TagUserRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, required: true, location_name: "Tags"))
|
1587
1659
|
TagUserRequest.struct_class = Types::TagUserRequest
|
1588
1660
|
|
1661
|
+
UnmodifiableEntityException.add_member(:message, Shapes::ShapeRef.new(shape: unmodifiableEntityMessage, location_name: "message"))
|
1662
|
+
UnmodifiableEntityException.struct_class = Types::UnmodifiableEntityException
|
1663
|
+
|
1664
|
+
UnrecognizedPublicKeyEncodingException.add_member(:message, Shapes::ShapeRef.new(shape: unrecognizedPublicKeyEncodingMessage, location_name: "message"))
|
1665
|
+
UnrecognizedPublicKeyEncodingException.struct_class = Types::UnrecognizedPublicKeyEncodingException
|
1666
|
+
|
1589
1667
|
UntagRoleRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: roleNameType, required: true, location_name: "RoleName"))
|
1590
1668
|
UntagRoleRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: tagKeyListType, required: true, location_name: "TagKeys"))
|
1591
1669
|
UntagRoleRequest.struct_class = Types::UntagRoleRequest
|
data/lib/aws-sdk-iam/errors.rb
CHANGED
@@ -10,5 +10,421 @@ module Aws::IAM
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class ConcurrentModificationException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::IAM::Types::ConcurrentModificationException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class CredentialReportExpiredException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::IAM::Types::CredentialReportExpiredException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class CredentialReportNotPresentException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::IAM::Types::CredentialReportNotPresentException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class CredentialReportNotReadyException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::IAM::Types::CredentialReportNotReadyException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class DeleteConflictException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::IAM::Types::DeleteConflictException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
class DuplicateCertificateException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::IAM::Types::DuplicateCertificateException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
class DuplicateSSHPublicKeyException < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::IAM::Types::DuplicateSSHPublicKeyException] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
|
118
|
+
# @return [String]
|
119
|
+
def message
|
120
|
+
@message || @data[:message]
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|
124
|
+
|
125
|
+
class EntityAlreadyExistsException < ServiceError
|
126
|
+
|
127
|
+
# @param [Seahorse::Client::RequestContext] context
|
128
|
+
# @param [String] message
|
129
|
+
# @param [Aws::IAM::Types::EntityAlreadyExistsException] data
|
130
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
131
|
+
super(context, message, data)
|
132
|
+
end
|
133
|
+
|
134
|
+
# @return [String]
|
135
|
+
def message
|
136
|
+
@message || @data[:message]
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
class EntityTemporarilyUnmodifiableException < ServiceError
|
142
|
+
|
143
|
+
# @param [Seahorse::Client::RequestContext] context
|
144
|
+
# @param [String] message
|
145
|
+
# @param [Aws::IAM::Types::EntityTemporarilyUnmodifiableException] data
|
146
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
147
|
+
super(context, message, data)
|
148
|
+
end
|
149
|
+
|
150
|
+
# @return [String]
|
151
|
+
def message
|
152
|
+
@message || @data[:message]
|
153
|
+
end
|
154
|
+
|
155
|
+
end
|
156
|
+
|
157
|
+
class InvalidAuthenticationCodeException < ServiceError
|
158
|
+
|
159
|
+
# @param [Seahorse::Client::RequestContext] context
|
160
|
+
# @param [String] message
|
161
|
+
# @param [Aws::IAM::Types::InvalidAuthenticationCodeException] data
|
162
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
163
|
+
super(context, message, data)
|
164
|
+
end
|
165
|
+
|
166
|
+
# @return [String]
|
167
|
+
def message
|
168
|
+
@message || @data[:message]
|
169
|
+
end
|
170
|
+
|
171
|
+
end
|
172
|
+
|
173
|
+
class InvalidCertificateException < ServiceError
|
174
|
+
|
175
|
+
# @param [Seahorse::Client::RequestContext] context
|
176
|
+
# @param [String] message
|
177
|
+
# @param [Aws::IAM::Types::InvalidCertificateException] data
|
178
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
179
|
+
super(context, message, data)
|
180
|
+
end
|
181
|
+
|
182
|
+
# @return [String]
|
183
|
+
def message
|
184
|
+
@message || @data[:message]
|
185
|
+
end
|
186
|
+
|
187
|
+
end
|
188
|
+
|
189
|
+
class InvalidInputException < ServiceError
|
190
|
+
|
191
|
+
# @param [Seahorse::Client::RequestContext] context
|
192
|
+
# @param [String] message
|
193
|
+
# @param [Aws::IAM::Types::InvalidInputException] data
|
194
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
195
|
+
super(context, message, data)
|
196
|
+
end
|
197
|
+
|
198
|
+
# @return [String]
|
199
|
+
def message
|
200
|
+
@message || @data[:message]
|
201
|
+
end
|
202
|
+
|
203
|
+
end
|
204
|
+
|
205
|
+
class InvalidPublicKeyException < ServiceError
|
206
|
+
|
207
|
+
# @param [Seahorse::Client::RequestContext] context
|
208
|
+
# @param [String] message
|
209
|
+
# @param [Aws::IAM::Types::InvalidPublicKeyException] data
|
210
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
211
|
+
super(context, message, data)
|
212
|
+
end
|
213
|
+
|
214
|
+
# @return [String]
|
215
|
+
def message
|
216
|
+
@message || @data[:message]
|
217
|
+
end
|
218
|
+
|
219
|
+
end
|
220
|
+
|
221
|
+
class InvalidUserTypeException < ServiceError
|
222
|
+
|
223
|
+
# @param [Seahorse::Client::RequestContext] context
|
224
|
+
# @param [String] message
|
225
|
+
# @param [Aws::IAM::Types::InvalidUserTypeException] data
|
226
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
227
|
+
super(context, message, data)
|
228
|
+
end
|
229
|
+
|
230
|
+
# @return [String]
|
231
|
+
def message
|
232
|
+
@message || @data[:message]
|
233
|
+
end
|
234
|
+
|
235
|
+
end
|
236
|
+
|
237
|
+
class KeyPairMismatchException < ServiceError
|
238
|
+
|
239
|
+
# @param [Seahorse::Client::RequestContext] context
|
240
|
+
# @param [String] message
|
241
|
+
# @param [Aws::IAM::Types::KeyPairMismatchException] data
|
242
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
243
|
+
super(context, message, data)
|
244
|
+
end
|
245
|
+
|
246
|
+
# @return [String]
|
247
|
+
def message
|
248
|
+
@message || @data[:message]
|
249
|
+
end
|
250
|
+
|
251
|
+
end
|
252
|
+
|
253
|
+
class LimitExceededException < ServiceError
|
254
|
+
|
255
|
+
# @param [Seahorse::Client::RequestContext] context
|
256
|
+
# @param [String] message
|
257
|
+
# @param [Aws::IAM::Types::LimitExceededException] data
|
258
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
259
|
+
super(context, message, data)
|
260
|
+
end
|
261
|
+
|
262
|
+
# @return [String]
|
263
|
+
def message
|
264
|
+
@message || @data[:message]
|
265
|
+
end
|
266
|
+
|
267
|
+
end
|
268
|
+
|
269
|
+
class MalformedCertificateException < ServiceError
|
270
|
+
|
271
|
+
# @param [Seahorse::Client::RequestContext] context
|
272
|
+
# @param [String] message
|
273
|
+
# @param [Aws::IAM::Types::MalformedCertificateException] data
|
274
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
275
|
+
super(context, message, data)
|
276
|
+
end
|
277
|
+
|
278
|
+
# @return [String]
|
279
|
+
def message
|
280
|
+
@message || @data[:message]
|
281
|
+
end
|
282
|
+
|
283
|
+
end
|
284
|
+
|
285
|
+
class MalformedPolicyDocumentException < ServiceError
|
286
|
+
|
287
|
+
# @param [Seahorse::Client::RequestContext] context
|
288
|
+
# @param [String] message
|
289
|
+
# @param [Aws::IAM::Types::MalformedPolicyDocumentException] data
|
290
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
291
|
+
super(context, message, data)
|
292
|
+
end
|
293
|
+
|
294
|
+
# @return [String]
|
295
|
+
def message
|
296
|
+
@message || @data[:message]
|
297
|
+
end
|
298
|
+
|
299
|
+
end
|
300
|
+
|
301
|
+
class NoSuchEntityException < ServiceError
|
302
|
+
|
303
|
+
# @param [Seahorse::Client::RequestContext] context
|
304
|
+
# @param [String] message
|
305
|
+
# @param [Aws::IAM::Types::NoSuchEntityException] data
|
306
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
307
|
+
super(context, message, data)
|
308
|
+
end
|
309
|
+
|
310
|
+
# @return [String]
|
311
|
+
def message
|
312
|
+
@message || @data[:message]
|
313
|
+
end
|
314
|
+
|
315
|
+
end
|
316
|
+
|
317
|
+
class PasswordPolicyViolationException < ServiceError
|
318
|
+
|
319
|
+
# @param [Seahorse::Client::RequestContext] context
|
320
|
+
# @param [String] message
|
321
|
+
# @param [Aws::IAM::Types::PasswordPolicyViolationException] data
|
322
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
323
|
+
super(context, message, data)
|
324
|
+
end
|
325
|
+
|
326
|
+
# @return [String]
|
327
|
+
def message
|
328
|
+
@message || @data[:message]
|
329
|
+
end
|
330
|
+
|
331
|
+
end
|
332
|
+
|
333
|
+
class PolicyEvaluationException < ServiceError
|
334
|
+
|
335
|
+
# @param [Seahorse::Client::RequestContext] context
|
336
|
+
# @param [String] message
|
337
|
+
# @param [Aws::IAM::Types::PolicyEvaluationException] data
|
338
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
339
|
+
super(context, message, data)
|
340
|
+
end
|
341
|
+
|
342
|
+
# @return [String]
|
343
|
+
def message
|
344
|
+
@message || @data[:message]
|
345
|
+
end
|
346
|
+
|
347
|
+
end
|
348
|
+
|
349
|
+
class PolicyNotAttachableException < ServiceError
|
350
|
+
|
351
|
+
# @param [Seahorse::Client::RequestContext] context
|
352
|
+
# @param [String] message
|
353
|
+
# @param [Aws::IAM::Types::PolicyNotAttachableException] data
|
354
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
355
|
+
super(context, message, data)
|
356
|
+
end
|
357
|
+
|
358
|
+
# @return [String]
|
359
|
+
def message
|
360
|
+
@message || @data[:message]
|
361
|
+
end
|
362
|
+
|
363
|
+
end
|
364
|
+
|
365
|
+
class ServiceFailureException < ServiceError
|
366
|
+
|
367
|
+
# @param [Seahorse::Client::RequestContext] context
|
368
|
+
# @param [String] message
|
369
|
+
# @param [Aws::IAM::Types::ServiceFailureException] data
|
370
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
371
|
+
super(context, message, data)
|
372
|
+
end
|
373
|
+
|
374
|
+
# @return [String]
|
375
|
+
def message
|
376
|
+
@message || @data[:message]
|
377
|
+
end
|
378
|
+
|
379
|
+
end
|
380
|
+
|
381
|
+
class ServiceNotSupportedException < ServiceError
|
382
|
+
|
383
|
+
# @param [Seahorse::Client::RequestContext] context
|
384
|
+
# @param [String] message
|
385
|
+
# @param [Aws::IAM::Types::ServiceNotSupportedException] data
|
386
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
387
|
+
super(context, message, data)
|
388
|
+
end
|
389
|
+
|
390
|
+
# @return [String]
|
391
|
+
def message
|
392
|
+
@message || @data[:message]
|
393
|
+
end
|
394
|
+
|
395
|
+
end
|
396
|
+
|
397
|
+
class UnmodifiableEntityException < ServiceError
|
398
|
+
|
399
|
+
# @param [Seahorse::Client::RequestContext] context
|
400
|
+
# @param [String] message
|
401
|
+
# @param [Aws::IAM::Types::UnmodifiableEntityException] data
|
402
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
403
|
+
super(context, message, data)
|
404
|
+
end
|
405
|
+
|
406
|
+
# @return [String]
|
407
|
+
def message
|
408
|
+
@message || @data[:message]
|
409
|
+
end
|
410
|
+
|
411
|
+
end
|
412
|
+
|
413
|
+
class UnrecognizedPublicKeyEncodingException < ServiceError
|
414
|
+
|
415
|
+
# @param [Seahorse::Client::RequestContext] context
|
416
|
+
# @param [String] message
|
417
|
+
# @param [Aws::IAM::Types::UnrecognizedPublicKeyEncodingException] data
|
418
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
419
|
+
super(context, message, data)
|
420
|
+
end
|
421
|
+
|
422
|
+
# @return [String]
|
423
|
+
def message
|
424
|
+
@message || @data[:message]
|
425
|
+
end
|
426
|
+
|
427
|
+
end
|
428
|
+
|
13
429
|
end
|
14
430
|
end
|
data/lib/aws-sdk-iam/types.rb
CHANGED
@@ -492,6 +492,20 @@ module Aws::IAM
|
|
492
492
|
include Aws::Structure
|
493
493
|
end
|
494
494
|
|
495
|
+
# The request was rejected because multiple requests to change this
|
496
|
+
# object were submitted simultaneously. Wait a few minutes and submit
|
497
|
+
# your request again.
|
498
|
+
#
|
499
|
+
# @!attribute [rw] message
|
500
|
+
# @return [String]
|
501
|
+
#
|
502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ConcurrentModificationException AWS API Documentation
|
503
|
+
#
|
504
|
+
class ConcurrentModificationException < Struct.new(
|
505
|
+
:message)
|
506
|
+
include Aws::Structure
|
507
|
+
end
|
508
|
+
|
495
509
|
# Contains information about a condition context key. It includes the
|
496
510
|
# name of the key and specifies the value (or values, if the context key
|
497
511
|
# supports multiple values) to use in the simulation. This information
|
@@ -1545,6 +1559,52 @@ module Aws::IAM
|
|
1545
1559
|
include Aws::Structure
|
1546
1560
|
end
|
1547
1561
|
|
1562
|
+
# The request was rejected because the most recent credential report has
|
1563
|
+
# expired. To generate a new credential report, use
|
1564
|
+
# GenerateCredentialReport. For more information about credential report
|
1565
|
+
# expiration, see [Getting Credential Reports][1] in the *IAM User
|
1566
|
+
# Guide*.
|
1567
|
+
#
|
1568
|
+
#
|
1569
|
+
#
|
1570
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html
|
1571
|
+
#
|
1572
|
+
# @!attribute [rw] message
|
1573
|
+
# @return [String]
|
1574
|
+
#
|
1575
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CredentialReportExpiredException AWS API Documentation
|
1576
|
+
#
|
1577
|
+
class CredentialReportExpiredException < Struct.new(
|
1578
|
+
:message)
|
1579
|
+
include Aws::Structure
|
1580
|
+
end
|
1581
|
+
|
1582
|
+
# The request was rejected because the credential report does not exist.
|
1583
|
+
# To generate a credential report, use GenerateCredentialReport.
|
1584
|
+
#
|
1585
|
+
# @!attribute [rw] message
|
1586
|
+
# @return [String]
|
1587
|
+
#
|
1588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CredentialReportNotPresentException AWS API Documentation
|
1589
|
+
#
|
1590
|
+
class CredentialReportNotPresentException < Struct.new(
|
1591
|
+
:message)
|
1592
|
+
include Aws::Structure
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
# The request was rejected because the credential report is still being
|
1596
|
+
# generated.
|
1597
|
+
#
|
1598
|
+
# @!attribute [rw] message
|
1599
|
+
# @return [String]
|
1600
|
+
#
|
1601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CredentialReportNotReadyException AWS API Documentation
|
1602
|
+
#
|
1603
|
+
class CredentialReportNotReadyException < Struct.new(
|
1604
|
+
:message)
|
1605
|
+
include Aws::Structure
|
1606
|
+
end
|
1607
|
+
|
1548
1608
|
# @note When making an API call, you may pass DeactivateMFADeviceRequest
|
1549
1609
|
# data as a hash:
|
1550
1610
|
#
|
@@ -1657,6 +1717,20 @@ module Aws::IAM
|
|
1657
1717
|
include Aws::Structure
|
1658
1718
|
end
|
1659
1719
|
|
1720
|
+
# The request was rejected because it attempted to delete a resource
|
1721
|
+
# that has attached subordinate entities. The error message describes
|
1722
|
+
# these entities.
|
1723
|
+
#
|
1724
|
+
# @!attribute [rw] message
|
1725
|
+
# @return [String]
|
1726
|
+
#
|
1727
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteConflictException AWS API Documentation
|
1728
|
+
#
|
1729
|
+
class DeleteConflictException < Struct.new(
|
1730
|
+
:message)
|
1731
|
+
include Aws::Structure
|
1732
|
+
end
|
1733
|
+
|
1660
1734
|
# @note When making an API call, you may pass DeleteGroupPolicyRequest
|
1661
1735
|
# data as a hash:
|
1662
1736
|
#
|
@@ -2431,6 +2505,32 @@ module Aws::IAM
|
|
2431
2505
|
include Aws::Structure
|
2432
2506
|
end
|
2433
2507
|
|
2508
|
+
# The request was rejected because the same certificate is associated
|
2509
|
+
# with an IAM user in the account.
|
2510
|
+
#
|
2511
|
+
# @!attribute [rw] message
|
2512
|
+
# @return [String]
|
2513
|
+
#
|
2514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DuplicateCertificateException AWS API Documentation
|
2515
|
+
#
|
2516
|
+
class DuplicateCertificateException < Struct.new(
|
2517
|
+
:message)
|
2518
|
+
include Aws::Structure
|
2519
|
+
end
|
2520
|
+
|
2521
|
+
# The request was rejected because the SSH public key is already
|
2522
|
+
# associated with the specified IAM user.
|
2523
|
+
#
|
2524
|
+
# @!attribute [rw] message
|
2525
|
+
# @return [String]
|
2526
|
+
#
|
2527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DuplicateSSHPublicKeyException AWS API Documentation
|
2528
|
+
#
|
2529
|
+
class DuplicateSSHPublicKeyException < Struct.new(
|
2530
|
+
:message)
|
2531
|
+
include Aws::Structure
|
2532
|
+
end
|
2533
|
+
|
2434
2534
|
# @note When making an API call, you may pass EnableMFADeviceRequest
|
2435
2535
|
# data as a hash:
|
2436
2536
|
#
|
@@ -2512,6 +2612,19 @@ module Aws::IAM
|
|
2512
2612
|
include Aws::Structure
|
2513
2613
|
end
|
2514
2614
|
|
2615
|
+
# The request was rejected because it attempted to create a resource
|
2616
|
+
# that already exists.
|
2617
|
+
#
|
2618
|
+
# @!attribute [rw] message
|
2619
|
+
# @return [String]
|
2620
|
+
#
|
2621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EntityAlreadyExistsException AWS API Documentation
|
2622
|
+
#
|
2623
|
+
class EntityAlreadyExistsException < Struct.new(
|
2624
|
+
:message)
|
2625
|
+
include Aws::Structure
|
2626
|
+
end
|
2627
|
+
|
2515
2628
|
# An object that contains details about when the IAM entities (users or
|
2516
2629
|
# roles) were last used in an attempt to access the specified AWS
|
2517
2630
|
# service.
|
@@ -2594,6 +2707,22 @@ module Aws::IAM
|
|
2594
2707
|
include Aws::Structure
|
2595
2708
|
end
|
2596
2709
|
|
2710
|
+
# The request was rejected because it referenced an entity that is
|
2711
|
+
# temporarily unmodifiable, such as a user name that was deleted and
|
2712
|
+
# then recreated. The error indicates that the request is likely to
|
2713
|
+
# succeed if you try again after waiting several minutes. The error
|
2714
|
+
# message describes the entity.
|
2715
|
+
#
|
2716
|
+
# @!attribute [rw] message
|
2717
|
+
# @return [String]
|
2718
|
+
#
|
2719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EntityTemporarilyUnmodifiableException AWS API Documentation
|
2720
|
+
#
|
2721
|
+
class EntityTemporarilyUnmodifiableException < Struct.new(
|
2722
|
+
:message)
|
2723
|
+
include Aws::Structure
|
2724
|
+
end
|
2725
|
+
|
2597
2726
|
# Contains information about the reason that the operation failed.
|
2598
2727
|
#
|
2599
2728
|
# This data type is used as a response element in the
|
@@ -4309,6 +4438,97 @@ module Aws::IAM
|
|
4309
4438
|
include Aws::Structure
|
4310
4439
|
end
|
4311
4440
|
|
4441
|
+
# The request was rejected because the authentication code was not
|
4442
|
+
# recognized. The error message describes the specific error.
|
4443
|
+
#
|
4444
|
+
# @!attribute [rw] message
|
4445
|
+
# @return [String]
|
4446
|
+
#
|
4447
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/InvalidAuthenticationCodeException AWS API Documentation
|
4448
|
+
#
|
4449
|
+
class InvalidAuthenticationCodeException < Struct.new(
|
4450
|
+
:message)
|
4451
|
+
include Aws::Structure
|
4452
|
+
end
|
4453
|
+
|
4454
|
+
# The request was rejected because the certificate is invalid.
|
4455
|
+
#
|
4456
|
+
# @!attribute [rw] message
|
4457
|
+
# @return [String]
|
4458
|
+
#
|
4459
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/InvalidCertificateException AWS API Documentation
|
4460
|
+
#
|
4461
|
+
class InvalidCertificateException < Struct.new(
|
4462
|
+
:message)
|
4463
|
+
include Aws::Structure
|
4464
|
+
end
|
4465
|
+
|
4466
|
+
# The request was rejected because an invalid or out-of-range value was
|
4467
|
+
# supplied for an input parameter.
|
4468
|
+
#
|
4469
|
+
# @!attribute [rw] message
|
4470
|
+
# @return [String]
|
4471
|
+
#
|
4472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/InvalidInputException AWS API Documentation
|
4473
|
+
#
|
4474
|
+
class InvalidInputException < Struct.new(
|
4475
|
+
:message)
|
4476
|
+
include Aws::Structure
|
4477
|
+
end
|
4478
|
+
|
4479
|
+
# The request was rejected because the public key is malformed or
|
4480
|
+
# otherwise invalid.
|
4481
|
+
#
|
4482
|
+
# @!attribute [rw] message
|
4483
|
+
# @return [String]
|
4484
|
+
#
|
4485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/InvalidPublicKeyException AWS API Documentation
|
4486
|
+
#
|
4487
|
+
class InvalidPublicKeyException < Struct.new(
|
4488
|
+
:message)
|
4489
|
+
include Aws::Structure
|
4490
|
+
end
|
4491
|
+
|
4492
|
+
# The request was rejected because the type of user for the transaction
|
4493
|
+
# was incorrect.
|
4494
|
+
#
|
4495
|
+
# @!attribute [rw] message
|
4496
|
+
# @return [String]
|
4497
|
+
#
|
4498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/InvalidUserTypeException AWS API Documentation
|
4499
|
+
#
|
4500
|
+
class InvalidUserTypeException < Struct.new(
|
4501
|
+
:message)
|
4502
|
+
include Aws::Structure
|
4503
|
+
end
|
4504
|
+
|
4505
|
+
# The request was rejected because the public key certificate and the
|
4506
|
+
# private key do not match.
|
4507
|
+
#
|
4508
|
+
# @!attribute [rw] message
|
4509
|
+
# @return [String]
|
4510
|
+
#
|
4511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/KeyPairMismatchException AWS API Documentation
|
4512
|
+
#
|
4513
|
+
class KeyPairMismatchException < Struct.new(
|
4514
|
+
:message)
|
4515
|
+
include Aws::Structure
|
4516
|
+
end
|
4517
|
+
|
4518
|
+
# The request was rejected because it attempted to create resources
|
4519
|
+
# beyond the current AWS account limits. The error message describes the
|
4520
|
+
# limit exceeded.
|
4521
|
+
#
|
4522
|
+
# @!attribute [rw] message
|
4523
|
+
# @return [String]
|
4524
|
+
#
|
4525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/LimitExceededException AWS API Documentation
|
4526
|
+
#
|
4527
|
+
class LimitExceededException < Struct.new(
|
4528
|
+
:message)
|
4529
|
+
include Aws::Structure
|
4530
|
+
end
|
4531
|
+
|
4312
4532
|
# @note When making an API call, you may pass ListAccessKeysRequest
|
4313
4533
|
# data as a hash:
|
4314
4534
|
#
|
@@ -6723,6 +6943,32 @@ module Aws::IAM
|
|
6723
6943
|
include Aws::Structure
|
6724
6944
|
end
|
6725
6945
|
|
6946
|
+
# The request was rejected because the certificate was malformed or
|
6947
|
+
# expired. The error message describes the specific error.
|
6948
|
+
#
|
6949
|
+
# @!attribute [rw] message
|
6950
|
+
# @return [String]
|
6951
|
+
#
|
6952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/MalformedCertificateException AWS API Documentation
|
6953
|
+
#
|
6954
|
+
class MalformedCertificateException < Struct.new(
|
6955
|
+
:message)
|
6956
|
+
include Aws::Structure
|
6957
|
+
end
|
6958
|
+
|
6959
|
+
# The request was rejected because the policy document was malformed.
|
6960
|
+
# The error message describes the specific error.
|
6961
|
+
#
|
6962
|
+
# @!attribute [rw] message
|
6963
|
+
# @return [String]
|
6964
|
+
#
|
6965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/MalformedPolicyDocumentException AWS API Documentation
|
6966
|
+
#
|
6967
|
+
class MalformedPolicyDocumentException < Struct.new(
|
6968
|
+
:message)
|
6969
|
+
include Aws::Structure
|
6970
|
+
end
|
6971
|
+
|
6726
6972
|
# Contains information about a managed policy, including the policy's
|
6727
6973
|
# ARN, versions, and the number of principal entities (users, groups,
|
6728
6974
|
# and roles) that the policy is attached to.
|
@@ -6858,6 +7104,19 @@ module Aws::IAM
|
|
6858
7104
|
include Aws::Structure
|
6859
7105
|
end
|
6860
7106
|
|
7107
|
+
# The request was rejected because it referenced a resource entity that
|
7108
|
+
# does not exist. The error message describes the resource.
|
7109
|
+
#
|
7110
|
+
# @!attribute [rw] message
|
7111
|
+
# @return [String]
|
7112
|
+
#
|
7113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/NoSuchEntityException AWS API Documentation
|
7114
|
+
#
|
7115
|
+
class NoSuchEntityException < Struct.new(
|
7116
|
+
:message)
|
7117
|
+
include Aws::Structure
|
7118
|
+
end
|
7119
|
+
|
6861
7120
|
# Contains the Amazon Resource Name (ARN) for an IAM OpenID Connect
|
6862
7121
|
# provider.
|
6863
7122
|
#
|
@@ -6964,6 +7223,19 @@ module Aws::IAM
|
|
6964
7223
|
include Aws::Structure
|
6965
7224
|
end
|
6966
7225
|
|
7226
|
+
# The request was rejected because the provided password did not meet
|
7227
|
+
# the requirements imposed by the account password policy.
|
7228
|
+
#
|
7229
|
+
# @!attribute [rw] message
|
7230
|
+
# @return [String]
|
7231
|
+
#
|
7232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PasswordPolicyViolationException AWS API Documentation
|
7233
|
+
#
|
7234
|
+
class PasswordPolicyViolationException < Struct.new(
|
7235
|
+
:message)
|
7236
|
+
include Aws::Structure
|
7237
|
+
end
|
7238
|
+
|
6967
7239
|
# Contains information about a managed policy.
|
6968
7240
|
#
|
6969
7241
|
# This data type is used as a response element in the CreatePolicy,
|
@@ -7110,6 +7382,20 @@ module Aws::IAM
|
|
7110
7382
|
include Aws::Structure
|
7111
7383
|
end
|
7112
7384
|
|
7385
|
+
# The request failed because a provided policy could not be successfully
|
7386
|
+
# evaluated. An additional detailed message indicates the source of the
|
7387
|
+
# failure.
|
7388
|
+
#
|
7389
|
+
# @!attribute [rw] message
|
7390
|
+
# @return [String]
|
7391
|
+
#
|
7392
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyEvaluationException AWS API Documentation
|
7393
|
+
#
|
7394
|
+
class PolicyEvaluationException < Struct.new(
|
7395
|
+
:message)
|
7396
|
+
include Aws::Structure
|
7397
|
+
end
|
7398
|
+
|
7113
7399
|
# Contains details about the permissions policies that are attached to
|
7114
7400
|
# the specified identity (user, group, or role).
|
7115
7401
|
#
|
@@ -7213,6 +7499,19 @@ module Aws::IAM
|
|
7213
7499
|
include Aws::Structure
|
7214
7500
|
end
|
7215
7501
|
|
7502
|
+
# The request failed because AWS service role policies can only be
|
7503
|
+
# attached to the service-linked role for that service.
|
7504
|
+
#
|
7505
|
+
# @!attribute [rw] message
|
7506
|
+
# @return [String]
|
7507
|
+
#
|
7508
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PolicyNotAttachableException AWS API Documentation
|
7509
|
+
#
|
7510
|
+
class PolicyNotAttachableException < Struct.new(
|
7511
|
+
:message)
|
7512
|
+
include Aws::Structure
|
7513
|
+
end
|
7514
|
+
|
7216
7515
|
# Contains information about a role that a managed policy is attached
|
7217
7516
|
# to.
|
7218
7517
|
#
|
@@ -8335,6 +8634,19 @@ module Aws::IAM
|
|
8335
8634
|
include Aws::Structure
|
8336
8635
|
end
|
8337
8636
|
|
8637
|
+
# The request processing has failed because of an unknown error,
|
8638
|
+
# exception or failure.
|
8639
|
+
#
|
8640
|
+
# @!attribute [rw] message
|
8641
|
+
# @return [String]
|
8642
|
+
#
|
8643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServiceFailureException AWS API Documentation
|
8644
|
+
#
|
8645
|
+
class ServiceFailureException < Struct.new(
|
8646
|
+
:message)
|
8647
|
+
include Aws::Structure
|
8648
|
+
end
|
8649
|
+
|
8338
8650
|
# Contains details about the most recent attempt to access the service.
|
8339
8651
|
#
|
8340
8652
|
# This data type is used as a response element in the
|
@@ -8411,6 +8723,18 @@ module Aws::IAM
|
|
8411
8723
|
include Aws::Structure
|
8412
8724
|
end
|
8413
8725
|
|
8726
|
+
# The specified service does not support service-specific credentials.
|
8727
|
+
#
|
8728
|
+
# @!attribute [rw] message
|
8729
|
+
# @return [String]
|
8730
|
+
#
|
8731
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServiceNotSupportedException AWS API Documentation
|
8732
|
+
#
|
8733
|
+
class ServiceNotSupportedException < Struct.new(
|
8734
|
+
:message)
|
8735
|
+
include Aws::Structure
|
8736
|
+
end
|
8737
|
+
|
8414
8738
|
# Contains the details of a service-specific credential.
|
8415
8739
|
#
|
8416
8740
|
# @!attribute [rw] create_date
|
@@ -9276,6 +9600,34 @@ module Aws::IAM
|
|
9276
9600
|
include Aws::Structure
|
9277
9601
|
end
|
9278
9602
|
|
9603
|
+
# The request was rejected because only the service that depends on the
|
9604
|
+
# service-linked role can modify or delete the role on your behalf. The
|
9605
|
+
# error message includes the name of the service that depends on this
|
9606
|
+
# service-linked role. You must request the change through that service.
|
9607
|
+
#
|
9608
|
+
# @!attribute [rw] message
|
9609
|
+
# @return [String]
|
9610
|
+
#
|
9611
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UnmodifiableEntityException AWS API Documentation
|
9612
|
+
#
|
9613
|
+
class UnmodifiableEntityException < Struct.new(
|
9614
|
+
:message)
|
9615
|
+
include Aws::Structure
|
9616
|
+
end
|
9617
|
+
|
9618
|
+
# The request was rejected because the public key encoding format is
|
9619
|
+
# unsupported or unrecognized.
|
9620
|
+
#
|
9621
|
+
# @!attribute [rw] message
|
9622
|
+
# @return [String]
|
9623
|
+
#
|
9624
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UnrecognizedPublicKeyEncodingException AWS API Documentation
|
9625
|
+
#
|
9626
|
+
class UnrecognizedPublicKeyEncodingException < Struct.new(
|
9627
|
+
:message)
|
9628
|
+
include Aws::Structure
|
9629
|
+
end
|
9630
|
+
|
9279
9631
|
# @note When making an API call, you may pass UntagRoleRequest
|
9280
9632
|
# data as a hash:
|
9281
9633
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.53.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|