aws-sdk-ec2 1.489.0 → 1.491.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +561 -62
- data/lib/aws-sdk-ec2/client_api.rb +173 -0
- data/lib/aws-sdk-ec2/instance.rb +6 -0
- data/lib/aws-sdk-ec2/network_interface.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +55 -40
- data/lib/aws-sdk-ec2/subnet.rb +21 -5
- data/lib/aws-sdk-ec2/types.rb +632 -58
- data/lib/aws-sdk-ec2/volume.rb +6 -0
- data/lib/aws-sdk-ec2/vpc.rb +36 -30
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +109 -2
- data/sig/instance.rbs +3 -0
- data/sig/network_interface.rbs +3 -0
- data/sig/resource.rbs +9 -0
- data/sig/subnet.rbs +9 -0
- data/sig/types.rbs +129 -0
- data/sig/volume.rbs +3 -0
- data/sig/vpc.rbs +3 -0
- metadata +2 -2
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -212,6 +212,9 @@ module Aws::EC2
|
|
212
212
|
# },
|
213
213
|
# disable_api_stop: false,
|
214
214
|
# enable_primary_ipv_6: false,
|
215
|
+
# operator: {
|
216
|
+
# principal: "String",
|
217
|
+
# },
|
215
218
|
# dry_run: false,
|
216
219
|
# disable_api_termination: false,
|
217
220
|
# instance_initiated_shutdown_behavior: "stop", # accepts stop, terminate
|
@@ -544,6 +547,8 @@ module Aws::EC2
|
|
544
547
|
# attached to your instance and you enable a primary IPv6 address, the
|
545
548
|
# first IPv6 GUA address associated with the ENI becomes the primary
|
546
549
|
# IPv6 address.
|
550
|
+
# @option options [Types::OperatorRequest] :operator
|
551
|
+
# Reserved for internal use.
|
547
552
|
# @option options [Boolean] :dry_run
|
548
553
|
# Checks whether you have the required permissions for the operation,
|
549
554
|
# without actually making the request, and provides an error response.
|
@@ -887,6 +892,9 @@ module Aws::EC2
|
|
887
892
|
# udp_stream_timeout: 1,
|
888
893
|
# udp_timeout: 1,
|
889
894
|
# },
|
895
|
+
# operator: {
|
896
|
+
# principal: "String",
|
897
|
+
# },
|
890
898
|
# subnet_id: "SubnetId", # required
|
891
899
|
# description: "String",
|
892
900
|
# private_ip_address: "String",
|
@@ -971,6 +979,8 @@ module Aws::EC2
|
|
971
979
|
# the primary IPv6 address.
|
972
980
|
# @option options [Types::ConnectionTrackingSpecificationRequest] :connection_tracking_specification
|
973
981
|
# A connection tracking specification for the network interface.
|
982
|
+
# @option options [Types::OperatorRequest] :operator
|
983
|
+
# Reserved for internal use.
|
974
984
|
# @option options [required, String] :subnet_id
|
975
985
|
# The ID of the subnet to associate with the network interface.
|
976
986
|
# @option options [String] :description
|
@@ -1449,6 +1459,9 @@ module Aws::EC2
|
|
1449
1459
|
# multi_attach_enabled: false,
|
1450
1460
|
# throughput: 1,
|
1451
1461
|
# client_token: "String",
|
1462
|
+
# operator: {
|
1463
|
+
# principal: "String",
|
1464
|
+
# },
|
1452
1465
|
# dry_run: false,
|
1453
1466
|
# })
|
1454
1467
|
# @param [Hash] options ({})
|
@@ -1597,6 +1610,8 @@ module Aws::EC2
|
|
1597
1610
|
#
|
1598
1611
|
#
|
1599
1612
|
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
1613
|
+
# @option options [Types::OperatorRequest] :operator
|
1614
|
+
# Reserved for internal use.
|
1600
1615
|
# @option options [Boolean] :dry_run
|
1601
1616
|
# Checks whether you have the required permissions for the action,
|
1602
1617
|
# without actually making the request, and provides an error response.
|
@@ -2181,11 +2196,11 @@ module Aws::EC2
|
|
2181
2196
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
2182
2197
|
# DHCP options set.
|
2183
2198
|
#
|
2184
|
-
# * `tag
|
2185
|
-
#
|
2186
|
-
#
|
2187
|
-
#
|
2188
|
-
#
|
2199
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
2200
|
+
# Use the tag key in the filter name and the tag value as the filter
|
2201
|
+
# value. For example, to find all resources that have a tag with the
|
2202
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
2203
|
+
# filter name and `TeamA` for the filter value.
|
2189
2204
|
#
|
2190
2205
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2191
2206
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -2932,11 +2947,11 @@ module Aws::EC2
|
|
2932
2947
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
2933
2948
|
# internet gateway.
|
2934
2949
|
#
|
2935
|
-
# * `tag
|
2936
|
-
#
|
2937
|
-
#
|
2938
|
-
#
|
2939
|
-
#
|
2950
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
2951
|
+
# Use the tag key in the filter name and the tag value as the filter
|
2952
|
+
# value. For example, to find all resources that have a tag with the
|
2953
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
2954
|
+
# filter name and `TeamA` for the filter value.
|
2940
2955
|
#
|
2941
2956
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2942
2957
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -3075,11 +3090,11 @@ module Aws::EC2
|
|
3075
3090
|
#
|
3076
3091
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway resides.
|
3077
3092
|
#
|
3078
|
-
# * `tag
|
3079
|
-
#
|
3080
|
-
#
|
3081
|
-
#
|
3082
|
-
#
|
3093
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
3094
|
+
# Use the tag key in the filter name and the tag value as the filter
|
3095
|
+
# value. For example, to find all resources that have a tag with the
|
3096
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
3097
|
+
# filter name and `TeamA` for the filter value.
|
3083
3098
|
#
|
3084
3099
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
3085
3100
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -3184,11 +3199,11 @@ module Aws::EC2
|
|
3184
3199
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
3185
3200
|
# network ACL.
|
3186
3201
|
#
|
3187
|
-
# * `tag
|
3188
|
-
#
|
3189
|
-
#
|
3190
|
-
#
|
3191
|
-
#
|
3202
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
3203
|
+
# Use the tag key in the filter name and the tag value as the filter
|
3204
|
+
# value. For example, to find all resources that have a tag with the
|
3205
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
3206
|
+
# filter name and `TeamA` for the filter value.
|
3192
3207
|
#
|
3193
3208
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
3194
3209
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -3568,11 +3583,11 @@ module Aws::EC2
|
|
3568
3583
|
# * `route.vpc-peering-connection-id` - The ID of a VPC peering
|
3569
3584
|
# connection specified in a route in the table.
|
3570
3585
|
#
|
3571
|
-
# * `tag
|
3572
|
-
#
|
3573
|
-
#
|
3574
|
-
#
|
3575
|
-
#
|
3586
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
3587
|
+
# Use the tag key in the filter name and the tag value as the filter
|
3588
|
+
# value. For example, to find all resources that have a tag with the
|
3589
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
3590
|
+
# filter name and `TeamA` for the filter value.
|
3576
3591
|
#
|
3577
3592
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
3578
3593
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -3945,11 +3960,11 @@ module Aws::EC2
|
|
3945
3960
|
#
|
3946
3961
|
# * `subnet-id` - The ID of the subnet.
|
3947
3962
|
#
|
3948
|
-
# * `tag
|
3949
|
-
#
|
3950
|
-
#
|
3951
|
-
#
|
3952
|
-
#
|
3963
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
3964
|
+
# Use the tag key in the filter name and the tag value as the filter
|
3965
|
+
# value. For example, to find all resources that have a tag with the
|
3966
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
3967
|
+
# filter name and `TeamA` for the filter value.
|
3953
3968
|
#
|
3954
3969
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
3955
3970
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -4242,11 +4257,11 @@ module Aws::EC2
|
|
4242
4257
|
# * `status-message` - A message that provides more information about
|
4243
4258
|
# the status of the VPC peering connection, if applicable.
|
4244
4259
|
#
|
4245
|
-
# * `tag
|
4246
|
-
#
|
4247
|
-
#
|
4248
|
-
#
|
4249
|
-
#
|
4260
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
4261
|
+
# Use the tag key in the filter name and the tag value as the filter
|
4262
|
+
# value. For example, to find all resources that have a tag with the
|
4263
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
4264
|
+
# filter name and `TeamA` for the filter value.
|
4250
4265
|
#
|
4251
4266
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
4252
4267
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -4325,11 +4340,11 @@ module Aws::EC2
|
|
4325
4340
|
#
|
4326
4341
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
4327
4342
|
#
|
4328
|
-
# * `tag
|
4329
|
-
#
|
4330
|
-
#
|
4331
|
-
#
|
4332
|
-
#
|
4343
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
4344
|
+
# Use the tag key in the filter name and the tag value as the filter
|
4345
|
+
# value. For example, to find all resources that have a tag with the
|
4346
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
4347
|
+
# filter name and `TeamA` for the filter value.
|
4333
4348
|
#
|
4334
4349
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
4335
4350
|
# filter to find all resources assigned a tag with a specific key,
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -123,6 +123,12 @@ module Aws::EC2
|
|
123
123
|
data[:private_dns_name_options_on_launch]
|
124
124
|
end
|
125
125
|
|
126
|
+
# The state of VPC Block Public Access (BPA).
|
127
|
+
# @return [Types::BlockPublicAccessStates]
|
128
|
+
def block_public_access_states
|
129
|
+
data[:block_public_access_states]
|
130
|
+
end
|
131
|
+
|
126
132
|
# The current state of the subnet.
|
127
133
|
# @return [String]
|
128
134
|
def state
|
@@ -447,6 +453,9 @@ module Aws::EC2
|
|
447
453
|
# },
|
448
454
|
# disable_api_stop: false,
|
449
455
|
# enable_primary_ipv_6: false,
|
456
|
+
# operator: {
|
457
|
+
# principal: "String",
|
458
|
+
# },
|
450
459
|
# dry_run: false,
|
451
460
|
# disable_api_termination: false,
|
452
461
|
# instance_initiated_shutdown_behavior: "stop", # accepts stop, terminate
|
@@ -774,6 +783,8 @@ module Aws::EC2
|
|
774
783
|
# attached to your instance and you enable a primary IPv6 address, the
|
775
784
|
# first IPv6 GUA address associated with the ENI becomes the primary
|
776
785
|
# IPv6 address.
|
786
|
+
# @option options [Types::OperatorRequest] :operator
|
787
|
+
# Reserved for internal use.
|
777
788
|
# @option options [Boolean] :dry_run
|
778
789
|
# Checks whether you have the required permissions for the operation,
|
779
790
|
# without actually making the request, and provides an error response.
|
@@ -889,6 +900,9 @@ module Aws::EC2
|
|
889
900
|
# udp_stream_timeout: 1,
|
890
901
|
# udp_timeout: 1,
|
891
902
|
# },
|
903
|
+
# operator: {
|
904
|
+
# principal: "String",
|
905
|
+
# },
|
892
906
|
# description: "String",
|
893
907
|
# private_ip_address: "String",
|
894
908
|
# groups: ["SecurityGroupId"],
|
@@ -972,6 +986,8 @@ module Aws::EC2
|
|
972
986
|
# the primary IPv6 address.
|
973
987
|
# @option options [Types::ConnectionTrackingSpecificationRequest] :connection_tracking_specification
|
974
988
|
# A connection tracking specification for the network interface.
|
989
|
+
# @option options [Types::OperatorRequest] :operator
|
990
|
+
# Reserved for internal use.
|
975
991
|
# @option options [String] :description
|
976
992
|
# A description for the network interface.
|
977
993
|
# @option options [String] :private_ip_address
|
@@ -1644,11 +1660,11 @@ module Aws::EC2
|
|
1644
1660
|
#
|
1645
1661
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway resides.
|
1646
1662
|
#
|
1647
|
-
# * `tag
|
1648
|
-
#
|
1649
|
-
#
|
1650
|
-
#
|
1651
|
-
#
|
1663
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
1664
|
+
# Use the tag key in the filter name and the tag value as the filter
|
1665
|
+
# value. For example, to find all resources that have a tag with the
|
1666
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
1667
|
+
# filter name and `TeamA` for the filter value.
|
1652
1668
|
#
|
1653
1669
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
1654
1670
|
# filter to find all resources assigned a tag with a specific key,
|