aws-sdk-ec2 1.382.0 → 1.383.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -414,6 +414,8 @@ module Aws::EC2
414
414
  CreateFpgaImageResult = Shapes::StructureShape.new(name: 'CreateFpgaImageResult')
415
415
  CreateImageRequest = Shapes::StructureShape.new(name: 'CreateImageRequest')
416
416
  CreateImageResult = Shapes::StructureShape.new(name: 'CreateImageResult')
417
+ CreateInstanceConnectEndpointRequest = Shapes::StructureShape.new(name: 'CreateInstanceConnectEndpointRequest')
418
+ CreateInstanceConnectEndpointResult = Shapes::StructureShape.new(name: 'CreateInstanceConnectEndpointResult')
417
419
  CreateInstanceEventWindowRequest = Shapes::StructureShape.new(name: 'CreateInstanceEventWindowRequest')
418
420
  CreateInstanceEventWindowResult = Shapes::StructureShape.new(name: 'CreateInstanceEventWindowResult')
419
421
  CreateInstanceExportTaskRequest = Shapes::StructureShape.new(name: 'CreateInstanceExportTaskRequest')
@@ -600,6 +602,8 @@ module Aws::EC2
600
602
  DeleteFlowLogsResult = Shapes::StructureShape.new(name: 'DeleteFlowLogsResult')
601
603
  DeleteFpgaImageRequest = Shapes::StructureShape.new(name: 'DeleteFpgaImageRequest')
602
604
  DeleteFpgaImageResult = Shapes::StructureShape.new(name: 'DeleteFpgaImageResult')
605
+ DeleteInstanceConnectEndpointRequest = Shapes::StructureShape.new(name: 'DeleteInstanceConnectEndpointRequest')
606
+ DeleteInstanceConnectEndpointResult = Shapes::StructureShape.new(name: 'DeleteInstanceConnectEndpointResult')
603
607
  DeleteInstanceEventWindowRequest = Shapes::StructureShape.new(name: 'DeleteInstanceEventWindowRequest')
604
608
  DeleteInstanceEventWindowResult = Shapes::StructureShape.new(name: 'DeleteInstanceEventWindowResult')
605
609
  DeleteInternetGatewayRequest = Shapes::StructureShape.new(name: 'DeleteInternetGatewayRequest')
@@ -844,6 +848,8 @@ module Aws::EC2
844
848
  DescribeImportSnapshotTasksRequest = Shapes::StructureShape.new(name: 'DescribeImportSnapshotTasksRequest')
845
849
  DescribeImportSnapshotTasksResult = Shapes::StructureShape.new(name: 'DescribeImportSnapshotTasksResult')
846
850
  DescribeInstanceAttributeRequest = Shapes::StructureShape.new(name: 'DescribeInstanceAttributeRequest')
851
+ DescribeInstanceConnectEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeInstanceConnectEndpointsRequest')
852
+ DescribeInstanceConnectEndpointsResult = Shapes::StructureShape.new(name: 'DescribeInstanceConnectEndpointsResult')
847
853
  DescribeInstanceCreditSpecificationsMaxResults = Shapes::IntegerShape.new(name: 'DescribeInstanceCreditSpecificationsMaxResults')
848
854
  DescribeInstanceCreditSpecificationsRequest = Shapes::StructureShape.new(name: 'DescribeInstanceCreditSpecificationsRequest')
849
855
  DescribeInstanceCreditSpecificationsResult = Shapes::StructureShape.new(name: 'DescribeInstanceCreditSpecificationsResult')
@@ -1184,6 +1190,8 @@ module Aws::EC2
1184
1190
  EbsNvmeSupport = Shapes::StringShape.new(name: 'EbsNvmeSupport')
1185
1191
  EbsOptimizedInfo = Shapes::StructureShape.new(name: 'EbsOptimizedInfo')
1186
1192
  EbsOptimizedSupport = Shapes::StringShape.new(name: 'EbsOptimizedSupport')
1193
+ Ec2InstanceConnectEndpoint = Shapes::StructureShape.new(name: 'Ec2InstanceConnectEndpoint')
1194
+ Ec2InstanceConnectEndpointState = Shapes::StringShape.new(name: 'Ec2InstanceConnectEndpointState')
1187
1195
  EfaInfo = Shapes::StructureShape.new(name: 'EfaInfo')
1188
1196
  EfaSupportedFlag = Shapes::BooleanShape.new(name: 'EfaSupportedFlag')
1189
1197
  EgressOnlyInternetGateway = Shapes::StructureShape.new(name: 'EgressOnlyInternetGateway')
@@ -1571,6 +1579,9 @@ module Aws::EC2
1571
1579
  InstanceBlockDeviceMappingSpecificationList = Shapes::ListShape.new(name: 'InstanceBlockDeviceMappingSpecificationList')
1572
1580
  InstanceBootModeValues = Shapes::StringShape.new(name: 'InstanceBootModeValues')
1573
1581
  InstanceCapacity = Shapes::StructureShape.new(name: 'InstanceCapacity')
1582
+ InstanceConnectEndpointId = Shapes::StringShape.new(name: 'InstanceConnectEndpointId')
1583
+ InstanceConnectEndpointMaxResults = Shapes::IntegerShape.new(name: 'InstanceConnectEndpointMaxResults')
1584
+ InstanceConnectEndpointSet = Shapes::ListShape.new(name: 'InstanceConnectEndpointSet')
1574
1585
  InstanceCount = Shapes::StructureShape.new(name: 'InstanceCount')
1575
1586
  InstanceCountList = Shapes::ListShape.new(name: 'InstanceCountList')
1576
1587
  InstanceCreditSpecification = Shapes::StructureShape.new(name: 'InstanceCreditSpecification')
@@ -2136,6 +2147,7 @@ module Aws::EC2
2136
2147
  NetworkInterfaceCreationType = Shapes::StringShape.new(name: 'NetworkInterfaceCreationType')
2137
2148
  NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
2138
2149
  NetworkInterfaceIdList = Shapes::ListShape.new(name: 'NetworkInterfaceIdList')
2150
+ NetworkInterfaceIdSet = Shapes::ListShape.new(name: 'NetworkInterfaceIdSet')
2139
2151
  NetworkInterfaceIpv6Address = Shapes::StructureShape.new(name: 'NetworkInterfaceIpv6Address')
2140
2152
  NetworkInterfaceIpv6AddressesList = Shapes::ListShape.new(name: 'NetworkInterfaceIpv6AddressesList')
2141
2153
  NetworkInterfaceList = Shapes::ListShape.new(name: 'NetworkInterfaceList')
@@ -2514,7 +2526,9 @@ module Aws::EC2
2514
2526
  SecurityGroup = Shapes::StructureShape.new(name: 'SecurityGroup')
2515
2527
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
2516
2528
  SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
2529
+ SecurityGroupIdSet = Shapes::ListShape.new(name: 'SecurityGroupIdSet')
2517
2530
  SecurityGroupIdStringList = Shapes::ListShape.new(name: 'SecurityGroupIdStringList')
2531
+ SecurityGroupIdStringListRequest = Shapes::ListShape.new(name: 'SecurityGroupIdStringListRequest')
2518
2532
  SecurityGroupIdentifier = Shapes::StructureShape.new(name: 'SecurityGroupIdentifier')
2519
2533
  SecurityGroupList = Shapes::ListShape.new(name: 'SecurityGroupList')
2520
2534
  SecurityGroupName = Shapes::StringShape.new(name: 'SecurityGroupName')
@@ -4478,6 +4492,18 @@ module Aws::EC2
4478
4492
  CreateImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
4479
4493
  CreateImageResult.struct_class = Types::CreateImageResult
4480
4494
 
4495
+ CreateInstanceConnectEndpointRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4496
+ CreateInstanceConnectEndpointRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
4497
+ CreateInstanceConnectEndpointRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdStringListRequest, location_name: "SecurityGroupId"))
4498
+ CreateInstanceConnectEndpointRequest.add_member(:preserve_client_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "PreserveClientIp"))
4499
+ CreateInstanceConnectEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4500
+ CreateInstanceConnectEndpointRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4501
+ CreateInstanceConnectEndpointRequest.struct_class = Types::CreateInstanceConnectEndpointRequest
4502
+
4503
+ CreateInstanceConnectEndpointResult.add_member(:instance_connect_endpoint, Shapes::ShapeRef.new(shape: Ec2InstanceConnectEndpoint, location_name: "instanceConnectEndpoint"))
4504
+ CreateInstanceConnectEndpointResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
4505
+ CreateInstanceConnectEndpointResult.struct_class = Types::CreateInstanceConnectEndpointResult
4506
+
4481
4507
  CreateInstanceEventWindowRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4482
4508
  CreateInstanceEventWindowRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
4483
4509
  CreateInstanceEventWindowRequest.add_member(:time_ranges, Shapes::ShapeRef.new(shape: InstanceEventWindowTimeRangeRequestSet, location_name: "TimeRange"))
@@ -5407,6 +5433,13 @@ module Aws::EC2
5407
5433
  DeleteFpgaImageResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
5408
5434
  DeleteFpgaImageResult.struct_class = Types::DeleteFpgaImageResult
5409
5435
 
5436
+ DeleteInstanceConnectEndpointRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5437
+ DeleteInstanceConnectEndpointRequest.add_member(:instance_connect_endpoint_id, Shapes::ShapeRef.new(shape: InstanceConnectEndpointId, required: true, location_name: "InstanceConnectEndpointId"))
5438
+ DeleteInstanceConnectEndpointRequest.struct_class = Types::DeleteInstanceConnectEndpointRequest
5439
+
5440
+ DeleteInstanceConnectEndpointResult.add_member(:instance_connect_endpoint, Shapes::ShapeRef.new(shape: Ec2InstanceConnectEndpoint, location_name: "instanceConnectEndpoint"))
5441
+ DeleteInstanceConnectEndpointResult.struct_class = Types::DeleteInstanceConnectEndpointResult
5442
+
5410
5443
  DeleteInstanceEventWindowRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5411
5444
  DeleteInstanceEventWindowRequest.add_member(:force_delete, Shapes::ShapeRef.new(shape: Boolean, location_name: "ForceDelete"))
5412
5445
  DeleteInstanceEventWindowRequest.add_member(:instance_event_window_id, Shapes::ShapeRef.new(shape: InstanceEventWindowId, required: true, location_name: "InstanceEventWindowId"))
@@ -6387,6 +6420,17 @@ module Aws::EC2
6387
6420
  DescribeInstanceAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
6388
6421
  DescribeInstanceAttributeRequest.struct_class = Types::DescribeInstanceAttributeRequest
6389
6422
 
6423
+ DescribeInstanceConnectEndpointsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6424
+ DescribeInstanceConnectEndpointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: InstanceConnectEndpointMaxResults, location_name: "MaxResults"))
6425
+ DescribeInstanceConnectEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
6426
+ DescribeInstanceConnectEndpointsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
6427
+ DescribeInstanceConnectEndpointsRequest.add_member(:instance_connect_endpoint_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "InstanceConnectEndpointId"))
6428
+ DescribeInstanceConnectEndpointsRequest.struct_class = Types::DescribeInstanceConnectEndpointsRequest
6429
+
6430
+ DescribeInstanceConnectEndpointsResult.add_member(:instance_connect_endpoints, Shapes::ShapeRef.new(shape: InstanceConnectEndpointSet, location_name: "instanceConnectEndpointSet"))
6431
+ DescribeInstanceConnectEndpointsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
6432
+ DescribeInstanceConnectEndpointsResult.struct_class = Types::DescribeInstanceConnectEndpointsResult
6433
+
6390
6434
  DescribeInstanceCreditSpecificationsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6391
6435
  DescribeInstanceCreditSpecificationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
6392
6436
  DescribeInstanceCreditSpecificationsRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, location_name: "InstanceId"))
@@ -7864,6 +7908,23 @@ module Aws::EC2
7864
7908
  EbsOptimizedInfo.add_member(:maximum_iops, Shapes::ShapeRef.new(shape: MaximumIops, location_name: "maximumIops"))
7865
7909
  EbsOptimizedInfo.struct_class = Types::EbsOptimizedInfo
7866
7910
 
7911
+ Ec2InstanceConnectEndpoint.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
7912
+ Ec2InstanceConnectEndpoint.add_member(:instance_connect_endpoint_id, Shapes::ShapeRef.new(shape: InstanceConnectEndpointId, location_name: "instanceConnectEndpointId"))
7913
+ Ec2InstanceConnectEndpoint.add_member(:instance_connect_endpoint_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "instanceConnectEndpointArn"))
7914
+ Ec2InstanceConnectEndpoint.add_member(:state, Shapes::ShapeRef.new(shape: Ec2InstanceConnectEndpointState, location_name: "state"))
7915
+ Ec2InstanceConnectEndpoint.add_member(:state_message, Shapes::ShapeRef.new(shape: String, location_name: "stateMessage"))
7916
+ Ec2InstanceConnectEndpoint.add_member(:dns_name, Shapes::ShapeRef.new(shape: String, location_name: "dnsName"))
7917
+ Ec2InstanceConnectEndpoint.add_member(:fips_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "fipsDnsName"))
7918
+ Ec2InstanceConnectEndpoint.add_member(:network_interface_ids, Shapes::ShapeRef.new(shape: NetworkInterfaceIdSet, location_name: "networkInterfaceIdSet"))
7919
+ Ec2InstanceConnectEndpoint.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "vpcId"))
7920
+ Ec2InstanceConnectEndpoint.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
7921
+ Ec2InstanceConnectEndpoint.add_member(:created_at, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "createdAt"))
7922
+ Ec2InstanceConnectEndpoint.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
7923
+ Ec2InstanceConnectEndpoint.add_member(:preserve_client_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "preserveClientIp"))
7924
+ Ec2InstanceConnectEndpoint.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdSet, location_name: "securityGroupIdSet"))
7925
+ Ec2InstanceConnectEndpoint.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
7926
+ Ec2InstanceConnectEndpoint.struct_class = Types::Ec2InstanceConnectEndpoint
7927
+
7867
7928
  EfaInfo.add_member(:maximum_efa_interfaces, Shapes::ShapeRef.new(shape: MaximumEfaInterfaces, location_name: "maximumEfaInterfaces"))
7868
7929
  EfaInfo.struct_class = Types::EfaInfo
7869
7930
 
@@ -9446,6 +9507,8 @@ module Aws::EC2
9446
9507
  InstanceCapacity.add_member(:total_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "totalCapacity"))
9447
9508
  InstanceCapacity.struct_class = Types::InstanceCapacity
9448
9509
 
9510
+ InstanceConnectEndpointSet.member = Shapes::ShapeRef.new(shape: Ec2InstanceConnectEndpoint, location_name: "item")
9511
+
9449
9512
  InstanceCount.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instanceCount"))
9450
9513
  InstanceCount.add_member(:state, Shapes::ShapeRef.new(shape: ListingState, location_name: "state"))
9451
9514
  InstanceCount.struct_class = Types::InstanceCount
@@ -11641,6 +11704,8 @@ module Aws::EC2
11641
11704
 
11642
11705
  NetworkInterfaceIdList.member = Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "item")
11643
11706
 
11707
+ NetworkInterfaceIdSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
11708
+
11644
11709
  NetworkInterfaceIpv6Address.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
11645
11710
  NetworkInterfaceIpv6Address.struct_class = Types::NetworkInterfaceIpv6Address
11646
11711
 
@@ -13113,8 +13178,12 @@ module Aws::EC2
13113
13178
 
13114
13179
  SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "item")
13115
13180
 
13181
+ SecurityGroupIdSet.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "item")
13182
+
13116
13183
  SecurityGroupIdStringList.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "SecurityGroupId")
13117
13184
 
13185
+ SecurityGroupIdStringListRequest.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "SecurityGroupId")
13186
+
13118
13187
  SecurityGroupIdentifier.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
13119
13188
  SecurityGroupIdentifier.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
13120
13189
  SecurityGroupIdentifier.struct_class = Types::SecurityGroupIdentifier
@@ -15446,6 +15515,14 @@ module Aws::EC2
15446
15515
  o.output = Shapes::ShapeRef.new(shape: CreateImageResult)
15447
15516
  end)
15448
15517
 
15518
+ api.add_operation(:create_instance_connect_endpoint, Seahorse::Model::Operation.new.tap do |o|
15519
+ o.name = "CreateInstanceConnectEndpoint"
15520
+ o.http_method = "POST"
15521
+ o.http_request_uri = "/"
15522
+ o.input = Shapes::ShapeRef.new(shape: CreateInstanceConnectEndpointRequest)
15523
+ o.output = Shapes::ShapeRef.new(shape: CreateInstanceConnectEndpointResult)
15524
+ end)
15525
+
15449
15526
  api.add_operation(:create_instance_event_window, Seahorse::Model::Operation.new.tap do |o|
15450
15527
  o.name = "CreateInstanceEventWindow"
15451
15528
  o.http_method = "POST"
@@ -16054,6 +16131,14 @@ module Aws::EC2
16054
16131
  o.output = Shapes::ShapeRef.new(shape: DeleteFpgaImageResult)
16055
16132
  end)
16056
16133
 
16134
+ api.add_operation(:delete_instance_connect_endpoint, Seahorse::Model::Operation.new.tap do |o|
16135
+ o.name = "DeleteInstanceConnectEndpoint"
16136
+ o.http_method = "POST"
16137
+ o.http_request_uri = "/"
16138
+ o.input = Shapes::ShapeRef.new(shape: DeleteInstanceConnectEndpointRequest)
16139
+ o.output = Shapes::ShapeRef.new(shape: DeleteInstanceConnectEndpointResult)
16140
+ end)
16141
+
16057
16142
  api.add_operation(:delete_instance_event_window, Seahorse::Model::Operation.new.tap do |o|
16058
16143
  o.name = "DeleteInstanceEventWindow"
16059
16144
  o.http_method = "POST"
@@ -17140,6 +17225,20 @@ module Aws::EC2
17140
17225
  o.output = Shapes::ShapeRef.new(shape: InstanceAttribute)
17141
17226
  end)
17142
17227
 
17228
+ api.add_operation(:describe_instance_connect_endpoints, Seahorse::Model::Operation.new.tap do |o|
17229
+ o.name = "DescribeInstanceConnectEndpoints"
17230
+ o.http_method = "POST"
17231
+ o.http_request_uri = "/"
17232
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceConnectEndpointsRequest)
17233
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceConnectEndpointsResult)
17234
+ o[:pager] = Aws::Pager.new(
17235
+ limit_key: "max_results",
17236
+ tokens: {
17237
+ "next_token" => "next_token"
17238
+ }
17239
+ )
17240
+ end)
17241
+
17143
17242
  api.add_operation(:describe_instance_credit_specifications, Seahorse::Model::Operation.new.tap do |o|
17144
17243
  o.name = "DescribeInstanceCreditSpecifications"
17145
17244
  o.http_method = "POST"
@@ -991,6 +991,20 @@ module Aws::EC2
991
991
  end
992
992
  end
993
993
 
994
+ class CreateInstanceConnectEndpoint
995
+ def self.build(context)
996
+ unless context.config.regional_endpoint
997
+ endpoint = context.config.endpoint.to_s
998
+ end
999
+ Aws::EC2::EndpointParameters.new(
1000
+ region: context.config.region,
1001
+ use_dual_stack: context.config.use_dualstack_endpoint,
1002
+ use_fips: context.config.use_fips_endpoint,
1003
+ endpoint: endpoint,
1004
+ )
1005
+ end
1006
+ end
1007
+
994
1008
  class CreateInstanceEventWindow
995
1009
  def self.build(context)
996
1010
  unless context.config.regional_endpoint
@@ -2055,6 +2069,20 @@ module Aws::EC2
2055
2069
  end
2056
2070
  end
2057
2071
 
2072
+ class DeleteInstanceConnectEndpoint
2073
+ def self.build(context)
2074
+ unless context.config.regional_endpoint
2075
+ endpoint = context.config.endpoint.to_s
2076
+ end
2077
+ Aws::EC2::EndpointParameters.new(
2078
+ region: context.config.region,
2079
+ use_dual_stack: context.config.use_dualstack_endpoint,
2080
+ use_fips: context.config.use_fips_endpoint,
2081
+ endpoint: endpoint,
2082
+ )
2083
+ end
2084
+ end
2085
+
2058
2086
  class DeleteInstanceEventWindow
2059
2087
  def self.build(context)
2060
2088
  unless context.config.regional_endpoint
@@ -3651,6 +3679,20 @@ module Aws::EC2
3651
3679
  end
3652
3680
  end
3653
3681
 
3682
+ class DescribeInstanceConnectEndpoints
3683
+ def self.build(context)
3684
+ unless context.config.regional_endpoint
3685
+ endpoint = context.config.endpoint.to_s
3686
+ end
3687
+ Aws::EC2::EndpointParameters.new(
3688
+ region: context.config.region,
3689
+ use_dual_stack: context.config.use_dualstack_endpoint,
3690
+ use_fips: context.config.use_fips_endpoint,
3691
+ endpoint: endpoint,
3692
+ )
3693
+ end
3694
+ end
3695
+
3654
3696
  class DescribeInstanceCreditSpecifications
3655
3697
  def self.build(context)
3656
3698
  unless context.config.regional_endpoint
@@ -767,7 +767,7 @@ module Aws::EC2
767
767
  # no_reboot: false,
768
768
  # tag_specifications: [
769
769
  # {
770
- # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association
770
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
771
771
  # tags: [
772
772
  # {
773
773
  # key: "String",
@@ -1693,12 +1693,9 @@ module Aws::EC2
1693
1693
  # @option options [Array<Types::Filter>] :filters
1694
1694
  # One or more filters. Filter names and values are case-sensitive.
1695
1695
  #
1696
- # * `allocation-id` - \[EC2-VPC\] The allocation ID for the address.
1696
+ # * `allocation-id` - The allocation ID for the address.
1697
1697
  #
1698
- # * `association-id` - \[EC2-VPC\] The association ID for the address.
1699
- #
1700
- # * `domain` - Indicates whether the address is for use in EC2-Classic
1701
- # (`standard`) or in a VPC (`vpc`).
1698
+ # * `association-id` - The association ID for the address.
1702
1699
  #
1703
1700
  # * `instance-id` - The ID of the instance the address is associated
1704
1701
  # with, if any.
@@ -1707,14 +1704,14 @@ module Aws::EC2
1707
1704
  # Zones, or Wavelength Zones from where Amazon Web Services advertises
1708
1705
  # IP addresses.
1709
1706
  #
1710
- # * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
1711
- # that the address is associated with, if any.
1707
+ # * `network-interface-id` - The ID of the network interface that the
1708
+ # address is associated with, if any.
1712
1709
  #
1713
1710
  # * `network-interface-owner-id` - The Amazon Web Services account ID of
1714
1711
  # the owner.
1715
1712
  #
1716
- # * `private-ip-address` - \[EC2-VPC\] The private IP address associated
1717
- # with the Elastic IP address.
1713
+ # * `private-ip-address` - The private IP address associated with the
1714
+ # Elastic IP address.
1718
1715
  #
1719
1716
  # * `public-ip` - The Elastic IP address, or the carrier IP address.
1720
1717
  #
@@ -1732,7 +1729,7 @@ module Aws::EC2
1732
1729
  #
1733
1730
  # Default: Describes all your Elastic IP addresses.
1734
1731
  # @option options [Array<String>] :allocation_ids
1735
- # \[EC2-VPC\] Information about the allocation IDs.
1732
+ # Information about the allocation IDs.
1736
1733
  # @option options [Boolean] :dry_run
1737
1734
  # Checks whether you have the required permissions for the action,
1738
1735
  # without actually making the request, and provides an error response.
@@ -214,7 +214,7 @@ module Aws::EC2
214
214
  # })
215
215
  # @param [Hash] options ({})
216
216
  # @option options [String] :public_ip
217
- # \[EC2-Classic\] The Elastic IP address. Required for EC2-Classic.
217
+ # Deprecated.
218
218
  # @option options [Boolean] :dry_run
219
219
  # Checks whether you have the required permissions for the action,
220
220
  # without actually making the request, and provides an error response.
@@ -196,6 +196,8 @@ module Aws::EC2
196
196
  Aws::EC2::Endpoints::CreateFpgaImage.build(context)
197
197
  when :create_image
198
198
  Aws::EC2::Endpoints::CreateImage.build(context)
199
+ when :create_instance_connect_endpoint
200
+ Aws::EC2::Endpoints::CreateInstanceConnectEndpoint.build(context)
199
201
  when :create_instance_event_window
200
202
  Aws::EC2::Endpoints::CreateInstanceEventWindow.build(context)
201
203
  when :create_instance_export_task
@@ -348,6 +350,8 @@ module Aws::EC2
348
350
  Aws::EC2::Endpoints::DeleteFlowLogs.build(context)
349
351
  when :delete_fpga_image
350
352
  Aws::EC2::Endpoints::DeleteFpgaImage.build(context)
353
+ when :delete_instance_connect_endpoint
354
+ Aws::EC2::Endpoints::DeleteInstanceConnectEndpoint.build(context)
351
355
  when :delete_instance_event_window
352
356
  Aws::EC2::Endpoints::DeleteInstanceEventWindow.build(context)
353
357
  when :delete_internet_gateway
@@ -576,6 +580,8 @@ module Aws::EC2
576
580
  Aws::EC2::Endpoints::DescribeImportSnapshotTasks.build(context)
577
581
  when :describe_instance_attribute
578
582
  Aws::EC2::Endpoints::DescribeInstanceAttribute.build(context)
583
+ when :describe_instance_connect_endpoints
584
+ Aws::EC2::Endpoints::DescribeInstanceConnectEndpoints.build(context)
579
585
  when :describe_instance_credit_specifications
580
586
  Aws::EC2::Endpoints::DescribeInstanceCreditSpecifications.build(context)
581
587
  when :describe_instance_event_notification_attributes