aws-sdk-ec2 1.619.0 → 1.620.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +15 -3
- data/lib/aws-sdk-ec2/client_api.rb +9 -3
- data/lib/aws-sdk-ec2/instance.rb +12 -1
- data/lib/aws-sdk-ec2/types.rb +27 -2
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/instance.rbs +3 -0
- data/sig/types.rbs +8 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7b8677fb38d8eb35be93c02bf03c1c2c9601d75fd9e947570e08f173a0248f7
|
|
4
|
+
data.tar.gz: 6f0eff3427dbf501e0e7310a2de11aa3af625f58bc8566db340690c524d65dbf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 002d12dac3a37c54a4a436838e0ccb48f335fc95cf8d034b75d8a825aa3ab64d610ce6df253058b152d3be370aafdea3ee6213dadfab0e98c8ec1dbf939c280e
|
|
7
|
+
data.tar.gz: b82b56fd01a9fc8a84d8960a97a5735600057dd7adbd23b50df078103800bd079896e7752f357b2da8f7f7e04d1074650fb646b554b06d67d071f9f4c7757d04
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.620.0 (2026-05-22)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - The ModifyInstanceAttribute API now supports modification of EnclaveOptions for the instance as a typed parameter.
|
|
8
|
+
|
|
4
9
|
1.619.0 (2026-05-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.620.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -10389,7 +10389,7 @@ module Aws::EC2
|
|
|
10389
10389
|
# resp = client.create_launch_template({
|
|
10390
10390
|
# dry_run: false,
|
|
10391
10391
|
# client_token: "String",
|
|
10392
|
-
# launch_template_name: "
|
|
10392
|
+
# launch_template_name: "String", # required
|
|
10393
10393
|
# version_description: "VersionDescription",
|
|
10394
10394
|
# launch_template_data: { # required
|
|
10395
10395
|
# kernel_id: "KernelId",
|
|
@@ -59165,6 +59165,15 @@ module Aws::EC2
|
|
|
59165
59165
|
# You must disable source/destination checks if the instance runs
|
|
59166
59166
|
# services such as network address translation, routing, or firewalls.
|
|
59167
59167
|
#
|
|
59168
|
+
# @option params [Types::EnclaveOptionsRequest] :enclave_options
|
|
59169
|
+
# Enables or disables the instance for Amazon Web Services Nitro
|
|
59170
|
+
# Enclaves. For more information, see the [Amazon Web Services Nitro
|
|
59171
|
+
# Enclaves User Guide][1].
|
|
59172
|
+
#
|
|
59173
|
+
#
|
|
59174
|
+
#
|
|
59175
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
|
|
59176
|
+
#
|
|
59168
59177
|
# @option params [Types::AttributeBooleanValue] :disable_api_stop
|
|
59169
59178
|
# Indicates whether an instance is enabled for stop protection. For more
|
|
59170
59179
|
# information, see [Enable stop protection for your instance][1].
|
|
@@ -59258,7 +59267,7 @@ module Aws::EC2
|
|
|
59258
59267
|
#
|
|
59259
59268
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html
|
|
59260
59269
|
#
|
|
59261
|
-
# @option params [Types::
|
|
59270
|
+
# @option params [Types::SecureBlobAttributeValue] :user_data
|
|
59262
59271
|
# Changes the instance's user data to the specified value. User data
|
|
59263
59272
|
# must be base64-encoded. Depending on the tool or SDK that you're
|
|
59264
59273
|
# using, the base64-encoding might be performed for you. For more
|
|
@@ -59340,6 +59349,9 @@ module Aws::EC2
|
|
|
59340
59349
|
# source_dest_check: {
|
|
59341
59350
|
# value: false,
|
|
59342
59351
|
# },
|
|
59352
|
+
# enclave_options: {
|
|
59353
|
+
# enabled: false,
|
|
59354
|
+
# },
|
|
59343
59355
|
# disable_api_stop: {
|
|
59344
59356
|
# value: false,
|
|
59345
59357
|
# },
|
|
@@ -73768,7 +73780,7 @@ module Aws::EC2
|
|
|
73768
73780
|
tracer: tracer
|
|
73769
73781
|
)
|
|
73770
73782
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
73771
|
-
context[:gem_version] = '1.
|
|
73783
|
+
context[:gem_version] = '1.620.0'
|
|
73772
73784
|
Seahorse::Client::Request.new(handlers, context)
|
|
73773
73785
|
end
|
|
73774
73786
|
|
|
@@ -3417,6 +3417,8 @@ module Aws::EC2
|
|
|
3417
3417
|
SecondarySubnetList = Shapes::ListShape.new(name: 'SecondarySubnetList')
|
|
3418
3418
|
SecondarySubnetState = Shapes::StringShape.new(name: 'SecondarySubnetState')
|
|
3419
3419
|
SecretArn = Shapes::StringShape.new(name: 'SecretArn')
|
|
3420
|
+
SecureBlob = Shapes::BlobShape.new(name: 'SecureBlob')
|
|
3421
|
+
SecureBlobAttributeValue = Shapes::StructureShape.new(name: 'SecureBlobAttributeValue')
|
|
3420
3422
|
SecurityGroup = Shapes::StructureShape.new(name: 'SecurityGroup')
|
|
3421
3423
|
SecurityGroupForVpc = Shapes::StructureShape.new(name: 'SecurityGroupForVpc')
|
|
3422
3424
|
SecurityGroupForVpcList = Shapes::ListShape.new(name: 'SecurityGroupForVpcList')
|
|
@@ -6151,7 +6153,7 @@ module Aws::EC2
|
|
|
6151
6153
|
|
|
6152
6154
|
CreateLaunchTemplateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
6153
6155
|
CreateLaunchTemplateRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
6154
|
-
CreateLaunchTemplateRequest.add_member(:launch_template_name, Shapes::ShapeRef.new(shape:
|
|
6156
|
+
CreateLaunchTemplateRequest.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LaunchTemplateName"))
|
|
6155
6157
|
CreateLaunchTemplateRequest.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "VersionDescription"))
|
|
6156
6158
|
CreateLaunchTemplateRequest.add_member(:launch_template_data, Shapes::ShapeRef.new(shape: RequestLaunchTemplateData, required: true, location_name: "LaunchTemplateData"))
|
|
6157
6159
|
CreateLaunchTemplateRequest.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorRequest, location_name: "Operator"))
|
|
@@ -14541,6 +14543,7 @@ module Aws::EC2
|
|
|
14541
14543
|
ModifyImageAttributeRequest.struct_class = Types::ModifyImageAttributeRequest
|
|
14542
14544
|
|
|
14543
14545
|
ModifyInstanceAttributeRequest.add_member(:source_dest_check, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "SourceDestCheck"))
|
|
14546
|
+
ModifyInstanceAttributeRequest.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptionsRequest, location_name: "EnclaveOptions"))
|
|
14544
14547
|
ModifyInstanceAttributeRequest.add_member(:disable_api_stop, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "DisableApiStop"))
|
|
14545
14548
|
ModifyInstanceAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
14546
14549
|
ModifyInstanceAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
|
|
@@ -14551,7 +14554,7 @@ module Aws::EC2
|
|
|
14551
14554
|
ModifyInstanceAttributeRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "instanceType"))
|
|
14552
14555
|
ModifyInstanceAttributeRequest.add_member(:kernel, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "kernel"))
|
|
14553
14556
|
ModifyInstanceAttributeRequest.add_member(:ramdisk, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "ramdisk"))
|
|
14554
|
-
ModifyInstanceAttributeRequest.add_member(:user_data, Shapes::ShapeRef.new(shape:
|
|
14557
|
+
ModifyInstanceAttributeRequest.add_member(:user_data, Shapes::ShapeRef.new(shape: SecureBlobAttributeValue, location_name: "userData"))
|
|
14555
14558
|
ModifyInstanceAttributeRequest.add_member(:instance_initiated_shutdown_behavior, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "instanceInitiatedShutdownBehavior"))
|
|
14556
14559
|
ModifyInstanceAttributeRequest.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdStringList, location_name: "GroupId"))
|
|
14557
14560
|
ModifyInstanceAttributeRequest.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "ebsOptimized"))
|
|
@@ -17289,7 +17292,7 @@ module Aws::EC2
|
|
|
17289
17292
|
S3Storage.add_member(:aws_access_key_id, Shapes::ShapeRef.new(shape: String, location_name: "AWSAccessKeyId"))
|
|
17290
17293
|
S3Storage.add_member(:bucket, Shapes::ShapeRef.new(shape: String, location_name: "bucket"))
|
|
17291
17294
|
S3Storage.add_member(:prefix, Shapes::ShapeRef.new(shape: String, location_name: "prefix"))
|
|
17292
|
-
S3Storage.add_member(:upload_policy, Shapes::ShapeRef.new(shape:
|
|
17295
|
+
S3Storage.add_member(:upload_policy, Shapes::ShapeRef.new(shape: SecureBlob, location_name: "uploadPolicy"))
|
|
17293
17296
|
S3Storage.add_member(:upload_policy_signature, Shapes::ShapeRef.new(shape: S3StorageUploadPolicySignature, location_name: "uploadPolicySignature"))
|
|
17294
17297
|
S3Storage.struct_class = Types::S3Storage
|
|
17295
17298
|
|
|
@@ -17542,6 +17545,9 @@ module Aws::EC2
|
|
|
17542
17545
|
|
|
17543
17546
|
SecondarySubnetList.member = Shapes::ShapeRef.new(shape: SecondarySubnet, location_name: "item")
|
|
17544
17547
|
|
|
17548
|
+
SecureBlobAttributeValue.add_member(:value, Shapes::ShapeRef.new(shape: SecureBlob, location_name: "value"))
|
|
17549
|
+
SecureBlobAttributeValue.struct_class = Types::SecureBlobAttributeValue
|
|
17550
|
+
|
|
17545
17551
|
SecurityGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
|
|
17546
17552
|
SecurityGroup.add_member(:ip_permissions_egress, Shapes::ShapeRef.new(shape: IpPermissionList, location_name: "ipPermissionsEgress"))
|
|
17547
17553
|
SecurityGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
|
@@ -1100,6 +1100,9 @@ module Aws::EC2
|
|
|
1100
1100
|
# source_dest_check: {
|
|
1101
1101
|
# value: false,
|
|
1102
1102
|
# },
|
|
1103
|
+
# enclave_options: {
|
|
1104
|
+
# enabled: false,
|
|
1105
|
+
# },
|
|
1103
1106
|
# disable_api_stop: {
|
|
1104
1107
|
# value: false,
|
|
1105
1108
|
# },
|
|
@@ -1144,6 +1147,14 @@ module Aws::EC2
|
|
|
1144
1147
|
# enabled; otherwise, they are disabled. The default value is `true`.
|
|
1145
1148
|
# You must disable source/destination checks if the instance runs
|
|
1146
1149
|
# services such as network address translation, routing, or firewalls.
|
|
1150
|
+
# @option options [Types::EnclaveOptionsRequest] :enclave_options
|
|
1151
|
+
# Enables or disables the instance for Amazon Web Services Nitro
|
|
1152
|
+
# Enclaves. For more information, see the [Amazon Web Services Nitro
|
|
1153
|
+
# Enclaves User Guide][1].
|
|
1154
|
+
#
|
|
1155
|
+
#
|
|
1156
|
+
#
|
|
1157
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
|
|
1147
1158
|
# @option options [Types::AttributeBooleanValue] :disable_api_stop
|
|
1148
1159
|
# Indicates whether an instance is enabled for stop protection. For more
|
|
1149
1160
|
# information, see [Enable stop protection for your instance][1].
|
|
@@ -1225,7 +1236,7 @@ module Aws::EC2
|
|
|
1225
1236
|
#
|
|
1226
1237
|
#
|
|
1227
1238
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html
|
|
1228
|
-
# @option options [Types::
|
|
1239
|
+
# @option options [Types::SecureBlobAttributeValue] :user_data
|
|
1229
1240
|
# Changes the instance's user data to the specified value. User data
|
|
1230
1241
|
# must be base64-encoded. Depending on the tool or SDK that you're
|
|
1231
1242
|
# using, the base64-encoding might be performed for you. For more
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -61382,6 +61382,16 @@ module Aws::EC2
|
|
|
61382
61382
|
# services such as network address translation, routing, or firewalls.
|
|
61383
61383
|
# @return [Types::AttributeBooleanValue]
|
|
61384
61384
|
#
|
|
61385
|
+
# @!attribute [rw] enclave_options
|
|
61386
|
+
# Enables or disables the instance for Amazon Web Services Nitro
|
|
61387
|
+
# Enclaves. For more information, see the [Amazon Web Services Nitro
|
|
61388
|
+
# Enclaves User Guide][1].
|
|
61389
|
+
#
|
|
61390
|
+
#
|
|
61391
|
+
#
|
|
61392
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
|
|
61393
|
+
# @return [Types::EnclaveOptionsRequest]
|
|
61394
|
+
#
|
|
61385
61395
|
# @!attribute [rw] disable_api_stop
|
|
61386
61396
|
# Indicates whether an instance is enabled for stop protection. For
|
|
61387
61397
|
# more information, see [Enable stop protection for your instance][1].
|
|
@@ -61494,7 +61504,7 @@ module Aws::EC2
|
|
|
61494
61504
|
#
|
|
61495
61505
|
#
|
|
61496
61506
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html
|
|
61497
|
-
# @return [Types::
|
|
61507
|
+
# @return [Types::SecureBlobAttributeValue]
|
|
61498
61508
|
#
|
|
61499
61509
|
# @!attribute [rw] instance_initiated_shutdown_behavior
|
|
61500
61510
|
# Specifies whether an instance stops or terminates when you initiate
|
|
@@ -61540,6 +61550,7 @@ module Aws::EC2
|
|
|
61540
61550
|
#
|
|
61541
61551
|
class ModifyInstanceAttributeRequest < Struct.new(
|
|
61542
61552
|
:source_dest_check,
|
|
61553
|
+
:enclave_options,
|
|
61543
61554
|
:disable_api_stop,
|
|
61544
61555
|
:dry_run,
|
|
61545
61556
|
:instance_id,
|
|
@@ -61560,7 +61571,10 @@ module Aws::EC2
|
|
|
61560
61571
|
include Aws::Structure
|
|
61561
61572
|
end
|
|
61562
61573
|
|
|
61574
|
+
# Describes Base64-encoded binary data.
|
|
61575
|
+
#
|
|
61563
61576
|
# @!attribute [rw] value
|
|
61577
|
+
# The value of the data.
|
|
61564
61578
|
# @return [String]
|
|
61565
61579
|
#
|
|
61566
61580
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttributeUserDataRequest AWS API Documentation
|
|
@@ -76175,7 +76189,7 @@ module Aws::EC2
|
|
|
76175
76189
|
:prefix,
|
|
76176
76190
|
:upload_policy,
|
|
76177
76191
|
:upload_policy_signature)
|
|
76178
|
-
SENSITIVE = [:upload_policy_signature]
|
|
76192
|
+
SENSITIVE = [:upload_policy, :upload_policy_signature]
|
|
76179
76193
|
include Aws::Structure
|
|
76180
76194
|
end
|
|
76181
76195
|
|
|
@@ -77370,6 +77384,17 @@ module Aws::EC2
|
|
|
77370
77384
|
include Aws::Structure
|
|
77371
77385
|
end
|
|
77372
77386
|
|
|
77387
|
+
# @!attribute [rw] value
|
|
77388
|
+
# @return [String]
|
|
77389
|
+
#
|
|
77390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecureBlobAttributeValue AWS API Documentation
|
|
77391
|
+
#
|
|
77392
|
+
class SecureBlobAttributeValue < Struct.new(
|
|
77393
|
+
:value)
|
|
77394
|
+
SENSITIVE = [:value]
|
|
77395
|
+
include Aws::Structure
|
|
77396
|
+
end
|
|
77397
|
+
|
|
77373
77398
|
# Describes a security group.
|
|
77374
77399
|
#
|
|
77375
77400
|
# @!attribute [rw] group_id
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -11366,6 +11366,9 @@ module Aws
|
|
|
11366
11366
|
?source_dest_check: {
|
|
11367
11367
|
value: bool?
|
|
11368
11368
|
},
|
|
11369
|
+
?enclave_options: {
|
|
11370
|
+
enabled: bool?
|
|
11371
|
+
},
|
|
11369
11372
|
?disable_api_stop: {
|
|
11370
11373
|
value: bool?
|
|
11371
11374
|
},
|
data/sig/instance.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -13171,6 +13171,7 @@ module Aws::EC2
|
|
|
13171
13171
|
|
|
13172
13172
|
class ModifyInstanceAttributeRequest
|
|
13173
13173
|
attr_accessor source_dest_check: Types::AttributeBooleanValue
|
|
13174
|
+
attr_accessor enclave_options: Types::EnclaveOptionsRequest
|
|
13174
13175
|
attr_accessor disable_api_stop: Types::AttributeBooleanValue
|
|
13175
13176
|
attr_accessor dry_run: bool
|
|
13176
13177
|
attr_accessor instance_id: ::String
|
|
@@ -13181,7 +13182,7 @@ module Aws::EC2
|
|
|
13181
13182
|
attr_accessor instance_type: Types::AttributeValue
|
|
13182
13183
|
attr_accessor kernel: Types::AttributeValue
|
|
13183
13184
|
attr_accessor ramdisk: Types::AttributeValue
|
|
13184
|
-
attr_accessor user_data: Types::
|
|
13185
|
+
attr_accessor user_data: Types::SecureBlobAttributeValue
|
|
13185
13186
|
attr_accessor instance_initiated_shutdown_behavior: Types::AttributeValue
|
|
13186
13187
|
attr_accessor groups: ::Array[::String]
|
|
13187
13188
|
attr_accessor ebs_optimized: Types::AttributeBooleanValue
|
|
@@ -16407,7 +16408,7 @@ module Aws::EC2
|
|
|
16407
16408
|
attr_accessor prefix: ::String
|
|
16408
16409
|
attr_accessor upload_policy: ::String
|
|
16409
16410
|
attr_accessor upload_policy_signature: ::String
|
|
16410
|
-
SENSITIVE: [:upload_policy_signature]
|
|
16411
|
+
SENSITIVE: [:upload_policy, :upload_policy_signature]
|
|
16411
16412
|
end
|
|
16412
16413
|
|
|
16413
16414
|
class ScheduledInstance
|
|
@@ -16679,6 +16680,11 @@ module Aws::EC2
|
|
|
16679
16680
|
SENSITIVE: []
|
|
16680
16681
|
end
|
|
16681
16682
|
|
|
16683
|
+
class SecureBlobAttributeValue
|
|
16684
|
+
attr_accessor value: ::String
|
|
16685
|
+
SENSITIVE: [:value]
|
|
16686
|
+
end
|
|
16687
|
+
|
|
16682
16688
|
class SecurityGroup
|
|
16683
16689
|
attr_accessor group_id: ::String
|
|
16684
16690
|
attr_accessor ip_permissions_egress: ::Array[Types::IpPermission]
|