aws-sdk-ec2 1.398.0 → 1.400.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: d5999f35bfdaf63b20dad0cc7ce1ce9f73c306ceb36f9421036f1acc991da2dd
4
- data.tar.gz: cd73b1c786b0a207f66d58408d5eefc98543961160851cb8ca6f5fe6511f4fa6
3
+ metadata.gz: b18b05d0930c0e962b79e96a771ffc2ddbae7bde70314cefb88af289b12950ed
4
+ data.tar.gz: 6ae702d8148ad574c08616390024cbc0983c29a4484acafbec6d7e9aab96b759
5
5
  SHA512:
6
- metadata.gz: 3c75d852212e651c04d2c487f212dd15df90e523d2cb929b8509cdd5d23678c30f738b161f5e84c80644eae4fd4dccd49ea47c89bc018810966732a3da5fbde5
7
- data.tar.gz: ad266ee679cea9571d4a7290ba628f98decdd85a9adb2d01a7c4c277bfb1453c85cc3a11a6439bb2f99f3aa005f6bd3c4a6a5875036b8b12e8f2e990187479cb
6
+ metadata.gz: c9051dcc2722dd1a076a5d6ce5a9bb0637e84c51f1da0546afcc5a5cb1ffee6427e3468cc5ca3548bcd2e10e06156c90b306d15153131586c962dd9eadb32ea3
7
+ data.tar.gz: '08d04bda2fbe008324272c59e45ab9c52771963e18038497a3717ab8a1c2db5f312788748790e1c6dbf0544eebeee160de4f20d878f48c00a372d549cb2bd74d'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.400.0 (2023-08-21)
5
+ ------------------
6
+
7
+ * Feature - The DeleteKeyPair API has been updated to return the keyPairId when an existing key pair is deleted.
8
+
9
+ 1.399.0 (2023-08-17)
10
+ ------------------
11
+
12
+ * Feature - Adds support for SubnetConfigurations to allow users to select their own IPv4 and IPv6 addresses for Interface VPC endpoints
13
+
4
14
  1.398.0 (2023-08-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.398.0
1
+ 1.400.0
@@ -14272,13 +14272,13 @@ module Aws::EC2
14272
14272
  #
14273
14273
  # @option params [Array<String>] :subnet_ids
14274
14274
  # (Interface and Gateway Load Balancer endpoints) The IDs of the subnets
14275
- # in which to create an endpoint network interface. For a Gateway Load
14275
+ # in which to create endpoint network interfaces. For a Gateway Load
14276
14276
  # Balancer endpoint, you can specify only one subnet.
14277
14277
  #
14278
14278
  # @option params [Array<String>] :security_group_ids
14279
14279
  # (Interface endpoint) The IDs of the security groups to associate with
14280
- # the endpoint network interface. If this parameter is not specified, we
14281
- # use the default security group for the VPC.
14280
+ # the endpoint network interfaces. If this parameter is not specified,
14281
+ # we use the default security group for the VPC.
14282
14282
  #
14283
14283
  # @option params [String] :ip_address_type
14284
14284
  # The IP address type for the endpoint.
@@ -14314,6 +14314,9 @@ module Aws::EC2
14314
14314
  # @option params [Array<Types::TagSpecification>] :tag_specifications
14315
14315
  # The tags to associate with the endpoint.
14316
14316
  #
14317
+ # @option params [Array<Types::SubnetConfiguration>] :subnet_configurations
14318
+ # The subnet configurations for the endpoint.
14319
+ #
14317
14320
  # @return [Types::CreateVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14318
14321
  #
14319
14322
  # * {Types::CreateVpcEndpointResult#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
@@ -14348,6 +14351,13 @@ module Aws::EC2
14348
14351
  # ],
14349
14352
  # },
14350
14353
  # ],
14354
+ # subnet_configurations: [
14355
+ # {
14356
+ # subnet_id: "SubnetId",
14357
+ # ipv_4: "String",
14358
+ # ipv_6: "String",
14359
+ # },
14360
+ # ],
14351
14361
  # })
14352
14362
  #
14353
14363
  # @example Response structure
@@ -15965,7 +15975,10 @@ module Aws::EC2
15965
15975
  # If you have the required permissions, the error response is
15966
15976
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
15967
15977
  #
15968
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
15978
+ # @return [Types::DeleteKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15979
+ #
15980
+ # * {Types::DeleteKeyPairResult#return #return} => Boolean
15981
+ # * {Types::DeleteKeyPairResult#key_pair_id #key_pair_id} => String
15969
15982
  #
15970
15983
  #
15971
15984
  # @example Example: To delete a key pair
@@ -15984,6 +15997,11 @@ module Aws::EC2
15984
15997
  # dry_run: false,
15985
15998
  # })
15986
15999
  #
16000
+ # @example Response structure
16001
+ #
16002
+ # resp.return #=> Boolean
16003
+ # resp.key_pair_id #=> String
16004
+ #
15987
16005
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPair AWS API Documentation
15988
16006
  #
15989
16007
  # @overload delete_key_pair(params = {})
@@ -48435,11 +48453,11 @@ module Aws::EC2
48435
48453
  #
48436
48454
  # @option params [Array<String>] :add_security_group_ids
48437
48455
  # (Interface endpoint) The IDs of the security groups to associate with
48438
- # the network interface.
48456
+ # the endpoint network interfaces.
48439
48457
  #
48440
48458
  # @option params [Array<String>] :remove_security_group_ids
48441
48459
  # (Interface endpoint) The IDs of the security groups to disassociate
48442
- # from the network interface.
48460
+ # from the endpoint network interfaces.
48443
48461
  #
48444
48462
  # @option params [String] :ip_address_type
48445
48463
  # The IP address type for the endpoint.
@@ -48451,6 +48469,9 @@ module Aws::EC2
48451
48469
  # (Interface endpoint) Indicates whether a private hosted zone is
48452
48470
  # associated with the VPC.
48453
48471
  #
48472
+ # @option params [Array<Types::SubnetConfiguration>] :subnet_configurations
48473
+ # The subnet configurations for the endpoint.
48474
+ #
48454
48475
  # @return [Types::ModifyVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
48455
48476
  #
48456
48477
  # * {Types::ModifyVpcEndpointResult#return #return} => Boolean
@@ -48474,6 +48495,13 @@ module Aws::EC2
48474
48495
  # private_dns_only_for_inbound_resolver_endpoint: false,
48475
48496
  # },
48476
48497
  # private_dns_enabled: false,
48498
+ # subnet_configurations: [
48499
+ # {
48500
+ # subnet_id: "SubnetId",
48501
+ # ipv_4: "String",
48502
+ # ipv_6: "String",
48503
+ # },
48504
+ # ],
48477
48505
  # })
48478
48506
  #
48479
48507
  # @example Response structure
@@ -56711,7 +56739,7 @@ module Aws::EC2
56711
56739
  params: params,
56712
56740
  config: config)
56713
56741
  context[:gem_name] = 'aws-sdk-ec2'
56714
- context[:gem_version] = '1.398.0'
56742
+ context[:gem_version] = '1.400.0'
56715
56743
  Seahorse::Client::Request.new(handlers, context)
56716
56744
  end
56717
56745
 
@@ -620,6 +620,7 @@ module Aws::EC2
620
620
  DeleteIpamScopeRequest = Shapes::StructureShape.new(name: 'DeleteIpamScopeRequest')
621
621
  DeleteIpamScopeResult = Shapes::StructureShape.new(name: 'DeleteIpamScopeResult')
622
622
  DeleteKeyPairRequest = Shapes::StructureShape.new(name: 'DeleteKeyPairRequest')
623
+ DeleteKeyPairResult = Shapes::StructureShape.new(name: 'DeleteKeyPairResult')
623
624
  DeleteLaunchTemplateRequest = Shapes::StructureShape.new(name: 'DeleteLaunchTemplateRequest')
624
625
  DeleteLaunchTemplateResult = Shapes::StructureShape.new(name: 'DeleteLaunchTemplateResult')
625
626
  DeleteLaunchTemplateVersionsRequest = Shapes::StructureShape.new(name: 'DeleteLaunchTemplateVersionsRequest')
@@ -2660,6 +2661,8 @@ module Aws::EC2
2660
2661
  SubnetCidrReservationId = Shapes::StringShape.new(name: 'SubnetCidrReservationId')
2661
2662
  SubnetCidrReservationList = Shapes::ListShape.new(name: 'SubnetCidrReservationList')
2662
2663
  SubnetCidrReservationType = Shapes::StringShape.new(name: 'SubnetCidrReservationType')
2664
+ SubnetConfiguration = Shapes::StructureShape.new(name: 'SubnetConfiguration')
2665
+ SubnetConfigurationsList = Shapes::ListShape.new(name: 'SubnetConfigurationsList')
2663
2666
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
2664
2667
  SubnetIdStringList = Shapes::ListShape.new(name: 'SubnetIdStringList')
2665
2668
  SubnetIpv6CidrBlockAssociation = Shapes::StructureShape.new(name: 'SubnetIpv6CidrBlockAssociation')
@@ -5243,6 +5246,7 @@ module Aws::EC2
5243
5246
  CreateVpcEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
5244
5247
  CreateVpcEndpointRequest.add_member(:private_dns_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrivateDnsEnabled"))
5245
5248
  CreateVpcEndpointRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
5249
+ CreateVpcEndpointRequest.add_member(:subnet_configurations, Shapes::ShapeRef.new(shape: SubnetConfigurationsList, location_name: "SubnetConfiguration"))
5246
5250
  CreateVpcEndpointRequest.struct_class = Types::CreateVpcEndpointRequest
5247
5251
 
5248
5252
  CreateVpcEndpointResult.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: VpcEndpoint, location_name: "vpcEndpoint"))
@@ -5506,6 +5510,10 @@ module Aws::EC2
5506
5510
  DeleteKeyPairRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
5507
5511
  DeleteKeyPairRequest.struct_class = Types::DeleteKeyPairRequest
5508
5512
 
5513
+ DeleteKeyPairResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
5514
+ DeleteKeyPairResult.add_member(:key_pair_id, Shapes::ShapeRef.new(shape: String, location_name: "keyPairId"))
5515
+ DeleteKeyPairResult.struct_class = Types::DeleteKeyPairResult
5516
+
5509
5517
  DeleteLaunchTemplateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5510
5518
  DeleteLaunchTemplateRequest.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "LaunchTemplateId"))
5511
5519
  DeleteLaunchTemplateRequest.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: LaunchTemplateName, location_name: "LaunchTemplateName"))
@@ -11359,6 +11367,7 @@ module Aws::EC2
11359
11367
  ModifyVpcEndpointRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
11360
11368
  ModifyVpcEndpointRequest.add_member(:dns_options, Shapes::ShapeRef.new(shape: DnsOptionsSpecification, location_name: "DnsOptions"))
11361
11369
  ModifyVpcEndpointRequest.add_member(:private_dns_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrivateDnsEnabled"))
11370
+ ModifyVpcEndpointRequest.add_member(:subnet_configurations, Shapes::ShapeRef.new(shape: SubnetConfigurationsList, location_name: "SubnetConfiguration"))
11362
11371
  ModifyVpcEndpointRequest.struct_class = Types::ModifyVpcEndpointRequest
11363
11372
 
11364
11373
  ModifyVpcEndpointResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
@@ -13734,6 +13743,13 @@ module Aws::EC2
13734
13743
 
13735
13744
  SubnetCidrReservationList.member = Shapes::ShapeRef.new(shape: SubnetCidrReservation, location_name: "item")
13736
13745
 
13746
+ SubnetConfiguration.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
13747
+ SubnetConfiguration.add_member(:ipv_4, Shapes::ShapeRef.new(shape: String, location_name: "Ipv4"))
13748
+ SubnetConfiguration.add_member(:ipv_6, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6"))
13749
+ SubnetConfiguration.struct_class = Types::SubnetConfiguration
13750
+
13751
+ SubnetConfigurationsList.member = Shapes::ShapeRef.new(shape: SubnetConfiguration, location_name: "item")
13752
+
13737
13753
  SubnetIdStringList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId")
13738
13754
 
13739
13755
  SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: SubnetCidrAssociationId, location_name: "associationId"))
@@ -16244,7 +16260,7 @@ module Aws::EC2
16244
16260
  o.http_method = "POST"
16245
16261
  o.http_request_uri = "/"
16246
16262
  o.input = Shapes::ShapeRef.new(shape: DeleteKeyPairRequest)
16247
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
16263
+ o.output = Shapes::ShapeRef.new(shape: DeleteKeyPairResult)
16248
16264
  end)
16249
16265
 
16250
16266
  api.add_operation(:delete_launch_template, Seahorse::Model::Operation.new.tap do |o|
@@ -209,7 +209,7 @@ module Aws::EC2
209
209
  # without actually making the request, and provides an error response.
210
210
  # If you have the required permissions, the error response is
211
211
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
212
- # @return [EmptyStructure]
212
+ # @return [Types::DeleteKeyPairResult]
213
213
  def delete(options = {})
214
214
  options = options.merge(key_name: @name)
215
215
  resp = Aws::Plugins::UserAgent.feature('resource') do
@@ -254,7 +254,7 @@ module Aws::EC2
254
254
  # without actually making the request, and provides an error response.
255
255
  # If you have the required permissions, the error response is
256
256
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
257
- # @return [EmptyStructure]
257
+ # @return [Types::DeleteKeyPairResult]
258
258
  def delete(options = {})
259
259
  options = options.merge(key_name: @name)
260
260
  resp = Aws::Plugins::UserAgent.feature('resource') do
@@ -12124,13 +12124,13 @@ module Aws::EC2
12124
12124
  #
12125
12125
  # @!attribute [rw] subnet_ids
12126
12126
  # (Interface and Gateway Load Balancer endpoints) The IDs of the
12127
- # subnets in which to create an endpoint network interface. For a
12127
+ # subnets in which to create endpoint network interfaces. For a
12128
12128
  # Gateway Load Balancer endpoint, you can specify only one subnet.
12129
12129
  # @return [Array<String>]
12130
12130
  #
12131
12131
  # @!attribute [rw] security_group_ids
12132
12132
  # (Interface endpoint) The IDs of the security groups to associate
12133
- # with the endpoint network interface. If this parameter is not
12133
+ # with the endpoint network interfaces. If this parameter is not
12134
12134
  # specified, we use the default security group for the VPC.
12135
12135
  # @return [Array<String>]
12136
12136
  #
@@ -12173,6 +12173,10 @@ module Aws::EC2
12173
12173
  # The tags to associate with the endpoint.
12174
12174
  # @return [Array<Types::TagSpecification>]
12175
12175
  #
12176
+ # @!attribute [rw] subnet_configurations
12177
+ # The subnet configurations for the endpoint.
12178
+ # @return [Array<Types::SubnetConfiguration>]
12179
+ #
12176
12180
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointRequest AWS API Documentation
12177
12181
  #
12178
12182
  class CreateVpcEndpointRequest < Struct.new(
@@ -12188,7 +12192,8 @@ module Aws::EC2
12188
12192
  :dns_options,
12189
12193
  :client_token,
12190
12194
  :private_dns_enabled,
12191
- :tag_specifications)
12195
+ :tag_specifications,
12196
+ :subnet_configurations)
12192
12197
  SENSITIVE = []
12193
12198
  include Aws::Structure
12194
12199
  end
@@ -13503,6 +13508,23 @@ module Aws::EC2
13503
13508
  include Aws::Structure
13504
13509
  end
13505
13510
 
13511
+ # @!attribute [rw] return
13512
+ # Is `true` if the request succeeds, and an error otherwise.
13513
+ # @return [Boolean]
13514
+ #
13515
+ # @!attribute [rw] key_pair_id
13516
+ # The ID of the key pair.
13517
+ # @return [String]
13518
+ #
13519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPairResult AWS API Documentation
13520
+ #
13521
+ class DeleteKeyPairResult < Struct.new(
13522
+ :return,
13523
+ :key_pair_id)
13524
+ SENSITIVE = []
13525
+ include Aws::Structure
13526
+ end
13527
+
13506
13528
  # @!attribute [rw] dry_run
13507
13529
  # Checks whether you have the required permissions for the action,
13508
13530
  # without actually making the request, and provides an error response.
@@ -47508,12 +47530,12 @@ module Aws::EC2
47508
47530
  #
47509
47531
  # @!attribute [rw] add_security_group_ids
47510
47532
  # (Interface endpoint) The IDs of the security groups to associate
47511
- # with the network interface.
47533
+ # with the endpoint network interfaces.
47512
47534
  # @return [Array<String>]
47513
47535
  #
47514
47536
  # @!attribute [rw] remove_security_group_ids
47515
47537
  # (Interface endpoint) The IDs of the security groups to disassociate
47516
- # from the network interface.
47538
+ # from the endpoint network interfaces.
47517
47539
  # @return [Array<String>]
47518
47540
  #
47519
47541
  # @!attribute [rw] ip_address_type
@@ -47529,6 +47551,10 @@ module Aws::EC2
47529
47551
  # associated with the VPC.
47530
47552
  # @return [Boolean]
47531
47553
  #
47554
+ # @!attribute [rw] subnet_configurations
47555
+ # The subnet configurations for the endpoint.
47556
+ # @return [Array<Types::SubnetConfiguration>]
47557
+ #
47532
47558
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointRequest AWS API Documentation
47533
47559
  #
47534
47560
  class ModifyVpcEndpointRequest < Struct.new(
@@ -47544,7 +47570,8 @@ module Aws::EC2
47544
47570
  :remove_security_group_ids,
47545
47571
  :ip_address_type,
47546
47572
  :dns_options,
47547
- :private_dns_enabled)
47573
+ :private_dns_enabled,
47574
+ :subnet_configurations)
47548
47575
  SENSITIVE = []
47549
47576
  include Aws::Structure
47550
47577
  end
@@ -59986,6 +60013,44 @@ module Aws::EC2
59986
60013
  include Aws::Structure
59987
60014
  end
59988
60015
 
60016
+ # Describes the configuration of a subnet for a VPC endpoint.
60017
+ #
60018
+ # @!attribute [rw] subnet_id
60019
+ # The ID of the subnet.
60020
+ # @return [String]
60021
+ #
60022
+ # @!attribute [rw] ipv_4
60023
+ # The IPv4 address to assign to the endpoint network interface in the
60024
+ # subnet. You must provide an IPv4 address if the VPC endpoint
60025
+ # supports IPv4.
60026
+ #
60027
+ # If you specify an IPv4 address when modifying a VPC endpoint, we
60028
+ # replace the existing endpoint network interface with a new endpoint
60029
+ # network interface with this IP address. This process temporarily
60030
+ # disconnects the subnet and the VPC endpoint.
60031
+ # @return [String]
60032
+ #
60033
+ # @!attribute [rw] ipv_6
60034
+ # The IPv6 address to assign to the endpoint network interface in the
60035
+ # subnet. You must provide an IPv6 address if the VPC endpoint
60036
+ # supports IPv6.
60037
+ #
60038
+ # If you specify an IPv6 address when modifying a VPC endpoint, we
60039
+ # replace the existing endpoint network interface with a new endpoint
60040
+ # network interface with this IP address. This process temporarily
60041
+ # disconnects the subnet and the VPC endpoint.
60042
+ # @return [String]
60043
+ #
60044
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SubnetConfiguration AWS API Documentation
60045
+ #
60046
+ class SubnetConfiguration < Struct.new(
60047
+ :subnet_id,
60048
+ :ipv_4,
60049
+ :ipv_6)
60050
+ SENSITIVE = []
60051
+ include Aws::Structure
60052
+ end
60053
+
59989
60054
  # Describes an association between a subnet and an IPv6 CIDR block.
59990
60055
  #
59991
60056
  # @!attribute [rw] association_id
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.398.0'
79
+ GEM_VERSION = '1.400.0'
80
80
 
81
81
  end
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.398.0
4
+ version: 1.400.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: 2023-08-15 00:00:00.000000000 Z
11
+ date: 2023-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4