aws-sdk-iam 1.70.0 → 1.72.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 +26 -6
- data/lib/aws-sdk-iam/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-iam/endpoint_provider.rb +351 -0
- data/lib/aws-sdk-iam/endpoints.rb +2227 -0
- data/lib/aws-sdk-iam/plugins/endpoints.rb +384 -0
- data/lib/aws-sdk-iam/types.rb +12 -12
- data/lib/aws-sdk-iam.rb +5 -1
- metadata +8 -4
@@ -0,0 +1,384 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::IAM
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::IAM::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::IAM::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::IAM::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :add_client_id_to_open_id_connect_provider
|
60
|
+
Aws::IAM::Endpoints::AddClientIDToOpenIDConnectProvider.build(context)
|
61
|
+
when :add_role_to_instance_profile
|
62
|
+
Aws::IAM::Endpoints::AddRoleToInstanceProfile.build(context)
|
63
|
+
when :add_user_to_group
|
64
|
+
Aws::IAM::Endpoints::AddUserToGroup.build(context)
|
65
|
+
when :attach_group_policy
|
66
|
+
Aws::IAM::Endpoints::AttachGroupPolicy.build(context)
|
67
|
+
when :attach_role_policy
|
68
|
+
Aws::IAM::Endpoints::AttachRolePolicy.build(context)
|
69
|
+
when :attach_user_policy
|
70
|
+
Aws::IAM::Endpoints::AttachUserPolicy.build(context)
|
71
|
+
when :change_password
|
72
|
+
Aws::IAM::Endpoints::ChangePassword.build(context)
|
73
|
+
when :create_access_key
|
74
|
+
Aws::IAM::Endpoints::CreateAccessKey.build(context)
|
75
|
+
when :create_account_alias
|
76
|
+
Aws::IAM::Endpoints::CreateAccountAlias.build(context)
|
77
|
+
when :create_group
|
78
|
+
Aws::IAM::Endpoints::CreateGroup.build(context)
|
79
|
+
when :create_instance_profile
|
80
|
+
Aws::IAM::Endpoints::CreateInstanceProfile.build(context)
|
81
|
+
when :create_login_profile
|
82
|
+
Aws::IAM::Endpoints::CreateLoginProfile.build(context)
|
83
|
+
when :create_open_id_connect_provider
|
84
|
+
Aws::IAM::Endpoints::CreateOpenIDConnectProvider.build(context)
|
85
|
+
when :create_policy
|
86
|
+
Aws::IAM::Endpoints::CreatePolicy.build(context)
|
87
|
+
when :create_policy_version
|
88
|
+
Aws::IAM::Endpoints::CreatePolicyVersion.build(context)
|
89
|
+
when :create_role
|
90
|
+
Aws::IAM::Endpoints::CreateRole.build(context)
|
91
|
+
when :create_saml_provider
|
92
|
+
Aws::IAM::Endpoints::CreateSAMLProvider.build(context)
|
93
|
+
when :create_service_linked_role
|
94
|
+
Aws::IAM::Endpoints::CreateServiceLinkedRole.build(context)
|
95
|
+
when :create_service_specific_credential
|
96
|
+
Aws::IAM::Endpoints::CreateServiceSpecificCredential.build(context)
|
97
|
+
when :create_user
|
98
|
+
Aws::IAM::Endpoints::CreateUser.build(context)
|
99
|
+
when :create_virtual_mfa_device
|
100
|
+
Aws::IAM::Endpoints::CreateVirtualMFADevice.build(context)
|
101
|
+
when :deactivate_mfa_device
|
102
|
+
Aws::IAM::Endpoints::DeactivateMFADevice.build(context)
|
103
|
+
when :delete_access_key
|
104
|
+
Aws::IAM::Endpoints::DeleteAccessKey.build(context)
|
105
|
+
when :delete_account_alias
|
106
|
+
Aws::IAM::Endpoints::DeleteAccountAlias.build(context)
|
107
|
+
when :delete_account_password_policy
|
108
|
+
Aws::IAM::Endpoints::DeleteAccountPasswordPolicy.build(context)
|
109
|
+
when :delete_group
|
110
|
+
Aws::IAM::Endpoints::DeleteGroup.build(context)
|
111
|
+
when :delete_group_policy
|
112
|
+
Aws::IAM::Endpoints::DeleteGroupPolicy.build(context)
|
113
|
+
when :delete_instance_profile
|
114
|
+
Aws::IAM::Endpoints::DeleteInstanceProfile.build(context)
|
115
|
+
when :delete_login_profile
|
116
|
+
Aws::IAM::Endpoints::DeleteLoginProfile.build(context)
|
117
|
+
when :delete_open_id_connect_provider
|
118
|
+
Aws::IAM::Endpoints::DeleteOpenIDConnectProvider.build(context)
|
119
|
+
when :delete_policy
|
120
|
+
Aws::IAM::Endpoints::DeletePolicy.build(context)
|
121
|
+
when :delete_policy_version
|
122
|
+
Aws::IAM::Endpoints::DeletePolicyVersion.build(context)
|
123
|
+
when :delete_role
|
124
|
+
Aws::IAM::Endpoints::DeleteRole.build(context)
|
125
|
+
when :delete_role_permissions_boundary
|
126
|
+
Aws::IAM::Endpoints::DeleteRolePermissionsBoundary.build(context)
|
127
|
+
when :delete_role_policy
|
128
|
+
Aws::IAM::Endpoints::DeleteRolePolicy.build(context)
|
129
|
+
when :delete_saml_provider
|
130
|
+
Aws::IAM::Endpoints::DeleteSAMLProvider.build(context)
|
131
|
+
when :delete_ssh_public_key
|
132
|
+
Aws::IAM::Endpoints::DeleteSSHPublicKey.build(context)
|
133
|
+
when :delete_server_certificate
|
134
|
+
Aws::IAM::Endpoints::DeleteServerCertificate.build(context)
|
135
|
+
when :delete_service_linked_role
|
136
|
+
Aws::IAM::Endpoints::DeleteServiceLinkedRole.build(context)
|
137
|
+
when :delete_service_specific_credential
|
138
|
+
Aws::IAM::Endpoints::DeleteServiceSpecificCredential.build(context)
|
139
|
+
when :delete_signing_certificate
|
140
|
+
Aws::IAM::Endpoints::DeleteSigningCertificate.build(context)
|
141
|
+
when :delete_user
|
142
|
+
Aws::IAM::Endpoints::DeleteUser.build(context)
|
143
|
+
when :delete_user_permissions_boundary
|
144
|
+
Aws::IAM::Endpoints::DeleteUserPermissionsBoundary.build(context)
|
145
|
+
when :delete_user_policy
|
146
|
+
Aws::IAM::Endpoints::DeleteUserPolicy.build(context)
|
147
|
+
when :delete_virtual_mfa_device
|
148
|
+
Aws::IAM::Endpoints::DeleteVirtualMFADevice.build(context)
|
149
|
+
when :detach_group_policy
|
150
|
+
Aws::IAM::Endpoints::DetachGroupPolicy.build(context)
|
151
|
+
when :detach_role_policy
|
152
|
+
Aws::IAM::Endpoints::DetachRolePolicy.build(context)
|
153
|
+
when :detach_user_policy
|
154
|
+
Aws::IAM::Endpoints::DetachUserPolicy.build(context)
|
155
|
+
when :enable_mfa_device
|
156
|
+
Aws::IAM::Endpoints::EnableMFADevice.build(context)
|
157
|
+
when :generate_credential_report
|
158
|
+
Aws::IAM::Endpoints::GenerateCredentialReport.build(context)
|
159
|
+
when :generate_organizations_access_report
|
160
|
+
Aws::IAM::Endpoints::GenerateOrganizationsAccessReport.build(context)
|
161
|
+
when :generate_service_last_accessed_details
|
162
|
+
Aws::IAM::Endpoints::GenerateServiceLastAccessedDetails.build(context)
|
163
|
+
when :get_access_key_last_used
|
164
|
+
Aws::IAM::Endpoints::GetAccessKeyLastUsed.build(context)
|
165
|
+
when :get_account_authorization_details
|
166
|
+
Aws::IAM::Endpoints::GetAccountAuthorizationDetails.build(context)
|
167
|
+
when :get_account_password_policy
|
168
|
+
Aws::IAM::Endpoints::GetAccountPasswordPolicy.build(context)
|
169
|
+
when :get_account_summary
|
170
|
+
Aws::IAM::Endpoints::GetAccountSummary.build(context)
|
171
|
+
when :get_context_keys_for_custom_policy
|
172
|
+
Aws::IAM::Endpoints::GetContextKeysForCustomPolicy.build(context)
|
173
|
+
when :get_context_keys_for_principal_policy
|
174
|
+
Aws::IAM::Endpoints::GetContextKeysForPrincipalPolicy.build(context)
|
175
|
+
when :get_credential_report
|
176
|
+
Aws::IAM::Endpoints::GetCredentialReport.build(context)
|
177
|
+
when :get_group
|
178
|
+
Aws::IAM::Endpoints::GetGroup.build(context)
|
179
|
+
when :get_group_policy
|
180
|
+
Aws::IAM::Endpoints::GetGroupPolicy.build(context)
|
181
|
+
when :get_instance_profile
|
182
|
+
Aws::IAM::Endpoints::GetInstanceProfile.build(context)
|
183
|
+
when :get_login_profile
|
184
|
+
Aws::IAM::Endpoints::GetLoginProfile.build(context)
|
185
|
+
when :get_open_id_connect_provider
|
186
|
+
Aws::IAM::Endpoints::GetOpenIDConnectProvider.build(context)
|
187
|
+
when :get_organizations_access_report
|
188
|
+
Aws::IAM::Endpoints::GetOrganizationsAccessReport.build(context)
|
189
|
+
when :get_policy
|
190
|
+
Aws::IAM::Endpoints::GetPolicy.build(context)
|
191
|
+
when :get_policy_version
|
192
|
+
Aws::IAM::Endpoints::GetPolicyVersion.build(context)
|
193
|
+
when :get_role
|
194
|
+
Aws::IAM::Endpoints::GetRole.build(context)
|
195
|
+
when :get_role_policy
|
196
|
+
Aws::IAM::Endpoints::GetRolePolicy.build(context)
|
197
|
+
when :get_saml_provider
|
198
|
+
Aws::IAM::Endpoints::GetSAMLProvider.build(context)
|
199
|
+
when :get_ssh_public_key
|
200
|
+
Aws::IAM::Endpoints::GetSSHPublicKey.build(context)
|
201
|
+
when :get_server_certificate
|
202
|
+
Aws::IAM::Endpoints::GetServerCertificate.build(context)
|
203
|
+
when :get_service_last_accessed_details
|
204
|
+
Aws::IAM::Endpoints::GetServiceLastAccessedDetails.build(context)
|
205
|
+
when :get_service_last_accessed_details_with_entities
|
206
|
+
Aws::IAM::Endpoints::GetServiceLastAccessedDetailsWithEntities.build(context)
|
207
|
+
when :get_service_linked_role_deletion_status
|
208
|
+
Aws::IAM::Endpoints::GetServiceLinkedRoleDeletionStatus.build(context)
|
209
|
+
when :get_user
|
210
|
+
Aws::IAM::Endpoints::GetUser.build(context)
|
211
|
+
when :get_user_policy
|
212
|
+
Aws::IAM::Endpoints::GetUserPolicy.build(context)
|
213
|
+
when :list_access_keys
|
214
|
+
Aws::IAM::Endpoints::ListAccessKeys.build(context)
|
215
|
+
when :list_account_aliases
|
216
|
+
Aws::IAM::Endpoints::ListAccountAliases.build(context)
|
217
|
+
when :list_attached_group_policies
|
218
|
+
Aws::IAM::Endpoints::ListAttachedGroupPolicies.build(context)
|
219
|
+
when :list_attached_role_policies
|
220
|
+
Aws::IAM::Endpoints::ListAttachedRolePolicies.build(context)
|
221
|
+
when :list_attached_user_policies
|
222
|
+
Aws::IAM::Endpoints::ListAttachedUserPolicies.build(context)
|
223
|
+
when :list_entities_for_policy
|
224
|
+
Aws::IAM::Endpoints::ListEntitiesForPolicy.build(context)
|
225
|
+
when :list_group_policies
|
226
|
+
Aws::IAM::Endpoints::ListGroupPolicies.build(context)
|
227
|
+
when :list_groups
|
228
|
+
Aws::IAM::Endpoints::ListGroups.build(context)
|
229
|
+
when :list_groups_for_user
|
230
|
+
Aws::IAM::Endpoints::ListGroupsForUser.build(context)
|
231
|
+
when :list_instance_profile_tags
|
232
|
+
Aws::IAM::Endpoints::ListInstanceProfileTags.build(context)
|
233
|
+
when :list_instance_profiles
|
234
|
+
Aws::IAM::Endpoints::ListInstanceProfiles.build(context)
|
235
|
+
when :list_instance_profiles_for_role
|
236
|
+
Aws::IAM::Endpoints::ListInstanceProfilesForRole.build(context)
|
237
|
+
when :list_mfa_device_tags
|
238
|
+
Aws::IAM::Endpoints::ListMFADeviceTags.build(context)
|
239
|
+
when :list_mfa_devices
|
240
|
+
Aws::IAM::Endpoints::ListMFADevices.build(context)
|
241
|
+
when :list_open_id_connect_provider_tags
|
242
|
+
Aws::IAM::Endpoints::ListOpenIDConnectProviderTags.build(context)
|
243
|
+
when :list_open_id_connect_providers
|
244
|
+
Aws::IAM::Endpoints::ListOpenIDConnectProviders.build(context)
|
245
|
+
when :list_policies
|
246
|
+
Aws::IAM::Endpoints::ListPolicies.build(context)
|
247
|
+
when :list_policies_granting_service_access
|
248
|
+
Aws::IAM::Endpoints::ListPoliciesGrantingServiceAccess.build(context)
|
249
|
+
when :list_policy_tags
|
250
|
+
Aws::IAM::Endpoints::ListPolicyTags.build(context)
|
251
|
+
when :list_policy_versions
|
252
|
+
Aws::IAM::Endpoints::ListPolicyVersions.build(context)
|
253
|
+
when :list_role_policies
|
254
|
+
Aws::IAM::Endpoints::ListRolePolicies.build(context)
|
255
|
+
when :list_role_tags
|
256
|
+
Aws::IAM::Endpoints::ListRoleTags.build(context)
|
257
|
+
when :list_roles
|
258
|
+
Aws::IAM::Endpoints::ListRoles.build(context)
|
259
|
+
when :list_saml_provider_tags
|
260
|
+
Aws::IAM::Endpoints::ListSAMLProviderTags.build(context)
|
261
|
+
when :list_saml_providers
|
262
|
+
Aws::IAM::Endpoints::ListSAMLProviders.build(context)
|
263
|
+
when :list_ssh_public_keys
|
264
|
+
Aws::IAM::Endpoints::ListSSHPublicKeys.build(context)
|
265
|
+
when :list_server_certificate_tags
|
266
|
+
Aws::IAM::Endpoints::ListServerCertificateTags.build(context)
|
267
|
+
when :list_server_certificates
|
268
|
+
Aws::IAM::Endpoints::ListServerCertificates.build(context)
|
269
|
+
when :list_service_specific_credentials
|
270
|
+
Aws::IAM::Endpoints::ListServiceSpecificCredentials.build(context)
|
271
|
+
when :list_signing_certificates
|
272
|
+
Aws::IAM::Endpoints::ListSigningCertificates.build(context)
|
273
|
+
when :list_user_policies
|
274
|
+
Aws::IAM::Endpoints::ListUserPolicies.build(context)
|
275
|
+
when :list_user_tags
|
276
|
+
Aws::IAM::Endpoints::ListUserTags.build(context)
|
277
|
+
when :list_users
|
278
|
+
Aws::IAM::Endpoints::ListUsers.build(context)
|
279
|
+
when :list_virtual_mfa_devices
|
280
|
+
Aws::IAM::Endpoints::ListVirtualMFADevices.build(context)
|
281
|
+
when :put_group_policy
|
282
|
+
Aws::IAM::Endpoints::PutGroupPolicy.build(context)
|
283
|
+
when :put_role_permissions_boundary
|
284
|
+
Aws::IAM::Endpoints::PutRolePermissionsBoundary.build(context)
|
285
|
+
when :put_role_policy
|
286
|
+
Aws::IAM::Endpoints::PutRolePolicy.build(context)
|
287
|
+
when :put_user_permissions_boundary
|
288
|
+
Aws::IAM::Endpoints::PutUserPermissionsBoundary.build(context)
|
289
|
+
when :put_user_policy
|
290
|
+
Aws::IAM::Endpoints::PutUserPolicy.build(context)
|
291
|
+
when :remove_client_id_from_open_id_connect_provider
|
292
|
+
Aws::IAM::Endpoints::RemoveClientIDFromOpenIDConnectProvider.build(context)
|
293
|
+
when :remove_role_from_instance_profile
|
294
|
+
Aws::IAM::Endpoints::RemoveRoleFromInstanceProfile.build(context)
|
295
|
+
when :remove_user_from_group
|
296
|
+
Aws::IAM::Endpoints::RemoveUserFromGroup.build(context)
|
297
|
+
when :reset_service_specific_credential
|
298
|
+
Aws::IAM::Endpoints::ResetServiceSpecificCredential.build(context)
|
299
|
+
when :resync_mfa_device
|
300
|
+
Aws::IAM::Endpoints::ResyncMFADevice.build(context)
|
301
|
+
when :set_default_policy_version
|
302
|
+
Aws::IAM::Endpoints::SetDefaultPolicyVersion.build(context)
|
303
|
+
when :set_security_token_service_preferences
|
304
|
+
Aws::IAM::Endpoints::SetSecurityTokenServicePreferences.build(context)
|
305
|
+
when :simulate_custom_policy
|
306
|
+
Aws::IAM::Endpoints::SimulateCustomPolicy.build(context)
|
307
|
+
when :simulate_principal_policy
|
308
|
+
Aws::IAM::Endpoints::SimulatePrincipalPolicy.build(context)
|
309
|
+
when :tag_instance_profile
|
310
|
+
Aws::IAM::Endpoints::TagInstanceProfile.build(context)
|
311
|
+
when :tag_mfa_device
|
312
|
+
Aws::IAM::Endpoints::TagMFADevice.build(context)
|
313
|
+
when :tag_open_id_connect_provider
|
314
|
+
Aws::IAM::Endpoints::TagOpenIDConnectProvider.build(context)
|
315
|
+
when :tag_policy
|
316
|
+
Aws::IAM::Endpoints::TagPolicy.build(context)
|
317
|
+
when :tag_role
|
318
|
+
Aws::IAM::Endpoints::TagRole.build(context)
|
319
|
+
when :tag_saml_provider
|
320
|
+
Aws::IAM::Endpoints::TagSAMLProvider.build(context)
|
321
|
+
when :tag_server_certificate
|
322
|
+
Aws::IAM::Endpoints::TagServerCertificate.build(context)
|
323
|
+
when :tag_user
|
324
|
+
Aws::IAM::Endpoints::TagUser.build(context)
|
325
|
+
when :untag_instance_profile
|
326
|
+
Aws::IAM::Endpoints::UntagInstanceProfile.build(context)
|
327
|
+
when :untag_mfa_device
|
328
|
+
Aws::IAM::Endpoints::UntagMFADevice.build(context)
|
329
|
+
when :untag_open_id_connect_provider
|
330
|
+
Aws::IAM::Endpoints::UntagOpenIDConnectProvider.build(context)
|
331
|
+
when :untag_policy
|
332
|
+
Aws::IAM::Endpoints::UntagPolicy.build(context)
|
333
|
+
when :untag_role
|
334
|
+
Aws::IAM::Endpoints::UntagRole.build(context)
|
335
|
+
when :untag_saml_provider
|
336
|
+
Aws::IAM::Endpoints::UntagSAMLProvider.build(context)
|
337
|
+
when :untag_server_certificate
|
338
|
+
Aws::IAM::Endpoints::UntagServerCertificate.build(context)
|
339
|
+
when :untag_user
|
340
|
+
Aws::IAM::Endpoints::UntagUser.build(context)
|
341
|
+
when :update_access_key
|
342
|
+
Aws::IAM::Endpoints::UpdateAccessKey.build(context)
|
343
|
+
when :update_account_password_policy
|
344
|
+
Aws::IAM::Endpoints::UpdateAccountPasswordPolicy.build(context)
|
345
|
+
when :update_assume_role_policy
|
346
|
+
Aws::IAM::Endpoints::UpdateAssumeRolePolicy.build(context)
|
347
|
+
when :update_group
|
348
|
+
Aws::IAM::Endpoints::UpdateGroup.build(context)
|
349
|
+
when :update_login_profile
|
350
|
+
Aws::IAM::Endpoints::UpdateLoginProfile.build(context)
|
351
|
+
when :update_open_id_connect_provider_thumbprint
|
352
|
+
Aws::IAM::Endpoints::UpdateOpenIDConnectProviderThumbprint.build(context)
|
353
|
+
when :update_role
|
354
|
+
Aws::IAM::Endpoints::UpdateRole.build(context)
|
355
|
+
when :update_role_description
|
356
|
+
Aws::IAM::Endpoints::UpdateRoleDescription.build(context)
|
357
|
+
when :update_saml_provider
|
358
|
+
Aws::IAM::Endpoints::UpdateSAMLProvider.build(context)
|
359
|
+
when :update_ssh_public_key
|
360
|
+
Aws::IAM::Endpoints::UpdateSSHPublicKey.build(context)
|
361
|
+
when :update_server_certificate
|
362
|
+
Aws::IAM::Endpoints::UpdateServerCertificate.build(context)
|
363
|
+
when :update_service_specific_credential
|
364
|
+
Aws::IAM::Endpoints::UpdateServiceSpecificCredential.build(context)
|
365
|
+
when :update_signing_certificate
|
366
|
+
Aws::IAM::Endpoints::UpdateSigningCertificate.build(context)
|
367
|
+
when :update_user
|
368
|
+
Aws::IAM::Endpoints::UpdateUser.build(context)
|
369
|
+
when :upload_ssh_public_key
|
370
|
+
Aws::IAM::Endpoints::UploadSSHPublicKey.build(context)
|
371
|
+
when :upload_server_certificate
|
372
|
+
Aws::IAM::Endpoints::UploadServerCertificate.build(context)
|
373
|
+
when :upload_signing_certificate
|
374
|
+
Aws::IAM::Endpoints::UploadSigningCertificate.build(context)
|
375
|
+
end
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
def add_handlers(handlers, _config)
|
380
|
+
handlers.add(Handler, step: :build, priority: 75)
|
381
|
+
end
|
382
|
+
end
|
383
|
+
end
|
384
|
+
end
|
data/lib/aws-sdk-iam/types.rb
CHANGED
@@ -45,7 +45,7 @@ module Aws::IAM
|
|
45
45
|
# The Region where the last service access attempt occurred.
|
46
46
|
#
|
47
47
|
# This field is null if no principals in the reported Organizations
|
48
|
-
# entity attempted to access the service within the [
|
48
|
+
# entity attempted to access the service within the [tracking
|
49
49
|
# period][1].
|
50
50
|
#
|
51
51
|
#
|
@@ -61,7 +61,7 @@ module Aws::IAM
|
|
61
61
|
#
|
62
62
|
# This field is null if no principals (IAM users, IAM roles, or root
|
63
63
|
# users) in the reported Organizations entity attempted to access the
|
64
|
-
# service within the [
|
64
|
+
# service within the [tracking period][1].
|
65
65
|
#
|
66
66
|
#
|
67
67
|
#
|
@@ -75,7 +75,7 @@ module Aws::IAM
|
|
75
75
|
# requests.
|
76
76
|
#
|
77
77
|
# This field is null if no principals in the reported Organizations
|
78
|
-
# entity attempted to access the service within the [
|
78
|
+
# entity attempted to access the service within the [tracking
|
79
79
|
# period][2].
|
80
80
|
#
|
81
81
|
#
|
@@ -87,7 +87,7 @@ module Aws::IAM
|
|
87
87
|
# @!attribute [rw] total_authenticated_entities
|
88
88
|
# The number of accounts with authenticated principals (root users,
|
89
89
|
# IAM users, and IAM roles) that attempted to access the service in
|
90
|
-
# the
|
90
|
+
# the tracking period.
|
91
91
|
# @return [Integer]
|
92
92
|
#
|
93
93
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AccessDetail AWS API Documentation
|
@@ -2985,7 +2985,7 @@ module Aws::IAM
|
|
2985
2985
|
# Amazon Web Services does not report unauthenticated requests.
|
2986
2986
|
#
|
2987
2987
|
# This field is null if no IAM entities attempted to access the
|
2988
|
-
# service within the [
|
2988
|
+
# service within the [tracking period][2].
|
2989
2989
|
#
|
2990
2990
|
#
|
2991
2991
|
#
|
@@ -10104,7 +10104,7 @@ module Aws::IAM
|
|
10104
10104
|
# Amazon Web Services does not report unauthenticated requests.
|
10105
10105
|
#
|
10106
10106
|
# This field is null if no IAM entities attempted to access the
|
10107
|
-
# service within the [
|
10107
|
+
# service within the [tracking period][2].
|
10108
10108
|
#
|
10109
10109
|
#
|
10110
10110
|
#
|
@@ -10136,7 +10136,7 @@ module Aws::IAM
|
|
10136
10136
|
# unauthenticated requests.
|
10137
10137
|
#
|
10138
10138
|
# This field is null if no IAM entities attempted to access the
|
10139
|
-
# service within the [
|
10139
|
+
# service within the [tracking period][1].
|
10140
10140
|
#
|
10141
10141
|
#
|
10142
10142
|
#
|
@@ -10149,7 +10149,7 @@ module Aws::IAM
|
|
10149
10149
|
# unauthenticated requests.
|
10150
10150
|
#
|
10151
10151
|
# This field is null if no IAM entities attempted to access the
|
10152
|
-
# service within the [
|
10152
|
+
# service within the [tracking period][1].
|
10153
10153
|
#
|
10154
10154
|
#
|
10155
10155
|
#
|
@@ -10161,7 +10161,7 @@ module Aws::IAM
|
|
10161
10161
|
# or IAM roles) that have attempted to access the service.
|
10162
10162
|
#
|
10163
10163
|
# This field is null if no principals attempted to access the service
|
10164
|
-
# within the [
|
10164
|
+
# within the [tracking period][1].
|
10165
10165
|
#
|
10166
10166
|
#
|
10167
10167
|
#
|
@@ -10173,7 +10173,7 @@ module Aws::IAM
|
|
10173
10173
|
# access a tracked action within the service.
|
10174
10174
|
#
|
10175
10175
|
# This field is null if there no tracked actions or if the principal
|
10176
|
-
# did not use the tracked actions within the [
|
10176
|
+
# did not use the tracked actions within the [tracking period][1].
|
10177
10177
|
# This field is also null if the report was generated at the service
|
10178
10178
|
# level and not the action level. For more information, see the
|
10179
10179
|
# `Granularity` field in GenerateServiceLastAccessedDetails.
|
@@ -11452,7 +11452,7 @@ module Aws::IAM
|
|
11452
11452
|
# requests.
|
11453
11453
|
#
|
11454
11454
|
# This field is null if no IAM entities attempted to access the
|
11455
|
-
# service within the [
|
11455
|
+
# service within the [tracking period][2].
|
11456
11456
|
#
|
11457
11457
|
#
|
11458
11458
|
#
|
@@ -11466,7 +11466,7 @@ module Aws::IAM
|
|
11466
11466
|
# report unauthenticated requests.
|
11467
11467
|
#
|
11468
11468
|
# This field is null if no IAM entities attempted to access the
|
11469
|
-
# service within the [
|
11469
|
+
# service within the [tracking period][1].
|
11470
11470
|
#
|
11471
11471
|
#
|
11472
11472
|
#
|
data/lib/aws-sdk-iam.rb
CHANGED
@@ -13,10 +13,14 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-iam/types'
|
15
15
|
require_relative 'aws-sdk-iam/client_api'
|
16
|
+
require_relative 'aws-sdk-iam/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-iam/client'
|
17
18
|
require_relative 'aws-sdk-iam/errors'
|
18
19
|
require_relative 'aws-sdk-iam/waiters'
|
19
20
|
require_relative 'aws-sdk-iam/resource'
|
21
|
+
require_relative 'aws-sdk-iam/endpoint_parameters'
|
22
|
+
require_relative 'aws-sdk-iam/endpoint_provider'
|
23
|
+
require_relative 'aws-sdk-iam/endpoints'
|
20
24
|
require_relative 'aws-sdk-iam/access_key'
|
21
25
|
require_relative 'aws-sdk-iam/access_key_pair'
|
22
26
|
require_relative 'aws-sdk-iam/account_password_policy'
|
@@ -70,6 +74,6 @@ require_relative 'aws-sdk-iam/customizations'
|
|
70
74
|
# @!group service
|
71
75
|
module Aws::IAM
|
72
76
|
|
73
|
-
GEM_VERSION = '1.
|
77
|
+
GEM_VERSION = '1.72.0'
|
74
78
|
|
75
79
|
end
|
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.72.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: 2022-
|
11
|
+
date: 2022-10-25 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.165.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.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,12 +66,16 @@ files:
|
|
66
66
|
- lib/aws-sdk-iam/current_user.rb
|
67
67
|
- lib/aws-sdk-iam/customizations.rb
|
68
68
|
- lib/aws-sdk-iam/customizations/resource.rb
|
69
|
+
- lib/aws-sdk-iam/endpoint_parameters.rb
|
70
|
+
- lib/aws-sdk-iam/endpoint_provider.rb
|
71
|
+
- lib/aws-sdk-iam/endpoints.rb
|
69
72
|
- lib/aws-sdk-iam/errors.rb
|
70
73
|
- lib/aws-sdk-iam/group.rb
|
71
74
|
- lib/aws-sdk-iam/group_policy.rb
|
72
75
|
- lib/aws-sdk-iam/instance_profile.rb
|
73
76
|
- lib/aws-sdk-iam/login_profile.rb
|
74
77
|
- lib/aws-sdk-iam/mfa_device.rb
|
78
|
+
- lib/aws-sdk-iam/plugins/endpoints.rb
|
75
79
|
- lib/aws-sdk-iam/policy.rb
|
76
80
|
- lib/aws-sdk-iam/policy_version.rb
|
77
81
|
- lib/aws-sdk-iam/resource.rb
|