aws-sdk-iam 1.122.0 → 1.124.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 +435 -242
- data/lib/aws-sdk-iam/client_api.rb +21 -3
- data/lib/aws-sdk-iam/current_user.rb +4 -1
- data/lib/aws-sdk-iam/login_profile.rb +2 -1
- data/lib/aws-sdk-iam/policy.rb +8 -2
- data/lib/aws-sdk-iam/policy_version.rb +9 -5
- data/lib/aws-sdk-iam/types.rb +806 -206
- data/lib/aws-sdk-iam/user.rb +4 -1
- data/lib/aws-sdk-iam.rb +1 -1
- data/sig/access_key.rbs +1 -1
- data/sig/access_key_pair.rbs +1 -1
- data/sig/client.rbs +12 -6
- data/sig/signing_certificate.rbs +1 -1
- data/sig/types.rbs +23 -12
- metadata +4 -4
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -479,7 +479,11 @@ module Aws::IAM
|
|
479
479
|
# @option params [required, String] :open_id_connect_provider_arn
|
480
480
|
# The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC)
|
481
481
|
# provider resource to add the client ID to. You can get a list of OIDC
|
482
|
-
# provider ARNs by using the ListOpenIDConnectProviders operation.
|
482
|
+
# provider ARNs by using the [ListOpenIDConnectProviders][1] operation.
|
483
|
+
#
|
484
|
+
#
|
485
|
+
#
|
486
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html
|
483
487
|
#
|
484
488
|
# @option params [required, String] :client_id
|
485
489
|
# The client ID (also known as audience) to add to the IAM OpenID
|
@@ -875,14 +879,15 @@ module Aws::IAM
|
|
875
879
|
# Services Management Console. The Amazon Web Services account root user
|
876
880
|
# password is not affected by this operation.
|
877
881
|
#
|
878
|
-
# Use UpdateLoginProfile to use the CLI, the Amazon Web Services
|
879
|
-
# the **Users** page in the IAM console to change the password
|
880
|
-
# IAM user. For more information about modifying passwords, see
|
881
|
-
# [Managing passwords][
|
882
|
+
# Use [UpdateLoginProfile][1] to use the CLI, the Amazon Web Services
|
883
|
+
# API, or the **Users** page in the IAM console to change the password
|
884
|
+
# for any IAM user. For more information about modifying passwords, see
|
885
|
+
# [Managing passwords][2] in the *IAM User Guide*.
|
882
886
|
#
|
883
887
|
#
|
884
888
|
#
|
885
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
889
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateLoginProfile.html
|
890
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html
|
886
891
|
#
|
887
892
|
# @option params [required, String] :old_password
|
888
893
|
# The IAM user's current password.
|
@@ -1003,7 +1008,7 @@ module Aws::IAM
|
|
1003
1008
|
#
|
1004
1009
|
# resp.access_key.user_name #=> String
|
1005
1010
|
# resp.access_key.access_key_id #=> String
|
1006
|
-
# resp.access_key.status #=> String, one of "Active", "Inactive"
|
1011
|
+
# resp.access_key.status #=> String, one of "Active", "Inactive", "Expired"
|
1007
1012
|
# resp.access_key.secret_access_key #=> String
|
1008
1013
|
# resp.access_key.create_date #=> Time
|
1009
1014
|
#
|
@@ -1290,16 +1295,17 @@ module Aws::IAM
|
|
1290
1295
|
#
|
1291
1296
|
# You can use the CLI, the Amazon Web Services API, or the **Users**
|
1292
1297
|
# page in the IAM console to create a password for any IAM user. Use
|
1293
|
-
# ChangePassword to update your own existing password in the **My
|
1298
|
+
# [ChangePassword][1] to update your own existing password in the **My
|
1294
1299
|
# Security Credentials** page in the Amazon Web Services Management
|
1295
1300
|
# Console.
|
1296
1301
|
#
|
1297
1302
|
# For more information about managing passwords, see [Managing
|
1298
|
-
# passwords][
|
1303
|
+
# passwords][2] in the *IAM User Guide*.
|
1299
1304
|
#
|
1300
1305
|
#
|
1301
1306
|
#
|
1302
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
1307
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ChangePassword.html
|
1308
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html
|
1303
1309
|
#
|
1304
1310
|
# @option params [String] :user_name
|
1305
1311
|
# The name of the IAM user to create a password for. The user must
|
@@ -1435,7 +1441,7 @@ module Aws::IAM
|
|
1435
1441
|
#
|
1436
1442
|
# <note markdown="1"> The trust for the OIDC provider is derived from the IAM provider that
|
1437
1443
|
# this operation creates. Therefore, it is best to limit access to the
|
1438
|
-
# CreateOpenIDConnectProvider operation to highly privileged users.
|
1444
|
+
# [CreateOpenIDConnectProvider][3] operation to highly privileged users.
|
1439
1445
|
#
|
1440
1446
|
# </note>
|
1441
1447
|
#
|
@@ -1443,6 +1449,7 @@ module Aws::IAM
|
|
1443
1449
|
#
|
1444
1450
|
# [1]: http://openid.net/connect/
|
1445
1451
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html
|
1452
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html
|
1446
1453
|
#
|
1447
1454
|
# @option params [required, String] :url
|
1448
1455
|
# The URL of the identity provider. The URL must begin with `https://`
|
@@ -1733,19 +1740,20 @@ module Aws::IAM
|
|
1733
1740
|
# Creates a new version of the specified managed policy. To update a
|
1734
1741
|
# managed policy, you create a new policy version. A managed policy can
|
1735
1742
|
# have up to five versions. If the policy has five versions, you must
|
1736
|
-
# delete an existing version using DeletePolicyVersion before you
|
1737
|
-
# a new version.
|
1743
|
+
# delete an existing version using [DeletePolicyVersion][1] before you
|
1744
|
+
# create a new version.
|
1738
1745
|
#
|
1739
1746
|
# Optionally, you can set the new version as the policy's default
|
1740
1747
|
# version. The default version is the version that is in effect for the
|
1741
1748
|
# IAM users, groups, and roles to which the policy is attached.
|
1742
1749
|
#
|
1743
1750
|
# For more information about managed policy versions, see [Versioning
|
1744
|
-
# for managed policies][
|
1751
|
+
# for managed policies][2] in the *IAM User Guide*.
|
1745
1752
|
#
|
1746
1753
|
#
|
1747
1754
|
#
|
1748
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
1755
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeletePolicyVersion.html
|
1756
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html
|
1749
1757
|
#
|
1750
1758
|
# @option params [required, String] :policy_arn
|
1751
1759
|
# The Amazon Resource Name (ARN) of the IAM policy to which you want to
|
@@ -2250,19 +2258,20 @@ module Aws::IAM
|
|
2250
2258
|
# You can have a maximum of two sets of service-specific credentials for
|
2251
2259
|
# each supported service per user.
|
2252
2260
|
#
|
2253
|
-
# You can create service-specific credentials for
|
2254
|
-
# Keyspaces (for Apache Cassandra).
|
2261
|
+
# You can create service-specific credentials for Amazon Bedrock,
|
2262
|
+
# CodeCommit and Amazon Keyspaces (for Apache Cassandra).
|
2255
2263
|
#
|
2256
2264
|
# You can reset the password to a new service-generated value by calling
|
2257
|
-
# ResetServiceSpecificCredential.
|
2265
|
+
# [ResetServiceSpecificCredential][1].
|
2258
2266
|
#
|
2259
|
-
# For more information about service-specific credentials, see
|
2260
|
-
#
|
2261
|
-
#
|
2267
|
+
# For more information about service-specific credentials, see
|
2268
|
+
# [Service-specific credentials for IAM users][2] in the *IAM User
|
2269
|
+
# Guide*.
|
2262
2270
|
#
|
2263
2271
|
#
|
2264
2272
|
#
|
2265
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
2273
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ResetServiceSpecificCredential.html
|
2274
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_bedrock.html
|
2266
2275
|
#
|
2267
2276
|
# @option params [required, String] :user_name
|
2268
2277
|
# The name of the IAM user that is to be associated with the
|
@@ -2284,6 +2293,11 @@ module Aws::IAM
|
|
2284
2293
|
# with the credentials. The service you specify here is the only service
|
2285
2294
|
# that can be accessed using these credentials.
|
2286
2295
|
#
|
2296
|
+
# @option params [Integer] :credential_age_days
|
2297
|
+
# The number of days until the service specific credential expires. This
|
2298
|
+
# field is only valid for Bedrock API keys and must be a positive
|
2299
|
+
# integer. When not specified, the credential will not expire.
|
2300
|
+
#
|
2287
2301
|
# @return [Types::CreateServiceSpecificCredentialResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2288
2302
|
#
|
2289
2303
|
# * {Types::CreateServiceSpecificCredentialResponse#service_specific_credential #service_specific_credential} => Types::ServiceSpecificCredential
|
@@ -2293,17 +2307,21 @@ module Aws::IAM
|
|
2293
2307
|
# resp = client.create_service_specific_credential({
|
2294
2308
|
# user_name: "userNameType", # required
|
2295
2309
|
# service_name: "serviceName", # required
|
2310
|
+
# credential_age_days: 1,
|
2296
2311
|
# })
|
2297
2312
|
#
|
2298
2313
|
# @example Response structure
|
2299
2314
|
#
|
2300
2315
|
# resp.service_specific_credential.create_date #=> Time
|
2316
|
+
# resp.service_specific_credential.expiration_date #=> Time
|
2301
2317
|
# resp.service_specific_credential.service_name #=> String
|
2302
2318
|
# resp.service_specific_credential.service_user_name #=> String
|
2303
2319
|
# resp.service_specific_credential.service_password #=> String
|
2320
|
+
# resp.service_specific_credential.service_credential_alias #=> String
|
2321
|
+
# resp.service_specific_credential.service_credential_secret #=> String
|
2304
2322
|
# resp.service_specific_credential.service_specific_credential_id #=> String
|
2305
2323
|
# resp.service_specific_credential.user_name #=> String
|
2306
|
-
# resp.service_specific_credential.status #=> String, one of "Active", "Inactive"
|
2324
|
+
# resp.service_specific_credential.status #=> String, one of "Active", "Inactive", "Expired"
|
2307
2325
|
#
|
2308
2326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredential AWS API Documentation
|
2309
2327
|
#
|
@@ -2445,13 +2463,13 @@ module Aws::IAM
|
|
2445
2463
|
end
|
2446
2464
|
|
2447
2465
|
# Creates a new virtual MFA device for the Amazon Web Services account.
|
2448
|
-
# After creating the virtual MFA, use EnableMFADevice to attach the
|
2449
|
-
# device to an IAM user. For more information about creating and
|
2450
|
-
# with virtual MFA devices, see [Using a virtual MFA device][
|
2451
|
-
# *IAM User Guide*.
|
2466
|
+
# After creating the virtual MFA, use [EnableMFADevice][1] to attach the
|
2467
|
+
# MFA device to an IAM user. For more information about creating and
|
2468
|
+
# working with virtual MFA devices, see [Using a virtual MFA device][2]
|
2469
|
+
# in the *IAM User Guide*.
|
2452
2470
|
#
|
2453
2471
|
# For information about the maximum number of MFA devices you can
|
2454
|
-
# create, see [IAM and STS quotas][
|
2472
|
+
# create, see [IAM and STS quotas][3] in the *IAM User Guide*.
|
2455
2473
|
#
|
2456
2474
|
# The seed information contained in the QR code and the Base32 string
|
2457
2475
|
# should be treated like any other secret access information. In other
|
@@ -2462,8 +2480,9 @@ module Aws::IAM
|
|
2462
2480
|
#
|
2463
2481
|
#
|
2464
2482
|
#
|
2465
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
2466
|
-
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
2483
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_EnableMFADevice.html
|
2484
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html
|
2485
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
|
2467
2486
|
#
|
2468
2487
|
# @option params [String] :path
|
2469
2488
|
# The path for the virtual MFA device. For more information about paths,
|
@@ -2786,13 +2805,14 @@ module Aws::IAM
|
|
2786
2805
|
# IAM group.
|
2787
2806
|
#
|
2788
2807
|
# A group can also have managed policies attached to it. To detach a
|
2789
|
-
# managed policy from a group, use DetachGroupPolicy. For more
|
2808
|
+
# managed policy from a group, use [DetachGroupPolicy][1]. For more
|
2790
2809
|
# information about policies, refer to [Managed policies and inline
|
2791
|
-
# policies][
|
2810
|
+
# policies][2] in the *IAM User Guide*.
|
2792
2811
|
#
|
2793
2812
|
#
|
2794
2813
|
#
|
2795
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
2814
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachGroupPolicy.html
|
2815
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
2796
2816
|
#
|
2797
2817
|
# @option params [required, String] :group_name
|
2798
2818
|
# The name (friendly name, not ARN) identifying the group that the
|
@@ -2900,24 +2920,28 @@ module Aws::IAM
|
|
2900
2920
|
req.send_request(options)
|
2901
2921
|
end
|
2902
2922
|
|
2903
|
-
# Deletes the password for the specified IAM user, For more
|
2904
|
-
# see [Managing passwords for IAM users][1].
|
2923
|
+
# Deletes the password for the specified IAM user or root user, For more
|
2924
|
+
# information, see [Managing passwords for IAM users][1].
|
2905
2925
|
#
|
2906
2926
|
# You can use the CLI, the Amazon Web Services API, or the **Users**
|
2907
2927
|
# page in the IAM console to delete a password for any IAM user. You can
|
2908
|
-
# use ChangePassword to update, but not delete, your own password
|
2909
|
-
# **My Security Credentials** page in the Amazon Web Services
|
2910
|
-
# Console.
|
2928
|
+
# use [ChangePassword][2] to update, but not delete, your own password
|
2929
|
+
# in the **My Security Credentials** page in the Amazon Web Services
|
2930
|
+
# Management Console.
|
2911
2931
|
#
|
2912
2932
|
# Deleting a user's password does not prevent a user from accessing
|
2913
2933
|
# Amazon Web Services through the command line interface or the API. To
|
2914
2934
|
# prevent all user access, you must also either make any access keys
|
2915
2935
|
# inactive or delete them. For more information about making keys
|
2916
|
-
# inactive or deleting them, see UpdateAccessKey and
|
2936
|
+
# inactive or deleting them, see [UpdateAccessKey][3] and
|
2937
|
+
# [DeleteAccessKey][4].
|
2917
2938
|
#
|
2918
2939
|
#
|
2919
2940
|
#
|
2920
2941
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_admin-change-user.html
|
2942
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ChangePassword.html
|
2943
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAccessKey.html
|
2944
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteAccessKey.html
|
2921
2945
|
#
|
2922
2946
|
# @option params [String] :user_name
|
2923
2947
|
# The name of the user whose password you want to delete.
|
@@ -2976,9 +3000,13 @@ module Aws::IAM
|
|
2976
3000
|
# @option params [required, String] :open_id_connect_provider_arn
|
2977
3001
|
# The Amazon Resource Name (ARN) of the IAM OpenID Connect provider
|
2978
3002
|
# resource object to delete. You can get a list of OpenID Connect
|
2979
|
-
# provider resource ARNs by using the ListOpenIDConnectProviders
|
3003
|
+
# provider resource ARNs by using the [ListOpenIDConnectProviders][1]
|
2980
3004
|
# operation.
|
2981
3005
|
#
|
3006
|
+
#
|
3007
|
+
#
|
3008
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html
|
3009
|
+
#
|
2982
3010
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2983
3011
|
#
|
2984
3012
|
# @example Request syntax with placeholder values
|
@@ -3004,25 +3032,31 @@ module Aws::IAM
|
|
3004
3032
|
# steps describe the process for deleting a managed policy:
|
3005
3033
|
#
|
3006
3034
|
# * Detach the policy from all users, groups, and roles that the policy
|
3007
|
-
# is attached to, using DetachUserPolicy, DetachGroupPolicy,
|
3008
|
-
# DetachRolePolicy. To list all the users, groups, and roles
|
3009
|
-
# policy is attached to, use ListEntitiesForPolicy.
|
3010
|
-
#
|
3011
|
-
# * Delete all versions of the policy using DeletePolicyVersion. To
|
3012
|
-
# the policy's versions, use ListPolicyVersions. You cannot
|
3013
|
-
# DeletePolicyVersion to delete the version that is marked as
|
3014
|
-
# default version. You delete the policy's default version in the
|
3035
|
+
# is attached to, using [DetachUserPolicy][1], [DetachGroupPolicy][2],
|
3036
|
+
# or [DetachRolePolicy][3]. To list all the users, groups, and roles
|
3037
|
+
# that a policy is attached to, use [ListEntitiesForPolicy][4].
|
3038
|
+
#
|
3039
|
+
# * Delete all versions of the policy using [DeletePolicyVersion][5]. To
|
3040
|
+
# list the policy's versions, use [ListPolicyVersions][6]. You cannot
|
3041
|
+
# use [DeletePolicyVersion][5] to delete the version that is marked as
|
3042
|
+
# the default version. You delete the policy's default version in the
|
3015
3043
|
# next step of the process.
|
3016
3044
|
#
|
3017
3045
|
# * Delete the policy (this automatically deletes the policy's default
|
3018
3046
|
# version) using this operation.
|
3019
3047
|
#
|
3020
3048
|
# For information about managed policies, see [Managed policies and
|
3021
|
-
# inline policies][
|
3049
|
+
# inline policies][7] in the *IAM User Guide*.
|
3022
3050
|
#
|
3023
3051
|
#
|
3024
3052
|
#
|
3025
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
3053
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachUserPolicy.html
|
3054
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachGroupPolicy.html
|
3055
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachRolePolicy.html
|
3056
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html
|
3057
|
+
# [5]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeletePolicyVersion.html
|
3058
|
+
# [6]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html
|
3059
|
+
# [7]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
3026
3060
|
#
|
3027
3061
|
# @option params [required, String] :policy_arn
|
3028
3062
|
# The Amazon Resource Name (ARN) of the IAM policy you want to delete.
|
@@ -3055,15 +3089,17 @@ module Aws::IAM
|
|
3055
3089
|
#
|
3056
3090
|
# You cannot delete the default version from a policy using this
|
3057
3091
|
# operation. To delete the default version from a policy, use
|
3058
|
-
# DeletePolicy. To find out which version of a policy is marked as
|
3059
|
-
# default version, use ListPolicyVersions.
|
3092
|
+
# [DeletePolicy][1]. To find out which version of a policy is marked as
|
3093
|
+
# the default version, use [ListPolicyVersions][2].
|
3060
3094
|
#
|
3061
3095
|
# For information about versions for managed policies, see [Versioning
|
3062
|
-
# for managed policies][
|
3096
|
+
# for managed policies][3] in the *IAM User Guide*.
|
3063
3097
|
#
|
3064
3098
|
#
|
3065
3099
|
#
|
3066
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
3100
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeletePolicy.html
|
3101
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html
|
3102
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html
|
3067
3103
|
#
|
3068
3104
|
# @option params [required, String] :policy_arn
|
3069
3105
|
# The Amazon Resource Name (ARN) of the IAM policy from which you want
|
@@ -3116,14 +3152,14 @@ module Aws::IAM
|
|
3116
3152
|
# information, see [Deleting an IAM role][1]. Before attempting to
|
3117
3153
|
# delete a role, remove the following attached items:
|
3118
3154
|
#
|
3119
|
-
# * Inline policies (DeleteRolePolicy)
|
3155
|
+
# * Inline policies ([DeleteRolePolicy][2])
|
3120
3156
|
#
|
3121
|
-
# * Attached managed policies (DetachRolePolicy)
|
3157
|
+
# * Attached managed policies ([DetachRolePolicy][3])
|
3122
3158
|
#
|
3123
|
-
# * Instance profile (RemoveRoleFromInstanceProfile)
|
3159
|
+
# * Instance profile ([RemoveRoleFromInstanceProfile][4])
|
3124
3160
|
#
|
3125
3161
|
# * Optional – Delete instance profile after detaching from role for
|
3126
|
-
# resource clean up (DeleteInstanceProfile)
|
3162
|
+
# resource clean up ([DeleteInstanceProfile][5])
|
3127
3163
|
#
|
3128
3164
|
# Make sure that you do not have any Amazon EC2 instances running with
|
3129
3165
|
# the role you are about to delete. Deleting a role or instance profile
|
@@ -3133,6 +3169,10 @@ module Aws::IAM
|
|
3133
3169
|
#
|
3134
3170
|
#
|
3135
3171
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage_delete.html#roles-managingrole-deleting-cli
|
3172
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteRolePolicy.html
|
3173
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachRolePolicy.html
|
3174
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_RemoveRoleFromInstanceProfile.html
|
3175
|
+
# [5]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteInstanceProfile.html
|
3136
3176
|
#
|
3137
3177
|
# @option params [required, String] :role_name
|
3138
3178
|
# The name of the role to delete.
|
@@ -3205,13 +3245,14 @@ module Aws::IAM
|
|
3205
3245
|
# IAM role.
|
3206
3246
|
#
|
3207
3247
|
# A role can also have managed policies attached to it. To detach a
|
3208
|
-
# managed policy from a role, use DetachRolePolicy. For more
|
3209
|
-
# about policies, refer to [Managed policies and inline
|
3210
|
-
# the *IAM User Guide*.
|
3248
|
+
# managed policy from a role, use [DetachRolePolicy][1]. For more
|
3249
|
+
# information about policies, refer to [Managed policies and inline
|
3250
|
+
# policies][2] in the *IAM User Guide*.
|
3211
3251
|
#
|
3212
3252
|
#
|
3213
3253
|
#
|
3214
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
3254
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachRolePolicy.html
|
3255
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
3215
3256
|
#
|
3216
3257
|
# @option params [required, String] :role_name
|
3217
3258
|
# The name (friendly name, not ARN) identifying the role that the policy
|
@@ -3415,23 +3456,24 @@ module Aws::IAM
|
|
3415
3456
|
#
|
3416
3457
|
# If you submit a deletion request for a service-linked role whose
|
3417
3458
|
# linked service is still accessing a resource, then the deletion task
|
3418
|
-
# fails. If it fails, the GetServiceLinkedRoleDeletionStatus
|
3419
|
-
# returns the reason for the failure, usually including the
|
3420
|
-
# that must be deleted. To delete the service-linked role, you
|
3421
|
-
# first remove those resources from the linked service and then
|
3422
|
-
# the deletion request again. Resources are specific to the
|
3423
|
-
# is linked to the role. For more information about
|
3424
|
-
# from a service, see the [Amazon Web Services
|
3425
|
-
# your service.
|
3459
|
+
# fails. If it fails, the [GetServiceLinkedRoleDeletionStatus][1]
|
3460
|
+
# operation returns the reason for the failure, usually including the
|
3461
|
+
# resources that must be deleted. To delete the service-linked role, you
|
3462
|
+
# must first remove those resources from the linked service and then
|
3463
|
+
# submit the deletion request again. Resources are specific to the
|
3464
|
+
# service that is linked to the role. For more information about
|
3465
|
+
# removing resources from a service, see the [Amazon Web Services
|
3466
|
+
# documentation][2] for your service.
|
3426
3467
|
#
|
3427
3468
|
# For more information about service-linked roles, see [Roles terms and
|
3428
|
-
# concepts: Amazon Web Services service-linked role][
|
3469
|
+
# concepts: Amazon Web Services service-linked role][3] in the *IAM User
|
3429
3470
|
# Guide*.
|
3430
3471
|
#
|
3431
3472
|
#
|
3432
3473
|
#
|
3433
|
-
# [1]:
|
3434
|
-
# [2]:
|
3474
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLinkedRoleDeletionStatus.html
|
3475
|
+
# [2]: http://docs.aws.amazon.com/
|
3476
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html#iam-term-service-linked-role
|
3435
3477
|
#
|
3436
3478
|
# @option params [required, String] :role_name
|
3437
3479
|
# The name of the service-linked role to be deleted.
|
@@ -3477,15 +3519,16 @@ module Aws::IAM
|
|
3477
3519
|
#
|
3478
3520
|
# @option params [required, String] :service_specific_credential_id
|
3479
3521
|
# The unique identifier of the service-specific credential. You can get
|
3480
|
-
# this value by calling ListServiceSpecificCredentials.
|
3522
|
+
# this value by calling [ListServiceSpecificCredentials][1].
|
3481
3523
|
#
|
3482
|
-
# This parameter allows (through its [regex pattern][
|
3524
|
+
# This parameter allows (through its [regex pattern][2]) a string of
|
3483
3525
|
# characters that can consist of any upper or lowercased letter or
|
3484
3526
|
# digit.
|
3485
3527
|
#
|
3486
3528
|
#
|
3487
3529
|
#
|
3488
|
-
# [1]:
|
3530
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServiceSpecificCredentials.html
|
3531
|
+
# [2]: http://wikipedia.org/wiki/regex
|
3489
3532
|
#
|
3490
3533
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3491
3534
|
#
|
@@ -3571,28 +3614,38 @@ module Aws::IAM
|
|
3571
3614
|
# For more information, see [Deleting an IAM user][1]. Before attempting
|
3572
3615
|
# to delete a user, remove the following items:
|
3573
3616
|
#
|
3574
|
-
# * Password (DeleteLoginProfile)
|
3617
|
+
# * Password ([DeleteLoginProfile][2])
|
3575
3618
|
#
|
3576
|
-
# * Access keys (DeleteAccessKey)
|
3619
|
+
# * Access keys ([DeleteAccessKey][3])
|
3577
3620
|
#
|
3578
|
-
# * Signing certificate (DeleteSigningCertificate)
|
3621
|
+
# * Signing certificate ([DeleteSigningCertificate][4])
|
3579
3622
|
#
|
3580
|
-
# * SSH public key (DeleteSSHPublicKey)
|
3623
|
+
# * SSH public key ([DeleteSSHPublicKey][5])
|
3581
3624
|
#
|
3582
|
-
# * Git credentials (DeleteServiceSpecificCredential)
|
3625
|
+
# * Git credentials ([DeleteServiceSpecificCredential][6])
|
3583
3626
|
#
|
3584
|
-
# * Multi-factor authentication (MFA) device (DeactivateMFADevice,
|
3585
|
-
# DeleteVirtualMFADevice)
|
3627
|
+
# * Multi-factor authentication (MFA) device ([DeactivateMFADevice][7],
|
3628
|
+
# [DeleteVirtualMFADevice][8])
|
3586
3629
|
#
|
3587
|
-
# * Inline policies (DeleteUserPolicy)
|
3630
|
+
# * Inline policies ([DeleteUserPolicy][9])
|
3588
3631
|
#
|
3589
|
-
# * Attached managed policies (DetachUserPolicy)
|
3632
|
+
# * Attached managed policies ([DetachUserPolicy][10])
|
3590
3633
|
#
|
3591
|
-
# * Group memberships (RemoveUserFromGroup)
|
3634
|
+
# * Group memberships ([RemoveUserFromGroup][11])
|
3592
3635
|
#
|
3593
3636
|
#
|
3594
3637
|
#
|
3595
3638
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_manage.html#id_users_deleting_cli
|
3639
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteLoginProfile.html
|
3640
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteAccessKey.html
|
3641
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteSigningCertificate.html
|
3642
|
+
# [5]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteSSHPublicKey.html
|
3643
|
+
# [6]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteServiceSpecificCredential.html
|
3644
|
+
# [7]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeactivateMFADevice.html
|
3645
|
+
# [8]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteVirtualMFADevice.html
|
3646
|
+
# [9]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteUserPolicy.html
|
3647
|
+
# [10]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachUserPolicy.html
|
3648
|
+
# [11]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_RemoveUserFromGroup.html
|
3596
3649
|
#
|
3597
3650
|
# @option params [required, String] :user_name
|
3598
3651
|
# The name of the user to delete.
|
@@ -3663,13 +3716,14 @@ module Aws::IAM
|
|
3663
3716
|
# IAM user.
|
3664
3717
|
#
|
3665
3718
|
# A user can also have managed policies attached to it. To detach a
|
3666
|
-
# managed policy from a user, use DetachUserPolicy. For more
|
3667
|
-
# about policies, refer to [Managed policies and inline
|
3668
|
-
# the *IAM User Guide*.
|
3719
|
+
# managed policy from a user, use [DetachUserPolicy][1]. For more
|
3720
|
+
# information about policies, refer to [Managed policies and inline
|
3721
|
+
# policies][2] in the *IAM User Guide*.
|
3669
3722
|
#
|
3670
3723
|
#
|
3671
3724
|
#
|
3672
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
3725
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachUserPolicy.html
|
3726
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
3673
3727
|
#
|
3674
3728
|
# @option params [required, String] :user_name
|
3675
3729
|
# The name (friendly name, not ARN) identifying the user that the policy
|
@@ -3728,10 +3782,14 @@ module Aws::IAM
|
|
3728
3782
|
#
|
3729
3783
|
# <note markdown="1"> You must deactivate a user's virtual MFA device before you can delete
|
3730
3784
|
# it. For information about deactivating MFA devices, see
|
3731
|
-
# DeactivateMFADevice.
|
3785
|
+
# [DeactivateMFADevice][1].
|
3732
3786
|
#
|
3733
3787
|
# </note>
|
3734
3788
|
#
|
3789
|
+
#
|
3790
|
+
#
|
3791
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeactivateMFADevice.html
|
3792
|
+
#
|
3735
3793
|
# @option params [required, String] :serial_number
|
3736
3794
|
# The serial number that uniquely identifies the MFA device. For virtual
|
3737
3795
|
# MFA devices, the serial number is the same as the ARN.
|
@@ -3774,12 +3832,14 @@ module Aws::IAM
|
|
3774
3832
|
# Removes the specified managed policy from the specified IAM group.
|
3775
3833
|
#
|
3776
3834
|
# A group can also have inline policies embedded with it. To delete an
|
3777
|
-
# inline policy, use DeleteGroupPolicy. For information about
|
3778
|
-
# see [Managed policies and inline policies][
|
3835
|
+
# inline policy, use [DeleteGroupPolicy][1]. For information about
|
3836
|
+
# policies, see [Managed policies and inline policies][2] in the *IAM
|
3837
|
+
# User Guide*.
|
3779
3838
|
#
|
3780
3839
|
#
|
3781
3840
|
#
|
3782
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
3841
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteGroupPolicy.html
|
3842
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
3783
3843
|
#
|
3784
3844
|
# @option params [required, String] :group_name
|
3785
3845
|
# The name (friendly name, not ARN) of the IAM group to detach the
|
@@ -3825,12 +3885,14 @@ module Aws::IAM
|
|
3825
3885
|
# Removes the specified managed policy from the specified role.
|
3826
3886
|
#
|
3827
3887
|
# A role can also have inline policies embedded with it. To delete an
|
3828
|
-
# inline policy, use DeleteRolePolicy. For information about
|
3829
|
-
# see [Managed policies and inline policies][
|
3888
|
+
# inline policy, use [DeleteRolePolicy][1]. For information about
|
3889
|
+
# policies, see [Managed policies and inline policies][2] in the *IAM
|
3890
|
+
# User Guide*.
|
3830
3891
|
#
|
3831
3892
|
#
|
3832
3893
|
#
|
3833
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
3894
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteRolePolicy.html
|
3895
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
3834
3896
|
#
|
3835
3897
|
# @option params [required, String] :role_name
|
3836
3898
|
# The name (friendly name, not ARN) of the IAM role to detach the policy
|
@@ -3876,12 +3938,14 @@ module Aws::IAM
|
|
3876
3938
|
# Removes the specified managed policy from the specified user.
|
3877
3939
|
#
|
3878
3940
|
# A user can also have inline policies embedded with it. To delete an
|
3879
|
-
# inline policy, use DeleteUserPolicy. For information about
|
3880
|
-
# see [Managed policies and inline policies][
|
3941
|
+
# inline policy, use [DeleteUserPolicy][1]. For information about
|
3942
|
+
# policies, see [Managed policies and inline policies][2] in the *IAM
|
3943
|
+
# User Guide*.
|
3881
3944
|
#
|
3882
3945
|
#
|
3883
3946
|
#
|
3884
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
3947
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteUserPolicy.html
|
3948
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
3885
3949
|
#
|
3886
3950
|
# @option params [required, String] :user_name
|
3887
3951
|
# The name (friendly name, not ARN) of the IAM user to detach the policy
|
@@ -4446,7 +4510,7 @@ module Aws::IAM
|
|
4446
4510
|
# Use this parameter in the following operations to retrieve the
|
4447
4511
|
# following details from your report:
|
4448
4512
|
#
|
4449
|
-
# * GetServiceLastAccessedDetails – Use this operation for users,
|
4513
|
+
# * [GetServiceLastAccessedDetails][4] – Use this operation for users,
|
4450
4514
|
# groups, roles, or policies to list every Amazon Web Services service
|
4451
4515
|
# that the resource could access using permissions policies. For each
|
4452
4516
|
# service, the response includes information about the most recent
|
@@ -4456,8 +4520,8 @@ module Aws::IAM
|
|
4456
4520
|
# used by the same role within a session, or by the same user when
|
4457
4521
|
# used to call `GetServiceLastAccessedDetail`.
|
4458
4522
|
#
|
4459
|
-
# * GetServiceLastAccessedDetailsWithEntities – Use this operation
|
4460
|
-
# groups and policies to list information about the associated
|
4523
|
+
# * [GetServiceLastAccessedDetailsWithEntities][5] – Use this operation
|
4524
|
+
# for groups and policies to list information about the associated
|
4461
4525
|
# entities (users or roles) that attempted to access a specific Amazon
|
4462
4526
|
# Web Services service.
|
4463
4527
|
#
|
@@ -4467,20 +4531,20 @@ module Aws::IAM
|
|
4467
4531
|
#
|
4468
4532
|
# For additional information about the permissions policies that allow
|
4469
4533
|
# an identity (user, group, or role) to access specific services, use
|
4470
|
-
# the ListPoliciesGrantingServiceAccess operation.
|
4534
|
+
# the [ListPoliciesGrantingServiceAccess][6] operation.
|
4471
4535
|
#
|
4472
4536
|
# <note markdown="1"> Service last accessed data does not use other policy types when
|
4473
4537
|
# determining whether a resource could access a service. These other
|
4474
4538
|
# policy types include resource-based policies, access control lists,
|
4475
4539
|
# Organizations policies, IAM permissions boundaries, and STS assume
|
4476
4540
|
# role policies. It only applies permissions policy logic. For more
|
4477
|
-
# about the evaluation of policy types, see [Evaluating policies][
|
4541
|
+
# about the evaluation of policy types, see [Evaluating policies][7] in
|
4478
4542
|
# the *IAM User Guide*.
|
4479
4543
|
#
|
4480
4544
|
# </note>
|
4481
4545
|
#
|
4482
4546
|
# For more information about service and action last accessed data, see
|
4483
|
-
# [Reducing permissions using service last accessed data][
|
4547
|
+
# [Reducing permissions using service last accessed data][8] in the *IAM
|
4484
4548
|
# User Guide*.
|
4485
4549
|
#
|
4486
4550
|
#
|
@@ -4488,8 +4552,11 @@ module Aws::IAM
|
|
4488
4552
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period
|
4489
4553
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor-action-last-accessed.html
|
4490
4554
|
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html
|
4491
|
-
# [4]: https://docs.aws.amazon.com/IAM/latest/
|
4492
|
-
# [5]: https://docs.aws.amazon.com/IAM/latest/
|
4555
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html
|
4556
|
+
# [5]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetailsWithEntities.html
|
4557
|
+
# [6]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPoliciesGrantingServiceAccess.html
|
4558
|
+
# [7]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics
|
4559
|
+
# [8]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html
|
4493
4560
|
#
|
4494
4561
|
# @option params [required, String] :arn
|
4495
4562
|
# The ARN of the IAM resource (user, group, role, or managed policy)
|
@@ -4595,7 +4662,8 @@ module Aws::IAM
|
|
4595
4662
|
# [RFC 3986][1]. You can use a URL decoding method to convert the policy
|
4596
4663
|
# back to plain JSON text. For example, if you use Java, you can use the
|
4597
4664
|
# `decode` method of the `java.net.URLDecoder` utility class in the Java
|
4598
|
-
# SDK. Other languages and SDKs provide similar functionality
|
4665
|
+
# SDK. Other languages and SDKs provide similar functionality, and some
|
4666
|
+
# SDKs do this decoding automatically.
|
4599
4667
|
#
|
4600
4668
|
# </note>
|
4601
4669
|
#
|
@@ -4890,16 +4958,21 @@ module Aws::IAM
|
|
4890
4958
|
# Gets a list of all of the context keys referenced in the input
|
4891
4959
|
# policies. The policies are supplied as a list of one or more strings.
|
4892
4960
|
# To get the context keys from policies associated with an IAM user,
|
4893
|
-
# group, or role, use GetContextKeysForPrincipalPolicy.
|
4961
|
+
# group, or role, use [GetContextKeysForPrincipalPolicy][1].
|
4894
4962
|
#
|
4895
4963
|
# Context keys are variables maintained by Amazon Web Services and its
|
4896
4964
|
# services that provide details about the context of an API query
|
4897
4965
|
# request. Context keys can be evaluated by testing against a value
|
4898
4966
|
# specified in an IAM policy. Use `GetContextKeysForCustomPolicy` to
|
4899
4967
|
# understand what key names and values you must supply when you call
|
4900
|
-
# SimulateCustomPolicy. Note that all parameters are shown in
|
4901
|
-
# form here for clarity but must be URL encoded to be included
|
4902
|
-
# of a real HTML request.
|
4968
|
+
# [SimulateCustomPolicy][2]. Note that all parameters are shown in
|
4969
|
+
# unencoded form here for clarity but must be URL encoded to be included
|
4970
|
+
# as a part of a real HTML request.
|
4971
|
+
#
|
4972
|
+
#
|
4973
|
+
#
|
4974
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html
|
4975
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html
|
4903
4976
|
#
|
4904
4977
|
# @option params [required, Array<String>] :policy_input_list
|
4905
4978
|
# A list of policies for which you want the list of context keys
|
@@ -4954,19 +5027,25 @@ module Aws::IAM
|
|
4954
5027
|
#
|
4955
5028
|
# You can optionally include a list of one or more additional policies,
|
4956
5029
|
# specified as strings. If you want to include *only* a list of policies
|
4957
|
-
# by string, use GetContextKeysForCustomPolicy instead.
|
5030
|
+
# by string, use [GetContextKeysForCustomPolicy][1] instead.
|
4958
5031
|
#
|
4959
5032
|
# **Note:** This operation discloses information about the permissions
|
4960
5033
|
# granted to other users. If you do not want users to see other user's
|
4961
5034
|
# permissions, then consider allowing them to use
|
4962
|
-
# GetContextKeysForCustomPolicy instead.
|
5035
|
+
# [GetContextKeysForCustomPolicy][1] instead.
|
4963
5036
|
#
|
4964
5037
|
# Context keys are variables maintained by Amazon Web Services and its
|
4965
5038
|
# services that provide details about the context of an API query
|
4966
5039
|
# request. Context keys can be evaluated by testing against a value in
|
4967
|
-
# an IAM policy. Use GetContextKeysForPrincipalPolicy to understand
|
4968
|
-
# key names and values you must supply when you call
|
4969
|
-
# SimulatePrincipalPolicy.
|
5040
|
+
# an IAM policy. Use [GetContextKeysForPrincipalPolicy][2] to understand
|
5041
|
+
# what key names and values you must supply when you call
|
5042
|
+
# [SimulatePrincipalPolicy][3].
|
5043
|
+
#
|
5044
|
+
#
|
5045
|
+
#
|
5046
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html
|
5047
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html
|
5048
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html
|
4970
5049
|
#
|
4971
5050
|
# @option params [required, String] :policy_source_arn
|
4972
5051
|
# The ARN of a user, group, or role whose policies contain the context
|
@@ -5146,22 +5225,25 @@ module Aws::IAM
|
|
5146
5225
|
# [RFC 3986][1]. You can use a URL decoding method to convert the policy
|
5147
5226
|
# back to plain JSON text. For example, if you use Java, you can use the
|
5148
5227
|
# `decode` method of the `java.net.URLDecoder` utility class in the Java
|
5149
|
-
# SDK. Other languages and SDKs provide similar functionality
|
5228
|
+
# SDK. Other languages and SDKs provide similar functionality, and some
|
5229
|
+
# SDKs do this decoding automatically.
|
5150
5230
|
#
|
5151
5231
|
# </note>
|
5152
5232
|
#
|
5153
5233
|
# An IAM group can also have managed policies attached to it. To
|
5154
5234
|
# retrieve a managed policy document that is attached to a group, use
|
5155
|
-
# GetPolicy to determine the policy's default version, then use
|
5156
|
-
# GetPolicyVersion to retrieve the policy document.
|
5235
|
+
# [GetPolicy][2] to determine the policy's default version, then use
|
5236
|
+
# [GetPolicyVersion][3] to retrieve the policy document.
|
5157
5237
|
#
|
5158
5238
|
# For more information about policies, see [Managed policies and inline
|
5159
|
-
# policies][
|
5239
|
+
# policies][4] in the *IAM User Guide*.
|
5160
5240
|
#
|
5161
5241
|
#
|
5162
5242
|
#
|
5163
5243
|
# [1]: https://tools.ietf.org/html/rfc3986
|
5164
|
-
# [2]: https://docs.aws.amazon.com/IAM/latest/
|
5244
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html
|
5245
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html
|
5246
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
5165
5247
|
#
|
5166
5248
|
# @option params [required, String] :group_name
|
5167
5249
|
# The name of the group the policy is associated with.
|
@@ -5443,14 +5525,15 @@ module Aws::IAM
|
|
5443
5525
|
# @option params [required, String] :open_id_connect_provider_arn
|
5444
5526
|
# The Amazon Resource Name (ARN) of the OIDC provider resource object in
|
5445
5527
|
# IAM to get information for. You can get a list of OIDC provider
|
5446
|
-
# resource ARNs by using the ListOpenIDConnectProviders operation.
|
5528
|
+
# resource ARNs by using the [ListOpenIDConnectProviders][1] operation.
|
5447
5529
|
#
|
5448
|
-
# For more information about ARNs, see [Amazon Resource Names (ARNs)][
|
5530
|
+
# For more information about ARNs, see [Amazon Resource Names (ARNs)][2]
|
5449
5531
|
# in the *Amazon Web Services General Reference*.
|
5450
5532
|
#
|
5451
5533
|
#
|
5452
5534
|
#
|
5453
|
-
# [1]: https://docs.aws.amazon.com/
|
5535
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html
|
5536
|
+
# [2]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
5454
5537
|
#
|
5455
5538
|
# @return [Types::GetOpenIDConnectProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5456
5539
|
#
|
@@ -5494,13 +5577,13 @@ module Aws::IAM
|
|
5494
5577
|
#
|
5495
5578
|
# Depending on the parameters that you passed when you generated the
|
5496
5579
|
# report, the data returned could include different information. For
|
5497
|
-
# details, see GenerateOrganizationsAccessReport.
|
5580
|
+
# details, see [GenerateOrganizationsAccessReport][1].
|
5498
5581
|
#
|
5499
5582
|
# To call this operation, you must be signed in to the management
|
5500
5583
|
# account in your organization. SCPs must be enabled for your
|
5501
5584
|
# organization root. You must have permissions to perform this
|
5502
5585
|
# operation. For more information, see [Refining permissions using
|
5503
|
-
# service last accessed data][
|
5586
|
+
# service last accessed data][2] in the *IAM User Guide*.
|
5504
5587
|
#
|
5505
5588
|
# For each service that principals in an account (root user, IAM users,
|
5506
5589
|
# or IAM roles) could access using SCPs, the operation returns details
|
@@ -5513,11 +5596,16 @@ module Aws::IAM
|
|
5513
5596
|
#
|
5514
5597
|
#
|
5515
5598
|
#
|
5516
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
5599
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateOrganizationsAccessReport.html
|
5600
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html
|
5517
5601
|
#
|
5518
5602
|
# @option params [required, String] :job_id
|
5519
5603
|
# The identifier of the request generated by the
|
5520
|
-
# GenerateOrganizationsAccessReport operation.
|
5604
|
+
# [GenerateOrganizationsAccessReport][1] operation.
|
5605
|
+
#
|
5606
|
+
#
|
5607
|
+
#
|
5608
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateOrganizationsAccessReport.html
|
5521
5609
|
#
|
5522
5610
|
# @option params [Integer] :max_items
|
5523
5611
|
# Use this only when paginating results to indicate the maximum number
|
@@ -5636,21 +5724,26 @@ module Aws::IAM
|
|
5636
5724
|
# the policy's default version and the total number of IAM users,
|
5637
5725
|
# groups, and roles to which the policy is attached. To retrieve the
|
5638
5726
|
# list of the specific users, groups, and roles that the policy is
|
5639
|
-
# attached to, use ListEntitiesForPolicy. This operation returns
|
5727
|
+
# attached to, use [ListEntitiesForPolicy][1]. This operation returns
|
5640
5728
|
# metadata about the policy. To retrieve the actual policy document for
|
5641
|
-
# a specific version of the policy, use GetPolicyVersion.
|
5729
|
+
# a specific version of the policy, use [GetPolicyVersion][2].
|
5642
5730
|
#
|
5643
5731
|
# This operation retrieves information about managed policies. To
|
5644
5732
|
# retrieve information about an inline policy that is embedded with an
|
5645
|
-
# IAM user, group, or role, use GetUserPolicy, GetGroupPolicy,
|
5646
|
-
# GetRolePolicy.
|
5733
|
+
# IAM user, group, or role, use [GetUserPolicy][3], [GetGroupPolicy][4],
|
5734
|
+
# or [GetRolePolicy][5].
|
5647
5735
|
#
|
5648
5736
|
# For more information about policies, see [Managed policies and inline
|
5649
|
-
# policies][
|
5737
|
+
# policies][6] in the *IAM User Guide*.
|
5650
5738
|
#
|
5651
5739
|
#
|
5652
5740
|
#
|
5653
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
5741
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html
|
5742
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html
|
5743
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUserPolicy.html
|
5744
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroupPolicy.html
|
5745
|
+
# [5]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRolePolicy.html
|
5746
|
+
# [6]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
5654
5747
|
#
|
5655
5748
|
# @option params [required, String] :policy_arn
|
5656
5749
|
# The Amazon Resource Name (ARN) of the managed policy that you want
|
@@ -5711,28 +5804,34 @@ module Aws::IAM
|
|
5711
5804
|
# [RFC 3986][1]. You can use a URL decoding method to convert the policy
|
5712
5805
|
# back to plain JSON text. For example, if you use Java, you can use the
|
5713
5806
|
# `decode` method of the `java.net.URLDecoder` utility class in the Java
|
5714
|
-
# SDK. Other languages and SDKs provide similar functionality
|
5807
|
+
# SDK. Other languages and SDKs provide similar functionality, and some
|
5808
|
+
# SDKs do this decoding automatically.
|
5715
5809
|
#
|
5716
5810
|
# </note>
|
5717
5811
|
#
|
5718
|
-
# To list the available versions for a policy, use
|
5812
|
+
# To list the available versions for a policy, use
|
5813
|
+
# [ListPolicyVersions][2].
|
5719
5814
|
#
|
5720
5815
|
# This operation retrieves information about managed policies. To
|
5721
5816
|
# retrieve information about an inline policy that is embedded in a
|
5722
|
-
# user, group, or role, use GetUserPolicy, GetGroupPolicy, or
|
5723
|
-
# GetRolePolicy.
|
5817
|
+
# user, group, or role, use [GetUserPolicy][3], [GetGroupPolicy][4], or
|
5818
|
+
# [GetRolePolicy][5].
|
5724
5819
|
#
|
5725
5820
|
# For more information about the types of policies, see [Managed
|
5726
|
-
# policies and inline policies][
|
5821
|
+
# policies and inline policies][6] in the *IAM User Guide*.
|
5727
5822
|
#
|
5728
5823
|
# For more information about managed policy versions, see [Versioning
|
5729
|
-
# for managed policies][
|
5824
|
+
# for managed policies][7] in the *IAM User Guide*.
|
5730
5825
|
#
|
5731
5826
|
#
|
5732
5827
|
#
|
5733
5828
|
# [1]: https://tools.ietf.org/html/rfc3986
|
5734
|
-
# [2]: https://docs.aws.amazon.com/IAM/latest/
|
5735
|
-
# [3]: https://docs.aws.amazon.com/IAM/latest/
|
5829
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html
|
5830
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUserPolicy.html
|
5831
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroupPolicy.html
|
5832
|
+
# [5]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRolePolicy.html
|
5833
|
+
# [6]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
5834
|
+
# [7]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html
|
5736
5835
|
#
|
5737
5836
|
# @option params [required, String] :policy_arn
|
5738
5837
|
# The Amazon Resource Name (ARN) of the managed policy that you want
|
@@ -5793,7 +5892,8 @@ module Aws::IAM
|
|
5793
5892
|
# [RFC 3986][2]. You can use a URL decoding method to convert the policy
|
5794
5893
|
# back to plain JSON text. For example, if you use Java, you can use the
|
5795
5894
|
# `decode` method of the `java.net.URLDecoder` utility class in the Java
|
5796
|
-
# SDK. Other languages and SDKs provide similar functionality
|
5895
|
+
# SDK. Other languages and SDKs provide similar functionality, and some
|
5896
|
+
# SDKs do this decoding automatically.
|
5797
5897
|
#
|
5798
5898
|
# </note>
|
5799
5899
|
#
|
@@ -5889,26 +5989,29 @@ module Aws::IAM
|
|
5889
5989
|
# [RFC 3986][1]. You can use a URL decoding method to convert the policy
|
5890
5990
|
# back to plain JSON text. For example, if you use Java, you can use the
|
5891
5991
|
# `decode` method of the `java.net.URLDecoder` utility class in the Java
|
5892
|
-
# SDK. Other languages and SDKs provide similar functionality
|
5992
|
+
# SDK. Other languages and SDKs provide similar functionality, and some
|
5993
|
+
# SDKs do this decoding automatically.
|
5893
5994
|
#
|
5894
5995
|
# </note>
|
5895
5996
|
#
|
5896
5997
|
# An IAM role can also have managed policies attached to it. To retrieve
|
5897
|
-
# a managed policy document that is attached to a role, use
|
5898
|
-
# determine the policy's default version, then use
|
5899
|
-
# retrieve the policy document.
|
5998
|
+
# a managed policy document that is attached to a role, use
|
5999
|
+
# [GetPolicy][2] to determine the policy's default version, then use
|
6000
|
+
# [GetPolicyVersion][3] to retrieve the policy document.
|
5900
6001
|
#
|
5901
6002
|
# For more information about policies, see [Managed policies and inline
|
5902
|
-
# policies][
|
6003
|
+
# policies][4] in the *IAM User Guide*.
|
5903
6004
|
#
|
5904
|
-
# For more information about roles, see [IAM roles][
|
6005
|
+
# For more information about roles, see [IAM roles][5] in the *IAM User
|
5905
6006
|
# Guide*.
|
5906
6007
|
#
|
5907
6008
|
#
|
5908
6009
|
#
|
5909
6010
|
# [1]: https://tools.ietf.org/html/rfc3986
|
5910
|
-
# [2]: https://docs.aws.amazon.com/IAM/latest/
|
5911
|
-
# [3]: https://docs.aws.amazon.com/IAM/latest/
|
6011
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html
|
6012
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html
|
6013
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
6014
|
+
# [5]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html
|
5912
6015
|
#
|
5913
6016
|
# @option params [required, String] :role_name
|
5914
6017
|
# The name of the role associated with the policy.
|
@@ -6082,7 +6185,7 @@ module Aws::IAM
|
|
6082
6185
|
# resp.ssh_public_key.ssh_public_key_id #=> String
|
6083
6186
|
# resp.ssh_public_key.fingerprint #=> String
|
6084
6187
|
# resp.ssh_public_key.ssh_public_key_body #=> String
|
6085
|
-
# resp.ssh_public_key.status #=> String, one of "Active", "Inactive"
|
6188
|
+
# resp.ssh_public_key.status #=> String, one of "Active", "Inactive", "Expired"
|
6086
6189
|
# resp.ssh_public_key.upload_date #=> Time
|
6087
6190
|
#
|
6088
6191
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKey AWS API Documentation
|
@@ -6211,11 +6314,15 @@ module Aws::IAM
|
|
6211
6314
|
#
|
6212
6315
|
# @option params [required, String] :job_id
|
6213
6316
|
# The ID of the request generated by the
|
6214
|
-
# GenerateServiceLastAccessedDetails operation. The `JobId`
|
6215
|
-
# `GenerateServiceLastAccessedDetail` must be used by the
|
6216
|
-
# within a session, or by the same user when used to call
|
6317
|
+
# [GenerateServiceLastAccessedDetails][1] operation. The `JobId`
|
6318
|
+
# returned by `GenerateServiceLastAccessedDetail` must be used by the
|
6319
|
+
# same role within a session, or by the same user when used to call
|
6217
6320
|
# `GetServiceLastAccessedDetail`.
|
6218
6321
|
#
|
6322
|
+
#
|
6323
|
+
#
|
6324
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateServiceLastAccessedDetails.html
|
6325
|
+
#
|
6219
6326
|
# @option params [Integer] :max_items
|
6220
6327
|
# Use this only when paginating results to indicate the maximum number
|
6221
6328
|
# of items you want in the response. If additional items exist beyond
|
@@ -6464,17 +6571,25 @@ module Aws::IAM
|
|
6464
6571
|
end
|
6465
6572
|
|
6466
6573
|
# Retrieves the status of your service-linked role deletion. After you
|
6467
|
-
# use DeleteServiceLinkedRole to submit a service-linked role for
|
6574
|
+
# use [DeleteServiceLinkedRole][1] to submit a service-linked role for
|
6468
6575
|
# deletion, you can use the `DeletionTaskId` parameter in
|
6469
6576
|
# `GetServiceLinkedRoleDeletionStatus` to check the status of the
|
6470
6577
|
# deletion. If the deletion fails, this operation returns the reason
|
6471
6578
|
# that it failed, if that information is returned by the service.
|
6472
6579
|
#
|
6580
|
+
#
|
6581
|
+
#
|
6582
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteServiceLinkedRole.html
|
6583
|
+
#
|
6473
6584
|
# @option params [required, String] :deletion_task_id
|
6474
6585
|
# The deletion task identifier. This identifier is returned by the
|
6475
|
-
# DeleteServiceLinkedRole operation in the format
|
6586
|
+
# [DeleteServiceLinkedRole][1] operation in the format
|
6476
6587
|
# `task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>`.
|
6477
6588
|
#
|
6589
|
+
#
|
6590
|
+
#
|
6591
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteServiceLinkedRole.html
|
6592
|
+
#
|
6478
6593
|
# @return [Types::GetServiceLinkedRoleDeletionStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6479
6594
|
#
|
6480
6595
|
# * {Types::GetServiceLinkedRoleDeletionStatusResponse#status #status} => String
|
@@ -6589,22 +6704,25 @@ module Aws::IAM
|
|
6589
6704
|
# [RFC 3986][1]. You can use a URL decoding method to convert the policy
|
6590
6705
|
# back to plain JSON text. For example, if you use Java, you can use the
|
6591
6706
|
# `decode` method of the `java.net.URLDecoder` utility class in the Java
|
6592
|
-
# SDK. Other languages and SDKs provide similar functionality
|
6707
|
+
# SDK. Other languages and SDKs provide similar functionality, and some
|
6708
|
+
# SDKs do this decoding automatically.
|
6593
6709
|
#
|
6594
6710
|
# </note>
|
6595
6711
|
#
|
6596
6712
|
# An IAM user can also have managed policies attached to it. To retrieve
|
6597
|
-
# a managed policy document that is attached to a user, use
|
6598
|
-
# determine the policy's default version. Then use
|
6599
|
-
# retrieve the policy document.
|
6713
|
+
# a managed policy document that is attached to a user, use
|
6714
|
+
# [GetPolicy][2] to determine the policy's default version. Then use
|
6715
|
+
# [GetPolicyVersion][3] to retrieve the policy document.
|
6600
6716
|
#
|
6601
6717
|
# For more information about policies, see [Managed policies and inline
|
6602
|
-
# policies][
|
6718
|
+
# policies][4] in the *IAM User Guide*.
|
6603
6719
|
#
|
6604
6720
|
#
|
6605
6721
|
#
|
6606
6722
|
# [1]: https://tools.ietf.org/html/rfc3986
|
6607
|
-
# [2]: https://docs.aws.amazon.com/IAM/latest/
|
6723
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html
|
6724
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html
|
6725
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
6608
6726
|
#
|
6609
6727
|
# @option params [required, String] :user_name
|
6610
6728
|
# The name of the user who the policy is associated with.
|
@@ -6758,7 +6876,7 @@ module Aws::IAM
|
|
6758
6876
|
# resp.access_key_metadata #=> Array
|
6759
6877
|
# resp.access_key_metadata[0].user_name #=> String
|
6760
6878
|
# resp.access_key_metadata[0].access_key_id #=> String
|
6761
|
-
# resp.access_key_metadata[0].status #=> String, one of "Active", "Inactive"
|
6879
|
+
# resp.access_key_metadata[0].status #=> String, one of "Active", "Inactive", "Expired"
|
6762
6880
|
# resp.access_key_metadata[0].create_date #=> Time
|
6763
6881
|
# resp.is_truncated #=> Boolean
|
6764
6882
|
# resp.marker #=> String
|
@@ -6849,9 +6967,9 @@ module Aws::IAM
|
|
6849
6967
|
# group.
|
6850
6968
|
#
|
6851
6969
|
# An IAM group can also have inline policies embedded with it. To list
|
6852
|
-
# the inline policies for a group, use ListGroupPolicies. For
|
6970
|
+
# the inline policies for a group, use [ListGroupPolicies][1]. For
|
6853
6971
|
# information about policies, see [Managed policies and inline
|
6854
|
-
# policies][
|
6972
|
+
# policies][2] in the *IAM User Guide*.
|
6855
6973
|
#
|
6856
6974
|
# You can paginate the results using the `MaxItems` and `Marker`
|
6857
6975
|
# parameters. You can use the `PathPrefix` parameter to limit the list
|
@@ -6861,7 +6979,8 @@ module Aws::IAM
|
|
6861
6979
|
#
|
6862
6980
|
#
|
6863
6981
|
#
|
6864
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
6982
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroupPolicies.html
|
6983
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
6865
6984
|
#
|
6866
6985
|
# @option params [required, String] :group_name
|
6867
6986
|
# The name (friendly name, not ARN) of the group to list attached
|
@@ -6947,9 +7066,9 @@ module Aws::IAM
|
|
6947
7066
|
# role.
|
6948
7067
|
#
|
6949
7068
|
# An IAM role can also have inline policies embedded with it. To list
|
6950
|
-
# the inline policies for a role, use ListRolePolicies. For
|
6951
|
-
# about policies, see [Managed policies and inline
|
6952
|
-
# *IAM User Guide*.
|
7069
|
+
# the inline policies for a role, use [ListRolePolicies][1]. For
|
7070
|
+
# information about policies, see [Managed policies and inline
|
7071
|
+
# policies][2] in the *IAM User Guide*.
|
6953
7072
|
#
|
6954
7073
|
# You can paginate the results using the `MaxItems` and `Marker`
|
6955
7074
|
# parameters. You can use the `PathPrefix` parameter to limit the list
|
@@ -6959,7 +7078,8 @@ module Aws::IAM
|
|
6959
7078
|
#
|
6960
7079
|
#
|
6961
7080
|
#
|
6962
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
7081
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListRolePolicies.html
|
7082
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
6963
7083
|
#
|
6964
7084
|
# @option params [required, String] :role_name
|
6965
7085
|
# The name (friendly name, not ARN) of the role to list attached
|
@@ -7045,9 +7165,9 @@ module Aws::IAM
|
|
7045
7165
|
# user.
|
7046
7166
|
#
|
7047
7167
|
# An IAM user can also have inline policies embedded with it. To list
|
7048
|
-
# the inline policies for a user, use ListUserPolicies. For
|
7049
|
-
# about policies, see [Managed policies and inline
|
7050
|
-
# *IAM User Guide*.
|
7168
|
+
# the inline policies for a user, use [ListUserPolicies][1]. For
|
7169
|
+
# information about policies, see [Managed policies and inline
|
7170
|
+
# policies][2] in the *IAM User Guide*.
|
7051
7171
|
#
|
7052
7172
|
# You can paginate the results using the `MaxItems` and `Marker`
|
7053
7173
|
# parameters. You can use the `PathPrefix` parameter to limit the list
|
@@ -7057,7 +7177,8 @@ module Aws::IAM
|
|
7057
7177
|
#
|
7058
7178
|
#
|
7059
7179
|
#
|
7060
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
7180
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUserPolicies.html
|
7181
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
7061
7182
|
#
|
7062
7183
|
# @option params [required, String] :user_name
|
7063
7184
|
# The name (friendly name, not ARN) of the user to list attached
|
@@ -7263,8 +7384,8 @@ module Aws::IAM
|
|
7263
7384
|
#
|
7264
7385
|
# An IAM group can also have managed policies attached to it. To list
|
7265
7386
|
# the managed policies that are attached to a group, use
|
7266
|
-
# ListAttachedGroupPolicies. For more information about policies,
|
7267
|
-
# [Managed policies and inline policies][
|
7387
|
+
# [ListAttachedGroupPolicies][1]. For more information about policies,
|
7388
|
+
# see [Managed policies and inline policies][2] in the *IAM User Guide*.
|
7268
7389
|
#
|
7269
7390
|
# You can paginate the results using the `MaxItems` and `Marker`
|
7270
7391
|
# parameters. If there are no inline policies embedded with the
|
@@ -7272,7 +7393,8 @@ module Aws::IAM
|
|
7272
7393
|
#
|
7273
7394
|
#
|
7274
7395
|
#
|
7275
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
7396
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedGroupPolicies.html
|
7397
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
7276
7398
|
#
|
7277
7399
|
# @option params [required, String] :group_name
|
7278
7400
|
# The name of the group to list policies for.
|
@@ -7641,7 +7763,7 @@ module Aws::IAM
|
|
7641
7763
|
# attributes for the resource. For example, this operation does not
|
7642
7764
|
# return tags, even though they are an attribute of the returned object.
|
7643
7765
|
# To view all of the information for an instance profile, see
|
7644
|
-
# GetInstanceProfile.
|
7766
|
+
# [GetInstanceProfile][2].
|
7645
7767
|
#
|
7646
7768
|
# </note>
|
7647
7769
|
#
|
@@ -7651,6 +7773,7 @@ module Aws::IAM
|
|
7651
7773
|
#
|
7652
7774
|
#
|
7653
7775
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html
|
7776
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetInstanceProfile.html
|
7654
7777
|
#
|
7655
7778
|
# @option params [String] :path_prefix
|
7656
7779
|
# The path prefix for filtering the results. For example, the prefix
|
@@ -8066,10 +8189,14 @@ module Aws::IAM
|
|
8066
8189
|
# attributes for the resource. For example, this operation does not
|
8067
8190
|
# return tags, even though they are an attribute of the returned object.
|
8068
8191
|
# To view all of the information for an OIDC provider, see
|
8069
|
-
# GetOpenIDConnectProvider.
|
8192
|
+
# [GetOpenIDConnectProvider][1].
|
8070
8193
|
#
|
8071
8194
|
# </note>
|
8072
8195
|
#
|
8196
|
+
#
|
8197
|
+
#
|
8198
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOpenIDConnectProvider.html
|
8199
|
+
#
|
8073
8200
|
# @return [Types::ListOpenIDConnectProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8074
8201
|
#
|
8075
8202
|
# * {Types::ListOpenIDConnectProvidersResponse#open_id_connect_provider_list #open_id_connect_provider_list} => Array<Types::OpenIDConnectProviderListEntry>
|
@@ -8152,13 +8279,14 @@ module Aws::IAM
|
|
8152
8279
|
# attributes for the resource. For example, this operation does not
|
8153
8280
|
# return tags, even though they are an attribute of the returned object.
|
8154
8281
|
# To view all of the information for a customer manged policy, see
|
8155
|
-
# GetPolicy.
|
8282
|
+
# [GetPolicy][2].
|
8156
8283
|
#
|
8157
8284
|
# </note>
|
8158
8285
|
#
|
8159
8286
|
#
|
8160
8287
|
#
|
8161
8288
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
8289
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html
|
8162
8290
|
#
|
8163
8291
|
# @option params [String] :scope
|
8164
8292
|
# The scope to use for filtering the results.
|
@@ -8304,12 +8432,14 @@ module Aws::IAM
|
|
8304
8432
|
# Policies that are attached to users and roles as permissions
|
8305
8433
|
# boundaries are not returned. To view which managed policy is currently
|
8306
8434
|
# used to set the permissions boundary for a user or role, use the
|
8307
|
-
# GetUser or GetRole operations.
|
8435
|
+
# [GetUser][3] or [GetRole][4] operations.
|
8308
8436
|
#
|
8309
8437
|
#
|
8310
8438
|
#
|
8311
8439
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics
|
8312
8440
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html
|
8441
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html
|
8442
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRole.html
|
8313
8443
|
#
|
8314
8444
|
# @option params [String] :marker
|
8315
8445
|
# Use this parameter only when paginating results and only after you
|
@@ -8570,8 +8700,8 @@ module Aws::IAM
|
|
8570
8700
|
#
|
8571
8701
|
# An IAM role can also have managed policies attached to it. To list the
|
8572
8702
|
# managed policies that are attached to a role, use
|
8573
|
-
# ListAttachedRolePolicies. For more information about policies,
|
8574
|
-
# [Managed policies and inline policies][
|
8703
|
+
# [ListAttachedRolePolicies][1]. For more information about policies,
|
8704
|
+
# see [Managed policies and inline policies][2] in the *IAM User Guide*.
|
8575
8705
|
#
|
8576
8706
|
# You can paginate the results using the `MaxItems` and `Marker`
|
8577
8707
|
# parameters. If there are no inline policies embedded with the
|
@@ -8579,7 +8709,8 @@ module Aws::IAM
|
|
8579
8709
|
#
|
8580
8710
|
#
|
8581
8711
|
#
|
8582
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
8712
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedRolePolicies.html
|
8713
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
8583
8714
|
#
|
8584
8715
|
# @option params [required, String] :role_name
|
8585
8716
|
# The name of the role to list policies for.
|
@@ -8751,7 +8882,7 @@ module Aws::IAM
|
|
8751
8882
|
#
|
8752
8883
|
# * Tags
|
8753
8884
|
#
|
8754
|
-
# To view all of the information for a role, see GetRole.
|
8885
|
+
# To view all of the information for a role, see [GetRole][2].
|
8755
8886
|
#
|
8756
8887
|
# </note>
|
8757
8888
|
#
|
@@ -8761,6 +8892,7 @@ module Aws::IAM
|
|
8761
8892
|
#
|
8762
8893
|
#
|
8763
8894
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html
|
8895
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRole.html
|
8764
8896
|
#
|
8765
8897
|
# @option params [String] :path_prefix
|
8766
8898
|
# The path prefix for filtering the results. For example, the prefix
|
@@ -8923,13 +9055,14 @@ module Aws::IAM
|
|
8923
9055
|
# available attributes for the resource. For example, this operation
|
8924
9056
|
# does not return tags, even though they are an attribute of the
|
8925
9057
|
# returned object. To view all of the information for a SAML provider,
|
8926
|
-
# see GetSAMLProvider.
|
9058
|
+
# see [GetSAMLProvider][1].
|
8927
9059
|
#
|
8928
|
-
# This operation requires [Signature Version 4][
|
9060
|
+
# This operation requires [Signature Version 4][2].
|
8929
9061
|
#
|
8930
9062
|
#
|
8931
9063
|
#
|
8932
|
-
# [1]: https://docs.aws.amazon.com/
|
9064
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html
|
9065
|
+
# [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
8933
9066
|
#
|
8934
9067
|
# @return [Types::ListSAMLProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8935
9068
|
#
|
@@ -9020,7 +9153,7 @@ module Aws::IAM
|
|
9020
9153
|
# resp.ssh_public_keys #=> Array
|
9021
9154
|
# resp.ssh_public_keys[0].user_name #=> String
|
9022
9155
|
# resp.ssh_public_keys[0].ssh_public_key_id #=> String
|
9023
|
-
# resp.ssh_public_keys[0].status #=> String, one of "Active", "Inactive"
|
9156
|
+
# resp.ssh_public_keys[0].status #=> String, one of "Active", "Inactive", "Expired"
|
9024
9157
|
# resp.ssh_public_keys[0].upload_date #=> Time
|
9025
9158
|
# resp.is_truncated #=> Boolean
|
9026
9159
|
# resp.marker #=> String
|
@@ -9129,13 +9262,14 @@ module Aws::IAM
|
|
9129
9262
|
# attributes for the resource. For example, this operation does not
|
9130
9263
|
# return tags, even though they are an attribute of the returned object.
|
9131
9264
|
# To view all of the information for a servercertificate, see
|
9132
|
-
# GetServerCertificate.
|
9265
|
+
# [GetServerCertificate][2].
|
9133
9266
|
#
|
9134
9267
|
# </note>
|
9135
9268
|
#
|
9136
9269
|
#
|
9137
9270
|
#
|
9138
9271
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html
|
9272
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServerCertificate.html
|
9139
9273
|
#
|
9140
9274
|
# @option params [String] :path_prefix
|
9141
9275
|
# The path prefix for filtering the results. For example:
|
@@ -9240,26 +9374,51 @@ module Aws::IAM
|
|
9240
9374
|
# Web Services service. If not specified, then Amazon Web Services
|
9241
9375
|
# returns service-specific credentials for all services.
|
9242
9376
|
#
|
9377
|
+
# @option params [Boolean] :all_users
|
9378
|
+
# A flag indicating whether to list service specific credentials for all
|
9379
|
+
# users. This parameter cannot be specified together with UserName. When
|
9380
|
+
# true, returns all credentials associated with the specified service.
|
9381
|
+
#
|
9382
|
+
# @option params [String] :marker
|
9383
|
+
# Use this parameter only when paginating results and only after you
|
9384
|
+
# receive a response indicating that the results are truncated. Set it
|
9385
|
+
# to the value of the Marker from the response that you received to
|
9386
|
+
# indicate where the next call should start.
|
9387
|
+
#
|
9388
|
+
# @option params [Integer] :max_items
|
9389
|
+
# Use this only when paginating results to indicate the maximum number
|
9390
|
+
# of items you want in the response. If additional items exist beyond
|
9391
|
+
# the maximum you specify, the IsTruncated response element is true.
|
9392
|
+
#
|
9243
9393
|
# @return [Types::ListServiceSpecificCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9244
9394
|
#
|
9245
9395
|
# * {Types::ListServiceSpecificCredentialsResponse#service_specific_credentials #service_specific_credentials} => Array<Types::ServiceSpecificCredentialMetadata>
|
9396
|
+
# * {Types::ListServiceSpecificCredentialsResponse#marker #marker} => String
|
9397
|
+
# * {Types::ListServiceSpecificCredentialsResponse#is_truncated #is_truncated} => Boolean
|
9246
9398
|
#
|
9247
9399
|
# @example Request syntax with placeholder values
|
9248
9400
|
#
|
9249
9401
|
# resp = client.list_service_specific_credentials({
|
9250
9402
|
# user_name: "userNameType",
|
9251
9403
|
# service_name: "serviceName",
|
9404
|
+
# all_users: false,
|
9405
|
+
# marker: "markerType",
|
9406
|
+
# max_items: 1,
|
9252
9407
|
# })
|
9253
9408
|
#
|
9254
9409
|
# @example Response structure
|
9255
9410
|
#
|
9256
9411
|
# resp.service_specific_credentials #=> Array
|
9257
9412
|
# resp.service_specific_credentials[0].user_name #=> String
|
9258
|
-
# resp.service_specific_credentials[0].status #=> String, one of "Active", "Inactive"
|
9413
|
+
# resp.service_specific_credentials[0].status #=> String, one of "Active", "Inactive", "Expired"
|
9259
9414
|
# resp.service_specific_credentials[0].service_user_name #=> String
|
9415
|
+
# resp.service_specific_credentials[0].service_credential_alias #=> String
|
9260
9416
|
# resp.service_specific_credentials[0].create_date #=> Time
|
9417
|
+
# resp.service_specific_credentials[0].expiration_date #=> Time
|
9261
9418
|
# resp.service_specific_credentials[0].service_specific_credential_id #=> String
|
9262
9419
|
# resp.service_specific_credentials[0].service_name #=> String
|
9420
|
+
# resp.marker #=> String
|
9421
|
+
# resp.is_truncated #=> Boolean
|
9263
9422
|
#
|
9264
9423
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentials AWS API Documentation
|
9265
9424
|
#
|
@@ -9359,7 +9518,7 @@ module Aws::IAM
|
|
9359
9518
|
# resp.certificates[0].user_name #=> String
|
9360
9519
|
# resp.certificates[0].certificate_id #=> String
|
9361
9520
|
# resp.certificates[0].certificate_body #=> String
|
9362
|
-
# resp.certificates[0].status #=> String, one of "Active", "Inactive"
|
9521
|
+
# resp.certificates[0].status #=> String, one of "Active", "Inactive", "Expired"
|
9363
9522
|
# resp.certificates[0].upload_date #=> Time
|
9364
9523
|
# resp.is_truncated #=> Boolean
|
9365
9524
|
# resp.marker #=> String
|
@@ -9378,8 +9537,8 @@ module Aws::IAM
|
|
9378
9537
|
#
|
9379
9538
|
# An IAM user can also have managed policies attached to it. To list the
|
9380
9539
|
# managed policies that are attached to a user, use
|
9381
|
-
# ListAttachedUserPolicies. For more information about policies,
|
9382
|
-
# [Managed policies and inline policies][
|
9540
|
+
# [ListAttachedUserPolicies][1]. For more information about policies,
|
9541
|
+
# see [Managed policies and inline policies][2] in the *IAM User Guide*.
|
9383
9542
|
#
|
9384
9543
|
# You can paginate the results using the `MaxItems` and `Marker`
|
9385
9544
|
# parameters. If there are no inline policies embedded with the
|
@@ -9387,7 +9546,8 @@ module Aws::IAM
|
|
9387
9546
|
#
|
9388
9547
|
#
|
9389
9548
|
#
|
9390
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
9549
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedUserPolicies.html
|
9550
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
9391
9551
|
#
|
9392
9552
|
# @option params [required, String] :user_name
|
9393
9553
|
# The name of the user to list policies for.
|
@@ -9558,13 +9718,17 @@ module Aws::IAM
|
|
9558
9718
|
#
|
9559
9719
|
# * Tags
|
9560
9720
|
#
|
9561
|
-
# To view all of the information for a user, see GetUser.
|
9721
|
+
# To view all of the information for a user, see [GetUser][1].
|
9562
9722
|
#
|
9563
9723
|
# </note>
|
9564
9724
|
#
|
9565
9725
|
# You can paginate the results using the `MaxItems` and `Marker`
|
9566
9726
|
# parameters.
|
9567
9727
|
#
|
9728
|
+
#
|
9729
|
+
#
|
9730
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html
|
9731
|
+
#
|
9568
9732
|
# @option params [String] :path_prefix
|
9569
9733
|
# The path prefix for filtering the results. For example:
|
9570
9734
|
# `/division_abc/subdivision_xyz/`, which would get all user names whose
|
@@ -9680,13 +9844,17 @@ module Aws::IAM
|
|
9680
9844
|
# attributes for the resource. For example, this operation does not
|
9681
9845
|
# return tags, even though they are an attribute of the returned object.
|
9682
9846
|
# To view tag information for a virtual MFA device, see
|
9683
|
-
# ListMFADeviceTags.
|
9847
|
+
# [ListMFADeviceTags][1].
|
9684
9848
|
#
|
9685
9849
|
# </note>
|
9686
9850
|
#
|
9687
9851
|
# You can paginate the results using the `MaxItems` and `Marker`
|
9688
9852
|
# parameters.
|
9689
9853
|
#
|
9854
|
+
#
|
9855
|
+
#
|
9856
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListMFADeviceTags.html
|
9857
|
+
#
|
9690
9858
|
# @option params [String] :assignment_status
|
9691
9859
|
# The status (`Unassigned` or `Assigned`) of the devices to list. If you
|
9692
9860
|
# do not specify an `AssignmentStatus`, the operation defaults to `Any`,
|
@@ -9859,12 +10027,12 @@ module Aws::IAM
|
|
9859
10027
|
#
|
9860
10028
|
# @example Example: To add a policy to a group
|
9861
10029
|
#
|
9862
|
-
# # The following command adds a policy named
|
10030
|
+
# # The following command adds a policy named IAMReadAccess to the IAM group named PowerUsers.
|
9863
10031
|
#
|
9864
10032
|
# resp = client.put_group_policy({
|
9865
|
-
# group_name: "
|
9866
|
-
# policy_document: "{\"Version\":\"2012-10-17\",\"Statement\":{\"Effect\":\"Allow\",\"Action\"
|
9867
|
-
# policy_name: "
|
10033
|
+
# group_name: "PowerUsers",
|
10034
|
+
# policy_document: "{\"Version\":\"2012-10-17\",\"Statement\":{\"Effect\":\"Allow\",\"Action\":[\"iam:Get*\",\"iam:List*\",\"iam:Generate*\"],\"Resource\":\"*\"}}",
|
10035
|
+
# policy_name: "IAMReadAccess",
|
9868
10036
|
# })
|
9869
10037
|
#
|
9870
10038
|
# @example Request syntax with placeholder values
|
@@ -10232,19 +10400,24 @@ module Aws::IAM
|
|
10232
10400
|
# @option params [required, String] :open_id_connect_provider_arn
|
10233
10401
|
# The Amazon Resource Name (ARN) of the IAM OIDC provider resource to
|
10234
10402
|
# remove the client ID from. You can get a list of OIDC provider ARNs by
|
10235
|
-
# using the ListOpenIDConnectProviders operation.
|
10403
|
+
# using the [ListOpenIDConnectProviders][1] operation.
|
10236
10404
|
#
|
10237
|
-
# For more information about ARNs, see [Amazon Resource Names (ARNs)][
|
10405
|
+
# For more information about ARNs, see [Amazon Resource Names (ARNs)][2]
|
10238
10406
|
# in the *Amazon Web Services General Reference*.
|
10239
10407
|
#
|
10240
10408
|
#
|
10241
10409
|
#
|
10242
|
-
# [1]: https://docs.aws.amazon.com/
|
10410
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html
|
10411
|
+
# [2]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
10243
10412
|
#
|
10244
10413
|
# @option params [required, String] :client_id
|
10245
10414
|
# The client ID (also known as audience) to remove from the IAM OIDC
|
10246
10415
|
# provider resource. For more information about client IDs, see
|
10247
|
-
# CreateOpenIDConnectProvider.
|
10416
|
+
# [CreateOpenIDConnectProvider][1].
|
10417
|
+
#
|
10418
|
+
#
|
10419
|
+
#
|
10420
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html
|
10248
10421
|
#
|
10249
10422
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10250
10423
|
#
|
@@ -10432,12 +10605,15 @@ module Aws::IAM
|
|
10432
10605
|
# @example Response structure
|
10433
10606
|
#
|
10434
10607
|
# resp.service_specific_credential.create_date #=> Time
|
10608
|
+
# resp.service_specific_credential.expiration_date #=> Time
|
10435
10609
|
# resp.service_specific_credential.service_name #=> String
|
10436
10610
|
# resp.service_specific_credential.service_user_name #=> String
|
10437
10611
|
# resp.service_specific_credential.service_password #=> String
|
10612
|
+
# resp.service_specific_credential.service_credential_alias #=> String
|
10613
|
+
# resp.service_specific_credential.service_credential_secret #=> String
|
10438
10614
|
# resp.service_specific_credential.service_specific_credential_id #=> String
|
10439
10615
|
# resp.service_specific_credential.user_name #=> String
|
10440
|
-
# resp.service_specific_credential.status #=> String, one of "Active", "Inactive"
|
10616
|
+
# resp.service_specific_credential.status #=> String, one of "Active", "Inactive", "Expired"
|
10441
10617
|
#
|
10442
10618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredential AWS API Documentation
|
10443
10619
|
#
|
@@ -10517,14 +10693,15 @@ module Aws::IAM
|
|
10517
10693
|
#
|
10518
10694
|
# This operation affects all users, groups, and roles that the policy is
|
10519
10695
|
# attached to. To list the users, groups, and roles that the policy is
|
10520
|
-
# attached to, use ListEntitiesForPolicy.
|
10696
|
+
# attached to, use [ListEntitiesForPolicy][1].
|
10521
10697
|
#
|
10522
10698
|
# For information about managed policies, see [Managed policies and
|
10523
|
-
# inline policies][
|
10699
|
+
# inline policies][2] in the *IAM User Guide*.
|
10524
10700
|
#
|
10525
10701
|
#
|
10526
10702
|
#
|
10527
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
10703
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html
|
10704
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html
|
10528
10705
|
#
|
10529
10706
|
# @option params [required, String] :policy_arn
|
10530
10707
|
# The Amazon Resource Name (ARN) of the IAM policy whose default version
|
@@ -10589,12 +10766,13 @@ module Aws::IAM
|
|
10589
10766
|
#
|
10590
10767
|
# To view the current session token version, see the
|
10591
10768
|
# `GlobalEndpointTokenVersion` entry in the response of the
|
10592
|
-
# GetAccountSummary operation.
|
10769
|
+
# [GetAccountSummary][3] operation.
|
10593
10770
|
#
|
10594
10771
|
#
|
10595
10772
|
#
|
10596
10773
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/sts.html
|
10597
10774
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html
|
10775
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountSummary.html
|
10598
10776
|
#
|
10599
10777
|
# @option params [required, String] :global_endpoint_token_version
|
10600
10778
|
# The version of the global endpoint token. Version 1 tokens are valid
|
@@ -10648,14 +10826,14 @@ module Aws::IAM
|
|
10648
10826
|
# account.
|
10649
10827
|
#
|
10650
10828
|
# If you want to simulate existing policies that are attached to an IAM
|
10651
|
-
# user, group, or role, use SimulatePrincipalPolicy instead.
|
10829
|
+
# user, group, or role, use [SimulatePrincipalPolicy][1] instead.
|
10652
10830
|
#
|
10653
10831
|
# Context keys are variables that are maintained by Amazon Web Services
|
10654
10832
|
# and its services and which provide details about the context of an API
|
10655
10833
|
# query request. You can use the `Condition` element of an IAM policy to
|
10656
10834
|
# evaluate context keys. To get the list of context keys that the
|
10657
10835
|
# policies require for correct simulation, use
|
10658
|
-
# GetContextKeysForCustomPolicy.
|
10836
|
+
# [GetContextKeysForCustomPolicy][2].
|
10659
10837
|
#
|
10660
10838
|
# If the output is long, you can use `MaxItems` and `Marker` parameters
|
10661
10839
|
# to paginate the results.
|
@@ -10667,13 +10845,15 @@ module Aws::IAM
|
|
10667
10845
|
# live Amazon Web Services environment after testing using the policy
|
10668
10846
|
# simulator to confirm that you have the desired results. For more
|
10669
10847
|
# information about using the policy simulator, see [Testing IAM
|
10670
|
-
# policies with the IAM policy simulator ][
|
10848
|
+
# policies with the IAM policy simulator ][3]in the *IAM User Guide*.
|
10671
10849
|
#
|
10672
10850
|
# </note>
|
10673
10851
|
#
|
10674
10852
|
#
|
10675
10853
|
#
|
10676
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
10854
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html
|
10855
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html
|
10856
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html
|
10677
10857
|
#
|
10678
10858
|
# @option params [required, Array<String>] :policy_input_list
|
10679
10859
|
# A list of policy documents to include in the simulation. Each document
|
@@ -10982,8 +11162,8 @@ module Aws::IAM
|
|
10982
11162
|
#
|
10983
11163
|
# You can optionally include a list of one or more additional policies
|
10984
11164
|
# specified as strings to include in the simulation. If you want to
|
10985
|
-
# simulate only policies specified as strings, use
|
10986
|
-
# instead.
|
11165
|
+
# simulate only policies specified as strings, use
|
11166
|
+
# [SimulateCustomPolicy][1] instead.
|
10987
11167
|
#
|
10988
11168
|
# You can also optionally include one resource-based policy to be
|
10989
11169
|
# evaluated with each of the resources included in the simulation for
|
@@ -10995,15 +11175,15 @@ module Aws::IAM
|
|
10995
11175
|
#
|
10996
11176
|
# **Note:** This operation discloses information about the permissions
|
10997
11177
|
# granted to other users. If you do not want users to see other user's
|
10998
|
-
# permissions, then consider allowing them to use
|
10999
|
-
# instead.
|
11178
|
+
# permissions, then consider allowing them to use
|
11179
|
+
# [SimulateCustomPolicy][1] instead.
|
11000
11180
|
#
|
11001
11181
|
# Context keys are variables maintained by Amazon Web Services and its
|
11002
11182
|
# services that provide details about the context of an API query
|
11003
11183
|
# request. You can use the `Condition` element of an IAM policy to
|
11004
11184
|
# evaluate context keys. To get the list of context keys that the
|
11005
11185
|
# policies require for correct simulation, use
|
11006
|
-
# GetContextKeysForPrincipalPolicy.
|
11186
|
+
# [GetContextKeysForPrincipalPolicy][2].
|
11007
11187
|
#
|
11008
11188
|
# If the output is long, you can use the `MaxItems` and `Marker`
|
11009
11189
|
# parameters to paginate the results.
|
@@ -11015,13 +11195,15 @@ module Aws::IAM
|
|
11015
11195
|
# live Amazon Web Services environment after testing using the policy
|
11016
11196
|
# simulator to confirm that you have the desired results. For more
|
11017
11197
|
# information about using the policy simulator, see [Testing IAM
|
11018
|
-
# policies with the IAM policy simulator ][
|
11198
|
+
# policies with the IAM policy simulator ][3]in the *IAM User Guide*.
|
11019
11199
|
#
|
11020
11200
|
# </note>
|
11021
11201
|
#
|
11022
11202
|
#
|
11023
11203
|
#
|
11024
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
11204
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html
|
11205
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html
|
11206
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html
|
11025
11207
|
#
|
11026
11208
|
# @option params [required, String] :policy_source_arn
|
11027
11209
|
# The Amazon Resource Name (ARN) of a user, group, or role whose
|
@@ -12459,7 +12641,7 @@ module Aws::IAM
|
|
12459
12641
|
# resp = client.update_access_key({
|
12460
12642
|
# user_name: "existingUserNameType",
|
12461
12643
|
# access_key_id: "accessKeyIdType", # required
|
12462
|
-
# status: "Active", # required, accepts Active, Inactive
|
12644
|
+
# status: "Active", # required, accepts Active, Inactive, Expired
|
12463
12645
|
# })
|
12464
12646
|
#
|
12465
12647
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKey AWS API Documentation
|
@@ -12780,16 +12962,17 @@ module Aws::IAM
|
|
12780
12962
|
|
12781
12963
|
# Changes the password for the specified IAM user. You can use the CLI,
|
12782
12964
|
# the Amazon Web Services API, or the **Users** page in the IAM console
|
12783
|
-
# to change the password for any IAM user. Use ChangePassword to
|
12784
|
-
# your own password in the **My Security Credentials** page in
|
12785
|
-
# Amazon Web Services Management Console.
|
12965
|
+
# to change the password for any IAM user. Use [ChangePassword][1] to
|
12966
|
+
# change your own password in the **My Security Credentials** page in
|
12967
|
+
# the Amazon Web Services Management Console.
|
12786
12968
|
#
|
12787
12969
|
# For more information about modifying passwords, see [Managing
|
12788
|
-
# passwords][
|
12970
|
+
# passwords][2] in the *IAM User Guide*.
|
12789
12971
|
#
|
12790
12972
|
#
|
12791
12973
|
#
|
12792
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/
|
12974
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ChangePassword.html
|
12975
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html
|
12793
12976
|
#
|
12794
12977
|
# @option params [required, String] :user_name
|
12795
12978
|
# The name of the user whose password you want to update.
|
@@ -12820,11 +13003,12 @@ module Aws::IAM
|
|
12820
13003
|
#
|
12821
13004
|
# However, the format can be further restricted by the account
|
12822
13005
|
# administrator by setting a password policy on the Amazon Web Services
|
12823
|
-
# account. For more information, see UpdateAccountPasswordPolicy.
|
13006
|
+
# account. For more information, see [UpdateAccountPasswordPolicy][2].
|
12824
13007
|
#
|
12825
13008
|
#
|
12826
13009
|
#
|
12827
13010
|
# [1]: http://wikipedia.org/wiki/regex
|
13011
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAccountPasswordPolicy.html
|
12828
13012
|
#
|
12829
13013
|
# @option params [Boolean] :password_reset_required
|
12830
13014
|
# Allows this new password to be used only once by requiring the
|
@@ -12891,20 +13075,25 @@ module Aws::IAM
|
|
12891
13075
|
# @option params [required, String] :open_id_connect_provider_arn
|
12892
13076
|
# The Amazon Resource Name (ARN) of the IAM OIDC provider resource
|
12893
13077
|
# object for which you want to update the thumbprint. You can get a list
|
12894
|
-
# of OIDC provider ARNs by using the ListOpenIDConnectProviders
|
13078
|
+
# of OIDC provider ARNs by using the [ListOpenIDConnectProviders][1]
|
12895
13079
|
# operation.
|
12896
13080
|
#
|
12897
|
-
# For more information about ARNs, see [Amazon Resource Names (ARNs)][
|
13081
|
+
# For more information about ARNs, see [Amazon Resource Names (ARNs)][2]
|
12898
13082
|
# in the *Amazon Web Services General Reference*.
|
12899
13083
|
#
|
12900
13084
|
#
|
12901
13085
|
#
|
12902
|
-
# [1]: https://docs.aws.amazon.com/
|
13086
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html
|
13087
|
+
# [2]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
12903
13088
|
#
|
12904
13089
|
# @option params [required, Array<String>] :thumbprint_list
|
12905
13090
|
# A list of certificate thumbprints that are associated with the
|
12906
13091
|
# specified IAM OpenID Connect provider. For more information, see
|
12907
|
-
# CreateOpenIDConnectProvider.
|
13092
|
+
# [CreateOpenIDConnectProvider][1].
|
13093
|
+
#
|
13094
|
+
#
|
13095
|
+
#
|
13096
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html
|
12908
13097
|
#
|
12909
13098
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
12910
13099
|
#
|
@@ -12977,12 +13166,16 @@ module Aws::IAM
|
|
12977
13166
|
req.send_request(options)
|
12978
13167
|
end
|
12979
13168
|
|
12980
|
-
# Use UpdateRole instead.
|
13169
|
+
# Use [UpdateRole][1] instead.
|
12981
13170
|
#
|
12982
13171
|
# Modifies only the description of a role. This operation performs the
|
12983
13172
|
# same function as the `Description` parameter in the `UpdateRole`
|
12984
13173
|
# operation.
|
12985
13174
|
#
|
13175
|
+
#
|
13176
|
+
#
|
13177
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateRole.html
|
13178
|
+
#
|
12986
13179
|
# @option params [required, String] :role_name
|
12987
13180
|
# The name of the role that you want to modify.
|
12988
13181
|
#
|
@@ -13137,7 +13330,7 @@ module Aws::IAM
|
|
13137
13330
|
# resp = client.update_ssh_public_key({
|
13138
13331
|
# user_name: "userNameType", # required
|
13139
13332
|
# ssh_public_key_id: "publicKeyIdType", # required
|
13140
|
-
# status: "Active", # required, accepts Active, Inactive
|
13333
|
+
# status: "Active", # required, accepts Active, Inactive, Expired
|
13141
13334
|
# })
|
13142
13335
|
#
|
13143
13336
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKey AWS API Documentation
|
@@ -13279,7 +13472,7 @@ module Aws::IAM
|
|
13279
13472
|
# resp = client.update_service_specific_credential({
|
13280
13473
|
# user_name: "userNameType",
|
13281
13474
|
# service_specific_credential_id: "serviceSpecificCredentialId", # required
|
13282
|
-
# status: "Active", # required, accepts Active, Inactive
|
13475
|
+
# status: "Active", # required, accepts Active, Inactive, Expired
|
13283
13476
|
# })
|
13284
13477
|
#
|
13285
13478
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredential AWS API Documentation
|
@@ -13349,7 +13542,7 @@ module Aws::IAM
|
|
13349
13542
|
# resp = client.update_signing_certificate({
|
13350
13543
|
# user_name: "existingUserNameType",
|
13351
13544
|
# certificate_id: "certificateIdType", # required
|
13352
|
-
# status: "Active", # required, accepts Active, Inactive
|
13545
|
+
# status: "Active", # required, accepts Active, Inactive, Expired
|
13353
13546
|
# })
|
13354
13547
|
#
|
13355
13548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificate AWS API Documentation
|
@@ -13510,7 +13703,7 @@ module Aws::IAM
|
|
13510
13703
|
# resp.ssh_public_key.ssh_public_key_id #=> String
|
13511
13704
|
# resp.ssh_public_key.fingerprint #=> String
|
13512
13705
|
# resp.ssh_public_key.ssh_public_key_body #=> String
|
13513
|
-
# resp.ssh_public_key.status #=> String, one of "Active", "Inactive"
|
13706
|
+
# resp.ssh_public_key.status #=> String, one of "Active", "Inactive", "Expired"
|
13514
13707
|
# resp.ssh_public_key.upload_date #=> Time
|
13515
13708
|
#
|
13516
13709
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKey AWS API Documentation
|
@@ -13839,7 +14032,7 @@ module Aws::IAM
|
|
13839
14032
|
# resp.certificate.user_name #=> String
|
13840
14033
|
# resp.certificate.certificate_id #=> String
|
13841
14034
|
# resp.certificate.certificate_body #=> String
|
13842
|
-
# resp.certificate.status #=> String, one of "Active", "Inactive"
|
14035
|
+
# resp.certificate.status #=> String, one of "Active", "Inactive", "Expired"
|
13843
14036
|
# resp.certificate.upload_date #=> Time
|
13844
14037
|
#
|
13845
14038
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificate AWS API Documentation
|
@@ -13869,7 +14062,7 @@ module Aws::IAM
|
|
13869
14062
|
tracer: tracer
|
13870
14063
|
)
|
13871
14064
|
context[:gem_name] = 'aws-sdk-iam'
|
13872
|
-
context[:gem_version] = '1.
|
14065
|
+
context[:gem_version] = '1.124.0'
|
13873
14066
|
Seahorse::Client::Request.new(handlers, context)
|
13874
14067
|
end
|
13875
14068
|
|