aws-sdk-ec2 1.302.0 → 1.305.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +214 -10
- data/lib/aws-sdk-ec2/client_api.rb +72 -4
- data/lib/aws-sdk-ec2/instance.rb +8 -2
- data/lib/aws-sdk-ec2/resource.rb +5 -0
- data/lib/aws-sdk-ec2/subnet.rb +5 -0
- data/lib/aws-sdk-ec2/types.rb +325 -23
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -651,6 +651,25 @@ module Aws::EC2
|
|
651
651
|
include Aws::Structure
|
652
652
|
end
|
653
653
|
|
654
|
+
# Describes an additional detail for a path analysis.
|
655
|
+
#
|
656
|
+
# @!attribute [rw] additional_detail_type
|
657
|
+
# The information type.
|
658
|
+
# @return [String]
|
659
|
+
#
|
660
|
+
# @!attribute [rw] component
|
661
|
+
# The path component.
|
662
|
+
# @return [Types::AnalysisComponent]
|
663
|
+
#
|
664
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AdditionalDetail AWS API Documentation
|
665
|
+
#
|
666
|
+
class AdditionalDetail < Struct.new(
|
667
|
+
:additional_detail_type,
|
668
|
+
:component)
|
669
|
+
SENSITIVE = []
|
670
|
+
include Aws::Structure
|
671
|
+
end
|
672
|
+
|
654
673
|
# Describes an Elastic IP address, or a carrier IP address.
|
655
674
|
#
|
656
675
|
# @!attribute [rw] instance_id
|
@@ -1403,15 +1422,15 @@ module Aws::EC2
|
|
1403
1422
|
# @return [String]
|
1404
1423
|
#
|
1405
1424
|
# @!attribute [rw] origin
|
1406
|
-
# Describes how the route was created. The following are possible
|
1425
|
+
# Describes how the route was created. The following are the possible
|
1407
1426
|
# values:
|
1408
1427
|
#
|
1409
|
-
# *
|
1428
|
+
# * CreateRouteTable - The route was automatically created when the
|
1410
1429
|
# route table was created.
|
1411
1430
|
#
|
1412
|
-
# *
|
1431
|
+
# * CreateRoute - The route was manually added to the route table.
|
1413
1432
|
#
|
1414
|
-
# *
|
1433
|
+
# * EnableVgwRoutePropagation - The route was propagated by route
|
1415
1434
|
# propagation.
|
1416
1435
|
# @return [String]
|
1417
1436
|
#
|
@@ -1447,7 +1466,7 @@ module Aws::EC2
|
|
1447
1466
|
# @return [String]
|
1448
1467
|
#
|
1449
1468
|
# @!attribute [rw] direction
|
1450
|
-
# The direction. The following are possible values:
|
1469
|
+
# The direction. The following are the possible values:
|
1451
1470
|
#
|
1452
1471
|
# * egress
|
1453
1472
|
#
|
@@ -9219,6 +9238,9 @@ module Aws::EC2
|
|
9219
9238
|
# enable_resource_name_dns_a_record: false,
|
9220
9239
|
# enable_resource_name_dns_aaaa_record: false,
|
9221
9240
|
# },
|
9241
|
+
# maintenance_options: {
|
9242
|
+
# auto_recovery: "default", # accepts default, disabled
|
9243
|
+
# },
|
9222
9244
|
# },
|
9223
9245
|
# tag_specifications: [
|
9224
9246
|
# {
|
@@ -9512,6 +9534,9 @@ module Aws::EC2
|
|
9512
9534
|
# enable_resource_name_dns_a_record: false,
|
9513
9535
|
# enable_resource_name_dns_aaaa_record: false,
|
9514
9536
|
# },
|
9537
|
+
# maintenance_options: {
|
9538
|
+
# auto_recovery: "default", # accepts default, disabled
|
9539
|
+
# },
|
9515
9540
|
# },
|
9516
9541
|
# }
|
9517
9542
|
#
|
@@ -14675,6 +14700,7 @@ module Aws::EC2
|
|
14675
14700
|
# {
|
14676
14701
|
# dry_run: false,
|
14677
14702
|
# ipam_id: "IpamId", # required
|
14703
|
+
# cascade: false,
|
14678
14704
|
# }
|
14679
14705
|
#
|
14680
14706
|
# @!attribute [rw] dry_run
|
@@ -14688,11 +14714,37 @@ module Aws::EC2
|
|
14688
14714
|
# The ID of the IPAM to delete.
|
14689
14715
|
# @return [String]
|
14690
14716
|
#
|
14717
|
+
# @!attribute [rw] cascade
|
14718
|
+
# Enables you to quickly delete an IPAM, private scopes, pools in
|
14719
|
+
# private scopes, and any allocations in the pools in private scopes.
|
14720
|
+
# You cannot delete the IPAM with this option if there is a pool in
|
14721
|
+
# your public scope. If you use this option, IPAM does the following:
|
14722
|
+
#
|
14723
|
+
# * Deallocates any CIDRs allocated to VPC resources (such as VPCs) in
|
14724
|
+
# pools in private scopes.
|
14725
|
+
#
|
14726
|
+
# <note markdown="1"> No VPC resources are deleted as a result of enabling this option.
|
14727
|
+
# The CIDR associated with the resource will no longer be allocated
|
14728
|
+
# from an IPAM pool, but the CIDR itself will remain unchanged.
|
14729
|
+
#
|
14730
|
+
# </note>
|
14731
|
+
#
|
14732
|
+
# * Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private
|
14733
|
+
# scopes.
|
14734
|
+
#
|
14735
|
+
# * Deletes all IPAM pools in private scopes.
|
14736
|
+
#
|
14737
|
+
# * Deletes all non-default private scopes in the IPAM.
|
14738
|
+
#
|
14739
|
+
# * Deletes the default public and private scopes and the IPAM.
|
14740
|
+
# @return [Boolean]
|
14741
|
+
#
|
14691
14742
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpamRequest AWS API Documentation
|
14692
14743
|
#
|
14693
14744
|
class DeleteIpamRequest < Struct.new(
|
14694
14745
|
:dry_run,
|
14695
|
-
:ipam_id
|
14746
|
+
:ipam_id,
|
14747
|
+
:cascade)
|
14696
14748
|
SENSITIVE = []
|
14697
14749
|
include Aws::Structure
|
14698
14750
|
end
|
@@ -18335,7 +18387,7 @@ module Aws::EC2
|
|
18335
18387
|
# data as a hash:
|
18336
18388
|
#
|
18337
18389
|
# {
|
18338
|
-
# pool_ids: ["
|
18390
|
+
# pool_ids: ["Ipv4PoolCoipId"],
|
18339
18391
|
# filters: [
|
18340
18392
|
# {
|
18341
18393
|
# name: "String",
|
@@ -23465,7 +23517,7 @@ module Aws::EC2
|
|
23465
23517
|
# @return [Time]
|
23466
23518
|
#
|
23467
23519
|
# @!attribute [rw] filters
|
23468
|
-
# The filters. The following are possible values:
|
23520
|
+
# The filters. The following are the possible values:
|
23469
23521
|
#
|
23470
23522
|
# * PathFound - A Boolean value that indicates whether a feasible path
|
23471
23523
|
# is found.
|
@@ -23545,7 +23597,7 @@ module Aws::EC2
|
|
23545
23597
|
# @return [Array<String>]
|
23546
23598
|
#
|
23547
23599
|
# @!attribute [rw] filters
|
23548
|
-
# The filters. The following are possible values:
|
23600
|
+
# The filters. The following are the possible values:
|
23549
23601
|
#
|
23550
23602
|
# * Destination - The ID of the resource.
|
23551
23603
|
#
|
@@ -32405,7 +32457,7 @@ module Aws::EC2
|
|
32405
32457
|
# @return [Types::AnalysisComponent]
|
32406
32458
|
#
|
32407
32459
|
# @!attribute [rw] direction
|
32408
|
-
# The direction. The following are possible values:
|
32460
|
+
# The direction. The following are the possible values:
|
32409
32461
|
#
|
32410
32462
|
# * egress
|
32411
32463
|
#
|
@@ -32544,6 +32596,22 @@ module Aws::EC2
|
|
32544
32596
|
# The VPN gateway.
|
32545
32597
|
# @return [Types::AnalysisComponent]
|
32546
32598
|
#
|
32599
|
+
# @!attribute [rw] transit_gateway
|
32600
|
+
# The transit gateway.
|
32601
|
+
# @return [Types::AnalysisComponent]
|
32602
|
+
#
|
32603
|
+
# @!attribute [rw] transit_gateway_route_table
|
32604
|
+
# The transit gateway route table.
|
32605
|
+
# @return [Types::AnalysisComponent]
|
32606
|
+
#
|
32607
|
+
# @!attribute [rw] transit_gateway_route_table_route
|
32608
|
+
# The transit gateway route table route.
|
32609
|
+
# @return [Types::TransitGatewayRouteTableRoute]
|
32610
|
+
#
|
32611
|
+
# @!attribute [rw] transit_gateway_attachment
|
32612
|
+
# The transit gateway attachment.
|
32613
|
+
# @return [Types::AnalysisComponent]
|
32614
|
+
#
|
32547
32615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Explanation AWS API Documentation
|
32548
32616
|
#
|
32549
32617
|
class Explanation < Struct.new(
|
@@ -32591,7 +32659,11 @@ module Aws::EC2
|
|
32591
32659
|
:vpc,
|
32592
32660
|
:vpc_endpoint,
|
32593
32661
|
:vpn_connection,
|
32594
|
-
:vpn_gateway
|
32662
|
+
:vpn_gateway,
|
32663
|
+
:transit_gateway,
|
32664
|
+
:transit_gateway_route_table,
|
32665
|
+
:transit_gateway_route_table_route,
|
32666
|
+
:transit_gateway_attachment)
|
32595
32667
|
SENSITIVE = []
|
32596
32668
|
include Aws::Structure
|
32597
32669
|
end
|
@@ -34730,7 +34802,7 @@ module Aws::EC2
|
|
34730
34802
|
# data as a hash:
|
34731
34803
|
#
|
34732
34804
|
# {
|
34733
|
-
# pool_id: "
|
34805
|
+
# pool_id: "Ipv4PoolCoipId", # required
|
34734
34806
|
# filters: [
|
34735
34807
|
# {
|
34736
34808
|
# name: "String",
|
@@ -39410,6 +39482,11 @@ module Aws::EC2
|
|
39410
39482
|
# The IPv6 address assigned to the instance.
|
39411
39483
|
# @return [String]
|
39412
39484
|
#
|
39485
|
+
# @!attribute [rw] maintenance_options
|
39486
|
+
# Provides information on the recovery and maintenance options of your
|
39487
|
+
# instance.
|
39488
|
+
# @return [Types::InstanceMaintenanceOptions]
|
39489
|
+
#
|
39413
39490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Instance AWS API Documentation
|
39414
39491
|
#
|
39415
39492
|
class Instance < Struct.new(
|
@@ -39466,7 +39543,8 @@ module Aws::EC2
|
|
39466
39543
|
:usage_operation,
|
39467
39544
|
:usage_operation_update_time,
|
39468
39545
|
:private_dns_name_options,
|
39469
|
-
:ipv_6_address
|
39546
|
+
:ipv_6_address,
|
39547
|
+
:maintenance_options)
|
39470
39548
|
SENSITIVE = []
|
39471
39549
|
include Aws::Structure
|
39472
39550
|
end
|
@@ -40086,6 +40164,48 @@ module Aws::EC2
|
|
40086
40164
|
include Aws::Structure
|
40087
40165
|
end
|
40088
40166
|
|
40167
|
+
# The maintenance options for the instance.
|
40168
|
+
#
|
40169
|
+
# @!attribute [rw] auto_recovery
|
40170
|
+
# Provides information on the current automatic recovery behavior of
|
40171
|
+
# your instance.
|
40172
|
+
# @return [String]
|
40173
|
+
#
|
40174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMaintenanceOptions AWS API Documentation
|
40175
|
+
#
|
40176
|
+
class InstanceMaintenanceOptions < Struct.new(
|
40177
|
+
:auto_recovery)
|
40178
|
+
SENSITIVE = []
|
40179
|
+
include Aws::Structure
|
40180
|
+
end
|
40181
|
+
|
40182
|
+
# The maintenance options for the instance.
|
40183
|
+
#
|
40184
|
+
# @note When making an API call, you may pass InstanceMaintenanceOptionsRequest
|
40185
|
+
# data as a hash:
|
40186
|
+
#
|
40187
|
+
# {
|
40188
|
+
# auto_recovery: "disabled", # accepts disabled, default
|
40189
|
+
# }
|
40190
|
+
#
|
40191
|
+
# @!attribute [rw] auto_recovery
|
40192
|
+
# Disables the automatic recovery behavior of your instance or sets it
|
40193
|
+
# to default. For more information, see [Simplified automatic
|
40194
|
+
# recovery][1].
|
40195
|
+
#
|
40196
|
+
#
|
40197
|
+
#
|
40198
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery
|
40199
|
+
# @return [String]
|
40200
|
+
#
|
40201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMaintenanceOptionsRequest AWS API Documentation
|
40202
|
+
#
|
40203
|
+
class InstanceMaintenanceOptionsRequest < Struct.new(
|
40204
|
+
:auto_recovery)
|
40205
|
+
SENSITIVE = []
|
40206
|
+
include Aws::Structure
|
40207
|
+
end
|
40208
|
+
|
40089
40209
|
# Describes the market (purchasing) option for the instances.
|
40090
40210
|
#
|
40091
40211
|
# @note When making an API call, you may pass InstanceMarketOptionsRequest
|
@@ -42927,7 +43047,7 @@ module Aws::EC2
|
|
42927
43047
|
#
|
42928
43048
|
# For more information, see [How IPAM
|
42929
43049
|
# works](/vpc/latest/ipam/how-it-works-ipam.html) in the *Amazon VPC
|
42930
|
-
# IPAM User Guide
|
43050
|
+
# IPAM User Guide*.
|
42931
43051
|
#
|
42932
43052
|
# @!attribute [rw] owner_id
|
42933
43053
|
# The Amazon Web Services account ID of the owner of the scope.
|
@@ -44203,6 +44323,48 @@ module Aws::EC2
|
|
44203
44323
|
include Aws::Structure
|
44204
44324
|
end
|
44205
44325
|
|
44326
|
+
# The maintenance options of your instance.
|
44327
|
+
#
|
44328
|
+
# @!attribute [rw] auto_recovery
|
44329
|
+
# Disables the automatic recovery behavior of your instance or sets it
|
44330
|
+
# to default.
|
44331
|
+
# @return [String]
|
44332
|
+
#
|
44333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMaintenanceOptions AWS API Documentation
|
44334
|
+
#
|
44335
|
+
class LaunchTemplateInstanceMaintenanceOptions < Struct.new(
|
44336
|
+
:auto_recovery)
|
44337
|
+
SENSITIVE = []
|
44338
|
+
include Aws::Structure
|
44339
|
+
end
|
44340
|
+
|
44341
|
+
# The maintenance options of your instance.
|
44342
|
+
#
|
44343
|
+
# @note When making an API call, you may pass LaunchTemplateInstanceMaintenanceOptionsRequest
|
44344
|
+
# data as a hash:
|
44345
|
+
#
|
44346
|
+
# {
|
44347
|
+
# auto_recovery: "default", # accepts default, disabled
|
44348
|
+
# }
|
44349
|
+
#
|
44350
|
+
# @!attribute [rw] auto_recovery
|
44351
|
+
# Disables the automatic recovery behavior of your instance or sets it
|
44352
|
+
# to default. For more information, see [Simplified automatic
|
44353
|
+
# recovery][1].
|
44354
|
+
#
|
44355
|
+
#
|
44356
|
+
#
|
44357
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery
|
44358
|
+
# @return [String]
|
44359
|
+
#
|
44360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMaintenanceOptionsRequest AWS API Documentation
|
44361
|
+
#
|
44362
|
+
class LaunchTemplateInstanceMaintenanceOptionsRequest < Struct.new(
|
44363
|
+
:auto_recovery)
|
44364
|
+
SENSITIVE = []
|
44365
|
+
include Aws::Structure
|
44366
|
+
end
|
44367
|
+
|
44206
44368
|
# The market (purchasing) option for the instances.
|
44207
44369
|
#
|
44208
44370
|
# @!attribute [rw] market_type
|
@@ -46843,7 +47005,9 @@ module Aws::EC2
|
|
46843
47005
|
end
|
46844
47006
|
|
46845
47007
|
# @!attribute [rw] return
|
46846
|
-
#
|
47008
|
+
# If the request succeeds, the response returns `true`. If the request
|
47009
|
+
# fails, no response is returned, and instead an error message is
|
47010
|
+
# returned.
|
46847
47011
|
# @return [Boolean]
|
46848
47012
|
#
|
46849
47013
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFleetResult AWS API Documentation
|
@@ -47697,6 +47861,59 @@ module Aws::EC2
|
|
47697
47861
|
include Aws::Structure
|
47698
47862
|
end
|
47699
47863
|
|
47864
|
+
# @note When making an API call, you may pass ModifyInstanceMaintenanceOptionsRequest
|
47865
|
+
# data as a hash:
|
47866
|
+
#
|
47867
|
+
# {
|
47868
|
+
# instance_id: "InstanceId", # required
|
47869
|
+
# auto_recovery: "disabled", # accepts disabled, default
|
47870
|
+
# dry_run: false,
|
47871
|
+
# }
|
47872
|
+
#
|
47873
|
+
# @!attribute [rw] instance_id
|
47874
|
+
# The ID of the instance.
|
47875
|
+
# @return [String]
|
47876
|
+
#
|
47877
|
+
# @!attribute [rw] auto_recovery
|
47878
|
+
# Disables the automatic recovery behavior of your instance or sets it
|
47879
|
+
# to default.
|
47880
|
+
# @return [String]
|
47881
|
+
#
|
47882
|
+
# @!attribute [rw] dry_run
|
47883
|
+
# Checks whether you have the required permissions for the action,
|
47884
|
+
# without actually making the request, and provides an error response.
|
47885
|
+
# If you have the required permissions, the error response is
|
47886
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
47887
|
+
# @return [Boolean]
|
47888
|
+
#
|
47889
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMaintenanceOptionsRequest AWS API Documentation
|
47890
|
+
#
|
47891
|
+
class ModifyInstanceMaintenanceOptionsRequest < Struct.new(
|
47892
|
+
:instance_id,
|
47893
|
+
:auto_recovery,
|
47894
|
+
:dry_run)
|
47895
|
+
SENSITIVE = []
|
47896
|
+
include Aws::Structure
|
47897
|
+
end
|
47898
|
+
|
47899
|
+
# @!attribute [rw] instance_id
|
47900
|
+
# The ID of the instance.
|
47901
|
+
# @return [String]
|
47902
|
+
#
|
47903
|
+
# @!attribute [rw] auto_recovery
|
47904
|
+
# Provides information on the current automatic recovery behavior of
|
47905
|
+
# your instance.
|
47906
|
+
# @return [String]
|
47907
|
+
#
|
47908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMaintenanceOptionsResult AWS API Documentation
|
47909
|
+
#
|
47910
|
+
class ModifyInstanceMaintenanceOptionsResult < Struct.new(
|
47911
|
+
:instance_id,
|
47912
|
+
:auto_recovery)
|
47913
|
+
SENSITIVE = []
|
47914
|
+
include Aws::Structure
|
47915
|
+
end
|
47916
|
+
|
47700
47917
|
# @note When making an API call, you may pass ModifyInstanceMetadataOptionsRequest
|
47701
47918
|
# data as a hash:
|
47702
47919
|
#
|
@@ -48858,7 +49075,9 @@ module Aws::EC2
|
|
48858
49075
|
# Contains the output of ModifySpotFleetRequest.
|
48859
49076
|
#
|
48860
49077
|
# @!attribute [rw] return
|
48861
|
-
#
|
49078
|
+
# If the request succeeds, the response returns `true`. If the request
|
49079
|
+
# fails, no response is returned, and instead an error message is
|
49080
|
+
# returned.
|
48862
49081
|
# @return [Boolean]
|
48863
49082
|
#
|
48864
49083
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequestResponse AWS API Documentation
|
@@ -52312,6 +52531,18 @@ module Aws::EC2
|
|
52312
52531
|
# The component VPC.
|
52313
52532
|
# @return [Types::AnalysisComponent]
|
52314
52533
|
#
|
52534
|
+
# @!attribute [rw] additional_details
|
52535
|
+
# The additional details.
|
52536
|
+
# @return [Array<Types::AdditionalDetail>]
|
52537
|
+
#
|
52538
|
+
# @!attribute [rw] transit_gateway
|
52539
|
+
# Describes a path component.
|
52540
|
+
# @return [Types::AnalysisComponent]
|
52541
|
+
#
|
52542
|
+
# @!attribute [rw] transit_gateway_route_table_route
|
52543
|
+
# The route in a transit gateway route table.
|
52544
|
+
# @return [Types::TransitGatewayRouteTableRoute]
|
52545
|
+
#
|
52315
52546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PathComponent AWS API Documentation
|
52316
52547
|
#
|
52317
52548
|
class PathComponent < Struct.new(
|
@@ -52326,7 +52557,10 @@ module Aws::EC2
|
|
52326
52557
|
:security_group_rule,
|
52327
52558
|
:source_vpc,
|
52328
52559
|
:subnet,
|
52329
|
-
:vpc
|
52560
|
+
:vpc,
|
52561
|
+
:additional_details,
|
52562
|
+
:transit_gateway,
|
52563
|
+
:transit_gateway_route_table_route)
|
52330
52564
|
SENSITIVE = []
|
52331
52565
|
include Aws::Structure
|
52332
52566
|
end
|
@@ -54913,7 +55147,7 @@ module Aws::EC2
|
|
54913
55147
|
# dry_run: false,
|
54914
55148
|
# ipam_pool_id: "IpamPoolId", # required
|
54915
55149
|
# cidr: "String", # required
|
54916
|
-
# ipam_pool_allocation_id: "IpamPoolAllocationId",
|
55150
|
+
# ipam_pool_allocation_id: "IpamPoolAllocationId", # required
|
54917
55151
|
# }
|
54918
55152
|
#
|
54919
55153
|
# @!attribute [rw] dry_run
|
@@ -55805,6 +56039,9 @@ module Aws::EC2
|
|
55805
56039
|
# enable_resource_name_dns_a_record: false,
|
55806
56040
|
# enable_resource_name_dns_aaaa_record: false,
|
55807
56041
|
# },
|
56042
|
+
# maintenance_options: {
|
56043
|
+
# auto_recovery: "default", # accepts default, disabled
|
56044
|
+
# },
|
55808
56045
|
# }
|
55809
56046
|
#
|
55810
56047
|
# @!attribute [rw] kernel_id
|
@@ -56050,6 +56287,10 @@ module Aws::EC2
|
|
56050
56287
|
# inherited from the subnet.
|
56051
56288
|
# @return [Types::LaunchTemplatePrivateDnsNameOptionsRequest]
|
56052
56289
|
#
|
56290
|
+
# @!attribute [rw] maintenance_options
|
56291
|
+
# The maintenance options for the instance.
|
56292
|
+
# @return [Types::LaunchTemplateInstanceMaintenanceOptionsRequest]
|
56293
|
+
#
|
56053
56294
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestLaunchTemplateData AWS API Documentation
|
56054
56295
|
#
|
56055
56296
|
class RequestLaunchTemplateData < Struct.new(
|
@@ -56081,7 +56322,8 @@ module Aws::EC2
|
|
56081
56322
|
:metadata_options,
|
56082
56323
|
:enclave_options,
|
56083
56324
|
:instance_requirements,
|
56084
|
-
:private_dns_name_options
|
56325
|
+
:private_dns_name_options,
|
56326
|
+
:maintenance_options)
|
56085
56327
|
SENSITIVE = []
|
56086
56328
|
include Aws::Structure
|
56087
56329
|
end
|
@@ -57647,8 +57889,7 @@ module Aws::EC2
|
|
57647
57889
|
# The attribute to reset.
|
57648
57890
|
#
|
57649
57891
|
# You can only reset the following attributes: `kernel` \| `ramdisk`
|
57650
|
-
# \| `sourceDestCheck`.
|
57651
|
-
# ModifyInstanceAttribute.
|
57892
|
+
# \| `sourceDestCheck`.
|
57652
57893
|
# @return [String]
|
57653
57894
|
#
|
57654
57895
|
# @!attribute [rw] dry_run
|
@@ -57955,6 +58196,10 @@ module Aws::EC2
|
|
57955
58196
|
# The options for the instance hostname.
|
57956
58197
|
# @return [Types::LaunchTemplatePrivateDnsNameOptions]
|
57957
58198
|
#
|
58199
|
+
# @!attribute [rw] maintenance_options
|
58200
|
+
# The maintenance options for your instance.
|
58201
|
+
# @return [Types::LaunchTemplateInstanceMaintenanceOptions]
|
58202
|
+
#
|
57958
58203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData AWS API Documentation
|
57959
58204
|
#
|
57960
58205
|
class ResponseLaunchTemplateData < Struct.new(
|
@@ -57986,7 +58231,8 @@ module Aws::EC2
|
|
57986
58231
|
:metadata_options,
|
57987
58232
|
:enclave_options,
|
57988
58233
|
:instance_requirements,
|
57989
|
-
:private_dns_name_options
|
58234
|
+
:private_dns_name_options,
|
58235
|
+
:maintenance_options)
|
57990
58236
|
SENSITIVE = []
|
57991
58237
|
include Aws::Structure
|
57992
58238
|
end
|
@@ -59062,6 +59308,9 @@ module Aws::EC2
|
|
59062
59308
|
# enable_resource_name_dns_a_record: false,
|
59063
59309
|
# enable_resource_name_dns_aaaa_record: false,
|
59064
59310
|
# },
|
59311
|
+
# maintenance_options: {
|
59312
|
+
# auto_recovery: "disabled", # accepts disabled, default
|
59313
|
+
# },
|
59065
59314
|
# }
|
59066
59315
|
#
|
59067
59316
|
# @!attribute [rw] block_device_mappings
|
@@ -59453,6 +59702,10 @@ module Aws::EC2
|
|
59453
59702
|
# inherited from the subnet.
|
59454
59703
|
# @return [Types::PrivateDnsNameOptionsRequest]
|
59455
59704
|
#
|
59705
|
+
# @!attribute [rw] maintenance_options
|
59706
|
+
# The maintenance and recovery options for the instance.
|
59707
|
+
# @return [Types::InstanceMaintenanceOptionsRequest]
|
59708
|
+
#
|
59456
59709
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesRequest AWS API Documentation
|
59457
59710
|
#
|
59458
59711
|
class RunInstancesRequest < Struct.new(
|
@@ -59493,7 +59746,8 @@ module Aws::EC2
|
|
59493
59746
|
:license_specifications,
|
59494
59747
|
:metadata_options,
|
59495
59748
|
:enclave_options,
|
59496
|
-
:private_dns_name_options
|
59749
|
+
:private_dns_name_options,
|
59750
|
+
:maintenance_options)
|
59497
59751
|
SENSITIVE = []
|
59498
59752
|
include Aws::Structure
|
59499
59753
|
end
|
@@ -66360,6 +66614,54 @@ module Aws::EC2
|
|
66360
66614
|
include Aws::Structure
|
66361
66615
|
end
|
66362
66616
|
|
66617
|
+
# Describes a route in a transit gateway route table.
|
66618
|
+
#
|
66619
|
+
# @!attribute [rw] destination_cidr
|
66620
|
+
# The CIDR block used for destination matches.
|
66621
|
+
# @return [String]
|
66622
|
+
#
|
66623
|
+
# @!attribute [rw] state
|
66624
|
+
# The state of the route.
|
66625
|
+
# @return [String]
|
66626
|
+
#
|
66627
|
+
# @!attribute [rw] route_origin
|
66628
|
+
# The route origin. The following are the possible values:
|
66629
|
+
#
|
66630
|
+
# * static
|
66631
|
+
#
|
66632
|
+
# * propagated
|
66633
|
+
# @return [String]
|
66634
|
+
#
|
66635
|
+
# @!attribute [rw] prefix_list_id
|
66636
|
+
# The ID of the prefix list.
|
66637
|
+
# @return [String]
|
66638
|
+
#
|
66639
|
+
# @!attribute [rw] attachment_id
|
66640
|
+
# The ID of the route attachment.
|
66641
|
+
# @return [String]
|
66642
|
+
#
|
66643
|
+
# @!attribute [rw] resource_id
|
66644
|
+
# The ID of the resource for the route attachment.
|
66645
|
+
# @return [String]
|
66646
|
+
#
|
66647
|
+
# @!attribute [rw] resource_type
|
66648
|
+
# The resource type for the route attachment.
|
66649
|
+
# @return [String]
|
66650
|
+
#
|
66651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TransitGatewayRouteTableRoute AWS API Documentation
|
66652
|
+
#
|
66653
|
+
class TransitGatewayRouteTableRoute < Struct.new(
|
66654
|
+
:destination_cidr,
|
66655
|
+
:state,
|
66656
|
+
:route_origin,
|
66657
|
+
:prefix_list_id,
|
66658
|
+
:attachment_id,
|
66659
|
+
:resource_id,
|
66660
|
+
:resource_type)
|
66661
|
+
SENSITIVE = []
|
66662
|
+
include Aws::Structure
|
66663
|
+
end
|
66664
|
+
|
66363
66665
|
# Describes a VPC attachment.
|
66364
66666
|
#
|
66365
66667
|
# @!attribute [rw] transit_gateway_attachment_id
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.305.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|