aws-sdk-iam 1.133.0 → 1.135.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/client.rb +576 -18
- data/lib/aws-sdk-iam/client_api.rb +231 -0
- data/lib/aws-sdk-iam/errors.rb +38 -0
- data/lib/aws-sdk-iam/policy.rb +9 -12
- data/lib/aws-sdk-iam/resource.rb +3 -4
- data/lib/aws-sdk-iam/types.rb +571 -26
- data/lib/aws-sdk-iam.rb +2 -2
- data/sig/client.rbs +93 -0
- data/sig/errors.rbs +6 -0
- data/sig/types.rbs +111 -0
- metadata +1 -1
|
@@ -14,6 +14,7 @@ module Aws::IAM
|
|
|
14
14
|
|
|
15
15
|
include Seahorse::Model
|
|
16
16
|
|
|
17
|
+
AcceptDelegationRequestRequest = Shapes::StructureShape.new(name: 'AcceptDelegationRequestRequest')
|
|
17
18
|
AccessAdvisorUsageGranularityType = Shapes::StringShape.new(name: 'AccessAdvisorUsageGranularityType')
|
|
18
19
|
AccessDetail = Shapes::StructureShape.new(name: 'AccessDetail')
|
|
19
20
|
AccessDetails = Shapes::ListShape.new(name: 'AccessDetails')
|
|
@@ -27,6 +28,7 @@ module Aws::IAM
|
|
|
27
28
|
AddRoleToInstanceProfileRequest = Shapes::StructureShape.new(name: 'AddRoleToInstanceProfileRequest')
|
|
28
29
|
AddUserToGroupRequest = Shapes::StructureShape.new(name: 'AddUserToGroupRequest')
|
|
29
30
|
ArnListType = Shapes::ListShape.new(name: 'ArnListType')
|
|
31
|
+
AssociateDelegationRequestRequest = Shapes::StructureShape.new(name: 'AssociateDelegationRequestRequest')
|
|
30
32
|
AttachGroupPolicyRequest = Shapes::StructureShape.new(name: 'AttachGroupPolicyRequest')
|
|
31
33
|
AttachRolePolicyRequest = Shapes::StructureShape.new(name: 'AttachRolePolicyRequest')
|
|
32
34
|
AttachUserPolicyRequest = Shapes::StructureShape.new(name: 'AttachUserPolicyRequest')
|
|
@@ -82,6 +84,7 @@ module Aws::IAM
|
|
|
82
84
|
CredentialReportNotReadyException = Shapes::StructureShape.new(name: 'CredentialReportNotReadyException', error: {"code" => "ReportInProgress", "httpStatusCode" => 404, "senderFault" => true})
|
|
83
85
|
DeactivateMFADeviceRequest = Shapes::StructureShape.new(name: 'DeactivateMFADeviceRequest')
|
|
84
86
|
DelegationPermission = Shapes::StructureShape.new(name: 'DelegationPermission')
|
|
87
|
+
DelegationRequest = Shapes::StructureShape.new(name: 'DelegationRequest')
|
|
85
88
|
DeleteAccessKeyRequest = Shapes::StructureShape.new(name: 'DeleteAccessKeyRequest')
|
|
86
89
|
DeleteAccountAliasRequest = Shapes::StructureShape.new(name: 'DeleteAccountAliasRequest')
|
|
87
90
|
DeleteConflictException = Shapes::StructureShape.new(name: 'DeleteConflictException', error: {"code" => "DeleteConflict", "httpStatusCode" => 409, "senderFault" => true})
|
|
@@ -123,6 +126,7 @@ module Aws::IAM
|
|
|
123
126
|
EnableOrganizationsRootCredentialsManagementResponse = Shapes::StructureShape.new(name: 'EnableOrganizationsRootCredentialsManagementResponse')
|
|
124
127
|
EnableOrganizationsRootSessionsRequest = Shapes::StructureShape.new(name: 'EnableOrganizationsRootSessionsRequest')
|
|
125
128
|
EnableOrganizationsRootSessionsResponse = Shapes::StructureShape.new(name: 'EnableOrganizationsRootSessionsResponse')
|
|
129
|
+
EnableOutboundWebIdentityFederationResponse = Shapes::StructureShape.new(name: 'EnableOutboundWebIdentityFederationResponse')
|
|
126
130
|
EntityAlreadyExistsException = Shapes::StructureShape.new(name: 'EntityAlreadyExistsException', error: {"code" => "EntityAlreadyExists", "httpStatusCode" => 409, "senderFault" => true})
|
|
127
131
|
EntityDetails = Shapes::StructureShape.new(name: 'EntityDetails')
|
|
128
132
|
EntityInfo = Shapes::StructureShape.new(name: 'EntityInfo')
|
|
@@ -133,6 +137,10 @@ module Aws::IAM
|
|
|
133
137
|
EvalDecisionSourceType = Shapes::StringShape.new(name: 'EvalDecisionSourceType')
|
|
134
138
|
EvaluationResult = Shapes::StructureShape.new(name: 'EvaluationResult')
|
|
135
139
|
EvaluationResultsListType = Shapes::ListShape.new(name: 'EvaluationResultsListType')
|
|
140
|
+
FeatureDisabledException = Shapes::StructureShape.new(name: 'FeatureDisabledException', error: {"code" => "FeatureDisabled", "httpStatusCode" => 404, "senderFault" => true})
|
|
141
|
+
FeatureDisabledMessage = Shapes::StringShape.new(name: 'FeatureDisabledMessage')
|
|
142
|
+
FeatureEnabledException = Shapes::StructureShape.new(name: 'FeatureEnabledException', error: {"code" => "FeatureEnabled", "httpStatusCode" => 409, "senderFault" => true})
|
|
143
|
+
FeatureEnabledMessage = Shapes::StringShape.new(name: 'FeatureEnabledMessage')
|
|
136
144
|
FeatureType = Shapes::StringShape.new(name: 'FeatureType')
|
|
137
145
|
FeaturesListType = Shapes::ListShape.new(name: 'FeaturesListType')
|
|
138
146
|
GenerateCredentialReportResponse = Shapes::StructureShape.new(name: 'GenerateCredentialReportResponse')
|
|
@@ -150,10 +158,14 @@ module Aws::IAM
|
|
|
150
158
|
GetContextKeysForPolicyResponse = Shapes::StructureShape.new(name: 'GetContextKeysForPolicyResponse')
|
|
151
159
|
GetContextKeysForPrincipalPolicyRequest = Shapes::StructureShape.new(name: 'GetContextKeysForPrincipalPolicyRequest')
|
|
152
160
|
GetCredentialReportResponse = Shapes::StructureShape.new(name: 'GetCredentialReportResponse')
|
|
161
|
+
GetDelegationRequestRequest = Shapes::StructureShape.new(name: 'GetDelegationRequestRequest')
|
|
162
|
+
GetDelegationRequestResponse = Shapes::StructureShape.new(name: 'GetDelegationRequestResponse')
|
|
153
163
|
GetGroupPolicyRequest = Shapes::StructureShape.new(name: 'GetGroupPolicyRequest')
|
|
154
164
|
GetGroupPolicyResponse = Shapes::StructureShape.new(name: 'GetGroupPolicyResponse')
|
|
155
165
|
GetGroupRequest = Shapes::StructureShape.new(name: 'GetGroupRequest')
|
|
156
166
|
GetGroupResponse = Shapes::StructureShape.new(name: 'GetGroupResponse')
|
|
167
|
+
GetHumanReadableSummaryRequest = Shapes::StructureShape.new(name: 'GetHumanReadableSummaryRequest')
|
|
168
|
+
GetHumanReadableSummaryResponse = Shapes::StructureShape.new(name: 'GetHumanReadableSummaryResponse')
|
|
157
169
|
GetInstanceProfileRequest = Shapes::StructureShape.new(name: 'GetInstanceProfileRequest')
|
|
158
170
|
GetInstanceProfileResponse = Shapes::StructureShape.new(name: 'GetInstanceProfileResponse')
|
|
159
171
|
GetLoginProfileRequest = Shapes::StructureShape.new(name: 'GetLoginProfileRequest')
|
|
@@ -164,6 +176,7 @@ module Aws::IAM
|
|
|
164
176
|
GetOpenIDConnectProviderResponse = Shapes::StructureShape.new(name: 'GetOpenIDConnectProviderResponse')
|
|
165
177
|
GetOrganizationsAccessReportRequest = Shapes::StructureShape.new(name: 'GetOrganizationsAccessReportRequest')
|
|
166
178
|
GetOrganizationsAccessReportResponse = Shapes::StructureShape.new(name: 'GetOrganizationsAccessReportResponse')
|
|
179
|
+
GetOutboundWebIdentityFederationInfoResponse = Shapes::StructureShape.new(name: 'GetOutboundWebIdentityFederationInfoResponse')
|
|
167
180
|
GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
|
|
168
181
|
GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
|
|
169
182
|
GetPolicyVersionRequest = Shapes::StructureShape.new(name: 'GetPolicyVersionRequest')
|
|
@@ -209,6 +222,8 @@ module Aws::IAM
|
|
|
209
222
|
ListAttachedRolePoliciesResponse = Shapes::StructureShape.new(name: 'ListAttachedRolePoliciesResponse')
|
|
210
223
|
ListAttachedUserPoliciesRequest = Shapes::StructureShape.new(name: 'ListAttachedUserPoliciesRequest')
|
|
211
224
|
ListAttachedUserPoliciesResponse = Shapes::StructureShape.new(name: 'ListAttachedUserPoliciesResponse')
|
|
225
|
+
ListDelegationRequestsRequest = Shapes::StructureShape.new(name: 'ListDelegationRequestsRequest')
|
|
226
|
+
ListDelegationRequestsResponse = Shapes::StructureShape.new(name: 'ListDelegationRequestsResponse')
|
|
212
227
|
ListEntitiesForPolicyRequest = Shapes::StructureShape.new(name: 'ListEntitiesForPolicyRequest')
|
|
213
228
|
ListEntitiesForPolicyResponse = Shapes::StructureShape.new(name: 'ListEntitiesForPolicyResponse')
|
|
214
229
|
ListGroupPoliciesRequest = Shapes::StructureShape.new(name: 'ListGroupPoliciesRequest')
|
|
@@ -315,6 +330,7 @@ module Aws::IAM
|
|
|
315
330
|
PutUserPolicyRequest = Shapes::StructureShape.new(name: 'PutUserPolicyRequest')
|
|
316
331
|
ReasonType = Shapes::StringShape.new(name: 'ReasonType')
|
|
317
332
|
RegionNameType = Shapes::StringShape.new(name: 'RegionNameType')
|
|
333
|
+
RejectDelegationRequestRequest = Shapes::StructureShape.new(name: 'RejectDelegationRequestRequest')
|
|
318
334
|
RemoveClientIDFromOpenIDConnectProviderRequest = Shapes::StructureShape.new(name: 'RemoveClientIDFromOpenIDConnectProviderRequest')
|
|
319
335
|
RemoveRoleFromInstanceProfileRequest = Shapes::StructureShape.new(name: 'RemoveRoleFromInstanceProfileRequest')
|
|
320
336
|
RemoveUserFromGroupRequest = Shapes::StructureShape.new(name: 'RemoveUserFromGroupRequest')
|
|
@@ -344,6 +360,7 @@ module Aws::IAM
|
|
|
344
360
|
SSHPublicKey = Shapes::StructureShape.new(name: 'SSHPublicKey')
|
|
345
361
|
SSHPublicKeyListType = Shapes::ListShape.new(name: 'SSHPublicKeyListType')
|
|
346
362
|
SSHPublicKeyMetadata = Shapes::StructureShape.new(name: 'SSHPublicKeyMetadata')
|
|
363
|
+
SendDelegationTokenRequest = Shapes::StructureShape.new(name: 'SendDelegationTokenRequest')
|
|
347
364
|
ServerCertificate = Shapes::StructureShape.new(name: 'ServerCertificate')
|
|
348
365
|
ServerCertificateMetadata = Shapes::StructureShape.new(name: 'ServerCertificateMetadata')
|
|
349
366
|
ServiceAccessNotEnabledException = Shapes::StructureShape.new(name: 'ServiceAccessNotEnabledException')
|
|
@@ -387,6 +404,7 @@ module Aws::IAM
|
|
|
387
404
|
UpdateAccessKeyRequest = Shapes::StructureShape.new(name: 'UpdateAccessKeyRequest')
|
|
388
405
|
UpdateAccountPasswordPolicyRequest = Shapes::StructureShape.new(name: 'UpdateAccountPasswordPolicyRequest')
|
|
389
406
|
UpdateAssumeRolePolicyRequest = Shapes::StructureShape.new(name: 'UpdateAssumeRolePolicyRequest')
|
|
407
|
+
UpdateDelegationRequestRequest = Shapes::StructureShape.new(name: 'UpdateDelegationRequestRequest')
|
|
390
408
|
UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
|
|
391
409
|
UpdateLoginProfileRequest = Shapes::StructureShape.new(name: 'UpdateLoginProfileRequest')
|
|
392
410
|
UpdateOpenIDConnectProviderThumbprintRequest = Shapes::StructureShape.new(name: 'UpdateOpenIDConnectProviderThumbprintRequest')
|
|
@@ -440,6 +458,7 @@ module Aws::IAM
|
|
|
440
458
|
dateType = Shapes::TimestampShape.new(name: 'dateType')
|
|
441
459
|
delegationRequestDescriptionType = Shapes::StringShape.new(name: 'delegationRequestDescriptionType')
|
|
442
460
|
delegationRequestIdType = Shapes::StringShape.new(name: 'delegationRequestIdType')
|
|
461
|
+
delegationRequestsListType = Shapes::ListShape.new(name: 'delegationRequestsListType')
|
|
443
462
|
deleteConflictMessage = Shapes::StringShape.new(name: 'deleteConflictMessage')
|
|
444
463
|
duplicateCertificateMessage = Shapes::StringShape.new(name: 'duplicateCertificateMessage')
|
|
445
464
|
duplicateSSHPublicKeyMessage = Shapes::StringShape.new(name: 'duplicateSSHPublicKeyMessage')
|
|
@@ -469,6 +488,7 @@ module Aws::IAM
|
|
|
469
488
|
keyPairMismatchMessage = Shapes::StringShape.new(name: 'keyPairMismatchMessage')
|
|
470
489
|
limitExceededMessage = Shapes::StringShape.new(name: 'limitExceededMessage')
|
|
471
490
|
listPolicyGrantingServiceAccessResponseListType = Shapes::ListShape.new(name: 'listPolicyGrantingServiceAccessResponseListType')
|
|
491
|
+
localeType = Shapes::StringShape.new(name: 'localeType')
|
|
472
492
|
malformedCertificateMessage = Shapes::StringShape.new(name: 'malformedCertificateMessage')
|
|
473
493
|
malformedPolicyDocumentMessage = Shapes::StringShape.new(name: 'malformedPolicyDocumentMessage')
|
|
474
494
|
markerType = Shapes::StringShape.new(name: 'markerType')
|
|
@@ -477,15 +497,20 @@ module Aws::IAM
|
|
|
477
497
|
mfaDeviceListType = Shapes::ListShape.new(name: 'mfaDeviceListType')
|
|
478
498
|
minimumPasswordLengthType = Shapes::IntegerShape.new(name: 'minimumPasswordLengthType')
|
|
479
499
|
noSuchEntityMessage = Shapes::StringShape.new(name: 'noSuchEntityMessage')
|
|
500
|
+
notesType = Shapes::StringShape.new(name: 'notesType')
|
|
480
501
|
notificationChannelType = Shapes::StringShape.new(name: 'notificationChannelType')
|
|
481
502
|
openIdIdpCommunicationErrorExceptionMessage = Shapes::StringShape.new(name: 'openIdIdpCommunicationErrorExceptionMessage')
|
|
482
503
|
organizationsEntityPathType = Shapes::StringShape.new(name: 'organizationsEntityPathType')
|
|
483
504
|
organizationsPolicyIdType = Shapes::StringShape.new(name: 'organizationsPolicyIdType')
|
|
505
|
+
ownerIdType = Shapes::StringShape.new(name: 'ownerIdType')
|
|
484
506
|
passwordPolicyViolationMessage = Shapes::StringShape.new(name: 'passwordPolicyViolationMessage')
|
|
485
507
|
passwordReusePreventionType = Shapes::IntegerShape.new(name: 'passwordReusePreventionType')
|
|
486
508
|
passwordType = Shapes::StringShape.new(name: 'passwordType')
|
|
487
509
|
pathPrefixType = Shapes::StringShape.new(name: 'pathPrefixType')
|
|
488
510
|
pathType = Shapes::StringShape.new(name: 'pathType')
|
|
511
|
+
permissionCheckResultType = Shapes::StringShape.new(name: 'permissionCheckResultType')
|
|
512
|
+
permissionCheckStatusType = Shapes::StringShape.new(name: 'permissionCheckStatusType')
|
|
513
|
+
permissionType = Shapes::StringShape.new(name: 'permissionType')
|
|
489
514
|
policyDescriptionType = Shapes::StringShape.new(name: 'policyDescriptionType')
|
|
490
515
|
policyDetailListType = Shapes::ListShape.new(name: 'policyDetailListType')
|
|
491
516
|
policyDocumentType = Shapes::StringShape.new(name: 'policyDocumentType')
|
|
@@ -514,6 +539,7 @@ module Aws::IAM
|
|
|
514
539
|
redirectUrlType = Shapes::StringShape.new(name: 'redirectUrlType')
|
|
515
540
|
reportGenerationLimitExceededMessage = Shapes::StringShape.new(name: 'reportGenerationLimitExceededMessage')
|
|
516
541
|
requestMessageType = Shapes::StringShape.new(name: 'requestMessageType')
|
|
542
|
+
requestorNameType = Shapes::StringShape.new(name: 'requestorNameType')
|
|
517
543
|
requestorWorkflowIdType = Shapes::StringShape.new(name: 'requestorWorkflowIdType')
|
|
518
544
|
responseMarkerType = Shapes::StringShape.new(name: 'responseMarkerType')
|
|
519
545
|
roleDescriptionType = Shapes::StringShape.new(name: 'roleDescriptionType')
|
|
@@ -521,6 +547,7 @@ module Aws::IAM
|
|
|
521
547
|
roleListType = Shapes::ListShape.new(name: 'roleListType')
|
|
522
548
|
roleMaxSessionDurationType = Shapes::IntegerShape.new(name: 'roleMaxSessionDurationType')
|
|
523
549
|
roleNameType = Shapes::StringShape.new(name: 'roleNameType')
|
|
550
|
+
rolePermissionRestrictionArnListType = Shapes::ListShape.new(name: 'rolePermissionRestrictionArnListType')
|
|
524
551
|
serialNumberType = Shapes::StringShape.new(name: 'serialNumberType')
|
|
525
552
|
serverCertificateMetadataListType = Shapes::ListShape.new(name: 'serverCertificateMetadataListType')
|
|
526
553
|
serverCertificateNameType = Shapes::StringShape.new(name: 'serverCertificateNameType')
|
|
@@ -537,10 +564,13 @@ module Aws::IAM
|
|
|
537
564
|
serviceUserName = Shapes::StringShape.new(name: 'serviceUserName')
|
|
538
565
|
sessionDurationType = Shapes::IntegerShape.new(name: 'sessionDurationType')
|
|
539
566
|
sortKeyType = Shapes::StringShape.new(name: 'sortKeyType')
|
|
567
|
+
stateType = Shapes::StringShape.new(name: 'stateType')
|
|
540
568
|
statusType = Shapes::StringShape.new(name: 'statusType')
|
|
541
569
|
stringType = Shapes::StringShape.new(name: 'stringType')
|
|
570
|
+
summaryContentType = Shapes::StringShape.new(name: 'summaryContentType')
|
|
542
571
|
summaryKeyType = Shapes::StringShape.new(name: 'summaryKeyType')
|
|
543
572
|
summaryMapType = Shapes::MapShape.new(name: 'summaryMapType')
|
|
573
|
+
summaryStateType = Shapes::StringShape.new(name: 'summaryStateType')
|
|
544
574
|
summaryValueType = Shapes::IntegerShape.new(name: 'summaryValueType')
|
|
545
575
|
tagKeyListType = Shapes::ListShape.new(name: 'tagKeyListType')
|
|
546
576
|
tagKeyType = Shapes::StringShape.new(name: 'tagKeyType')
|
|
@@ -556,6 +586,9 @@ module Aws::IAM
|
|
|
556
586
|
virtualMFADeviceListType = Shapes::ListShape.new(name: 'virtualMFADeviceListType')
|
|
557
587
|
virtualMFADeviceName = Shapes::StringShape.new(name: 'virtualMFADeviceName')
|
|
558
588
|
|
|
589
|
+
AcceptDelegationRequestRequest.add_member(:delegation_request_id, Shapes::ShapeRef.new(shape: delegationRequestIdType, required: true, location_name: "DelegationRequestId"))
|
|
590
|
+
AcceptDelegationRequestRequest.struct_class = Types::AcceptDelegationRequestRequest
|
|
591
|
+
|
|
559
592
|
AccessDetail.add_member(:service_name, Shapes::ShapeRef.new(shape: serviceNameType, required: true, location_name: "ServiceName"))
|
|
560
593
|
AccessDetail.add_member(:service_namespace, Shapes::ShapeRef.new(shape: serviceNamespaceType, required: true, location_name: "ServiceNamespace"))
|
|
561
594
|
AccessDetail.add_member(:region, Shapes::ShapeRef.new(shape: stringType, location_name: "Region"))
|
|
@@ -602,6 +635,9 @@ module Aws::IAM
|
|
|
602
635
|
|
|
603
636
|
ArnListType.member = Shapes::ShapeRef.new(shape: arnType)
|
|
604
637
|
|
|
638
|
+
AssociateDelegationRequestRequest.add_member(:delegation_request_id, Shapes::ShapeRef.new(shape: delegationRequestIdType, required: true, location_name: "DelegationRequestId"))
|
|
639
|
+
AssociateDelegationRequestRequest.struct_class = Types::AssociateDelegationRequestRequest
|
|
640
|
+
|
|
605
641
|
AttachGroupPolicyRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: groupNameType, required: true, location_name: "GroupName"))
|
|
606
642
|
AttachGroupPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "PolicyArn"))
|
|
607
643
|
AttachGroupPolicyRequest.struct_class = Types::AttachGroupPolicyRequest
|
|
@@ -793,6 +829,27 @@ module Aws::IAM
|
|
|
793
829
|
DelegationPermission.add_member(:parameters, Shapes::ShapeRef.new(shape: policyParameterListType, location_name: "Parameters"))
|
|
794
830
|
DelegationPermission.struct_class = Types::DelegationPermission
|
|
795
831
|
|
|
832
|
+
DelegationRequest.add_member(:delegation_request_id, Shapes::ShapeRef.new(shape: delegationRequestIdType, location_name: "DelegationRequestId"))
|
|
833
|
+
DelegationRequest.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: accountIdType, location_name: "OwnerAccountId"))
|
|
834
|
+
DelegationRequest.add_member(:description, Shapes::ShapeRef.new(shape: delegationRequestDescriptionType, location_name: "Description"))
|
|
835
|
+
DelegationRequest.add_member(:request_message, Shapes::ShapeRef.new(shape: requestMessageType, location_name: "RequestMessage"))
|
|
836
|
+
DelegationRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: DelegationPermission, location_name: "Permissions"))
|
|
837
|
+
DelegationRequest.add_member(:permission_policy, Shapes::ShapeRef.new(shape: permissionType, location_name: "PermissionPolicy"))
|
|
838
|
+
DelegationRequest.add_member(:role_permission_restriction_arns, Shapes::ShapeRef.new(shape: rolePermissionRestrictionArnListType, location_name: "RolePermissionRestrictionArns"))
|
|
839
|
+
DelegationRequest.add_member(:owner_id, Shapes::ShapeRef.new(shape: ownerIdType, location_name: "OwnerId"))
|
|
840
|
+
DelegationRequest.add_member(:approver_id, Shapes::ShapeRef.new(shape: arnType, location_name: "ApproverId"))
|
|
841
|
+
DelegationRequest.add_member(:state, Shapes::ShapeRef.new(shape: stateType, location_name: "State"))
|
|
842
|
+
DelegationRequest.add_member(:requestor_id, Shapes::ShapeRef.new(shape: accountIdType, location_name: "RequestorId"))
|
|
843
|
+
DelegationRequest.add_member(:requestor_name, Shapes::ShapeRef.new(shape: requestorNameType, location_name: "RequestorName"))
|
|
844
|
+
DelegationRequest.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, location_name: "CreateDate"))
|
|
845
|
+
DelegationRequest.add_member(:session_duration, Shapes::ShapeRef.new(shape: sessionDurationType, location_name: "SessionDuration"))
|
|
846
|
+
DelegationRequest.add_member(:redirect_url, Shapes::ShapeRef.new(shape: redirectUrlType, location_name: "RedirectUrl"))
|
|
847
|
+
DelegationRequest.add_member(:notes, Shapes::ShapeRef.new(shape: notesType, location_name: "Notes"))
|
|
848
|
+
DelegationRequest.add_member(:rejection_reason, Shapes::ShapeRef.new(shape: notesType, location_name: "RejectionReason"))
|
|
849
|
+
DelegationRequest.add_member(:only_send_by_owner, Shapes::ShapeRef.new(shape: booleanType, location_name: "OnlySendByOwner"))
|
|
850
|
+
DelegationRequest.add_member(:updated_time, Shapes::ShapeRef.new(shape: dateType, location_name: "UpdatedTime"))
|
|
851
|
+
DelegationRequest.struct_class = Types::DelegationRequest
|
|
852
|
+
|
|
796
853
|
DeleteAccessKeyRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: existingUserNameType, location_name: "UserName"))
|
|
797
854
|
DeleteAccessKeyRequest.add_member(:access_key_id, Shapes::ShapeRef.new(shape: accessKeyIdType, required: true, location_name: "AccessKeyId"))
|
|
798
855
|
DeleteAccessKeyRequest.struct_class = Types::DeleteAccessKeyRequest
|
|
@@ -925,6 +982,9 @@ module Aws::IAM
|
|
|
925
982
|
EnableOrganizationsRootSessionsResponse.add_member(:enabled_features, Shapes::ShapeRef.new(shape: FeaturesListType, location_name: "EnabledFeatures"))
|
|
926
983
|
EnableOrganizationsRootSessionsResponse.struct_class = Types::EnableOrganizationsRootSessionsResponse
|
|
927
984
|
|
|
985
|
+
EnableOutboundWebIdentityFederationResponse.add_member(:issuer_identifier, Shapes::ShapeRef.new(shape: stringType, location_name: "IssuerIdentifier"))
|
|
986
|
+
EnableOutboundWebIdentityFederationResponse.struct_class = Types::EnableOutboundWebIdentityFederationResponse
|
|
987
|
+
|
|
928
988
|
EntityAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: entityAlreadyExistsMessage, location_name: "message"))
|
|
929
989
|
EntityAlreadyExistsException.struct_class = Types::EntityAlreadyExistsException
|
|
930
990
|
|
|
@@ -962,6 +1022,12 @@ module Aws::IAM
|
|
|
962
1022
|
|
|
963
1023
|
EvaluationResultsListType.member = Shapes::ShapeRef.new(shape: EvaluationResult)
|
|
964
1024
|
|
|
1025
|
+
FeatureDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: FeatureDisabledMessage, location_name: "message"))
|
|
1026
|
+
FeatureDisabledException.struct_class = Types::FeatureDisabledException
|
|
1027
|
+
|
|
1028
|
+
FeatureEnabledException.add_member(:message, Shapes::ShapeRef.new(shape: FeatureEnabledMessage, location_name: "message"))
|
|
1029
|
+
FeatureEnabledException.struct_class = Types::FeatureEnabledException
|
|
1030
|
+
|
|
965
1031
|
FeaturesListType.member = Shapes::ShapeRef.new(shape: FeatureType)
|
|
966
1032
|
|
|
967
1033
|
GenerateCredentialReportResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReportStateType, location_name: "State"))
|
|
@@ -1023,6 +1089,15 @@ module Aws::IAM
|
|
|
1023
1089
|
GetCredentialReportResponse.add_member(:generated_time, Shapes::ShapeRef.new(shape: dateType, location_name: "GeneratedTime"))
|
|
1024
1090
|
GetCredentialReportResponse.struct_class = Types::GetCredentialReportResponse
|
|
1025
1091
|
|
|
1092
|
+
GetDelegationRequestRequest.add_member(:delegation_request_id, Shapes::ShapeRef.new(shape: delegationRequestIdType, required: true, location_name: "DelegationRequestId"))
|
|
1093
|
+
GetDelegationRequestRequest.add_member(:delegation_permission_check, Shapes::ShapeRef.new(shape: booleanType, location_name: "DelegationPermissionCheck"))
|
|
1094
|
+
GetDelegationRequestRequest.struct_class = Types::GetDelegationRequestRequest
|
|
1095
|
+
|
|
1096
|
+
GetDelegationRequestResponse.add_member(:delegation_request, Shapes::ShapeRef.new(shape: DelegationRequest, location_name: "DelegationRequest"))
|
|
1097
|
+
GetDelegationRequestResponse.add_member(:permission_check_status, Shapes::ShapeRef.new(shape: permissionCheckStatusType, location_name: "PermissionCheckStatus"))
|
|
1098
|
+
GetDelegationRequestResponse.add_member(:permission_check_result, Shapes::ShapeRef.new(shape: permissionCheckResultType, location_name: "PermissionCheckResult"))
|
|
1099
|
+
GetDelegationRequestResponse.struct_class = Types::GetDelegationRequestResponse
|
|
1100
|
+
|
|
1026
1101
|
GetGroupPolicyRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: groupNameType, required: true, location_name: "GroupName"))
|
|
1027
1102
|
GetGroupPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: policyNameType, required: true, location_name: "PolicyName"))
|
|
1028
1103
|
GetGroupPolicyRequest.struct_class = Types::GetGroupPolicyRequest
|
|
@@ -1043,6 +1118,15 @@ module Aws::IAM
|
|
|
1043
1118
|
GetGroupResponse.add_member(:marker, Shapes::ShapeRef.new(shape: responseMarkerType, location_name: "Marker"))
|
|
1044
1119
|
GetGroupResponse.struct_class = Types::GetGroupResponse
|
|
1045
1120
|
|
|
1121
|
+
GetHumanReadableSummaryRequest.add_member(:entity_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "EntityArn"))
|
|
1122
|
+
GetHumanReadableSummaryRequest.add_member(:locale, Shapes::ShapeRef.new(shape: localeType, location_name: "Locale"))
|
|
1123
|
+
GetHumanReadableSummaryRequest.struct_class = Types::GetHumanReadableSummaryRequest
|
|
1124
|
+
|
|
1125
|
+
GetHumanReadableSummaryResponse.add_member(:summary_content, Shapes::ShapeRef.new(shape: summaryContentType, location_name: "SummaryContent"))
|
|
1126
|
+
GetHumanReadableSummaryResponse.add_member(:locale, Shapes::ShapeRef.new(shape: localeType, location_name: "Locale"))
|
|
1127
|
+
GetHumanReadableSummaryResponse.add_member(:summary_state, Shapes::ShapeRef.new(shape: summaryStateType, location_name: "SummaryState"))
|
|
1128
|
+
GetHumanReadableSummaryResponse.struct_class = Types::GetHumanReadableSummaryResponse
|
|
1129
|
+
|
|
1046
1130
|
GetInstanceProfileRequest.add_member(:instance_profile_name, Shapes::ShapeRef.new(shape: instanceProfileNameType, required: true, location_name: "InstanceProfileName"))
|
|
1047
1131
|
GetInstanceProfileRequest.struct_class = Types::GetInstanceProfileRequest
|
|
1048
1132
|
|
|
@@ -1092,6 +1176,10 @@ module Aws::IAM
|
|
|
1092
1176
|
GetOrganizationsAccessReportResponse.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
|
|
1093
1177
|
GetOrganizationsAccessReportResponse.struct_class = Types::GetOrganizationsAccessReportResponse
|
|
1094
1178
|
|
|
1179
|
+
GetOutboundWebIdentityFederationInfoResponse.add_member(:issuer_identifier, Shapes::ShapeRef.new(shape: stringType, location_name: "IssuerIdentifier"))
|
|
1180
|
+
GetOutboundWebIdentityFederationInfoResponse.add_member(:jwt_vending_enabled, Shapes::ShapeRef.new(shape: booleanType, location_name: "JwtVendingEnabled"))
|
|
1181
|
+
GetOutboundWebIdentityFederationInfoResponse.struct_class = Types::GetOutboundWebIdentityFederationInfoResponse
|
|
1182
|
+
|
|
1095
1183
|
GetPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "PolicyArn"))
|
|
1096
1184
|
GetPolicyRequest.struct_class = Types::GetPolicyRequest
|
|
1097
1185
|
|
|
@@ -1296,6 +1384,16 @@ module Aws::IAM
|
|
|
1296
1384
|
ListAttachedUserPoliciesResponse.add_member(:marker, Shapes::ShapeRef.new(shape: responseMarkerType, location_name: "Marker"))
|
|
1297
1385
|
ListAttachedUserPoliciesResponse.struct_class = Types::ListAttachedUserPoliciesResponse
|
|
1298
1386
|
|
|
1387
|
+
ListDelegationRequestsRequest.add_member(:owner_id, Shapes::ShapeRef.new(shape: ownerIdType, location_name: "OwnerId"))
|
|
1388
|
+
ListDelegationRequestsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: markerType, location_name: "Marker"))
|
|
1389
|
+
ListDelegationRequestsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: maxItemsType, location_name: "MaxItems"))
|
|
1390
|
+
ListDelegationRequestsRequest.struct_class = Types::ListDelegationRequestsRequest
|
|
1391
|
+
|
|
1392
|
+
ListDelegationRequestsResponse.add_member(:delegation_requests, Shapes::ShapeRef.new(shape: delegationRequestsListType, location_name: "DelegationRequests"))
|
|
1393
|
+
ListDelegationRequestsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: markerType, location_name: "Marker"))
|
|
1394
|
+
ListDelegationRequestsResponse.add_member(:is_truncated, Shapes::ShapeRef.new(shape: booleanType, location_name: "isTruncated"))
|
|
1395
|
+
ListDelegationRequestsResponse.struct_class = Types::ListDelegationRequestsResponse
|
|
1396
|
+
|
|
1299
1397
|
ListEntitiesForPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "PolicyArn"))
|
|
1300
1398
|
ListEntitiesForPolicyRequest.add_member(:entity_filter, Shapes::ShapeRef.new(shape: EntityType, location_name: "EntityFilter"))
|
|
1301
1399
|
ListEntitiesForPolicyRequest.add_member(:path_prefix, Shapes::ShapeRef.new(shape: pathType, location_name: "PathPrefix"))
|
|
@@ -1751,6 +1849,10 @@ module Aws::IAM
|
|
|
1751
1849
|
PutUserPolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: policyDocumentType, required: true, location_name: "PolicyDocument"))
|
|
1752
1850
|
PutUserPolicyRequest.struct_class = Types::PutUserPolicyRequest
|
|
1753
1851
|
|
|
1852
|
+
RejectDelegationRequestRequest.add_member(:delegation_request_id, Shapes::ShapeRef.new(shape: delegationRequestIdType, required: true, location_name: "DelegationRequestId"))
|
|
1853
|
+
RejectDelegationRequestRequest.add_member(:notes, Shapes::ShapeRef.new(shape: notesType, location_name: "Notes"))
|
|
1854
|
+
RejectDelegationRequestRequest.struct_class = Types::RejectDelegationRequestRequest
|
|
1855
|
+
|
|
1754
1856
|
RemoveClientIDFromOpenIDConnectProviderRequest.add_member(:open_id_connect_provider_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "OpenIDConnectProviderArn"))
|
|
1755
1857
|
RemoveClientIDFromOpenIDConnectProviderRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: clientIDType, required: true, location_name: "ClientID"))
|
|
1756
1858
|
RemoveClientIDFromOpenIDConnectProviderRequest.struct_class = Types::RemoveClientIDFromOpenIDConnectProviderRequest
|
|
@@ -1855,6 +1957,9 @@ module Aws::IAM
|
|
|
1855
1957
|
SSHPublicKeyMetadata.add_member(:upload_date, Shapes::ShapeRef.new(shape: dateType, required: true, location_name: "UploadDate"))
|
|
1856
1958
|
SSHPublicKeyMetadata.struct_class = Types::SSHPublicKeyMetadata
|
|
1857
1959
|
|
|
1960
|
+
SendDelegationTokenRequest.add_member(:delegation_request_id, Shapes::ShapeRef.new(shape: delegationRequestIdType, required: true, location_name: "DelegationRequestId"))
|
|
1961
|
+
SendDelegationTokenRequest.struct_class = Types::SendDelegationTokenRequest
|
|
1962
|
+
|
|
1858
1963
|
ServerCertificate.add_member(:server_certificate_metadata, Shapes::ShapeRef.new(shape: ServerCertificateMetadata, required: true, location_name: "ServerCertificateMetadata"))
|
|
1859
1964
|
ServerCertificate.add_member(:certificate_body, Shapes::ShapeRef.new(shape: certificateBodyType, required: true, location_name: "CertificateBody"))
|
|
1860
1965
|
ServerCertificate.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: certificateChainType, location_name: "CertificateChain"))
|
|
@@ -2070,6 +2175,10 @@ module Aws::IAM
|
|
|
2070
2175
|
UpdateAssumeRolePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: policyDocumentType, required: true, location_name: "PolicyDocument"))
|
|
2071
2176
|
UpdateAssumeRolePolicyRequest.struct_class = Types::UpdateAssumeRolePolicyRequest
|
|
2072
2177
|
|
|
2178
|
+
UpdateDelegationRequestRequest.add_member(:delegation_request_id, Shapes::ShapeRef.new(shape: delegationRequestIdType, required: true, location_name: "DelegationRequestId"))
|
|
2179
|
+
UpdateDelegationRequestRequest.add_member(:notes, Shapes::ShapeRef.new(shape: notesType, location_name: "Notes"))
|
|
2180
|
+
UpdateDelegationRequestRequest.struct_class = Types::UpdateDelegationRequestRequest
|
|
2181
|
+
|
|
2073
2182
|
UpdateGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: groupNameType, required: true, location_name: "GroupName"))
|
|
2074
2183
|
UpdateGroupRequest.add_member(:new_path, Shapes::ShapeRef.new(shape: pathType, location_name: "NewPath"))
|
|
2075
2184
|
UpdateGroupRequest.add_member(:new_group_name, Shapes::ShapeRef.new(shape: groupNameType, location_name: "NewGroupName"))
|
|
@@ -2199,6 +2308,8 @@ module Aws::IAM
|
|
|
2199
2308
|
|
|
2200
2309
|
clientIDListType.member = Shapes::ShapeRef.new(shape: clientIDType)
|
|
2201
2310
|
|
|
2311
|
+
delegationRequestsListType.member = Shapes::ShapeRef.new(shape: DelegationRequest)
|
|
2312
|
+
|
|
2202
2313
|
entityDetailsListType.member = Shapes::ShapeRef.new(shape: EntityDetails)
|
|
2203
2314
|
|
|
2204
2315
|
entityListType.member = Shapes::ShapeRef.new(shape: EntityType)
|
|
@@ -2235,6 +2346,8 @@ module Aws::IAM
|
|
|
2235
2346
|
|
|
2236
2347
|
roleListType.member = Shapes::ShapeRef.new(shape: Role)
|
|
2237
2348
|
|
|
2349
|
+
rolePermissionRestrictionArnListType.member = Shapes::ShapeRef.new(shape: arnType)
|
|
2350
|
+
|
|
2238
2351
|
serverCertificateMetadataListType.member = Shapes::ShapeRef.new(shape: ServerCertificateMetadata)
|
|
2239
2352
|
|
|
2240
2353
|
serviceNamespaceListType.member = Shapes::ShapeRef.new(shape: serviceNamespaceType)
|
|
@@ -2275,6 +2388,17 @@ module Aws::IAM
|
|
|
2275
2388
|
"xmlNamespace" => "https://iam.amazonaws.com/doc/2010-05-08/",
|
|
2276
2389
|
}
|
|
2277
2390
|
|
|
2391
|
+
api.add_operation(:accept_delegation_request, Seahorse::Model::Operation.new.tap do |o|
|
|
2392
|
+
o.name = "AcceptDelegationRequest"
|
|
2393
|
+
o.http_method = "POST"
|
|
2394
|
+
o.http_request_uri = "/"
|
|
2395
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptDelegationRequestRequest)
|
|
2396
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
2397
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
2398
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
2399
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
2400
|
+
end)
|
|
2401
|
+
|
|
2278
2402
|
api.add_operation(:add_client_id_to_open_id_connect_provider, Seahorse::Model::Operation.new.tap do |o|
|
|
2279
2403
|
o.name = "AddClientIDToOpenIDConnectProvider"
|
|
2280
2404
|
o.http_method = "POST"
|
|
@@ -2312,6 +2436,18 @@ module Aws::IAM
|
|
|
2312
2436
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
2313
2437
|
end)
|
|
2314
2438
|
|
|
2439
|
+
api.add_operation(:associate_delegation_request, Seahorse::Model::Operation.new.tap do |o|
|
|
2440
|
+
o.name = "AssociateDelegationRequest"
|
|
2441
|
+
o.http_method = "POST"
|
|
2442
|
+
o.http_request_uri = "/"
|
|
2443
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateDelegationRequestRequest)
|
|
2444
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
2445
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
2446
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
2447
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
2448
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
2449
|
+
end)
|
|
2450
|
+
|
|
2315
2451
|
api.add_operation(:attach_group_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
2316
2452
|
o.name = "AttachGroupPolicy"
|
|
2317
2453
|
o.http_method = "POST"
|
|
@@ -2899,6 +3035,15 @@ module Aws::IAM
|
|
|
2899
3035
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
|
2900
3036
|
end)
|
|
2901
3037
|
|
|
3038
|
+
api.add_operation(:disable_outbound_web_identity_federation, Seahorse::Model::Operation.new.tap do |o|
|
|
3039
|
+
o.name = "DisableOutboundWebIdentityFederation"
|
|
3040
|
+
o.http_method = "POST"
|
|
3041
|
+
o.http_request_uri = "/"
|
|
3042
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3043
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3044
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureDisabledException)
|
|
3045
|
+
end)
|
|
3046
|
+
|
|
2902
3047
|
api.add_operation(:enable_mfa_device, Seahorse::Model::Operation.new.tap do |o|
|
|
2903
3048
|
o.name = "EnableMFADevice"
|
|
2904
3049
|
o.http_method = "POST"
|
|
@@ -2940,6 +3085,15 @@ module Aws::IAM
|
|
|
2940
3085
|
o.errors << Shapes::ShapeRef.new(shape: CallerIsNotManagementAccountException)
|
|
2941
3086
|
end)
|
|
2942
3087
|
|
|
3088
|
+
api.add_operation(:enable_outbound_web_identity_federation, Seahorse::Model::Operation.new.tap do |o|
|
|
3089
|
+
o.name = "EnableOutboundWebIdentityFederation"
|
|
3090
|
+
o.http_method = "POST"
|
|
3091
|
+
o.http_request_uri = "/"
|
|
3092
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3093
|
+
o.output = Shapes::ShapeRef.new(shape: EnableOutboundWebIdentityFederationResponse)
|
|
3094
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureEnabledException)
|
|
3095
|
+
end)
|
|
3096
|
+
|
|
2943
3097
|
api.add_operation(:generate_credential_report, Seahorse::Model::Operation.new.tap do |o|
|
|
2944
3098
|
o.name = "GenerateCredentialReport"
|
|
2945
3099
|
o.http_method = "POST"
|
|
@@ -3043,6 +3197,16 @@ module Aws::IAM
|
|
|
3043
3197
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
3044
3198
|
end)
|
|
3045
3199
|
|
|
3200
|
+
api.add_operation(:get_delegation_request, Seahorse::Model::Operation.new.tap do |o|
|
|
3201
|
+
o.name = "GetDelegationRequest"
|
|
3202
|
+
o.http_method = "POST"
|
|
3203
|
+
o.http_request_uri = "/"
|
|
3204
|
+
o.input = Shapes::ShapeRef.new(shape: GetDelegationRequestRequest)
|
|
3205
|
+
o.output = Shapes::ShapeRef.new(shape: GetDelegationRequestResponse)
|
|
3206
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
3207
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
3208
|
+
end)
|
|
3209
|
+
|
|
3046
3210
|
api.add_operation(:get_group, Seahorse::Model::Operation.new.tap do |o|
|
|
3047
3211
|
o.name = "GetGroup"
|
|
3048
3212
|
o.http_method = "POST"
|
|
@@ -3070,6 +3234,17 @@ module Aws::IAM
|
|
|
3070
3234
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
3071
3235
|
end)
|
|
3072
3236
|
|
|
3237
|
+
api.add_operation(:get_human_readable_summary, Seahorse::Model::Operation.new.tap do |o|
|
|
3238
|
+
o.name = "GetHumanReadableSummary"
|
|
3239
|
+
o.http_method = "POST"
|
|
3240
|
+
o.http_request_uri = "/"
|
|
3241
|
+
o.input = Shapes::ShapeRef.new(shape: GetHumanReadableSummaryRequest)
|
|
3242
|
+
o.output = Shapes::ShapeRef.new(shape: GetHumanReadableSummaryResponse)
|
|
3243
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
3244
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
3245
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
3246
|
+
end)
|
|
3247
|
+
|
|
3073
3248
|
api.add_operation(:get_instance_profile, Seahorse::Model::Operation.new.tap do |o|
|
|
3074
3249
|
o.name = "GetInstanceProfile"
|
|
3075
3250
|
o.http_method = "POST"
|
|
@@ -3120,6 +3295,15 @@ module Aws::IAM
|
|
|
3120
3295
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
3121
3296
|
end)
|
|
3122
3297
|
|
|
3298
|
+
api.add_operation(:get_outbound_web_identity_federation_info, Seahorse::Model::Operation.new.tap do |o|
|
|
3299
|
+
o.name = "GetOutboundWebIdentityFederationInfo"
|
|
3300
|
+
o.http_method = "POST"
|
|
3301
|
+
o.http_request_uri = "/"
|
|
3302
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3303
|
+
o.output = Shapes::ShapeRef.new(shape: GetOutboundWebIdentityFederationInfoResponse)
|
|
3304
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureDisabledException)
|
|
3305
|
+
end)
|
|
3306
|
+
|
|
3123
3307
|
api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
3124
3308
|
o.name = "GetPolicy"
|
|
3125
3309
|
o.http_method = "POST"
|
|
@@ -3331,6 +3515,17 @@ module Aws::IAM
|
|
|
3331
3515
|
)
|
|
3332
3516
|
end)
|
|
3333
3517
|
|
|
3518
|
+
api.add_operation(:list_delegation_requests, Seahorse::Model::Operation.new.tap do |o|
|
|
3519
|
+
o.name = "ListDelegationRequests"
|
|
3520
|
+
o.http_method = "POST"
|
|
3521
|
+
o.http_request_uri = "/"
|
|
3522
|
+
o.input = Shapes::ShapeRef.new(shape: ListDelegationRequestsRequest)
|
|
3523
|
+
o.output = Shapes::ShapeRef.new(shape: ListDelegationRequestsResponse)
|
|
3524
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
3525
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
3526
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
3527
|
+
end)
|
|
3528
|
+
|
|
3334
3529
|
api.add_operation(:list_entities_for_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
3335
3530
|
o.name = "ListEntitiesForPolicy"
|
|
3336
3531
|
o.http_method = "POST"
|
|
@@ -3865,6 +4060,18 @@ module Aws::IAM
|
|
|
3865
4060
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
3866
4061
|
end)
|
|
3867
4062
|
|
|
4063
|
+
api.add_operation(:reject_delegation_request, Seahorse::Model::Operation.new.tap do |o|
|
|
4064
|
+
o.name = "RejectDelegationRequest"
|
|
4065
|
+
o.http_method = "POST"
|
|
4066
|
+
o.http_request_uri = "/"
|
|
4067
|
+
o.input = Shapes::ShapeRef.new(shape: RejectDelegationRequestRequest)
|
|
4068
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
4069
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
4070
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
4071
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
4072
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
4073
|
+
end)
|
|
4074
|
+
|
|
3868
4075
|
api.add_operation(:remove_client_id_from_open_id_connect_provider, Seahorse::Model::Operation.new.tap do |o|
|
|
3869
4076
|
o.name = "RemoveClientIDFromOpenIDConnectProvider"
|
|
3870
4077
|
o.http_method = "POST"
|
|
@@ -3922,6 +4129,18 @@ module Aws::IAM
|
|
|
3922
4129
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
3923
4130
|
end)
|
|
3924
4131
|
|
|
4132
|
+
api.add_operation(:send_delegation_token, Seahorse::Model::Operation.new.tap do |o|
|
|
4133
|
+
o.name = "SendDelegationToken"
|
|
4134
|
+
o.http_method = "POST"
|
|
4135
|
+
o.http_request_uri = "/"
|
|
4136
|
+
o.input = Shapes::ShapeRef.new(shape: SendDelegationTokenRequest)
|
|
4137
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
4138
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
4139
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
4140
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
4141
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
4142
|
+
end)
|
|
4143
|
+
|
|
3925
4144
|
api.add_operation(:set_default_policy_version, Seahorse::Model::Operation.new.tap do |o|
|
|
3926
4145
|
o.name = "SetDefaultPolicyVersion"
|
|
3927
4146
|
o.http_method = "POST"
|
|
@@ -4213,6 +4432,18 @@ module Aws::IAM
|
|
|
4213
4432
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
4214
4433
|
end)
|
|
4215
4434
|
|
|
4435
|
+
api.add_operation(:update_delegation_request, Seahorse::Model::Operation.new.tap do |o|
|
|
4436
|
+
o.name = "UpdateDelegationRequest"
|
|
4437
|
+
o.http_method = "POST"
|
|
4438
|
+
o.http_request_uri = "/"
|
|
4439
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDelegationRequestRequest)
|
|
4440
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
4441
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
4442
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
4443
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
4444
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
4445
|
+
end)
|
|
4446
|
+
|
|
4216
4447
|
api.add_operation(:update_group, Seahorse::Model::Operation.new.tap do |o|
|
|
4217
4448
|
o.name = "UpdateGroup"
|
|
4218
4449
|
o.http_method = "POST"
|
data/lib/aws-sdk-iam/errors.rb
CHANGED
|
@@ -47,6 +47,10 @@ module Aws::IAM
|
|
|
47
47
|
# * This error class is not used. `EntityAlreadyExists` is used during parsing instead.
|
|
48
48
|
# * {EntityTemporarilyUnmodifiableException}
|
|
49
49
|
# * This error class is not used. `EntityTemporarilyUnmodifiable` is used during parsing instead.
|
|
50
|
+
# * {FeatureDisabledException}
|
|
51
|
+
# * This error class is not used. `FeatureDisabled` is used during parsing instead.
|
|
52
|
+
# * {FeatureEnabledException}
|
|
53
|
+
# * This error class is not used. `FeatureEnabled` is used during parsing instead.
|
|
50
54
|
# * {InvalidAuthenticationCodeException}
|
|
51
55
|
# * This error class is not used. `InvalidAuthenticationCode` is used during parsing instead.
|
|
52
56
|
# * {InvalidCertificateException}
|
|
@@ -268,6 +272,40 @@ module Aws::IAM
|
|
|
268
272
|
end
|
|
269
273
|
end
|
|
270
274
|
|
|
275
|
+
# @deprecated This error class is not used during parsing.
|
|
276
|
+
# Please use `FeatureDisabled` instead.
|
|
277
|
+
class FeatureDisabledException < ServiceError
|
|
278
|
+
|
|
279
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
280
|
+
# @param [String] message
|
|
281
|
+
# @param [Aws::IAM::Types::FeatureDisabledException] data
|
|
282
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
283
|
+
super(context, message, data)
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# @return [String]
|
|
287
|
+
def message
|
|
288
|
+
@message || @data[:message]
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# @deprecated This error class is not used during parsing.
|
|
293
|
+
# Please use `FeatureEnabled` instead.
|
|
294
|
+
class FeatureEnabledException < ServiceError
|
|
295
|
+
|
|
296
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
297
|
+
# @param [String] message
|
|
298
|
+
# @param [Aws::IAM::Types::FeatureEnabledException] data
|
|
299
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
300
|
+
super(context, message, data)
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# @return [String]
|
|
304
|
+
def message
|
|
305
|
+
@message || @data[:message]
|
|
306
|
+
end
|
|
307
|
+
end
|
|
308
|
+
|
|
271
309
|
# @deprecated This error class is not used during parsing.
|
|
272
310
|
# Please use `InvalidAuthenticationCode` instead.
|
|
273
311
|
class InvalidAuthenticationCodeException < ServiceError
|
data/lib/aws-sdk-iam/policy.rb
CHANGED
|
@@ -558,10 +558,9 @@ module Aws::IAM
|
|
|
558
558
|
# @option options [String] :policy_usage_filter
|
|
559
559
|
# The policy usage method to use for filtering the results.
|
|
560
560
|
#
|
|
561
|
-
# To list only permissions policies,
|
|
562
|
-
#
|
|
563
|
-
#
|
|
564
|
-
# to `PermissionsBoundary`.
|
|
561
|
+
# To list only permissions policies, set `PolicyUsageFilter` to
|
|
562
|
+
# `PermissionsPolicy`. To list only the policies used to set permissions
|
|
563
|
+
# boundaries, set the value to `PermissionsBoundary`.
|
|
565
564
|
#
|
|
566
565
|
# This parameter is optional. If it is not included, all policies are
|
|
567
566
|
# returned.
|
|
@@ -615,10 +614,9 @@ module Aws::IAM
|
|
|
615
614
|
# @option options [String] :policy_usage_filter
|
|
616
615
|
# The policy usage method to use for filtering the results.
|
|
617
616
|
#
|
|
618
|
-
# To list only permissions policies,
|
|
619
|
-
#
|
|
620
|
-
#
|
|
621
|
-
# to `PermissionsBoundary`.
|
|
617
|
+
# To list only permissions policies, set `PolicyUsageFilter` to
|
|
618
|
+
# `PermissionsPolicy`. To list only the policies used to set permissions
|
|
619
|
+
# boundaries, set the value to `PermissionsBoundary`.
|
|
622
620
|
#
|
|
623
621
|
# This parameter is optional. If it is not included, all policies are
|
|
624
622
|
# returned.
|
|
@@ -672,10 +670,9 @@ module Aws::IAM
|
|
|
672
670
|
# @option options [String] :policy_usage_filter
|
|
673
671
|
# The policy usage method to use for filtering the results.
|
|
674
672
|
#
|
|
675
|
-
# To list only permissions policies,
|
|
676
|
-
#
|
|
677
|
-
#
|
|
678
|
-
# to `PermissionsBoundary`.
|
|
673
|
+
# To list only permissions policies, set `PolicyUsageFilter` to
|
|
674
|
+
# `PermissionsPolicy`. To list only the policies used to set permissions
|
|
675
|
+
# boundaries, set the value to `PermissionsBoundary`.
|
|
679
676
|
#
|
|
680
677
|
# This parameter is optional. If it is not included, all policies are
|
|
681
678
|
# returned.
|
data/lib/aws-sdk-iam/resource.rb
CHANGED
|
@@ -1136,10 +1136,9 @@ module Aws::IAM
|
|
|
1136
1136
|
# @option options [String] :policy_usage_filter
|
|
1137
1137
|
# The policy usage method to use for filtering the results.
|
|
1138
1138
|
#
|
|
1139
|
-
# To list only permissions policies,
|
|
1140
|
-
#
|
|
1141
|
-
#
|
|
1142
|
-
# to `PermissionsBoundary`.
|
|
1139
|
+
# To list only permissions policies, set `PolicyUsageFilter` to
|
|
1140
|
+
# `PermissionsPolicy`. To list only the policies used to set permissions
|
|
1141
|
+
# boundaries, set the value to `PermissionsBoundary`.
|
|
1143
1142
|
#
|
|
1144
1143
|
# This parameter is optional. If it is not included, all policies are
|
|
1145
1144
|
# returned.
|