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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d451c49071f90afe5dc86473fc4cb3e2eceea98fafd4cf25d4d3e080fd456d8c
4
- data.tar.gz: 4c85574dcceb4ee64e069abb67cec426749a23aeb7ce22f8d06d21e864d1ba11
3
+ metadata.gz: 678fcbcf29be678cf2869ea51625d3ffcb23c8e071a23811f4c205e8df05daa7
4
+ data.tar.gz: 7f158ca4f18c8760026afc735a3d0641dd3e06d39f5e3cc43222d8d9ccbded6f
5
5
  SHA512:
6
- metadata.gz: 9283508417e7d4e119cd36b49b43aa9944b6a78e30fdc05c0766f2b765fe223e32f3a0ef5cf7a9ad9cbe7ec81f107a21f1e7d2a7147728ac06da2f590e5b1b61
7
- data.tar.gz: f4a60131eb9dfe16d0783d6de99d87a4935e6116e608ac02305f4721ae7efad5ceb43a9d9c18764322aef4d28dff38cd904ffc8b8af050fa241bf2cc531fe5fd
6
+ metadata.gz: 9e68abee19500d200f7c7b85b27af1006b41327a7bd5d9873fa4b705c090dccd40436d85bfbbbb25a50745dcfdcaa986bc3c849980ab13d236872ebeb9113317
7
+ data.tar.gz: adc62a526b8fbd320a042898b8e41669c6a7bf14738d5b1a69613bb33d9cd1155c45f3cbbaccfc0ef8bdc743d99575d013111f954487b4080929e44e96b17267
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.508.0 (2025-02-26)
5
+ ------------------
6
+
7
+ * Feature - Amazon EC2 Fleet customers can now override the Block Device Mapping specified in the Launch Template when creating a new Fleet request, saving the effort of creating and associating new Launch Templates to customize the Block Device Mapping.
8
+
4
9
  1.507.0 (2025-02-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.507.0
1
+ 1.508.0
@@ -6998,6 +6998,23 @@ module Aws::EC2
6998
6998
  # group_id: "PlacementGroupId",
6999
6999
  # availability_zone: "String",
7000
7000
  # },
7001
+ # block_device_mappings: [
7002
+ # {
7003
+ # device_name: "String",
7004
+ # virtual_name: "String",
7005
+ # ebs: {
7006
+ # encrypted: false,
7007
+ # delete_on_termination: false,
7008
+ # iops: 1,
7009
+ # throughput: 1,
7010
+ # kms_key_id: "KmsKeyId",
7011
+ # snapshot_id: "SnapshotId",
7012
+ # volume_size: 1,
7013
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
7014
+ # },
7015
+ # no_device: "String",
7016
+ # },
7017
+ # ],
7001
7018
  # instance_requirements: {
7002
7019
  # v_cpu_count: { # required
7003
7020
  # min: 1, # required
@@ -7149,6 +7166,18 @@ module Aws::EC2
7149
7166
  # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references #=> Array
7150
7167
  # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
7151
7168
  # resp.errors[0].launch_template_and_overrides.overrides.image_id #=> String
7169
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings #=> Array
7170
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].device_name #=> String
7171
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].virtual_name #=> String
7172
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.encrypted #=> Boolean
7173
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
7174
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.iops #=> Integer
7175
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.throughput #=> Integer
7176
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.kms_key_id #=> String
7177
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.snapshot_id #=> String
7178
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_size #=> Integer
7179
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
7180
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].no_device #=> String
7152
7181
  # resp.errors[0].lifecycle #=> String, one of "spot", "on-demand"
7153
7182
  # resp.errors[0].error_code #=> String
7154
7183
  # resp.errors[0].error_message #=> String
@@ -7207,6 +7236,18 @@ module Aws::EC2
7207
7236
  # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references #=> Array
7208
7237
  # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
7209
7238
  # resp.instances[0].launch_template_and_overrides.overrides.image_id #=> String
7239
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings #=> Array
7240
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].device_name #=> String
7241
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].virtual_name #=> String
7242
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.encrypted #=> Boolean
7243
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
7244
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.iops #=> Integer
7245
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.throughput #=> Integer
7246
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.kms_key_id #=> String
7247
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.snapshot_id #=> String
7248
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_size #=> Integer
7249
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
7250
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].no_device #=> String
7210
7251
  # resp.instances[0].lifecycle #=> String, one of "spot", "on-demand"
7211
7252
  # resp.instances[0].instance_ids #=> Array
7212
7253
  # resp.instances[0].instance_ids[0] #=> String
@@ -8813,8 +8854,8 @@ module Aws::EC2
8813
8854
  # A launch template contains the parameters to launch an instance. When
8814
8855
  # you launch an instance using RunInstances, you can specify a launch
8815
8856
  # template instead of providing the launch parameters in the request.
8816
- # For more information, see [Launch an instance from a launch
8817
- # template][1] in the *Amazon EC2 User Guide*.
8857
+ # For more information, see [Store instance launch parameters in Amazon
8858
+ # EC2 launch templates][1] in the *Amazon EC2 User Guide*.
8818
8859
  #
8819
8860
  # To clone an existing launch template as the basis for a new launch
8820
8861
  # template, use the Amazon EC2 console. The API, SDKs, and CLI do not
@@ -8825,7 +8866,7 @@ module Aws::EC2
8825
8866
  #
8826
8867
  #
8827
8868
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html
8828
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template-from-existing-launch-template
8869
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#create-launch-template-from-existing-launch-template
8829
8870
  #
8830
8871
  # @option params [Boolean] :dry_run
8831
8872
  # Checks whether you have the required permissions for the action,
@@ -9228,7 +9269,7 @@ module Aws::EC2
9228
9269
  #
9229
9270
  #
9230
9271
  #
9231
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions
9272
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-launch-template-versions.html
9232
9273
  #
9233
9274
  # @option params [Boolean] :dry_run
9234
9275
  # Checks whether you have the required permissions for the action,
@@ -9288,7 +9329,7 @@ module Aws::EC2
9288
9329
  #
9289
9330
  #
9290
9331
  #
9291
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
9332
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
9292
9333
  #
9293
9334
  # @return [Types::CreateLaunchTemplateVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9294
9335
  #
@@ -16782,20 +16823,23 @@ module Aws::EC2
16782
16823
  req.send_request(options)
16783
16824
  end
16784
16825
 
16785
- # Deletes the specified EC2 Fleets.
16786
- #
16787
- # After you delete an EC2 Fleet, it launches no new instances.
16826
+ # Deletes the specified EC2 Fleet request.
16788
16827
  #
16789
- # You must also specify whether a deleted EC2 Fleet should terminate its
16790
- # instances. If you choose to terminate the instances, the EC2 Fleet
16791
- # enters the `deleted_terminating` state. Otherwise, the EC2 Fleet
16792
- # enters the `deleted_running` state, and the instances continue to run
16793
- # until they are interrupted or you terminate them manually.
16828
+ # After you delete an EC2 Fleet request, it launches no new instances.
16794
16829
  #
16795
- # For `instant` fleets, EC2 Fleet must terminate the instances when the
16796
- # fleet is deleted. Up to 1000 instances can be terminated in a single
16797
- # request to delete `instant` fleets. A deleted `instant` fleet with
16798
- # running instances is not supported.
16830
+ # You must also specify whether a deleted EC2 Fleet request should
16831
+ # terminate its instances. If you choose to terminate the instances, the
16832
+ # EC2 Fleet request enters the `deleted_terminating` state. Otherwise,
16833
+ # it enters the `deleted_running` state, and the instances continue to
16834
+ # run until they are interrupted or you terminate them manually.
16835
+ #
16836
+ # A deleted `instant` fleet with running instances is not supported.
16837
+ # When you delete an `instant` fleet, Amazon EC2 automatically
16838
+ # terminates all its instances. For fleets with more than 1000
16839
+ # instances, the deletion request might fail. If your fleet has more
16840
+ # than 1000 instances, first terminate most of the instances manually,
16841
+ # leaving 1000 or fewer. Then delete the fleet, and the remaining
16842
+ # instances will be terminated automatically.
16799
16843
  #
16800
16844
  # **Restrictions**
16801
16845
  #
@@ -16811,12 +16855,12 @@ module Aws::EC2
16811
16855
  # * If you exceed the specified number of fleets to delete, no fleets
16812
16856
  # are deleted.
16813
16857
  #
16814
- # For more information, see [Delete an EC2 Fleet][1] in the *Amazon EC2
16815
- # User Guide*.
16858
+ # For more information, see [Delete an EC2 Fleet request and the
16859
+ # instances in the fleet][1] in the *Amazon EC2 User Guide*.
16816
16860
  #
16817
16861
  #
16818
16862
  #
16819
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#delete-fleet
16863
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/delete-fleet.html
16820
16864
  #
16821
16865
  # @option params [Boolean] :dry_run
16822
16866
  # Checks whether you have the required permissions for the action,
@@ -17566,7 +17610,7 @@ module Aws::EC2
17566
17610
  #
17567
17611
  #
17568
17612
  #
17569
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-launch-template-versions.html#delete-launch-template-version
17613
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/delete-launch-template.html#delete-launch-template-version
17570
17614
  #
17571
17615
  # @option params [Boolean] :dry_run
17572
17616
  # Checks whether you have the required permissions for the action,
@@ -23932,6 +23976,18 @@ module Aws::EC2
23932
23976
  # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.baseline_performance_factors.cpu.references #=> Array
23933
23977
  # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
23934
23978
  # resp.fleets[0].launch_template_configs[0].overrides[0].image_id #=> String
23979
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings #=> Array
23980
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].device_name #=> String
23981
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].virtual_name #=> String
23982
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.encrypted #=> Boolean
23983
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
23984
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.iops #=> Integer
23985
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.throughput #=> Integer
23986
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.kms_key_id #=> String
23987
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.snapshot_id #=> String
23988
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.volume_size #=> Integer
23989
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
23990
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].no_device #=> String
23935
23991
  # resp.fleets[0].target_capacity_specification.total_target_capacity #=> Integer
23936
23992
  # resp.fleets[0].target_capacity_specification.on_demand_target_capacity #=> Integer
23937
23993
  # resp.fleets[0].target_capacity_specification.spot_target_capacity #=> Integer
@@ -24015,6 +24071,18 @@ module Aws::EC2
24015
24071
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references #=> Array
24016
24072
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
24017
24073
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.image_id #=> String
24074
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings #=> Array
24075
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].device_name #=> String
24076
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].virtual_name #=> String
24077
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.encrypted #=> Boolean
24078
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
24079
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.iops #=> Integer
24080
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.throughput #=> Integer
24081
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.kms_key_id #=> String
24082
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.snapshot_id #=> String
24083
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_size #=> Integer
24084
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
24085
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].no_device #=> String
24018
24086
  # resp.fleets[0].errors[0].lifecycle #=> String, one of "spot", "on-demand"
24019
24087
  # resp.fleets[0].errors[0].error_code #=> String
24020
24088
  # resp.fleets[0].errors[0].error_message #=> String
@@ -24073,6 +24141,18 @@ module Aws::EC2
24073
24141
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references #=> Array
24074
24142
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
24075
24143
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.image_id #=> String
24144
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings #=> Array
24145
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].device_name #=> String
24146
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].virtual_name #=> String
24147
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.encrypted #=> Boolean
24148
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
24149
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.iops #=> Integer
24150
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.throughput #=> Integer
24151
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.kms_key_id #=> String
24152
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.snapshot_id #=> String
24153
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_size #=> Integer
24154
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
24155
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].no_device #=> String
24076
24156
  # resp.fleets[0].instances[0].lifecycle #=> String, one of "spot", "on-demand"
24077
24157
  # resp.fleets[0].instances[0].instance_ids #=> Array
24078
24158
  # resp.fleets[0].instances[0].instance_ids[0] #=> String
@@ -28777,7 +28857,7 @@ module Aws::EC2
28777
28857
  #
28778
28858
  #
28779
28859
  #
28780
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
28860
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
28781
28861
  #
28782
28862
  # @return [Types::DescribeLaunchTemplateVersionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
28783
28863
  #
@@ -31729,8 +31809,8 @@ module Aws::EC2
31729
31809
  #
31730
31810
  # If you have a large number of network interfaces, the operation fails
31731
31811
  # unless you use pagination or one of the following filters: `group-id`,
31732
- # `mac-address`, `private-dns-name`, `private-ip-address`,
31733
- # `private-dns-name`, `subnet-id`, or `vpc-id`.
31812
+ # `mac-address`, `private-dns-name`, `private-ip-address`, `subnet-id`,
31813
+ # or `vpc-id`.
31734
31814
  #
31735
31815
  # We strongly recommend using only paginated requests. Unpaginated
31736
31816
  # requests are susceptible to throttling and timeouts.
@@ -49397,6 +49477,23 @@ module Aws::EC2
49397
49477
  # group_id: "PlacementGroupId",
49398
49478
  # availability_zone: "String",
49399
49479
  # },
49480
+ # block_device_mappings: [
49481
+ # {
49482
+ # device_name: "String",
49483
+ # virtual_name: "String",
49484
+ # ebs: {
49485
+ # encrypted: false,
49486
+ # delete_on_termination: false,
49487
+ # iops: 1,
49488
+ # throughput: 1,
49489
+ # kms_key_id: "KmsKeyId",
49490
+ # snapshot_id: "SnapshotId",
49491
+ # volume_size: 1,
49492
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
49493
+ # },
49494
+ # no_device: "String",
49495
+ # },
49496
+ # ],
49400
49497
  # instance_requirements: {
49401
49498
  # v_cpu_count: { # required
49402
49499
  # min: 1, # required
@@ -51487,7 +51584,7 @@ module Aws::EC2
51487
51584
  # @option params [String] :client_token
51488
51585
  # Unique, case-sensitive identifier you provide to ensure the
51489
51586
  # idempotency of the request. For more information, see [Ensuring
51490
- # idempotency][1].
51587
+ # idempotency in Amazon EC2 API requests][1].
51491
51588
  #
51492
51589
  # Constraint: Maximum 128 ASCII characters.
51493
51590
  #
@@ -63229,7 +63326,7 @@ module Aws::EC2
63229
63326
  tracer: tracer
63230
63327
  )
63231
63328
  context[:gem_name] = 'aws-sdk-ec2'
63232
- context[:gem_version] = '1.507.0'
63329
+ context[:gem_version] = '1.508.0'
63233
63330
  Seahorse::Client::Request.new(handlers, context)
63234
63331
  end
63235
63332
 
@@ -238,6 +238,8 @@ module Aws::EC2
238
238
  BlockDeviceMapping = Shapes::StructureShape.new(name: 'BlockDeviceMapping')
239
239
  BlockDeviceMappingList = Shapes::ListShape.new(name: 'BlockDeviceMappingList')
240
240
  BlockDeviceMappingRequestList = Shapes::ListShape.new(name: 'BlockDeviceMappingRequestList')
241
+ BlockDeviceMappingResponse = Shapes::StructureShape.new(name: 'BlockDeviceMappingResponse')
242
+ BlockDeviceMappingResponseList = Shapes::ListShape.new(name: 'BlockDeviceMappingResponseList')
241
243
  BlockPublicAccessMode = Shapes::StringShape.new(name: 'BlockPublicAccessMode')
242
244
  BlockPublicAccessStates = Shapes::StructureShape.new(name: 'BlockPublicAccessStates')
243
245
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -810,6 +812,7 @@ module Aws::EC2
810
812
  DeprovisionPublicIpv4PoolCidrResult = Shapes::StructureShape.new(name: 'DeprovisionPublicIpv4PoolCidrResult')
811
813
  DeprovisionedAddressSet = Shapes::ListShape.new(name: 'DeprovisionedAddressSet')
812
814
  DeregisterImageRequest = Shapes::StructureShape.new(name: 'DeregisterImageRequest')
815
+ DeregisterImageResult = Shapes::StructureShape.new(name: 'DeregisterImageResult')
813
816
  DeregisterInstanceEventNotificationAttributesRequest = Shapes::StructureShape.new(name: 'DeregisterInstanceEventNotificationAttributesRequest')
814
817
  DeregisterInstanceEventNotificationAttributesResult = Shapes::StructureShape.new(name: 'DeregisterInstanceEventNotificationAttributesResult')
815
818
  DeregisterInstanceTagAttributeRequest = Shapes::StructureShape.new(name: 'DeregisterInstanceTagAttributeRequest')
@@ -1331,6 +1334,7 @@ module Aws::EC2
1331
1334
  DrainSeconds = Shapes::IntegerShape.new(name: 'DrainSeconds')
1332
1335
  DynamicRoutingValue = Shapes::StringShape.new(name: 'DynamicRoutingValue')
1333
1336
  EbsBlockDevice = Shapes::StructureShape.new(name: 'EbsBlockDevice')
1337
+ EbsBlockDeviceResponse = Shapes::StructureShape.new(name: 'EbsBlockDeviceResponse')
1334
1338
  EbsEncryptionSupport = Shapes::StringShape.new(name: 'EbsEncryptionSupport')
1335
1339
  EbsInfo = Shapes::StructureShape.new(name: 'EbsInfo')
1336
1340
  EbsInstanceBlockDevice = Shapes::StructureShape.new(name: 'EbsInstanceBlockDevice')
@@ -1485,11 +1489,14 @@ module Aws::EC2
1485
1489
  FirewallStatefulRule = Shapes::StructureShape.new(name: 'FirewallStatefulRule')
1486
1490
  FirewallStatelessRule = Shapes::StructureShape.new(name: 'FirewallStatelessRule')
1487
1491
  FleetActivityStatus = Shapes::StringShape.new(name: 'FleetActivityStatus')
1492
+ FleetBlockDeviceMappingRequest = Shapes::StructureShape.new(name: 'FleetBlockDeviceMappingRequest')
1493
+ FleetBlockDeviceMappingRequestList = Shapes::ListShape.new(name: 'FleetBlockDeviceMappingRequestList')
1488
1494
  FleetCapacityReservation = Shapes::StructureShape.new(name: 'FleetCapacityReservation')
1489
1495
  FleetCapacityReservationSet = Shapes::ListShape.new(name: 'FleetCapacityReservationSet')
1490
1496
  FleetCapacityReservationTenancy = Shapes::StringShape.new(name: 'FleetCapacityReservationTenancy')
1491
1497
  FleetCapacityReservationUsageStrategy = Shapes::StringShape.new(name: 'FleetCapacityReservationUsageStrategy')
1492
1498
  FleetData = Shapes::StructureShape.new(name: 'FleetData')
1499
+ FleetEbsBlockDeviceRequest = Shapes::StructureShape.new(name: 'FleetEbsBlockDeviceRequest')
1493
1500
  FleetEventType = Shapes::StringShape.new(name: 'FleetEventType')
1494
1501
  FleetExcessCapacityTerminationPolicy = Shapes::StringShape.new(name: 'FleetExcessCapacityTerminationPolicy')
1495
1502
  FleetId = Shapes::StringShape.new(name: 'FleetId')
@@ -4200,6 +4207,14 @@ module Aws::EC2
4200
4207
 
4201
4208
  BlockDeviceMappingRequestList.member = Shapes::ShapeRef.new(shape: BlockDeviceMapping, location_name: "BlockDeviceMapping")
4202
4209
 
4210
+ BlockDeviceMappingResponse.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "deviceName"))
4211
+ BlockDeviceMappingResponse.add_member(:virtual_name, Shapes::ShapeRef.new(shape: String, location_name: "virtualName"))
4212
+ BlockDeviceMappingResponse.add_member(:ebs, Shapes::ShapeRef.new(shape: EbsBlockDeviceResponse, location_name: "ebs"))
4213
+ BlockDeviceMappingResponse.add_member(:no_device, Shapes::ShapeRef.new(shape: String, location_name: "noDevice"))
4214
+ BlockDeviceMappingResponse.struct_class = Types::BlockDeviceMappingResponse
4215
+
4216
+ BlockDeviceMappingResponseList.member = Shapes::ShapeRef.new(shape: BlockDeviceMappingResponse, location_name: "item")
4217
+
4203
4218
  BlockPublicAccessStates.add_member(:internet_gateway_block_mode, Shapes::ShapeRef.new(shape: BlockPublicAccessMode, location_name: "internetGatewayBlockMode"))
4204
4219
  BlockPublicAccessStates.struct_class = Types::BlockPublicAccessStates
4205
4220
 
@@ -6632,6 +6647,8 @@ module Aws::EC2
6632
6647
  DeregisterImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6633
6648
  DeregisterImageRequest.struct_class = Types::DeregisterImageRequest
6634
6649
 
6650
+ DeregisterImageResult.struct_class = Types::DeregisterImageResult
6651
+
6635
6652
  DeregisterInstanceEventNotificationAttributesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6636
6653
  DeregisterInstanceEventNotificationAttributesRequest.add_member(:instance_tag_attribute, Shapes::ShapeRef.new(shape: DeregisterInstanceTagAttributeRequest, required: true, location_name: "InstanceTagAttribute"))
6637
6654
  DeregisterInstanceEventNotificationAttributesRequest.struct_class = Types::DeregisterInstanceEventNotificationAttributesRequest
@@ -8860,6 +8877,16 @@ module Aws::EC2
8860
8877
  EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
8861
8878
  EbsBlockDevice.struct_class = Types::EbsBlockDevice
8862
8879
 
8880
+ EbsBlockDeviceResponse.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
8881
+ EbsBlockDeviceResponse.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
8882
+ EbsBlockDeviceResponse.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "iops"))
8883
+ EbsBlockDeviceResponse.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
8884
+ EbsBlockDeviceResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
8885
+ EbsBlockDeviceResponse.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
8886
+ EbsBlockDeviceResponse.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
8887
+ EbsBlockDeviceResponse.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
8888
+ EbsBlockDeviceResponse.struct_class = Types::EbsBlockDeviceResponse
8889
+
8863
8890
  EbsInfo.add_member(:ebs_optimized_support, Shapes::ShapeRef.new(shape: EbsOptimizedSupport, location_name: "ebsOptimizedSupport"))
8864
8891
  EbsInfo.add_member(:encryption_support, Shapes::ShapeRef.new(shape: EbsEncryptionSupport, location_name: "encryptionSupport"))
8865
8892
  EbsInfo.add_member(:ebs_optimized_info, Shapes::ShapeRef.new(shape: EbsOptimizedInfo, location_name: "ebsOptimizedInfo"))
@@ -9419,6 +9446,14 @@ module Aws::EC2
9419
9446
  FirewallStatelessRule.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "priority"))
9420
9447
  FirewallStatelessRule.struct_class = Types::FirewallStatelessRule
9421
9448
 
9449
+ FleetBlockDeviceMappingRequest.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "DeviceName"))
9450
+ FleetBlockDeviceMappingRequest.add_member(:virtual_name, Shapes::ShapeRef.new(shape: String, location_name: "VirtualName"))
9451
+ FleetBlockDeviceMappingRequest.add_member(:ebs, Shapes::ShapeRef.new(shape: FleetEbsBlockDeviceRequest, location_name: "Ebs"))
9452
+ FleetBlockDeviceMappingRequest.add_member(:no_device, Shapes::ShapeRef.new(shape: String, location_name: "NoDevice"))
9453
+ FleetBlockDeviceMappingRequest.struct_class = Types::FleetBlockDeviceMappingRequest
9454
+
9455
+ FleetBlockDeviceMappingRequestList.member = Shapes::ShapeRef.new(shape: FleetBlockDeviceMappingRequest, location_name: "BlockDeviceMapping")
9456
+
9422
9457
  FleetCapacityReservation.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "capacityReservationId"))
9423
9458
  FleetCapacityReservation.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
9424
9459
  FleetCapacityReservation.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
@@ -9457,6 +9492,16 @@ module Aws::EC2
9457
9492
  FleetData.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
9458
9493
  FleetData.struct_class = Types::FleetData
9459
9494
 
9495
+ FleetEbsBlockDeviceRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
9496
+ FleetEbsBlockDeviceRequest.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteOnTermination"))
9497
+ FleetEbsBlockDeviceRequest.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
9498
+ FleetEbsBlockDeviceRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "Throughput"))
9499
+ FleetEbsBlockDeviceRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
9500
+ FleetEbsBlockDeviceRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
9501
+ FleetEbsBlockDeviceRequest.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "VolumeSize"))
9502
+ FleetEbsBlockDeviceRequest.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
9503
+ FleetEbsBlockDeviceRequest.struct_class = Types::FleetEbsBlockDeviceRequest
9504
+
9460
9505
  FleetIdSet.member = Shapes::ShapeRef.new(shape: FleetId)
9461
9506
 
9462
9507
  FleetLaunchTemplateConfig.add_member(:launch_template_specification, Shapes::ShapeRef.new(shape: FleetLaunchTemplateSpecification, location_name: "launchTemplateSpecification"))
@@ -9480,6 +9525,7 @@ module Aws::EC2
9480
9525
  FleetLaunchTemplateOverrides.add_member(:placement, Shapes::ShapeRef.new(shape: PlacementResponse, location_name: "placement"))
9481
9526
  FleetLaunchTemplateOverrides.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirements, location_name: "instanceRequirements"))
9482
9527
  FleetLaunchTemplateOverrides.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
9528
+ FleetLaunchTemplateOverrides.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingResponseList, location_name: "blockDeviceMappingSet"))
9483
9529
  FleetLaunchTemplateOverrides.struct_class = Types::FleetLaunchTemplateOverrides
9484
9530
 
9485
9531
  FleetLaunchTemplateOverridesList.member = Shapes::ShapeRef.new(shape: FleetLaunchTemplateOverrides, location_name: "item")
@@ -9493,6 +9539,7 @@ module Aws::EC2
9493
9539
  FleetLaunchTemplateOverridesRequest.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "WeightedCapacity"))
9494
9540
  FleetLaunchTemplateOverridesRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "Priority"))
9495
9541
  FleetLaunchTemplateOverridesRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "Placement"))
9542
+ FleetLaunchTemplateOverridesRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: FleetBlockDeviceMappingRequestList, location_name: "BlockDeviceMapping"))
9496
9543
  FleetLaunchTemplateOverridesRequest.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "InstanceRequirements"))
9497
9544
  FleetLaunchTemplateOverridesRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
9498
9545
  FleetLaunchTemplateOverridesRequest.struct_class = Types::FleetLaunchTemplateOverridesRequest
@@ -18616,7 +18663,7 @@ module Aws::EC2
18616
18663
  o.http_method = "POST"
18617
18664
  o.http_request_uri = "/"
18618
18665
  o.input = Shapes::ShapeRef.new(shape: DeregisterImageRequest)
18619
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
18666
+ o.output = Shapes::ShapeRef.new(shape: DeregisterImageResult)
18620
18667
  end)
18621
18668
 
18622
18669
  api.add_operation(:deregister_instance_event_notification_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -613,7 +613,7 @@ module Aws::EC2
613
613
  # without actually making the request, and provides an error response.
614
614
  # If you have the required permissions, the error response is
615
615
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
616
- # @return [EmptyStructure]
616
+ # @return [Types::DeregisterImageResult]
617
617
  def deregister(options = {})
618
618
  options = options.merge(image_id: @id)
619
619
  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do