aws-sdk-ec2 1.506.0 → 1.509.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.
@@ -65,6 +65,11 @@ module Aws::EC2
65
65
  data[:is_default]
66
66
  end
67
67
 
68
+ # @return [Types::VpcEncryptionControl]
69
+ def encryption_control
70
+ data[:encryption_control]
71
+ end
72
+
68
73
  # Any tags assigned to the VPC.
69
74
  # @return [Array<Types::Tag>]
70
75
  def tags
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.506.0'
81
+ GEM_VERSION = '1.509.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -1030,6 +1030,7 @@ module Aws
1030
1030
  ]?
1031
1031
  },
1032
1032
  ],
1033
+ ?snapshot_copy_completion_duration_minutes: ::Integer,
1033
1034
  ?dry_run: bool
1034
1035
  ) -> _CopyImageResponseSuccess
1035
1036
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyImageResponseSuccess
@@ -1476,6 +1477,23 @@ module Aws
1476
1477
  group_id: ::String?,
1477
1478
  availability_zone: ::String?
1478
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
+ ]?,
1479
1497
  instance_requirements: {
1480
1498
  v_cpu_count: {
1481
1499
  min: ::Integer,
@@ -5063,12 +5081,15 @@ module Aws
5063
5081
  ) -> _DeprovisionPublicIpv4PoolCidrResponseSuccess
5064
5082
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeprovisionPublicIpv4PoolCidrResponseSuccess
5065
5083
 
5084
+ interface _DeregisterImageResponseSuccess
5085
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterImageResult]
5086
+ end
5066
5087
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#deregister_image-instance_method
5067
5088
  def deregister_image: (
5068
5089
  image_id: ::String,
5069
5090
  ?dry_run: bool
5070
- ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
5071
- | (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
5072
5093
 
5073
5094
  interface _DeregisterInstanceEventNotificationAttributesResponseSuccess
5074
5095
  include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterInstanceEventNotificationAttributesResult]
@@ -10372,6 +10393,23 @@ module Aws
10372
10393
  group_id: ::String?,
10373
10394
  availability_zone: ::String?
10374
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
+ ]?,
10375
10413
  instance_requirements: {
10376
10414
  v_cpu_count: {
10377
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: []
@@ -1681,6 +1689,7 @@ module Aws::EC2
1681
1689
  attr_accessor destination_outpost_arn: ::String
1682
1690
  attr_accessor copy_image_tags: bool
1683
1691
  attr_accessor tag_specifications: ::Array[Types::TagSpecification]
1692
+ attr_accessor snapshot_copy_completion_duration_minutes: ::Integer
1684
1693
  attr_accessor dry_run: bool
1685
1694
  SENSITIVE: []
1686
1695
  end
@@ -4158,6 +4167,9 @@ module Aws::EC2
4158
4167
  SENSITIVE: []
4159
4168
  end
4160
4169
 
4170
+ class DeregisterImageResult < Aws::EmptyStructure
4171
+ end
4172
+
4161
4173
  class DeregisterInstanceEventNotificationAttributesRequest
4162
4174
  attr_accessor dry_run: bool
4163
4175
  attr_accessor instance_tag_attribute: Types::DeregisterInstanceTagAttributeRequest
@@ -7200,6 +7212,18 @@ module Aws::EC2
7200
7212
  SENSITIVE: []
7201
7213
  end
7202
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
+
7203
7227
  class EbsInfo
7204
7228
  attr_accessor ebs_optimized_support: ("unsupported" | "supported" | "default")
7205
7229
  attr_accessor encryption_support: ("unsupported" | "supported")
@@ -7887,6 +7911,14 @@ module Aws::EC2
7887
7911
  SENSITIVE: []
7888
7912
  end
7889
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
+
7890
7922
  class FleetCapacityReservation
7891
7923
  attr_accessor capacity_reservation_id: ::String
7892
7924
  attr_accessor availability_zone_id: ::String
@@ -7927,6 +7959,18 @@ module Aws::EC2
7927
7959
  SENSITIVE: []
7928
7960
  end
7929
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
+
7930
7974
  class FleetLaunchTemplateConfig
7931
7975
  attr_accessor launch_template_specification: Types::FleetLaunchTemplateSpecification
7932
7976
  attr_accessor overrides: ::Array[Types::FleetLaunchTemplateOverrides]
@@ -7949,6 +7993,7 @@ module Aws::EC2
7949
7993
  attr_accessor placement: Types::PlacementResponse
7950
7994
  attr_accessor instance_requirements: Types::InstanceRequirements
7951
7995
  attr_accessor image_id: ::String
7996
+ attr_accessor block_device_mappings: ::Array[Types::BlockDeviceMappingResponse]
7952
7997
  SENSITIVE: []
7953
7998
  end
7954
7999
 
@@ -7960,6 +8005,7 @@ module Aws::EC2
7960
8005
  attr_accessor weighted_capacity: ::Float
7961
8006
  attr_accessor priority: ::Float
7962
8007
  attr_accessor placement: Types::Placement
8008
+ attr_accessor block_device_mappings: ::Array[Types::FleetBlockDeviceMappingRequest]
7963
8009
  attr_accessor instance_requirements: Types::InstanceRequirementsRequest
7964
8010
  attr_accessor image_id: ::String
7965
8011
  SENSITIVE: []
@@ -15973,6 +16019,7 @@ module Aws::EC2
15973
16019
  attr_accessor ipv_6_cidr_block_association_set: ::Array[Types::VpcIpv6CidrBlockAssociation]
15974
16020
  attr_accessor cidr_block_association_set: ::Array[Types::VpcCidrBlockAssociation]
15975
16021
  attr_accessor is_default: bool
16022
+ attr_accessor encryption_control: Types::VpcEncryptionControl
15976
16023
  attr_accessor tags: ::Array[Types::Tag]
15977
16024
  attr_accessor block_public_access_states: Types::BlockPublicAccessStates
15978
16025
  attr_accessor vpc_id: ::String
@@ -16033,6 +16080,32 @@ module Aws::EC2
16033
16080
  SENSITIVE: []
16034
16081
  end
16035
16082
 
16083
+ class VpcEncryptionControl
16084
+ attr_accessor vpc_id: ::String
16085
+ attr_accessor vpc_encryption_control_id: ::String
16086
+ attr_accessor mode: ("monitor" | "enforce")
16087
+ attr_accessor state: ("enforce-in-progress" | "monitor-in-progress" | "enforce-failed" | "monitor-failed" | "deleting" | "deleted" | "available")
16088
+ attr_accessor state_message: ::String
16089
+ attr_accessor resource_exclusions: Types::VpcEncryptionControlExclusions
16090
+ attr_accessor tags: ::Array[Types::Tag]
16091
+ SENSITIVE: []
16092
+ end
16093
+
16094
+ class VpcEncryptionControlExclusion
16095
+ attr_accessor state: ("enabling" | "enabled" | "disabling" | "disabled")
16096
+ attr_accessor state_message: ::String
16097
+ SENSITIVE: []
16098
+ end
16099
+
16100
+ class VpcEncryptionControlExclusions
16101
+ attr_accessor internet_gateway: Types::VpcEncryptionControlExclusion
16102
+ attr_accessor egress_only_internet_gateway: Types::VpcEncryptionControlExclusion
16103
+ attr_accessor nat_gateway: Types::VpcEncryptionControlExclusion
16104
+ attr_accessor virtual_private_gateway: Types::VpcEncryptionControlExclusion
16105
+ attr_accessor vpc_peering: Types::VpcEncryptionControlExclusion
16106
+ SENSITIVE: []
16107
+ end
16108
+
16036
16109
  class VpcEndpoint
16037
16110
  attr_accessor vpc_endpoint_id: ::String
16038
16111
  attr_accessor vpc_endpoint_type: ("Interface" | "Gateway" | "GatewayLoadBalancer" | "Resource" | "ServiceNetwork")
data/sig/vpc.rbs CHANGED
@@ -33,6 +33,9 @@ module Aws
33
33
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#is_default-instance_method
34
34
  def is_default: () -> bool
35
35
 
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#encryption_control-instance_method
37
+ def encryption_control: () -> Types::VpcEncryptionControl
38
+
36
39
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#tags-instance_method
37
40
  def tags: () -> ::Array[Types::Tag]
38
41
 
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.506.0
4
+ version: 1.509.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-18 00:00:00.000000000 Z
11
+ date: 2025-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core