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.
@@ -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/RolePolicy.html
11
+ class RolePolicy
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/RolePolicy.html#initialize-instance_method
13
+ def initialize: (String role_name, String name, Hash[Symbol, untyped] options) -> void
14
+ | (role_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/RolePolicy.html#role_name-instance_method
18
+ def role_name: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/RolePolicy.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/RolePolicy.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/RolePolicy.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/RolePolicy.html#data-instance_method
34
+ def data: () -> Types::GetRolePolicyResponse
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/RolePolicy.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/RolePolicy.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/RolePolicy.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/RolePolicy.html#role-instance_method
52
+ def role: () -> Role
53
+
54
+ class Collection < ::Aws::Resources::Collection[RolePolicy]
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,60 @@
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/SamlProvider.html
11
+ class SamlProvider
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#initialize-instance_method
13
+ def initialize: (String arn, Hash[Symbol, untyped] options) -> void
14
+ | (arn: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#arn-instance_method
18
+ def arn: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#saml_metadata_document-instance_method
21
+ def saml_metadata_document: () -> ::String
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#create_date-instance_method
24
+ def create_date: () -> ::Time
25
+
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#valid_until-instance_method
27
+ def valid_until: () -> ::Time
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#tags-instance_method
30
+ def tags: () -> ::Array[Types::Tag]
31
+
32
+ def client: () -> Client
33
+
34
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#load-instance_method
35
+ def load: () -> self
36
+ alias reload load
37
+
38
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#data-instance_method
39
+ def data: () -> Types::GetSAMLProviderResponse
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#data_loaded?-instance_method
42
+ def data_loaded?: () -> bool
43
+
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#delete-instance_method
46
+ def delete: (
47
+ ) -> ::Aws::EmptyStructure
48
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
49
+
50
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SamlProvider.html#update-instance_method
51
+ def update: (
52
+ saml_metadata_document: ::String
53
+ ) -> Types::UpdateSAMLProviderResponse
54
+ | (?Hash[Symbol, untyped]) -> Types::UpdateSAMLProviderResponse
55
+
56
+ class Collection < ::Aws::Resources::Collection[SamlProvider]
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,61 @@
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/ServerCertificate.html
11
+ class ServerCertificate
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/ServerCertificate.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/ServerCertificate.html#name-instance_method
18
+ def name: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/ServerCertificate.html#server_certificate_metadata-instance_method
21
+ def server_certificate_metadata: () -> Types::ServerCertificateMetadata
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/ServerCertificate.html#certificate_body-instance_method
24
+ def certificate_body: () -> ::String
25
+
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/ServerCertificate.html#certificate_chain-instance_method
27
+ def certificate_chain: () -> ::String
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/ServerCertificate.html#tags-instance_method
30
+ def tags: () -> ::Array[Types::Tag]
31
+
32
+ def client: () -> Client
33
+
34
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/ServerCertificate.html#load-instance_method
35
+ def load: () -> self
36
+ alias reload load
37
+
38
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/ServerCertificate.html#data-instance_method
39
+ def data: () -> Types::ServerCertificate
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/ServerCertificate.html#data_loaded?-instance_method
42
+ def data_loaded?: () -> bool
43
+
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/ServerCertificate.html#delete-instance_method
46
+ def delete: (
47
+ ) -> ::Aws::EmptyStructure
48
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
49
+
50
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/ServerCertificate.html#update-instance_method
51
+ def update: (
52
+ ?new_path: ::String,
53
+ ?new_server_certificate_name: ::String
54
+ ) -> ServerCertificate
55
+ | (?Hash[Symbol, untyped]) -> ServerCertificate
56
+
57
+ class Collection < ::Aws::Resources::Collection[ServerCertificate]
58
+ end
59
+ end
60
+ end
61
+ 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/SigningCertificate.html
11
+ class SigningCertificate
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.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/SigningCertificate.html#user_name-instance_method
18
+ def user_name: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#id-instance_method
21
+ def id: () -> String
22
+ alias certificate_id id
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#certificate_body-instance_method
25
+ def certificate_body: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#status-instance_method
28
+ def status: () -> ("Active" | "Inactive")
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#upload_date-instance_method
31
+ def upload_date: () -> ::Time
32
+
33
+ def client: () -> Client
34
+
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#data-instance_method
37
+ def data: () -> Types::SigningCertificate
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#data_loaded?-instance_method
40
+ def data_loaded?: () -> bool
41
+
42
+
43
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#activate-instance_method
44
+ def activate: (
45
+ ) -> ::Aws::EmptyStructure
46
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#deactivate-instance_method
49
+ def deactivate: (
50
+ ) -> ::Aws::EmptyStructure
51
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
52
+
53
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#delete-instance_method
54
+ def delete: (
55
+ ) -> ::Aws::EmptyStructure
56
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
57
+
58
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/SigningCertificate.html#user-instance_method
59
+ def user: () -> User
60
+
61
+ class Collection < ::Aws::Resources::Collection[SigningCertificate]
62
+ end
63
+ end
64
+ end
65
+ end