aws-sdk-ec2 1.479.0 → 1.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-ec2/classic_address.rb +11 -11
  5. data/lib/aws-sdk-ec2/client.rb +3074 -2792
  6. data/lib/aws-sdk-ec2/client_api.rb +562 -438
  7. data/lib/aws-sdk-ec2/dhcp_options.rb +6 -6
  8. data/lib/aws-sdk-ec2/endpoints.rb +55 -0
  9. data/lib/aws-sdk-ec2/image.rb +82 -82
  10. data/lib/aws-sdk-ec2/instance.rb +291 -289
  11. data/lib/aws-sdk-ec2/key_pair.rb +12 -12
  12. data/lib/aws-sdk-ec2/key_pair_info.rb +27 -27
  13. data/lib/aws-sdk-ec2/network_acl.rb +60 -60
  14. data/lib/aws-sdk-ec2/network_interface.rb +65 -65
  15. data/lib/aws-sdk-ec2/placement_group.rb +11 -14
  16. data/lib/aws-sdk-ec2/plugins/endpoints.rb +10 -0
  17. data/lib/aws-sdk-ec2/resource.rb +594 -602
  18. data/lib/aws-sdk-ec2/route.rb +30 -30
  19. data/lib/aws-sdk-ec2/route_table.rb +37 -37
  20. data/lib/aws-sdk-ec2/security_group.rb +137 -137
  21. data/lib/aws-sdk-ec2/snapshot.rb +77 -77
  22. data/lib/aws-sdk-ec2/subnet.rb +279 -287
  23. data/lib/aws-sdk-ec2/types.rb +3640 -3368
  24. data/lib/aws-sdk-ec2/volume.rb +93 -93
  25. data/lib/aws-sdk-ec2/vpc.rb +143 -146
  26. data/lib/aws-sdk-ec2/vpc_address.rb +17 -17
  27. data/lib/aws-sdk-ec2.rb +1 -1
  28. data/sig/classic_address.rbs +5 -5
  29. data/sig/client.rbs +948 -881
  30. data/sig/dhcp_options.rbs +3 -3
  31. data/sig/image.rbs +41 -41
  32. data/sig/instance.rbs +108 -108
  33. data/sig/key_pair.rbs +6 -6
  34. data/sig/key_pair_info.rbs +3 -3
  35. data/sig/network_acl.rbs +16 -16
  36. data/sig/network_interface.rbs +22 -22
  37. data/sig/placement_group.rbs +3 -3
  38. data/sig/resource.rbs +201 -201
  39. data/sig/route.rbs +9 -9
  40. data/sig/route_table.rbs +10 -10
  41. data/sig/security_group.rbs +110 -110
  42. data/sig/snapshot.rbs +34 -34
  43. data/sig/subnet.rbs +116 -116
  44. data/sig/types.rbs +525 -443
  45. data/sig/volume.rbs +33 -33
  46. data/sig/vpc.rbs +46 -46
  47. data/sig/vpc_address.rbs +8 -8
  48. data/sig/waiters.rbs +113 -113
  49. metadata +2 -2
data/sig/route.rbs CHANGED
@@ -77,29 +77,29 @@ module Aws
77
77
 
78
78
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#delete-instance_method
79
79
  def delete: (
80
- ?destination_ipv_6_cidr_block: ::String,
81
80
  ?destination_prefix_list_id: ::String,
82
- ?dry_run: bool
81
+ ?dry_run: bool,
82
+ ?destination_ipv_6_cidr_block: ::String
83
83
  ) -> ::Aws::EmptyStructure
84
84
  | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
85
85
 
86
86
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Route.html#replace-instance_method
87
87
  def replace: (
88
- ?destination_ipv_6_cidr_block: ::String,
89
88
  ?destination_prefix_list_id: ::String,
90
- ?dry_run: bool,
91
89
  ?vpc_endpoint_id: ::String,
92
- ?egress_only_internet_gateway_id: ::String,
93
- ?gateway_id: ::String,
94
- ?instance_id: ::String,
95
90
  ?local_target: bool,
96
- ?nat_gateway_id: ::String,
97
91
  ?transit_gateway_id: ::String,
98
92
  ?local_gateway_id: ::String,
99
93
  ?carrier_gateway_id: ::String,
94
+ ?core_network_arn: ::String,
95
+ ?dry_run: bool,
96
+ ?gateway_id: ::String,
97
+ ?destination_ipv_6_cidr_block: ::String,
98
+ ?egress_only_internet_gateway_id: ::String,
99
+ ?instance_id: ::String,
100
100
  ?network_interface_id: ::String,
101
101
  ?vpc_peering_connection_id: ::String,
102
- ?core_network_arn: ::String
102
+ ?nat_gateway_id: ::String
103
103
  ) -> ::Aws::EmptyStructure
104
104
  | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
105
105
 
data/sig/route_table.rbs CHANGED
@@ -45,29 +45,29 @@ module Aws
45
45
 
46
46
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#associate_with_subnet-instance_method
47
47
  def associate_with_subnet: (
48
+ ?gateway_id: ::String,
48
49
  ?dry_run: bool,
49
- ?subnet_id: ::String,
50
- ?gateway_id: ::String
50
+ ?subnet_id: ::String
51
51
  ) -> RouteTableAssociation
52
52
  | (?Hash[Symbol, untyped]) -> RouteTableAssociation
53
53
 
54
54
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#create_route-instance_method
55
55
  def create_route: (
56
- ?destination_cidr_block: ::String,
57
- ?destination_ipv_6_cidr_block: ::String,
58
56
  ?destination_prefix_list_id: ::String,
59
- ?dry_run: bool,
60
57
  ?vpc_endpoint_id: ::String,
61
- ?egress_only_internet_gateway_id: ::String,
62
- ?gateway_id: ::String,
63
- ?instance_id: ::String,
64
- ?nat_gateway_id: ::String,
65
58
  ?transit_gateway_id: ::String,
66
59
  ?local_gateway_id: ::String,
67
60
  ?carrier_gateway_id: ::String,
61
+ ?core_network_arn: ::String,
62
+ ?dry_run: bool,
63
+ ?destination_cidr_block: ::String,
64
+ ?gateway_id: ::String,
65
+ ?destination_ipv_6_cidr_block: ::String,
66
+ ?egress_only_internet_gateway_id: ::String,
67
+ ?instance_id: ::String,
68
68
  ?network_interface_id: ::String,
69
69
  ?vpc_peering_connection_id: ::String,
70
- ?core_network_arn: ::String
70
+ ?nat_gateway_id: ::String
71
71
  ) -> Route
72
72
  | (?Hash[Symbol, untyped]) -> Route
73
73
 
@@ -18,18 +18,6 @@ module Aws
18
18
  def id: () -> String
19
19
  alias group_id id
20
20
 
21
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#description-instance_method
22
- def description: () -> ::String
23
-
24
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#group_name-instance_method
25
- def group_name: () -> ::String
26
-
27
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#ip_permissions-instance_method
28
- def ip_permissions: () -> ::Array[Types::IpPermission]
29
-
30
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#owner_id-instance_method
31
- def owner_id: () -> ::String
32
-
33
21
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#ip_permissions_egress-instance_method
34
22
  def ip_permissions_egress: () -> ::Array[Types::IpPermission]
35
23
 
@@ -39,6 +27,18 @@ module Aws
39
27
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#vpc_id-instance_method
40
28
  def vpc_id: () -> ::String
41
29
 
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#owner_id-instance_method
31
+ def owner_id: () -> ::String
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#group_name-instance_method
34
+ def group_name: () -> ::String
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#description-instance_method
37
+ def description: () -> ::String
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#ip_permissions-instance_method
40
+ def ip_permissions: () -> ::Array[Types::IpPermission]
41
+
42
42
  def client: () -> Client
43
43
 
44
44
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#load-instance_method
@@ -54,60 +54,60 @@ module Aws
54
54
 
55
55
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#authorize_egress-instance_method
56
56
  def authorize_egress: (
57
+ ?tag_specifications: Array[
58
+ {
59
+ resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
60
+ tags: Array[
61
+ {
62
+ key: ::String?,
63
+ value: ::String?
64
+ },
65
+ ]?
66
+ },
67
+ ],
57
68
  ?dry_run: bool,
69
+ ?source_security_group_name: ::String,
70
+ ?source_security_group_owner_id: ::String,
71
+ ?ip_protocol: ::String,
72
+ ?from_port: ::Integer,
73
+ ?to_port: ::Integer,
74
+ ?cidr_ip: ::String,
58
75
  ?ip_permissions: Array[
59
76
  {
60
- from_port: ::Integer?,
61
77
  ip_protocol: ::String?,
62
- ip_ranges: Array[
78
+ from_port: ::Integer?,
79
+ to_port: ::Integer?,
80
+ user_id_group_pairs: Array[
63
81
  {
64
- cidr_ip: ::String?,
65
- description: ::String?
82
+ description: ::String?,
83
+ user_id: ::String?,
84
+ group_name: ::String?,
85
+ group_id: ::String?,
86
+ vpc_id: ::String?,
87
+ vpc_peering_connection_id: ::String?,
88
+ peering_status: ::String?
66
89
  },
67
90
  ]?,
68
- ipv_6_ranges: Array[
91
+ ip_ranges: Array[
69
92
  {
70
- cidr_ipv_6: ::String?,
71
- description: ::String?
93
+ description: ::String?,
94
+ cidr_ip: ::String?
72
95
  },
73
96
  ]?,
74
- prefix_list_ids: Array[
97
+ ipv_6_ranges: Array[
75
98
  {
76
99
  description: ::String?,
77
- prefix_list_id: ::String?
100
+ cidr_ipv_6: ::String?
78
101
  },
79
102
  ]?,
80
- to_port: ::Integer?,
81
- user_id_group_pairs: Array[
103
+ prefix_list_ids: Array[
82
104
  {
83
105
  description: ::String?,
84
- group_id: ::String?,
85
- group_name: ::String?,
86
- peering_status: ::String?,
87
- user_id: ::String?,
88
- vpc_id: ::String?,
89
- vpc_peering_connection_id: ::String?
90
- },
91
- ]?
92
- },
93
- ],
94
- ?tag_specifications: Array[
95
- {
96
- resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
97
- tags: Array[
98
- {
99
- key: ::String?,
100
- value: ::String?
106
+ prefix_list_id: ::String?
101
107
  },
102
108
  ]?
103
109
  },
104
- ],
105
- ?cidr_ip: ::String,
106
- ?from_port: ::Integer,
107
- ?ip_protocol: ::String,
108
- ?to_port: ::Integer,
109
- ?source_security_group_name: ::String,
110
- ?source_security_group_owner_id: ::String
110
+ ]
111
111
  ) -> Types::AuthorizeSecurityGroupEgressResult
112
112
  | (?Hash[Symbol, untyped]) -> Types::AuthorizeSecurityGroupEgressResult
113
113
 
@@ -118,36 +118,36 @@ module Aws
118
118
  ?group_name: ::String,
119
119
  ?ip_permissions: Array[
120
120
  {
121
- from_port: ::Integer?,
122
121
  ip_protocol: ::String?,
123
- ip_ranges: Array[
122
+ from_port: ::Integer?,
123
+ to_port: ::Integer?,
124
+ user_id_group_pairs: Array[
124
125
  {
125
- cidr_ip: ::String?,
126
- description: ::String?
126
+ description: ::String?,
127
+ user_id: ::String?,
128
+ group_name: ::String?,
129
+ group_id: ::String?,
130
+ vpc_id: ::String?,
131
+ vpc_peering_connection_id: ::String?,
132
+ peering_status: ::String?
127
133
  },
128
134
  ]?,
129
- ipv_6_ranges: Array[
135
+ ip_ranges: Array[
130
136
  {
131
- cidr_ipv_6: ::String?,
132
- description: ::String?
137
+ description: ::String?,
138
+ cidr_ip: ::String?
133
139
  },
134
140
  ]?,
135
- prefix_list_ids: Array[
141
+ ipv_6_ranges: Array[
136
142
  {
137
143
  description: ::String?,
138
- prefix_list_id: ::String?
144
+ cidr_ipv_6: ::String?
139
145
  },
140
146
  ]?,
141
- to_port: ::Integer?,
142
- user_id_group_pairs: Array[
147
+ prefix_list_ids: Array[
143
148
  {
144
149
  description: ::String?,
145
- group_id: ::String?,
146
- group_name: ::String?,
147
- peering_status: ::String?,
148
- user_id: ::String?,
149
- vpc_id: ::String?,
150
- vpc_peering_connection_id: ::String?
150
+ prefix_list_id: ::String?
151
151
  },
152
152
  ]?
153
153
  },
@@ -156,7 +156,6 @@ module Aws
156
156
  ?source_security_group_name: ::String,
157
157
  ?source_security_group_owner_id: ::String,
158
158
  ?to_port: ::Integer,
159
- ?dry_run: bool,
160
159
  ?tag_specifications: Array[
161
160
  {
162
161
  resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
@@ -167,7 +166,8 @@ module Aws
167
166
  },
168
167
  ]?
169
168
  },
170
- ]
169
+ ],
170
+ ?dry_run: bool
171
171
  ) -> Types::AuthorizeSecurityGroupIngressResult
172
172
  | (?Hash[Symbol, untyped]) -> Types::AuthorizeSecurityGroupIngressResult
173
173
 
@@ -204,50 +204,50 @@ module Aws
204
204
 
205
205
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#revoke_egress-instance_method
206
206
  def revoke_egress: (
207
+ ?security_group_rule_ids: Array[::String],
207
208
  ?dry_run: bool,
209
+ ?source_security_group_name: ::String,
210
+ ?source_security_group_owner_id: ::String,
211
+ ?ip_protocol: ::String,
212
+ ?from_port: ::Integer,
213
+ ?to_port: ::Integer,
214
+ ?cidr_ip: ::String,
208
215
  ?ip_permissions: Array[
209
216
  {
210
- from_port: ::Integer?,
211
217
  ip_protocol: ::String?,
212
- ip_ranges: Array[
218
+ from_port: ::Integer?,
219
+ to_port: ::Integer?,
220
+ user_id_group_pairs: Array[
213
221
  {
214
- cidr_ip: ::String?,
215
- description: ::String?
222
+ description: ::String?,
223
+ user_id: ::String?,
224
+ group_name: ::String?,
225
+ group_id: ::String?,
226
+ vpc_id: ::String?,
227
+ vpc_peering_connection_id: ::String?,
228
+ peering_status: ::String?
216
229
  },
217
230
  ]?,
218
- ipv_6_ranges: Array[
231
+ ip_ranges: Array[
219
232
  {
220
- cidr_ipv_6: ::String?,
221
- description: ::String?
233
+ description: ::String?,
234
+ cidr_ip: ::String?
222
235
  },
223
236
  ]?,
224
- prefix_list_ids: Array[
237
+ ipv_6_ranges: Array[
225
238
  {
226
239
  description: ::String?,
227
- prefix_list_id: ::String?
240
+ cidr_ipv_6: ::String?
228
241
  },
229
242
  ]?,
230
- to_port: ::Integer?,
231
- user_id_group_pairs: Array[
243
+ prefix_list_ids: Array[
232
244
  {
233
245
  description: ::String?,
234
- group_id: ::String?,
235
- group_name: ::String?,
236
- peering_status: ::String?,
237
- user_id: ::String?,
238
- vpc_id: ::String?,
239
- vpc_peering_connection_id: ::String?
246
+ prefix_list_id: ::String?
240
247
  },
241
248
  ]?
242
249
  },
243
- ],
244
- ?security_group_rule_ids: Array[::String],
245
- ?cidr_ip: ::String,
246
- ?from_port: ::Integer,
247
- ?ip_protocol: ::String,
248
- ?to_port: ::Integer,
249
- ?source_security_group_name: ::String,
250
- ?source_security_group_owner_id: ::String
250
+ ]
251
251
  ) -> Types::RevokeSecurityGroupEgressResult
252
252
  | (?Hash[Symbol, untyped]) -> Types::RevokeSecurityGroupEgressResult
253
253
 
@@ -258,36 +258,36 @@ module Aws
258
258
  ?group_name: ::String,
259
259
  ?ip_permissions: Array[
260
260
  {
261
- from_port: ::Integer?,
262
261
  ip_protocol: ::String?,
263
- ip_ranges: Array[
262
+ from_port: ::Integer?,
263
+ to_port: ::Integer?,
264
+ user_id_group_pairs: Array[
264
265
  {
265
- cidr_ip: ::String?,
266
- description: ::String?
266
+ description: ::String?,
267
+ user_id: ::String?,
268
+ group_name: ::String?,
269
+ group_id: ::String?,
270
+ vpc_id: ::String?,
271
+ vpc_peering_connection_id: ::String?,
272
+ peering_status: ::String?
267
273
  },
268
274
  ]?,
269
- ipv_6_ranges: Array[
275
+ ip_ranges: Array[
270
276
  {
271
- cidr_ipv_6: ::String?,
272
- description: ::String?
277
+ description: ::String?,
278
+ cidr_ip: ::String?
273
279
  },
274
280
  ]?,
275
- prefix_list_ids: Array[
281
+ ipv_6_ranges: Array[
276
282
  {
277
283
  description: ::String?,
278
- prefix_list_id: ::String?
284
+ cidr_ipv_6: ::String?
279
285
  },
280
286
  ]?,
281
- to_port: ::Integer?,
282
- user_id_group_pairs: Array[
287
+ prefix_list_ids: Array[
283
288
  {
284
289
  description: ::String?,
285
- group_id: ::String?,
286
- group_name: ::String?,
287
- peering_status: ::String?,
288
- user_id: ::String?,
289
- vpc_id: ::String?,
290
- vpc_peering_connection_id: ::String?
290
+ prefix_list_id: ::String?
291
291
  },
292
292
  ]?
293
293
  },
@@ -296,8 +296,8 @@ module Aws
296
296
  ?source_security_group_name: ::String,
297
297
  ?source_security_group_owner_id: ::String,
298
298
  ?to_port: ::Integer,
299
- ?dry_run: bool,
300
- ?security_group_rule_ids: Array[::String]
299
+ ?security_group_rule_ids: Array[::String],
300
+ ?dry_run: bool
301
301
  ) -> Types::RevokeSecurityGroupIngressResult
302
302
  | (?Hash[Symbol, untyped]) -> Types::RevokeSecurityGroupIngressResult
303
303
 
data/sig/snapshot.rbs CHANGED
@@ -18,26 +18,26 @@ module Aws
18
18
  def id: () -> String
19
19
  alias snapshot_id id
20
20
 
21
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#data_encryption_key_id-instance_method
22
- def data_encryption_key_id: () -> ::String
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#owner_alias-instance_method
22
+ def owner_alias: () -> ::String
23
23
 
24
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#description-instance_method
25
- def description: () -> ::String
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#outpost_arn-instance_method
25
+ def outpost_arn: () -> ::String
26
26
 
27
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#encrypted-instance_method
28
- def encrypted: () -> bool
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#tags-instance_method
28
+ def tags: () -> ::Array[Types::Tag]
29
29
 
30
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#kms_key_id-instance_method
31
- def kms_key_id: () -> ::String
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#storage_tier-instance_method
31
+ def storage_tier: () -> ("archive" | "standard")
32
32
 
33
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#owner_id-instance_method
34
- def owner_id: () -> ::String
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#restore_expiry_time-instance_method
34
+ def restore_expiry_time: () -> ::Time
35
35
 
36
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#progress-instance_method
37
- def progress: () -> ::String
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#sse_type-instance_method
37
+ def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
38
38
 
39
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#start_time-instance_method
40
- def start_time: () -> ::Time
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#volume_id-instance_method
40
+ def volume_id: () -> ::String
41
41
 
42
42
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#state-instance_method
43
43
  def state: () -> ("pending" | "completed" | "error" | "recoverable" | "recovering")
@@ -45,29 +45,29 @@ module Aws
45
45
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#state_message-instance_method
46
46
  def state_message: () -> ::String
47
47
 
48
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#volume_id-instance_method
49
- def volume_id: () -> ::String
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#start_time-instance_method
49
+ def start_time: () -> ::Time
50
50
 
51
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#volume_size-instance_method
52
- def volume_size: () -> ::Integer
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#progress-instance_method
52
+ def progress: () -> ::String
53
53
 
54
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#owner_alias-instance_method
55
- def owner_alias: () -> ::String
54
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#owner_id-instance_method
55
+ def owner_id: () -> ::String
56
56
 
57
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#outpost_arn-instance_method
58
- def outpost_arn: () -> ::String
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#description-instance_method
58
+ def description: () -> ::String
59
59
 
60
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#tags-instance_method
61
- def tags: () -> ::Array[Types::Tag]
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#volume_size-instance_method
61
+ def volume_size: () -> ::Integer
62
62
 
63
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#storage_tier-instance_method
64
- def storage_tier: () -> ("archive" | "standard")
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#encrypted-instance_method
64
+ def encrypted: () -> bool
65
65
 
66
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#restore_expiry_time-instance_method
67
- def restore_expiry_time: () -> ::Time
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#kms_key_id-instance_method
67
+ def kms_key_id: () -> ::String
68
68
 
69
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#sse_type-instance_method
70
- def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
69
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#data_encryption_key_id-instance_method
70
+ def data_encryption_key_id: () -> ::String
71
71
 
72
72
  def client: () -> Client
73
73
 
@@ -153,14 +153,14 @@ module Aws
153
153
  ?create_volume_permission: {
154
154
  add: Array[
155
155
  {
156
- group: ("all")?,
157
- user_id: ::String?
156
+ user_id: ::String?,
157
+ group: ("all")?
158
158
  },
159
159
  ]?,
160
160
  remove: Array[
161
161
  {
162
- group: ("all")?,
163
- user_id: ::String?
162
+ user_id: ::String?,
163
+ group: ("all")?
164
164
  },
165
165
  ]?
166
166
  },