aws-sdk-iam 1.113.0 → 1.115.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/client.rb +322 -24
- data/lib/aws-sdk-iam/client_api.rb +127 -5
- data/lib/aws-sdk-iam/errors.rb +55 -0
- data/lib/aws-sdk-iam/login_profile.rb +8 -4
- data/lib/aws-sdk-iam/types.rb +202 -10
- data/lib/aws-sdk-iam/user.rb +8 -4
- data/lib/aws-sdk-iam.rb +1 -1
- data/sig/account_summary.rbs +1 -1
- data/sig/client.rbs +61 -9
- data/sig/errors.rbs +10 -0
- data/sig/login_profile.rbs +1 -1
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +61 -1
- data/sig/user.rbs +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fba2a138c819bcfdf668c6ea67c01e609325a91b3d25a5343d77cffbe5d21c7c
|
4
|
+
data.tar.gz: 559fd859da110e00823a4952db6934a86683f2d61ba83c2282e132a839e2bcd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '023814f1895b52888402ff1dd2b8f182f839cb20310efde8097d80ba013e47973e3b0e74f5091c0cdd0554b0845a645b34d5fce8b6eb9761dec5b50520971e42'
|
7
|
+
data.tar.gz: 01bf17ce824a16f90902603207ec2f39d8fc32d84a5068c88502f8cf0872c003aeb6880ea17f0ca7dc3c47391f6d103d11f6db6779aa22dd8028c99e624e1b2c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.115.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.114.0 (2024-11-14)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release includes support for five new APIs and changes to existing APIs that give AWS Organizations customers the ability to use temporary root credentials, targeted to member accounts in the organization.
|
13
|
+
|
4
14
|
1.113.0 (2024-11-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.115.0
|
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -257,11 +257,34 @@ module Aws::IAM
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -1269,23 +1292,32 @@ module Aws::IAM
|
|
1269
1292
|
#
|
1270
1293
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html
|
1271
1294
|
#
|
1272
|
-
# @option params [
|
1295
|
+
# @option params [String] :user_name
|
1273
1296
|
# The name of the IAM user to create a password for. The user must
|
1274
1297
|
# already exist.
|
1275
1298
|
#
|
1276
|
-
# This parameter
|
1299
|
+
# This parameter is optional. If no user name is included, it defaults
|
1300
|
+
# to the principal making the request. When you make this request with
|
1301
|
+
# root user credentials, you must use an [AssumeRoot][1] session to omit
|
1302
|
+
# the user name.
|
1303
|
+
#
|
1304
|
+
# This parameter allows (through its [regex pattern][2]) a string of
|
1277
1305
|
# characters consisting of upper and lowercase alphanumeric characters
|
1278
1306
|
# with no spaces. You can also include any of the following characters:
|
1279
1307
|
# \_+=,.@-
|
1280
1308
|
#
|
1281
1309
|
#
|
1282
1310
|
#
|
1283
|
-
# [1]:
|
1311
|
+
# [1]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html
|
1312
|
+
# [2]: http://wikipedia.org/wiki/regex
|
1284
1313
|
#
|
1285
|
-
# @option params [
|
1314
|
+
# @option params [String] :password
|
1286
1315
|
# The new password for the user.
|
1287
1316
|
#
|
1288
|
-
#
|
1317
|
+
# This parameter must be omitted when you make the request with an
|
1318
|
+
# [AssumeRoot][1] session. It is required in all other cases.
|
1319
|
+
#
|
1320
|
+
# The [regex pattern][2] that is used to validate this parameter is a
|
1289
1321
|
# string of characters. That string can include almost any printable
|
1290
1322
|
# ASCII character from the space (`\u0020`) through the end of the ASCII
|
1291
1323
|
# character range (`\u00FF`). You can also include the tab (`\u0009`),
|
@@ -1297,7 +1329,8 @@ module Aws::IAM
|
|
1297
1329
|
#
|
1298
1330
|
#
|
1299
1331
|
#
|
1300
|
-
# [1]:
|
1332
|
+
# [1]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html
|
1333
|
+
# [2]: http://wikipedia.org/wiki/regex
|
1301
1334
|
#
|
1302
1335
|
# @option params [Boolean] :password_reset_required
|
1303
1336
|
# Specifies whether the user is required to set a new password on next
|
@@ -1331,8 +1364,8 @@ module Aws::IAM
|
|
1331
1364
|
# @example Request syntax with placeholder values
|
1332
1365
|
#
|
1333
1366
|
# resp = client.create_login_profile({
|
1334
|
-
# user_name: "userNameType",
|
1335
|
-
# password: "passwordType",
|
1367
|
+
# user_name: "userNameType",
|
1368
|
+
# password: "passwordType",
|
1336
1369
|
# password_reset_required: false,
|
1337
1370
|
# })
|
1338
1371
|
#
|
@@ -2519,17 +2552,23 @@ module Aws::IAM
|
|
2519
2552
|
#
|
2520
2553
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html
|
2521
2554
|
#
|
2522
|
-
# @option params [
|
2555
|
+
# @option params [String] :user_name
|
2523
2556
|
# The name of the user whose MFA device you want to deactivate.
|
2524
2557
|
#
|
2525
|
-
# This parameter
|
2558
|
+
# This parameter is optional. If no user name is included, it defaults
|
2559
|
+
# to the principal making the request. When you make this request with
|
2560
|
+
# root user credentials, you must use an [AssumeRoot][1] session to omit
|
2561
|
+
# the user name.
|
2562
|
+
#
|
2563
|
+
# This parameter allows (through its [regex pattern][2]) a string of
|
2526
2564
|
# characters consisting of upper and lowercase alphanumeric characters
|
2527
2565
|
# with no spaces. You can also include any of the following characters:
|
2528
2566
|
# \_+=,.@-
|
2529
2567
|
#
|
2530
2568
|
#
|
2531
2569
|
#
|
2532
|
-
# [1]:
|
2570
|
+
# [1]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html
|
2571
|
+
# [2]: http://wikipedia.org/wiki/regex
|
2533
2572
|
#
|
2534
2573
|
# @option params [required, String] :serial_number
|
2535
2574
|
# The serial number that uniquely identifies the MFA device. For virtual
|
@@ -2549,7 +2588,7 @@ module Aws::IAM
|
|
2549
2588
|
# @example Request syntax with placeholder values
|
2550
2589
|
#
|
2551
2590
|
# resp = client.deactivate_mfa_device({
|
2552
|
-
# user_name: "existingUserNameType",
|
2591
|
+
# user_name: "existingUserNameType",
|
2553
2592
|
# serial_number: "serialNumberType", # required
|
2554
2593
|
# })
|
2555
2594
|
#
|
@@ -2861,17 +2900,23 @@ module Aws::IAM
|
|
2861
2900
|
#
|
2862
2901
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_admin-change-user.html
|
2863
2902
|
#
|
2864
|
-
# @option params [
|
2903
|
+
# @option params [String] :user_name
|
2865
2904
|
# The name of the user whose password you want to delete.
|
2866
2905
|
#
|
2867
|
-
# This parameter
|
2906
|
+
# This parameter is optional. If no user name is included, it defaults
|
2907
|
+
# to the principal making the request. When you make this request with
|
2908
|
+
# root user credentials, you must use an [AssumeRoot][1] session to omit
|
2909
|
+
# the user name.
|
2910
|
+
#
|
2911
|
+
# This parameter allows (through its [regex pattern][2]) a string of
|
2868
2912
|
# characters consisting of upper and lowercase alphanumeric characters
|
2869
2913
|
# with no spaces. You can also include any of the following characters:
|
2870
2914
|
# \_+=,.@-
|
2871
2915
|
#
|
2872
2916
|
#
|
2873
2917
|
#
|
2874
|
-
# [1]:
|
2918
|
+
# [1]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html
|
2919
|
+
# [2]: http://wikipedia.org/wiki/regex
|
2875
2920
|
#
|
2876
2921
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2877
2922
|
#
|
@@ -2887,7 +2932,7 @@ module Aws::IAM
|
|
2887
2932
|
# @example Request syntax with placeholder values
|
2888
2933
|
#
|
2889
2934
|
# resp = client.delete_login_profile({
|
2890
|
-
# user_name: "userNameType",
|
2935
|
+
# user_name: "userNameType",
|
2891
2936
|
# })
|
2892
2937
|
#
|
2893
2938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfile AWS API Documentation
|
@@ -3860,6 +3905,91 @@ module Aws::IAM
|
|
3860
3905
|
req.send_request(options)
|
3861
3906
|
end
|
3862
3907
|
|
3908
|
+
# Disables the management of privileged root user credentials across
|
3909
|
+
# member accounts in your organization. When you disable this feature,
|
3910
|
+
# the management account and the delegated admininstrator for IAM can no
|
3911
|
+
# longer manage root user credentials for member accounts in your
|
3912
|
+
# organization.
|
3913
|
+
#
|
3914
|
+
# @return [Types::DisableOrganizationsRootCredentialsManagementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3915
|
+
#
|
3916
|
+
# * {Types::DisableOrganizationsRootCredentialsManagementResponse#organization_id #organization_id} => String
|
3917
|
+
# * {Types::DisableOrganizationsRootCredentialsManagementResponse#enabled_features #enabled_features} => Array<String>
|
3918
|
+
#
|
3919
|
+
#
|
3920
|
+
# @example Example: To disable the RootCredentialsManagement feature in your organization
|
3921
|
+
#
|
3922
|
+
# # The following command disables the management of privileged root user credentials across member accounts in your
|
3923
|
+
# # organization.
|
3924
|
+
#
|
3925
|
+
# resp = client.disable_organizations_root_credentials_management({
|
3926
|
+
# })
|
3927
|
+
#
|
3928
|
+
# resp.to_h outputs the following:
|
3929
|
+
# {
|
3930
|
+
# enabled_features: [
|
3931
|
+
# "RootSessions",
|
3932
|
+
# ],
|
3933
|
+
# organization_id: "o-aa111bb222",
|
3934
|
+
# }
|
3935
|
+
#
|
3936
|
+
# @example Response structure
|
3937
|
+
#
|
3938
|
+
# resp.organization_id #=> String
|
3939
|
+
# resp.enabled_features #=> Array
|
3940
|
+
# resp.enabled_features[0] #=> String, one of "RootCredentialsManagement", "RootSessions"
|
3941
|
+
#
|
3942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DisableOrganizationsRootCredentialsManagement AWS API Documentation
|
3943
|
+
#
|
3944
|
+
# @overload disable_organizations_root_credentials_management(params = {})
|
3945
|
+
# @param [Hash] params ({})
|
3946
|
+
def disable_organizations_root_credentials_management(params = {}, options = {})
|
3947
|
+
req = build_request(:disable_organizations_root_credentials_management, params)
|
3948
|
+
req.send_request(options)
|
3949
|
+
end
|
3950
|
+
|
3951
|
+
# Disables root user sessions for privileged tasks across member
|
3952
|
+
# accounts in your organization. When you disable this feature, the
|
3953
|
+
# management account and the delegated admininstrator for IAM can no
|
3954
|
+
# longer perform privileged tasks on member accounts in your
|
3955
|
+
# organization.
|
3956
|
+
#
|
3957
|
+
# @return [Types::DisableOrganizationsRootSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3958
|
+
#
|
3959
|
+
# * {Types::DisableOrganizationsRootSessionsResponse#organization_id #organization_id} => String
|
3960
|
+
# * {Types::DisableOrganizationsRootSessionsResponse#enabled_features #enabled_features} => Array<String>
|
3961
|
+
#
|
3962
|
+
#
|
3963
|
+
# @example Example: To disable the RootSessions feature in your organization
|
3964
|
+
#
|
3965
|
+
# # The following command disables root user sessions for privileged tasks across member accounts in your organization.
|
3966
|
+
#
|
3967
|
+
# resp = client.disable_organizations_root_sessions({
|
3968
|
+
# })
|
3969
|
+
#
|
3970
|
+
# resp.to_h outputs the following:
|
3971
|
+
# {
|
3972
|
+
# enabled_features: [
|
3973
|
+
# "RootCredentialsManagement",
|
3974
|
+
# ],
|
3975
|
+
# organization_id: "o-aa111bb222",
|
3976
|
+
# }
|
3977
|
+
#
|
3978
|
+
# @example Response structure
|
3979
|
+
#
|
3980
|
+
# resp.organization_id #=> String
|
3981
|
+
# resp.enabled_features #=> Array
|
3982
|
+
# resp.enabled_features[0] #=> String, one of "RootCredentialsManagement", "RootSessions"
|
3983
|
+
#
|
3984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DisableOrganizationsRootSessions AWS API Documentation
|
3985
|
+
#
|
3986
|
+
# @overload disable_organizations_root_sessions(params = {})
|
3987
|
+
# @param [Hash] params ({})
|
3988
|
+
def disable_organizations_root_sessions(params = {}, options = {})
|
3989
|
+
req = build_request(:disable_organizations_root_sessions, params)
|
3990
|
+
req.send_request(options)
|
3991
|
+
end
|
3992
|
+
|
3863
3993
|
# Enables the specified MFA device and associates it with the specified
|
3864
3994
|
# IAM user. When enabled, the MFA device is required for every
|
3865
3995
|
# subsequent login by the IAM user associated with the device.
|
@@ -3941,6 +4071,124 @@ module Aws::IAM
|
|
3941
4071
|
req.send_request(options)
|
3942
4072
|
end
|
3943
4073
|
|
4074
|
+
# Enables the management of privileged root user credentials across
|
4075
|
+
# member accounts in your organization. When you enable root credentials
|
4076
|
+
# management for [centralized root access][1], the management account
|
4077
|
+
# and the delegated admininstrator for IAM can manage root user
|
4078
|
+
# credentials for member accounts in your organization.
|
4079
|
+
#
|
4080
|
+
# Before you enable centralized root access, you must have an account
|
4081
|
+
# configured with the following settings:
|
4082
|
+
#
|
4083
|
+
# * You must manage your Amazon Web Services accounts in
|
4084
|
+
# [Organizations][2].
|
4085
|
+
#
|
4086
|
+
# * Enable trusted access for Identity and Access Management in
|
4087
|
+
# Organizations. For details, see [IAM and Organizations][3] in the
|
4088
|
+
# *Organizations User Guide*.
|
4089
|
+
#
|
4090
|
+
#
|
4091
|
+
#
|
4092
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management
|
4093
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html
|
4094
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-ra.html
|
4095
|
+
#
|
4096
|
+
# @return [Types::EnableOrganizationsRootCredentialsManagementResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4097
|
+
#
|
4098
|
+
# * {Types::EnableOrganizationsRootCredentialsManagementResponse#organization_id #organization_id} => String
|
4099
|
+
# * {Types::EnableOrganizationsRootCredentialsManagementResponse#enabled_features #enabled_features} => Array<String>
|
4100
|
+
#
|
4101
|
+
#
|
4102
|
+
# @example Example: To enable the RootCredentialsManagement feature in your organization
|
4103
|
+
#
|
4104
|
+
# # The following command enables the management of privileged root user credentials across member accounts in your
|
4105
|
+
# # organization.
|
4106
|
+
#
|
4107
|
+
# resp = client.enable_organizations_root_credentials_management({
|
4108
|
+
# })
|
4109
|
+
#
|
4110
|
+
# resp.to_h outputs the following:
|
4111
|
+
# {
|
4112
|
+
# enabled_features: [
|
4113
|
+
# "RootCredentialsManagement",
|
4114
|
+
# ],
|
4115
|
+
# organization_id: "o-aa111bb222",
|
4116
|
+
# }
|
4117
|
+
#
|
4118
|
+
# @example Response structure
|
4119
|
+
#
|
4120
|
+
# resp.organization_id #=> String
|
4121
|
+
# resp.enabled_features #=> Array
|
4122
|
+
# resp.enabled_features[0] #=> String, one of "RootCredentialsManagement", "RootSessions"
|
4123
|
+
#
|
4124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableOrganizationsRootCredentialsManagement AWS API Documentation
|
4125
|
+
#
|
4126
|
+
# @overload enable_organizations_root_credentials_management(params = {})
|
4127
|
+
# @param [Hash] params ({})
|
4128
|
+
def enable_organizations_root_credentials_management(params = {}, options = {})
|
4129
|
+
req = build_request(:enable_organizations_root_credentials_management, params)
|
4130
|
+
req.send_request(options)
|
4131
|
+
end
|
4132
|
+
|
4133
|
+
# Allows the management account or delegated administrator to perform
|
4134
|
+
# privileged tasks on member accounts in your organization. For more
|
4135
|
+
# information, see [Centrally manage root access for member accounts][1]
|
4136
|
+
# in the *Identity and Access Management User Guide*.
|
4137
|
+
#
|
4138
|
+
# Before you enable this feature, you must have an account configured
|
4139
|
+
# with the following settings:
|
4140
|
+
#
|
4141
|
+
# * You must manage your Amazon Web Services accounts in
|
4142
|
+
# [Organizations][2].
|
4143
|
+
#
|
4144
|
+
# * Enable trusted access for Identity and Access Management in
|
4145
|
+
# Organizations. For details, see [IAM and Organizations][3] in the
|
4146
|
+
# *Organizations User Guide*.
|
4147
|
+
#
|
4148
|
+
#
|
4149
|
+
#
|
4150
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management
|
4151
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html
|
4152
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-ra.html
|
4153
|
+
#
|
4154
|
+
# @return [Types::EnableOrganizationsRootSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4155
|
+
#
|
4156
|
+
# * {Types::EnableOrganizationsRootSessionsResponse#organization_id #organization_id} => String
|
4157
|
+
# * {Types::EnableOrganizationsRootSessionsResponse#enabled_features #enabled_features} => Array<String>
|
4158
|
+
#
|
4159
|
+
#
|
4160
|
+
# @example Example: To enable the RootSessions feature in your organization
|
4161
|
+
#
|
4162
|
+
# # The following command allows the management account or delegated administrator to perform privileged tasks on member
|
4163
|
+
# # accounts in your organization.
|
4164
|
+
#
|
4165
|
+
# resp = client.enable_organizations_root_sessions({
|
4166
|
+
# })
|
4167
|
+
#
|
4168
|
+
# resp.to_h outputs the following:
|
4169
|
+
# {
|
4170
|
+
# enabled_features: [
|
4171
|
+
# "RootCredentialsManagement",
|
4172
|
+
# "RootSessions",
|
4173
|
+
# ],
|
4174
|
+
# organization_id: "o-aa111bb222",
|
4175
|
+
# }
|
4176
|
+
#
|
4177
|
+
# @example Response structure
|
4178
|
+
#
|
4179
|
+
# resp.organization_id #=> String
|
4180
|
+
# resp.enabled_features #=> Array
|
4181
|
+
# resp.enabled_features[0] #=> String, one of "RootCredentialsManagement", "RootSessions"
|
4182
|
+
#
|
4183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableOrganizationsRootSessions AWS API Documentation
|
4184
|
+
#
|
4185
|
+
# @overload enable_organizations_root_sessions(params = {})
|
4186
|
+
# @param [Hash] params ({})
|
4187
|
+
def enable_organizations_root_sessions(params = {}, options = {})
|
4188
|
+
req = build_request(:enable_organizations_root_sessions, params)
|
4189
|
+
req.send_request(options)
|
4190
|
+
end
|
4191
|
+
|
3944
4192
|
# Generates a credential report for the Amazon Web Services account. For
|
3945
4193
|
# more information about the credential report, see [Getting credential
|
3946
4194
|
# reports][1] in the *IAM User Guide*.
|
@@ -5066,17 +5314,23 @@ module Aws::IAM
|
|
5066
5314
|
# you create a password for the user to access the Amazon Web Services
|
5067
5315
|
# Management Console.
|
5068
5316
|
#
|
5069
|
-
# @option params [
|
5317
|
+
# @option params [String] :user_name
|
5070
5318
|
# The name of the user whose login profile you want to retrieve.
|
5071
5319
|
#
|
5072
|
-
# This parameter
|
5320
|
+
# This parameter is optional. If no user name is included, it defaults
|
5321
|
+
# to the principal making the request. When you make this request with
|
5322
|
+
# root user credentials, you must use an [AssumeRoot][1] session to omit
|
5323
|
+
# the user name.
|
5324
|
+
#
|
5325
|
+
# This parameter allows (through its [regex pattern][2]) a string of
|
5073
5326
|
# characters consisting of upper and lowercase alphanumeric characters
|
5074
5327
|
# with no spaces. You can also include any of the following characters:
|
5075
5328
|
# \_+=,.@-
|
5076
5329
|
#
|
5077
5330
|
#
|
5078
5331
|
#
|
5079
|
-
# [1]:
|
5332
|
+
# [1]: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html
|
5333
|
+
# [2]: http://wikipedia.org/wiki/regex
|
5080
5334
|
#
|
5081
5335
|
# @return [Types::GetLoginProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5082
5336
|
#
|
@@ -5102,7 +5356,7 @@ module Aws::IAM
|
|
5102
5356
|
# @example Request syntax with placeholder values
|
5103
5357
|
#
|
5104
5358
|
# resp = client.get_login_profile({
|
5105
|
-
# user_name: "userNameType",
|
5359
|
+
# user_name: "userNameType",
|
5106
5360
|
# })
|
5107
5361
|
#
|
5108
5362
|
# @example Response structure
|
@@ -6494,12 +6748,12 @@ module Aws::IAM
|
|
6494
6748
|
# Lists the account alias associated with the Amazon Web Services
|
6495
6749
|
# account (Note: you can have only one). For information about using an
|
6496
6750
|
# Amazon Web Services account alias, see [Creating, deleting, and
|
6497
|
-
# listing an Amazon Web Services account alias][1] in the *
|
6498
|
-
# Guide*.
|
6751
|
+
# listing an Amazon Web Services account alias][1] in the *Amazon Web
|
6752
|
+
# Services Sign-In User Guide*.
|
6499
6753
|
#
|
6500
6754
|
#
|
6501
6755
|
#
|
6502
|
-
# [1]: https://docs.aws.amazon.com/
|
6756
|
+
# [1]: https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html
|
6503
6757
|
#
|
6504
6758
|
# @option params [String] :marker
|
6505
6759
|
# Use this parameter only when paginating results and only after you
|
@@ -7807,6 +8061,50 @@ module Aws::IAM
|
|
7807
8061
|
req.send_request(options)
|
7808
8062
|
end
|
7809
8063
|
|
8064
|
+
# Lists the centralized root access features enabled for your
|
8065
|
+
# organization. For more information, see [Centrally manage root access
|
8066
|
+
# for member accounts][1].
|
8067
|
+
#
|
8068
|
+
#
|
8069
|
+
#
|
8070
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management
|
8071
|
+
#
|
8072
|
+
# @return [Types::ListOrganizationsFeaturesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8073
|
+
#
|
8074
|
+
# * {Types::ListOrganizationsFeaturesResponse#organization_id #organization_id} => String
|
8075
|
+
# * {Types::ListOrganizationsFeaturesResponse#enabled_features #enabled_features} => Array<String>
|
8076
|
+
#
|
8077
|
+
#
|
8078
|
+
# @example Example: To list the centralized root access features enabled for your organization
|
8079
|
+
#
|
8080
|
+
# # he following command lists the centralized root access features enabled for your organization.
|
8081
|
+
#
|
8082
|
+
# resp = client.list_organizations_features({
|
8083
|
+
# })
|
8084
|
+
#
|
8085
|
+
# resp.to_h outputs the following:
|
8086
|
+
# {
|
8087
|
+
# enabled_features: [
|
8088
|
+
# "RootCredentialsManagement",
|
8089
|
+
# ],
|
8090
|
+
# organization_id: "o-aa111bb222",
|
8091
|
+
# }
|
8092
|
+
#
|
8093
|
+
# @example Response structure
|
8094
|
+
#
|
8095
|
+
# resp.organization_id #=> String
|
8096
|
+
# resp.enabled_features #=> Array
|
8097
|
+
# resp.enabled_features[0] #=> String, one of "RootCredentialsManagement", "RootSessions"
|
8098
|
+
#
|
8099
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOrganizationsFeatures AWS API Documentation
|
8100
|
+
#
|
8101
|
+
# @overload list_organizations_features(params = {})
|
8102
|
+
# @param [Hash] params ({})
|
8103
|
+
def list_organizations_features(params = {}, options = {})
|
8104
|
+
req = build_request(:list_organizations_features, params)
|
8105
|
+
req.send_request(options)
|
8106
|
+
end
|
8107
|
+
|
7810
8108
|
# Lists all the managed policies that are available in your Amazon Web
|
7811
8109
|
# Services account, including your own customer-defined managed policies
|
7812
8110
|
# and all Amazon Web Services managed policies.
|
@@ -13537,7 +13835,7 @@ module Aws::IAM
|
|
13537
13835
|
tracer: tracer
|
13538
13836
|
)
|
13539
13837
|
context[:gem_name] = 'aws-sdk-iam'
|
13540
|
-
context[:gem_version] = '1.
|
13838
|
+
context[:gem_version] = '1.115.0'
|
13541
13839
|
Seahorse::Client::Request.new(handlers, context)
|
13542
13840
|
end
|
13543
13841
|
|