aws-sdk-iam 1.92.0 → 1.94.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,77 @@
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/CurrentUser.html
11
+ class CurrentUser
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.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/CurrentUser.html#path-instance_method
16
+ def path: () -> ::String
17
+
18
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#user_name-instance_method
19
+ def user_name: () -> ::String
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#user_id-instance_method
22
+ def user_id: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#arn-instance_method
25
+ def arn: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#create_date-instance_method
28
+ def create_date: () -> ::Time
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#password_last_used-instance_method
31
+ def password_last_used: () -> ::Time
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#permissions_boundary-instance_method
34
+ def permissions_boundary: () -> Types::AttachedPermissionsBoundary
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#tags-instance_method
37
+ def tags: () -> ::Array[Types::Tag]
38
+
39
+ def client: () -> Client
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#load-instance_method
42
+ def load: () -> self
43
+ alias reload load
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#data-instance_method
46
+ def data: () -> Types::User
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#data_loaded?-instance_method
49
+ def data_loaded?: () -> bool
50
+
51
+
52
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#access_keys-instance_method
53
+ def access_keys: (
54
+ ?user_name: ::String
55
+ ) -> AccessKey::Collection
56
+ | (?Hash[Symbol, untyped]) -> AccessKey::Collection
57
+
58
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#mfa_devices-instance_method
59
+ def mfa_devices: (
60
+ ?user_name: ::String
61
+ ) -> MfaDevice::Collection
62
+ | (?Hash[Symbol, untyped]) -> MfaDevice::Collection
63
+
64
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#signing_certificates-instance_method
65
+ def signing_certificates: (
66
+ ?user_name: ::String
67
+ ) -> SigningCertificate::Collection
68
+ | (?Hash[Symbol, untyped]) -> SigningCertificate::Collection
69
+
70
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/CurrentUser.html#user-instance_method
71
+ def user: () -> User?
72
+
73
+ class Collection < ::Aws::Resources::Collection[CurrentUser]
74
+ end
75
+ end
76
+ end
77
+ end
data/sig/errors.rbs ADDED
@@ -0,0 +1,97 @@
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 Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ConcurrentModificationException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class CredentialReportExpiredException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class CredentialReportNotPresentException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class CredentialReportNotReadyException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class DeleteConflictException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class DuplicateCertificateException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class DuplicateSSHPublicKeyException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class EntityAlreadyExistsException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ class EntityTemporarilyUnmodifiableException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ end
41
+ class InvalidAuthenticationCodeException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ end
44
+ class InvalidCertificateException < ::Aws::Errors::ServiceError
45
+ def message: () -> ::String
46
+ end
47
+ class InvalidInputException < ::Aws::Errors::ServiceError
48
+ def message: () -> ::String
49
+ end
50
+ class InvalidPublicKeyException < ::Aws::Errors::ServiceError
51
+ def message: () -> ::String
52
+ end
53
+ class InvalidUserTypeException < ::Aws::Errors::ServiceError
54
+ def message: () -> ::String
55
+ end
56
+ class KeyPairMismatchException < ::Aws::Errors::ServiceError
57
+ def message: () -> ::String
58
+ end
59
+ class LimitExceededException < ::Aws::Errors::ServiceError
60
+ def message: () -> ::String
61
+ end
62
+ class MalformedCertificateException < ::Aws::Errors::ServiceError
63
+ def message: () -> ::String
64
+ end
65
+ class MalformedPolicyDocumentException < ::Aws::Errors::ServiceError
66
+ def message: () -> ::String
67
+ end
68
+ class NoSuchEntityException < ::Aws::Errors::ServiceError
69
+ def message: () -> ::String
70
+ end
71
+ class PasswordPolicyViolationException < ::Aws::Errors::ServiceError
72
+ def message: () -> ::String
73
+ end
74
+ class PolicyEvaluationException < ::Aws::Errors::ServiceError
75
+ def message: () -> ::String
76
+ end
77
+ class PolicyNotAttachableException < ::Aws::Errors::ServiceError
78
+ def message: () -> ::String
79
+ end
80
+ class ReportGenerationLimitExceededException < ::Aws::Errors::ServiceError
81
+ def message: () -> ::String
82
+ end
83
+ class ServiceFailureException < ::Aws::Errors::ServiceError
84
+ def message: () -> ::String
85
+ end
86
+ class ServiceNotSupportedException < ::Aws::Errors::ServiceError
87
+ def message: () -> ::String
88
+ end
89
+ class UnmodifiableEntityException < ::Aws::Errors::ServiceError
90
+ def message: () -> ::String
91
+ end
92
+ class UnrecognizedPublicKeyEncodingException < ::Aws::Errors::ServiceError
93
+ def message: () -> ::String
94
+ end
95
+ end
96
+ end
97
+ end
data/sig/group.rbs ADDED
@@ -0,0 +1,118 @@
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/Group.html
11
+ class Group
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.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/Group.html#name-instance_method
18
+ def name: () -> String
19
+ alias group_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#path-instance_method
22
+ def path: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#group_id-instance_method
25
+ def group_id: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#arn-instance_method
28
+ def arn: () -> ::String
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#create_date-instance_method
31
+ def create_date: () -> ::Time
32
+
33
+ def client: () -> Client
34
+
35
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#load-instance_method
36
+ def load: () -> self
37
+ alias reload load
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#data-instance_method
40
+ def data: () -> Types::Group
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#data_loaded?-instance_method
43
+ def data_loaded?: () -> bool
44
+
45
+
46
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#add_user-instance_method
47
+ def add_user: (
48
+ user_name: ::String
49
+ ) -> ::Aws::EmptyStructure
50
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
51
+
52
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#attach_policy-instance_method
53
+ def attach_policy: (
54
+ policy_arn: ::String
55
+ ) -> ::Aws::EmptyStructure
56
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
57
+
58
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#create-instance_method
59
+ def create: (
60
+ ?path: ::String
61
+ ) -> Group
62
+ | (?Hash[Symbol, untyped]) -> Group
63
+
64
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#create_policy-instance_method
65
+ def create_policy: (
66
+ policy_name: ::String,
67
+ policy_document: ::String
68
+ ) -> GroupPolicy
69
+ | (?Hash[Symbol, untyped]) -> GroupPolicy
70
+
71
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#delete-instance_method
72
+ def delete: (
73
+ ) -> ::Aws::EmptyStructure
74
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
75
+
76
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#detach_policy-instance_method
77
+ def detach_policy: (
78
+ policy_arn: ::String
79
+ ) -> ::Aws::EmptyStructure
80
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
81
+
82
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#remove_user-instance_method
83
+ def remove_user: (
84
+ user_name: ::String
85
+ ) -> ::Aws::EmptyStructure
86
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
87
+
88
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#update-instance_method
89
+ def update: (
90
+ ?new_path: ::String,
91
+ ?new_group_name: ::String
92
+ ) -> Group
93
+ | (?Hash[Symbol, untyped]) -> Group
94
+
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#attached_policies-instance_method
96
+ def attached_policies: (
97
+ ?path_prefix: ::String
98
+ ) -> Policy::Collection
99
+ | (?Hash[Symbol, untyped]) -> Policy::Collection
100
+
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#policies-instance_method
102
+ def policies: (
103
+ ) -> GroupPolicy::Collection
104
+ | (?Hash[Symbol, untyped]) -> GroupPolicy::Collection
105
+
106
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#policy-instance_method
107
+ def policy: (String name) -> GroupPolicy
108
+
109
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Group.html#users-instance_method
110
+ def users: (
111
+ ) -> User::Collection
112
+ | (?Hash[Symbol, untyped]) -> User::Collection
113
+
114
+ class Collection < ::Aws::Resources::Collection[Group]
115
+ end
116
+ end
117
+ end
118
+ 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/GroupPolicy.html
11
+ class GroupPolicy
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/GroupPolicy.html#initialize-instance_method
13
+ def initialize: (String group_name, String name, Hash[Symbol, untyped] options) -> void
14
+ | (group_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/GroupPolicy.html#group_name-instance_method
18
+ def group_name: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/GroupPolicy.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/GroupPolicy.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/GroupPolicy.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/GroupPolicy.html#data-instance_method
34
+ def data: () -> Types::GetGroupPolicyResponse
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/GroupPolicy.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/GroupPolicy.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/GroupPolicy.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/GroupPolicy.html#group-instance_method
52
+ def group: () -> Group
53
+
54
+ class Collection < ::Aws::Resources::Collection[GroupPolicy]
55
+ end
56
+ end
57
+ end
58
+ 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/InstanceProfile.html
11
+ class InstanceProfile
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.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/InstanceProfile.html#name-instance_method
18
+ def name: () -> String
19
+ alias instance_profile_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#path-instance_method
22
+ def path: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#instance_profile_id-instance_method
25
+ def instance_profile_id: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#arn-instance_method
28
+ def arn: () -> ::String
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#create_date-instance_method
31
+ def create_date: () -> ::Time
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#tags-instance_method
34
+ def tags: () -> ::Array[Types::Tag]
35
+
36
+ def client: () -> Client
37
+
38
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#load-instance_method
39
+ def load: () -> self
40
+ alias reload load
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#data-instance_method
43
+ def data: () -> Types::InstanceProfile
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#data_loaded?-instance_method
46
+ def data_loaded?: () -> bool
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#exists?-instance_method
49
+ def exists?: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) -> bool
50
+ | (?Hash[Symbol, untyped]) -> bool
51
+
52
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#wait_until_exists-instance_method
53
+ def wait_until_exists: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> InstanceProfile
54
+ | (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> InstanceProfile
55
+
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#add_role-instance_method
57
+ def add_role: (
58
+ role_name: ::String
59
+ ) -> ::Aws::EmptyStructure
60
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
61
+
62
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#delete-instance_method
63
+ def delete: (
64
+ ) -> ::Aws::EmptyStructure
65
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
66
+
67
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#remove_role-instance_method
68
+ def remove_role: (
69
+ role_name: ::String
70
+ ) -> ::Aws::EmptyStructure
71
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
72
+
73
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/InstanceProfile.html#roles-instance_method
74
+ def roles: () -> Role::Collection
75
+
76
+ class Collection < ::Aws::Resources::Collection[InstanceProfile]
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,65 @@
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/LoginProfile.html
11
+ class LoginProfile
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#initialize-instance_method
13
+ def initialize: (String user_name, Hash[Symbol, untyped] options) -> void
14
+ | (user_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/LoginProfile.html#user_name-instance_method
18
+ def user_name: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#create_date-instance_method
21
+ def create_date: () -> ::Time
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#password_reset_required-instance_method
24
+ def password_reset_required: () -> bool
25
+
26
+ def client: () -> Client
27
+
28
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#load-instance_method
29
+ def load: () -> self
30
+ alias reload load
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#data-instance_method
33
+ def data: () -> Types::LoginProfile
34
+
35
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#data_loaded?-instance_method
36
+ def data_loaded?: () -> bool
37
+
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#create-instance_method
40
+ def create: (
41
+ password: ::String,
42
+ ?password_reset_required: bool
43
+ ) -> LoginProfile
44
+ | (?Hash[Symbol, untyped]) -> LoginProfile
45
+
46
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#delete-instance_method
47
+ def delete: (
48
+ ) -> ::Aws::EmptyStructure
49
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#update-instance_method
52
+ def update: (
53
+ ?password: ::String,
54
+ ?password_reset_required: bool
55
+ ) -> ::Aws::EmptyStructure
56
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
57
+
58
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/LoginProfile.html#user-instance_method
59
+ def user: () -> User
60
+
61
+ class Collection < ::Aws::Resources::Collection[LoginProfile]
62
+ end
63
+ end
64
+ end
65
+ end
@@ -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/MfaDevice.html
11
+ class MfaDevice
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/MfaDevice.html#initialize-instance_method
13
+ def initialize: (String user_name, String serial_number, Hash[Symbol, untyped] options) -> void
14
+ | (user_name: String, 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/MfaDevice.html#user_name-instance_method
18
+ def user_name: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/MfaDevice.html#serial_number-instance_method
21
+ def serial_number: () -> String
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/MfaDevice.html#enable_date-instance_method
24
+ def enable_date: () -> ::Time
25
+
26
+ def client: () -> Client
27
+
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/MfaDevice.html#data-instance_method
30
+ def data: () -> Types::MFADevice
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/MfaDevice.html#data_loaded?-instance_method
33
+ def data_loaded?: () -> bool
34
+
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/MfaDevice.html#associate-instance_method
37
+ def associate: (
38
+ authentication_code_1: ::String,
39
+ authentication_code_2: ::String
40
+ ) -> ::Aws::EmptyStructure
41
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
42
+
43
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/MfaDevice.html#disassociate-instance_method
44
+ def disassociate: (
45
+ ) -> ::Aws::EmptyStructure
46
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/MfaDevice.html#resync-instance_method
49
+ def resync: (
50
+ authentication_code_1: ::String,
51
+ authentication_code_2: ::String
52
+ ) -> ::Aws::EmptyStructure
53
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
54
+
55
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/MfaDevice.html#user-instance_method
56
+ def user: () -> User
57
+
58
+ class Collection < ::Aws::Resources::Collection[MfaDevice]
59
+ end
60
+ end
61
+ end
62
+ end