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.
data/sig/user.rbs ADDED
@@ -0,0 +1,188 @@
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/User.html
11
+ class User
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#initialize-instance_method
13
+ def initialize: (String name, Hash[Symbol, untyped] options) -> void
14
+ | (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/User.html#name-instance_method
18
+ def name: () -> String
19
+ alias user_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#path-instance_method
22
+ def path: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#user_id-instance_method
25
+ def user_id: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#arn-instance_method
28
+ def arn: () -> ::String
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#create_date-instance_method
31
+ def create_date: () -> ::Time
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#password_last_used-instance_method
34
+ def password_last_used: () -> ::Time
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#permissions_boundary-instance_method
37
+ def permissions_boundary: () -> Types::AttachedPermissionsBoundary
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#tags-instance_method
40
+ def tags: () -> ::Array[Types::Tag]
41
+
42
+ def client: () -> Client
43
+
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#load-instance_method
45
+ def load: () -> self
46
+ alias reload load
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#data-instance_method
49
+ def data: () -> Types::User
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#data_loaded?-instance_method
52
+ def data_loaded?: () -> bool
53
+
54
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#exists?-instance_method
55
+ def exists?: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) -> bool
56
+ | (?Hash[Symbol, untyped]) -> bool
57
+
58
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#wait_until_exists-instance_method
59
+ def wait_until_exists: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> User
60
+ | (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> User
61
+
62
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#add_group-instance_method
63
+ def add_group: (
64
+ group_name: ::String
65
+ ) -> ::Aws::EmptyStructure
66
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
67
+
68
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#attach_policy-instance_method
69
+ def attach_policy: (
70
+ policy_arn: ::String
71
+ ) -> ::Aws::EmptyStructure
72
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
73
+
74
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#create-instance_method
75
+ def create: (
76
+ ?path: ::String,
77
+ ?permissions_boundary: ::String,
78
+ ?tags: Array[
79
+ {
80
+ key: ::String,
81
+ value: ::String
82
+ },
83
+ ]
84
+ ) -> User
85
+ | (?Hash[Symbol, untyped]) -> User
86
+
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#create_access_key_pair-instance_method
88
+ def create_access_key_pair: (
89
+ ) -> AccessKeyPair
90
+ | (?Hash[Symbol, untyped]) -> AccessKeyPair
91
+
92
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#create_login_profile-instance_method
93
+ def create_login_profile: (
94
+ password: ::String,
95
+ ?password_reset_required: bool
96
+ ) -> LoginProfile
97
+ | (?Hash[Symbol, untyped]) -> LoginProfile
98
+
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#create_policy-instance_method
100
+ def create_policy: (
101
+ policy_name: ::String,
102
+ policy_document: ::String
103
+ ) -> UserPolicy
104
+ | (?Hash[Symbol, untyped]) -> UserPolicy
105
+
106
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#delete-instance_method
107
+ def delete: (
108
+ ) -> ::Aws::EmptyStructure
109
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
110
+
111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#detach_policy-instance_method
112
+ def detach_policy: (
113
+ policy_arn: ::String
114
+ ) -> ::Aws::EmptyStructure
115
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
116
+
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#enable_mfa-instance_method
118
+ def enable_mfa: (
119
+ serial_number: ::String,
120
+ authentication_code_1: ::String,
121
+ authentication_code_2: ::String
122
+ ) -> MfaDevice
123
+ | (?Hash[Symbol, untyped]) -> MfaDevice
124
+
125
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#remove_group-instance_method
126
+ def remove_group: (
127
+ group_name: ::String
128
+ ) -> ::Aws::EmptyStructure
129
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
130
+
131
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#update-instance_method
132
+ def update: (
133
+ ?new_path: ::String,
134
+ ?new_user_name: ::String
135
+ ) -> User
136
+ | (?Hash[Symbol, untyped]) -> User
137
+
138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#access_key-instance_method
139
+ def access_key: (String id) -> AccessKey
140
+
141
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#access_keys-instance_method
142
+ def access_keys: (
143
+ ) -> AccessKey::Collection
144
+ | (?Hash[Symbol, untyped]) -> AccessKey::Collection
145
+
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#attached_policies-instance_method
147
+ def attached_policies: (
148
+ ?path_prefix: ::String
149
+ ) -> Policy::Collection
150
+ | (?Hash[Symbol, untyped]) -> Policy::Collection
151
+
152
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#groups-instance_method
153
+ def groups: (
154
+ ) -> Group::Collection
155
+ | (?Hash[Symbol, untyped]) -> Group::Collection
156
+
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#login_profile-instance_method
158
+ def login_profile: () -> LoginProfile
159
+
160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#mfa_device-instance_method
161
+ def mfa_device: (String serial_number) -> MfaDevice
162
+
163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#mfa_devices-instance_method
164
+ def mfa_devices: (
165
+ ) -> MfaDevice::Collection
166
+ | (?Hash[Symbol, untyped]) -> MfaDevice::Collection
167
+
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#policies-instance_method
169
+ def policies: (
170
+ ) -> UserPolicy::Collection
171
+ | (?Hash[Symbol, untyped]) -> UserPolicy::Collection
172
+
173
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#policy-instance_method
174
+ def policy: (String name) -> UserPolicy
175
+
176
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#signing_certificate-instance_method
177
+ def signing_certificate: (String id) -> SigningCertificate
178
+
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/User.html#signing_certificates-instance_method
180
+ def signing_certificates: (
181
+ ) -> SigningCertificate::Collection
182
+ | (?Hash[Symbol, untyped]) -> SigningCertificate::Collection
183
+
184
+ class Collection < ::Aws::Resources::Collection[User]
185
+ end
186
+ end
187
+ end
188
+ end
@@ -0,0 +1,58 @@
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/UserPolicy.html
11
+ class UserPolicy
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/UserPolicy.html#initialize-instance_method
13
+ def initialize: (String user_name, String name, Hash[Symbol, untyped] options) -> void
14
+ | (user_name: String, 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/UserPolicy.html#user_name-instance_method
18
+ def user_name: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/UserPolicy.html#name-instance_method
21
+ def name: () -> String
22
+ alias policy_name name
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/UserPolicy.html#policy_document-instance_method
25
+ def policy_document: () -> ::String
26
+
27
+ def client: () -> Client
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/UserPolicy.html#load-instance_method
30
+ def load: () -> self
31
+ alias reload load
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/UserPolicy.html#data-instance_method
34
+ def data: () -> Types::GetUserPolicyResponse
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/UserPolicy.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/UserPolicy.html#delete-instance_method
41
+ def delete: (
42
+ ) -> ::Aws::EmptyStructure
43
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/UserPolicy.html#put-instance_method
46
+ def put: (
47
+ policy_document: ::String
48
+ ) -> ::Aws::EmptyStructure
49
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/UserPolicy.html#user-instance_method
52
+ def user: () -> User
53
+
54
+ class Collection < ::Aws::Resources::Collection[UserPolicy]
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,54 @@
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/VirtualMfaDevice.html
11
+ class VirtualMfaDevice
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/VirtualMfaDevice.html#initialize-instance_method
13
+ def initialize: (String serial_number, Hash[Symbol, untyped] options) -> void
14
+ | (serial_number: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/VirtualMfaDevice.html#serial_number-instance_method
18
+ def serial_number: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/VirtualMfaDevice.html#base_32_string_seed-instance_method
21
+ def base_32_string_seed: () -> ::String
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/VirtualMfaDevice.html#qr_code_png-instance_method
24
+ def qr_code_png: () -> ::String
25
+
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/VirtualMfaDevice.html#enable_date-instance_method
27
+ def enable_date: () -> ::Time
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/VirtualMfaDevice.html#tags-instance_method
30
+ def tags: () -> ::Array[Types::Tag]
31
+
32
+ def client: () -> Client
33
+
34
+
35
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/VirtualMfaDevice.html#data-instance_method
36
+ def data: () -> Types::VirtualMFADevice
37
+
38
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/VirtualMfaDevice.html#data_loaded?-instance_method
39
+ def data_loaded?: () -> bool
40
+
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/VirtualMfaDevice.html#delete-instance_method
43
+ def delete: (
44
+ ) -> ::Aws::EmptyStructure
45
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
46
+
47
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/VirtualMfaDevice.html#user-instance_method
48
+ def user: () -> User?
49
+
50
+ class Collection < ::Aws::Resources::Collection[VirtualMfaDevice]
51
+ end
52
+ end
53
+ end
54
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,53 @@
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
+ module Waiters
11
+
12
+ class InstanceProfileExists
13
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
+ | (?Hash[Symbol, untyped]) -> void
15
+
16
+ def wait: (
17
+ instance_profile_name: ::String
18
+ ) -> Client::_GetInstanceProfileResponseSuccess
19
+ | (Hash[Symbol, untyped]) -> Client::_GetInstanceProfileResponseSuccess
20
+ end
21
+
22
+ class PolicyExists
23
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
24
+ | (?Hash[Symbol, untyped]) -> void
25
+
26
+ def wait: (
27
+ policy_arn: ::String
28
+ ) -> Client::_GetPolicyResponseSuccess
29
+ | (Hash[Symbol, untyped]) -> Client::_GetPolicyResponseSuccess
30
+ end
31
+
32
+ class RoleExists
33
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
34
+ | (?Hash[Symbol, untyped]) -> void
35
+
36
+ def wait: (
37
+ role_name: ::String
38
+ ) -> Client::_GetRoleResponseSuccess
39
+ | (Hash[Symbol, untyped]) -> Client::_GetRoleResponseSuccess
40
+ end
41
+
42
+ class UserExists
43
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
44
+ | (?Hash[Symbol, untyped]) -> void
45
+
46
+ def wait: (
47
+ ?user_name: ::String
48
+ ) -> Client::_GetUserResponseSuccess
49
+ | (?Hash[Symbol, untyped]) -> Client::_GetUserResponseSuccess
50
+ end
51
+ end
52
+ end
53
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.93.0
4
+ version: 1.94.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-26 00:00:00.000000000 Z
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.191.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -89,13 +89,39 @@ files:
89
89
  - lib/aws-sdk-iam/user_policy.rb
90
90
  - lib/aws-sdk-iam/virtual_mfa_device.rb
91
91
  - lib/aws-sdk-iam/waiters.rb
92
+ - sig/access_key.rbs
93
+ - sig/access_key_pair.rbs
94
+ - sig/account_password_policy.rbs
95
+ - sig/account_summary.rbs
96
+ - sig/assume_role_policy.rbs
97
+ - sig/client.rbs
98
+ - sig/current_user.rbs
99
+ - sig/errors.rbs
100
+ - sig/group.rbs
101
+ - sig/group_policy.rbs
102
+ - sig/instance_profile.rbs
103
+ - sig/login_profile.rbs
104
+ - sig/mfa_device.rbs
105
+ - sig/policy.rbs
106
+ - sig/policy_version.rbs
107
+ - sig/resource.rbs
108
+ - sig/role.rbs
109
+ - sig/role_policy.rbs
110
+ - sig/saml_provider.rbs
111
+ - sig/server_certificate.rbs
112
+ - sig/signing_certificate.rbs
113
+ - sig/types.rbs
114
+ - sig/user.rbs
115
+ - sig/user_policy.rbs
116
+ - sig/virtual_mfa_device.rbs
117
+ - sig/waiters.rbs
92
118
  homepage: https://github.com/aws/aws-sdk-ruby
93
119
  licenses:
94
120
  - Apache-2.0
95
121
  metadata:
96
122
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iam
97
123
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iam/CHANGELOG.md
98
- post_install_message:
124
+ post_install_message:
99
125
  rdoc_options: []
100
126
  require_paths:
101
127
  - lib
@@ -110,8 +136,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
136
  - !ruby/object:Gem::Version
111
137
  version: '0'
112
138
  requirements: []
113
- rubygems_version: 3.1.6
114
- signing_key:
139
+ rubygems_version: 3.4.10
140
+ signing_key:
115
141
  specification_version: 4
116
142
  summary: AWS SDK for Ruby - IAM
117
143
  test_files: []