aws-sdk-iam 1.93.0 → 1.94.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/client.rb +1 -1
- data/lib/aws-sdk-iam/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-iam.rb +1 -1
- data/sig/access_key.rbs +62 -0
- data/sig/access_key_pair.rbs +63 -0
- data/sig/account_password_policy.rbs +80 -0
- data/sig/account_summary.rbs +35 -0
- data/sig/assume_role_policy.rbs +43 -0
- data/sig/client.rbs +1826 -0
- data/sig/current_user.rbs +77 -0
- data/sig/errors.rbs +97 -0
- data/sig/group.rbs +118 -0
- data/sig/group_policy.rbs +58 -0
- data/sig/instance_profile.rbs +80 -0
- data/sig/login_profile.rbs +65 -0
- data/sig/mfa_device.rbs +62 -0
- data/sig/policy.rbs +147 -0
- data/sig/policy_version.rbs +59 -0
- data/sig/resource.rbs +304 -0
- data/sig/role.rbs +107 -0
- data/sig/role_policy.rbs +58 -0
- data/sig/saml_provider.rbs +60 -0
- data/sig/server_certificate.rbs +61 -0
- data/sig/signing_certificate.rbs +65 -0
- data/sig/types.rbs +2131 -0
- data/sig/user.rbs +188 -0
- data/sig/user_policy.rbs +58 -0
- data/sig/virtual_mfa_device.rbs +54 -0
- data/sig/waiters.rbs +53 -0
- metadata +34 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ab9625991b6f50258c11e826f62a322978de2cbe43c3465c85ef73d3fcea961
|
4
|
+
data.tar.gz: 3a27293575786f40911aace0393ab679f86501ba781df51d94432113fd75898f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63fdb3d81a24006417c075e96bf4bccf4c5431830154f7c5871df84cba645ef7a5a49001bfb630807ea4704563ce3aef9d06028a2f0736fd28310d51e6fec246
|
7
|
+
data.tar.gz: 8ad19cf33fb700fe603ef91a4bd94f951baca50a0a29ff277822ed5f7a322dae44fdcb1ab901747971abb9c3eef0249d48384f4b80699286cb98f882931ae77e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.94.0
|
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -13467,7 +13467,7 @@ module Aws::IAM
|
|
13467
13467
|
params: params,
|
13468
13468
|
config: config)
|
13469
13469
|
context[:gem_name] = 'aws-sdk-iam'
|
13470
|
-
context[:gem_version] = '1.
|
13470
|
+
context[:gem_version] = '1.94.0'
|
13471
13471
|
Seahorse::Client::Request.new(handlers, context)
|
13472
13472
|
end
|
13473
13473
|
|
@@ -14,6 +14,7 @@ module Aws::IAM
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::IAM::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/lib/aws-sdk-iam.rb
CHANGED
data/sig/access_key.rbs
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module IAM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html
|
11
|
+
class AccessKey
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#initialize-instance_method
|
13
|
+
def initialize: (String user_name, String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (user_name: String, id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#user_name-instance_method
|
18
|
+
def user_name: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#id-instance_method
|
21
|
+
def id: () -> String
|
22
|
+
alias access_key_id id
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#status-instance_method
|
25
|
+
def status: () -> ("Active" | "Inactive")
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#create_date-instance_method
|
28
|
+
def create_date: () -> ::Time
|
29
|
+
|
30
|
+
def client: () -> Client
|
31
|
+
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#data-instance_method
|
34
|
+
def data: () -> Types::AccessKeyMetadata
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#data_loaded?-instance_method
|
37
|
+
def data_loaded?: () -> bool
|
38
|
+
|
39
|
+
|
40
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#activate-instance_method
|
41
|
+
def activate: (
|
42
|
+
) -> ::Aws::EmptyStructure
|
43
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
44
|
+
|
45
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#deactivate-instance_method
|
46
|
+
def deactivate: (
|
47
|
+
) -> ::Aws::EmptyStructure
|
48
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
49
|
+
|
50
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#delete-instance_method
|
51
|
+
def delete: (
|
52
|
+
) -> ::Aws::EmptyStructure
|
53
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
54
|
+
|
55
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#user-instance_method
|
56
|
+
def user: () -> User
|
57
|
+
|
58
|
+
class Collection < ::Aws::Resources::Collection[AccessKey]
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module IAM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html
|
11
|
+
class AccessKeyPair
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#initialize-instance_method
|
13
|
+
def initialize: (String user_name, String id, String secret, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (user_name: String, id: String, secret: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#user_name-instance_method
|
18
|
+
def user_name: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#id-instance_method
|
21
|
+
def id: () -> String
|
22
|
+
alias access_key_id id
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#secret-instance_method
|
25
|
+
def secret: () -> String
|
26
|
+
alias secret_access_key secret
|
27
|
+
|
28
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#status-instance_method
|
29
|
+
def status: () -> ("Active" | "Inactive")
|
30
|
+
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#create_date-instance_method
|
32
|
+
def create_date: () -> ::Time
|
33
|
+
|
34
|
+
def client: () -> Client
|
35
|
+
|
36
|
+
|
37
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#data-instance_method
|
38
|
+
def data: () -> Types::AccessKey
|
39
|
+
|
40
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#data_loaded?-instance_method
|
41
|
+
def data_loaded?: () -> bool
|
42
|
+
|
43
|
+
|
44
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#activate-instance_method
|
45
|
+
def activate: (
|
46
|
+
) -> ::Aws::EmptyStructure
|
47
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
48
|
+
|
49
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#deactivate-instance_method
|
50
|
+
def deactivate: (
|
51
|
+
) -> ::Aws::EmptyStructure
|
52
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
53
|
+
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#delete-instance_method
|
55
|
+
def delete: (
|
56
|
+
) -> ::Aws::EmptyStructure
|
57
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
58
|
+
|
59
|
+
class Collection < ::Aws::Resources::Collection[AccessKeyPair]
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module IAM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html
|
11
|
+
class AccountPasswordPolicy
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#initialize-instance_method
|
13
|
+
def initialize: (Hash[Symbol, untyped] args) -> void
|
14
|
+
|
15
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#minimum_password_length-instance_method
|
16
|
+
def minimum_password_length: () -> ::Integer
|
17
|
+
|
18
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#require_symbols-instance_method
|
19
|
+
def require_symbols: () -> bool
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#require_numbers-instance_method
|
22
|
+
def require_numbers: () -> bool
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#require_uppercase_characters-instance_method
|
25
|
+
def require_uppercase_characters: () -> bool
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#require_lowercase_characters-instance_method
|
28
|
+
def require_lowercase_characters: () -> bool
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#allow_users_to_change_password-instance_method
|
31
|
+
def allow_users_to_change_password: () -> bool
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#expire_passwords-instance_method
|
34
|
+
def expire_passwords: () -> bool
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#max_password_age-instance_method
|
37
|
+
def max_password_age: () -> ::Integer
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#password_reuse_prevention-instance_method
|
40
|
+
def password_reuse_prevention: () -> ::Integer
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#hard_expiry-instance_method
|
43
|
+
def hard_expiry: () -> bool
|
44
|
+
|
45
|
+
def client: () -> Client
|
46
|
+
|
47
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#load-instance_method
|
48
|
+
def load: () -> self
|
49
|
+
alias reload load
|
50
|
+
|
51
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#data-instance_method
|
52
|
+
def data: () -> Types::PasswordPolicy
|
53
|
+
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#data_loaded?-instance_method
|
55
|
+
def data_loaded?: () -> bool
|
56
|
+
|
57
|
+
|
58
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#delete-instance_method
|
59
|
+
def delete: () -> ::Aws::EmptyStructure
|
60
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
61
|
+
|
62
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#update-instance_method
|
63
|
+
def update: (
|
64
|
+
?minimum_password_length: ::Integer,
|
65
|
+
?require_symbols: bool,
|
66
|
+
?require_numbers: bool,
|
67
|
+
?require_uppercase_characters: bool,
|
68
|
+
?require_lowercase_characters: bool,
|
69
|
+
?allow_users_to_change_password: bool,
|
70
|
+
?max_password_age: ::Integer,
|
71
|
+
?password_reuse_prevention: ::Integer,
|
72
|
+
?hard_expiry: bool
|
73
|
+
) -> ::Aws::EmptyStructure
|
74
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
75
|
+
|
76
|
+
class Collection < ::Aws::Resources::Collection[AccountPasswordPolicy]
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module IAM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html
|
11
|
+
class AccountSummary
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html#initialize-instance_method
|
13
|
+
def initialize: (Hash[Symbol, untyped] args) -> void
|
14
|
+
|
15
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html#summary_map-instance_method
|
16
|
+
def summary_map: () -> ::Hash[("Users" | "UsersQuota" | "Groups" | "GroupsQuota" | "ServerCertificates" | "ServerCertificatesQuota" | "UserPolicySizeQuota" | "GroupPolicySizeQuota" | "GroupsPerUserQuota" | "SigningCertificatesPerUserQuota" | "AccessKeysPerUserQuota" | "MFADevices" | "MFADevicesInUse" | "AccountMFAEnabled" | "AccountAccessKeysPresent" | "AccountSigningCertificatesPresent" | "AttachedPoliciesPerGroupQuota" | "AttachedPoliciesPerRoleQuota" | "AttachedPoliciesPerUserQuota" | "Policies" | "PoliciesQuota" | "PolicySizeQuota" | "PolicyVersionsInUse" | "PolicyVersionsInUseQuota" | "VersionsPerPolicyQuota" | "GlobalEndpointTokenVersion"), ::Integer]
|
17
|
+
|
18
|
+
def client: () -> Client
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html#load-instance_method
|
21
|
+
def load: () -> self
|
22
|
+
alias reload load
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html#data-instance_method
|
25
|
+
def data: () -> Types::GetAccountSummaryResponse
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html#data_loaded?-instance_method
|
28
|
+
def data_loaded?: () -> bool
|
29
|
+
|
30
|
+
|
31
|
+
class Collection < ::Aws::Resources::Collection[AccountSummary]
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module IAM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html
|
11
|
+
class AssumeRolePolicy
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#initialize-instance_method
|
13
|
+
def initialize: (String role_name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (role_name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#role_name-instance_method
|
18
|
+
def role_name: () -> String
|
19
|
+
|
20
|
+
def client: () -> Client
|
21
|
+
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#data-instance_method
|
24
|
+
def data: () -> EmptyStructure
|
25
|
+
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#data_loaded?-instance_method
|
27
|
+
def data_loaded?: () -> bool
|
28
|
+
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#update-instance_method
|
31
|
+
def update: (
|
32
|
+
policy_document: ::String
|
33
|
+
) -> ::Aws::EmptyStructure
|
34
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#role-instance_method
|
37
|
+
def role: () -> Role
|
38
|
+
|
39
|
+
class Collection < ::Aws::Resources::Collection[AssumeRolePolicy]
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|