aws-sdk-ec2 1.484.0 → 1.486.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +404 -24
- data/lib/aws-sdk-ec2/client_api.rb +152 -0
- data/lib/aws-sdk-ec2/resource.rb +12 -7
- data/lib/aws-sdk-ec2/security_group.rb +6 -0
- data/lib/aws-sdk-ec2/subnet.rb +12 -7
- data/lib/aws-sdk-ec2/types.rb +590 -39
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +66 -0
- data/sig/security_group.rbs +3 -0
- data/sig/types.rbs +107 -0
- metadata +2 -2
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -2382,6 +2382,43 @@ module Aws::EC2
|
|
2382
2382
|
include Aws::Structure
|
2383
2383
|
end
|
2384
2384
|
|
2385
|
+
# @!attribute [rw] group_id
|
2386
|
+
# A security group ID.
|
2387
|
+
# @return [String]
|
2388
|
+
#
|
2389
|
+
# @!attribute [rw] vpc_id
|
2390
|
+
# A VPC ID.
|
2391
|
+
# @return [String]
|
2392
|
+
#
|
2393
|
+
# @!attribute [rw] dry_run
|
2394
|
+
# Checks whether you have the required permissions for the action,
|
2395
|
+
# without actually making the request, and provides an error response.
|
2396
|
+
# If you have the required permissions, the error response is
|
2397
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2398
|
+
# @return [Boolean]
|
2399
|
+
#
|
2400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSecurityGroupVpcRequest AWS API Documentation
|
2401
|
+
#
|
2402
|
+
class AssociateSecurityGroupVpcRequest < Struct.new(
|
2403
|
+
:group_id,
|
2404
|
+
:vpc_id,
|
2405
|
+
:dry_run)
|
2406
|
+
SENSITIVE = []
|
2407
|
+
include Aws::Structure
|
2408
|
+
end
|
2409
|
+
|
2410
|
+
# @!attribute [rw] state
|
2411
|
+
# The state of the association.
|
2412
|
+
# @return [String]
|
2413
|
+
#
|
2414
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSecurityGroupVpcResult AWS API Documentation
|
2415
|
+
#
|
2416
|
+
class AssociateSecurityGroupVpcResult < Struct.new(
|
2417
|
+
:state)
|
2418
|
+
SENSITIVE = []
|
2419
|
+
include Aws::Structure
|
2420
|
+
end
|
2421
|
+
|
2385
2422
|
# @!attribute [rw] ipv_6_ipam_pool_id
|
2386
2423
|
# An IPv6 IPAM pool ID.
|
2387
2424
|
# @return [String]
|
@@ -8828,9 +8865,6 @@ module Aws::EC2
|
|
8828
8865
|
# ([supported Local Zones][1]). This option is only available for
|
8829
8866
|
# IPAM IPv4 pools in the public scope.
|
8830
8867
|
#
|
8831
|
-
# If you do not choose a locale, resources in Regions others than the
|
8832
|
-
# IPAM's home region cannot use CIDRs from this pool.
|
8833
|
-
#
|
8834
8868
|
# Possible values: Any Amazon Web Services Region or supported Amazon
|
8835
8869
|
# Web Services Local Zone. Default is `none` and means any locale.
|
8836
8870
|
#
|
@@ -8871,8 +8905,9 @@ module Aws::EC2
|
|
8871
8905
|
# @return [Boolean]
|
8872
8906
|
#
|
8873
8907
|
# @!attribute [rw] publicly_advertisable
|
8874
|
-
# Determines if the pool is publicly advertisable.
|
8875
|
-
#
|
8908
|
+
# Determines if the pool is publicly advertisable. The request can
|
8909
|
+
# only contain `PubliclyAdvertisable` if `AddressFamily` is `ipv6` and
|
8910
|
+
# `PublicIpSource` is `byoip`.
|
8876
8911
|
# @return [Boolean]
|
8877
8912
|
#
|
8878
8913
|
# @!attribute [rw] allocation_min_netmask_length
|
@@ -10161,7 +10196,12 @@ module Aws::EC2
|
|
10161
10196
|
# @!attribute [rw] interface_type
|
10162
10197
|
# The type of network interface. The default is `interface`.
|
10163
10198
|
#
|
10164
|
-
#
|
10199
|
+
# If you specify `efa-only`, do not assign any IP addresses to the
|
10200
|
+
# network interface. EFA-only network interfaces do not support IP
|
10201
|
+
# addresses.
|
10202
|
+
#
|
10203
|
+
# The only supported values are `interface`, `efa`, `efa-only`, and
|
10204
|
+
# `trunk`.
|
10165
10205
|
# @return [String]
|
10166
10206
|
#
|
10167
10207
|
# @!attribute [rw] tag_specifications
|
@@ -10843,11 +10883,16 @@ module Aws::EC2
|
|
10843
10883
|
# The tags assigned to the security group.
|
10844
10884
|
# @return [Array<Types::Tag>]
|
10845
10885
|
#
|
10886
|
+
# @!attribute [rw] security_group_arn
|
10887
|
+
# The security group ARN.
|
10888
|
+
# @return [String]
|
10889
|
+
#
|
10846
10890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroupResult AWS API Documentation
|
10847
10891
|
#
|
10848
10892
|
class CreateSecurityGroupResult < Struct.new(
|
10849
10893
|
:group_id,
|
10850
|
-
:tags
|
10894
|
+
:tags,
|
10895
|
+
:security_group_arn)
|
10851
10896
|
SENSITIVE = []
|
10852
10897
|
include Aws::Structure
|
10853
10898
|
end
|
@@ -20317,6 +20362,104 @@ module Aws::EC2
|
|
20317
20362
|
include Aws::Structure
|
20318
20363
|
end
|
20319
20364
|
|
20365
|
+
# @!attribute [rw] filters
|
20366
|
+
# The filters.
|
20367
|
+
#
|
20368
|
+
# * `availability-zone` - The name of the Availability Zone (for
|
20369
|
+
# example, `us-west-2a`) or Local Zone (for example,
|
20370
|
+
# `us-west-2-lax-1b`) of the instance.
|
20371
|
+
#
|
20372
|
+
# * `instance-id` - The ID of the instance.
|
20373
|
+
#
|
20374
|
+
# * `instance-state-name` - The state of the instance (`pending` \|
|
20375
|
+
# `running` \| `shutting-down` \| `terminated` \| `stopping` \|
|
20376
|
+
# `stopped`).
|
20377
|
+
#
|
20378
|
+
# * `instance-type` - The type of instance (for example, `t3.micro`).
|
20379
|
+
#
|
20380
|
+
# * `launch-time` - The time when the instance was launched, in the
|
20381
|
+
# ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ),
|
20382
|
+
# for example, `2023-09-29T11:04:43.305Z`. You can use a wildcard
|
20383
|
+
# (`*`), for example, `2023-09-29T*`, which matches an entire day.
|
20384
|
+
#
|
20385
|
+
# * `tag:<key>` - The key/value combination of a tag assigned to the
|
20386
|
+
# resource. Use the tag key in the filter name and the tag value as
|
20387
|
+
# the filter value. For example, to find all resources that have a
|
20388
|
+
# tag with the key `Owner` and the value `TeamA`, specify
|
20389
|
+
# `tag:Owner` for the filter name and `TeamA` for the filter value.
|
20390
|
+
#
|
20391
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
20392
|
+
# filter to find all resources assigned a tag with a specific key,
|
20393
|
+
# regardless of the tag value.
|
20394
|
+
#
|
20395
|
+
# * `zone-id` - The ID of the Availability Zone (for example,
|
20396
|
+
# `usw2-az2`) or Local Zone (for example, `usw2-lax1-az1`) of the
|
20397
|
+
# instance.
|
20398
|
+
# @return [Array<Types::Filter>]
|
20399
|
+
#
|
20400
|
+
# @!attribute [rw] instance_ids
|
20401
|
+
# The instance IDs.
|
20402
|
+
#
|
20403
|
+
# If you don't specify an instance ID or filters, the output includes
|
20404
|
+
# information for all instances.
|
20405
|
+
# @return [Array<String>]
|
20406
|
+
#
|
20407
|
+
# @!attribute [rw] max_results
|
20408
|
+
# The maximum number of items to return for this request. To get the
|
20409
|
+
# next page of items, make another request with the token returned in
|
20410
|
+
# the output. For more information, see [Pagination][1].
|
20411
|
+
#
|
20412
|
+
# Default: 1000
|
20413
|
+
#
|
20414
|
+
#
|
20415
|
+
#
|
20416
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
20417
|
+
# @return [Integer]
|
20418
|
+
#
|
20419
|
+
# @!attribute [rw] next_token
|
20420
|
+
# The token returned from a previous paginated request. Pagination
|
20421
|
+
# continues from the end of the items returned by the previous
|
20422
|
+
# request.
|
20423
|
+
# @return [String]
|
20424
|
+
#
|
20425
|
+
# @!attribute [rw] dry_run
|
20426
|
+
# Checks whether you have the required permissions for the action,
|
20427
|
+
# without actually making the request, and provides an error response.
|
20428
|
+
# If you have the required permissions, the error response is
|
20429
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
20430
|
+
# @return [Boolean]
|
20431
|
+
#
|
20432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceImageMetadataRequest AWS API Documentation
|
20433
|
+
#
|
20434
|
+
class DescribeInstanceImageMetadataRequest < Struct.new(
|
20435
|
+
:filters,
|
20436
|
+
:instance_ids,
|
20437
|
+
:max_results,
|
20438
|
+
:next_token,
|
20439
|
+
:dry_run)
|
20440
|
+
SENSITIVE = []
|
20441
|
+
include Aws::Structure
|
20442
|
+
end
|
20443
|
+
|
20444
|
+
# @!attribute [rw] instance_image_metadata
|
20445
|
+
# Information about the instance and the AMI used to launch the
|
20446
|
+
# instance.
|
20447
|
+
# @return [Array<Types::InstanceImageMetadata>]
|
20448
|
+
#
|
20449
|
+
# @!attribute [rw] next_token
|
20450
|
+
# The token to include in another request to get the next page of
|
20451
|
+
# items. This value is `null` when there are no more items to return.
|
20452
|
+
# @return [String]
|
20453
|
+
#
|
20454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceImageMetadataResult AWS API Documentation
|
20455
|
+
#
|
20456
|
+
class DescribeInstanceImageMetadataResult < Struct.new(
|
20457
|
+
:instance_image_metadata,
|
20458
|
+
:next_token)
|
20459
|
+
SENSITIVE = []
|
20460
|
+
include Aws::Structure
|
20461
|
+
end
|
20462
|
+
|
20320
20463
|
# @!attribute [rw] instance_ids
|
20321
20464
|
# The instance IDs.
|
20322
20465
|
#
|
@@ -20771,7 +20914,8 @@ module Aws::EC2
|
|
20771
20914
|
# * `supported-root-device-type` - The root device type (`ebs` \|
|
20772
20915
|
# `instance-store`).
|
20773
20916
|
#
|
20774
|
-
# * `supported-usage-class` - The usage class (`on-demand` \| `spot`
|
20917
|
+
# * `supported-usage-class` - The usage class (`on-demand` \| `spot`
|
20918
|
+
# \| `capacity-block`).
|
20775
20919
|
#
|
20776
20920
|
# * `supported-virtualization-type` - The virtualization type (`hvm`
|
20777
20921
|
# \| `paravirtual`).
|
@@ -23581,12 +23725,12 @@ module Aws::EC2
|
|
23581
23725
|
#
|
23582
23726
|
# * `interface-type` - The type of network interface
|
23583
23727
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
23584
|
-
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `
|
23585
|
-
# `
|
23586
|
-
# `
|
23587
|
-
# \| `
|
23588
|
-
# `
|
23589
|
-
# `trunk` \| `vpc_endpoint`).
|
23728
|
+
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
23729
|
+
# \| `efs` \| `gateway_load_balancer` \|
|
23730
|
+
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed`
|
23731
|
+
# \| `interface` \| `iot_rules_managed` \| `lambda` \|
|
23732
|
+
# `load_balancer` \| `nat_gateway` \| `network_load_balancer` \|
|
23733
|
+
# `quicksight` \| `transit_gateway` \| `trunk` \| `vpc_endpoint`).
|
23590
23734
|
#
|
23591
23735
|
# * `mac-address` - The MAC address of the network interface.
|
23592
23736
|
#
|
@@ -24834,6 +24978,80 @@ module Aws::EC2
|
|
24834
24978
|
include Aws::Structure
|
24835
24979
|
end
|
24836
24980
|
|
24981
|
+
# @!attribute [rw] filters
|
24982
|
+
# Security group VPC association filters.
|
24983
|
+
#
|
24984
|
+
# * `group-id`: The security group ID.
|
24985
|
+
#
|
24986
|
+
# * `vpc-id`: The ID of the associated VPC.
|
24987
|
+
#
|
24988
|
+
# * `vpc-owner-id`: The account ID of the VPC owner.
|
24989
|
+
#
|
24990
|
+
# * `state`: The state of the association.
|
24991
|
+
#
|
24992
|
+
# * `tag:<key>`: The key/value combination of a tag assigned to the
|
24993
|
+
# resource. Use the tag key in the filter name and the tag value as
|
24994
|
+
# the filter value. For example, to find all resources that have a
|
24995
|
+
# tag with the key `Owner` and the value `TeamA`, specify
|
24996
|
+
# `tag:Owner` for the filter name and `TeamA` for the filter value.
|
24997
|
+
#
|
24998
|
+
# * `tag-key`: The key of a tag assigned to the resource. Use this
|
24999
|
+
# filter to find all resources assigned a tag with a specific key,
|
25000
|
+
# regardless of the tag value.
|
25001
|
+
# @return [Array<Types::Filter>]
|
25002
|
+
#
|
25003
|
+
# @!attribute [rw] next_token
|
25004
|
+
# The token returned from a previous paginated request. Pagination
|
25005
|
+
# continues from the end of the items returned by the previous
|
25006
|
+
# request.
|
25007
|
+
# @return [String]
|
25008
|
+
#
|
25009
|
+
# @!attribute [rw] max_results
|
25010
|
+
# The maximum number of items to return for this request. To get the
|
25011
|
+
# next page of items, make another request with the token returned in
|
25012
|
+
# the output. For more information, see [Pagination][1].
|
25013
|
+
#
|
25014
|
+
#
|
25015
|
+
#
|
25016
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
25017
|
+
# @return [Integer]
|
25018
|
+
#
|
25019
|
+
# @!attribute [rw] dry_run
|
25020
|
+
# Checks whether you have the required permissions for the action,
|
25021
|
+
# without actually making the request, and provides an error response.
|
25022
|
+
# If you have the required permissions, the error response is
|
25023
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25024
|
+
# @return [Boolean]
|
25025
|
+
#
|
25026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupVpcAssociationsRequest AWS API Documentation
|
25027
|
+
#
|
25028
|
+
class DescribeSecurityGroupVpcAssociationsRequest < Struct.new(
|
25029
|
+
:filters,
|
25030
|
+
:next_token,
|
25031
|
+
:max_results,
|
25032
|
+
:dry_run)
|
25033
|
+
SENSITIVE = []
|
25034
|
+
include Aws::Structure
|
25035
|
+
end
|
25036
|
+
|
25037
|
+
# @!attribute [rw] security_group_vpc_associations
|
25038
|
+
# The security group VPC associations.
|
25039
|
+
# @return [Array<Types::SecurityGroupVpcAssociation>]
|
25040
|
+
#
|
25041
|
+
# @!attribute [rw] next_token
|
25042
|
+
# The token to include in another request to get the next page of
|
25043
|
+
# items. This value is `null` when there are no more items to return.
|
25044
|
+
# @return [String]
|
25045
|
+
#
|
25046
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupVpcAssociationsResult AWS API Documentation
|
25047
|
+
#
|
25048
|
+
class DescribeSecurityGroupVpcAssociationsResult < Struct.new(
|
25049
|
+
:security_group_vpc_associations,
|
25050
|
+
:next_token)
|
25051
|
+
SENSITIVE = []
|
25052
|
+
include Aws::Structure
|
25053
|
+
end
|
25054
|
+
|
24837
25055
|
# @!attribute [rw] group_ids
|
24838
25056
|
# The IDs of the security groups. Required for security groups in a
|
24839
25057
|
# nondefault VPC.
|
@@ -25805,8 +26023,7 @@ module Aws::EC2
|
|
25805
26023
|
|
25806
26024
|
# @!attribute [rw] next_token
|
25807
26025
|
# The token to include in another request to get the next page of
|
25808
|
-
# items.
|
25809
|
-
# empty.
|
26026
|
+
# items. This value is `null` when there are no more items to return.
|
25810
26027
|
# @return [String]
|
25811
26028
|
#
|
25812
26029
|
# @!attribute [rw] stale_security_group_set
|
@@ -30227,6 +30444,43 @@ module Aws::EC2
|
|
30227
30444
|
include Aws::Structure
|
30228
30445
|
end
|
30229
30446
|
|
30447
|
+
# @!attribute [rw] group_id
|
30448
|
+
# A security group ID.
|
30449
|
+
# @return [String]
|
30450
|
+
#
|
30451
|
+
# @!attribute [rw] vpc_id
|
30452
|
+
# A VPC ID.
|
30453
|
+
# @return [String]
|
30454
|
+
#
|
30455
|
+
# @!attribute [rw] dry_run
|
30456
|
+
# Checks whether you have the required permissions for the action,
|
30457
|
+
# without actually making the request, and provides an error response.
|
30458
|
+
# If you have the required permissions, the error response is
|
30459
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30460
|
+
# @return [Boolean]
|
30461
|
+
#
|
30462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSecurityGroupVpcRequest AWS API Documentation
|
30463
|
+
#
|
30464
|
+
class DisassociateSecurityGroupVpcRequest < Struct.new(
|
30465
|
+
:group_id,
|
30466
|
+
:vpc_id,
|
30467
|
+
:dry_run)
|
30468
|
+
SENSITIVE = []
|
30469
|
+
include Aws::Structure
|
30470
|
+
end
|
30471
|
+
|
30472
|
+
# @!attribute [rw] state
|
30473
|
+
# The state of the disassociation.
|
30474
|
+
# @return [String]
|
30475
|
+
#
|
30476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSecurityGroupVpcResult AWS API Documentation
|
30477
|
+
#
|
30478
|
+
class DisassociateSecurityGroupVpcResult < Struct.new(
|
30479
|
+
:state)
|
30480
|
+
SENSITIVE = []
|
30481
|
+
include Aws::Structure
|
30482
|
+
end
|
30483
|
+
|
30230
30484
|
# @!attribute [rw] association_id
|
30231
30485
|
# The association ID for the CIDR block.
|
30232
30486
|
# @return [String]
|
@@ -31262,14 +31516,22 @@ module Aws::EC2
|
|
31262
31516
|
include Aws::Structure
|
31263
31517
|
end
|
31264
31518
|
|
31265
|
-
#
|
31519
|
+
# Deprecated.
|
31266
31520
|
#
|
31267
|
-
#
|
31521
|
+
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
|
31522
|
+
# workloads that require graphics acceleration, we recommend that you
|
31523
|
+
# use Amazon EC2 G4ad, G4dn, or G5 instances.
|
31268
31524
|
#
|
31269
|
-
#
|
31525
|
+
# </note>
|
31270
31526
|
#
|
31271
31527
|
# @!attribute [rw] type
|
31272
|
-
#
|
31528
|
+
# Deprecated.
|
31529
|
+
#
|
31530
|
+
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
|
31531
|
+
# workloads that require graphics acceleration, we recommend that you
|
31532
|
+
# use Amazon EC2 G4ad, G4dn, or G5 instances.
|
31533
|
+
#
|
31534
|
+
# </note>
|
31273
31535
|
# @return [String]
|
31274
31536
|
#
|
31275
31537
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuSpecificationResponse AWS API Documentation
|
@@ -38470,6 +38732,62 @@ module Aws::EC2
|
|
38470
38732
|
include Aws::Structure
|
38471
38733
|
end
|
38472
38734
|
|
38735
|
+
# Information about the AMI.
|
38736
|
+
#
|
38737
|
+
# @!attribute [rw] image_id
|
38738
|
+
# The ID of the AMI.
|
38739
|
+
# @return [String]
|
38740
|
+
#
|
38741
|
+
# @!attribute [rw] name
|
38742
|
+
# The name of the AMI.
|
38743
|
+
# @return [String]
|
38744
|
+
#
|
38745
|
+
# @!attribute [rw] owner_id
|
38746
|
+
# The ID of the Amazon Web Services account that owns the AMI.
|
38747
|
+
# @return [String]
|
38748
|
+
#
|
38749
|
+
# @!attribute [rw] state
|
38750
|
+
# The current state of the AMI. If the state is `available`, the AMI
|
38751
|
+
# is successfully registered and can be used to launch an instance.
|
38752
|
+
# @return [String]
|
38753
|
+
#
|
38754
|
+
# @!attribute [rw] image_owner_alias
|
38755
|
+
# The alias of the AMI owner.
|
38756
|
+
#
|
38757
|
+
# Valid values: `amazon` \| `aws-marketplace`
|
38758
|
+
# @return [String]
|
38759
|
+
#
|
38760
|
+
# @!attribute [rw] creation_date
|
38761
|
+
# The date and time the AMI was created.
|
38762
|
+
# @return [String]
|
38763
|
+
#
|
38764
|
+
# @!attribute [rw] deprecation_time
|
38765
|
+
# The deprecation date and time of the AMI, in UTC, in the following
|
38766
|
+
# format: *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z.
|
38767
|
+
# @return [String]
|
38768
|
+
#
|
38769
|
+
# @!attribute [rw] is_public
|
38770
|
+
# Indicates whether the AMI has public launch permissions. A value of
|
38771
|
+
# `true` means this AMI has public launch permissions, while `false`
|
38772
|
+
# means it has only implicit (AMI owner) or explicit (shared with your
|
38773
|
+
# account) launch permissions.
|
38774
|
+
# @return [Boolean]
|
38775
|
+
#
|
38776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageMetadata AWS API Documentation
|
38777
|
+
#
|
38778
|
+
class ImageMetadata < Struct.new(
|
38779
|
+
:image_id,
|
38780
|
+
:name,
|
38781
|
+
:owner_id,
|
38782
|
+
:state,
|
38783
|
+
:image_owner_alias,
|
38784
|
+
:creation_date,
|
38785
|
+
:deprecation_time,
|
38786
|
+
:is_public)
|
38787
|
+
SENSITIVE = []
|
38788
|
+
include Aws::Structure
|
38789
|
+
end
|
38790
|
+
|
38473
38791
|
# Information about an AMI that is currently in the Recycle Bin.
|
38474
38792
|
#
|
38475
38793
|
# @!attribute [rw] image_id
|
@@ -40426,6 +40744,61 @@ module Aws::EC2
|
|
40426
40744
|
include Aws::Structure
|
40427
40745
|
end
|
40428
40746
|
|
40747
|
+
# Information about the instance and the AMI used to launch the
|
40748
|
+
# instance.
|
40749
|
+
#
|
40750
|
+
# @!attribute [rw] instance_id
|
40751
|
+
# The ID of the instance.
|
40752
|
+
# @return [String]
|
40753
|
+
#
|
40754
|
+
# @!attribute [rw] instance_type
|
40755
|
+
# The instance type.
|
40756
|
+
# @return [String]
|
40757
|
+
#
|
40758
|
+
# @!attribute [rw] launch_time
|
40759
|
+
# The time the instance was launched.
|
40760
|
+
# @return [Time]
|
40761
|
+
#
|
40762
|
+
# @!attribute [rw] availability_zone
|
40763
|
+
# The Availability Zone or Local Zone of the instance.
|
40764
|
+
# @return [String]
|
40765
|
+
#
|
40766
|
+
# @!attribute [rw] zone_id
|
40767
|
+
# The ID of the Availability Zone or Local Zone of the instance.
|
40768
|
+
# @return [String]
|
40769
|
+
#
|
40770
|
+
# @!attribute [rw] state
|
40771
|
+
# The current state of the instance.
|
40772
|
+
# @return [Types::InstanceState]
|
40773
|
+
#
|
40774
|
+
# @!attribute [rw] owner_id
|
40775
|
+
# The ID of the Amazon Web Services account that owns the instance.
|
40776
|
+
# @return [String]
|
40777
|
+
#
|
40778
|
+
# @!attribute [rw] tags
|
40779
|
+
# Any tags assigned to the instance.
|
40780
|
+
# @return [Array<Types::Tag>]
|
40781
|
+
#
|
40782
|
+
# @!attribute [rw] image_metadata
|
40783
|
+
# Information about the AMI used to launch the instance.
|
40784
|
+
# @return [Types::ImageMetadata]
|
40785
|
+
#
|
40786
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceImageMetadata AWS API Documentation
|
40787
|
+
#
|
40788
|
+
class InstanceImageMetadata < Struct.new(
|
40789
|
+
:instance_id,
|
40790
|
+
:instance_type,
|
40791
|
+
:launch_time,
|
40792
|
+
:availability_zone,
|
40793
|
+
:zone_id,
|
40794
|
+
:state,
|
40795
|
+
:owner_id,
|
40796
|
+
:tags,
|
40797
|
+
:image_metadata)
|
40798
|
+
SENSITIVE = []
|
40799
|
+
include Aws::Structure
|
40800
|
+
end
|
40801
|
+
|
40429
40802
|
# Information about an IPv4 prefix.
|
40430
40803
|
#
|
40431
40804
|
# @!attribute [rw] ipv_4_prefix
|
@@ -40822,7 +41195,7 @@ module Aws::EC2
|
|
40822
41195
|
# @!attribute [rw] interface_type
|
40823
41196
|
# The type of network interface.
|
40824
41197
|
#
|
40825
|
-
# Valid values: `interface` \| `efa` \| `trunk`
|
41198
|
+
# Valid values: `interface` \| `efa` \| `efa-only` \| `trunk`
|
40826
41199
|
# @return [String]
|
40827
41200
|
#
|
40828
41201
|
# @!attribute [rw] ipv_4_prefixes
|
@@ -41076,7 +41449,11 @@ module Aws::EC2
|
|
41076
41449
|
# @!attribute [rw] interface_type
|
41077
41450
|
# The type of network interface.
|
41078
41451
|
#
|
41079
|
-
#
|
41452
|
+
# If you specify `efa-only`, do not assign any IP addresses to the
|
41453
|
+
# network interface. EFA-only network interfaces do not support IP
|
41454
|
+
# addresses.
|
41455
|
+
#
|
41456
|
+
# Valid values: `interface` \| `efa` \| `efa-only`
|
41080
41457
|
# @return [String]
|
41081
41458
|
#
|
41082
41459
|
# @!attribute [rw] network_card_index
|
@@ -42526,8 +42903,8 @@ module Aws::EC2
|
|
42526
42903
|
# @return [Boolean]
|
42527
42904
|
#
|
42528
42905
|
# @!attribute [rw] supported_usage_classes
|
42529
|
-
# Indicates whether the instance type is offered for spot
|
42530
|
-
#
|
42906
|
+
# Indicates whether the instance type is offered for spot, On-Demand,
|
42907
|
+
# or Capacity Blocks.
|
42531
42908
|
# @return [Array<String>]
|
42532
42909
|
#
|
42533
42910
|
# @!attribute [rw] supported_root_device_types
|
@@ -45142,7 +45519,8 @@ module Aws::EC2
|
|
45142
45519
|
# @return [Integer]
|
45143
45520
|
#
|
45144
45521
|
# @!attribute [rw] kms_key_id
|
45145
|
-
#
|
45522
|
+
# Identifier (key ID, key alias, key ARN, or alias ARN) of the
|
45523
|
+
# customer managed KMS key to use for EBS encryption.
|
45146
45524
|
# @return [String]
|
45147
45525
|
#
|
45148
45526
|
# @!attribute [rw] snapshot_id
|
@@ -45217,8 +45595,8 @@ module Aws::EC2
|
|
45217
45595
|
# @return [Integer]
|
45218
45596
|
#
|
45219
45597
|
# @!attribute [rw] kms_key_id
|
45220
|
-
#
|
45221
|
-
# encryption.
|
45598
|
+
# Identifier (key ID, key alias, key ARN, or alias ARN) of the
|
45599
|
+
# customer managed KMS key to use for EBS encryption.
|
45222
45600
|
# @return [String]
|
45223
45601
|
#
|
45224
45602
|
# @!attribute [rw] snapshot_id
|
@@ -45942,13 +46320,17 @@ module Aws::EC2
|
|
45942
46320
|
#
|
45943
46321
|
# @!attribute [rw] interface_type
|
45944
46322
|
# The type of network interface. To create an Elastic Fabric Adapter
|
45945
|
-
# (EFA), specify `efa`. For more information, see [Elastic
|
45946
|
-
# Adapter][1] in the *Amazon EC2 User Guide*.
|
46323
|
+
# (EFA), specify `efa` or `efa`. For more information, see [Elastic
|
46324
|
+
# Fabric Adapter][1] in the *Amazon EC2 User Guide*.
|
45947
46325
|
#
|
45948
46326
|
# If you are not creating an EFA, specify `interface` or omit this
|
45949
46327
|
# parameter.
|
45950
46328
|
#
|
45951
|
-
#
|
46329
|
+
# If you specify `efa-only`, do not assign any IP addresses to the
|
46330
|
+
# network interface. EFA-only network interfaces do not support IP
|
46331
|
+
# addresses.
|
46332
|
+
#
|
46333
|
+
# Valid values: `interface` \| `efa` \| `efa-only`
|
45952
46334
|
#
|
45953
46335
|
#
|
45954
46336
|
#
|
@@ -57648,17 +58030,37 @@ module Aws::EC2
|
|
57648
58030
|
# @!attribute [rw] elastic_gpu_specifications
|
57649
58031
|
# Deprecated.
|
57650
58032
|
#
|
57651
|
-
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
58033
|
+
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
|
58034
|
+
# workloads that require graphics acceleration, we recommend that you
|
58035
|
+
# use Amazon EC2 G4ad, G4dn, or G5 instances.
|
57652
58036
|
#
|
57653
58037
|
# </note>
|
57654
58038
|
# @return [Array<Types::ElasticGpuSpecification>]
|
57655
58039
|
#
|
57656
58040
|
# @!attribute [rw] elastic_inference_accelerators
|
57657
|
-
# Deprecated.
|
57658
|
-
#
|
57659
58041
|
# <note markdown="1"> Amazon Elastic Inference is no longer available.
|
57660
58042
|
#
|
57661
58043
|
# </note>
|
58044
|
+
#
|
58045
|
+
# An elastic inference accelerator to associate with the instance.
|
58046
|
+
# Elastic inference accelerators are a resource you can attach to your
|
58047
|
+
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
58048
|
+
# workloads.
|
58049
|
+
#
|
58050
|
+
# You cannot specify accelerators from different generations in the
|
58051
|
+
# same request.
|
58052
|
+
#
|
58053
|
+
# <note markdown="1"> Starting April 15, 2023, Amazon Web Services will not onboard new
|
58054
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
58055
|
+
# customers migrate their workloads to options that offer better price
|
58056
|
+
# and performance. After April 15, 2023, new customers will not be
|
58057
|
+
# able to launch instances with Amazon EI accelerators in Amazon
|
58058
|
+
# SageMaker, Amazon ECS, or Amazon EC2. However, customers who have
|
58059
|
+
# used Amazon EI at least once during the past 30-day period are
|
58060
|
+
# considered current customers and will be able to continue using the
|
58061
|
+
# service.
|
58062
|
+
#
|
58063
|
+
# </note>
|
57662
58064
|
# @return [Array<Types::LaunchTemplateElasticInferenceAccelerator>]
|
57663
58065
|
#
|
57664
58066
|
# @!attribute [rw] security_group_ids
|
@@ -59090,17 +59492,37 @@ module Aws::EC2
|
|
59090
59492
|
# @!attribute [rw] elastic_gpu_specifications
|
59091
59493
|
# Deprecated.
|
59092
59494
|
#
|
59093
|
-
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
59495
|
+
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
|
59496
|
+
# workloads that require graphics acceleration, we recommend that you
|
59497
|
+
# use Amazon EC2 G4ad, G4dn, or G5 instances.
|
59094
59498
|
#
|
59095
59499
|
# </note>
|
59096
59500
|
# @return [Array<Types::ElasticGpuSpecificationResponse>]
|
59097
59501
|
#
|
59098
59502
|
# @!attribute [rw] elastic_inference_accelerators
|
59099
|
-
# Deprecated.
|
59100
|
-
#
|
59101
59503
|
# <note markdown="1"> Amazon Elastic Inference is no longer available.
|
59102
59504
|
#
|
59103
59505
|
# </note>
|
59506
|
+
#
|
59507
|
+
# An elastic inference accelerator to associate with the instance.
|
59508
|
+
# Elastic inference accelerators are a resource you can attach to your
|
59509
|
+
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
59510
|
+
# workloads.
|
59511
|
+
#
|
59512
|
+
# You cannot specify accelerators from different generations in the
|
59513
|
+
# same request.
|
59514
|
+
#
|
59515
|
+
# <note markdown="1"> Starting April 15, 2023, Amazon Web Services will not onboard new
|
59516
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
59517
|
+
# customers migrate their workloads to options that offer better price
|
59518
|
+
# and performance. After April 15, 2023, new customers will not be
|
59519
|
+
# able to launch instances with Amazon EI accelerators in Amazon
|
59520
|
+
# SageMaker, Amazon ECS, or Amazon EC2. However, customers who have
|
59521
|
+
# used Amazon EI at least once during the past 30-day period are
|
59522
|
+
# considered current customers and will be able to continue using the
|
59523
|
+
# service.
|
59524
|
+
#
|
59525
|
+
# </note>
|
59104
59526
|
# @return [Array<Types::LaunchTemplateElasticInferenceAcceleratorResponse>]
|
59105
59527
|
#
|
59106
59528
|
# @!attribute [rw] security_group_ids
|
@@ -59618,11 +60040,16 @@ module Aws::EC2
|
|
59618
60040
|
# request parameter.
|
59619
60041
|
# @return [Array<Types::IpPermission>]
|
59620
60042
|
#
|
60043
|
+
# @!attribute [rw] revoked_security_group_rules
|
60044
|
+
# Details about the revoked security group rules.
|
60045
|
+
# @return [Array<Types::RevokedSecurityGroupRule>]
|
60046
|
+
#
|
59621
60047
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgressResult AWS API Documentation
|
59622
60048
|
#
|
59623
60049
|
class RevokeSecurityGroupEgressResult < Struct.new(
|
59624
60050
|
:return,
|
59625
|
-
:unknown_ip_permissions
|
60051
|
+
:unknown_ip_permissions,
|
60052
|
+
:revoked_security_group_rules)
|
59626
60053
|
SENSITIVE = []
|
59627
60054
|
include Aws::Structure
|
59628
60055
|
end
|
@@ -59720,11 +60147,86 @@ module Aws::EC2
|
|
59720
60147
|
# request parameter.
|
59721
60148
|
# @return [Array<Types::IpPermission>]
|
59722
60149
|
#
|
60150
|
+
# @!attribute [rw] revoked_security_group_rules
|
60151
|
+
# Details about the revoked security group rules.
|
60152
|
+
# @return [Array<Types::RevokedSecurityGroupRule>]
|
60153
|
+
#
|
59723
60154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngressResult AWS API Documentation
|
59724
60155
|
#
|
59725
60156
|
class RevokeSecurityGroupIngressResult < Struct.new(
|
59726
60157
|
:return,
|
59727
|
-
:unknown_ip_permissions
|
60158
|
+
:unknown_ip_permissions,
|
60159
|
+
:revoked_security_group_rules)
|
60160
|
+
SENSITIVE = []
|
60161
|
+
include Aws::Structure
|
60162
|
+
end
|
60163
|
+
|
60164
|
+
# A security group rule removed with [RevokeSecurityGroupEgress][1] or
|
60165
|
+
# [RevokeSecurityGroupIngress][2].
|
60166
|
+
#
|
60167
|
+
#
|
60168
|
+
#
|
60169
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupEgress.html
|
60170
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupIngress.html
|
60171
|
+
#
|
60172
|
+
# @!attribute [rw] security_group_rule_id
|
60173
|
+
# A security group rule ID.
|
60174
|
+
# @return [String]
|
60175
|
+
#
|
60176
|
+
# @!attribute [rw] group_id
|
60177
|
+
# A security group ID.
|
60178
|
+
# @return [String]
|
60179
|
+
#
|
60180
|
+
# @!attribute [rw] is_egress
|
60181
|
+
# Defines if a security group rule is an outbound rule.
|
60182
|
+
# @return [Boolean]
|
60183
|
+
#
|
60184
|
+
# @!attribute [rw] ip_protocol
|
60185
|
+
# The security group rule's protocol.
|
60186
|
+
# @return [String]
|
60187
|
+
#
|
60188
|
+
# @!attribute [rw] from_port
|
60189
|
+
# The 'from' port number of the security group rule.
|
60190
|
+
# @return [Integer]
|
60191
|
+
#
|
60192
|
+
# @!attribute [rw] to_port
|
60193
|
+
# The 'to' port number of the security group rule.
|
60194
|
+
# @return [Integer]
|
60195
|
+
#
|
60196
|
+
# @!attribute [rw] cidr_ipv_4
|
60197
|
+
# The IPv4 CIDR of the traffic source.
|
60198
|
+
# @return [String]
|
60199
|
+
#
|
60200
|
+
# @!attribute [rw] cidr_ipv_6
|
60201
|
+
# The IPv6 CIDR of the traffic source.
|
60202
|
+
# @return [String]
|
60203
|
+
#
|
60204
|
+
# @!attribute [rw] prefix_list_id
|
60205
|
+
# The ID of a prefix list that's the traffic source.
|
60206
|
+
# @return [String]
|
60207
|
+
#
|
60208
|
+
# @!attribute [rw] referenced_group_id
|
60209
|
+
# The ID of a referenced security group.
|
60210
|
+
# @return [String]
|
60211
|
+
#
|
60212
|
+
# @!attribute [rw] description
|
60213
|
+
# A description of the revoked security group rule.
|
60214
|
+
# @return [String]
|
60215
|
+
#
|
60216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokedSecurityGroupRule AWS API Documentation
|
60217
|
+
#
|
60218
|
+
class RevokedSecurityGroupRule < Struct.new(
|
60219
|
+
:security_group_rule_id,
|
60220
|
+
:group_id,
|
60221
|
+
:is_egress,
|
60222
|
+
:ip_protocol,
|
60223
|
+
:from_port,
|
60224
|
+
:to_port,
|
60225
|
+
:cidr_ipv_4,
|
60226
|
+
:cidr_ipv_6,
|
60227
|
+
:prefix_list_id,
|
60228
|
+
:referenced_group_id,
|
60229
|
+
:description)
|
59728
60230
|
SENSITIVE = []
|
59729
60231
|
include Aws::Structure
|
59730
60232
|
end
|
@@ -61456,6 +61958,10 @@ module Aws::EC2
|
|
61456
61958
|
# The ID of the VPC for the security group.
|
61457
61959
|
# @return [String]
|
61458
61960
|
#
|
61961
|
+
# @!attribute [rw] security_group_arn
|
61962
|
+
# The ARN of the security group.
|
61963
|
+
# @return [String]
|
61964
|
+
#
|
61459
61965
|
# @!attribute [rw] owner_id
|
61460
61966
|
# The Amazon Web Services account ID of the owner of the security
|
61461
61967
|
# group.
|
@@ -61480,6 +61986,7 @@ module Aws::EC2
|
|
61480
61986
|
:ip_permissions_egress,
|
61481
61987
|
:tags,
|
61482
61988
|
:vpc_id,
|
61989
|
+
:security_group_arn,
|
61483
61990
|
:owner_id,
|
61484
61991
|
:group_name,
|
61485
61992
|
:description,
|
@@ -61655,6 +62162,10 @@ module Aws::EC2
|
|
61655
62162
|
# The tags applied to the security group rule.
|
61656
62163
|
# @return [Array<Types::Tag>]
|
61657
62164
|
#
|
62165
|
+
# @!attribute [rw] security_group_rule_arn
|
62166
|
+
# The ARN of the security group rule.
|
62167
|
+
# @return [String]
|
62168
|
+
#
|
61658
62169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupRule AWS API Documentation
|
61659
62170
|
#
|
61660
62171
|
class SecurityGroupRule < Struct.new(
|
@@ -61670,7 +62181,8 @@ module Aws::EC2
|
|
61670
62181
|
:prefix_list_id,
|
61671
62182
|
:referenced_group_info,
|
61672
62183
|
:description,
|
61673
|
-
:tags
|
62184
|
+
:tags,
|
62185
|
+
:security_group_rule_arn)
|
61674
62186
|
SENSITIVE = []
|
61675
62187
|
include Aws::Structure
|
61676
62188
|
end
|
@@ -61795,6 +62307,45 @@ module Aws::EC2
|
|
61795
62307
|
include Aws::Structure
|
61796
62308
|
end
|
61797
62309
|
|
62310
|
+
# A security group association with a VPC that you made with
|
62311
|
+
# [AssociateSecurityGroupVpc][1].
|
62312
|
+
#
|
62313
|
+
#
|
62314
|
+
#
|
62315
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateSecurityGroupVpc.html
|
62316
|
+
#
|
62317
|
+
# @!attribute [rw] group_id
|
62318
|
+
# The association's security group ID.
|
62319
|
+
# @return [String]
|
62320
|
+
#
|
62321
|
+
# @!attribute [rw] vpc_id
|
62322
|
+
# The association's VPC ID.
|
62323
|
+
# @return [String]
|
62324
|
+
#
|
62325
|
+
# @!attribute [rw] vpc_owner_id
|
62326
|
+
# The Amazon Web Services account ID of the owner of the VPC.
|
62327
|
+
# @return [String]
|
62328
|
+
#
|
62329
|
+
# @!attribute [rw] state
|
62330
|
+
# The association's state.
|
62331
|
+
# @return [String]
|
62332
|
+
#
|
62333
|
+
# @!attribute [rw] state_reason
|
62334
|
+
# The association's state reason.
|
62335
|
+
# @return [String]
|
62336
|
+
#
|
62337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupVpcAssociation AWS API Documentation
|
62338
|
+
#
|
62339
|
+
class SecurityGroupVpcAssociation < Struct.new(
|
62340
|
+
:group_id,
|
62341
|
+
:vpc_id,
|
62342
|
+
:vpc_owner_id,
|
62343
|
+
:state,
|
62344
|
+
:state_reason)
|
62345
|
+
SENSITIVE = []
|
62346
|
+
include Aws::Structure
|
62347
|
+
end
|
62348
|
+
|
61798
62349
|
# @!attribute [rw] instance_id
|
61799
62350
|
# The ID of the instance.
|
61800
62351
|
# @return [String]
|