aws-sdk-iam 1.119.0 → 1.121.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 +1 -1
- data/lib/aws-sdk-iam/client_api.rb +28 -28
- data/lib/aws-sdk-iam/endpoint_parameters.rb +9 -9
- data/lib/aws-sdk-iam/endpoint_provider.rb +32 -17
- data/lib/aws-sdk-iam.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc423356a34935e693c074b609a9d3e4c546e0d794f90234a900e82a5013ba80
|
4
|
+
data.tar.gz: 5d5721e3673211d3b1dd161e9d2115557e3d0c9ea01632c94fc459a7e05df331
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b922d0aa295260bebb68be942286384e99b00acd6ff0e10df8d80fb8ba3b573f8ddbcafc81de6039aa14cbd4ae0fddfcab4f3e89d5054f13d7c7327fe16409c8
|
7
|
+
data.tar.gz: 287ca7df986e02f6aafbe82a687ae3e05f724f42ed50ef61bc8d63f17dc4a3847b9759f2e98d5aae597a458126ec4e79ebb49032d39b0228f5fa5b94ed4ee7bb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.121.0 (2025-05-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.120.0 (2025-03-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Update IAM dual-stack endpoints for BJS, IAD and PDT partitions
|
13
|
+
|
4
14
|
1.119.0 (2025-03-04)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.121.0
|
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -13870,7 +13870,7 @@ module Aws::IAM
|
|
13870
13870
|
tracer: tracer
|
13871
13871
|
)
|
13872
13872
|
context[:gem_name] = 'aws-sdk-iam'
|
13873
|
-
context[:gem_version] = '1.
|
13873
|
+
context[:gem_version] = '1.121.0'
|
13874
13874
|
Seahorse::Client::Request.new(handlers, context)
|
13875
13875
|
end
|
13876
13876
|
|
@@ -39,7 +39,7 @@ module Aws::IAM
|
|
39
39
|
CertificationValueType = Shapes::StringShape.new(name: 'CertificationValueType')
|
40
40
|
ChangePasswordRequest = Shapes::StructureShape.new(name: 'ChangePasswordRequest')
|
41
41
|
ColumnNumber = Shapes::IntegerShape.new(name: 'ColumnNumber')
|
42
|
-
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException', error: {"code"=>"ConcurrentModification", "httpStatusCode"=>409, "senderFault"=>true})
|
42
|
+
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException', error: {"code" => "ConcurrentModification", "httpStatusCode" => 409, "senderFault" => true})
|
43
43
|
ConcurrentModificationMessage = Shapes::StringShape.new(name: 'ConcurrentModificationMessage')
|
44
44
|
ContextEntry = Shapes::StructureShape.new(name: 'ContextEntry')
|
45
45
|
ContextEntryListType = Shapes::ListShape.new(name: 'ContextEntryListType')
|
@@ -75,13 +75,13 @@ module Aws::IAM
|
|
75
75
|
CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
|
76
76
|
CreateVirtualMFADeviceRequest = Shapes::StructureShape.new(name: 'CreateVirtualMFADeviceRequest')
|
77
77
|
CreateVirtualMFADeviceResponse = Shapes::StructureShape.new(name: 'CreateVirtualMFADeviceResponse')
|
78
|
-
CredentialReportExpiredException = Shapes::StructureShape.new(name: 'CredentialReportExpiredException', error: {"code"=>"ReportExpired", "httpStatusCode"=>410, "senderFault"=>true})
|
79
|
-
CredentialReportNotPresentException = Shapes::StructureShape.new(name: 'CredentialReportNotPresentException', error: {"code"=>"ReportNotPresent", "httpStatusCode"=>410, "senderFault"=>true})
|
80
|
-
CredentialReportNotReadyException = Shapes::StructureShape.new(name: 'CredentialReportNotReadyException', error: {"code"=>"ReportInProgress", "httpStatusCode"=>404, "senderFault"=>true})
|
78
|
+
CredentialReportExpiredException = Shapes::StructureShape.new(name: 'CredentialReportExpiredException', error: {"code" => "ReportExpired", "httpStatusCode" => 410, "senderFault" => true})
|
79
|
+
CredentialReportNotPresentException = Shapes::StructureShape.new(name: 'CredentialReportNotPresentException', error: {"code" => "ReportNotPresent", "httpStatusCode" => 410, "senderFault" => true})
|
80
|
+
CredentialReportNotReadyException = Shapes::StructureShape.new(name: 'CredentialReportNotReadyException', error: {"code" => "ReportInProgress", "httpStatusCode" => 404, "senderFault" => true})
|
81
81
|
DeactivateMFADeviceRequest = Shapes::StructureShape.new(name: 'DeactivateMFADeviceRequest')
|
82
82
|
DeleteAccessKeyRequest = Shapes::StructureShape.new(name: 'DeleteAccessKeyRequest')
|
83
83
|
DeleteAccountAliasRequest = Shapes::StructureShape.new(name: 'DeleteAccountAliasRequest')
|
84
|
-
DeleteConflictException = Shapes::StructureShape.new(name: 'DeleteConflictException', error: {"code"=>"DeleteConflict", "httpStatusCode"=>409, "senderFault"=>true})
|
84
|
+
DeleteConflictException = Shapes::StructureShape.new(name: 'DeleteConflictException', error: {"code" => "DeleteConflict", "httpStatusCode" => 409, "senderFault" => true})
|
85
85
|
DeleteGroupPolicyRequest = Shapes::StructureShape.new(name: 'DeleteGroupPolicyRequest')
|
86
86
|
DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
|
87
87
|
DeleteInstanceProfileRequest = Shapes::StructureShape.new(name: 'DeleteInstanceProfileRequest')
|
@@ -113,17 +113,17 @@ module Aws::IAM
|
|
113
113
|
DisableOrganizationsRootCredentialsManagementResponse = Shapes::StructureShape.new(name: 'DisableOrganizationsRootCredentialsManagementResponse')
|
114
114
|
DisableOrganizationsRootSessionsRequest = Shapes::StructureShape.new(name: 'DisableOrganizationsRootSessionsRequest')
|
115
115
|
DisableOrganizationsRootSessionsResponse = Shapes::StructureShape.new(name: 'DisableOrganizationsRootSessionsResponse')
|
116
|
-
DuplicateCertificateException = Shapes::StructureShape.new(name: 'DuplicateCertificateException', error: {"code"=>"DuplicateCertificate", "httpStatusCode"=>409, "senderFault"=>true})
|
117
|
-
DuplicateSSHPublicKeyException = Shapes::StructureShape.new(name: 'DuplicateSSHPublicKeyException', error: {"code"=>"DuplicateSSHPublicKey", "httpStatusCode"=>400, "senderFault"=>true})
|
116
|
+
DuplicateCertificateException = Shapes::StructureShape.new(name: 'DuplicateCertificateException', error: {"code" => "DuplicateCertificate", "httpStatusCode" => 409, "senderFault" => true})
|
117
|
+
DuplicateSSHPublicKeyException = Shapes::StructureShape.new(name: 'DuplicateSSHPublicKeyException', error: {"code" => "DuplicateSSHPublicKey", "httpStatusCode" => 400, "senderFault" => true})
|
118
118
|
EnableMFADeviceRequest = Shapes::StructureShape.new(name: 'EnableMFADeviceRequest')
|
119
119
|
EnableOrganizationsRootCredentialsManagementRequest = Shapes::StructureShape.new(name: 'EnableOrganizationsRootCredentialsManagementRequest')
|
120
120
|
EnableOrganizationsRootCredentialsManagementResponse = Shapes::StructureShape.new(name: 'EnableOrganizationsRootCredentialsManagementResponse')
|
121
121
|
EnableOrganizationsRootSessionsRequest = Shapes::StructureShape.new(name: 'EnableOrganizationsRootSessionsRequest')
|
122
122
|
EnableOrganizationsRootSessionsResponse = Shapes::StructureShape.new(name: 'EnableOrganizationsRootSessionsResponse')
|
123
|
-
EntityAlreadyExistsException = Shapes::StructureShape.new(name: 'EntityAlreadyExistsException', error: {"code"=>"EntityAlreadyExists", "httpStatusCode"=>409, "senderFault"=>true})
|
123
|
+
EntityAlreadyExistsException = Shapes::StructureShape.new(name: 'EntityAlreadyExistsException', error: {"code" => "EntityAlreadyExists", "httpStatusCode" => 409, "senderFault" => true})
|
124
124
|
EntityDetails = Shapes::StructureShape.new(name: 'EntityDetails')
|
125
125
|
EntityInfo = Shapes::StructureShape.new(name: 'EntityInfo')
|
126
|
-
EntityTemporarilyUnmodifiableException = Shapes::StructureShape.new(name: 'EntityTemporarilyUnmodifiableException', error: {"code"=>"EntityTemporarilyUnmodifiable", "httpStatusCode"=>409, "senderFault"=>true})
|
126
|
+
EntityTemporarilyUnmodifiableException = Shapes::StructureShape.new(name: 'EntityTemporarilyUnmodifiableException', error: {"code" => "EntityTemporarilyUnmodifiable", "httpStatusCode" => 409, "senderFault" => true})
|
127
127
|
EntityType = Shapes::StringShape.new(name: 'EntityType')
|
128
128
|
ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
|
129
129
|
EvalDecisionDetailsType = Shapes::MapShape.new(name: 'EvalDecisionDetailsType')
|
@@ -188,13 +188,13 @@ module Aws::IAM
|
|
188
188
|
Group = Shapes::StructureShape.new(name: 'Group')
|
189
189
|
GroupDetail = Shapes::StructureShape.new(name: 'GroupDetail')
|
190
190
|
InstanceProfile = Shapes::StructureShape.new(name: 'InstanceProfile')
|
191
|
-
InvalidAuthenticationCodeException = Shapes::StructureShape.new(name: 'InvalidAuthenticationCodeException', error: {"code"=>"InvalidAuthenticationCode", "httpStatusCode"=>403, "senderFault"=>true})
|
192
|
-
InvalidCertificateException = Shapes::StructureShape.new(name: 'InvalidCertificateException', error: {"code"=>"InvalidCertificate", "httpStatusCode"=>400, "senderFault"=>true})
|
193
|
-
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException', error: {"code"=>"InvalidInput", "httpStatusCode"=>400, "senderFault"=>true})
|
194
|
-
InvalidPublicKeyException = Shapes::StructureShape.new(name: 'InvalidPublicKeyException', error: {"code"=>"InvalidPublicKey", "httpStatusCode"=>400, "senderFault"=>true})
|
195
|
-
InvalidUserTypeException = Shapes::StructureShape.new(name: 'InvalidUserTypeException', error: {"code"=>"InvalidUserType", "httpStatusCode"=>400, "senderFault"=>true})
|
196
|
-
KeyPairMismatchException = Shapes::StructureShape.new(name: 'KeyPairMismatchException', error: {"code"=>"KeyPairMismatch", "httpStatusCode"=>400, "senderFault"=>true})
|
197
|
-
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException', error: {"code"=>"LimitExceeded", "httpStatusCode"=>409, "senderFault"=>true})
|
191
|
+
InvalidAuthenticationCodeException = Shapes::StructureShape.new(name: 'InvalidAuthenticationCodeException', error: {"code" => "InvalidAuthenticationCode", "httpStatusCode" => 403, "senderFault" => true})
|
192
|
+
InvalidCertificateException = Shapes::StructureShape.new(name: 'InvalidCertificateException', error: {"code" => "InvalidCertificate", "httpStatusCode" => 400, "senderFault" => true})
|
193
|
+
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException', error: {"code" => "InvalidInput", "httpStatusCode" => 400, "senderFault" => true})
|
194
|
+
InvalidPublicKeyException = Shapes::StructureShape.new(name: 'InvalidPublicKeyException', error: {"code" => "InvalidPublicKey", "httpStatusCode" => 400, "senderFault" => true})
|
195
|
+
InvalidUserTypeException = Shapes::StructureShape.new(name: 'InvalidUserTypeException', error: {"code" => "InvalidUserType", "httpStatusCode" => 400, "senderFault" => true})
|
196
|
+
KeyPairMismatchException = Shapes::StructureShape.new(name: 'KeyPairMismatchException', error: {"code" => "KeyPairMismatch", "httpStatusCode" => 400, "senderFault" => true})
|
197
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException', error: {"code" => "LimitExceeded", "httpStatusCode" => 409, "senderFault" => true})
|
198
198
|
LineNumber = Shapes::IntegerShape.new(name: 'LineNumber')
|
199
199
|
ListAccessKeysRequest = Shapes::StructureShape.new(name: 'ListAccessKeysRequest')
|
200
200
|
ListAccessKeysResponse = Shapes::StructureShape.new(name: 'ListAccessKeysResponse')
|
@@ -269,32 +269,32 @@ module Aws::IAM
|
|
269
269
|
ListVirtualMFADevicesResponse = Shapes::StructureShape.new(name: 'ListVirtualMFADevicesResponse')
|
270
270
|
LoginProfile = Shapes::StructureShape.new(name: 'LoginProfile')
|
271
271
|
MFADevice = Shapes::StructureShape.new(name: 'MFADevice')
|
272
|
-
MalformedCertificateException = Shapes::StructureShape.new(name: 'MalformedCertificateException', error: {"code"=>"MalformedCertificate", "httpStatusCode"=>400, "senderFault"=>true})
|
273
|
-
MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException', error: {"code"=>"MalformedPolicyDocument", "httpStatusCode"=>400, "senderFault"=>true})
|
272
|
+
MalformedCertificateException = Shapes::StructureShape.new(name: 'MalformedCertificateException', error: {"code" => "MalformedCertificate", "httpStatusCode" => 400, "senderFault" => true})
|
273
|
+
MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException', error: {"code" => "MalformedPolicyDocument", "httpStatusCode" => 400, "senderFault" => true})
|
274
274
|
ManagedPolicyDetail = Shapes::StructureShape.new(name: 'ManagedPolicyDetail')
|
275
275
|
ManagedPolicyDetailListType = Shapes::ListShape.new(name: 'ManagedPolicyDetailListType')
|
276
|
-
NoSuchEntityException = Shapes::StructureShape.new(name: 'NoSuchEntityException', error: {"code"=>"NoSuchEntity", "httpStatusCode"=>404, "senderFault"=>true})
|
276
|
+
NoSuchEntityException = Shapes::StructureShape.new(name: 'NoSuchEntityException', error: {"code" => "NoSuchEntity", "httpStatusCode" => 404, "senderFault" => true})
|
277
277
|
OpenIDConnectProviderListEntry = Shapes::StructureShape.new(name: 'OpenIDConnectProviderListEntry')
|
278
278
|
OpenIDConnectProviderListType = Shapes::ListShape.new(name: 'OpenIDConnectProviderListType')
|
279
279
|
OpenIDConnectProviderUrlType = Shapes::StringShape.new(name: 'OpenIDConnectProviderUrlType')
|
280
|
-
OpenIdIdpCommunicationErrorException = Shapes::StructureShape.new(name: 'OpenIdIdpCommunicationErrorException', error: {"code"=>"OpenIdIdpCommunicationError", "httpStatusCode"=>400, "senderFault"=>true})
|
280
|
+
OpenIdIdpCommunicationErrorException = Shapes::StructureShape.new(name: 'OpenIdIdpCommunicationErrorException', error: {"code" => "OpenIdIdpCommunicationError", "httpStatusCode" => 400, "senderFault" => true})
|
281
281
|
OrganizationIdType = Shapes::StringShape.new(name: 'OrganizationIdType')
|
282
282
|
OrganizationNotFoundException = Shapes::StructureShape.new(name: 'OrganizationNotFoundException')
|
283
283
|
OrganizationNotInAllFeaturesModeException = Shapes::StructureShape.new(name: 'OrganizationNotInAllFeaturesModeException')
|
284
284
|
OrganizationsDecisionDetail = Shapes::StructureShape.new(name: 'OrganizationsDecisionDetail')
|
285
285
|
PasswordPolicy = Shapes::StructureShape.new(name: 'PasswordPolicy')
|
286
|
-
PasswordPolicyViolationException = Shapes::StructureShape.new(name: 'PasswordPolicyViolationException', error: {"code"=>"PasswordPolicyViolation", "httpStatusCode"=>400, "senderFault"=>true})
|
286
|
+
PasswordPolicyViolationException = Shapes::StructureShape.new(name: 'PasswordPolicyViolationException', error: {"code" => "PasswordPolicyViolation", "httpStatusCode" => 400, "senderFault" => true})
|
287
287
|
PermissionsBoundaryAttachmentType = Shapes::StringShape.new(name: 'PermissionsBoundaryAttachmentType')
|
288
288
|
PermissionsBoundaryDecisionDetail = Shapes::StructureShape.new(name: 'PermissionsBoundaryDecisionDetail')
|
289
289
|
Policy = Shapes::StructureShape.new(name: 'Policy')
|
290
290
|
PolicyDetail = Shapes::StructureShape.new(name: 'PolicyDetail')
|
291
291
|
PolicyEvaluationDecisionType = Shapes::StringShape.new(name: 'PolicyEvaluationDecisionType')
|
292
|
-
PolicyEvaluationException = Shapes::StructureShape.new(name: 'PolicyEvaluationException', error: {"code"=>"PolicyEvaluation", "httpStatusCode"=>500})
|
292
|
+
PolicyEvaluationException = Shapes::StructureShape.new(name: 'PolicyEvaluationException', error: {"code" => "PolicyEvaluation", "httpStatusCode" => 500})
|
293
293
|
PolicyGrantingServiceAccess = Shapes::StructureShape.new(name: 'PolicyGrantingServiceAccess')
|
294
294
|
PolicyGroup = Shapes::StructureShape.new(name: 'PolicyGroup')
|
295
295
|
PolicyGroupListType = Shapes::ListShape.new(name: 'PolicyGroupListType')
|
296
296
|
PolicyIdentifierType = Shapes::StringShape.new(name: 'PolicyIdentifierType')
|
297
|
-
PolicyNotAttachableException = Shapes::StructureShape.new(name: 'PolicyNotAttachableException', error: {"code"=>"PolicyNotAttachable", "httpStatusCode"=>400, "senderFault"=>true})
|
297
|
+
PolicyNotAttachableException = Shapes::StructureShape.new(name: 'PolicyNotAttachableException', error: {"code" => "PolicyNotAttachable", "httpStatusCode" => 400, "senderFault" => true})
|
298
298
|
PolicyRole = Shapes::StructureShape.new(name: 'PolicyRole')
|
299
299
|
PolicyRoleListType = Shapes::ListShape.new(name: 'PolicyRoleListType')
|
300
300
|
PolicySourceType = Shapes::StringShape.new(name: 'PolicySourceType')
|
@@ -315,7 +315,7 @@ module Aws::IAM
|
|
315
315
|
RemoveUserFromGroupRequest = Shapes::StructureShape.new(name: 'RemoveUserFromGroupRequest')
|
316
316
|
ReportContentType = Shapes::BlobShape.new(name: 'ReportContentType')
|
317
317
|
ReportFormatType = Shapes::StringShape.new(name: 'ReportFormatType')
|
318
|
-
ReportGenerationLimitExceededException = Shapes::StructureShape.new(name: 'ReportGenerationLimitExceededException', error: {"code"=>"ReportGenerationLimitExceeded", "httpStatusCode"=>409, "senderFault"=>true})
|
318
|
+
ReportGenerationLimitExceededException = Shapes::StructureShape.new(name: 'ReportGenerationLimitExceededException', error: {"code" => "ReportGenerationLimitExceeded", "httpStatusCode" => 409, "senderFault" => true})
|
319
319
|
ReportStateDescriptionType = Shapes::StringShape.new(name: 'ReportStateDescriptionType')
|
320
320
|
ReportStateType = Shapes::StringShape.new(name: 'ReportStateType')
|
321
321
|
ResetServiceSpecificCredentialRequest = Shapes::StructureShape.new(name: 'ResetServiceSpecificCredentialRequest')
|
@@ -342,9 +342,9 @@ module Aws::IAM
|
|
342
342
|
ServerCertificate = Shapes::StructureShape.new(name: 'ServerCertificate')
|
343
343
|
ServerCertificateMetadata = Shapes::StructureShape.new(name: 'ServerCertificateMetadata')
|
344
344
|
ServiceAccessNotEnabledException = Shapes::StructureShape.new(name: 'ServiceAccessNotEnabledException')
|
345
|
-
ServiceFailureException = Shapes::StructureShape.new(name: 'ServiceFailureException', error: {"code"=>"ServiceFailure", "httpStatusCode"=>500})
|
345
|
+
ServiceFailureException = Shapes::StructureShape.new(name: 'ServiceFailureException', error: {"code" => "ServiceFailure", "httpStatusCode" => 500})
|
346
346
|
ServiceLastAccessed = Shapes::StructureShape.new(name: 'ServiceLastAccessed')
|
347
|
-
ServiceNotSupportedException = Shapes::StructureShape.new(name: 'ServiceNotSupportedException', error: {"code"=>"NotSupportedService", "httpStatusCode"=>404, "senderFault"=>true})
|
347
|
+
ServiceNotSupportedException = Shapes::StructureShape.new(name: 'ServiceNotSupportedException', error: {"code" => "NotSupportedService", "httpStatusCode" => 404, "senderFault" => true})
|
348
348
|
ServiceSpecificCredential = Shapes::StructureShape.new(name: 'ServiceSpecificCredential')
|
349
349
|
ServiceSpecificCredentialMetadata = Shapes::StructureShape.new(name: 'ServiceSpecificCredentialMetadata')
|
350
350
|
ServiceSpecificCredentialsListType = Shapes::ListShape.new(name: 'ServiceSpecificCredentialsListType')
|
@@ -369,8 +369,8 @@ module Aws::IAM
|
|
369
369
|
TagUserRequest = Shapes::StructureShape.new(name: 'TagUserRequest')
|
370
370
|
TrackedActionLastAccessed = Shapes::StructureShape.new(name: 'TrackedActionLastAccessed')
|
371
371
|
TrackedActionsLastAccessed = Shapes::ListShape.new(name: 'TrackedActionsLastAccessed')
|
372
|
-
UnmodifiableEntityException = Shapes::StructureShape.new(name: 'UnmodifiableEntityException', error: {"code"=>"UnmodifiableEntity", "httpStatusCode"=>400, "senderFault"=>true})
|
373
|
-
UnrecognizedPublicKeyEncodingException = Shapes::StructureShape.new(name: 'UnrecognizedPublicKeyEncodingException', error: {"code"=>"UnrecognizedPublicKeyEncoding", "httpStatusCode"=>400, "senderFault"=>true})
|
372
|
+
UnmodifiableEntityException = Shapes::StructureShape.new(name: 'UnmodifiableEntityException', error: {"code" => "UnmodifiableEntity", "httpStatusCode" => 400, "senderFault" => true})
|
373
|
+
UnrecognizedPublicKeyEncodingException = Shapes::StructureShape.new(name: 'UnrecognizedPublicKeyEncodingException', error: {"code" => "UnrecognizedPublicKeyEncoding", "httpStatusCode" => 400, "senderFault" => true})
|
374
374
|
UntagInstanceProfileRequest = Shapes::StructureShape.new(name: 'UntagInstanceProfileRequest')
|
375
375
|
UntagMFADeviceRequest = Shapes::StructureShape.new(name: 'UntagMFADeviceRequest')
|
376
376
|
UntagOpenIDConnectProviderRequest = Shapes::StructureShape.new(name: 'UntagOpenIDConnectProviderRequest')
|
@@ -10,11 +10,6 @@
|
|
10
10
|
module Aws::IAM
|
11
11
|
# Endpoint parameters used to influence endpoints per request.
|
12
12
|
#
|
13
|
-
# @!attribute region
|
14
|
-
# The AWS region used to dispatch the request.
|
15
|
-
#
|
16
|
-
# @return [String]
|
17
|
-
#
|
18
13
|
# @!attribute use_dual_stack
|
19
14
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
15
|
#
|
@@ -30,39 +25,44 @@ module Aws::IAM
|
|
30
25
|
#
|
31
26
|
# @return [String]
|
32
27
|
#
|
28
|
+
# @!attribute region
|
29
|
+
# The AWS region used to dispatch the request.
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
33
|
EndpointParameters = Struct.new(
|
34
|
-
:region,
|
35
34
|
:use_dual_stack,
|
36
35
|
:use_fips,
|
37
36
|
:endpoint,
|
37
|
+
:region,
|
38
38
|
) do
|
39
39
|
include Aws::Structure
|
40
40
|
|
41
41
|
# @api private
|
42
42
|
class << self
|
43
43
|
PARAM_MAP = {
|
44
|
-
'Region' => :region,
|
45
44
|
'UseDualStack' => :use_dual_stack,
|
46
45
|
'UseFIPS' => :use_fips,
|
47
46
|
'Endpoint' => :endpoint,
|
47
|
+
'Region' => :region,
|
48
48
|
}.freeze
|
49
49
|
end
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
|
-
self[:region] = options[:region]
|
53
52
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
53
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
54
|
self[:use_fips] = options[:use_fips]
|
56
55
|
self[:use_fips] = false if self[:use_fips].nil?
|
57
56
|
self[:endpoint] = options[:endpoint]
|
57
|
+
self[:region] = options[:region]
|
58
58
|
end
|
59
59
|
|
60
60
|
def self.create(config, options={})
|
61
61
|
new({
|
62
|
-
region: config.region,
|
63
62
|
use_dual_stack: config.use_dualstack_endpoint,
|
64
63
|
use_fips: config.use_fips_endpoint,
|
65
64
|
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
65
|
+
region: config.region,
|
66
66
|
}.merge(options))
|
67
67
|
end
|
68
68
|
end
|
@@ -21,52 +21,67 @@ module Aws::IAM
|
|
21
21
|
end
|
22
22
|
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
23
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack,
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.
|
24
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.global.api.aws", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-east-1"}]})
|
26
26
|
end
|
27
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack,
|
28
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.
|
27
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
28
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.global.api.aws", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-east-1"}]})
|
29
|
+
end
|
30
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
31
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.global.api.amazonwebservices.com.cn", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "cn-north-1"}]})
|
29
32
|
end
|
30
33
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
31
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.cn-north-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
34
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.cn-north-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "cn-north-1"}]})
|
35
|
+
end
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.api.aws", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-gov-west-1"}]})
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.api.aws", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-gov-west-1"}]})
|
32
41
|
end
|
33
42
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
34
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-gov-west-1"}]})
|
35
44
|
end
|
36
45
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
37
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-gov-west-1"}]})
|
38
47
|
end
|
39
48
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
40
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-iso-east-1"}]})
|
50
|
+
end
|
51
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
52
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-iso-east-1"}]})
|
41
53
|
end
|
42
54
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
43
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
55
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-isob-east-1"}]})
|
56
|
+
end
|
57
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
58
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-isob-east-1"}]})
|
44
59
|
end
|
45
60
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-e") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.eu-isoe-west-1.cloud.adc-e.uk", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
61
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.eu-isoe-west-1.cloud.adc-e.uk", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "eu-isoe-west-1"}]})
|
47
62
|
end
|
48
63
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-f") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
49
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-isof-south-1.csp.hci.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "
|
64
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-isof-south-1.csp.hci.ic.gov", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "us-isof-south-1"}]})
|
50
65
|
end
|
51
66
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
52
67
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
53
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.#{
|
68
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "#{partition_result['implicitGlobalRegion']}"}]})
|
54
69
|
end
|
55
70
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
56
71
|
end
|
57
|
-
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
72
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
58
73
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
59
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.#{
|
74
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "#{partition_result['implicitGlobalRegion']}"}]})
|
60
75
|
end
|
61
76
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
62
77
|
end
|
63
|
-
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
78
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
64
79
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
65
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.#{
|
80
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "#{partition_result['implicitGlobalRegion']}"}]})
|
66
81
|
end
|
67
82
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
68
83
|
end
|
69
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.#{
|
84
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingRegion" => "#{partition_result['implicitGlobalRegion']}"}]})
|
70
85
|
end
|
71
86
|
end
|
72
87
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
data/lib/aws-sdk-iam.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.121.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: aws-sdk-core
|
@@ -121,7 +120,6 @@ licenses:
|
|
121
120
|
metadata:
|
122
121
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iam
|
123
122
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iam/CHANGELOG.md
|
124
|
-
post_install_message:
|
125
123
|
rdoc_options: []
|
126
124
|
require_paths:
|
127
125
|
- lib
|
@@ -136,8 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
134
|
- !ruby/object:Gem::Version
|
137
135
|
version: '0'
|
138
136
|
requirements: []
|
139
|
-
rubygems_version: 3.
|
140
|
-
signing_key:
|
137
|
+
rubygems_version: 3.6.7
|
141
138
|
specification_version: 4
|
142
139
|
summary: AWS SDK for Ruby - IAM
|
143
140
|
test_files: []
|