aws-sdk-ec2 1.548.0 → 1.549.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +94 -7
- data/lib/aws-sdk-ec2/client_api.rb +31 -0
- data/lib/aws-sdk-ec2/types.rb +122 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +28 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3990048cef0ffcc21e2da774a329ad423d27a021b9c2460c1dd84a3bd1b3c420
|
4
|
+
data.tar.gz: fee42321e5e8f5a5e2dc6276a95a75b90a2974cd7ff82987b0081dfedd0a64ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fc56e30a803fe8cf8bbb18312351f7481a3f35f76245303a450b24a4651a441187a3d41616e7ff14418d3743af905961871bd3ee56fd1a482d6ed2dd80c5386
|
7
|
+
data.tar.gz: c6d809324f407bb17380f45d84a414822ba428e5f8e331defd392488410362ec0e44e8ef4dfb55fb2be30efcf41835ec13d6c36599365bce98c6426f8716045e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.549.0 (2025-08-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds ModifyInstanceConnectEndpoint API to update configurations on existing EC2 Instance Connect Endpoints and improves IPv6 support through dualstack DNS names for EC2 Instance Connect Endpoints.
|
8
|
+
|
4
9
|
1.548.0 (2025-08-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.549.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -8092,7 +8092,7 @@ module Aws::EC2
|
|
8092
8092
|
# resp.instance_connect_endpoint.owner_id #=> String
|
8093
8093
|
# resp.instance_connect_endpoint.instance_connect_endpoint_id #=> String
|
8094
8094
|
# resp.instance_connect_endpoint.instance_connect_endpoint_arn #=> String
|
8095
|
-
# resp.instance_connect_endpoint.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
8095
|
+
# resp.instance_connect_endpoint.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed", "update-in-progress", "update-complete", "update-failed"
|
8096
8096
|
# resp.instance_connect_endpoint.state_message #=> String
|
8097
8097
|
# resp.instance_connect_endpoint.dns_name #=> String
|
8098
8098
|
# resp.instance_connect_endpoint.fips_dns_name #=> String
|
@@ -8109,6 +8109,10 @@ module Aws::EC2
|
|
8109
8109
|
# resp.instance_connect_endpoint.tags[0].key #=> String
|
8110
8110
|
# resp.instance_connect_endpoint.tags[0].value #=> String
|
8111
8111
|
# resp.instance_connect_endpoint.ip_address_type #=> String, one of "ipv4", "dualstack", "ipv6"
|
8112
|
+
# resp.instance_connect_endpoint.public_dns_names.ipv_4.dns_name #=> String
|
8113
|
+
# resp.instance_connect_endpoint.public_dns_names.ipv_4.fips_dns_name #=> String
|
8114
|
+
# resp.instance_connect_endpoint.public_dns_names.dualstack.dns_name #=> String
|
8115
|
+
# resp.instance_connect_endpoint.public_dns_names.dualstack.fips_dns_name #=> String
|
8112
8116
|
# resp.client_token #=> String
|
8113
8117
|
#
|
8114
8118
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceConnectEndpoint AWS API Documentation
|
@@ -18105,7 +18109,7 @@ module Aws::EC2
|
|
18105
18109
|
# resp.instance_connect_endpoint.owner_id #=> String
|
18106
18110
|
# resp.instance_connect_endpoint.instance_connect_endpoint_id #=> String
|
18107
18111
|
# resp.instance_connect_endpoint.instance_connect_endpoint_arn #=> String
|
18108
|
-
# resp.instance_connect_endpoint.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
18112
|
+
# resp.instance_connect_endpoint.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed", "update-in-progress", "update-complete", "update-failed"
|
18109
18113
|
# resp.instance_connect_endpoint.state_message #=> String
|
18110
18114
|
# resp.instance_connect_endpoint.dns_name #=> String
|
18111
18115
|
# resp.instance_connect_endpoint.fips_dns_name #=> String
|
@@ -18122,6 +18126,10 @@ module Aws::EC2
|
|
18122
18126
|
# resp.instance_connect_endpoint.tags[0].key #=> String
|
18123
18127
|
# resp.instance_connect_endpoint.tags[0].value #=> String
|
18124
18128
|
# resp.instance_connect_endpoint.ip_address_type #=> String, one of "ipv4", "dualstack", "ipv6"
|
18129
|
+
# resp.instance_connect_endpoint.public_dns_names.ipv_4.dns_name #=> String
|
18130
|
+
# resp.instance_connect_endpoint.public_dns_names.ipv_4.fips_dns_name #=> String
|
18131
|
+
# resp.instance_connect_endpoint.public_dns_names.dualstack.dns_name #=> String
|
18132
|
+
# resp.instance_connect_endpoint.public_dns_names.dualstack.fips_dns_name #=> String
|
18125
18133
|
#
|
18126
18134
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInstanceConnectEndpoint AWS API Documentation
|
18127
18135
|
#
|
@@ -27473,7 +27481,7 @@ module Aws::EC2
|
|
27473
27481
|
# resp.instance_connect_endpoints[0].owner_id #=> String
|
27474
27482
|
# resp.instance_connect_endpoints[0].instance_connect_endpoint_id #=> String
|
27475
27483
|
# resp.instance_connect_endpoints[0].instance_connect_endpoint_arn #=> String
|
27476
|
-
# resp.instance_connect_endpoints[0].state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
27484
|
+
# resp.instance_connect_endpoints[0].state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed", "update-in-progress", "update-complete", "update-failed"
|
27477
27485
|
# resp.instance_connect_endpoints[0].state_message #=> String
|
27478
27486
|
# resp.instance_connect_endpoints[0].dns_name #=> String
|
27479
27487
|
# resp.instance_connect_endpoints[0].fips_dns_name #=> String
|
@@ -27490,6 +27498,10 @@ module Aws::EC2
|
|
27490
27498
|
# resp.instance_connect_endpoints[0].tags[0].key #=> String
|
27491
27499
|
# resp.instance_connect_endpoints[0].tags[0].value #=> String
|
27492
27500
|
# resp.instance_connect_endpoints[0].ip_address_type #=> String, one of "ipv4", "dualstack", "ipv6"
|
27501
|
+
# resp.instance_connect_endpoints[0].public_dns_names.ipv_4.dns_name #=> String
|
27502
|
+
# resp.instance_connect_endpoints[0].public_dns_names.ipv_4.fips_dns_name #=> String
|
27503
|
+
# resp.instance_connect_endpoints[0].public_dns_names.dualstack.dns_name #=> String
|
27504
|
+
# resp.instance_connect_endpoints[0].public_dns_names.dualstack.fips_dns_name #=> String
|
27493
27505
|
# resp.next_token #=> String
|
27494
27506
|
#
|
27495
27507
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceConnectEndpoints AWS API Documentation
|
@@ -41395,9 +41407,6 @@ module Aws::EC2
|
|
41395
41407
|
# * `resource-configuration-group-arn` - The Amazon Resource Name (ARN)
|
41396
41408
|
# of the resource configuration of type GROUP.
|
41397
41409
|
#
|
41398
|
-
# * `service-network-resource-association-id` - The ID of the
|
41399
|
-
# association.
|
41400
|
-
#
|
41401
41410
|
# @option params [Integer] :max_results
|
41402
41411
|
# The maximum page size.
|
41403
41412
|
#
|
@@ -53211,6 +53220,84 @@ module Aws::EC2
|
|
53211
53220
|
req.send_request(options)
|
53212
53221
|
end
|
53213
53222
|
|
53223
|
+
# Modifies the specified EC2 Instance Connect Endpoint.
|
53224
|
+
#
|
53225
|
+
# For more information, see [Modify an EC2 Instance Connect Endpoint][1]
|
53226
|
+
# in the *Amazon EC2 User Guide*.
|
53227
|
+
#
|
53228
|
+
#
|
53229
|
+
#
|
53230
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/modify-ec2-instance-connect-endpoint.html
|
53231
|
+
#
|
53232
|
+
# @option params [Boolean] :dry_run
|
53233
|
+
# Checks whether you have the required permissions for the operation,
|
53234
|
+
# without actually making the request, and provides an error response.
|
53235
|
+
# If you have the required permissions, the error response is
|
53236
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
53237
|
+
#
|
53238
|
+
# @option params [required, String] :instance_connect_endpoint_id
|
53239
|
+
# The ID of the EC2 Instance Connect Endpoint to modify.
|
53240
|
+
#
|
53241
|
+
# @option params [String] :ip_address_type
|
53242
|
+
# The new IP address type for the EC2 Instance Connect Endpoint.
|
53243
|
+
#
|
53244
|
+
# <note markdown="1"> `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect
|
53245
|
+
# Endpoints. To use `PreserveClientIp`, the value for `IpAddressType`
|
53246
|
+
# must be `ipv4`.
|
53247
|
+
#
|
53248
|
+
# </note>
|
53249
|
+
#
|
53250
|
+
# @option params [Array<String>] :security_group_ids
|
53251
|
+
# Changes the security groups for the EC2 Instance Connect Endpoint. The
|
53252
|
+
# new set of groups you specify replaces the current set. You must
|
53253
|
+
# specify at least one group, even if it's just the default security
|
53254
|
+
# group in the VPC. You must specify the ID of the security group, not
|
53255
|
+
# the name.
|
53256
|
+
#
|
53257
|
+
# @option params [Boolean] :preserve_client_ip
|
53258
|
+
# Indicates whether the client IP address is preserved as the source.
|
53259
|
+
# The following are the possible values.
|
53260
|
+
#
|
53261
|
+
# * `true` - Use the client IP address as the source.
|
53262
|
+
#
|
53263
|
+
# * `false` - Use the network interface IP address as the source.
|
53264
|
+
#
|
53265
|
+
# <note markdown="1"> `PreserveClientIp=true` is only supported on IPv4 EC2 Instance Connect
|
53266
|
+
# Endpoints. If modifying `PreserveClientIp` to `true`, either the
|
53267
|
+
# endpoint's existing `IpAddressType` must be `ipv4`, or if modifying
|
53268
|
+
# `IpAddressType` in the same request, the new value must be `ipv4`.
|
53269
|
+
#
|
53270
|
+
# </note>
|
53271
|
+
#
|
53272
|
+
# Default: `false`
|
53273
|
+
#
|
53274
|
+
# @return [Types::ModifyInstanceConnectEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
53275
|
+
#
|
53276
|
+
# * {Types::ModifyInstanceConnectEndpointResult#return #return} => Boolean
|
53277
|
+
#
|
53278
|
+
# @example Request syntax with placeholder values
|
53279
|
+
#
|
53280
|
+
# resp = client.modify_instance_connect_endpoint({
|
53281
|
+
# dry_run: false,
|
53282
|
+
# instance_connect_endpoint_id: "InstanceConnectEndpointId", # required
|
53283
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack, ipv6
|
53284
|
+
# security_group_ids: ["SecurityGroupId"],
|
53285
|
+
# preserve_client_ip: false,
|
53286
|
+
# })
|
53287
|
+
#
|
53288
|
+
# @example Response structure
|
53289
|
+
#
|
53290
|
+
# resp.return #=> Boolean
|
53291
|
+
#
|
53292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpoint AWS API Documentation
|
53293
|
+
#
|
53294
|
+
# @overload modify_instance_connect_endpoint(params = {})
|
53295
|
+
# @param [Hash] params ({})
|
53296
|
+
def modify_instance_connect_endpoint(params = {}, options = {})
|
53297
|
+
req = build_request(:modify_instance_connect_endpoint, params)
|
53298
|
+
req.send_request(options)
|
53299
|
+
end
|
53300
|
+
|
53214
53301
|
# By default, all vCPUs for the instance type are active when you launch
|
53215
53302
|
# an instance. When you configure the number of active vCPUs for the
|
53216
53303
|
# instance, it can help you save on licensing costs and optimize
|
@@ -66511,7 +66598,7 @@ module Aws::EC2
|
|
66511
66598
|
tracer: tracer
|
66512
66599
|
)
|
66513
66600
|
context[:gem_name] = 'aws-sdk-ec2'
|
66514
|
-
context[:gem_version] = '1.
|
66601
|
+
context[:gem_version] = '1.549.0'
|
66515
66602
|
Seahorse::Client::Request.new(handlers, context)
|
66516
66603
|
end
|
66517
66604
|
|
@@ -1872,8 +1872,10 @@ module Aws::EC2
|
|
1872
1872
|
InstanceBlockDeviceMappingSpecificationList = Shapes::ListShape.new(name: 'InstanceBlockDeviceMappingSpecificationList')
|
1873
1873
|
InstanceBootModeValues = Shapes::StringShape.new(name: 'InstanceBootModeValues')
|
1874
1874
|
InstanceCapacity = Shapes::StructureShape.new(name: 'InstanceCapacity')
|
1875
|
+
InstanceConnectEndpointDnsNames = Shapes::StructureShape.new(name: 'InstanceConnectEndpointDnsNames')
|
1875
1876
|
InstanceConnectEndpointId = Shapes::StringShape.new(name: 'InstanceConnectEndpointId')
|
1876
1877
|
InstanceConnectEndpointMaxResults = Shapes::IntegerShape.new(name: 'InstanceConnectEndpointMaxResults')
|
1878
|
+
InstanceConnectEndpointPublicDnsNames = Shapes::StructureShape.new(name: 'InstanceConnectEndpointPublicDnsNames')
|
1877
1879
|
InstanceConnectEndpointSet = Shapes::ListShape.new(name: 'InstanceConnectEndpointSet')
|
1878
1880
|
InstanceCount = Shapes::StructureShape.new(name: 'InstanceCount')
|
1879
1881
|
InstanceCountList = Shapes::ListShape.new(name: 'InstanceCountList')
|
@@ -2348,6 +2350,8 @@ module Aws::EC2
|
|
2348
2350
|
ModifyInstanceAttributeRequest = Shapes::StructureShape.new(name: 'ModifyInstanceAttributeRequest')
|
2349
2351
|
ModifyInstanceCapacityReservationAttributesRequest = Shapes::StructureShape.new(name: 'ModifyInstanceCapacityReservationAttributesRequest')
|
2350
2352
|
ModifyInstanceCapacityReservationAttributesResult = Shapes::StructureShape.new(name: 'ModifyInstanceCapacityReservationAttributesResult')
|
2353
|
+
ModifyInstanceConnectEndpointRequest = Shapes::StructureShape.new(name: 'ModifyInstanceConnectEndpointRequest')
|
2354
|
+
ModifyInstanceConnectEndpointResult = Shapes::StructureShape.new(name: 'ModifyInstanceConnectEndpointResult')
|
2351
2355
|
ModifyInstanceCpuOptionsRequest = Shapes::StructureShape.new(name: 'ModifyInstanceCpuOptionsRequest')
|
2352
2356
|
ModifyInstanceCpuOptionsResult = Shapes::StructureShape.new(name: 'ModifyInstanceCpuOptionsResult')
|
2353
2357
|
ModifyInstanceCreditSpecificationRequest = Shapes::StructureShape.new(name: 'ModifyInstanceCreditSpecificationRequest')
|
@@ -9423,6 +9427,7 @@ module Aws::EC2
|
|
9423
9427
|
Ec2InstanceConnectEndpoint.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdSet, location_name: "securityGroupIdSet"))
|
9424
9428
|
Ec2InstanceConnectEndpoint.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
9425
9429
|
Ec2InstanceConnectEndpoint.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
9430
|
+
Ec2InstanceConnectEndpoint.add_member(:public_dns_names, Shapes::ShapeRef.new(shape: InstanceConnectEndpointPublicDnsNames, location_name: "publicDnsNames"))
|
9426
9431
|
Ec2InstanceConnectEndpoint.struct_class = Types::Ec2InstanceConnectEndpoint
|
9427
9432
|
|
9428
9433
|
EfaInfo.add_member(:maximum_efa_interfaces, Shapes::ShapeRef.new(shape: MaximumEfaInterfaces, location_name: "maximumEfaInterfaces"))
|
@@ -11277,6 +11282,14 @@ module Aws::EC2
|
|
11277
11282
|
InstanceCapacity.add_member(:total_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "totalCapacity"))
|
11278
11283
|
InstanceCapacity.struct_class = Types::InstanceCapacity
|
11279
11284
|
|
11285
|
+
InstanceConnectEndpointDnsNames.add_member(:dns_name, Shapes::ShapeRef.new(shape: String, location_name: "dnsName"))
|
11286
|
+
InstanceConnectEndpointDnsNames.add_member(:fips_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "fipsDnsName"))
|
11287
|
+
InstanceConnectEndpointDnsNames.struct_class = Types::InstanceConnectEndpointDnsNames
|
11288
|
+
|
11289
|
+
InstanceConnectEndpointPublicDnsNames.add_member(:ipv_4, Shapes::ShapeRef.new(shape: InstanceConnectEndpointDnsNames, location_name: "ipv4"))
|
11290
|
+
InstanceConnectEndpointPublicDnsNames.add_member(:dualstack, Shapes::ShapeRef.new(shape: InstanceConnectEndpointDnsNames, location_name: "dualstack"))
|
11291
|
+
InstanceConnectEndpointPublicDnsNames.struct_class = Types::InstanceConnectEndpointPublicDnsNames
|
11292
|
+
|
11280
11293
|
InstanceConnectEndpointSet.member = Shapes::ShapeRef.new(shape: Ec2InstanceConnectEndpoint, location_name: "item")
|
11281
11294
|
|
11282
11295
|
InstanceCount.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instanceCount"))
|
@@ -12915,6 +12928,16 @@ module Aws::EC2
|
|
12915
12928
|
ModifyInstanceCapacityReservationAttributesResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
12916
12929
|
ModifyInstanceCapacityReservationAttributesResult.struct_class = Types::ModifyInstanceCapacityReservationAttributesResult
|
12917
12930
|
|
12931
|
+
ModifyInstanceConnectEndpointRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12932
|
+
ModifyInstanceConnectEndpointRequest.add_member(:instance_connect_endpoint_id, Shapes::ShapeRef.new(shape: InstanceConnectEndpointId, required: true, location_name: "InstanceConnectEndpointId"))
|
12933
|
+
ModifyInstanceConnectEndpointRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
12934
|
+
ModifyInstanceConnectEndpointRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdStringListRequest, location_name: "SecurityGroupId"))
|
12935
|
+
ModifyInstanceConnectEndpointRequest.add_member(:preserve_client_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "PreserveClientIp"))
|
12936
|
+
ModifyInstanceConnectEndpointRequest.struct_class = Types::ModifyInstanceConnectEndpointRequest
|
12937
|
+
|
12938
|
+
ModifyInstanceConnectEndpointResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
12939
|
+
ModifyInstanceConnectEndpointResult.struct_class = Types::ModifyInstanceConnectEndpointResult
|
12940
|
+
|
12918
12941
|
ModifyInstanceCpuOptionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
12919
12942
|
ModifyInstanceCpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "CoreCount"))
|
12920
12943
|
ModifyInstanceCpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ThreadsPerCore"))
|
@@ -23024,6 +23047,14 @@ module Aws::EC2
|
|
23024
23047
|
o.output = Shapes::ShapeRef.new(shape: ModifyInstanceCapacityReservationAttributesResult)
|
23025
23048
|
end)
|
23026
23049
|
|
23050
|
+
api.add_operation(:modify_instance_connect_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
23051
|
+
o.name = "ModifyInstanceConnectEndpoint"
|
23052
|
+
o.http_method = "POST"
|
23053
|
+
o.http_request_uri = "/"
|
23054
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyInstanceConnectEndpointRequest)
|
23055
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyInstanceConnectEndpointResult)
|
23056
|
+
end)
|
23057
|
+
|
23027
23058
|
api.add_operation(:modify_instance_cpu_options, Seahorse::Model::Operation.new.tap do |o|
|
23028
23059
|
o.name = "ModifyInstanceCpuOptions"
|
23029
23060
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -31564,9 +31564,6 @@ module Aws::EC2
|
|
31564
31564
|
#
|
31565
31565
|
# * `resource-configuration-group-arn` - The Amazon Resource Name
|
31566
31566
|
# (ARN) of the resource configuration of type GROUP.
|
31567
|
-
#
|
31568
|
-
# * `service-network-resource-association-id` - The ID of the
|
31569
|
-
# association.
|
31570
31567
|
# @return [Array<Types::Filter>]
|
31571
31568
|
#
|
31572
31569
|
# @!attribute [rw] max_results
|
@@ -35082,6 +35079,10 @@ module Aws::EC2
|
|
35082
35079
|
# The IP address type of the endpoint.
|
35083
35080
|
# @return [String]
|
35084
35081
|
#
|
35082
|
+
# @!attribute [rw] public_dns_names
|
35083
|
+
# The public DNS names of the endpoint.
|
35084
|
+
# @return [Types::InstanceConnectEndpointPublicDnsNames]
|
35085
|
+
#
|
35085
35086
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ec2InstanceConnectEndpoint AWS API Documentation
|
35086
35087
|
#
|
35087
35088
|
class Ec2InstanceConnectEndpoint < Struct.new(
|
@@ -35100,7 +35101,8 @@ module Aws::EC2
|
|
35100
35101
|
:preserve_client_ip,
|
35101
35102
|
:security_group_ids,
|
35102
35103
|
:tags,
|
35103
|
-
:ip_address_type
|
35104
|
+
:ip_address_type,
|
35105
|
+
:public_dns_names)
|
35104
35106
|
SENSITIVE = []
|
35105
35107
|
include Aws::Structure
|
35106
35108
|
end
|
@@ -45188,6 +45190,48 @@ module Aws::EC2
|
|
45188
45190
|
include Aws::Structure
|
45189
45191
|
end
|
45190
45192
|
|
45193
|
+
# The DNS names of the endpoint.
|
45194
|
+
#
|
45195
|
+
# @!attribute [rw] dns_name
|
45196
|
+
# The DNS name of the EC2 Instance Connect Endpoint.
|
45197
|
+
# @return [String]
|
45198
|
+
#
|
45199
|
+
# @!attribute [rw] fips_dns_name
|
45200
|
+
# The Federal Information Processing Standards (FIPS) compliant DNS
|
45201
|
+
# name of the EC2 Instance Connect Endpoint.
|
45202
|
+
# @return [String]
|
45203
|
+
#
|
45204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceConnectEndpointDnsNames AWS API Documentation
|
45205
|
+
#
|
45206
|
+
class InstanceConnectEndpointDnsNames < Struct.new(
|
45207
|
+
:dns_name,
|
45208
|
+
:fips_dns_name)
|
45209
|
+
SENSITIVE = []
|
45210
|
+
include Aws::Structure
|
45211
|
+
end
|
45212
|
+
|
45213
|
+
# The public DNS names of the endpoint, including IPv4-only and
|
45214
|
+
# dualstack DNS names.
|
45215
|
+
#
|
45216
|
+
# @!attribute [rw] ipv_4
|
45217
|
+
# The IPv4-only DNS name of the EC2 Instance Connect Endpoint.
|
45218
|
+
# @return [Types::InstanceConnectEndpointDnsNames]
|
45219
|
+
#
|
45220
|
+
# @!attribute [rw] dualstack
|
45221
|
+
# The dualstack DNS name of the EC2 Instance Connect Endpoint. A
|
45222
|
+
# dualstack DNS name supports connections from both IPv4 and IPv6
|
45223
|
+
# clients.
|
45224
|
+
# @return [Types::InstanceConnectEndpointDnsNames]
|
45225
|
+
#
|
45226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceConnectEndpointPublicDnsNames AWS API Documentation
|
45227
|
+
#
|
45228
|
+
class InstanceConnectEndpointPublicDnsNames < Struct.new(
|
45229
|
+
:ipv_4,
|
45230
|
+
:dualstack)
|
45231
|
+
SENSITIVE = []
|
45232
|
+
include Aws::Structure
|
45233
|
+
end
|
45234
|
+
|
45191
45235
|
# Describes a Reserved Instance listing state.
|
45192
45236
|
#
|
45193
45237
|
# @!attribute [rw] instance_count
|
@@ -54596,6 +54640,80 @@ module Aws::EC2
|
|
54596
54640
|
include Aws::Structure
|
54597
54641
|
end
|
54598
54642
|
|
54643
|
+
# @!attribute [rw] dry_run
|
54644
|
+
# Checks whether you have the required permissions for the operation,
|
54645
|
+
# without actually making the request, and provides an error response.
|
54646
|
+
# If you have the required permissions, the error response is
|
54647
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
54648
|
+
# @return [Boolean]
|
54649
|
+
#
|
54650
|
+
# @!attribute [rw] instance_connect_endpoint_id
|
54651
|
+
# The ID of the EC2 Instance Connect Endpoint to modify.
|
54652
|
+
# @return [String]
|
54653
|
+
#
|
54654
|
+
# @!attribute [rw] ip_address_type
|
54655
|
+
# The new IP address type for the EC2 Instance Connect Endpoint.
|
54656
|
+
#
|
54657
|
+
# <note markdown="1"> `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect
|
54658
|
+
# Endpoints. To use `PreserveClientIp`, the value for `IpAddressType`
|
54659
|
+
# must be `ipv4`.
|
54660
|
+
#
|
54661
|
+
# </note>
|
54662
|
+
# @return [String]
|
54663
|
+
#
|
54664
|
+
# @!attribute [rw] security_group_ids
|
54665
|
+
# Changes the security groups for the EC2 Instance Connect Endpoint.
|
54666
|
+
# The new set of groups you specify replaces the current set. You must
|
54667
|
+
# specify at least one group, even if it's just the default security
|
54668
|
+
# group in the VPC. You must specify the ID of the security group, not
|
54669
|
+
# the name.
|
54670
|
+
# @return [Array<String>]
|
54671
|
+
#
|
54672
|
+
# @!attribute [rw] preserve_client_ip
|
54673
|
+
# Indicates whether the client IP address is preserved as the source.
|
54674
|
+
# The following are the possible values.
|
54675
|
+
#
|
54676
|
+
# * `true` - Use the client IP address as the source.
|
54677
|
+
#
|
54678
|
+
# * `false` - Use the network interface IP address as the source.
|
54679
|
+
#
|
54680
|
+
# <note markdown="1"> `PreserveClientIp=true` is only supported on IPv4 EC2 Instance
|
54681
|
+
# Connect Endpoints. If modifying `PreserveClientIp` to `true`, either
|
54682
|
+
# the endpoint's existing `IpAddressType` must be `ipv4`, or if
|
54683
|
+
# modifying `IpAddressType` in the same request, the new value must be
|
54684
|
+
# `ipv4`.
|
54685
|
+
#
|
54686
|
+
# </note>
|
54687
|
+
#
|
54688
|
+
# Default: `false`
|
54689
|
+
# @return [Boolean]
|
54690
|
+
#
|
54691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpointRequest AWS API Documentation
|
54692
|
+
#
|
54693
|
+
class ModifyInstanceConnectEndpointRequest < Struct.new(
|
54694
|
+
:dry_run,
|
54695
|
+
:instance_connect_endpoint_id,
|
54696
|
+
:ip_address_type,
|
54697
|
+
:security_group_ids,
|
54698
|
+
:preserve_client_ip)
|
54699
|
+
SENSITIVE = []
|
54700
|
+
include Aws::Structure
|
54701
|
+
end
|
54702
|
+
|
54703
|
+
# @!attribute [rw] return
|
54704
|
+
# The return value of the request. Returns `true` if the specified
|
54705
|
+
# product code is owned by the requester and associated with the
|
54706
|
+
# specified instance.
|
54707
|
+
# @return [Boolean]
|
54708
|
+
#
|
54709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpointResult AWS API Documentation
|
54710
|
+
#
|
54711
|
+
class ModifyInstanceConnectEndpointResult < Struct.new(
|
54712
|
+
:return)
|
54713
|
+
SENSITIVE = []
|
54714
|
+
include Aws::Structure
|
54715
|
+
end
|
54716
|
+
|
54599
54717
|
# @!attribute [rw] instance_id
|
54600
54718
|
# The ID of the instance to update.
|
54601
54719
|
# @return [String]
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -11198,6 +11198,20 @@ module Aws
|
|
11198
11198
|
) -> _ModifyInstanceCapacityReservationAttributesResponseSuccess
|
11199
11199
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceCapacityReservationAttributesResponseSuccess
|
11200
11200
|
|
11201
|
+
interface _ModifyInstanceConnectEndpointResponseSuccess
|
11202
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstanceConnectEndpointResult]
|
11203
|
+
def return: () -> bool
|
11204
|
+
end
|
11205
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_instance_connect_endpoint-instance_method
|
11206
|
+
def modify_instance_connect_endpoint: (
|
11207
|
+
?dry_run: bool,
|
11208
|
+
instance_connect_endpoint_id: ::String,
|
11209
|
+
?ip_address_type: ("ipv4" | "dualstack" | "ipv6"),
|
11210
|
+
?security_group_ids: Array[::String],
|
11211
|
+
?preserve_client_ip: bool
|
11212
|
+
) -> _ModifyInstanceConnectEndpointResponseSuccess
|
11213
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceConnectEndpointResponseSuccess
|
11214
|
+
|
11201
11215
|
interface _ModifyInstanceCpuOptionsResponseSuccess
|
11202
11216
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstanceCpuOptionsResult]
|
11203
11217
|
def instance_id: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -7687,7 +7687,7 @@ module Aws::EC2
|
|
7687
7687
|
attr_accessor owner_id: ::String
|
7688
7688
|
attr_accessor instance_connect_endpoint_id: ::String
|
7689
7689
|
attr_accessor instance_connect_endpoint_arn: ::String
|
7690
|
-
attr_accessor state: ("create-in-progress" | "create-complete" | "create-failed" | "delete-in-progress" | "delete-complete" | "delete-failed")
|
7690
|
+
attr_accessor state: ("create-in-progress" | "create-complete" | "create-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "update-in-progress" | "update-complete" | "update-failed")
|
7691
7691
|
attr_accessor state_message: ::String
|
7692
7692
|
attr_accessor dns_name: ::String
|
7693
7693
|
attr_accessor fips_dns_name: ::String
|
@@ -7700,6 +7700,7 @@ module Aws::EC2
|
|
7700
7700
|
attr_accessor security_group_ids: ::Array[::String]
|
7701
7701
|
attr_accessor tags: ::Array[Types::Tag]
|
7702
7702
|
attr_accessor ip_address_type: ("ipv4" | "dualstack" | "ipv6")
|
7703
|
+
attr_accessor public_dns_names: Types::InstanceConnectEndpointPublicDnsNames
|
7703
7704
|
SENSITIVE: []
|
7704
7705
|
end
|
7705
7706
|
|
@@ -9955,6 +9956,18 @@ module Aws::EC2
|
|
9955
9956
|
SENSITIVE: []
|
9956
9957
|
end
|
9957
9958
|
|
9959
|
+
class InstanceConnectEndpointDnsNames
|
9960
|
+
attr_accessor dns_name: ::String
|
9961
|
+
attr_accessor fips_dns_name: ::String
|
9962
|
+
SENSITIVE: []
|
9963
|
+
end
|
9964
|
+
|
9965
|
+
class InstanceConnectEndpointPublicDnsNames
|
9966
|
+
attr_accessor ipv_4: Types::InstanceConnectEndpointDnsNames
|
9967
|
+
attr_accessor dualstack: Types::InstanceConnectEndpointDnsNames
|
9968
|
+
SENSITIVE: []
|
9969
|
+
end
|
9970
|
+
|
9958
9971
|
class InstanceCount
|
9959
9972
|
attr_accessor instance_count: ::Integer
|
9960
9973
|
attr_accessor state: ("available" | "sold" | "cancelled" | "pending")
|
@@ -11745,6 +11758,20 @@ module Aws::EC2
|
|
11745
11758
|
SENSITIVE: []
|
11746
11759
|
end
|
11747
11760
|
|
11761
|
+
class ModifyInstanceConnectEndpointRequest
|
11762
|
+
attr_accessor dry_run: bool
|
11763
|
+
attr_accessor instance_connect_endpoint_id: ::String
|
11764
|
+
attr_accessor ip_address_type: ("ipv4" | "dualstack" | "ipv6")
|
11765
|
+
attr_accessor security_group_ids: ::Array[::String]
|
11766
|
+
attr_accessor preserve_client_ip: bool
|
11767
|
+
SENSITIVE: []
|
11768
|
+
end
|
11769
|
+
|
11770
|
+
class ModifyInstanceConnectEndpointResult
|
11771
|
+
attr_accessor return: bool
|
11772
|
+
SENSITIVE: []
|
11773
|
+
end
|
11774
|
+
|
11748
11775
|
class ModifyInstanceCpuOptionsRequest
|
11749
11776
|
attr_accessor instance_id: ::String
|
11750
11777
|
attr_accessor core_count: ::Integer
|