aws-sdk-ec2 1.507.0 → 1.508.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.
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.507.0'
81
+ GEM_VERSION = '1.508.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -1477,6 +1477,23 @@ module Aws
1477
1477
  group_id: ::String?,
1478
1478
  availability_zone: ::String?
1479
1479
  }?,
1480
+ block_device_mappings: Array[
1481
+ {
1482
+ device_name: ::String?,
1483
+ virtual_name: ::String?,
1484
+ ebs: {
1485
+ encrypted: bool?,
1486
+ delete_on_termination: bool?,
1487
+ iops: ::Integer?,
1488
+ throughput: ::Integer?,
1489
+ kms_key_id: ::String?,
1490
+ snapshot_id: ::String?,
1491
+ volume_size: ::Integer?,
1492
+ volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?
1493
+ }?,
1494
+ no_device: ::String?
1495
+ },
1496
+ ]?,
1480
1497
  instance_requirements: {
1481
1498
  v_cpu_count: {
1482
1499
  min: ::Integer,
@@ -5064,12 +5081,15 @@ module Aws
5064
5081
  ) -> _DeprovisionPublicIpv4PoolCidrResponseSuccess
5065
5082
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeprovisionPublicIpv4PoolCidrResponseSuccess
5066
5083
 
5084
+ interface _DeregisterImageResponseSuccess
5085
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterImageResult]
5086
+ end
5067
5087
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#deregister_image-instance_method
5068
5088
  def deregister_image: (
5069
5089
  image_id: ::String,
5070
5090
  ?dry_run: bool
5071
- ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5072
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5091
+ ) -> _DeregisterImageResponseSuccess
5092
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterImageResponseSuccess
5073
5093
 
5074
5094
  interface _DeregisterInstanceEventNotificationAttributesResponseSuccess
5075
5095
  include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterInstanceEventNotificationAttributesResult]
@@ -10373,6 +10393,23 @@ module Aws
10373
10393
  group_id: ::String?,
10374
10394
  availability_zone: ::String?
10375
10395
  }?,
10396
+ block_device_mappings: Array[
10397
+ {
10398
+ device_name: ::String?,
10399
+ virtual_name: ::String?,
10400
+ ebs: {
10401
+ encrypted: bool?,
10402
+ delete_on_termination: bool?,
10403
+ iops: ::Integer?,
10404
+ throughput: ::Integer?,
10405
+ kms_key_id: ::String?,
10406
+ snapshot_id: ::String?,
10407
+ volume_size: ::Integer?,
10408
+ volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?
10409
+ }?,
10410
+ no_device: ::String?
10411
+ },
10412
+ ]?,
10376
10413
  instance_requirements: {
10377
10414
  v_cpu_count: {
10378
10415
  min: ::Integer,
data/sig/image.rbs CHANGED
@@ -170,8 +170,8 @@ module Aws
170
170
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#deregister-instance_method
171
171
  def deregister: (
172
172
  ?dry_run: bool
173
- ) -> ::Aws::EmptyStructure
174
- | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
173
+ ) -> Types::DeregisterImageResult
174
+ | (?Hash[Symbol, untyped]) -> Types::DeregisterImageResult
175
175
 
176
176
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#describe_attribute-instance_method
177
177
  def describe_attribute: (
data/sig/types.rbs CHANGED
@@ -971,6 +971,14 @@ module Aws::EC2
971
971
  SENSITIVE: []
972
972
  end
973
973
 
974
+ class BlockDeviceMappingResponse
975
+ attr_accessor device_name: ::String
976
+ attr_accessor virtual_name: ::String
977
+ attr_accessor ebs: Types::EbsBlockDeviceResponse
978
+ attr_accessor no_device: ::String
979
+ SENSITIVE: []
980
+ end
981
+
974
982
  class BlockPublicAccessStates
975
983
  attr_accessor internet_gateway_block_mode: ("off" | "block-bidirectional" | "block-ingress")
976
984
  SENSITIVE: []
@@ -4159,6 +4167,9 @@ module Aws::EC2
4159
4167
  SENSITIVE: []
4160
4168
  end
4161
4169
 
4170
+ class DeregisterImageResult < Aws::EmptyStructure
4171
+ end
4172
+
4162
4173
  class DeregisterInstanceEventNotificationAttributesRequest
4163
4174
  attr_accessor dry_run: bool
4164
4175
  attr_accessor instance_tag_attribute: Types::DeregisterInstanceTagAttributeRequest
@@ -7201,6 +7212,18 @@ module Aws::EC2
7201
7212
  SENSITIVE: []
7202
7213
  end
7203
7214
 
7215
+ class EbsBlockDeviceResponse
7216
+ attr_accessor encrypted: bool
7217
+ attr_accessor delete_on_termination: bool
7218
+ attr_accessor iops: ::Integer
7219
+ attr_accessor throughput: ::Integer
7220
+ attr_accessor kms_key_id: ::String
7221
+ attr_accessor snapshot_id: ::String
7222
+ attr_accessor volume_size: ::Integer
7223
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
7224
+ SENSITIVE: []
7225
+ end
7226
+
7204
7227
  class EbsInfo
7205
7228
  attr_accessor ebs_optimized_support: ("unsupported" | "supported" | "default")
7206
7229
  attr_accessor encryption_support: ("unsupported" | "supported")
@@ -7888,6 +7911,14 @@ module Aws::EC2
7888
7911
  SENSITIVE: []
7889
7912
  end
7890
7913
 
7914
+ class FleetBlockDeviceMappingRequest
7915
+ attr_accessor device_name: ::String
7916
+ attr_accessor virtual_name: ::String
7917
+ attr_accessor ebs: Types::FleetEbsBlockDeviceRequest
7918
+ attr_accessor no_device: ::String
7919
+ SENSITIVE: []
7920
+ end
7921
+
7891
7922
  class FleetCapacityReservation
7892
7923
  attr_accessor capacity_reservation_id: ::String
7893
7924
  attr_accessor availability_zone_id: ::String
@@ -7928,6 +7959,18 @@ module Aws::EC2
7928
7959
  SENSITIVE: []
7929
7960
  end
7930
7961
 
7962
+ class FleetEbsBlockDeviceRequest
7963
+ attr_accessor encrypted: bool
7964
+ attr_accessor delete_on_termination: bool
7965
+ attr_accessor iops: ::Integer
7966
+ attr_accessor throughput: ::Integer
7967
+ attr_accessor kms_key_id: ::String
7968
+ attr_accessor snapshot_id: ::String
7969
+ attr_accessor volume_size: ::Integer
7970
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
7971
+ SENSITIVE: []
7972
+ end
7973
+
7931
7974
  class FleetLaunchTemplateConfig
7932
7975
  attr_accessor launch_template_specification: Types::FleetLaunchTemplateSpecification
7933
7976
  attr_accessor overrides: ::Array[Types::FleetLaunchTemplateOverrides]
@@ -7950,6 +7993,7 @@ module Aws::EC2
7950
7993
  attr_accessor placement: Types::PlacementResponse
7951
7994
  attr_accessor instance_requirements: Types::InstanceRequirements
7952
7995
  attr_accessor image_id: ::String
7996
+ attr_accessor block_device_mappings: ::Array[Types::BlockDeviceMappingResponse]
7953
7997
  SENSITIVE: []
7954
7998
  end
7955
7999
 
@@ -7961,6 +8005,7 @@ module Aws::EC2
7961
8005
  attr_accessor weighted_capacity: ::Float
7962
8006
  attr_accessor priority: ::Float
7963
8007
  attr_accessor placement: Types::Placement
8008
+ attr_accessor block_device_mappings: ::Array[Types::FleetBlockDeviceMappingRequest]
7964
8009
  attr_accessor instance_requirements: Types::InstanceRequirementsRequest
7965
8010
  attr_accessor image_id: ::String
7966
8011
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.507.0
4
+ version: 1.508.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-25 00:00:00.000000000 Z
11
+ date: 2025-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core