aws-sdk-ec2 1.470.0 → 1.472.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: 39bd34046575aa57d5faab789228e06ddb9d6cfdc7809a224ae0ff346e2bc519
4
- data.tar.gz: a98ab574763d23253d4f68586f00161214c9bf47e9c6f02c7e40db18349a70c7
3
+ metadata.gz: eeeaf732b3aef45ddeb0f7c62b2c33d89e165211c7a469cd4de28725a321736b
4
+ data.tar.gz: 0bc57432234b612f582d870726d7d24be6ad17f3d1809232a6778298a9aea264
5
5
  SHA512:
6
- metadata.gz: 4c5c2246a54e6377f80f8d67e37f54d47449082d4532e7f2d9a7acd008e1f3109895452280ee59c5a089cd4c0b576489749ac825f4fb52d97b9b8642c1ba933e
7
- data.tar.gz: d7fefb60386b8eaa866c3b574a80ee9d6d6c2433a2278fa1e7c5129ac8da66320f1ccd5cb5be9f9d990ff889a4b97bfd150a1097ef1f0e479bbbd3bfd36d5d1f
6
+ metadata.gz: 0d2579a3e928c9ca2052cee8b1bac4c146ab3da44a621be54e50dba1fa2b8ef7d6ed011504f3eaefdda0213e17551b35d7aa5e481941aa3ff070422037675f54
7
+ data.tar.gz: f07c7ddc5da6ca6868c4f2c6dcbfb8c10775588034bd6ae63d971506bdb0b09ee0bd8d8a8b26b9655db7c4f9ef2772ef9932d8ee658bc1a5c32ea8e1e11203ac
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.472.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.471.0 (2024-08-28)
10
+ ------------------
11
+
12
+ * Feature - Amazon VPC IP Address Manager (IPAM) now allows customers to provision IPv4 CIDR blocks and allocate Elastic IP Addresses directly from IPAM pools with public IPv4 space
13
+
4
14
  1.470.0 (2024-08-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.470.0
1
+ 1.472.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/ec2.rb'
37
38
  require 'aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb'
@@ -85,6 +86,7 @@ module Aws::EC2
85
86
  add_plugin(Aws::Plugins::RequestCompression)
86
87
  add_plugin(Aws::Plugins::DefaultsMode)
87
88
  add_plugin(Aws::Plugins::RecursionDetection)
89
+ add_plugin(Aws::Plugins::Telemetry)
88
90
  add_plugin(Aws::Plugins::Sign)
89
91
  add_plugin(Aws::Plugins::Protocols::EC2)
90
92
  add_plugin(Aws::EC2::Plugins::CopyEncryptedSnapshot)
@@ -334,6 +336,16 @@ module Aws::EC2
334
336
  # ** Please note ** When response stubbing is enabled, no HTTP
335
337
  # requests are made, and retries are disabled.
336
338
  #
339
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
340
+ # Allows you to provide a telemetry provider, which is used to
341
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
342
+ # will not record or emit any telemetry data. The SDK supports the
343
+ # following telemetry providers:
344
+ #
345
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
346
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
347
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
348
+ #
337
349
  # @option options [Aws::TokenProvider] :token_provider
338
350
  # A Bearer Token Provider. This can be an instance of any one of the
339
351
  # following classes:
@@ -969,6 +981,9 @@ module Aws::EC2
969
981
  # @option params [Array<Types::TagSpecification>] :tag_specifications
970
982
  # The tags to assign to the Elastic IP address.
971
983
  #
984
+ # @option params [String] :ipam_pool_id
985
+ # The ID of an IPAM pool.
986
+ #
972
987
  # @return [Types::AllocateAddressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
973
988
  #
974
989
  # * {Types::AllocateAddressResult#public_ip #public_ip} => String
@@ -1017,6 +1032,7 @@ module Aws::EC2
1017
1032
  # ],
1018
1033
  # },
1019
1034
  # ],
1035
+ # ipam_pool_id: "IpamPoolId",
1020
1036
  # })
1021
1037
  #
1022
1038
  # @example Response structure
@@ -1291,7 +1307,7 @@ module Aws::EC2
1291
1307
  # resp.ipam_pool_allocation.ipam_pool_allocation_id #=> String
1292
1308
  # resp.ipam_pool_allocation.description #=> String
1293
1309
  # resp.ipam_pool_allocation.resource_id #=> String
1294
- # resp.ipam_pool_allocation.resource_type #=> String, one of "ipam-pool", "vpc", "ec2-public-ipv4-pool", "custom", "subnet"
1310
+ # resp.ipam_pool_allocation.resource_type #=> String, one of "ipam-pool", "vpc", "ec2-public-ipv4-pool", "custom", "subnet", "eip"
1295
1311
  # resp.ipam_pool_allocation.resource_region #=> String
1296
1312
  # resp.ipam_pool_allocation.resource_owner #=> String
1297
1313
  #
@@ -42800,7 +42816,7 @@ module Aws::EC2
42800
42816
  # resp.ipam_discovered_public_addresses[0].address_owner_id #=> String
42801
42817
  # resp.ipam_discovered_public_addresses[0].address_allocation_id #=> String
42802
42818
  # resp.ipam_discovered_public_addresses[0].association_status #=> String, one of "associated", "disassociated"
42803
- # resp.ipam_discovered_public_addresses[0].address_type #=> String, one of "service-managed-ip", "service-managed-byoip", "amazon-owned-eip", "byoip", "ec2-public-ip"
42819
+ # resp.ipam_discovered_public_addresses[0].address_type #=> String, one of "service-managed-ip", "service-managed-byoip", "amazon-owned-eip", "amazon-owned-contig", "byoip", "ec2-public-ip"
42804
42820
  # resp.ipam_discovered_public_addresses[0].service #=> String, one of "nat-gateway", "database-migration-service", "redshift", "elastic-container-service", "relational-database-service", "site-to-site-vpn", "load-balancer", "global-accelerator", "other"
42805
42821
  # resp.ipam_discovered_public_addresses[0].service_resource #=> String
42806
42822
  # resp.ipam_discovered_public_addresses[0].vpc_id #=> String
@@ -42981,7 +42997,7 @@ module Aws::EC2
42981
42997
  # resp.ipam_pool_allocations[0].ipam_pool_allocation_id #=> String
42982
42998
  # resp.ipam_pool_allocations[0].description #=> String
42983
42999
  # resp.ipam_pool_allocations[0].resource_id #=> String
42984
- # resp.ipam_pool_allocations[0].resource_type #=> String, one of "ipam-pool", "vpc", "ec2-public-ipv4-pool", "custom", "subnet"
43000
+ # resp.ipam_pool_allocations[0].resource_type #=> String, one of "ipam-pool", "vpc", "ec2-public-ipv4-pool", "custom", "subnet", "eip"
42985
43001
  # resp.ipam_pool_allocations[0].resource_region #=> String
42986
43002
  # resp.ipam_pool_allocations[0].resource_owner #=> String
42987
43003
  # resp.next_token #=> String
@@ -53430,8 +53446,9 @@ module Aws::EC2
53430
53446
 
53431
53447
  # Registers an AMI. When you're creating an instance-store backed AMI,
53432
53448
  # registering the AMI is the final step in the creation process. For
53433
- # more information about creating AMIs, see [Create your own AMI][1] in
53434
- # the *Amazon Elastic Compute Cloud User Guide*.
53449
+ # more information about creating AMIs, see [Create an AMI from a
53450
+ # snapshot][1] and [Create an instance-store backed AMI][2] in the
53451
+ # *Amazon EC2 User Guide*.
53435
53452
  #
53436
53453
  # <note markdown="1"> For Amazon EBS-backed instances, CreateImage creates and registers the
53437
53454
  # AMI in a single request, so you don't have to register the AMI
@@ -53454,28 +53471,28 @@ module Aws::EC2
53454
53471
  # encrypted, or encryption by default is enabled, the root volume of an
53455
53472
  # instance launched from the AMI is encrypted.
53456
53473
  #
53457
- # For more information, see [Create a Linux AMI from a snapshot][2] and
53458
- # [Use encryption with Amazon EBS-backed AMIs][3] in the *Amazon Elastic
53459
- # Compute Cloud User Guide*.
53474
+ # For more information, see [Create an AMI from a snapshot][1] and [Use
53475
+ # encryption with Amazon EBS-backed AMIs][3] in the *Amazon EC2 User
53476
+ # Guide*.
53460
53477
  #
53461
53478
  # **Amazon Web Services Marketplace product codes**
53462
53479
  #
53463
53480
  # If any snapshots have Amazon Web Services Marketplace product codes,
53464
53481
  # they are copied to the new AMI.
53465
53482
  #
53466
- # Windows and some Linux distributions, such as Red Hat Enterprise Linux
53467
- # (RHEL) and SUSE Linux Enterprise Server (SLES), use the Amazon EC2
53468
- # billing product code associated with an AMI to verify the subscription
53469
- # status for package updates. To create a new AMI for operating systems
53470
- # that require a billing product code, instead of registering the AMI,
53471
- # do the following to preserve the billing product code association:
53472
- #
53473
- # 1. Launch an instance from an existing AMI with that billing product
53474
- # code.
53475
- #
53476
- # 2. Customize the instance.
53477
- #
53478
- # 3. Create an AMI from the instance using CreateImage.
53483
+ # In most cases, AMIs for Windows, RedHat, SUSE, and SQL Server require
53484
+ # correct licensing information to be present on the AMI. For more
53485
+ # information, see [Understand AMI billing information][4] in the
53486
+ # *Amazon EC2 User Guide*. When creating an AMI from a snapshot, the
53487
+ # `RegisterImage` operation derives the correct billing information from
53488
+ # the snapshot's metadata, but this requires the appropriate metadata
53489
+ # to be present. To verify if the correct billing information was
53490
+ # applied, check the `PlatformDetails` field on the new AMI. If the
53491
+ # field is empty or doesn't match the expected operating system code
53492
+ # (for example, Windows, RedHat, SUSE, or SQL), the AMI creation was
53493
+ # unsuccessful, and you should discard the AMI and instead create the
53494
+ # AMI from an instance using CreateImage. For more information, see
53495
+ # [Create an AMI from an instance ][5] in the *Amazon EC2 User Guide*.
53479
53496
  #
53480
53497
  # If you purchase a Reserved Instance to apply to an On-Demand Instance
53481
53498
  # that was launched from an AMI with a billing product code, make sure
@@ -53488,10 +53505,11 @@ module Aws::EC2
53488
53505
  #
53489
53506
  #
53490
53507
  #
53491
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html
53492
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot
53508
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot
53509
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-instance-store.html
53493
53510
  # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html
53494
53511
  # [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
53512
+ # [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#how-to-create-ebs-ami
53495
53513
  #
53496
53514
  # @option params [String] :image_location
53497
53515
  # The full path to your AMI manifest in Amazon S3 storage. The specified
@@ -60096,14 +60114,19 @@ module Aws::EC2
60096
60114
  # @api private
60097
60115
  def build_request(operation_name, params = {})
60098
60116
  handlers = @handlers.for(operation_name)
60117
+ tracer = config.telemetry_provider.tracer_provider.tracer(
60118
+ Aws::Telemetry.module_to_tracer_name('Aws::EC2')
60119
+ )
60099
60120
  context = Seahorse::Client::RequestContext.new(
60100
60121
  operation_name: operation_name,
60101
60122
  operation: config.api.operation(operation_name),
60102
60123
  client: self,
60103
60124
  params: params,
60104
- config: config)
60125
+ config: config,
60126
+ tracer: tracer
60127
+ )
60105
60128
  context[:gem_name] = 'aws-sdk-ec2'
60106
- context[:gem_version] = '1.470.0'
60129
+ context[:gem_version] = '1.472.0'
60107
60130
  Seahorse::Client::Request.new(handlers, context)
60108
60131
  end
60109
60132
 
@@ -3424,6 +3424,7 @@ module Aws::EC2
3424
3424
  AllocateAddressRequest.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "CustomerOwnedIpv4Pool"))
3425
3425
  AllocateAddressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3426
3426
  AllocateAddressRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3427
+ AllocateAddressRequest.add_member(:ipam_pool_id, Shapes::ShapeRef.new(shape: IpamPoolId, location_name: "IpamPoolId"))
3427
3428
  AllocateAddressRequest.struct_class = Types::AllocateAddressRequest
3428
3429
 
3429
3430
  AllocateAddressResult.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
@@ -897,6 +897,10 @@ module Aws::EC2
897
897
  # The tags to assign to the Elastic IP address.
898
898
  # @return [Array<Types::TagSpecification>]
899
899
  #
900
+ # @!attribute [rw] ipam_pool_id
901
+ # The ID of an IPAM pool.
902
+ # @return [String]
903
+ #
900
904
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddressRequest AWS API Documentation
901
905
  #
902
906
  class AllocateAddressRequest < Struct.new(
@@ -906,7 +910,8 @@ module Aws::EC2
906
910
  :network_border_group,
907
911
  :customer_owned_ipv_4_pool,
908
912
  :dry_run,
909
- :tag_specifications)
913
+ :tag_specifications,
914
+ :ipam_pool_id)
910
915
  SENSITIVE = []
911
916
  include Aws::Structure
912
917
  end
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.470.0'
79
+ GEM_VERSION = '1.472.0'
80
80
 
81
81
  end
data/sig/client.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
@@ -212,7 +213,8 @@ module Aws
212
213
  },
213
214
  ]?
214
215
  },
215
- ]
216
+ ],
217
+ ?ipam_pool_id: ::String
216
218
  ) -> _AllocateAddressResponseSuccess
217
219
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AllocateAddressResponseSuccess
218
220
 
data/sig/resource.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
data/sig/types.rbs CHANGED
@@ -243,6 +243,7 @@ module Aws::EC2
243
243
  attr_accessor customer_owned_ipv_4_pool: ::String
244
244
  attr_accessor dry_run: bool
245
245
  attr_accessor tag_specifications: ::Array[Types::TagSpecification]
246
+ attr_accessor ipam_pool_id: ::String
246
247
  SENSITIVE: []
247
248
  end
248
249
 
@@ -9420,7 +9421,7 @@ module Aws::EC2
9420
9421
  attr_accessor address_owner_id: ::String
9421
9422
  attr_accessor address_allocation_id: ::String
9422
9423
  attr_accessor association_status: ("associated" | "disassociated")
9423
- attr_accessor address_type: ("service-managed-ip" | "service-managed-byoip" | "amazon-owned-eip" | "byoip" | "ec2-public-ip")
9424
+ attr_accessor address_type: ("service-managed-ip" | "service-managed-byoip" | "amazon-owned-eip" | "amazon-owned-contig" | "byoip" | "ec2-public-ip")
9424
9425
  attr_accessor service: ("nat-gateway" | "database-migration-service" | "redshift" | "elastic-container-service" | "relational-database-service" | "site-to-site-vpn" | "load-balancer" | "global-accelerator" | "other")
9425
9426
  attr_accessor service_resource: ::String
9426
9427
  attr_accessor vpc_id: ::String
@@ -9512,7 +9513,7 @@ module Aws::EC2
9512
9513
  attr_accessor ipam_pool_allocation_id: ::String
9513
9514
  attr_accessor description: ::String
9514
9515
  attr_accessor resource_id: ::String
9515
- attr_accessor resource_type: ("ipam-pool" | "vpc" | "ec2-public-ipv4-pool" | "custom" | "subnet")
9516
+ attr_accessor resource_type: ("ipam-pool" | "vpc" | "ec2-public-ipv4-pool" | "custom" | "subnet" | "eip")
9516
9517
  attr_accessor resource_region: ::String
9517
9518
  attr_accessor resource_owner: ::String
9518
9519
  SENSITIVE: []
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.470.0
4
+ version: 1.472.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-08-21 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.201.0
22
+ version: 3.203.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement