aws-sdk-ec2 1.449.0 → 1.451.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.449.0'
79
+ GEM_VERSION = '1.451.0'
80
80
 
81
81
  end
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
@@ -7870,6 +7871,17 @@ module Aws
7870
7871
  ) -> _DisableImageDeprecationResponseSuccess
7871
7872
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableImageDeprecationResponseSuccess
7872
7873
 
7874
+ interface _DisableImageDeregistrationProtectionResponseSuccess
7875
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableImageDeregistrationProtectionResult]
7876
+ def return: () -> ::String
7877
+ end
7878
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#disable_image_deregistration_protection-instance_method
7879
+ def disable_image_deregistration_protection: (
7880
+ image_id: ::String,
7881
+ ?dry_run: bool
7882
+ ) -> _DisableImageDeregistrationProtectionResponseSuccess
7883
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableImageDeregistrationProtectionResponseSuccess
7884
+
7873
7885
  interface _DisableIpamOrganizationAdminAccountResponseSuccess
7874
7886
  include ::Seahorse::Client::_ResponseSuccess[Types::DisableIpamOrganizationAdminAccountResult]
7875
7887
  def success: () -> bool
@@ -8236,6 +8248,18 @@ module Aws
8236
8248
  ) -> _EnableImageDeprecationResponseSuccess
8237
8249
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableImageDeprecationResponseSuccess
8238
8250
 
8251
+ interface _EnableImageDeregistrationProtectionResponseSuccess
8252
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableImageDeregistrationProtectionResult]
8253
+ def return: () -> ::String
8254
+ end
8255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#enable_image_deregistration_protection-instance_method
8256
+ def enable_image_deregistration_protection: (
8257
+ image_id: ::String,
8258
+ ?with_cooldown: bool,
8259
+ ?dry_run: bool
8260
+ ) -> _EnableImageDeregistrationProtectionResponseSuccess
8261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableImageDeregistrationProtectionResponseSuccess
8262
+
8239
8263
  interface _EnableIpamOrganizationAdminAccountResponseSuccess
8240
8264
  include ::Seahorse::Client::_ResponseSuccess[Types::EnableIpamOrganizationAdminAccountResult]
8241
8265
  def success: () -> bool
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
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: []
@@ -6372,6 +6372,17 @@ module Aws::EC2
6372
6372
  SENSITIVE: []
6373
6373
  end
6374
6374
 
6375
+ class DisableImageDeregistrationProtectionRequest
6376
+ attr_accessor image_id: ::String
6377
+ attr_accessor dry_run: bool
6378
+ SENSITIVE: []
6379
+ end
6380
+
6381
+ class DisableImageDeregistrationProtectionResult
6382
+ attr_accessor return: ::String
6383
+ SENSITIVE: []
6384
+ end
6385
+
6375
6386
  class DisableImageRequest
6376
6387
  attr_accessor image_id: ::String
6377
6388
  attr_accessor dry_run: bool
@@ -6960,6 +6971,18 @@ module Aws::EC2
6960
6971
  SENSITIVE: []
6961
6972
  end
6962
6973
 
6974
+ class EnableImageDeregistrationProtectionRequest
6975
+ attr_accessor image_id: ::String
6976
+ attr_accessor with_cooldown: bool
6977
+ attr_accessor dry_run: bool
6978
+ SENSITIVE: []
6979
+ end
6980
+
6981
+ class EnableImageDeregistrationProtectionResult
6982
+ attr_accessor return: ::String
6983
+ SENSITIVE: []
6984
+ end
6985
+
6963
6986
  class EnableImageRequest
6964
6987
  attr_accessor image_id: ::String
6965
6988
  attr_accessor dry_run: bool
@@ -8397,6 +8420,8 @@ module Aws::EC2
8397
8420
  attr_accessor deprecation_time: ::String
8398
8421
  attr_accessor imds_support: ("v2.0")
8399
8422
  attr_accessor source_instance_id: ::String
8423
+ attr_accessor deregistration_protection: ::String
8424
+ attr_accessor last_launched_time: ::String
8400
8425
  SENSITIVE: []
8401
8426
  end
8402
8427
 
@@ -8414,6 +8439,7 @@ module Aws::EC2
8414
8439
  attr_accessor uefi_data: Types::AttributeValue
8415
8440
  attr_accessor last_launched_time: Types::AttributeValue
8416
8441
  attr_accessor imds_support: Types::AttributeValue
8442
+ attr_accessor deregistration_protection: Types::AttributeValue
8417
8443
  SENSITIVE: []
8418
8444
  end
8419
8445
 
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.449.0
4
+ version: 1.451.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-16 00:00:00.000000000 Z
11
+ date: 2024-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core