aws-sdk-ec2 1.450.0 → 1.452.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/sig/client.rbs CHANGED
@@ -5581,10 +5581,11 @@ module Aws
5581
5581
  def uefi_data: () -> Types::AttributeValue
5582
5582
  def last_launched_time: () -> Types::AttributeValue
5583
5583
  def imds_support: () -> Types::AttributeValue
5584
+ def deregistration_protection: () -> Types::AttributeValue
5584
5585
  end
5585
5586
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_image_attribute-instance_method
5586
5587
  def describe_image_attribute: (
5587
- attribute: ("description" | "kernel" | "ramdisk" | "launchPermission" | "productCodes" | "blockDeviceMapping" | "sriovNetSupport" | "bootMode" | "tpmSupport" | "uefiData" | "lastLaunchedTime" | "imdsSupport"),
5588
+ attribute: ("description" | "kernel" | "ramdisk" | "launchPermission" | "productCodes" | "blockDeviceMapping" | "sriovNetSupport" | "bootMode" | "tpmSupport" | "uefiData" | "lastLaunchedTime" | "imdsSupport" | "deregistrationProtection"),
5588
5589
  image_id: ::String,
5589
5590
  ?dry_run: bool
5590
5591
  ) -> _DescribeImageAttributeResponseSuccess
@@ -6404,10 +6405,11 @@ module Aws
6404
6405
  def groups: () -> ::Array[Types::GroupIdentifier]
6405
6406
  def network_interface_id: () -> ::String
6406
6407
  def source_dest_check: () -> Types::AttributeBooleanValue
6408
+ def associate_public_ip_address: () -> bool
6407
6409
  end
6408
6410
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_network_interface_attribute-instance_method
6409
6411
  def describe_network_interface_attribute: (
6410
- ?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment"),
6412
+ ?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment" | "associatePublicIpAddress"),
6411
6413
  ?dry_run: bool,
6412
6414
  network_interface_id: ::String
6413
6415
  ) -> _DescribeNetworkInterfaceAttributeResponseSuccess
@@ -7870,6 +7872,17 @@ module Aws
7870
7872
  ) -> _DisableImageDeprecationResponseSuccess
7871
7873
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableImageDeprecationResponseSuccess
7872
7874
 
7875
+ interface _DisableImageDeregistrationProtectionResponseSuccess
7876
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableImageDeregistrationProtectionResult]
7877
+ def return: () -> ::String
7878
+ end
7879
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#disable_image_deregistration_protection-instance_method
7880
+ def disable_image_deregistration_protection: (
7881
+ image_id: ::String,
7882
+ ?dry_run: bool
7883
+ ) -> _DisableImageDeregistrationProtectionResponseSuccess
7884
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableImageDeregistrationProtectionResponseSuccess
7885
+
7873
7886
  interface _DisableIpamOrganizationAdminAccountResponseSuccess
7874
7887
  include ::Seahorse::Client::_ResponseSuccess[Types::DisableIpamOrganizationAdminAccountResult]
7875
7888
  def success: () -> bool
@@ -8236,6 +8249,18 @@ module Aws
8236
8249
  ) -> _EnableImageDeprecationResponseSuccess
8237
8250
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableImageDeprecationResponseSuccess
8238
8251
 
8252
+ interface _EnableImageDeregistrationProtectionResponseSuccess
8253
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableImageDeregistrationProtectionResult]
8254
+ def return: () -> ::String
8255
+ end
8256
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#enable_image_deregistration_protection-instance_method
8257
+ def enable_image_deregistration_protection: (
8258
+ image_id: ::String,
8259
+ ?with_cooldown: bool,
8260
+ ?dry_run: bool
8261
+ ) -> _EnableImageDeregistrationProtectionResponseSuccess
8262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableImageDeregistrationProtectionResponseSuccess
8263
+
8239
8264
  interface _EnableIpamOrganizationAdminAccountResponseSuccess
8240
8265
  include ::Seahorse::Client::_ResponseSuccess[Types::EnableIpamOrganizationAdminAccountResult]
8241
8266
  def success: () -> bool
@@ -10248,7 +10273,8 @@ module Aws
10248
10273
  tcp_established_timeout: ::Integer?,
10249
10274
  udp_stream_timeout: ::Integer?,
10250
10275
  udp_timeout: ::Integer?
10251
- }
10276
+ },
10277
+ ?associate_public_ip_address: bool
10252
10278
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
10253
10279
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
10254
10280
 
data/sig/image.rbs CHANGED
@@ -108,6 +108,12 @@ module Aws
108
108
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#source_instance_id-instance_method
109
109
  def source_instance_id: () -> ::String
110
110
 
111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#deregistration_protection-instance_method
112
+ def deregistration_protection: () -> ::String
113
+
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#last_launched_time-instance_method
115
+ def last_launched_time: () -> ::String
116
+
111
117
  def client: () -> Client
112
118
 
113
119
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#load-instance_method
@@ -160,7 +166,7 @@ module Aws
160
166
 
161
167
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#describe_attribute-instance_method
162
168
  def describe_attribute: (
163
- attribute: ("description" | "kernel" | "ramdisk" | "launchPermission" | "productCodes" | "blockDeviceMapping" | "sriovNetSupport" | "bootMode" | "tpmSupport" | "uefiData" | "lastLaunchedTime" | "imdsSupport"),
169
+ attribute: ("description" | "kernel" | "ramdisk" | "launchPermission" | "productCodes" | "blockDeviceMapping" | "sriovNetSupport" | "bootMode" | "tpmSupport" | "uefiData" | "lastLaunchedTime" | "imdsSupport" | "deregistrationProtection"),
164
170
  ?dry_run: bool
165
171
  ) -> Types::ImageAttribute
166
172
  | (?Hash[Symbol, untyped]) -> Types::ImageAttribute
@@ -163,7 +163,7 @@ module Aws
163
163
 
164
164
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#describe_attribute-instance_method
165
165
  def describe_attribute: (
166
- ?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment"),
166
+ ?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment" | "associatePublicIpAddress"),
167
167
  ?dry_run: bool
168
168
  ) -> Types::DescribeNetworkInterfaceAttributeResult
169
169
  | (?Hash[Symbol, untyped]) -> Types::DescribeNetworkInterfaceAttributeResult
@@ -198,7 +198,8 @@ module Aws
198
198
  tcp_established_timeout: ::Integer?,
199
199
  udp_stream_timeout: ::Integer?,
200
200
  udp_timeout: ::Integer?
201
- }
201
+ },
202
+ ?associate_public_ip_address: bool
202
203
  ) -> ::Aws::EmptyStructure
203
204
  | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
204
205
 
data/sig/types.rbs CHANGED
@@ -4533,7 +4533,7 @@ module Aws::EC2
4533
4533
  end
4534
4534
 
4535
4535
  class DescribeImageAttributeRequest
4536
- attr_accessor attribute: ("description" | "kernel" | "ramdisk" | "launchPermission" | "productCodes" | "blockDeviceMapping" | "sriovNetSupport" | "bootMode" | "tpmSupport" | "uefiData" | "lastLaunchedTime" | "imdsSupport")
4536
+ attr_accessor attribute: ("description" | "kernel" | "ramdisk" | "launchPermission" | "productCodes" | "blockDeviceMapping" | "sriovNetSupport" | "bootMode" | "tpmSupport" | "uefiData" | "lastLaunchedTime" | "imdsSupport" | "deregistrationProtection")
4537
4537
  attr_accessor image_id: ::String
4538
4538
  attr_accessor dry_run: bool
4539
4539
  SENSITIVE: []
@@ -5141,7 +5141,7 @@ module Aws::EC2
5141
5141
  end
5142
5142
 
5143
5143
  class DescribeNetworkInterfaceAttributeRequest
5144
- attr_accessor attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment")
5144
+ attr_accessor attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment" | "associatePublicIpAddress")
5145
5145
  attr_accessor dry_run: bool
5146
5146
  attr_accessor network_interface_id: ::String
5147
5147
  SENSITIVE: []
@@ -5153,6 +5153,7 @@ module Aws::EC2
5153
5153
  attr_accessor groups: ::Array[Types::GroupIdentifier]
5154
5154
  attr_accessor network_interface_id: ::String
5155
5155
  attr_accessor source_dest_check: Types::AttributeBooleanValue
5156
+ attr_accessor associate_public_ip_address: bool
5156
5157
  SENSITIVE: []
5157
5158
  end
5158
5159
 
@@ -6372,6 +6373,17 @@ module Aws::EC2
6372
6373
  SENSITIVE: []
6373
6374
  end
6374
6375
 
6376
+ class DisableImageDeregistrationProtectionRequest
6377
+ attr_accessor image_id: ::String
6378
+ attr_accessor dry_run: bool
6379
+ SENSITIVE: []
6380
+ end
6381
+
6382
+ class DisableImageDeregistrationProtectionResult
6383
+ attr_accessor return: ::String
6384
+ SENSITIVE: []
6385
+ end
6386
+
6375
6387
  class DisableImageRequest
6376
6388
  attr_accessor image_id: ::String
6377
6389
  attr_accessor dry_run: bool
@@ -6960,6 +6972,18 @@ module Aws::EC2
6960
6972
  SENSITIVE: []
6961
6973
  end
6962
6974
 
6975
+ class EnableImageDeregistrationProtectionRequest
6976
+ attr_accessor image_id: ::String
6977
+ attr_accessor with_cooldown: bool
6978
+ attr_accessor dry_run: bool
6979
+ SENSITIVE: []
6980
+ end
6981
+
6982
+ class EnableImageDeregistrationProtectionResult
6983
+ attr_accessor return: ::String
6984
+ SENSITIVE: []
6985
+ end
6986
+
6963
6987
  class EnableImageRequest
6964
6988
  attr_accessor image_id: ::String
6965
6989
  attr_accessor dry_run: bool
@@ -8397,6 +8421,8 @@ module Aws::EC2
8397
8421
  attr_accessor deprecation_time: ::String
8398
8422
  attr_accessor imds_support: ("v2.0")
8399
8423
  attr_accessor source_instance_id: ::String
8424
+ attr_accessor deregistration_protection: ::String
8425
+ attr_accessor last_launched_time: ::String
8400
8426
  SENSITIVE: []
8401
8427
  end
8402
8428
 
@@ -8414,6 +8440,7 @@ module Aws::EC2
8414
8440
  attr_accessor uefi_data: Types::AttributeValue
8415
8441
  attr_accessor last_launched_time: Types::AttributeValue
8416
8442
  attr_accessor imds_support: Types::AttributeValue
8443
+ attr_accessor deregistration_protection: Types::AttributeValue
8417
8444
  SENSITIVE: []
8418
8445
  end
8419
8446
 
@@ -10659,6 +10686,7 @@ module Aws::EC2
10659
10686
  attr_accessor ena_srd_specification: Types::EnaSrdSpecification
10660
10687
  attr_accessor enable_primary_ipv_6: bool
10661
10688
  attr_accessor connection_tracking_specification: Types::ConnectionTrackingSpecificationRequest
10689
+ attr_accessor associate_public_ip_address: bool
10662
10690
  SENSITIVE: []
10663
10691
  end
10664
10692
 
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.450.0
4
+ version: 1.452.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: 2024-04-17 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core