aws-sdk-ec2 1.450.0 → 1.452.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cfc2713df2791836117e0645f8d70d719af91828a8ce406f187196faa552956
4
- data.tar.gz: 8eb7d7743cc6ab220eea905d959716d84775cd38971b5dfa6ee7f7cd84edec56
3
+ metadata.gz: 5df31c3f9250bbebf4130e20f778bb9323fee4f1f7476ccf7e0882237c4ebdf2
4
+ data.tar.gz: 6368a45284c04e9de4d929607b22ef8a63c4c371ed90e39b69eb1dff8fc70e4f
5
5
  SHA512:
6
- metadata.gz: e72e2c60f3ecf42df7b2109aae11fff024c7b5ebdb1994af48891fd4a3651c98cf2f6f8884db8470779ed78d27cbc5bf1a17ccf06ee17a661a50b0f0170f46d1
7
- data.tar.gz: 518c09399e4b341b00497ecc19458a49d5b04ff1fe38bc2d49aed35762f5ebe2b9c7aee5021bf4168af621724469cf806a3dda2537532e1642d6fd68df6033ce
6
+ metadata.gz: cccc1a48d45a35ee635eeabd25c33d9d2f9b8cbcf6bd0cc5bbd4afebb290ade3cc761c4c3d06fc010245c69cc4a6372af6bb8da9601b035a753ce0f04f0baafc
7
+ data.tar.gz: 17e8edb5d032d95ebbff8f0b33b658a09ffd7714751caadda640524bbdffad992dd541e147dcf2afe2fe41f212bb962aedbad450064288b9981e0fe1daf732f3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.452.0 (2024-04-24)
5
+ ------------------
6
+
7
+ * Feature - Launching capability for customers to enable or disable automatic assignment of public IPv4 addresses to their network interface
8
+
9
+ 1.451.0 (2024-04-23)
10
+ ------------------
11
+
12
+ * Feature - This release introduces EC2 AMI Deregistration Protection, a new AMI property that can be enabled by customers to protect an AMI against an unintended deregistration. This release also enables the AMI owners to view the AMI 'LastLaunchedTime' in DescribeImages API.
13
+
4
14
  1.450.0 (2024-04-17)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.450.0
1
+ 1.452.0
@@ -6050,8 +6050,8 @@ module Aws::EC2
6050
6050
  # supported. For more information about NetBIOS node types, see [RFC
6051
6051
  # 2132][2].
6052
6052
  #
6053
- # * `ipv6-preferred-lease-time` - A value (in seconds, minutes, hours,
6054
- # or years) for how frequently a running instance with an IPv6
6053
+ # * `ipv6-address-preferred-lease-time` - A value (in seconds, minutes,
6054
+ # hours, or years) for how frequently a running instance with an IPv6
6055
6055
  # assigned to it goes through DHCPv6 lease renewal. Acceptable values
6056
6056
  # are between 140 and 2147483647 seconds (approximately 68 years). If
6057
6057
  # no value is entered, the default lease time is 140 seconds. If you
@@ -8126,11 +8126,11 @@ module Aws::EC2
8126
8126
  # For more information, see [Launch an instance from a launch
8127
8127
  # template][1] in the *Amazon Elastic Compute Cloud User Guide*.
8128
8128
  #
8129
- # If you want to clone an existing launch template as the basis for
8130
- # creating a new launch template, you can use the Amazon EC2 console.
8131
- # The API, SDKs, and CLI do not support cloning a template. For more
8132
- # information, see [Create a launch template from an existing launch
8133
- # template][2] in the *Amazon Elastic Compute Cloud User Guide*.
8129
+ # To clone an existing launch template as the basis for a new launch
8130
+ # template, use the Amazon EC2 console. The API, SDKs, and CLI do not
8131
+ # support cloning a template. For more information, see [Create a launch
8132
+ # template from an existing launch template][2] in the *Amazon Elastic
8133
+ # Compute Cloud User Guide*.
8134
8134
  #
8135
8135
  #
8136
8136
  #
@@ -8167,12 +8167,10 @@ module Aws::EC2
8167
8167
  # The tags to apply to the launch template on creation. To tag the
8168
8168
  # launch template, the resource type must be `launch-template`.
8169
8169
  #
8170
- # <note markdown="1"> To specify the tags for the resources that are created when an
8170
+ # To specify the tags for the resources that are created when an
8171
8171
  # instance is launched, you must use the `TagSpecifications` parameter
8172
8172
  # in the [launch template data][1] structure.
8173
8173
  #
8174
- # </note>
8175
- #
8176
8174
  #
8177
8175
  #
8178
8176
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html
@@ -8499,17 +8497,18 @@ module Aws::EC2
8499
8497
  req.send_request(options)
8500
8498
  end
8501
8499
 
8502
- # Creates a new version of a launch template. You can specify an
8503
- # existing version of launch template from which to base the new
8504
- # version.
8500
+ # Creates a new version of a launch template. You must specify an
8501
+ # existing launch template, either by name or ID. You can determine
8502
+ # whether the new version inherits parameters from a source version, and
8503
+ # add or overwrite parameters as needed.
8505
8504
  #
8506
8505
  # Launch template versions are numbered in the order in which they are
8507
- # created. You cannot specify, change, or replace the numbering of
8506
+ # created. You can't specify, change, or replace the numbering of
8508
8507
  # launch template versions.
8509
8508
  #
8510
8509
  # Launch templates are immutable; after you create a launch template,
8511
8510
  # you can't modify it. Instead, you can create a new version of the
8512
- # launch template that includes any changes you require.
8511
+ # launch template that includes the changes that you require.
8513
8512
  #
8514
8513
  # For more information, see [Modify a launch template (manage launch
8515
8514
  # template versions)][1] in the *Amazon Elastic Compute Cloud User
@@ -8539,22 +8538,27 @@ module Aws::EC2
8539
8538
  # @option params [String] :launch_template_id
8540
8539
  # The ID of the launch template.
8541
8540
  #
8542
- # You must specify either the `LaunchTemplateId` or the
8543
- # `LaunchTemplateName`, but not both.
8541
+ # You must specify either the launch template ID or the launch template
8542
+ # name, but not both.
8544
8543
  #
8545
8544
  # @option params [String] :launch_template_name
8546
8545
  # The name of the launch template.
8547
8546
  #
8548
- # You must specify the `LaunchTemplateName` or the `LaunchTemplateId`,
8549
- # but not both.
8547
+ # You must specify either the launch template ID or the launch template
8548
+ # name, but not both.
8550
8549
  #
8551
8550
  # @option params [String] :source_version
8552
- # The version number of the launch template version on which to base the
8553
- # new version. The new version inherits the same launch parameters as
8554
- # the source version, except for parameters that you specify in
8555
- # `LaunchTemplateData`. Snapshots applied to the block device mapping
8556
- # are ignored when creating a new version unless they are explicitly
8557
- # included.
8551
+ # The version of the launch template on which to base the new version.
8552
+ # Snapshots applied to the block device mapping are ignored when
8553
+ # creating a new version unless they are explicitly included.
8554
+ #
8555
+ # If you specify this parameter, the new version inherits the launch
8556
+ # parameters from the source version. If you specify additional launch
8557
+ # parameters for the new version, they overwrite any corresponding
8558
+ # launch parameters inherited from the source version.
8559
+ #
8560
+ # If you omit this parameter, the new version contains only the launch
8561
+ # parameters that you specify for the new version.
8558
8562
  #
8559
8563
  # @option params [String] :version_description
8560
8564
  # A description for the version of the launch template.
@@ -16374,14 +16378,14 @@ module Aws::EC2
16374
16378
  # @option params [String] :launch_template_id
16375
16379
  # The ID of the launch template.
16376
16380
  #
16377
- # You must specify either the `LaunchTemplateId` or the
16378
- # `LaunchTemplateName`, but not both.
16381
+ # You must specify either the launch template ID or the launch template
16382
+ # name, but not both.
16379
16383
  #
16380
16384
  # @option params [String] :launch_template_name
16381
16385
  # The name of the launch template.
16382
16386
  #
16383
- # You must specify either the `LaunchTemplateName` or the
16384
- # `LaunchTemplateId`, but not both.
16387
+ # You must specify either the launch template ID or the launch template
16388
+ # name, but not both.
16385
16389
  #
16386
16390
  # @return [Types::DeleteLaunchTemplateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
16387
16391
  #
@@ -16465,14 +16469,14 @@ module Aws::EC2
16465
16469
  # @option params [String] :launch_template_id
16466
16470
  # The ID of the launch template.
16467
16471
  #
16468
- # You must specify either the `LaunchTemplateId` or the
16469
- # `LaunchTemplateName`, but not both.
16472
+ # You must specify either the launch template ID or the launch template
16473
+ # name, but not both.
16470
16474
  #
16471
16475
  # @option params [String] :launch_template_name
16472
16476
  # The name of the launch template.
16473
16477
  #
16474
- # You must specify either the `LaunchTemplateName` or the
16475
- # `LaunchTemplateId`, but not both.
16478
+ # You must specify either the launch template ID or the launch template
16479
+ # name, but not both.
16476
16480
  #
16477
16481
  # @option params [required, Array<String>] :versions
16478
16482
  # The version numbers of one or more launch template versions to delete.
@@ -23360,6 +23364,7 @@ module Aws::EC2
23360
23364
  # * {Types::ImageAttribute#uefi_data #uefi_data} => Types::AttributeValue
23361
23365
  # * {Types::ImageAttribute#last_launched_time #last_launched_time} => Types::AttributeValue
23362
23366
  # * {Types::ImageAttribute#imds_support #imds_support} => Types::AttributeValue
23367
+ # * {Types::ImageAttribute#deregistration_protection #deregistration_protection} => Types::AttributeValue
23363
23368
  #
23364
23369
  #
23365
23370
  # @example Example: To describe the launch permissions for an AMI
@@ -23384,7 +23389,7 @@ module Aws::EC2
23384
23389
  # @example Request syntax with placeholder values
23385
23390
  #
23386
23391
  # resp = client.describe_image_attribute({
23387
- # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode, tpmSupport, uefiData, lastLaunchedTime, imdsSupport
23392
+ # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode, tpmSupport, uefiData, lastLaunchedTime, imdsSupport, deregistrationProtection
23388
23393
  # image_id: "ImageId", # required
23389
23394
  # dry_run: false,
23390
23395
  # })
@@ -23422,6 +23427,7 @@ module Aws::EC2
23422
23427
  # resp.uefi_data #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
23423
23428
  # resp.last_launched_time #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
23424
23429
  # resp.imds_support #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
23430
+ # resp.deregistration_protection #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
23425
23431
  #
23426
23432
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttribute AWS API Documentation
23427
23433
  #
@@ -23445,6 +23451,9 @@ module Aws::EC2
23445
23451
  # image will eventually return an error indicating that the AMI ID
23446
23452
  # cannot be found.
23447
23453
  #
23454
+ # We strongly recommend using only paginated requests. Unpaginated
23455
+ # requests are susceptible to throttling and timeouts.
23456
+ #
23448
23457
  # <note markdown="1"> The order of the elements in the response, including those within
23449
23458
  # nested structures, might vary. Applications should not assume the
23450
23459
  # elements appear in a particular order.
@@ -23741,6 +23750,8 @@ module Aws::EC2
23741
23750
  # resp.images[0].deprecation_time #=> String
23742
23751
  # resp.images[0].imds_support #=> String, one of "v2.0"
23743
23752
  # resp.images[0].source_instance_id #=> String
23753
+ # resp.images[0].deregistration_protection #=> String
23754
+ # resp.images[0].last_launched_time #=> String
23744
23755
  # resp.next_token #=> String
23745
23756
  #
23746
23757
  #
@@ -25254,6 +25265,9 @@ module Aws::EC2
25254
25265
  # the call fails. If you describe instances and specify only instance
25255
25266
  # IDs that are in an unaffected zone, the call works normally.
25256
25267
  #
25268
+ # We strongly recommend using only paginated requests. Unpaginated
25269
+ # requests are susceptible to throttling and timeouts.
25270
+ #
25257
25271
  # <note markdown="1"> The order of the elements in the response, including those within
25258
25272
  # nested structures, might vary. Applications should not assume the
25259
25273
  # elements appear in a particular order.
@@ -26762,8 +26776,8 @@ module Aws::EC2
26762
26776
  # The ID of the launch template.
26763
26777
  #
26764
26778
  # To describe one or more versions of a specified launch template, you
26765
- # must specify either the `LaunchTemplateId` or the
26766
- # `LaunchTemplateName`, but not both.
26779
+ # must specify either the launch template ID or the launch template
26780
+ # name, but not both.
26767
26781
  #
26768
26782
  # To describe all the latest or default launch template versions in your
26769
26783
  # account, you must omit this parameter.
@@ -26772,8 +26786,8 @@ module Aws::EC2
26772
26786
  # The name of the launch template.
26773
26787
  #
26774
26788
  # To describe one or more versions of a specified launch template, you
26775
- # must specify either the `LaunchTemplateName` or the
26776
- # `LaunchTemplateId`, but not both.
26789
+ # must specify either the launch template name or the launch template
26790
+ # ID, but not both.
26777
26791
  #
26778
26792
  # To describe all the latest or default launch template versions in your
26779
26793
  # account, you must omit this parameter.
@@ -29595,6 +29609,7 @@ module Aws::EC2
29595
29609
  # * {Types::DescribeNetworkInterfaceAttributeResult#groups #groups} => Array&lt;Types::GroupIdentifier&gt;
29596
29610
  # * {Types::DescribeNetworkInterfaceAttributeResult#network_interface_id #network_interface_id} => String
29597
29611
  # * {Types::DescribeNetworkInterfaceAttributeResult#source_dest_check #source_dest_check} => Types::AttributeBooleanValue
29612
+ # * {Types::DescribeNetworkInterfaceAttributeResult#associate_public_ip_address #associate_public_ip_address} => Boolean
29598
29613
  #
29599
29614
  #
29600
29615
  # @example Example: To describe the attachment attribute of a network interface
@@ -29677,7 +29692,7 @@ module Aws::EC2
29677
29692
  # @example Request syntax with placeholder values
29678
29693
  #
29679
29694
  # resp = client.describe_network_interface_attribute({
29680
- # attribute: "description", # accepts description, groupSet, sourceDestCheck, attachment
29695
+ # attribute: "description", # accepts description, groupSet, sourceDestCheck, attachment, associatePublicIpAddress
29681
29696
  # dry_run: false,
29682
29697
  # network_interface_id: "NetworkInterfaceId", # required
29683
29698
  # })
@@ -29700,6 +29715,7 @@ module Aws::EC2
29700
29715
  # resp.groups[0].group_id #=> String
29701
29716
  # resp.network_interface_id #=> String
29702
29717
  # resp.source_dest_check.value #=> Boolean
29718
+ # resp.associate_public_ip_address #=> Boolean
29703
29719
  #
29704
29720
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttribute AWS API Documentation
29705
29721
  #
@@ -29795,6 +29811,9 @@ module Aws::EC2
29795
29811
  # `mac-address`, `private-dns-name`, `private-ip-address`,
29796
29812
  # `private-dns-name`, `subnet-id`, or `vpc-id`.
29797
29813
  #
29814
+ # We strongly recommend using only paginated requests. Unpaginated
29815
+ # requests are susceptible to throttling and timeouts.
29816
+ #
29798
29817
  # @option params [Array<Types::Filter>] :filters
29799
29818
  # One or more filters.
29800
29819
  #
@@ -32240,6 +32259,9 @@ module Aws::EC2
32240
32259
  # For more information about EBS snapshots, see [Amazon EBS
32241
32260
  # snapshots][2] in the *Amazon EBS User Guide*.
32242
32261
  #
32262
+ # We strongly recommend using only paginated requests. Unpaginated
32263
+ # requests are susceptible to throttling and timeouts.
32264
+ #
32243
32265
  #
32244
32266
  #
32245
32267
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
@@ -33981,6 +34003,9 @@ module Aws::EC2
33981
34003
  # For more information about tags, see [Tag your Amazon EC2
33982
34004
  # resources][1] in the *Amazon Elastic Compute Cloud User Guide*.
33983
34005
  #
34006
+ # We strongly recommend using only paginated requests. Unpaginated
34007
+ # requests are susceptible to throttling and timeouts.
34008
+ #
33984
34009
  # <note markdown="1"> The order of the elements in the response, including those within
33985
34010
  # nested structures, might vary. Applications should not assume the
33986
34011
  # elements appear in a particular order.
@@ -34004,16 +34029,8 @@ module Aws::EC2
34004
34029
  #
34005
34030
  # * `resource-id` - The ID of the resource.
34006
34031
  #
34007
- # * `resource-type` - The resource type (`customer-gateway` \|
34008
- # `dedicated-host` \| `dhcp-options` \| `elastic-ip` \| `fleet` \|
34009
- # `fpga-image` \| `host-reservation` \| `image` \| `instance` \|
34010
- # `internet-gateway` \| `key-pair` \| `launch-template` \|
34011
- # `natgateway` \| `network-acl` \| `network-interface` \|
34012
- # `placement-group` \| `reserved-instances` \| `route-table` \|
34013
- # `security-group` \| `snapshot` \| `spot-instances-request` \|
34014
- # `subnet` \| `volume` \| `vpc` \| `vpc-endpoint` \|
34015
- # `vpc-endpoint-service` \| `vpc-peering-connection` \|
34016
- # `vpn-connection` \| `vpn-gateway`).
34032
+ # * `resource-type` - The resource type. For a list of possible values,
34033
+ # see [TagSpecification][1].
34017
34034
  #
34018
34035
  # * `tag`:&lt;key&gt; - The key/value combination of the tag. For
34019
34036
  # example, specify "tag:Owner" for the filter name and "TeamA" for
@@ -34021,6 +34038,10 @@ module Aws::EC2
34021
34038
  #
34022
34039
  # * `value` - The tag value.
34023
34040
  #
34041
+ #
34042
+ #
34043
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TagSpecification.html
34044
+ #
34024
34045
  # @option params [Integer] :max_results
34025
34046
  # The maximum number of items to return for this request. This value can
34026
34047
  # be between 5 and 1000. To get the next page of items, make another
@@ -36026,6 +36047,9 @@ module Aws::EC2
36026
36047
  # For more information about EBS volumes, see [Amazon EBS volumes][2] in
36027
36048
  # the *Amazon EBS User Guide*.
36028
36049
  #
36050
+ # We strongly recommend using only paginated requests. Unpaginated
36051
+ # requests are susceptible to throttling and timeouts.
36052
+ #
36029
36053
  # <note markdown="1"> The order of the elements in the response, including those within
36030
36054
  # nested structures, might vary. Applications should not assume the
36031
36055
  # elements appear in a particular order.
@@ -38552,6 +38576,54 @@ module Aws::EC2
38552
38576
  req.send_request(options)
38553
38577
  end
38554
38578
 
38579
+ # Disables deregistration protection for an AMI. When deregistration
38580
+ # protection is disabled, the AMI can be deregistered.
38581
+ #
38582
+ # If you chose to include a 24-hour cooldown period when you enabled
38583
+ # deregistration protection for the AMI, then, when you disable
38584
+ # deregistration protection, you won’t immediately be able to deregister
38585
+ # the AMI.
38586
+ #
38587
+ # For more information, see [Protect an AMI from deregistration][1] in
38588
+ # the *Amazon EC2 User Guide*.
38589
+ #
38590
+ #
38591
+ #
38592
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html#ami-deregistration-protection
38593
+ #
38594
+ # @option params [required, String] :image_id
38595
+ # The ID of the AMI.
38596
+ #
38597
+ # @option params [Boolean] :dry_run
38598
+ # Checks whether you have the required permissions for the action,
38599
+ # without actually making the request, and provides an error response.
38600
+ # If you have the required permissions, the error response is
38601
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
38602
+ #
38603
+ # @return [Types::DisableImageDeregistrationProtectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
38604
+ #
38605
+ # * {Types::DisableImageDeregistrationProtectionResult#return #return} => String
38606
+ #
38607
+ # @example Request syntax with placeholder values
38608
+ #
38609
+ # resp = client.disable_image_deregistration_protection({
38610
+ # image_id: "ImageId", # required
38611
+ # dry_run: false,
38612
+ # })
38613
+ #
38614
+ # @example Response structure
38615
+ #
38616
+ # resp.return #=> String
38617
+ #
38618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableImageDeregistrationProtection AWS API Documentation
38619
+ #
38620
+ # @overload disable_image_deregistration_protection(params = {})
38621
+ # @param [Hash] params ({})
38622
+ def disable_image_deregistration_protection(params = {}, options = {})
38623
+ req = build_request(:disable_image_deregistration_protection, params)
38624
+ req.send_request(options)
38625
+ end
38626
+
38555
38627
  # Disable the IPAM account. For more information, see [Enable
38556
38628
  # integration with Organizations][1] in the *Amazon VPC IPAM User
38557
38629
  # Guide*.
@@ -40096,6 +40168,57 @@ module Aws::EC2
40096
40168
  req.send_request(options)
40097
40169
  end
40098
40170
 
40171
+ # Enables deregistration protection for an AMI. When deregistration
40172
+ # protection is enabled, the AMI can't be deregistered.
40173
+ #
40174
+ # To allow the AMI to be deregistered, you must first disable
40175
+ # deregistration protection using DisableImageDeregistrationProtection.
40176
+ #
40177
+ # For more information, see [Protect an AMI from deregistration][1] in
40178
+ # the *Amazon EC2 User Guide*.
40179
+ #
40180
+ #
40181
+ #
40182
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html#ami-deregistration-protection
40183
+ #
40184
+ # @option params [required, String] :image_id
40185
+ # The ID of the AMI.
40186
+ #
40187
+ # @option params [Boolean] :with_cooldown
40188
+ # If `true`, enforces deregistration protection for 24 hours after
40189
+ # deregistration protection is disabled.
40190
+ #
40191
+ # @option params [Boolean] :dry_run
40192
+ # Checks whether you have the required permissions for the action,
40193
+ # without actually making the request, and provides an error response.
40194
+ # If you have the required permissions, the error response is
40195
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
40196
+ #
40197
+ # @return [Types::EnableImageDeregistrationProtectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
40198
+ #
40199
+ # * {Types::EnableImageDeregistrationProtectionResult#return #return} => String
40200
+ #
40201
+ # @example Request syntax with placeholder values
40202
+ #
40203
+ # resp = client.enable_image_deregistration_protection({
40204
+ # image_id: "ImageId", # required
40205
+ # with_cooldown: false,
40206
+ # dry_run: false,
40207
+ # })
40208
+ #
40209
+ # @example Response structure
40210
+ #
40211
+ # resp.return #=> String
40212
+ #
40213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableImageDeregistrationProtection AWS API Documentation
40214
+ #
40215
+ # @overload enable_image_deregistration_protection(params = {})
40216
+ # @param [Hash] params ({})
40217
+ def enable_image_deregistration_protection(params = {}, options = {})
40218
+ req = build_request(:enable_image_deregistration_protection, params)
40219
+ req.send_request(options)
40220
+ end
40221
+
40099
40222
  # Enable an Organizations member account as the IPAM admin account. You
40100
40223
  # cannot select the Organizations management account as the IPAM admin
40101
40224
  # account. For more information, see [Enable integration with
@@ -48141,14 +48264,14 @@ module Aws::EC2
48141
48264
  # @option params [String] :launch_template_id
48142
48265
  # The ID of the launch template.
48143
48266
  #
48144
- # You must specify either the `LaunchTemplateId` or the
48145
- # `LaunchTemplateName`, but not both.
48267
+ # You must specify either the launch template ID or the launch template
48268
+ # name, but not both.
48146
48269
  #
48147
48270
  # @option params [String] :launch_template_name
48148
48271
  # The name of the launch template.
48149
48272
  #
48150
- # You must specify either the `LaunchTemplateName` or the
48151
- # `LaunchTemplateId`, but not both.
48273
+ # You must specify either the launch template ID or the launch template
48274
+ # name, but not both.
48152
48275
  #
48153
48276
  # @option params [String] :default_version
48154
48277
  # The version number of the launch template to set as the default
@@ -48423,6 +48546,11 @@ module Aws::EC2
48423
48546
  # @option params [Types::ConnectionTrackingSpecificationRequest] :connection_tracking_specification
48424
48547
  # A connection tracking specification.
48425
48548
  #
48549
+ # @option params [Boolean] :associate_public_ip_address
48550
+ # Indicates whether to assign a public IPv4 address to a network
48551
+ # interface. This option can be enabled for any network interface but
48552
+ # will only apply to the primary network interface (eth0).
48553
+ #
48426
48554
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
48427
48555
  #
48428
48556
  #
@@ -48498,6 +48626,7 @@ module Aws::EC2
48498
48626
  # udp_stream_timeout: 1,
48499
48627
  # udp_timeout: 1,
48500
48628
  # },
48629
+ # associate_public_ip_address: false,
48501
48630
  # })
48502
48631
  #
48503
48632
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute AWS API Documentation
@@ -56131,10 +56260,9 @@ module Aws::EC2
56131
56260
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
56132
56261
  #
56133
56262
  # @option params [Types::LaunchTemplateSpecification] :launch_template
56134
- # The launch template to use to launch the instances. Any parameters
56135
- # that you specify in RunInstances override the same parameters in the
56136
- # launch template. You can specify either the name or ID of a launch
56137
- # template, but not both.
56263
+ # The launch template. Any additional parameters that you specify for
56264
+ # the new instance overwrite the corresponding parameters included in
56265
+ # the launch template.
56138
56266
  #
56139
56267
  # @option params [Types::InstanceMarketOptionsRequest] :instance_market_options
56140
56268
  # The market (purchasing) option for the instances.
@@ -59142,7 +59270,7 @@ module Aws::EC2
59142
59270
  params: params,
59143
59271
  config: config)
59144
59272
  context[:gem_name] = 'aws-sdk-ec2'
59145
- context[:gem_version] = '1.450.0'
59273
+ context[:gem_version] = '1.452.0'
59146
59274
  Seahorse::Client::Request.new(handlers, context)
59147
59275
  end
59148
59276
 
@@ -1168,6 +1168,8 @@ module Aws::EC2
1168
1168
  DisableImageBlockPublicAccessResult = Shapes::StructureShape.new(name: 'DisableImageBlockPublicAccessResult')
1169
1169
  DisableImageDeprecationRequest = Shapes::StructureShape.new(name: 'DisableImageDeprecationRequest')
1170
1170
  DisableImageDeprecationResult = Shapes::StructureShape.new(name: 'DisableImageDeprecationResult')
1171
+ DisableImageDeregistrationProtectionRequest = Shapes::StructureShape.new(name: 'DisableImageDeregistrationProtectionRequest')
1172
+ DisableImageDeregistrationProtectionResult = Shapes::StructureShape.new(name: 'DisableImageDeregistrationProtectionResult')
1171
1173
  DisableImageRequest = Shapes::StructureShape.new(name: 'DisableImageRequest')
1172
1174
  DisableImageResult = Shapes::StructureShape.new(name: 'DisableImageResult')
1173
1175
  DisableIpamOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'DisableIpamOrganizationAdminAccountRequest')
@@ -1300,6 +1302,8 @@ module Aws::EC2
1300
1302
  EnableImageBlockPublicAccessResult = Shapes::StructureShape.new(name: 'EnableImageBlockPublicAccessResult')
1301
1303
  EnableImageDeprecationRequest = Shapes::StructureShape.new(name: 'EnableImageDeprecationRequest')
1302
1304
  EnableImageDeprecationResult = Shapes::StructureShape.new(name: 'EnableImageDeprecationResult')
1305
+ EnableImageDeregistrationProtectionRequest = Shapes::StructureShape.new(name: 'EnableImageDeregistrationProtectionRequest')
1306
+ EnableImageDeregistrationProtectionResult = Shapes::StructureShape.new(name: 'EnableImageDeregistrationProtectionResult')
1303
1307
  EnableImageRequest = Shapes::StructureShape.new(name: 'EnableImageRequest')
1304
1308
  EnableImageResult = Shapes::StructureShape.new(name: 'EnableImageResult')
1305
1309
  EnableIpamOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'EnableIpamOrganizationAdminAccountRequest')
@@ -7119,6 +7123,7 @@ module Aws::EC2
7119
7123
  DescribeNetworkInterfaceAttributeResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
7120
7124
  DescribeNetworkInterfaceAttributeResult.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "networkInterfaceId"))
7121
7125
  DescribeNetworkInterfaceAttributeResult.add_member(:source_dest_check, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "sourceDestCheck"))
7126
+ DescribeNetworkInterfaceAttributeResult.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "associatePublicIpAddress"))
7122
7127
  DescribeNetworkInterfaceAttributeResult.struct_class = Types::DescribeNetworkInterfaceAttributeResult
7123
7128
 
7124
7129
  DescribeNetworkInterfacePermissionsRequest.add_member(:network_interface_permission_ids, Shapes::ShapeRef.new(shape: NetworkInterfacePermissionIdList, location_name: "NetworkInterfacePermissionId"))
@@ -8017,6 +8022,13 @@ module Aws::EC2
8017
8022
  DisableImageDeprecationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
8018
8023
  DisableImageDeprecationResult.struct_class = Types::DisableImageDeprecationResult
8019
8024
 
8025
+ DisableImageDeregistrationProtectionRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
8026
+ DisableImageDeregistrationProtectionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
8027
+ DisableImageDeregistrationProtectionRequest.struct_class = Types::DisableImageDeregistrationProtectionRequest
8028
+
8029
+ DisableImageDeregistrationProtectionResult.add_member(:return, Shapes::ShapeRef.new(shape: String, location_name: "return"))
8030
+ DisableImageDeregistrationProtectionResult.struct_class = Types::DisableImageDeregistrationProtectionResult
8031
+
8020
8032
  DisableImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
8021
8033
  DisableImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
8022
8034
  DisableImageRequest.struct_class = Types::DisableImageRequest
@@ -8461,6 +8473,14 @@ module Aws::EC2
8461
8473
  EnableImageDeprecationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
8462
8474
  EnableImageDeprecationResult.struct_class = Types::EnableImageDeprecationResult
8463
8475
 
8476
+ EnableImageDeregistrationProtectionRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
8477
+ EnableImageDeregistrationProtectionRequest.add_member(:with_cooldown, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithCooldown"))
8478
+ EnableImageDeregistrationProtectionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
8479
+ EnableImageDeregistrationProtectionRequest.struct_class = Types::EnableImageDeregistrationProtectionRequest
8480
+
8481
+ EnableImageDeregistrationProtectionResult.add_member(:return, Shapes::ShapeRef.new(shape: String, location_name: "return"))
8482
+ EnableImageDeregistrationProtectionResult.struct_class = Types::EnableImageDeregistrationProtectionResult
8483
+
8464
8484
  EnableImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
8465
8485
  EnableImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
8466
8486
  EnableImageRequest.struct_class = Types::EnableImageRequest
@@ -9617,6 +9637,8 @@ module Aws::EC2
9617
9637
  Image.add_member(:deprecation_time, Shapes::ShapeRef.new(shape: String, location_name: "deprecationTime"))
9618
9638
  Image.add_member(:imds_support, Shapes::ShapeRef.new(shape: ImdsSupportValues, location_name: "imdsSupport"))
9619
9639
  Image.add_member(:source_instance_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceInstanceId"))
9640
+ Image.add_member(:deregistration_protection, Shapes::ShapeRef.new(shape: String, location_name: "deregistrationProtection"))
9641
+ Image.add_member(:last_launched_time, Shapes::ShapeRef.new(shape: String, location_name: "lastLaunchedTime"))
9620
9642
  Image.struct_class = Types::Image
9621
9643
 
9622
9644
  ImageAttribute.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingList, location_name: "blockDeviceMapping"))
@@ -9632,6 +9654,7 @@ module Aws::EC2
9632
9654
  ImageAttribute.add_member(:uefi_data, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "uefiData"))
9633
9655
  ImageAttribute.add_member(:last_launched_time, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "lastLaunchedTime"))
9634
9656
  ImageAttribute.add_member(:imds_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "imdsSupport"))
9657
+ ImageAttribute.add_member(:deregistration_protection, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "deregistrationProtection"))
9635
9658
  ImageAttribute.struct_class = Types::ImageAttribute
9636
9659
 
9637
9660
  ImageDiskContainer.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
@@ -11641,6 +11664,7 @@ module Aws::EC2
11641
11664
  ModifyNetworkInterfaceAttributeRequest.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: EnaSrdSpecification, location_name: "EnaSrdSpecification"))
11642
11665
  ModifyNetworkInterfaceAttributeRequest.add_member(:enable_primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrimaryIpv6"))
11643
11666
  ModifyNetworkInterfaceAttributeRequest.add_member(:connection_tracking_specification, Shapes::ShapeRef.new(shape: ConnectionTrackingSpecificationRequest, location_name: "ConnectionTrackingSpecification"))
11667
+ ModifyNetworkInterfaceAttributeRequest.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociatePublicIpAddress"))
11644
11668
  ModifyNetworkInterfaceAttributeRequest.struct_class = Types::ModifyNetworkInterfaceAttributeRequest
11645
11669
 
11646
11670
  ModifyPrivateDnsNameOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -19426,6 +19450,14 @@ module Aws::EC2
19426
19450
  o.output = Shapes::ShapeRef.new(shape: DisableImageDeprecationResult)
19427
19451
  end)
19428
19452
 
19453
+ api.add_operation(:disable_image_deregistration_protection, Seahorse::Model::Operation.new.tap do |o|
19454
+ o.name = "DisableImageDeregistrationProtection"
19455
+ o.http_method = "POST"
19456
+ o.http_request_uri = "/"
19457
+ o.input = Shapes::ShapeRef.new(shape: DisableImageDeregistrationProtectionRequest)
19458
+ o.output = Shapes::ShapeRef.new(shape: DisableImageDeregistrationProtectionResult)
19459
+ end)
19460
+
19429
19461
  api.add_operation(:disable_ipam_organization_admin_account, Seahorse::Model::Operation.new.tap do |o|
19430
19462
  o.name = "DisableIpamOrganizationAdminAccount"
19431
19463
  o.http_method = "POST"
@@ -19666,6 +19698,14 @@ module Aws::EC2
19666
19698
  o.output = Shapes::ShapeRef.new(shape: EnableImageDeprecationResult)
19667
19699
  end)
19668
19700
 
19701
+ api.add_operation(:enable_image_deregistration_protection, Seahorse::Model::Operation.new.tap do |o|
19702
+ o.name = "EnableImageDeregistrationProtection"
19703
+ o.http_method = "POST"
19704
+ o.http_request_uri = "/"
19705
+ o.input = Shapes::ShapeRef.new(shape: EnableImageDeregistrationProtectionRequest)
19706
+ o.output = Shapes::ShapeRef.new(shape: EnableImageDeregistrationProtectionResult)
19707
+ end)
19708
+
19669
19709
  api.add_operation(:enable_ipam_organization_admin_account, Seahorse::Model::Operation.new.tap do |o|
19670
19710
  o.name = "EnableIpamOrganizationAdminAccount"
19671
19711
  o.http_method = "POST"