aws-sdk-ec2 1.359.0 → 1.361.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -126,6 +126,8 @@ module Aws::EC2
126
126
  AssociateIamInstanceProfileResult = Shapes::StructureShape.new(name: 'AssociateIamInstanceProfileResult')
127
127
  AssociateInstanceEventWindowRequest = Shapes::StructureShape.new(name: 'AssociateInstanceEventWindowRequest')
128
128
  AssociateInstanceEventWindowResult = Shapes::StructureShape.new(name: 'AssociateInstanceEventWindowResult')
129
+ AssociateIpamResourceDiscoveryRequest = Shapes::StructureShape.new(name: 'AssociateIpamResourceDiscoveryRequest')
130
+ AssociateIpamResourceDiscoveryResult = Shapes::StructureShape.new(name: 'AssociateIpamResourceDiscoveryResult')
129
131
  AssociateRouteTableRequest = Shapes::StructureShape.new(name: 'AssociateRouteTableRequest')
130
132
  AssociateRouteTableResult = Shapes::StructureShape.new(name: 'AssociateRouteTableResult')
131
133
  AssociateSubnetCidrBlockRequest = Shapes::StructureShape.new(name: 'AssociateSubnetCidrBlockRequest')
@@ -412,6 +414,8 @@ module Aws::EC2
412
414
  CreateIpamPoolRequest = Shapes::StructureShape.new(name: 'CreateIpamPoolRequest')
413
415
  CreateIpamPoolResult = Shapes::StructureShape.new(name: 'CreateIpamPoolResult')
414
416
  CreateIpamRequest = Shapes::StructureShape.new(name: 'CreateIpamRequest')
417
+ CreateIpamResourceDiscoveryRequest = Shapes::StructureShape.new(name: 'CreateIpamResourceDiscoveryRequest')
418
+ CreateIpamResourceDiscoveryResult = Shapes::StructureShape.new(name: 'CreateIpamResourceDiscoveryResult')
415
419
  CreateIpamResult = Shapes::StructureShape.new(name: 'CreateIpamResult')
416
420
  CreateIpamScopeRequest = Shapes::StructureShape.new(name: 'CreateIpamScopeRequest')
417
421
  CreateIpamScopeResult = Shapes::StructureShape.new(name: 'CreateIpamScopeResult')
@@ -593,6 +597,8 @@ module Aws::EC2
593
597
  DeleteIpamPoolRequest = Shapes::StructureShape.new(name: 'DeleteIpamPoolRequest')
594
598
  DeleteIpamPoolResult = Shapes::StructureShape.new(name: 'DeleteIpamPoolResult')
595
599
  DeleteIpamRequest = Shapes::StructureShape.new(name: 'DeleteIpamRequest')
600
+ DeleteIpamResourceDiscoveryRequest = Shapes::StructureShape.new(name: 'DeleteIpamResourceDiscoveryRequest')
601
+ DeleteIpamResourceDiscoveryResult = Shapes::StructureShape.new(name: 'DeleteIpamResourceDiscoveryResult')
596
602
  DeleteIpamResult = Shapes::StructureShape.new(name: 'DeleteIpamResult')
597
603
  DeleteIpamScopeRequest = Shapes::StructureShape.new(name: 'DeleteIpamScopeRequest')
598
604
  DeleteIpamScopeResult = Shapes::StructureShape.new(name: 'DeleteIpamScopeResult')
@@ -849,6 +855,10 @@ module Aws::EC2
849
855
  DescribeInternetGatewaysResult = Shapes::StructureShape.new(name: 'DescribeInternetGatewaysResult')
850
856
  DescribeIpamPoolsRequest = Shapes::StructureShape.new(name: 'DescribeIpamPoolsRequest')
851
857
  DescribeIpamPoolsResult = Shapes::StructureShape.new(name: 'DescribeIpamPoolsResult')
858
+ DescribeIpamResourceDiscoveriesRequest = Shapes::StructureShape.new(name: 'DescribeIpamResourceDiscoveriesRequest')
859
+ DescribeIpamResourceDiscoveriesResult = Shapes::StructureShape.new(name: 'DescribeIpamResourceDiscoveriesResult')
860
+ DescribeIpamResourceDiscoveryAssociationsRequest = Shapes::StructureShape.new(name: 'DescribeIpamResourceDiscoveryAssociationsRequest')
861
+ DescribeIpamResourceDiscoveryAssociationsResult = Shapes::StructureShape.new(name: 'DescribeIpamResourceDiscoveryAssociationsResult')
852
862
  DescribeIpamScopesRequest = Shapes::StructureShape.new(name: 'DescribeIpamScopesRequest')
853
863
  DescribeIpamScopesResult = Shapes::StructureShape.new(name: 'DescribeIpamScopesResult')
854
864
  DescribeIpamsRequest = Shapes::StructureShape.new(name: 'DescribeIpamsRequest')
@@ -1116,6 +1126,8 @@ module Aws::EC2
1116
1126
  DisassociateIamInstanceProfileResult = Shapes::StructureShape.new(name: 'DisassociateIamInstanceProfileResult')
1117
1127
  DisassociateInstanceEventWindowRequest = Shapes::StructureShape.new(name: 'DisassociateInstanceEventWindowRequest')
1118
1128
  DisassociateInstanceEventWindowResult = Shapes::StructureShape.new(name: 'DisassociateInstanceEventWindowResult')
1129
+ DisassociateIpamResourceDiscoveryRequest = Shapes::StructureShape.new(name: 'DisassociateIpamResourceDiscoveryRequest')
1130
+ DisassociateIpamResourceDiscoveryResult = Shapes::StructureShape.new(name: 'DisassociateIpamResourceDiscoveryResult')
1119
1131
  DisassociateRouteTableRequest = Shapes::StructureShape.new(name: 'DisassociateRouteTableRequest')
1120
1132
  DisassociateSubnetCidrBlockRequest = Shapes::StructureShape.new(name: 'DisassociateSubnetCidrBlockRequest')
1121
1133
  DisassociateSubnetCidrBlockResult = Shapes::StructureShape.new(name: 'DisassociateSubnetCidrBlockResult')
@@ -1370,6 +1382,10 @@ module Aws::EC2
1370
1382
  GetInstanceUefiDataResult = Shapes::StructureShape.new(name: 'GetInstanceUefiDataResult')
1371
1383
  GetIpamAddressHistoryRequest = Shapes::StructureShape.new(name: 'GetIpamAddressHistoryRequest')
1372
1384
  GetIpamAddressHistoryResult = Shapes::StructureShape.new(name: 'GetIpamAddressHistoryResult')
1385
+ GetIpamDiscoveredAccountsRequest = Shapes::StructureShape.new(name: 'GetIpamDiscoveredAccountsRequest')
1386
+ GetIpamDiscoveredAccountsResult = Shapes::StructureShape.new(name: 'GetIpamDiscoveredAccountsResult')
1387
+ GetIpamDiscoveredResourceCidrsRequest = Shapes::StructureShape.new(name: 'GetIpamDiscoveredResourceCidrsRequest')
1388
+ GetIpamDiscoveredResourceCidrsResult = Shapes::StructureShape.new(name: 'GetIpamDiscoveredResourceCidrsResult')
1373
1389
  GetIpamPoolAllocationsMaxResults = Shapes::IntegerShape.new(name: 'GetIpamPoolAllocationsMaxResults')
1374
1390
  GetIpamPoolAllocationsRequest = Shapes::StructureShape.new(name: 'GetIpamPoolAllocationsRequest')
1375
1391
  GetIpamPoolAllocationsResult = Shapes::StructureShape.new(name: 'GetIpamPoolAllocationsResult')
@@ -1655,8 +1671,15 @@ module Aws::EC2
1655
1671
  IpamAddressHistoryRecord = Shapes::StructureShape.new(name: 'IpamAddressHistoryRecord')
1656
1672
  IpamAddressHistoryRecordSet = Shapes::ListShape.new(name: 'IpamAddressHistoryRecordSet')
1657
1673
  IpamAddressHistoryResourceType = Shapes::StringShape.new(name: 'IpamAddressHistoryResourceType')
1674
+ IpamAssociatedResourceDiscoveryStatus = Shapes::StringShape.new(name: 'IpamAssociatedResourceDiscoveryStatus')
1658
1675
  IpamCidrAuthorizationContext = Shapes::StructureShape.new(name: 'IpamCidrAuthorizationContext')
1659
1676
  IpamComplianceStatus = Shapes::StringShape.new(name: 'IpamComplianceStatus')
1677
+ IpamDiscoveredAccount = Shapes::StructureShape.new(name: 'IpamDiscoveredAccount')
1678
+ IpamDiscoveredAccountSet = Shapes::ListShape.new(name: 'IpamDiscoveredAccountSet')
1679
+ IpamDiscoveredResourceCidr = Shapes::StructureShape.new(name: 'IpamDiscoveredResourceCidr')
1680
+ IpamDiscoveredResourceCidrSet = Shapes::ListShape.new(name: 'IpamDiscoveredResourceCidrSet')
1681
+ IpamDiscoveryFailureCode = Shapes::StringShape.new(name: 'IpamDiscoveryFailureCode')
1682
+ IpamDiscoveryFailureReason = Shapes::StructureShape.new(name: 'IpamDiscoveryFailureReason')
1660
1683
  IpamId = Shapes::StringShape.new(name: 'IpamId')
1661
1684
  IpamManagementState = Shapes::StringShape.new(name: 'IpamManagementState')
1662
1685
  IpamMaxResults = Shapes::IntegerShape.new(name: 'IpamMaxResults')
@@ -1674,13 +1697,23 @@ module Aws::EC2
1674
1697
  IpamPoolCidr = Shapes::StructureShape.new(name: 'IpamPoolCidr')
1675
1698
  IpamPoolCidrFailureCode = Shapes::StringShape.new(name: 'IpamPoolCidrFailureCode')
1676
1699
  IpamPoolCidrFailureReason = Shapes::StructureShape.new(name: 'IpamPoolCidrFailureReason')
1700
+ IpamPoolCidrId = Shapes::StringShape.new(name: 'IpamPoolCidrId')
1677
1701
  IpamPoolCidrSet = Shapes::ListShape.new(name: 'IpamPoolCidrSet')
1678
1702
  IpamPoolCidrState = Shapes::StringShape.new(name: 'IpamPoolCidrState')
1679
1703
  IpamPoolId = Shapes::StringShape.new(name: 'IpamPoolId')
1704
+ IpamPoolPublicIpSource = Shapes::StringShape.new(name: 'IpamPoolPublicIpSource')
1680
1705
  IpamPoolSet = Shapes::ListShape.new(name: 'IpamPoolSet')
1681
1706
  IpamPoolState = Shapes::StringShape.new(name: 'IpamPoolState')
1682
1707
  IpamResourceCidr = Shapes::StructureShape.new(name: 'IpamResourceCidr')
1683
1708
  IpamResourceCidrSet = Shapes::ListShape.new(name: 'IpamResourceCidrSet')
1709
+ IpamResourceDiscovery = Shapes::StructureShape.new(name: 'IpamResourceDiscovery')
1710
+ IpamResourceDiscoveryAssociation = Shapes::StructureShape.new(name: 'IpamResourceDiscoveryAssociation')
1711
+ IpamResourceDiscoveryAssociationId = Shapes::StringShape.new(name: 'IpamResourceDiscoveryAssociationId')
1712
+ IpamResourceDiscoveryAssociationSet = Shapes::ListShape.new(name: 'IpamResourceDiscoveryAssociationSet')
1713
+ IpamResourceDiscoveryAssociationState = Shapes::StringShape.new(name: 'IpamResourceDiscoveryAssociationState')
1714
+ IpamResourceDiscoveryId = Shapes::StringShape.new(name: 'IpamResourceDiscoveryId')
1715
+ IpamResourceDiscoverySet = Shapes::ListShape.new(name: 'IpamResourceDiscoverySet')
1716
+ IpamResourceDiscoveryState = Shapes::StringShape.new(name: 'IpamResourceDiscoveryState')
1684
1717
  IpamResourceTag = Shapes::StructureShape.new(name: 'IpamResourceTag')
1685
1718
  IpamResourceTagList = Shapes::ListShape.new(name: 'IpamResourceTagList')
1686
1719
  IpamResourceType = Shapes::StringShape.new(name: 'IpamResourceType')
@@ -1929,6 +1962,8 @@ module Aws::EC2
1929
1962
  ModifyIpamRequest = Shapes::StructureShape.new(name: 'ModifyIpamRequest')
1930
1963
  ModifyIpamResourceCidrRequest = Shapes::StructureShape.new(name: 'ModifyIpamResourceCidrRequest')
1931
1964
  ModifyIpamResourceCidrResult = Shapes::StructureShape.new(name: 'ModifyIpamResourceCidrResult')
1965
+ ModifyIpamResourceDiscoveryRequest = Shapes::StructureShape.new(name: 'ModifyIpamResourceDiscoveryRequest')
1966
+ ModifyIpamResourceDiscoveryResult = Shapes::StructureShape.new(name: 'ModifyIpamResourceDiscoveryResult')
1932
1967
  ModifyIpamResult = Shapes::StructureShape.new(name: 'ModifyIpamResult')
1933
1968
  ModifyIpamScopeRequest = Shapes::StructureShape.new(name: 'ModifyIpamScopeRequest')
1934
1969
  ModifyIpamScopeResult = Shapes::StructureShape.new(name: 'ModifyIpamScopeResult')
@@ -3330,6 +3365,16 @@ module Aws::EC2
3330
3365
  AssociateInstanceEventWindowResult.add_member(:instance_event_window, Shapes::ShapeRef.new(shape: InstanceEventWindow, location_name: "instanceEventWindow"))
3331
3366
  AssociateInstanceEventWindowResult.struct_class = Types::AssociateInstanceEventWindowResult
3332
3367
 
3368
+ AssociateIpamResourceDiscoveryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3369
+ AssociateIpamResourceDiscoveryRequest.add_member(:ipam_id, Shapes::ShapeRef.new(shape: IpamId, required: true, location_name: "IpamId"))
3370
+ AssociateIpamResourceDiscoveryRequest.add_member(:ipam_resource_discovery_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryId, required: true, location_name: "IpamResourceDiscoveryId"))
3371
+ AssociateIpamResourceDiscoveryRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3372
+ AssociateIpamResourceDiscoveryRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
3373
+ AssociateIpamResourceDiscoveryRequest.struct_class = Types::AssociateIpamResourceDiscoveryRequest
3374
+
3375
+ AssociateIpamResourceDiscoveryResult.add_member(:ipam_resource_discovery_association, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryAssociation, location_name: "ipamResourceDiscoveryAssociation"))
3376
+ AssociateIpamResourceDiscoveryResult.struct_class = Types::AssociateIpamResourceDiscoveryResult
3377
+
3333
3378
  AssociateRouteTableRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3334
3379
  AssociateRouteTableRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
3335
3380
  AssociateRouteTableRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
@@ -4396,6 +4441,7 @@ module Aws::EC2
4396
4441
  CreateIpamPoolRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4397
4442
  CreateIpamPoolRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4398
4443
  CreateIpamPoolRequest.add_member(:aws_service, Shapes::ShapeRef.new(shape: IpamPoolAwsService, location_name: "AwsService"))
4444
+ CreateIpamPoolRequest.add_member(:public_ip_source, Shapes::ShapeRef.new(shape: IpamPoolPublicIpSource, location_name: "PublicIpSource"))
4399
4445
  CreateIpamPoolRequest.struct_class = Types::CreateIpamPoolRequest
4400
4446
 
4401
4447
  CreateIpamPoolResult.add_member(:ipam_pool, Shapes::ShapeRef.new(shape: IpamPool, location_name: "ipamPool"))
@@ -4408,6 +4454,16 @@ module Aws::EC2
4408
4454
  CreateIpamRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4409
4455
  CreateIpamRequest.struct_class = Types::CreateIpamRequest
4410
4456
 
4457
+ CreateIpamResourceDiscoveryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4458
+ CreateIpamResourceDiscoveryRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
4459
+ CreateIpamResourceDiscoveryRequest.add_member(:operating_regions, Shapes::ShapeRef.new(shape: AddIpamOperatingRegionSet, location_name: "OperatingRegion"))
4460
+ CreateIpamResourceDiscoveryRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4461
+ CreateIpamResourceDiscoveryRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4462
+ CreateIpamResourceDiscoveryRequest.struct_class = Types::CreateIpamResourceDiscoveryRequest
4463
+
4464
+ CreateIpamResourceDiscoveryResult.add_member(:ipam_resource_discovery, Shapes::ShapeRef.new(shape: IpamResourceDiscovery, location_name: "ipamResourceDiscovery"))
4465
+ CreateIpamResourceDiscoveryResult.struct_class = Types::CreateIpamResourceDiscoveryResult
4466
+
4411
4467
  CreateIpamResult.add_member(:ipam, Shapes::ShapeRef.new(shape: Ipam, location_name: "ipam"))
4412
4468
  CreateIpamResult.struct_class = Types::CreateIpamResult
4413
4469
 
@@ -5290,6 +5346,13 @@ module Aws::EC2
5290
5346
  DeleteIpamRequest.add_member(:cascade, Shapes::ShapeRef.new(shape: Boolean, location_name: "Cascade"))
5291
5347
  DeleteIpamRequest.struct_class = Types::DeleteIpamRequest
5292
5348
 
5349
+ DeleteIpamResourceDiscoveryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5350
+ DeleteIpamResourceDiscoveryRequest.add_member(:ipam_resource_discovery_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryId, required: true, location_name: "IpamResourceDiscoveryId"))
5351
+ DeleteIpamResourceDiscoveryRequest.struct_class = Types::DeleteIpamResourceDiscoveryRequest
5352
+
5353
+ DeleteIpamResourceDiscoveryResult.add_member(:ipam_resource_discovery, Shapes::ShapeRef.new(shape: IpamResourceDiscovery, location_name: "ipamResourceDiscovery"))
5354
+ DeleteIpamResourceDiscoveryResult.struct_class = Types::DeleteIpamResourceDiscoveryResult
5355
+
5293
5356
  DeleteIpamResult.add_member(:ipam, Shapes::ShapeRef.new(shape: Ipam, location_name: "ipam"))
5294
5357
  DeleteIpamResult.struct_class = Types::DeleteIpamResult
5295
5358
 
@@ -6333,6 +6396,28 @@ module Aws::EC2
6333
6396
  DescribeIpamPoolsResult.add_member(:ipam_pools, Shapes::ShapeRef.new(shape: IpamPoolSet, location_name: "ipamPoolSet"))
6334
6397
  DescribeIpamPoolsResult.struct_class = Types::DescribeIpamPoolsResult
6335
6398
 
6399
+ DescribeIpamResourceDiscoveriesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6400
+ DescribeIpamResourceDiscoveriesRequest.add_member(:ipam_resource_discovery_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "IpamResourceDiscoveryId"))
6401
+ DescribeIpamResourceDiscoveriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
6402
+ DescribeIpamResourceDiscoveriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IpamMaxResults, location_name: "MaxResults"))
6403
+ DescribeIpamResourceDiscoveriesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
6404
+ DescribeIpamResourceDiscoveriesRequest.struct_class = Types::DescribeIpamResourceDiscoveriesRequest
6405
+
6406
+ DescribeIpamResourceDiscoveriesResult.add_member(:ipam_resource_discoveries, Shapes::ShapeRef.new(shape: IpamResourceDiscoverySet, location_name: "ipamResourceDiscoverySet"))
6407
+ DescribeIpamResourceDiscoveriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
6408
+ DescribeIpamResourceDiscoveriesResult.struct_class = Types::DescribeIpamResourceDiscoveriesResult
6409
+
6410
+ DescribeIpamResourceDiscoveryAssociationsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6411
+ DescribeIpamResourceDiscoveryAssociationsRequest.add_member(:ipam_resource_discovery_association_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "IpamResourceDiscoveryAssociationId"))
6412
+ DescribeIpamResourceDiscoveryAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
6413
+ DescribeIpamResourceDiscoveryAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IpamMaxResults, location_name: "MaxResults"))
6414
+ DescribeIpamResourceDiscoveryAssociationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
6415
+ DescribeIpamResourceDiscoveryAssociationsRequest.struct_class = Types::DescribeIpamResourceDiscoveryAssociationsRequest
6416
+
6417
+ DescribeIpamResourceDiscoveryAssociationsResult.add_member(:ipam_resource_discovery_associations, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryAssociationSet, location_name: "ipamResourceDiscoveryAssociationSet"))
6418
+ DescribeIpamResourceDiscoveryAssociationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
6419
+ DescribeIpamResourceDiscoveryAssociationsResult.struct_class = Types::DescribeIpamResourceDiscoveryAssociationsResult
6420
+
6336
6421
  DescribeIpamScopesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6337
6422
  DescribeIpamScopesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
6338
6423
  DescribeIpamScopesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IpamMaxResults, location_name: "MaxResults"))
@@ -7541,6 +7626,13 @@ module Aws::EC2
7541
7626
  DisassociateInstanceEventWindowResult.add_member(:instance_event_window, Shapes::ShapeRef.new(shape: InstanceEventWindow, location_name: "instanceEventWindow"))
7542
7627
  DisassociateInstanceEventWindowResult.struct_class = Types::DisassociateInstanceEventWindowResult
7543
7628
 
7629
+ DisassociateIpamResourceDiscoveryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7630
+ DisassociateIpamResourceDiscoveryRequest.add_member(:ipam_resource_discovery_association_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryAssociationId, required: true, location_name: "IpamResourceDiscoveryAssociationId"))
7631
+ DisassociateIpamResourceDiscoveryRequest.struct_class = Types::DisassociateIpamResourceDiscoveryRequest
7632
+
7633
+ DisassociateIpamResourceDiscoveryResult.add_member(:ipam_resource_discovery_association, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryAssociation, location_name: "ipamResourceDiscoveryAssociation"))
7634
+ DisassociateIpamResourceDiscoveryResult.struct_class = Types::DisassociateIpamResourceDiscoveryResult
7635
+
7544
7636
  DisassociateRouteTableRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: RouteTableAssociationId, required: true, location_name: "associationId"))
7545
7637
  DisassociateRouteTableRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
7546
7638
  DisassociateRouteTableRequest.struct_class = Types::DisassociateRouteTableRequest
@@ -8428,6 +8520,30 @@ module Aws::EC2
8428
8520
  GetIpamAddressHistoryResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
8429
8521
  GetIpamAddressHistoryResult.struct_class = Types::GetIpamAddressHistoryResult
8430
8522
 
8523
+ GetIpamDiscoveredAccountsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
8524
+ GetIpamDiscoveredAccountsRequest.add_member(:ipam_resource_discovery_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryId, required: true, location_name: "IpamResourceDiscoveryId"))
8525
+ GetIpamDiscoveredAccountsRequest.add_member(:discovery_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DiscoveryRegion"))
8526
+ GetIpamDiscoveredAccountsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
8527
+ GetIpamDiscoveredAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
8528
+ GetIpamDiscoveredAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IpamMaxResults, location_name: "MaxResults"))
8529
+ GetIpamDiscoveredAccountsRequest.struct_class = Types::GetIpamDiscoveredAccountsRequest
8530
+
8531
+ GetIpamDiscoveredAccountsResult.add_member(:ipam_discovered_accounts, Shapes::ShapeRef.new(shape: IpamDiscoveredAccountSet, location_name: "ipamDiscoveredAccountSet"))
8532
+ GetIpamDiscoveredAccountsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
8533
+ GetIpamDiscoveredAccountsResult.struct_class = Types::GetIpamDiscoveredAccountsResult
8534
+
8535
+ GetIpamDiscoveredResourceCidrsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
8536
+ GetIpamDiscoveredResourceCidrsRequest.add_member(:ipam_resource_discovery_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryId, required: true, location_name: "IpamResourceDiscoveryId"))
8537
+ GetIpamDiscoveredResourceCidrsRequest.add_member(:resource_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceRegion"))
8538
+ GetIpamDiscoveredResourceCidrsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
8539
+ GetIpamDiscoveredResourceCidrsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
8540
+ GetIpamDiscoveredResourceCidrsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IpamMaxResults, location_name: "MaxResults"))
8541
+ GetIpamDiscoveredResourceCidrsRequest.struct_class = Types::GetIpamDiscoveredResourceCidrsRequest
8542
+
8543
+ GetIpamDiscoveredResourceCidrsResult.add_member(:ipam_discovered_resource_cidrs, Shapes::ShapeRef.new(shape: IpamDiscoveredResourceCidrSet, location_name: "ipamDiscoveredResourceCidrSet"))
8544
+ GetIpamDiscoveredResourceCidrsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
8545
+ GetIpamDiscoveredResourceCidrsResult.struct_class = Types::GetIpamDiscoveredResourceCidrsResult
8546
+
8431
8547
  GetIpamPoolAllocationsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
8432
8548
  GetIpamPoolAllocationsRequest.add_member(:ipam_pool_id, Shapes::ShapeRef.new(shape: IpamPoolId, required: true, location_name: "IpamPoolId"))
8433
8549
  GetIpamPoolAllocationsRequest.add_member(:ipam_pool_allocation_id, Shapes::ShapeRef.new(shape: IpamPoolAllocationId, location_name: "IpamPoolAllocationId"))
@@ -9614,6 +9730,9 @@ module Aws::EC2
9614
9730
  Ipam.add_member(:operating_regions, Shapes::ShapeRef.new(shape: IpamOperatingRegionSet, location_name: "operatingRegionSet"))
9615
9731
  Ipam.add_member(:state, Shapes::ShapeRef.new(shape: IpamState, location_name: "state"))
9616
9732
  Ipam.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
9733
+ Ipam.add_member(:default_resource_discovery_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryId, location_name: "defaultResourceDiscoveryId"))
9734
+ Ipam.add_member(:default_resource_discovery_association_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryAssociationId, location_name: "defaultResourceDiscoveryAssociationId"))
9735
+ Ipam.add_member(:resource_discovery_association_count, Shapes::ShapeRef.new(shape: Integer, location_name: "resourceDiscoveryAssociationCount"))
9617
9736
  Ipam.struct_class = Types::Ipam
9618
9737
 
9619
9738
  IpamAddressHistoryRecord.add_member(:resource_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceOwnerId"))
@@ -9635,6 +9754,33 @@ module Aws::EC2
9635
9754
  IpamCidrAuthorizationContext.add_member(:signature, Shapes::ShapeRef.new(shape: String, location_name: "Signature"))
9636
9755
  IpamCidrAuthorizationContext.struct_class = Types::IpamCidrAuthorizationContext
9637
9756
 
9757
+ IpamDiscoveredAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
9758
+ IpamDiscoveredAccount.add_member(:discovery_region, Shapes::ShapeRef.new(shape: String, location_name: "discoveryRegion"))
9759
+ IpamDiscoveredAccount.add_member(:failure_reason, Shapes::ShapeRef.new(shape: IpamDiscoveryFailureReason, location_name: "failureReason"))
9760
+ IpamDiscoveredAccount.add_member(:last_attempted_discovery_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lastAttemptedDiscoveryTime"))
9761
+ IpamDiscoveredAccount.add_member(:last_successful_discovery_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lastSuccessfulDiscoveryTime"))
9762
+ IpamDiscoveredAccount.struct_class = Types::IpamDiscoveredAccount
9763
+
9764
+ IpamDiscoveredAccountSet.member = Shapes::ShapeRef.new(shape: IpamDiscoveredAccount, location_name: "item")
9765
+
9766
+ IpamDiscoveredResourceCidr.add_member(:ipam_resource_discovery_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryId, location_name: "ipamResourceDiscoveryId"))
9767
+ IpamDiscoveredResourceCidr.add_member(:resource_region, Shapes::ShapeRef.new(shape: String, location_name: "resourceRegion"))
9768
+ IpamDiscoveredResourceCidr.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
9769
+ IpamDiscoveredResourceCidr.add_member(:resource_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceOwnerId"))
9770
+ IpamDiscoveredResourceCidr.add_member(:resource_cidr, Shapes::ShapeRef.new(shape: String, location_name: "resourceCidr"))
9771
+ IpamDiscoveredResourceCidr.add_member(:resource_type, Shapes::ShapeRef.new(shape: IpamResourceType, location_name: "resourceType"))
9772
+ IpamDiscoveredResourceCidr.add_member(:resource_tags, Shapes::ShapeRef.new(shape: IpamResourceTagList, location_name: "resourceTagSet"))
9773
+ IpamDiscoveredResourceCidr.add_member(:ip_usage, Shapes::ShapeRef.new(shape: BoxedDouble, location_name: "ipUsage"))
9774
+ IpamDiscoveredResourceCidr.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
9775
+ IpamDiscoveredResourceCidr.add_member(:sample_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "sampleTime"))
9776
+ IpamDiscoveredResourceCidr.struct_class = Types::IpamDiscoveredResourceCidr
9777
+
9778
+ IpamDiscoveredResourceCidrSet.member = Shapes::ShapeRef.new(shape: IpamDiscoveredResourceCidr, location_name: "item")
9779
+
9780
+ IpamDiscoveryFailureReason.add_member(:code, Shapes::ShapeRef.new(shape: IpamDiscoveryFailureCode, location_name: "code"))
9781
+ IpamDiscoveryFailureReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
9782
+ IpamDiscoveryFailureReason.struct_class = Types::IpamDiscoveryFailureReason
9783
+
9638
9784
  IpamOperatingRegion.add_member(:region_name, Shapes::ShapeRef.new(shape: String, location_name: "regionName"))
9639
9785
  IpamOperatingRegion.struct_class = Types::IpamOperatingRegion
9640
9786
 
@@ -9662,6 +9808,7 @@ module Aws::EC2
9662
9808
  IpamPool.add_member(:allocation_resource_tags, Shapes::ShapeRef.new(shape: IpamResourceTagList, location_name: "allocationResourceTagSet"))
9663
9809
  IpamPool.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
9664
9810
  IpamPool.add_member(:aws_service, Shapes::ShapeRef.new(shape: IpamPoolAwsService, location_name: "awsService"))
9811
+ IpamPool.add_member(:public_ip_source, Shapes::ShapeRef.new(shape: IpamPoolPublicIpSource, location_name: "publicIpSource"))
9665
9812
  IpamPool.struct_class = Types::IpamPool
9666
9813
 
9667
9814
  IpamPoolAllocation.add_member(:cidr, Shapes::ShapeRef.new(shape: String, location_name: "cidr"))
@@ -9680,6 +9827,8 @@ module Aws::EC2
9680
9827
  IpamPoolCidr.add_member(:cidr, Shapes::ShapeRef.new(shape: String, location_name: "cidr"))
9681
9828
  IpamPoolCidr.add_member(:state, Shapes::ShapeRef.new(shape: IpamPoolCidrState, location_name: "state"))
9682
9829
  IpamPoolCidr.add_member(:failure_reason, Shapes::ShapeRef.new(shape: IpamPoolCidrFailureReason, location_name: "failureReason"))
9830
+ IpamPoolCidr.add_member(:ipam_pool_cidr_id, Shapes::ShapeRef.new(shape: IpamPoolCidrId, location_name: "ipamPoolCidrId"))
9831
+ IpamPoolCidr.add_member(:netmask_length, Shapes::ShapeRef.new(shape: Integer, location_name: "netmaskLength"))
9683
9832
  IpamPoolCidr.struct_class = Types::IpamPoolCidr
9684
9833
 
9685
9834
  IpamPoolCidrFailureReason.add_member(:code, Shapes::ShapeRef.new(shape: IpamPoolCidrFailureCode, location_name: "code"))
@@ -9709,6 +9858,34 @@ module Aws::EC2
9709
9858
 
9710
9859
  IpamResourceCidrSet.member = Shapes::ShapeRef.new(shape: IpamResourceCidr, location_name: "item")
9711
9860
 
9861
+ IpamResourceDiscovery.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
9862
+ IpamResourceDiscovery.add_member(:ipam_resource_discovery_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryId, location_name: "ipamResourceDiscoveryId"))
9863
+ IpamResourceDiscovery.add_member(:ipam_resource_discovery_arn, Shapes::ShapeRef.new(shape: String, location_name: "ipamResourceDiscoveryArn"))
9864
+ IpamResourceDiscovery.add_member(:ipam_resource_discovery_region, Shapes::ShapeRef.new(shape: String, location_name: "ipamResourceDiscoveryRegion"))
9865
+ IpamResourceDiscovery.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
9866
+ IpamResourceDiscovery.add_member(:operating_regions, Shapes::ShapeRef.new(shape: IpamOperatingRegionSet, location_name: "operatingRegionSet"))
9867
+ IpamResourceDiscovery.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isDefault"))
9868
+ IpamResourceDiscovery.add_member(:state, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryState, location_name: "state"))
9869
+ IpamResourceDiscovery.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
9870
+ IpamResourceDiscovery.struct_class = Types::IpamResourceDiscovery
9871
+
9872
+ IpamResourceDiscoveryAssociation.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
9873
+ IpamResourceDiscoveryAssociation.add_member(:ipam_resource_discovery_association_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryAssociationId, location_name: "ipamResourceDiscoveryAssociationId"))
9874
+ IpamResourceDiscoveryAssociation.add_member(:ipam_resource_discovery_association_arn, Shapes::ShapeRef.new(shape: String, location_name: "ipamResourceDiscoveryAssociationArn"))
9875
+ IpamResourceDiscoveryAssociation.add_member(:ipam_resource_discovery_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryId, location_name: "ipamResourceDiscoveryId"))
9876
+ IpamResourceDiscoveryAssociation.add_member(:ipam_id, Shapes::ShapeRef.new(shape: IpamId, location_name: "ipamId"))
9877
+ IpamResourceDiscoveryAssociation.add_member(:ipam_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ipamArn"))
9878
+ IpamResourceDiscoveryAssociation.add_member(:ipam_region, Shapes::ShapeRef.new(shape: String, location_name: "ipamRegion"))
9879
+ IpamResourceDiscoveryAssociation.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isDefault"))
9880
+ IpamResourceDiscoveryAssociation.add_member(:resource_discovery_status, Shapes::ShapeRef.new(shape: IpamAssociatedResourceDiscoveryStatus, location_name: "resourceDiscoveryStatus"))
9881
+ IpamResourceDiscoveryAssociation.add_member(:state, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryAssociationState, location_name: "state"))
9882
+ IpamResourceDiscoveryAssociation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
9883
+ IpamResourceDiscoveryAssociation.struct_class = Types::IpamResourceDiscoveryAssociation
9884
+
9885
+ IpamResourceDiscoveryAssociationSet.member = Shapes::ShapeRef.new(shape: IpamResourceDiscoveryAssociation, location_name: "item")
9886
+
9887
+ IpamResourceDiscoverySet.member = Shapes::ShapeRef.new(shape: IpamResourceDiscovery, location_name: "item")
9888
+
9712
9889
  IpamResourceTag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
9713
9890
  IpamResourceTag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
9714
9891
  IpamResourceTag.struct_class = Types::IpamResourceTag
@@ -10577,6 +10754,16 @@ module Aws::EC2
10577
10754
  ModifyIpamResourceCidrResult.add_member(:ipam_resource_cidr, Shapes::ShapeRef.new(shape: IpamResourceCidr, location_name: "ipamResourceCidr"))
10578
10755
  ModifyIpamResourceCidrResult.struct_class = Types::ModifyIpamResourceCidrResult
10579
10756
 
10757
+ ModifyIpamResourceDiscoveryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
10758
+ ModifyIpamResourceDiscoveryRequest.add_member(:ipam_resource_discovery_id, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryId, required: true, location_name: "IpamResourceDiscoveryId"))
10759
+ ModifyIpamResourceDiscoveryRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
10760
+ ModifyIpamResourceDiscoveryRequest.add_member(:add_operating_regions, Shapes::ShapeRef.new(shape: AddIpamOperatingRegionSet, location_name: "AddOperatingRegion"))
10761
+ ModifyIpamResourceDiscoveryRequest.add_member(:remove_operating_regions, Shapes::ShapeRef.new(shape: RemoveIpamOperatingRegionSet, location_name: "RemoveOperatingRegion"))
10762
+ ModifyIpamResourceDiscoveryRequest.struct_class = Types::ModifyIpamResourceDiscoveryRequest
10763
+
10764
+ ModifyIpamResourceDiscoveryResult.add_member(:ipam_resource_discovery, Shapes::ShapeRef.new(shape: IpamResourceDiscovery, location_name: "ipamResourceDiscovery"))
10765
+ ModifyIpamResourceDiscoveryResult.struct_class = Types::ModifyIpamResourceDiscoveryResult
10766
+
10580
10767
  ModifyIpamResult.add_member(:ipam, Shapes::ShapeRef.new(shape: Ipam, location_name: "ipam"))
10581
10768
  ModifyIpamResult.struct_class = Types::ModifyIpamResult
10582
10769
 
@@ -11666,6 +11853,8 @@ module Aws::EC2
11666
11853
  ProvisionIpamPoolCidrRequest.add_member(:ipam_pool_id, Shapes::ShapeRef.new(shape: IpamPoolId, required: true, location_name: "IpamPoolId"))
11667
11854
  ProvisionIpamPoolCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, location_name: "Cidr"))
11668
11855
  ProvisionIpamPoolCidrRequest.add_member(:cidr_authorization_context, Shapes::ShapeRef.new(shape: IpamCidrAuthorizationContext, location_name: "CidrAuthorizationContext"))
11856
+ ProvisionIpamPoolCidrRequest.add_member(:netmask_length, Shapes::ShapeRef.new(shape: Integer, location_name: "NetmaskLength"))
11857
+ ProvisionIpamPoolCidrRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
11669
11858
  ProvisionIpamPoolCidrRequest.struct_class = Types::ProvisionIpamPoolCidrRequest
11670
11859
 
11671
11860
  ProvisionIpamPoolCidrResult.add_member(:ipam_pool_cidr, Shapes::ShapeRef.new(shape: IpamPoolCidr, location_name: "ipamPoolCidr"))
@@ -14626,6 +14815,14 @@ module Aws::EC2
14626
14815
  o.output = Shapes::ShapeRef.new(shape: AssociateInstanceEventWindowResult)
14627
14816
  end)
14628
14817
 
14818
+ api.add_operation(:associate_ipam_resource_discovery, Seahorse::Model::Operation.new.tap do |o|
14819
+ o.name = "AssociateIpamResourceDiscovery"
14820
+ o.http_method = "POST"
14821
+ o.http_request_uri = "/"
14822
+ o.input = Shapes::ShapeRef.new(shape: AssociateIpamResourceDiscoveryRequest)
14823
+ o.output = Shapes::ShapeRef.new(shape: AssociateIpamResourceDiscoveryResult)
14824
+ end)
14825
+
14629
14826
  api.add_operation(:associate_route_table, Seahorse::Model::Operation.new.tap do |o|
14630
14827
  o.name = "AssociateRouteTable"
14631
14828
  o.http_method = "POST"
@@ -15042,6 +15239,14 @@ module Aws::EC2
15042
15239
  o.output = Shapes::ShapeRef.new(shape: CreateIpamPoolResult)
15043
15240
  end)
15044
15241
 
15242
+ api.add_operation(:create_ipam_resource_discovery, Seahorse::Model::Operation.new.tap do |o|
15243
+ o.name = "CreateIpamResourceDiscovery"
15244
+ o.http_method = "POST"
15245
+ o.http_request_uri = "/"
15246
+ o.input = Shapes::ShapeRef.new(shape: CreateIpamResourceDiscoveryRequest)
15247
+ o.output = Shapes::ShapeRef.new(shape: CreateIpamResourceDiscoveryResult)
15248
+ end)
15249
+
15045
15250
  api.add_operation(:create_ipam_scope, Seahorse::Model::Operation.new.tap do |o|
15046
15251
  o.name = "CreateIpamScope"
15047
15252
  o.http_method = "POST"
@@ -15634,6 +15839,14 @@ module Aws::EC2
15634
15839
  o.output = Shapes::ShapeRef.new(shape: DeleteIpamPoolResult)
15635
15840
  end)
15636
15841
 
15842
+ api.add_operation(:delete_ipam_resource_discovery, Seahorse::Model::Operation.new.tap do |o|
15843
+ o.name = "DeleteIpamResourceDiscovery"
15844
+ o.http_method = "POST"
15845
+ o.http_request_uri = "/"
15846
+ o.input = Shapes::ShapeRef.new(shape: DeleteIpamResourceDiscoveryRequest)
15847
+ o.output = Shapes::ShapeRef.new(shape: DeleteIpamResourceDiscoveryResult)
15848
+ end)
15849
+
15637
15850
  api.add_operation(:delete_ipam_scope, Seahorse::Model::Operation.new.tap do |o|
15638
15851
  o.name = "DeleteIpamScope"
15639
15852
  o.http_method = "POST"
@@ -16800,6 +17013,34 @@ module Aws::EC2
16800
17013
  )
16801
17014
  end)
16802
17015
 
17016
+ api.add_operation(:describe_ipam_resource_discoveries, Seahorse::Model::Operation.new.tap do |o|
17017
+ o.name = "DescribeIpamResourceDiscoveries"
17018
+ o.http_method = "POST"
17019
+ o.http_request_uri = "/"
17020
+ o.input = Shapes::ShapeRef.new(shape: DescribeIpamResourceDiscoveriesRequest)
17021
+ o.output = Shapes::ShapeRef.new(shape: DescribeIpamResourceDiscoveriesResult)
17022
+ o[:pager] = Aws::Pager.new(
17023
+ limit_key: "max_results",
17024
+ tokens: {
17025
+ "next_token" => "next_token"
17026
+ }
17027
+ )
17028
+ end)
17029
+
17030
+ api.add_operation(:describe_ipam_resource_discovery_associations, Seahorse::Model::Operation.new.tap do |o|
17031
+ o.name = "DescribeIpamResourceDiscoveryAssociations"
17032
+ o.http_method = "POST"
17033
+ o.http_request_uri = "/"
17034
+ o.input = Shapes::ShapeRef.new(shape: DescribeIpamResourceDiscoveryAssociationsRequest)
17035
+ o.output = Shapes::ShapeRef.new(shape: DescribeIpamResourceDiscoveryAssociationsResult)
17036
+ o[:pager] = Aws::Pager.new(
17037
+ limit_key: "max_results",
17038
+ tokens: {
17039
+ "next_token" => "next_token"
17040
+ }
17041
+ )
17042
+ end)
17043
+
16803
17044
  api.add_operation(:describe_ipam_scopes, Seahorse::Model::Operation.new.tap do |o|
16804
17045
  o.name = "DescribeIpamScopes"
16805
17046
  o.http_method = "POST"
@@ -18113,6 +18354,14 @@ module Aws::EC2
18113
18354
  o.output = Shapes::ShapeRef.new(shape: DisassociateInstanceEventWindowResult)
18114
18355
  end)
18115
18356
 
18357
+ api.add_operation(:disassociate_ipam_resource_discovery, Seahorse::Model::Operation.new.tap do |o|
18358
+ o.name = "DisassociateIpamResourceDiscovery"
18359
+ o.http_method = "POST"
18360
+ o.http_request_uri = "/"
18361
+ o.input = Shapes::ShapeRef.new(shape: DisassociateIpamResourceDiscoveryRequest)
18362
+ o.output = Shapes::ShapeRef.new(shape: DisassociateIpamResourceDiscoveryResult)
18363
+ end)
18364
+
18116
18365
  api.add_operation(:disassociate_route_table, Seahorse::Model::Operation.new.tap do |o|
18117
18366
  o.name = "DisassociateRouteTable"
18118
18367
  o.http_method = "POST"
@@ -18471,6 +18720,34 @@ module Aws::EC2
18471
18720
  )
18472
18721
  end)
18473
18722
 
18723
+ api.add_operation(:get_ipam_discovered_accounts, Seahorse::Model::Operation.new.tap do |o|
18724
+ o.name = "GetIpamDiscoveredAccounts"
18725
+ o.http_method = "POST"
18726
+ o.http_request_uri = "/"
18727
+ o.input = Shapes::ShapeRef.new(shape: GetIpamDiscoveredAccountsRequest)
18728
+ o.output = Shapes::ShapeRef.new(shape: GetIpamDiscoveredAccountsResult)
18729
+ o[:pager] = Aws::Pager.new(
18730
+ limit_key: "max_results",
18731
+ tokens: {
18732
+ "next_token" => "next_token"
18733
+ }
18734
+ )
18735
+ end)
18736
+
18737
+ api.add_operation(:get_ipam_discovered_resource_cidrs, Seahorse::Model::Operation.new.tap do |o|
18738
+ o.name = "GetIpamDiscoveredResourceCidrs"
18739
+ o.http_method = "POST"
18740
+ o.http_request_uri = "/"
18741
+ o.input = Shapes::ShapeRef.new(shape: GetIpamDiscoveredResourceCidrsRequest)
18742
+ o.output = Shapes::ShapeRef.new(shape: GetIpamDiscoveredResourceCidrsResult)
18743
+ o[:pager] = Aws::Pager.new(
18744
+ limit_key: "max_results",
18745
+ tokens: {
18746
+ "next_token" => "next_token"
18747
+ }
18748
+ )
18749
+ end)
18750
+
18474
18751
  api.add_operation(:get_ipam_pool_allocations, Seahorse::Model::Operation.new.tap do |o|
18475
18752
  o.name = "GetIpamPoolAllocations"
18476
18753
  o.http_method = "POST"
@@ -19009,6 +19286,14 @@ module Aws::EC2
19009
19286
  o.output = Shapes::ShapeRef.new(shape: ModifyIpamResourceCidrResult)
19010
19287
  end)
19011
19288
 
19289
+ api.add_operation(:modify_ipam_resource_discovery, Seahorse::Model::Operation.new.tap do |o|
19290
+ o.name = "ModifyIpamResourceDiscovery"
19291
+ o.http_method = "POST"
19292
+ o.http_request_uri = "/"
19293
+ o.input = Shapes::ShapeRef.new(shape: ModifyIpamResourceDiscoveryRequest)
19294
+ o.output = Shapes::ShapeRef.new(shape: ModifyIpamResourceDiscoveryResult)
19295
+ end)
19296
+
19012
19297
  api.add_operation(:modify_ipam_scope, Seahorse::Model::Operation.new.tap do |o|
19013
19298
  o.name = "ModifyIpamScope"
19014
19299
  o.http_method = "POST"
@@ -33,7 +33,7 @@ module Aws::EC2
33
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
35
  if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://ec2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ return Aws::Endpoints::Endpoint.new(url: "https://ec2.#{region}.amazonaws.com", headers: {}, properties: {})
37
37
  end
38
38
  return Aws::Endpoints::Endpoint.new(url: "https://ec2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
39
39
  end
@@ -45,6 +45,12 @@ module Aws::EC2
45
45
  end
46
46
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
47
47
  end
48
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
49
+ return Aws::Endpoints::Endpoint.new(url: "https://ec2.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
50
+ end
51
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
52
+ return Aws::Endpoints::Endpoint.new(url: "https://ec2.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
53
+ end
48
54
  return Aws::Endpoints::Endpoint.new(url: "https://ec2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
49
55
  end
50
56
  raise ArgumentError, 'No endpoint could be resolved'