aws-sdk-ec2 1.435.0 → 1.436.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,91 @@
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 EC2
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html
11
+ class InternetGateway
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#initialize-instance_method
13
+ def initialize: (String id, Hash[Symbol, untyped] options) -> void
14
+ | (id: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#id-instance_method
18
+ def id: () -> String
19
+ alias internet_gateway_id id
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#attachments-instance_method
22
+ def attachments: () -> ::Array[Types::InternetGatewayAttachment]
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#owner_id-instance_method
25
+ def owner_id: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#tags-instance_method
28
+ def tags: () -> ::Array[Types::Tag]
29
+
30
+ def client: () -> Client
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#load-instance_method
33
+ def load: () -> self
34
+ alias reload load
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#data-instance_method
37
+ def data: () -> Types::InternetGateway
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#data_loaded?-instance_method
40
+ def data_loaded?: () -> bool
41
+
42
+
43
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#attach_to_vpc-instance_method
44
+ def attach_to_vpc: (
45
+ ?dry_run: bool,
46
+ vpc_id: ::String
47
+ ) -> ::Aws::EmptyStructure
48
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
49
+
50
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#create_tags-instance_method
51
+ def create_tags: (
52
+ ?dry_run: bool,
53
+ tags: Array[
54
+ {
55
+ key: ::String?,
56
+ value: ::String?
57
+ },
58
+ ]
59
+ ) -> Tag::Collection
60
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
61
+
62
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#delete_tags-instance_method
63
+ def delete_tags: (
64
+ ?dry_run: bool,
65
+ ?tags: Array[
66
+ {
67
+ key: ::String?,
68
+ value: ::String?
69
+ },
70
+ ]
71
+ ) -> Tag::Collection
72
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
73
+
74
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#delete-instance_method
75
+ def delete: (
76
+ ?dry_run: bool
77
+ ) -> ::Aws::EmptyStructure
78
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
79
+
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#detach_from_vpc-instance_method
81
+ def detach_from_vpc: (
82
+ ?dry_run: bool,
83
+ vpc_id: ::String
84
+ ) -> ::Aws::EmptyStructure
85
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
86
+
87
+ class Collection < ::Aws::Resources::Collection[InternetGateway]
88
+ end
89
+ end
90
+ end
91
+ end
data/sig/key_pair.rbs ADDED
@@ -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 EC2
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPair.html
11
+ class KeyPair
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPair.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/EC2/KeyPair.html#name-instance_method
18
+ def name: () -> String
19
+ alias key_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPair.html#key_fingerprint-instance_method
22
+ def key_fingerprint: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPair.html#key_material-instance_method
25
+ def key_material: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPair.html#key_pair_id-instance_method
28
+ def key_pair_id: () -> ::String
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPair.html#tags-instance_method
31
+ def tags: () -> ::Array[Types::Tag]
32
+
33
+ def client: () -> Client
34
+
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPair.html#data-instance_method
37
+ def data: () -> Types::KeyPair
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPair.html#data_loaded?-instance_method
40
+ def data_loaded?: () -> bool
41
+
42
+
43
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPair.html#delete-instance_method
44
+ def delete: (
45
+ ?key_pair_id: ::String,
46
+ ?dry_run: bool
47
+ ) -> Types::DeleteKeyPairResult
48
+ | (?Hash[Symbol, untyped]) -> Types::DeleteKeyPairResult
49
+
50
+ class Collection < ::Aws::Resources::Collection[KeyPair]
51
+ end
52
+ end
53
+ end
54
+ 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 EC2
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.html
11
+ class KeyPairInfo
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.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/EC2/KeyPairInfo.html#name-instance_method
18
+ def name: () -> String
19
+ alias key_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.html#key_pair_id-instance_method
22
+ def key_pair_id: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.html#key_fingerprint-instance_method
25
+ def key_fingerprint: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.html#key_type-instance_method
28
+ def key_type: () -> ("rsa" | "ed25519")
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.html#tags-instance_method
31
+ def tags: () -> ::Array[Types::Tag]
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.html#public_key-instance_method
34
+ def public_key: () -> ::String
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.html#create_time-instance_method
37
+ def create_time: () -> ::Time
38
+
39
+ def client: () -> Client
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.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/EC2/KeyPairInfo.html#data-instance_method
46
+ def data: () -> Types::KeyPairInfo
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.html#data_loaded?-instance_method
49
+ def data_loaded?: () -> bool
50
+
51
+
52
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/KeyPairInfo.html#delete-instance_method
53
+ def delete: (
54
+ ?key_pair_id: ::String,
55
+ ?dry_run: bool
56
+ ) -> Types::DeleteKeyPairResult
57
+ | (?Hash[Symbol, untyped]) -> Types::DeleteKeyPairResult
58
+
59
+ class Collection < ::Aws::Resources::Collection[KeyPairInfo]
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,107 @@
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 EC2
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html
11
+ class NatGateway
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#initialize-instance_method
13
+ def initialize: (String id, Hash[Symbol, untyped] options) -> void
14
+ | (id: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#id-instance_method
18
+ def id: () -> String
19
+ alias nat_gateway_id id
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#create_time-instance_method
22
+ def create_time: () -> ::Time
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#delete_time-instance_method
25
+ def delete_time: () -> ::Time
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#failure_code-instance_method
28
+ def failure_code: () -> ::String
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#failure_message-instance_method
31
+ def failure_message: () -> ::String
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#nat_gateway_addresses-instance_method
34
+ def nat_gateway_addresses: () -> ::Array[Types::NatGatewayAddress]
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#provisioned_bandwidth-instance_method
37
+ def provisioned_bandwidth: () -> Types::ProvisionedBandwidth
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#state-instance_method
40
+ def state: () -> ("pending" | "failed" | "available" | "deleting" | "deleted")
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#subnet_id-instance_method
43
+ def subnet_id: () -> ::String
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#vpc_id-instance_method
46
+ def vpc_id: () -> ::String
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#tags-instance_method
49
+ def tags: () -> ::Array[Types::Tag]
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#connectivity_type-instance_method
52
+ def connectivity_type: () -> ("private" | "public")
53
+
54
+ def client: () -> Client
55
+
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#load-instance_method
57
+ def load: () -> self
58
+ alias reload load
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#data-instance_method
61
+ def data: () -> Types::NatGateway
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#data_loaded?-instance_method
64
+ def data_loaded?: () -> bool
65
+
66
+
67
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#create_tags-instance_method
68
+ def create_tags: (
69
+ ?dry_run: bool,
70
+ tags: Array[
71
+ {
72
+ key: ::String?,
73
+ value: ::String?
74
+ },
75
+ ]
76
+ ) -> Tag::Collection
77
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
78
+
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#delete_tags-instance_method
80
+ def delete_tags: (
81
+ ?dry_run: bool,
82
+ ?tags: Array[
83
+ {
84
+ key: ::String?,
85
+ value: ::String?
86
+ },
87
+ ]
88
+ ) -> Tag::Collection
89
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
90
+
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#delete-instance_method
92
+ def delete: (
93
+ ?dry_run: bool
94
+ ) -> Types::DeleteNatGatewayResult
95
+ | (?Hash[Symbol, untyped]) -> Types::DeleteNatGatewayResult
96
+
97
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#address-instance_method
98
+ def address: () -> VpcAddress?
99
+
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#subnet-instance_method
101
+ def subnet: () -> Subnet?
102
+
103
+ class Collection < ::Aws::Resources::Collection[NatGateway]
104
+ end
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,144 @@
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 EC2
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html
11
+ class NetworkAcl
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#initialize-instance_method
13
+ def initialize: (String id, Hash[Symbol, untyped] options) -> void
14
+ | (id: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#id-instance_method
18
+ def id: () -> String
19
+ alias network_acl_id id
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#associations-instance_method
22
+ def associations: () -> ::Array[Types::NetworkAclAssociation]
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#entries-instance_method
25
+ def entries: () -> ::Array[Types::NetworkAclEntry]
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#is_default-instance_method
28
+ def is_default: () -> bool
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#tags-instance_method
31
+ def tags: () -> ::Array[Types::Tag]
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#vpc_id-instance_method
34
+ def vpc_id: () -> ::String
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#owner_id-instance_method
37
+ def owner_id: () -> ::String
38
+
39
+ def client: () -> Client
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.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/EC2/NetworkAcl.html#data-instance_method
46
+ def data: () -> Types::NetworkAcl
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#data_loaded?-instance_method
49
+ def data_loaded?: () -> bool
50
+
51
+
52
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#create_entry-instance_method
53
+ def create_entry: (
54
+ ?cidr_block: ::String,
55
+ ?dry_run: bool,
56
+ egress: bool,
57
+ ?icmp_type_code: {
58
+ code: ::Integer?,
59
+ type: ::Integer?
60
+ },
61
+ ?ipv_6_cidr_block: ::String,
62
+ ?port_range: {
63
+ from: ::Integer?,
64
+ to: ::Integer?
65
+ },
66
+ protocol: ::String,
67
+ rule_action: ("allow" | "deny"),
68
+ rule_number: ::Integer
69
+ ) -> ::Aws::EmptyStructure
70
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
71
+
72
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#create_tags-instance_method
73
+ def create_tags: (
74
+ ?dry_run: bool,
75
+ tags: Array[
76
+ {
77
+ key: ::String?,
78
+ value: ::String?
79
+ },
80
+ ]
81
+ ) -> Tag::Collection
82
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
83
+
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#delete_tags-instance_method
85
+ def delete_tags: (
86
+ ?dry_run: bool,
87
+ ?tags: Array[
88
+ {
89
+ key: ::String?,
90
+ value: ::String?
91
+ },
92
+ ]
93
+ ) -> Tag::Collection
94
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
95
+
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#delete-instance_method
97
+ def delete: (
98
+ ?dry_run: bool
99
+ ) -> ::Aws::EmptyStructure
100
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
101
+
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#delete_entry-instance_method
103
+ def delete_entry: (
104
+ ?dry_run: bool,
105
+ egress: bool,
106
+ rule_number: ::Integer
107
+ ) -> ::Aws::EmptyStructure
108
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
109
+
110
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#replace_association-instance_method
111
+ def replace_association: (
112
+ association_id: ::String,
113
+ ?dry_run: bool
114
+ ) -> Types::ReplaceNetworkAclAssociationResult
115
+ | (?Hash[Symbol, untyped]) -> Types::ReplaceNetworkAclAssociationResult
116
+
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#replace_entry-instance_method
118
+ def replace_entry: (
119
+ ?cidr_block: ::String,
120
+ ?dry_run: bool,
121
+ egress: bool,
122
+ ?icmp_type_code: {
123
+ code: ::Integer?,
124
+ type: ::Integer?
125
+ },
126
+ ?ipv_6_cidr_block: ::String,
127
+ ?port_range: {
128
+ from: ::Integer?,
129
+ to: ::Integer?
130
+ },
131
+ protocol: ::String,
132
+ rule_action: ("allow" | "deny"),
133
+ rule_number: ::Integer
134
+ ) -> ::Aws::EmptyStructure
135
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
136
+
137
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#vpc-instance_method
138
+ def vpc: () -> Vpc?
139
+
140
+ class Collection < ::Aws::Resources::Collection[NetworkAcl]
141
+ end
142
+ end
143
+ end
144
+ end