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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +1 -1
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/classic_address.rbs +102 -0
- data/sig/client.rbs +13220 -0
- data/sig/dhcp_options.rbs +84 -0
- data/sig/errors.rbs +16 -0
- data/sig/image.rbs +213 -0
- data/sig/instance.rbs +557 -0
- data/sig/internet_gateway.rbs +91 -0
- data/sig/key_pair.rbs +54 -0
- data/sig/key_pair_info.rbs +63 -0
- data/sig/nat_gateway.rbs +107 -0
- data/sig/network_acl.rbs +144 -0
- data/sig/network_interface.rbs +232 -0
- data/sig/network_interface_association.rbs +62 -0
- data/sig/placement_group.rbs +78 -0
- data/sig/resource.rbs +1009 -0
- data/sig/route.rbs +113 -0
- data/sig/route_table.rbs +117 -0
- data/sig/route_table_association.rbs +69 -0
- data/sig/security_group.rbs +308 -0
- data/sig/snapshot.rbs +188 -0
- data/sig/subnet.rbs +422 -0
- data/sig/tag.rbs +63 -0
- data/sig/types.rbs +15047 -0
- data/sig/volume.rbs +203 -0
- data/sig/vpc.rbs +398 -0
- data/sig/vpc_address.rbs +98 -0
- data/sig/vpc_peering_connection.rbs +84 -0
- data/sig/waiters.rbs +664 -0
- metadata +32 -4
data/sig/vpc_address.rbs
ADDED
@@ -0,0 +1,98 @@
|
|
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/VpcAddress.html
|
11
|
+
class VpcAddress
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#initialize-instance_method
|
13
|
+
def initialize: (String allocation_id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (allocation_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/VpcAddress.html#allocation_id-instance_method
|
18
|
+
def allocation_id: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#instance_id-instance_method
|
21
|
+
def instance_id: () -> ::String
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#public_ip-instance_method
|
24
|
+
def public_ip: () -> ::String
|
25
|
+
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#association_id-instance_method
|
27
|
+
def association_id: () -> ::String
|
28
|
+
|
29
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#domain-instance_method
|
30
|
+
def domain: () -> ("vpc" | "standard")
|
31
|
+
|
32
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#network_interface_id-instance_method
|
33
|
+
def network_interface_id: () -> ::String
|
34
|
+
|
35
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#network_interface_owner_id-instance_method
|
36
|
+
def network_interface_owner_id: () -> ::String
|
37
|
+
|
38
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#private_ip_address-instance_method
|
39
|
+
def private_ip_address: () -> ::String
|
40
|
+
|
41
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#tags-instance_method
|
42
|
+
def tags: () -> ::Array[Types::Tag]
|
43
|
+
|
44
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#public_ipv_4_pool-instance_method
|
45
|
+
def public_ipv_4_pool: () -> ::String
|
46
|
+
|
47
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#network_border_group-instance_method
|
48
|
+
def network_border_group: () -> ::String
|
49
|
+
|
50
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#customer_owned_ip-instance_method
|
51
|
+
def customer_owned_ip: () -> ::String
|
52
|
+
|
53
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#customer_owned_ipv_4_pool-instance_method
|
54
|
+
def customer_owned_ipv_4_pool: () -> ::String
|
55
|
+
|
56
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#carrier_ip-instance_method
|
57
|
+
def carrier_ip: () -> ::String
|
58
|
+
|
59
|
+
def client: () -> Client
|
60
|
+
|
61
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#load-instance_method
|
62
|
+
def load: () -> self
|
63
|
+
alias reload load
|
64
|
+
|
65
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#data-instance_method
|
66
|
+
def data: () -> Types::Address
|
67
|
+
|
68
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#data_loaded?-instance_method
|
69
|
+
def data_loaded?: () -> bool
|
70
|
+
|
71
|
+
|
72
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#associate-instance_method
|
73
|
+
def associate: (
|
74
|
+
?instance_id: ::String,
|
75
|
+
?public_ip: ::String,
|
76
|
+
?allow_reassociation: bool,
|
77
|
+
?dry_run: bool,
|
78
|
+
?network_interface_id: ::String,
|
79
|
+
?private_ip_address: ::String
|
80
|
+
) -> Types::AssociateAddressResult
|
81
|
+
| (?Hash[Symbol, untyped]) -> Types::AssociateAddressResult
|
82
|
+
|
83
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#release-instance_method
|
84
|
+
def release: (
|
85
|
+
?public_ip: ::String,
|
86
|
+
?network_border_group: ::String,
|
87
|
+
?dry_run: bool
|
88
|
+
) -> ::Aws::EmptyStructure
|
89
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
90
|
+
|
91
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#association-instance_method
|
92
|
+
def association: () -> NetworkInterfaceAssociation?
|
93
|
+
|
94
|
+
class Collection < ::Aws::Resources::Collection[VpcAddress]
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,84 @@
|
|
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/VpcPeeringConnection.html
|
11
|
+
class VpcPeeringConnection
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.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/VpcPeeringConnection.html#id-instance_method
|
18
|
+
def id: () -> String
|
19
|
+
alias vpc_peering_connection_id id
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.html#accepter_vpc_info-instance_method
|
22
|
+
def accepter_vpc_info: () -> Types::VpcPeeringConnectionVpcInfo
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.html#expiration_time-instance_method
|
25
|
+
def expiration_time: () -> ::Time
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.html#requester_vpc_info-instance_method
|
28
|
+
def requester_vpc_info: () -> Types::VpcPeeringConnectionVpcInfo
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.html#status-instance_method
|
31
|
+
def status: () -> Types::VpcPeeringConnectionStateReason
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.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/EC2/VpcPeeringConnection.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/EC2/VpcPeeringConnection.html#data-instance_method
|
43
|
+
def data: () -> Types::VpcPeeringConnection
|
44
|
+
|
45
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.html#data_loaded?-instance_method
|
46
|
+
def data_loaded?: () -> bool
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.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/EC2/VpcPeeringConnection.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 } -> VpcPeeringConnection
|
54
|
+
| (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> VpcPeeringConnection
|
55
|
+
|
56
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.html#accept-instance_method
|
57
|
+
def accept: (
|
58
|
+
?dry_run: bool
|
59
|
+
) -> Types::AcceptVpcPeeringConnectionResult
|
60
|
+
| (?Hash[Symbol, untyped]) -> Types::AcceptVpcPeeringConnectionResult
|
61
|
+
|
62
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.html#delete-instance_method
|
63
|
+
def delete: (
|
64
|
+
?dry_run: bool
|
65
|
+
) -> Types::DeleteVpcPeeringConnectionResult
|
66
|
+
| (?Hash[Symbol, untyped]) -> Types::DeleteVpcPeeringConnectionResult
|
67
|
+
|
68
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.html#reject-instance_method
|
69
|
+
def reject: (
|
70
|
+
?dry_run: bool
|
71
|
+
) -> Types::RejectVpcPeeringConnectionResult
|
72
|
+
| (?Hash[Symbol, untyped]) -> Types::RejectVpcPeeringConnectionResult
|
73
|
+
|
74
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.html#accepter_vpc-instance_method
|
75
|
+
def accepter_vpc: () -> Vpc?
|
76
|
+
|
77
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcPeeringConnection.html#requester_vpc-instance_method
|
78
|
+
def requester_vpc: () -> Vpc?
|
79
|
+
|
80
|
+
class Collection < ::Aws::Resources::Collection[VpcPeeringConnection]
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|