aws-sdk-ec2 1.432.0 → 1.437.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +169 -68
- data/lib/aws-sdk-ec2/client_api.rb +10 -0
- data/lib/aws-sdk-ec2/instance.rb +10 -2
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-ec2/resource.rb +27 -9
- data/lib/aws-sdk-ec2/subnet.rb +14 -8
- data/lib/aws-sdk-ec2/types.rb +420 -168
- data/lib/aws-sdk-ec2/vpc.rb +21 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/classic_address.rbs +102 -0
- data/sig/client.rbs +13229 -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 +15049 -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 +36 -8
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -368,6 +368,7 @@ module Aws::EC2
|
|
368
368
|
# ],
|
369
369
|
# },
|
370
370
|
# ],
|
371
|
+
# client_token: "String",
|
371
372
|
# })
|
372
373
|
# @param [Hash] options ({})
|
373
374
|
# @option options [Boolean] :dry_run
|
@@ -377,6 +378,14 @@ module Aws::EC2
|
|
377
378
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
378
379
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
379
380
|
# The tags to assign to the network ACL.
|
381
|
+
# @option options [String] :client_token
|
382
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
383
|
+
# idempotency of the request. For more information, see [Ensuring
|
384
|
+
# idempotency][1].
|
385
|
+
#
|
386
|
+
#
|
387
|
+
#
|
388
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
380
389
|
# @return [NetworkAcl]
|
381
390
|
def create_network_acl(options = {})
|
382
391
|
options = options.merge(vpc_id: @id)
|
@@ -405,6 +414,7 @@ module Aws::EC2
|
|
405
414
|
# ],
|
406
415
|
# },
|
407
416
|
# ],
|
417
|
+
# client_token: "String",
|
408
418
|
# })
|
409
419
|
# @param [Hash] options ({})
|
410
420
|
# @option options [Boolean] :dry_run
|
@@ -414,6 +424,14 @@ module Aws::EC2
|
|
414
424
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
415
425
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
416
426
|
# The tags to assign to the route table.
|
427
|
+
# @option options [String] :client_token
|
428
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
429
|
+
# idempotency of the request. For more information, see [Ensuring
|
430
|
+
# idempotency][1].
|
431
|
+
#
|
432
|
+
#
|
433
|
+
#
|
434
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
417
435
|
# @return [RouteTable]
|
418
436
|
def create_route_table(options = {})
|
419
437
|
options = options.merge(vpc_id: @id)
|
@@ -1894,6 +1912,9 @@ module Aws::EC2
|
|
1894
1912
|
# @option options [Array<Types::Filter>] :filters
|
1895
1913
|
# The filters.
|
1896
1914
|
#
|
1915
|
+
# * `association.gateway-id` - The ID of the gateway involved in the
|
1916
|
+
# association.
|
1917
|
+
#
|
1897
1918
|
# * `association.route-table-association-id` - The ID of an association
|
1898
1919
|
# ID for the route table.
|
1899
1920
|
#
|
data/lib/aws-sdk-ec2.rb
CHANGED
@@ -0,0 +1,102 @@
|
|
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/ClassicAddress.html
|
11
|
+
class ClassicAddress
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#initialize-instance_method
|
13
|
+
def initialize: (String public_ip, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (public_ip: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#public_ip-instance_method
|
18
|
+
def public_ip: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#instance_id-instance_method
|
21
|
+
def instance_id: () -> ::String
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#allocation_id-instance_method
|
24
|
+
def allocation_id: () -> ::String
|
25
|
+
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#association_id-instance_method
|
27
|
+
def association_id: () -> ::String
|
28
|
+
|
29
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#domain-instance_method
|
30
|
+
def domain: () -> ("vpc" | "standard")
|
31
|
+
|
32
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.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/ClassicAddress.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/ClassicAddress.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/ClassicAddress.html#tags-instance_method
|
42
|
+
def tags: () -> ::Array[Types::Tag]
|
43
|
+
|
44
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.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/ClassicAddress.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/ClassicAddress.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/ClassicAddress.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/ClassicAddress.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/ClassicAddress.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/ClassicAddress.html#data-instance_method
|
66
|
+
def data: () -> Types::Address
|
67
|
+
|
68
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.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/ClassicAddress.html#associate-instance_method
|
73
|
+
def associate: (
|
74
|
+
?allocation_id: ::String,
|
75
|
+
?instance_id: ::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/ClassicAddress.html#disassociate-instance_method
|
84
|
+
def disassociate: (
|
85
|
+
?association_id: ::String,
|
86
|
+
?dry_run: bool
|
87
|
+
) -> ::Aws::EmptyStructure
|
88
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
89
|
+
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#release-instance_method
|
91
|
+
def release: (
|
92
|
+
?allocation_id: ::String,
|
93
|
+
?network_border_group: ::String,
|
94
|
+
?dry_run: bool
|
95
|
+
) -> ::Aws::EmptyStructure
|
96
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
97
|
+
|
98
|
+
class Collection < ::Aws::Resources::Collection[ClassicAddress]
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|