aws-sdk-ec2 1.419.0 → 1.420.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -317,7 +317,6 @@ module Aws::EC2
317
317
  ClientLoginBannerOptions = Shapes::StructureShape.new(name: 'ClientLoginBannerOptions')
318
318
  ClientLoginBannerResponseOptions = Shapes::StructureShape.new(name: 'ClientLoginBannerResponseOptions')
319
319
  ClientSecretType = Shapes::StringShape.new(name: 'ClientSecretType')
320
- ClientVpnAssociationId = Shapes::StringShape.new(name: 'ClientVpnAssociationId')
321
320
  ClientVpnAuthentication = Shapes::StructureShape.new(name: 'ClientVpnAuthentication')
322
321
  ClientVpnAuthenticationList = Shapes::ListShape.new(name: 'ClientVpnAuthenticationList')
323
322
  ClientVpnAuthenticationRequest = Shapes::StructureShape.new(name: 'ClientVpnAuthenticationRequest')
@@ -870,6 +869,11 @@ module Aws::EC2
870
869
  DescribeInstanceEventWindowsResult = Shapes::StructureShape.new(name: 'DescribeInstanceEventWindowsResult')
871
870
  DescribeInstanceStatusRequest = Shapes::StructureShape.new(name: 'DescribeInstanceStatusRequest')
872
871
  DescribeInstanceStatusResult = Shapes::StructureShape.new(name: 'DescribeInstanceStatusResult')
872
+ DescribeInstanceTopologyGroupNameSet = Shapes::ListShape.new(name: 'DescribeInstanceTopologyGroupNameSet')
873
+ DescribeInstanceTopologyInstanceIdSet = Shapes::ListShape.new(name: 'DescribeInstanceTopologyInstanceIdSet')
874
+ DescribeInstanceTopologyMaxResults = Shapes::IntegerShape.new(name: 'DescribeInstanceTopologyMaxResults')
875
+ DescribeInstanceTopologyRequest = Shapes::StructureShape.new(name: 'DescribeInstanceTopologyRequest')
876
+ DescribeInstanceTopologyResult = Shapes::StructureShape.new(name: 'DescribeInstanceTopologyResult')
873
877
  DescribeInstanceTypeOfferingsRequest = Shapes::StructureShape.new(name: 'DescribeInstanceTypeOfferingsRequest')
874
878
  DescribeInstanceTypeOfferingsResult = Shapes::StructureShape.new(name: 'DescribeInstanceTypeOfferingsResult')
875
879
  DescribeInstanceTypesRequest = Shapes::StructureShape.new(name: 'DescribeInstanceTypesRequest')
@@ -1688,6 +1692,7 @@ module Aws::EC2
1688
1692
  InstanceRequirements = Shapes::StructureShape.new(name: 'InstanceRequirements')
1689
1693
  InstanceRequirementsRequest = Shapes::StructureShape.new(name: 'InstanceRequirementsRequest')
1690
1694
  InstanceRequirementsWithMetadataRequest = Shapes::StructureShape.new(name: 'InstanceRequirementsWithMetadataRequest')
1695
+ InstanceSet = Shapes::ListShape.new(name: 'InstanceSet')
1691
1696
  InstanceSpecification = Shapes::StructureShape.new(name: 'InstanceSpecification')
1692
1697
  InstanceState = Shapes::StructureShape.new(name: 'InstanceState')
1693
1698
  InstanceStateChange = Shapes::StructureShape.new(name: 'InstanceStateChange')
@@ -1705,6 +1710,7 @@ module Aws::EC2
1705
1710
  InstanceStorageInfo = Shapes::StructureShape.new(name: 'InstanceStorageInfo')
1706
1711
  InstanceTagKeySet = Shapes::ListShape.new(name: 'InstanceTagKeySet')
1707
1712
  InstanceTagNotificationAttribute = Shapes::StructureShape.new(name: 'InstanceTagNotificationAttribute')
1713
+ InstanceTopology = Shapes::StructureShape.new(name: 'InstanceTopology')
1708
1714
  InstanceType = Shapes::StringShape.new(name: 'InstanceType')
1709
1715
  InstanceTypeHypervisor = Shapes::StringShape.new(name: 'InstanceTypeHypervisor')
1710
1716
  InstanceTypeInfo = Shapes::StructureShape.new(name: 'InstanceTypeInfo')
@@ -2202,6 +2208,7 @@ module Aws::EC2
2202
2208
  NetworkInterfacePrivateIpAddressList = Shapes::ListShape.new(name: 'NetworkInterfacePrivateIpAddressList')
2203
2209
  NetworkInterfaceStatus = Shapes::StringShape.new(name: 'NetworkInterfaceStatus')
2204
2210
  NetworkInterfaceType = Shapes::StringShape.new(name: 'NetworkInterfaceType')
2211
+ NetworkNodesList = Shapes::ListShape.new(name: 'NetworkNodesList')
2205
2212
  NetworkPerformance = Shapes::StringShape.new(name: 'NetworkPerformance')
2206
2213
  NewDhcpConfiguration = Shapes::StructureShape.new(name: 'NewDhcpConfiguration')
2207
2214
  NewDhcpConfigurationList = Shapes::ListShape.new(name: 'NewDhcpConfigurationList')
@@ -6577,6 +6584,22 @@ module Aws::EC2
6577
6584
  DescribeInstanceStatusResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
6578
6585
  DescribeInstanceStatusResult.struct_class = Types::DescribeInstanceStatusResult
6579
6586
 
6587
+ DescribeInstanceTopologyGroupNameSet.member = Shapes::ShapeRef.new(shape: PlacementGroupName)
6588
+
6589
+ DescribeInstanceTopologyInstanceIdSet.member = Shapes::ShapeRef.new(shape: InstanceId)
6590
+
6591
+ DescribeInstanceTopologyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6592
+ DescribeInstanceTopologyRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
6593
+ DescribeInstanceTopologyRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeInstanceTopologyMaxResults, location_name: "MaxResults"))
6594
+ DescribeInstanceTopologyRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: DescribeInstanceTopologyInstanceIdSet, location_name: "InstanceId"))
6595
+ DescribeInstanceTopologyRequest.add_member(:group_names, Shapes::ShapeRef.new(shape: DescribeInstanceTopologyGroupNameSet, location_name: "GroupName"))
6596
+ DescribeInstanceTopologyRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
6597
+ DescribeInstanceTopologyRequest.struct_class = Types::DescribeInstanceTopologyRequest
6598
+
6599
+ DescribeInstanceTopologyResult.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceSet, location_name: "instanceSet"))
6600
+ DescribeInstanceTopologyResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
6601
+ DescribeInstanceTopologyResult.struct_class = Types::DescribeInstanceTopologyResult
6602
+
6580
6603
  DescribeInstanceTypeOfferingsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6581
6604
  DescribeInstanceTypeOfferingsRequest.add_member(:location_type, Shapes::ShapeRef.new(shape: LocationType, location_name: "LocationType"))
6582
6605
  DescribeInstanceTypeOfferingsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
@@ -7851,7 +7874,7 @@ module Aws::EC2
7851
7874
  DisassociateAddressRequest.struct_class = Types::DisassociateAddressRequest
7852
7875
 
7853
7876
  DisassociateClientVpnTargetNetworkRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
7854
- DisassociateClientVpnTargetNetworkRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: ClientVpnAssociationId, required: true, location_name: "AssociationId"))
7877
+ DisassociateClientVpnTargetNetworkRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AssociationId"))
7855
7878
  DisassociateClientVpnTargetNetworkRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7856
7879
  DisassociateClientVpnTargetNetworkRequest.struct_class = Types::DisassociateClientVpnTargetNetworkRequest
7857
7880
 
@@ -8757,6 +8780,7 @@ module Aws::EC2
8757
8780
  GetCoipPoolUsageResult.add_member(:coip_pool_id, Shapes::ShapeRef.new(shape: String, location_name: "coipPoolId"))
8758
8781
  GetCoipPoolUsageResult.add_member(:coip_address_usages, Shapes::ShapeRef.new(shape: CoipAddressUsageSet, location_name: "coipAddressUsageSet"))
8759
8782
  GetCoipPoolUsageResult.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: String, location_name: "localGatewayRouteTableId"))
8783
+ GetCoipPoolUsageResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
8760
8784
  GetCoipPoolUsageResult.struct_class = Types::GetCoipPoolUsageResult
8761
8785
 
8762
8786
  GetConsoleOutputRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -9964,6 +9988,8 @@ module Aws::EC2
9964
9988
  InstanceRequirementsWithMetadataRequest.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "InstanceRequirements"))
9965
9989
  InstanceRequirementsWithMetadataRequest.struct_class = Types::InstanceRequirementsWithMetadataRequest
9966
9990
 
9991
+ InstanceSet.member = Shapes::ShapeRef.new(shape: InstanceTopology, location_name: "item")
9992
+
9967
9993
  InstanceSpecification.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdWithVolumeResolver, required: true, location_name: "InstanceId"))
9968
9994
  InstanceSpecification.add_member(:exclude_boot_volume, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExcludeBootVolume"))
9969
9995
  InstanceSpecification.add_member(:exclude_data_volume_ids, Shapes::ShapeRef.new(shape: VolumeIdStringList, location_name: "ExcludeDataVolumeId"))
@@ -10024,6 +10050,14 @@ module Aws::EC2
10024
10050
  InstanceTagNotificationAttribute.add_member(:include_all_tags_of_instance, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeAllTagsOfInstance"))
10025
10051
  InstanceTagNotificationAttribute.struct_class = Types::InstanceTagNotificationAttribute
10026
10052
 
10053
+ InstanceTopology.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
10054
+ InstanceTopology.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
10055
+ InstanceTopology.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
10056
+ InstanceTopology.add_member(:network_nodes, Shapes::ShapeRef.new(shape: NetworkNodesList, location_name: "networkNodeSet"))
10057
+ InstanceTopology.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
10058
+ InstanceTopology.add_member(:zone_id, Shapes::ShapeRef.new(shape: String, location_name: "zoneId"))
10059
+ InstanceTopology.struct_class = Types::InstanceTopology
10060
+
10027
10061
  InstanceTypeInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
10028
10062
  InstanceTypeInfo.add_member(:current_generation, Shapes::ShapeRef.new(shape: CurrentGenerationFlag, location_name: "currentGeneration"))
10029
10063
  InstanceTypeInfo.add_member(:free_tier_eligible, Shapes::ShapeRef.new(shape: FreeTierEligibleFlag, location_name: "freeTierEligible"))
@@ -11956,6 +11990,8 @@ module Aws::EC2
11956
11990
 
11957
11991
  NetworkInterfacePrivateIpAddressList.member = Shapes::ShapeRef.new(shape: NetworkInterfacePrivateIpAddress, location_name: "item")
11958
11992
 
11993
+ NetworkNodesList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
11994
+
11959
11995
  NewDhcpConfiguration.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
11960
11996
  NewDhcpConfiguration.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Value"))
11961
11997
  NewDhcpConfiguration.struct_class = Types::NewDhcpConfiguration
@@ -17574,6 +17610,20 @@ module Aws::EC2
17574
17610
  )
17575
17611
  end)
17576
17612
 
17613
+ api.add_operation(:describe_instance_topology, Seahorse::Model::Operation.new.tap do |o|
17614
+ o.name = "DescribeInstanceTopology"
17615
+ o.http_method = "POST"
17616
+ o.http_request_uri = "/"
17617
+ o.input = Shapes::ShapeRef.new(shape: DescribeInstanceTopologyRequest)
17618
+ o.output = Shapes::ShapeRef.new(shape: DescribeInstanceTopologyResult)
17619
+ o[:pager] = Aws::Pager.new(
17620
+ limit_key: "max_results",
17621
+ tokens: {
17622
+ "next_token" => "next_token"
17623
+ }
17624
+ )
17625
+ end)
17626
+
17577
17627
  api.add_operation(:describe_instance_type_offerings, Seahorse::Model::Operation.new.tap do |o|
17578
17628
  o.name = "DescribeInstanceTypeOfferings"
17579
17629
  o.http_method = "POST"
@@ -3764,6 +3764,20 @@ module Aws::EC2
3764
3764
  end
3765
3765
  end
3766
3766
 
3767
+ class DescribeInstanceTopology
3768
+ def self.build(context)
3769
+ unless context.config.regional_endpoint
3770
+ endpoint = context.config.endpoint.to_s
3771
+ end
3772
+ Aws::EC2::EndpointParameters.new(
3773
+ region: context.config.region,
3774
+ use_dual_stack: context.config.use_dualstack_endpoint,
3775
+ use_fips: context.config.use_fips_endpoint,
3776
+ endpoint: endpoint,
3777
+ )
3778
+ end
3779
+ end
3780
+
3767
3781
  class DescribeInstanceTypeOfferings
3768
3782
  def self.build(context)
3769
3783
  unless context.config.regional_endpoint
@@ -779,9 +779,22 @@ module Aws::EC2
779
779
  # })
780
780
  # @param [Hash] options ({})
781
781
  # @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
782
- # The block device mappings. This parameter cannot be used to modify the
783
- # encryption status of existing volumes or snapshots. To create an AMI
784
- # with encrypted snapshots, use the CopyImage action.
782
+ # The block device mappings.
783
+ #
784
+ # When using the CreateImage action:
785
+ #
786
+ # * You can't change the volume size using the VolumeSize parameter. If
787
+ # you want a different volume size, you must first change the volume
788
+ # size of the source instance.
789
+ #
790
+ # * You can't modify the encryption status of existing volumes or
791
+ # snapshots. To create an AMI with volumes or snapshots that have a
792
+ # different encryption status (for example, where the source volume
793
+ # and snapshots are unencrypted, and you want to create an AMI with
794
+ # encrypted volumes or snapshots), use the CopyImage action.
795
+ #
796
+ # * The only option that can be changed for existing mappings or
797
+ # snapshots is `DeleteOnTermination`.
785
798
  # @option options [String] :description
786
799
  # A description for the new image.
787
800
  # @option options [Boolean] :dry_run
@@ -592,6 +592,8 @@ module Aws::EC2
592
592
  Aws::EC2::Endpoints::DescribeInstanceEventWindows.build(context)
593
593
  when :describe_instance_status
594
594
  Aws::EC2::Endpoints::DescribeInstanceStatus.build(context)
595
+ when :describe_instance_topology
596
+ Aws::EC2::Endpoints::DescribeInstanceTopology.build(context)
595
597
  when :describe_instance_type_offerings
596
598
  Aws::EC2::Endpoints::DescribeInstanceTypeOfferings.build(context)
597
599
  when :describe_instance_types