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/user.rb
CHANGED
@@ -103,12 +103,15 @@ module Aws::IAM
|
|
103
103
|
# past, then this field contains the date and time the most recent
|
104
104
|
# password was used.
|
105
105
|
#
|
106
|
-
# This value is returned only in the GetUser and ListUsers
|
106
|
+
# This value is returned only in the [GetUser][3] and [ListUsers][4]
|
107
|
+
# operations.
|
107
108
|
#
|
108
109
|
#
|
109
110
|
#
|
110
111
|
# [1]: http://www.iso.org/iso/iso8601
|
111
112
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html
|
113
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html
|
114
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUsers.html
|
112
115
|
# @return [Time]
|
113
116
|
def password_last_used
|
114
117
|
data[:password_last_used]
|
data/lib/aws-sdk-iam.rb
CHANGED
data/sig/access_key.rbs
CHANGED
@@ -22,7 +22,7 @@ module Aws
|
|
22
22
|
alias access_key_id id
|
23
23
|
|
24
24
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#status-instance_method
|
25
|
-
def status: () -> ("Active" | "Inactive")
|
25
|
+
def status: () -> ("Active" | "Inactive" | "Expired")
|
26
26
|
|
27
27
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#create_date-instance_method
|
28
28
|
def create_date: () -> ::Time
|
data/sig/access_key_pair.rbs
CHANGED
@@ -26,7 +26,7 @@ module Aws
|
|
26
26
|
alias secret_access_key secret
|
27
27
|
|
28
28
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#status-instance_method
|
29
|
-
def status: () -> ("Active" | "Inactive")
|
29
|
+
def status: () -> ("Active" | "Inactive" | "Expired")
|
30
30
|
|
31
31
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#create_date-instance_method
|
32
32
|
def create_date: () -> ::Time
|
data/sig/client.rbs
CHANGED
@@ -292,7 +292,8 @@ module Aws
|
|
292
292
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#create_service_specific_credential-instance_method
|
293
293
|
def create_service_specific_credential: (
|
294
294
|
user_name: ::String,
|
295
|
-
service_name: ::String
|
295
|
+
service_name: ::String,
|
296
|
+
?credential_age_days: ::Integer
|
296
297
|
) -> _CreateServiceSpecificCredentialResponseSuccess
|
297
298
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateServiceSpecificCredentialResponseSuccess
|
298
299
|
|
@@ -1316,11 +1317,16 @@ module Aws
|
|
1316
1317
|
interface _ListServiceSpecificCredentialsResponseSuccess
|
1317
1318
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceSpecificCredentialsResponse]
|
1318
1319
|
def service_specific_credentials: () -> ::Array[Types::ServiceSpecificCredentialMetadata]
|
1320
|
+
def marker: () -> ::String
|
1321
|
+
def is_truncated: () -> bool
|
1319
1322
|
end
|
1320
1323
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#list_service_specific_credentials-instance_method
|
1321
1324
|
def list_service_specific_credentials: (
|
1322
1325
|
?user_name: ::String,
|
1323
|
-
?service_name: ::String
|
1326
|
+
?service_name: ::String,
|
1327
|
+
?all_users: bool,
|
1328
|
+
?marker: ::String,
|
1329
|
+
?max_items: ::Integer
|
1324
1330
|
) -> _ListServiceSpecificCredentialsResponseSuccess
|
1325
1331
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceSpecificCredentialsResponseSuccess
|
1326
1332
|
|
@@ -1699,7 +1705,7 @@ module Aws
|
|
1699
1705
|
def update_access_key: (
|
1700
1706
|
?user_name: ::String,
|
1701
1707
|
access_key_id: ::String,
|
1702
|
-
status: ("Active" | "Inactive")
|
1708
|
+
status: ("Active" | "Inactive" | "Expired")
|
1703
1709
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1704
1710
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1705
1711
|
|
@@ -1787,7 +1793,7 @@ module Aws
|
|
1787
1793
|
def update_ssh_public_key: (
|
1788
1794
|
user_name: ::String,
|
1789
1795
|
ssh_public_key_id: ::String,
|
1790
|
-
status: ("Active" | "Inactive")
|
1796
|
+
status: ("Active" | "Inactive" | "Expired")
|
1791
1797
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1792
1798
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1793
1799
|
|
@@ -1803,7 +1809,7 @@ module Aws
|
|
1803
1809
|
def update_service_specific_credential: (
|
1804
1810
|
?user_name: ::String,
|
1805
1811
|
service_specific_credential_id: ::String,
|
1806
|
-
status: ("Active" | "Inactive")
|
1812
|
+
status: ("Active" | "Inactive" | "Expired")
|
1807
1813
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1808
1814
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1809
1815
|
|
@@ -1811,7 +1817,7 @@ module Aws
|
|
1811
1817
|
def update_signing_certificate: (
|
1812
1818
|
?user_name: ::String,
|
1813
1819
|
certificate_id: ::String,
|
1814
|
-
status: ("Active" | "Inactive")
|
1820
|
+
status: ("Active" | "Inactive" | "Expired")
|
1815
1821
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1816
1822
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1817
1823
|
|
data/sig/signing_certificate.rbs
CHANGED
@@ -25,7 +25,7 @@ module Aws
|
|
25
25
|
def certificate_body: () -> ::String
|
26
26
|
|
27
27
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#status-instance_method
|
28
|
-
def status: () -> ("Active" | "Inactive")
|
28
|
+
def status: () -> ("Active" | "Inactive" | "Expired")
|
29
29
|
|
30
30
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#upload_date-instance_method
|
31
31
|
def upload_date: () -> ::Time
|
data/sig/types.rbs
CHANGED
@@ -21,7 +21,7 @@ module Aws::IAM
|
|
21
21
|
class AccessKey
|
22
22
|
attr_accessor user_name: ::String
|
23
23
|
attr_accessor access_key_id: ::String
|
24
|
-
attr_accessor status: ("Active" | "Inactive")
|
24
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
25
25
|
attr_accessor secret_access_key: ::String
|
26
26
|
attr_accessor create_date: ::Time
|
27
27
|
SENSITIVE: [:secret_access_key]
|
@@ -37,7 +37,7 @@ module Aws::IAM
|
|
37
37
|
class AccessKeyMetadata
|
38
38
|
attr_accessor user_name: ::String
|
39
39
|
attr_accessor access_key_id: ::String
|
40
|
-
attr_accessor status: ("Active" | "Inactive")
|
40
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
41
41
|
attr_accessor create_date: ::Time
|
42
42
|
SENSITIVE: []
|
43
43
|
end
|
@@ -250,6 +250,7 @@ module Aws::IAM
|
|
250
250
|
class CreateServiceSpecificCredentialRequest
|
251
251
|
attr_accessor user_name: ::String
|
252
252
|
attr_accessor service_name: ::String
|
253
|
+
attr_accessor credential_age_days: ::Integer
|
253
254
|
SENSITIVE: []
|
254
255
|
end
|
255
256
|
|
@@ -1368,11 +1369,16 @@ module Aws::IAM
|
|
1368
1369
|
class ListServiceSpecificCredentialsRequest
|
1369
1370
|
attr_accessor user_name: ::String
|
1370
1371
|
attr_accessor service_name: ::String
|
1372
|
+
attr_accessor all_users: bool
|
1373
|
+
attr_accessor marker: ::String
|
1374
|
+
attr_accessor max_items: ::Integer
|
1371
1375
|
SENSITIVE: []
|
1372
1376
|
end
|
1373
1377
|
|
1374
1378
|
class ListServiceSpecificCredentialsResponse
|
1375
1379
|
attr_accessor service_specific_credentials: ::Array[Types::ServiceSpecificCredentialMetadata]
|
1380
|
+
attr_accessor marker: ::String
|
1381
|
+
attr_accessor is_truncated: bool
|
1376
1382
|
SENSITIVE: []
|
1377
1383
|
end
|
1378
1384
|
|
@@ -1755,7 +1761,7 @@ module Aws::IAM
|
|
1755
1761
|
attr_accessor ssh_public_key_id: ::String
|
1756
1762
|
attr_accessor fingerprint: ::String
|
1757
1763
|
attr_accessor ssh_public_key_body: ::String
|
1758
|
-
attr_accessor status: ("Active" | "Inactive")
|
1764
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
1759
1765
|
attr_accessor upload_date: ::Time
|
1760
1766
|
SENSITIVE: []
|
1761
1767
|
end
|
@@ -1763,7 +1769,7 @@ module Aws::IAM
|
|
1763
1769
|
class SSHPublicKeyMetadata
|
1764
1770
|
attr_accessor user_name: ::String
|
1765
1771
|
attr_accessor ssh_public_key_id: ::String
|
1766
|
-
attr_accessor status: ("Active" | "Inactive")
|
1772
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
1767
1773
|
attr_accessor upload_date: ::Time
|
1768
1774
|
SENSITIVE: []
|
1769
1775
|
end
|
@@ -1812,20 +1818,25 @@ module Aws::IAM
|
|
1812
1818
|
|
1813
1819
|
class ServiceSpecificCredential
|
1814
1820
|
attr_accessor create_date: ::Time
|
1821
|
+
attr_accessor expiration_date: ::Time
|
1815
1822
|
attr_accessor service_name: ::String
|
1816
1823
|
attr_accessor service_user_name: ::String
|
1817
1824
|
attr_accessor service_password: ::String
|
1825
|
+
attr_accessor service_credential_alias: ::String
|
1826
|
+
attr_accessor service_credential_secret: ::String
|
1818
1827
|
attr_accessor service_specific_credential_id: ::String
|
1819
1828
|
attr_accessor user_name: ::String
|
1820
|
-
attr_accessor status: ("Active" | "Inactive")
|
1821
|
-
SENSITIVE: [:service_password]
|
1829
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
1830
|
+
SENSITIVE: [:service_password, :service_credential_secret]
|
1822
1831
|
end
|
1823
1832
|
|
1824
1833
|
class ServiceSpecificCredentialMetadata
|
1825
1834
|
attr_accessor user_name: ::String
|
1826
|
-
attr_accessor status: ("Active" | "Inactive")
|
1835
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
1827
1836
|
attr_accessor service_user_name: ::String
|
1837
|
+
attr_accessor service_credential_alias: ::String
|
1828
1838
|
attr_accessor create_date: ::Time
|
1839
|
+
attr_accessor expiration_date: ::Time
|
1829
1840
|
attr_accessor service_specific_credential_id: ::String
|
1830
1841
|
attr_accessor service_name: ::String
|
1831
1842
|
SENSITIVE: []
|
@@ -1846,7 +1857,7 @@ module Aws::IAM
|
|
1846
1857
|
attr_accessor user_name: ::String
|
1847
1858
|
attr_accessor certificate_id: ::String
|
1848
1859
|
attr_accessor certificate_body: ::String
|
1849
|
-
attr_accessor status: ("Active" | "Inactive")
|
1860
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
1850
1861
|
attr_accessor upload_date: ::Time
|
1851
1862
|
SENSITIVE: []
|
1852
1863
|
end
|
@@ -2020,7 +2031,7 @@ module Aws::IAM
|
|
2020
2031
|
class UpdateAccessKeyRequest
|
2021
2032
|
attr_accessor user_name: ::String
|
2022
2033
|
attr_accessor access_key_id: ::String
|
2023
|
-
attr_accessor status: ("Active" | "Inactive")
|
2034
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
2024
2035
|
SENSITIVE: []
|
2025
2036
|
end
|
2026
2037
|
|
@@ -2101,7 +2112,7 @@ module Aws::IAM
|
|
2101
2112
|
class UpdateSSHPublicKeyRequest
|
2102
2113
|
attr_accessor user_name: ::String
|
2103
2114
|
attr_accessor ssh_public_key_id: ::String
|
2104
|
-
attr_accessor status: ("Active" | "Inactive")
|
2115
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
2105
2116
|
SENSITIVE: []
|
2106
2117
|
end
|
2107
2118
|
|
@@ -2115,14 +2126,14 @@ module Aws::IAM
|
|
2115
2126
|
class UpdateServiceSpecificCredentialRequest
|
2116
2127
|
attr_accessor user_name: ::String
|
2117
2128
|
attr_accessor service_specific_credential_id: ::String
|
2118
|
-
attr_accessor status: ("Active" | "Inactive")
|
2129
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
2119
2130
|
SENSITIVE: []
|
2120
2131
|
end
|
2121
2132
|
|
2122
2133
|
class UpdateSigningCertificateRequest
|
2123
2134
|
attr_accessor user_name: ::String
|
2124
2135
|
attr_accessor certificate_id: ::String
|
2125
|
-
attr_accessor status: ("Active" | "Inactive")
|
2136
|
+
attr_accessor status: ("Active" | "Inactive" | "Expired")
|
2126
2137
|
SENSITIVE: []
|
2127
2138
|
end
|
2128
2139
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.124.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.225.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.225.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
127
127
|
requirements:
|
128
128
|
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '2.
|
130
|
+
version: '2.7'
|
131
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
132
|
requirements:
|
133
133
|
- - ">="
|