aws-sdk-ec2 1.370.0 → 1.372.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -187,6 +187,7 @@ module Aws::EC2
187
187
  AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
188
188
  AvailabilityZoneMessage = Shapes::StructureShape.new(name: 'AvailabilityZoneMessage')
189
189
  AvailabilityZoneMessageList = Shapes::ListShape.new(name: 'AvailabilityZoneMessageList')
190
+ AvailabilityZoneName = Shapes::StringShape.new(name: 'AvailabilityZoneName')
190
191
  AvailabilityZoneOptInStatus = Shapes::StringShape.new(name: 'AvailabilityZoneOptInStatus')
191
192
  AvailabilityZoneState = Shapes::StringShape.new(name: 'AvailabilityZoneState')
192
193
  AvailabilityZoneStringList = Shapes::ListShape.new(name: 'AvailabilityZoneStringList')
@@ -1301,7 +1302,10 @@ module Aws::EC2
1301
1302
  FederatedAuthenticationRequest = Shapes::StructureShape.new(name: 'FederatedAuthenticationRequest')
1302
1303
  Filter = Shapes::StructureShape.new(name: 'Filter')
1303
1304
  FilterList = Shapes::ListShape.new(name: 'FilterList')
1305
+ FilterPortRange = Shapes::StructureShape.new(name: 'FilterPortRange')
1304
1306
  FindingsFound = Shapes::StringShape.new(name: 'FindingsFound')
1307
+ FirewallStatefulRule = Shapes::StructureShape.new(name: 'FirewallStatefulRule')
1308
+ FirewallStatelessRule = Shapes::StructureShape.new(name: 'FirewallStatelessRule')
1305
1309
  FleetActivityStatus = Shapes::StringShape.new(name: 'FleetActivityStatus')
1306
1310
  FleetCapacityReservation = Shapes::StructureShape.new(name: 'FleetCapacityReservation')
1307
1311
  FleetCapacityReservationSet = Shapes::ListShape.new(name: 'FleetCapacityReservationSet')
@@ -1448,6 +1452,8 @@ module Aws::EC2
1448
1452
  GetVpnConnectionDeviceSampleConfigurationResult = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceSampleConfigurationResult')
1449
1453
  GetVpnConnectionDeviceTypesRequest = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceTypesRequest')
1450
1454
  GetVpnConnectionDeviceTypesResult = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceTypesResult')
1455
+ GetVpnTunnelReplacementStatusRequest = Shapes::StructureShape.new(name: 'GetVpnTunnelReplacementStatusRequest')
1456
+ GetVpnTunnelReplacementStatusResult = Shapes::StructureShape.new(name: 'GetVpnTunnelReplacementStatusResult')
1451
1457
  GpuDeviceCount = Shapes::IntegerShape.new(name: 'GpuDeviceCount')
1452
1458
  GpuDeviceInfo = Shapes::StructureShape.new(name: 'GpuDeviceInfo')
1453
1459
  GpuDeviceInfoList = Shapes::ListShape.new(name: 'GpuDeviceInfoList')
@@ -1534,6 +1540,7 @@ module Aws::EC2
1534
1540
  ImportInstanceVolumeDetailSet = Shapes::ListShape.new(name: 'ImportInstanceVolumeDetailSet')
1535
1541
  ImportKeyPairRequest = Shapes::StructureShape.new(name: 'ImportKeyPairRequest')
1536
1542
  ImportKeyPairResult = Shapes::StructureShape.new(name: 'ImportKeyPairResult')
1543
+ ImportManifestUrl = Shapes::StringShape.new(name: 'ImportManifestUrl')
1537
1544
  ImportSnapshotRequest = Shapes::StructureShape.new(name: 'ImportSnapshotRequest')
1538
1545
  ImportSnapshotResult = Shapes::StructureShape.new(name: 'ImportSnapshotResult')
1539
1546
  ImportSnapshotTask = Shapes::StructureShape.new(name: 'ImportSnapshotTask')
@@ -1909,6 +1916,7 @@ module Aws::EC2
1909
1916
  LocationType = Shapes::StringShape.new(name: 'LocationType')
1910
1917
  LogDestinationType = Shapes::StringShape.new(name: 'LogDestinationType')
1911
1918
  Long = Shapes::IntegerShape.new(name: 'Long')
1919
+ MaintenanceDetails = Shapes::StructureShape.new(name: 'MaintenanceDetails')
1912
1920
  ManagedPrefixList = Shapes::StructureShape.new(name: 'ManagedPrefixList')
1913
1921
  ManagedPrefixListSet = Shapes::ListShape.new(name: 'ManagedPrefixListSet')
1914
1922
  MarketType = Shapes::StringShape.new(name: 'MarketType')
@@ -2162,6 +2170,8 @@ module Aws::EC2
2162
2170
  PartitionLoadFrequency = Shapes::StringShape.new(name: 'PartitionLoadFrequency')
2163
2171
  PathComponent = Shapes::StructureShape.new(name: 'PathComponent')
2164
2172
  PathComponentList = Shapes::ListShape.new(name: 'PathComponentList')
2173
+ PathFilter = Shapes::StructureShape.new(name: 'PathFilter')
2174
+ PathRequestFilter = Shapes::StructureShape.new(name: 'PathRequestFilter')
2165
2175
  PathStatement = Shapes::StructureShape.new(name: 'PathStatement')
2166
2176
  PathStatementRequest = Shapes::StructureShape.new(name: 'PathStatementRequest')
2167
2177
  PayerResponsibility = Shapes::StringShape.new(name: 'PayerResponsibility')
@@ -2240,6 +2250,7 @@ module Aws::EC2
2240
2250
  PrincipalIdFormat = Shapes::StructureShape.new(name: 'PrincipalIdFormat')
2241
2251
  PrincipalIdFormatList = Shapes::ListShape.new(name: 'PrincipalIdFormatList')
2242
2252
  PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
2253
+ Priority = Shapes::IntegerShape.new(name: 'Priority')
2243
2254
  PrivateDnsDetails = Shapes::StructureShape.new(name: 'PrivateDnsDetails')
2244
2255
  PrivateDnsDetailsSet = Shapes::ListShape.new(name: 'PrivateDnsDetailsSet')
2245
2256
  PrivateDnsNameConfiguration = Shapes::StructureShape.new(name: 'PrivateDnsNameConfiguration')
@@ -2261,6 +2272,8 @@ module Aws::EC2
2261
2272
  PropagatingVgw = Shapes::StructureShape.new(name: 'PropagatingVgw')
2262
2273
  PropagatingVgwList = Shapes::ListShape.new(name: 'PropagatingVgwList')
2263
2274
  Protocol = Shapes::StringShape.new(name: 'Protocol')
2275
+ ProtocolInt = Shapes::IntegerShape.new(name: 'ProtocolInt')
2276
+ ProtocolIntList = Shapes::ListShape.new(name: 'ProtocolIntList')
2264
2277
  ProtocolList = Shapes::ListShape.new(name: 'ProtocolList')
2265
2278
  ProtocolValue = Shapes::StringShape.new(name: 'ProtocolValue')
2266
2279
  ProvisionByoipCidrRequest = Shapes::StructureShape.new(name: 'ProvisionByoipCidrRequest')
@@ -2344,10 +2357,13 @@ module Aws::EC2
2344
2357
  ReplaceRouteTableAssociationResult = Shapes::StructureShape.new(name: 'ReplaceRouteTableAssociationResult')
2345
2358
  ReplaceTransitGatewayRouteRequest = Shapes::StructureShape.new(name: 'ReplaceTransitGatewayRouteRequest')
2346
2359
  ReplaceTransitGatewayRouteResult = Shapes::StructureShape.new(name: 'ReplaceTransitGatewayRouteResult')
2360
+ ReplaceVpnTunnelRequest = Shapes::StructureShape.new(name: 'ReplaceVpnTunnelRequest')
2361
+ ReplaceVpnTunnelResult = Shapes::StructureShape.new(name: 'ReplaceVpnTunnelResult')
2347
2362
  ReplacementStrategy = Shapes::StringShape.new(name: 'ReplacementStrategy')
2348
2363
  ReportInstanceReasonCodes = Shapes::StringShape.new(name: 'ReportInstanceReasonCodes')
2349
2364
  ReportInstanceStatusRequest = Shapes::StructureShape.new(name: 'ReportInstanceStatusRequest')
2350
2365
  ReportStatusType = Shapes::StringShape.new(name: 'ReportStatusType')
2366
+ RequestFilterPortRange = Shapes::StructureShape.new(name: 'RequestFilterPortRange')
2351
2367
  RequestHostIdList = Shapes::ListShape.new(name: 'RequestHostIdList')
2352
2368
  RequestHostIdSet = Shapes::ListShape.new(name: 'RequestHostIdSet')
2353
2369
  RequestInstanceTypeList = Shapes::ListShape.new(name: 'RequestInstanceTypeList')
@@ -2452,6 +2468,12 @@ module Aws::EC2
2452
2468
  RouteTableIdStringList = Shapes::ListShape.new(name: 'RouteTableIdStringList')
2453
2469
  RouteTableList = Shapes::ListShape.new(name: 'RouteTableList')
2454
2470
  RuleAction = Shapes::StringShape.new(name: 'RuleAction')
2471
+ RuleGroupRuleOptionsPair = Shapes::StructureShape.new(name: 'RuleGroupRuleOptionsPair')
2472
+ RuleGroupRuleOptionsPairList = Shapes::ListShape.new(name: 'RuleGroupRuleOptionsPairList')
2473
+ RuleGroupTypePair = Shapes::StructureShape.new(name: 'RuleGroupTypePair')
2474
+ RuleGroupTypePairList = Shapes::ListShape.new(name: 'RuleGroupTypePairList')
2475
+ RuleOption = Shapes::StructureShape.new(name: 'RuleOption')
2476
+ RuleOptionList = Shapes::ListShape.new(name: 'RuleOptionList')
2455
2477
  RunInstancesMonitoringEnabled = Shapes::StructureShape.new(name: 'RunInstancesMonitoringEnabled')
2456
2478
  RunInstancesRequest = Shapes::StructureShape.new(name: 'RunInstancesRequest')
2457
2479
  RunInstancesUserData = Shapes::StringShape.new(name: 'RunInstancesUserData')
@@ -3121,6 +3143,12 @@ module Aws::EC2
3121
3143
 
3122
3144
  AdditionalDetail.add_member(:additional_detail_type, Shapes::ShapeRef.new(shape: String, location_name: "additionalDetailType"))
3123
3145
  AdditionalDetail.add_member(:component, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "component"))
3146
+ AdditionalDetail.add_member(:vpc_endpoint_service, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "vpcEndpointService"))
3147
+ AdditionalDetail.add_member(:rule_options, Shapes::ShapeRef.new(shape: RuleOptionList, location_name: "ruleOptionSet"))
3148
+ AdditionalDetail.add_member(:rule_group_type_pairs, Shapes::ShapeRef.new(shape: RuleGroupTypePairList, location_name: "ruleGroupTypePairSet"))
3149
+ AdditionalDetail.add_member(:rule_group_rule_options_pairs, Shapes::ShapeRef.new(shape: RuleGroupRuleOptionsPairList, location_name: "ruleGroupRuleOptionsPairSet"))
3150
+ AdditionalDetail.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
3151
+ AdditionalDetail.add_member(:load_balancers, Shapes::ShapeRef.new(shape: AnalysisComponentList, location_name: "loadBalancerSet"))
3124
3152
  AdditionalDetail.struct_class = Types::AdditionalDetail
3125
3153
 
3126
3154
  AdditionalDetailList.member = Shapes::ShapeRef.new(shape: AdditionalDetail, location_name: "item")
@@ -3279,6 +3307,9 @@ module Aws::EC2
3279
3307
  AnalysisRouteTableRoute.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayId"))
3280
3308
  AnalysisRouteTableRoute.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
3281
3309
  AnalysisRouteTableRoute.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "state"))
3310
+ AnalysisRouteTableRoute.add_member(:carrier_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "carrierGatewayId"))
3311
+ AnalysisRouteTableRoute.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "coreNetworkArn"))
3312
+ AnalysisRouteTableRoute.add_member(:local_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "localGatewayId"))
3282
3313
  AnalysisRouteTableRoute.struct_class = Types::AnalysisRouteTableRoute
3283
3314
 
3284
3315
  AnalysisSecurityGroupRule.add_member(:cidr, Shapes::ShapeRef.new(shape: String, location_name: "cidr"))
@@ -4651,12 +4682,14 @@ module Aws::EC2
4651
4682
  CreateNetworkInsightsPathRequest.add_member(:source_ip, Shapes::ShapeRef.new(shape: IpAddress, location_name: "SourceIp"))
4652
4683
  CreateNetworkInsightsPathRequest.add_member(:destination_ip, Shapes::ShapeRef.new(shape: IpAddress, location_name: "DestinationIp"))
4653
4684
  CreateNetworkInsightsPathRequest.add_member(:source, Shapes::ShapeRef.new(shape: NetworkInsightsResourceId, required: true, location_name: "Source"))
4654
- CreateNetworkInsightsPathRequest.add_member(:destination, Shapes::ShapeRef.new(shape: NetworkInsightsResourceId, required: true, location_name: "Destination"))
4685
+ CreateNetworkInsightsPathRequest.add_member(:destination, Shapes::ShapeRef.new(shape: NetworkInsightsResourceId, location_name: "Destination"))
4655
4686
  CreateNetworkInsightsPathRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "Protocol"))
4656
4687
  CreateNetworkInsightsPathRequest.add_member(:destination_port, Shapes::ShapeRef.new(shape: Port, location_name: "DestinationPort"))
4657
4688
  CreateNetworkInsightsPathRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4658
4689
  CreateNetworkInsightsPathRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4659
4690
  CreateNetworkInsightsPathRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4691
+ CreateNetworkInsightsPathRequest.add_member(:filter_at_source, Shapes::ShapeRef.new(shape: PathRequestFilter, location_name: "FilterAtSource"))
4692
+ CreateNetworkInsightsPathRequest.add_member(:filter_at_destination, Shapes::ShapeRef.new(shape: PathRequestFilter, location_name: "FilterAtDestination"))
4660
4693
  CreateNetworkInsightsPathRequest.struct_class = Types::CreateNetworkInsightsPathRequest
4661
4694
 
4662
4695
  CreateNetworkInsightsPathResult.add_member(:network_insights_path, Shapes::ShapeRef.new(shape: NetworkInsightsPath, location_name: "networkInsightsPath"))
@@ -5117,7 +5150,7 @@ module Aws::EC2
5117
5150
  CreateVolumePermissionModifications.add_member(:remove, Shapes::ShapeRef.new(shape: CreateVolumePermissionList, location_name: "Remove"))
5118
5151
  CreateVolumePermissionModifications.struct_class = Types::CreateVolumePermissionModifications
5119
5152
 
5120
- CreateVolumeRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AvailabilityZone"))
5153
+ CreateVolumeRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, required: true, location_name: "AvailabilityZone"))
5121
5154
  CreateVolumeRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
5122
5155
  CreateVolumeRequest.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
5123
5156
  CreateVolumeRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
@@ -7755,7 +7788,7 @@ module Aws::EC2
7755
7788
 
7756
7789
  DiskImageDetail.add_member(:bytes, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "bytes"))
7757
7790
  DiskImageDetail.add_member(:format, Shapes::ShapeRef.new(shape: DiskImageFormat, required: true, location_name: "format"))
7758
- DiskImageDetail.add_member(:import_manifest_url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "importManifestUrl"))
7791
+ DiskImageDetail.add_member(:import_manifest_url, Shapes::ShapeRef.new(shape: ImportManifestUrl, required: true, location_name: "importManifestUrl"))
7759
7792
  DiskImageDetail.struct_class = Types::DiskImageDetail
7760
7793
 
7761
7794
  DiskImageList.member = Shapes::ShapeRef.new(shape: DiskImage)
@@ -8106,6 +8139,8 @@ module Aws::EC2
8106
8139
  Explanation.add_member(:transit_gateway_attachment, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "transitGatewayAttachment"))
8107
8140
  Explanation.add_member(:component_account, Shapes::ShapeRef.new(shape: ComponentAccount, location_name: "componentAccount"))
8108
8141
  Explanation.add_member(:component_region, Shapes::ShapeRef.new(shape: ComponentRegion, location_name: "componentRegion"))
8142
+ Explanation.add_member(:firewall_stateless_rule, Shapes::ShapeRef.new(shape: FirewallStatelessRule, location_name: "firewallStatelessRule"))
8143
+ Explanation.add_member(:firewall_stateful_rule, Shapes::ShapeRef.new(shape: FirewallStatefulRule, location_name: "firewallStatefulRule"))
8109
8144
  Explanation.struct_class = Types::Explanation
8110
8145
 
8111
8146
  ExplanationList.member = Shapes::ShapeRef.new(shape: Explanation, location_name: "item")
@@ -8247,6 +8282,30 @@ module Aws::EC2
8247
8282
 
8248
8283
  FilterList.member = Shapes::ShapeRef.new(shape: Filter, location_name: "Filter")
8249
8284
 
8285
+ FilterPortRange.add_member(:from_port, Shapes::ShapeRef.new(shape: Port, location_name: "fromPort"))
8286
+ FilterPortRange.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "toPort"))
8287
+ FilterPortRange.struct_class = Types::FilterPortRange
8288
+
8289
+ FirewallStatefulRule.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ruleGroupArn"))
8290
+ FirewallStatefulRule.add_member(:sources, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "sourceSet"))
8291
+ FirewallStatefulRule.add_member(:destinations, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "destinationSet"))
8292
+ FirewallStatefulRule.add_member(:source_ports, Shapes::ShapeRef.new(shape: PortRangeList, location_name: "sourcePortSet"))
8293
+ FirewallStatefulRule.add_member(:destination_ports, Shapes::ShapeRef.new(shape: PortRangeList, location_name: "destinationPortSet"))
8294
+ FirewallStatefulRule.add_member(:protocol, Shapes::ShapeRef.new(shape: String, location_name: "protocol"))
8295
+ FirewallStatefulRule.add_member(:rule_action, Shapes::ShapeRef.new(shape: String, location_name: "ruleAction"))
8296
+ FirewallStatefulRule.add_member(:direction, Shapes::ShapeRef.new(shape: String, location_name: "direction"))
8297
+ FirewallStatefulRule.struct_class = Types::FirewallStatefulRule
8298
+
8299
+ FirewallStatelessRule.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ruleGroupArn"))
8300
+ FirewallStatelessRule.add_member(:sources, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "sourceSet"))
8301
+ FirewallStatelessRule.add_member(:destinations, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "destinationSet"))
8302
+ FirewallStatelessRule.add_member(:source_ports, Shapes::ShapeRef.new(shape: PortRangeList, location_name: "sourcePortSet"))
8303
+ FirewallStatelessRule.add_member(:destination_ports, Shapes::ShapeRef.new(shape: PortRangeList, location_name: "destinationPortSet"))
8304
+ FirewallStatelessRule.add_member(:protocols, Shapes::ShapeRef.new(shape: ProtocolIntList, location_name: "protocolSet"))
8305
+ FirewallStatelessRule.add_member(:rule_action, Shapes::ShapeRef.new(shape: String, location_name: "ruleAction"))
8306
+ FirewallStatelessRule.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "priority"))
8307
+ FirewallStatelessRule.struct_class = Types::FirewallStatelessRule
8308
+
8250
8309
  FleetCapacityReservation.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "capacityReservationId"))
8251
8310
  FleetCapacityReservation.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
8252
8311
  FleetCapacityReservation.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
@@ -8858,6 +8917,19 @@ module Aws::EC2
8858
8917
  GetVpnConnectionDeviceTypesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
8859
8918
  GetVpnConnectionDeviceTypesResult.struct_class = Types::GetVpnConnectionDeviceTypesResult
8860
8919
 
8920
+ GetVpnTunnelReplacementStatusRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
8921
+ GetVpnTunnelReplacementStatusRequest.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnTunnelOutsideIpAddress"))
8922
+ GetVpnTunnelReplacementStatusRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
8923
+ GetVpnTunnelReplacementStatusRequest.struct_class = Types::GetVpnTunnelReplacementStatusRequest
8924
+
8925
+ GetVpnTunnelReplacementStatusResult.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, location_name: "vpnConnectionId"))
8926
+ GetVpnTunnelReplacementStatusResult.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, location_name: "transitGatewayId"))
8927
+ GetVpnTunnelReplacementStatusResult.add_member(:customer_gateway_id, Shapes::ShapeRef.new(shape: CustomerGatewayId, location_name: "customerGatewayId"))
8928
+ GetVpnTunnelReplacementStatusResult.add_member(:vpn_gateway_id, Shapes::ShapeRef.new(shape: VpnGatewayId, location_name: "vpnGatewayId"))
8929
+ GetVpnTunnelReplacementStatusResult.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "vpnTunnelOutsideIpAddress"))
8930
+ GetVpnTunnelReplacementStatusResult.add_member(:maintenance_details, Shapes::ShapeRef.new(shape: MaintenanceDetails, location_name: "maintenanceDetails"))
8931
+ GetVpnTunnelReplacementStatusResult.struct_class = Types::GetVpnTunnelReplacementStatusResult
8932
+
8861
8933
  GpuDeviceInfo.add_member(:name, Shapes::ShapeRef.new(shape: GpuDeviceName, location_name: "name"))
8862
8934
  GpuDeviceInfo.add_member(:manufacturer, Shapes::ShapeRef.new(shape: GpuDeviceManufacturerName, location_name: "manufacturer"))
8863
8935
  GpuDeviceInfo.add_member(:count, Shapes::ShapeRef.new(shape: GpuDeviceCount, location_name: "count"))
@@ -10522,6 +10594,11 @@ module Aws::EC2
10522
10594
 
10523
10595
  LocalStorageTypeSet.member = Shapes::ShapeRef.new(shape: LocalStorageType, location_name: "item")
10524
10596
 
10597
+ MaintenanceDetails.add_member(:pending_maintenance, Shapes::ShapeRef.new(shape: String, location_name: "pendingMaintenance"))
10598
+ MaintenanceDetails.add_member(:maintenance_auto_applied_after, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "maintenanceAutoAppliedAfter"))
10599
+ MaintenanceDetails.add_member(:last_maintenance_applied, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lastMaintenanceApplied"))
10600
+ MaintenanceDetails.struct_class = Types::MaintenanceDetails
10601
+
10525
10602
  ManagedPrefixList.add_member(:prefix_list_id, Shapes::ShapeRef.new(shape: PrefixListResourceId, location_name: "prefixListId"))
10526
10603
  ManagedPrefixList.add_member(:address_family, Shapes::ShapeRef.new(shape: String, location_name: "addressFamily"))
10527
10604
  ManagedPrefixList.add_member(:state, Shapes::ShapeRef.new(shape: PrefixListState, location_name: "state"))
@@ -11259,6 +11336,7 @@ module Aws::EC2
11259
11336
  ModifyVpnTunnelOptionsRequest.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnTunnelOutsideIpAddress"))
11260
11337
  ModifyVpnTunnelOptionsRequest.add_member(:tunnel_options, Shapes::ShapeRef.new(shape: ModifyVpnTunnelOptionsSpecification, required: true, location_name: "TunnelOptions"))
11261
11338
  ModifyVpnTunnelOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
11339
+ ModifyVpnTunnelOptionsRequest.add_member(:skip_tunnel_replacement, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipTunnelReplacement"))
11262
11340
  ModifyVpnTunnelOptionsRequest.struct_class = Types::ModifyVpnTunnelOptionsRequest
11263
11341
 
11264
11342
  ModifyVpnTunnelOptionsResult.add_member(:vpn_connection, Shapes::ShapeRef.new(shape: VpnConnection, location_name: "vpnConnection"))
@@ -11283,6 +11361,7 @@ module Aws::EC2
11283
11361
  ModifyVpnTunnelOptionsSpecification.add_member(:ike_versions, Shapes::ShapeRef.new(shape: IKEVersionsRequestList, location_name: "IKEVersion"))
11284
11362
  ModifyVpnTunnelOptionsSpecification.add_member(:startup_action, Shapes::ShapeRef.new(shape: String, location_name: "StartupAction"))
11285
11363
  ModifyVpnTunnelOptionsSpecification.add_member(:log_options, Shapes::ShapeRef.new(shape: VpnTunnelLogOptionsSpecification, location_name: "LogOptions"))
11364
+ ModifyVpnTunnelOptionsSpecification.add_member(:enable_tunnel_lifecycle_control, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableTunnelLifecycleControl"))
11286
11365
  ModifyVpnTunnelOptionsSpecification.struct_class = Types::ModifyVpnTunnelOptionsSpecification
11287
11366
 
11288
11367
  MonitorInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
@@ -11477,6 +11556,8 @@ module Aws::EC2
11477
11556
  NetworkInsightsPath.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
11478
11557
  NetworkInsightsPath.add_member(:destination_port, Shapes::ShapeRef.new(shape: Integer, location_name: "destinationPort"))
11479
11558
  NetworkInsightsPath.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
11559
+ NetworkInsightsPath.add_member(:filter_at_source, Shapes::ShapeRef.new(shape: PathFilter, location_name: "filterAtSource"))
11560
+ NetworkInsightsPath.add_member(:filter_at_destination, Shapes::ShapeRef.new(shape: PathFilter, location_name: "filterAtDestination"))
11480
11561
  NetworkInsightsPath.struct_class = Types::NetworkInsightsPath
11481
11562
 
11482
11563
  NetworkInsightsPathIdList.member = Shapes::ShapeRef.new(shape: NetworkInsightsPathId, location_name: "item")
@@ -11652,10 +11733,25 @@ module Aws::EC2
11652
11733
  PathComponent.add_member(:transit_gateway_route_table_route, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableRoute, location_name: "transitGatewayRouteTableRoute"))
11653
11734
  PathComponent.add_member(:explanations, Shapes::ShapeRef.new(shape: ExplanationList, location_name: "explanationSet"))
11654
11735
  PathComponent.add_member(:elastic_load_balancer_listener, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "elasticLoadBalancerListener"))
11736
+ PathComponent.add_member(:firewall_stateless_rule, Shapes::ShapeRef.new(shape: FirewallStatelessRule, location_name: "firewallStatelessRule"))
11737
+ PathComponent.add_member(:firewall_stateful_rule, Shapes::ShapeRef.new(shape: FirewallStatefulRule, location_name: "firewallStatefulRule"))
11738
+ PathComponent.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
11655
11739
  PathComponent.struct_class = Types::PathComponent
11656
11740
 
11657
11741
  PathComponentList.member = Shapes::ShapeRef.new(shape: PathComponent, location_name: "item")
11658
11742
 
11743
+ PathFilter.add_member(:source_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "sourceAddress"))
11744
+ PathFilter.add_member(:source_port_range, Shapes::ShapeRef.new(shape: FilterPortRange, location_name: "sourcePortRange"))
11745
+ PathFilter.add_member(:destination_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "destinationAddress"))
11746
+ PathFilter.add_member(:destination_port_range, Shapes::ShapeRef.new(shape: FilterPortRange, location_name: "destinationPortRange"))
11747
+ PathFilter.struct_class = Types::PathFilter
11748
+
11749
+ PathRequestFilter.add_member(:source_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "SourceAddress"))
11750
+ PathRequestFilter.add_member(:source_port_range, Shapes::ShapeRef.new(shape: RequestFilterPortRange, location_name: "SourcePortRange"))
11751
+ PathRequestFilter.add_member(:destination_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "DestinationAddress"))
11752
+ PathRequestFilter.add_member(:destination_port_range, Shapes::ShapeRef.new(shape: RequestFilterPortRange, location_name: "DestinationPortRange"))
11753
+ PathRequestFilter.struct_class = Types::PathRequestFilter
11754
+
11659
11755
  PathStatement.add_member(:packet_header_statement, Shapes::ShapeRef.new(shape: PacketHeaderStatement, location_name: "packetHeaderStatement"))
11660
11756
  PathStatement.add_member(:resource_statement, Shapes::ShapeRef.new(shape: ResourceStatement, location_name: "resourceStatement"))
11661
11757
  PathStatement.struct_class = Types::PathStatement
@@ -11907,6 +12003,8 @@ module Aws::EC2
11907
12003
 
11908
12004
  PropagatingVgwList.member = Shapes::ShapeRef.new(shape: PropagatingVgw, location_name: "item")
11909
12005
 
12006
+ ProtocolIntList.member = Shapes::ShapeRef.new(shape: ProtocolInt, location_name: "item")
12007
+
11910
12008
  ProtocolList.member = Shapes::ShapeRef.new(shape: Protocol, location_name: "item")
11911
12009
 
11912
12010
  ProvisionByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
@@ -12261,6 +12359,15 @@ module Aws::EC2
12261
12359
  ReplaceTransitGatewayRouteResult.add_member(:route, Shapes::ShapeRef.new(shape: TransitGatewayRoute, location_name: "route"))
12262
12360
  ReplaceTransitGatewayRouteResult.struct_class = Types::ReplaceTransitGatewayRouteResult
12263
12361
 
12362
+ ReplaceVpnTunnelRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
12363
+ ReplaceVpnTunnelRequest.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnTunnelOutsideIpAddress"))
12364
+ ReplaceVpnTunnelRequest.add_member(:apply_pending_maintenance, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApplyPendingMaintenance"))
12365
+ ReplaceVpnTunnelRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
12366
+ ReplaceVpnTunnelRequest.struct_class = Types::ReplaceVpnTunnelRequest
12367
+
12368
+ ReplaceVpnTunnelResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
12369
+ ReplaceVpnTunnelResult.struct_class = Types::ReplaceVpnTunnelResult
12370
+
12264
12371
  ReportInstanceStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
12265
12372
  ReportInstanceStatusRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
12266
12373
  ReportInstanceStatusRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "endTime"))
@@ -12270,6 +12377,10 @@ module Aws::EC2
12270
12377
  ReportInstanceStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: ReportStatusType, required: true, location_name: "status"))
12271
12378
  ReportInstanceStatusRequest.struct_class = Types::ReportInstanceStatusRequest
12272
12379
 
12380
+ RequestFilterPortRange.add_member(:from_port, Shapes::ShapeRef.new(shape: Port, location_name: "FromPort"))
12381
+ RequestFilterPortRange.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "ToPort"))
12382
+ RequestFilterPortRange.struct_class = Types::RequestFilterPortRange
12383
+
12273
12384
  RequestHostIdList.member = Shapes::ShapeRef.new(shape: DedicatedHostId, location_name: "item")
12274
12385
 
12275
12386
  RequestHostIdSet.member = Shapes::ShapeRef.new(shape: DedicatedHostId, location_name: "item")
@@ -12734,6 +12845,24 @@ module Aws::EC2
12734
12845
 
12735
12846
  RouteTableList.member = Shapes::ShapeRef.new(shape: RouteTable, location_name: "item")
12736
12847
 
12848
+ RuleGroupRuleOptionsPair.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ruleGroupArn"))
12849
+ RuleGroupRuleOptionsPair.add_member(:rule_options, Shapes::ShapeRef.new(shape: RuleOptionList, location_name: "ruleOptionSet"))
12850
+ RuleGroupRuleOptionsPair.struct_class = Types::RuleGroupRuleOptionsPair
12851
+
12852
+ RuleGroupRuleOptionsPairList.member = Shapes::ShapeRef.new(shape: RuleGroupRuleOptionsPair, location_name: "item")
12853
+
12854
+ RuleGroupTypePair.add_member(:rule_group_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ruleGroupArn"))
12855
+ RuleGroupTypePair.add_member(:rule_group_type, Shapes::ShapeRef.new(shape: String, location_name: "ruleGroupType"))
12856
+ RuleGroupTypePair.struct_class = Types::RuleGroupTypePair
12857
+
12858
+ RuleGroupTypePairList.member = Shapes::ShapeRef.new(shape: RuleGroupTypePair, location_name: "item")
12859
+
12860
+ RuleOption.add_member(:keyword, Shapes::ShapeRef.new(shape: String, location_name: "keyword"))
12861
+ RuleOption.add_member(:settings, Shapes::ShapeRef.new(shape: StringList, location_name: "settingSet"))
12862
+ RuleOption.struct_class = Types::RuleOption
12863
+
12864
+ RuleOptionList.member = Shapes::ShapeRef.new(shape: RuleOption, location_name: "item")
12865
+
12737
12866
  RunInstancesMonitoringEnabled.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
12738
12867
  RunInstancesMonitoringEnabled.struct_class = Types::RunInstancesMonitoringEnabled
12739
12868
 
@@ -14082,6 +14211,7 @@ module Aws::EC2
14082
14211
  TunnelOption.add_member(:ike_versions, Shapes::ShapeRef.new(shape: IKEVersionsList, location_name: "ikeVersionSet"))
14083
14212
  TunnelOption.add_member(:startup_action, Shapes::ShapeRef.new(shape: String, location_name: "startupAction"))
14084
14213
  TunnelOption.add_member(:log_options, Shapes::ShapeRef.new(shape: VpnTunnelLogOptions, location_name: "logOptions"))
14214
+ TunnelOption.add_member(:enable_tunnel_lifecycle_control, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableTunnelLifecycleControl"))
14085
14215
  TunnelOption.struct_class = Types::TunnelOption
14086
14216
 
14087
14217
  TunnelOptionsList.member = Shapes::ShapeRef.new(shape: TunnelOption, location_name: "item")
@@ -14702,6 +14832,7 @@ module Aws::EC2
14702
14832
  VpnTunnelOptionsSpecification.add_member(:ike_versions, Shapes::ShapeRef.new(shape: IKEVersionsRequestList, location_name: "IKEVersion"))
14703
14833
  VpnTunnelOptionsSpecification.add_member(:startup_action, Shapes::ShapeRef.new(shape: String, location_name: "StartupAction"))
14704
14834
  VpnTunnelOptionsSpecification.add_member(:log_options, Shapes::ShapeRef.new(shape: VpnTunnelLogOptionsSpecification, location_name: "LogOptions"))
14835
+ VpnTunnelOptionsSpecification.add_member(:enable_tunnel_lifecycle_control, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableTunnelLifecycleControl"))
14705
14836
  VpnTunnelOptionsSpecification.struct_class = Types::VpnTunnelOptionsSpecification
14706
14837
 
14707
14838
  VpnTunnelOptionsSpecificationsList.member = Shapes::ShapeRef.new(shape: VpnTunnelOptionsSpecification)
@@ -19124,6 +19255,14 @@ module Aws::EC2
19124
19255
  )
19125
19256
  end)
19126
19257
 
19258
+ api.add_operation(:get_vpn_tunnel_replacement_status, Seahorse::Model::Operation.new.tap do |o|
19259
+ o.name = "GetVpnTunnelReplacementStatus"
19260
+ o.http_method = "POST"
19261
+ o.http_request_uri = "/"
19262
+ o.input = Shapes::ShapeRef.new(shape: GetVpnTunnelReplacementStatusRequest)
19263
+ o.output = Shapes::ShapeRef.new(shape: GetVpnTunnelReplacementStatusResult)
19264
+ end)
19265
+
19127
19266
  api.add_operation(:import_client_vpn_client_certificate_revocation_list, Seahorse::Model::Operation.new.tap do |o|
19128
19267
  o.name = "ImportClientVpnClientCertificateRevocationList"
19129
19268
  o.http_method = "POST"
@@ -19936,6 +20075,14 @@ module Aws::EC2
19936
20075
  o.output = Shapes::ShapeRef.new(shape: ReplaceTransitGatewayRouteResult)
19937
20076
  end)
19938
20077
 
20078
+ api.add_operation(:replace_vpn_tunnel, Seahorse::Model::Operation.new.tap do |o|
20079
+ o.name = "ReplaceVpnTunnel"
20080
+ o.http_method = "POST"
20081
+ o.http_request_uri = "/"
20082
+ o.input = Shapes::ShapeRef.new(shape: ReplaceVpnTunnelRequest)
20083
+ o.output = Shapes::ShapeRef.new(shape: ReplaceVpnTunnelResult)
20084
+ end)
20085
+
19939
20086
  api.add_operation(:report_instance_status, Seahorse::Model::Operation.new.tap do |o|
19940
20087
  o.name = "ReportInstanceStatus"
19941
20088
  o.http_method = "POST"
@@ -46,12 +46,6 @@ module Aws::EC2
46
46
  end
47
47
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
48
  end
49
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
50
- return Aws::Endpoints::Endpoint.new(url: "https://ec2.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
51
- end
52
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
53
- return Aws::Endpoints::Endpoint.new(url: "https://ec2.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
54
- end
55
49
  return Aws::Endpoints::Endpoint.new(url: "https://ec2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
56
50
  end
57
51
  end
@@ -6325,6 +6325,20 @@ module Aws::EC2
6325
6325
  end
6326
6326
  end
6327
6327
 
6328
+ class GetVpnTunnelReplacementStatus
6329
+ def self.build(context)
6330
+ unless context.config.regional_endpoint
6331
+ endpoint = context.config.endpoint.to_s
6332
+ end
6333
+ Aws::EC2::EndpointParameters.new(
6334
+ region: context.config.region,
6335
+ use_dual_stack: context.config.use_dualstack_endpoint,
6336
+ use_fips: context.config.use_fips_endpoint,
6337
+ endpoint: endpoint,
6338
+ )
6339
+ end
6340
+ end
6341
+
6328
6342
  class ImportClientVpnClientCertificateRevocationList
6329
6343
  def self.build(context)
6330
6344
  unless context.config.regional_endpoint
@@ -7725,6 +7739,20 @@ module Aws::EC2
7725
7739
  end
7726
7740
  end
7727
7741
 
7742
+ class ReplaceVpnTunnel
7743
+ def self.build(context)
7744
+ unless context.config.regional_endpoint
7745
+ endpoint = context.config.endpoint.to_s
7746
+ end
7747
+ Aws::EC2::EndpointParameters.new(
7748
+ region: context.config.region,
7749
+ use_dual_stack: context.config.use_dualstack_endpoint,
7750
+ use_fips: context.config.use_fips_endpoint,
7751
+ endpoint: endpoint,
7752
+ )
7753
+ end
7754
+ end
7755
+
7728
7756
  class ReportInstanceStatus
7729
7757
  def self.build(context)
7730
7758
  unless context.config.regional_endpoint
@@ -958,6 +958,8 @@ module Aws::EC2
958
958
  Aws::EC2::Endpoints::GetVpnConnectionDeviceSampleConfiguration.build(context)
959
959
  when :get_vpn_connection_device_types
960
960
  Aws::EC2::Endpoints::GetVpnConnectionDeviceTypes.build(context)
961
+ when :get_vpn_tunnel_replacement_status
962
+ Aws::EC2::Endpoints::GetVpnTunnelReplacementStatus.build(context)
961
963
  when :import_client_vpn_client_certificate_revocation_list
962
964
  Aws::EC2::Endpoints::ImportClientVpnClientCertificateRevocationList.build(context)
963
965
  when :import_image
@@ -1158,6 +1160,8 @@ module Aws::EC2
1158
1160
  Aws::EC2::Endpoints::ReplaceRouteTableAssociation.build(context)
1159
1161
  when :replace_transit_gateway_route
1160
1162
  Aws::EC2::Endpoints::ReplaceTransitGatewayRoute.build(context)
1163
+ when :replace_vpn_tunnel
1164
+ Aws::EC2::Endpoints::ReplaceVpnTunnel.build(context)
1161
1165
  when :report_instance_status
1162
1166
  Aws::EC2::Endpoints::ReportInstanceStatus.build(context)
1163
1167
  when :request_spot_fleet
@@ -1073,7 +1073,7 @@ module Aws::EC2
1073
1073
  # })
1074
1074
  # @param [Hash] options ({})
1075
1075
  # @option options [required, String] :description
1076
- # A description for the security group. This is informational only.
1076
+ # A description for the security group.
1077
1077
  #
1078
1078
  # Constraints: Up to 255 characters in length
1079
1079
  #
@@ -1328,7 +1328,7 @@ module Aws::EC2
1328
1328
  # @example Request syntax with placeholder values
1329
1329
  #
1330
1330
  # volume = ec2.create_volume({
1331
- # availability_zone: "String", # required
1331
+ # availability_zone: "AvailabilityZoneName", # required
1332
1332
  # encrypted: false,
1333
1333
  # iops: 1,
1334
1334
  # kms_key_id: "KmsKeyId",