aws-sdk-ec2 1.313.0 → 1.316.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +116 -22
- data/lib/aws-sdk-ec2/client_api.rb +34 -1
- data/lib/aws-sdk-ec2/instance.rb +15 -3
- data/lib/aws-sdk-ec2/resource.rb +8 -0
- data/lib/aws-sdk-ec2/subnet.rb +8 -0
- data/lib/aws-sdk-ec2/types.rb +234 -52
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -9262,6 +9262,7 @@ module Aws::EC2
|
|
9262
9262
|
# maintenance_options: {
|
9263
9263
|
# auto_recovery: "default", # accepts default, disabled
|
9264
9264
|
# },
|
9265
|
+
# disable_api_stop: false,
|
9265
9266
|
# },
|
9266
9267
|
# tag_specifications: [
|
9267
9268
|
# {
|
@@ -9286,7 +9287,7 @@ module Aws::EC2
|
|
9286
9287
|
# @!attribute [rw] client_token
|
9287
9288
|
# Unique, case-sensitive identifier you provide to ensure the
|
9288
9289
|
# idempotency of the request. For more information, see [Ensuring
|
9289
|
-
#
|
9290
|
+
# idempotency][1].
|
9290
9291
|
#
|
9291
9292
|
# Constraint: Maximum 128 ASCII characters.
|
9292
9293
|
#
|
@@ -9558,6 +9559,7 @@ module Aws::EC2
|
|
9558
9559
|
# maintenance_options: {
|
9559
9560
|
# auto_recovery: "default", # accepts default, disabled
|
9560
9561
|
# },
|
9562
|
+
# disable_api_stop: false,
|
9561
9563
|
# },
|
9562
9564
|
# }
|
9563
9565
|
#
|
@@ -9571,7 +9573,7 @@ module Aws::EC2
|
|
9571
9573
|
# @!attribute [rw] client_token
|
9572
9574
|
# Unique, case-sensitive identifier you provide to ensure the
|
9573
9575
|
# idempotency of the request. For more information, see [Ensuring
|
9574
|
-
#
|
9576
|
+
# idempotency][1].
|
9575
9577
|
#
|
9576
9578
|
# Constraint: Maximum 128 ASCII characters.
|
9577
9579
|
#
|
@@ -11574,6 +11576,11 @@ module Aws::EC2
|
|
11574
11576
|
# data as a hash:
|
11575
11577
|
#
|
11576
11578
|
# {
|
11579
|
+
# subnet_id: "SubnetId", # required
|
11580
|
+
# cidr: "String", # required
|
11581
|
+
# reservation_type: "prefix", # required, accepts prefix, explicit
|
11582
|
+
# description: "String",
|
11583
|
+
# dry_run: false,
|
11577
11584
|
# tag_specifications: [
|
11578
11585
|
# {
|
11579
11586
|
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
@@ -11585,17 +11592,8 @@ module Aws::EC2
|
|
11585
11592
|
# ],
|
11586
11593
|
# },
|
11587
11594
|
# ],
|
11588
|
-
# subnet_id: "SubnetId", # required
|
11589
|
-
# cidr: "String", # required
|
11590
|
-
# reservation_type: "prefix", # required, accepts prefix, explicit
|
11591
|
-
# description: "String",
|
11592
|
-
# dry_run: false,
|
11593
11595
|
# }
|
11594
11596
|
#
|
11595
|
-
# @!attribute [rw] tag_specifications
|
11596
|
-
# The tags to assign to the subnet CIDR reservation.
|
11597
|
-
# @return [Array<Types::TagSpecification>]
|
11598
|
-
#
|
11599
11597
|
# @!attribute [rw] subnet_id
|
11600
11598
|
# The ID of the subnet.
|
11601
11599
|
# @return [String]
|
@@ -11634,15 +11632,19 @@ module Aws::EC2
|
|
11634
11632
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
11635
11633
|
# @return [Boolean]
|
11636
11634
|
#
|
11635
|
+
# @!attribute [rw] tag_specifications
|
11636
|
+
# The tags to assign to the subnet CIDR reservation.
|
11637
|
+
# @return [Array<Types::TagSpecification>]
|
11638
|
+
#
|
11637
11639
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetCidrReservationRequest AWS API Documentation
|
11638
11640
|
#
|
11639
11641
|
class CreateSubnetCidrReservationRequest < Struct.new(
|
11640
|
-
:tag_specifications,
|
11641
11642
|
:subnet_id,
|
11642
11643
|
:cidr,
|
11643
11644
|
:reservation_type,
|
11644
11645
|
:description,
|
11645
|
-
:dry_run
|
11646
|
+
:dry_run,
|
11647
|
+
:tag_specifications)
|
11646
11648
|
SENSITIVE = []
|
11647
11649
|
include Aws::Structure
|
11648
11650
|
end
|
@@ -12195,6 +12197,7 @@ module Aws::EC2
|
|
12195
12197
|
# ],
|
12196
12198
|
# dry_run: false,
|
12197
12199
|
# client_token: "String",
|
12200
|
+
# gateway_load_balancer_endpoint_id: "VpcEndpointId",
|
12198
12201
|
# }
|
12199
12202
|
#
|
12200
12203
|
# @!attribute [rw] network_interface_id
|
@@ -12234,6 +12237,10 @@ module Aws::EC2
|
|
12234
12237
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
12235
12238
|
# @return [String]
|
12236
12239
|
#
|
12240
|
+
# @!attribute [rw] gateway_load_balancer_endpoint_id
|
12241
|
+
# The ID of the Gateway Load Balancer endpoint.
|
12242
|
+
# @return [String]
|
12243
|
+
#
|
12237
12244
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorTargetRequest AWS API Documentation
|
12238
12245
|
#
|
12239
12246
|
class CreateTrafficMirrorTargetRequest < Struct.new(
|
@@ -12242,7 +12249,8 @@ module Aws::EC2
|
|
12242
12249
|
:description,
|
12243
12250
|
:tag_specifications,
|
12244
12251
|
:dry_run,
|
12245
|
-
:client_token
|
12252
|
+
:client_token,
|
12253
|
+
:gateway_load_balancer_endpoint_id)
|
12246
12254
|
SENSITIVE = []
|
12247
12255
|
include Aws::Structure
|
12248
12256
|
end
|
@@ -13363,6 +13371,10 @@ module Aws::EC2
|
|
13363
13371
|
# route_table_ids: ["RouteTableId"],
|
13364
13372
|
# subnet_ids: ["SubnetId"],
|
13365
13373
|
# security_group_ids: ["SecurityGroupId"],
|
13374
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack, ipv6
|
13375
|
+
# dns_options: {
|
13376
|
+
# dns_record_ip_type: "ipv4", # accepts ipv4, dualstack, ipv6, service-defined
|
13377
|
+
# },
|
13366
13378
|
# client_token: "String",
|
13367
13379
|
# private_dns_enabled: false,
|
13368
13380
|
# tag_specifications: [
|
@@ -13423,6 +13435,14 @@ module Aws::EC2
|
|
13423
13435
|
# associate with the endpoint network interface.
|
13424
13436
|
# @return [Array<String>]
|
13425
13437
|
#
|
13438
|
+
# @!attribute [rw] ip_address_type
|
13439
|
+
# The IP address type for the endpoint.
|
13440
|
+
# @return [String]
|
13441
|
+
#
|
13442
|
+
# @!attribute [rw] dns_options
|
13443
|
+
# The DNS options for the endpoint.
|
13444
|
+
# @return [Types::DnsOptionsSpecification]
|
13445
|
+
#
|
13426
13446
|
# @!attribute [rw] client_token
|
13427
13447
|
# Unique, case-sensitive identifier that you provide to ensure the
|
13428
13448
|
# idempotency of the request. For more information, see [How to ensure
|
@@ -13465,6 +13485,8 @@ module Aws::EC2
|
|
13465
13485
|
:route_table_ids,
|
13466
13486
|
:subnet_ids,
|
13467
13487
|
:security_group_ids,
|
13488
|
+
:ip_address_type,
|
13489
|
+
:dns_options,
|
13468
13490
|
:client_token,
|
13469
13491
|
:private_dns_enabled,
|
13470
13492
|
:tag_specifications)
|
@@ -13501,6 +13523,7 @@ module Aws::EC2
|
|
13501
13523
|
# private_dns_name: "String",
|
13502
13524
|
# network_load_balancer_arns: ["String"],
|
13503
13525
|
# gateway_load_balancer_arns: ["String"],
|
13526
|
+
# supported_ip_address_types: ["String"],
|
13504
13527
|
# client_token: "String",
|
13505
13528
|
# tag_specifications: [
|
13506
13529
|
# {
|
@@ -13542,6 +13565,11 @@ module Aws::EC2
|
|
13542
13565
|
# Balancers.
|
13543
13566
|
# @return [Array<String>]
|
13544
13567
|
#
|
13568
|
+
# @!attribute [rw] supported_ip_address_types
|
13569
|
+
# The supported IP address types. The possible values are `ipv4` and
|
13570
|
+
# `ipv6`.
|
13571
|
+
# @return [Array<String>]
|
13572
|
+
#
|
13545
13573
|
# @!attribute [rw] client_token
|
13546
13574
|
# Unique, case-sensitive identifier that you provide to ensure the
|
13547
13575
|
# idempotency of the request. For more information, see [How to ensure
|
@@ -13564,6 +13592,7 @@ module Aws::EC2
|
|
13564
13592
|
:private_dns_name,
|
13565
13593
|
:network_load_balancer_arns,
|
13566
13594
|
:gateway_load_balancer_arns,
|
13595
|
+
:supported_ip_address_types,
|
13567
13596
|
:client_token,
|
13568
13597
|
:tag_specifications)
|
13569
13598
|
SENSITIVE = []
|
@@ -20686,7 +20715,7 @@ module Aws::EC2
|
|
20686
20715
|
# data as a hash:
|
20687
20716
|
#
|
20688
20717
|
# {
|
20689
|
-
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
20718
|
+
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions, disableApiStop
|
20690
20719
|
# dry_run: false,
|
20691
20720
|
# instance_id: "InstanceId", # required
|
20692
20721
|
# }
|
@@ -28570,6 +28599,8 @@ module Aws::EC2
|
|
28570
28599
|
# @!attribute [rw] filters
|
28571
28600
|
# One or more filters.
|
28572
28601
|
#
|
28602
|
+
# * `ip-address-type` - The IP address type (`ipv4` \| `ipv6`).
|
28603
|
+
#
|
28573
28604
|
# * `service-id` - The ID of the service.
|
28574
28605
|
#
|
28575
28606
|
# * `vpc-endpoint-owner` - The ID of the Amazon Web Services account
|
@@ -28660,6 +28691,9 @@ module Aws::EC2
|
|
28660
28691
|
# * `service-state` - The state of the service (`Pending` \|
|
28661
28692
|
# `Available` \| `Deleting` \| `Deleted` \| `Failed`).
|
28662
28693
|
#
|
28694
|
+
# * `supported-ip-address-types` - The IP address type (`ipv4` \|
|
28695
|
+
# `ipv6`).
|
28696
|
+
#
|
28663
28697
|
# * `tag`\:<key> - The key/value combination of a tag assigned
|
28664
28698
|
# to the resource. Use the tag key in the filter name and the tag
|
28665
28699
|
# value as the filter value. For example, to find all resources that
|
@@ -28827,6 +28861,9 @@ module Aws::EC2
|
|
28827
28861
|
#
|
28828
28862
|
# * `service-type` - The type of service (`Interface` \| `Gateway`).
|
28829
28863
|
#
|
28864
|
+
# * `supported-ip-address-types` - The IP address type (`ipv4` \|
|
28865
|
+
# `ipv6`).
|
28866
|
+
#
|
28830
28867
|
# * `tag`\:<key> - The key/value combination of a tag assigned
|
28831
28868
|
# to the resource. Use the tag key in the filter name and the tag
|
28832
28869
|
# value as the filter value. For example, to find all resources that
|
@@ -28921,6 +28958,8 @@ module Aws::EC2
|
|
28921
28958
|
# @!attribute [rw] filters
|
28922
28959
|
# One or more filters.
|
28923
28960
|
#
|
28961
|
+
# * `ip-address-type` - The IP address type (`ipv4` \| `ipv6`).
|
28962
|
+
#
|
28924
28963
|
# * `service-name` - The name of the service.
|
28925
28964
|
#
|
28926
28965
|
# * `vpc-id` - The ID of the VPC in which the endpoint resides.
|
@@ -31055,6 +31094,41 @@ module Aws::EC2
|
|
31055
31094
|
include Aws::Structure
|
31056
31095
|
end
|
31057
31096
|
|
31097
|
+
# Describes the DNS options for an endpoint.
|
31098
|
+
#
|
31099
|
+
# @!attribute [rw] dns_record_ip_type
|
31100
|
+
# The DNS records created for the endpoint.
|
31101
|
+
# @return [String]
|
31102
|
+
#
|
31103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DnsOptions AWS API Documentation
|
31104
|
+
#
|
31105
|
+
class DnsOptions < Struct.new(
|
31106
|
+
:dns_record_ip_type)
|
31107
|
+
SENSITIVE = []
|
31108
|
+
include Aws::Structure
|
31109
|
+
end
|
31110
|
+
|
31111
|
+
# Describes the DNS options for an endpoint.
|
31112
|
+
#
|
31113
|
+
# @note When making an API call, you may pass DnsOptionsSpecification
|
31114
|
+
# data as a hash:
|
31115
|
+
#
|
31116
|
+
# {
|
31117
|
+
# dns_record_ip_type: "ipv4", # accepts ipv4, dualstack, ipv6, service-defined
|
31118
|
+
# }
|
31119
|
+
#
|
31120
|
+
# @!attribute [rw] dns_record_ip_type
|
31121
|
+
# The DNS records created for the endpoint.
|
31122
|
+
# @return [String]
|
31123
|
+
#
|
31124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DnsOptionsSpecification AWS API Documentation
|
31125
|
+
#
|
31126
|
+
class DnsOptionsSpecification < Struct.new(
|
31127
|
+
:dns_record_ip_type)
|
31128
|
+
SENSITIVE = []
|
31129
|
+
include Aws::Structure
|
31130
|
+
end
|
31131
|
+
|
31058
31132
|
# Information about the DNS server to be used.
|
31059
31133
|
#
|
31060
31134
|
# @note When making an API call, you may pass DnsServersOptionsModifyStructure
|
@@ -39768,6 +39842,11 @@ module Aws::EC2
|
|
39768
39842
|
# The user data.
|
39769
39843
|
# @return [Types::AttributeValue]
|
39770
39844
|
#
|
39845
|
+
# @!attribute [rw] disable_api_stop
|
39846
|
+
# To enable the instance for Amazon Web Services Stop Protection, set
|
39847
|
+
# this parameter to `true`; otherwise, set it to `false`.
|
39848
|
+
# @return [Types::AttributeBooleanValue]
|
39849
|
+
#
|
39771
39850
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceAttribute AWS API Documentation
|
39772
39851
|
#
|
39773
39852
|
class InstanceAttribute < Struct.new(
|
@@ -39786,7 +39865,8 @@ module Aws::EC2
|
|
39786
39865
|
:root_device_name,
|
39787
39866
|
:source_dest_check,
|
39788
39867
|
:sriov_net_support,
|
39789
|
-
:user_data
|
39868
|
+
:user_data,
|
39869
|
+
:disable_api_stop)
|
39790
39870
|
SENSITIVE = []
|
39791
39871
|
include Aws::Structure
|
39792
39872
|
end
|
@@ -44371,9 +44451,9 @@ module Aws::EC2
|
|
44371
44451
|
end
|
44372
44452
|
|
44373
44453
|
# Indicates whether the instance is enabled for Amazon Web Services
|
44374
|
-
# Nitro Enclaves. For more information, see [
|
44375
|
-
#
|
44376
|
-
#
|
44454
|
+
# Nitro Enclaves. For more information, see [What is Amazon Web Services
|
44455
|
+
# Nitro Enclaves?][1] in the *Amazon Web Services Nitro Enclaves User
|
44456
|
+
# Guide*.
|
44377
44457
|
#
|
44378
44458
|
#
|
44379
44459
|
#
|
@@ -44420,7 +44500,7 @@ module Aws::EC2
|
|
44420
44500
|
#
|
44421
44501
|
#
|
44422
44502
|
#
|
44423
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
44503
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
|
44424
44504
|
#
|
44425
44505
|
# @note When making an API call, you may pass LaunchTemplateHibernationOptionsRequest
|
44426
44506
|
# data as a hash:
|
@@ -47579,7 +47659,7 @@ module Aws::EC2
|
|
47579
47659
|
# source_dest_check: {
|
47580
47660
|
# value: false,
|
47581
47661
|
# },
|
47582
|
-
# attribute: "instanceType", # accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
47662
|
+
# attribute: "instanceType", # accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions, disableApiStop
|
47583
47663
|
# block_device_mappings: [
|
47584
47664
|
# {
|
47585
47665
|
# device_name: "String",
|
@@ -47612,6 +47692,9 @@ module Aws::EC2
|
|
47612
47692
|
# value: "data",
|
47613
47693
|
# },
|
47614
47694
|
# value: "String",
|
47695
|
+
# disable_api_stop: {
|
47696
|
+
# value: false,
|
47697
|
+
# },
|
47615
47698
|
# }
|
47616
47699
|
#
|
47617
47700
|
# @!attribute [rw] source_dest_check
|
@@ -47745,6 +47828,17 @@ module Aws::EC2
|
|
47745
47828
|
# `instanceInitiatedShutdownBehavior` attribute.
|
47746
47829
|
# @return [String]
|
47747
47830
|
#
|
47831
|
+
# @!attribute [rw] disable_api_stop
|
47832
|
+
# Indicates whether an instance is enabled for stop protection. For
|
47833
|
+
# more information, see [Stop Protection][1].
|
47834
|
+
#
|
47835
|
+
#
|
47836
|
+
#
|
47837
|
+
#
|
47838
|
+
#
|
47839
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
|
47840
|
+
# @return [Types::AttributeBooleanValue]
|
47841
|
+
#
|
47748
47842
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttributeRequest AWS API Documentation
|
47749
47843
|
#
|
47750
47844
|
class ModifyInstanceAttributeRequest < Struct.new(
|
@@ -47763,7 +47857,8 @@ module Aws::EC2
|
|
47763
47857
|
:ramdisk,
|
47764
47858
|
:sriov_net_support,
|
47765
47859
|
:user_data,
|
47766
|
-
:value
|
47860
|
+
:value,
|
47861
|
+
:disable_api_stop)
|
47767
47862
|
SENSITIVE = []
|
47768
47863
|
include Aws::Structure
|
47769
47864
|
end
|
@@ -48605,7 +48700,7 @@ module Aws::EC2
|
|
48605
48700
|
# @!attribute [rw] client_token
|
48606
48701
|
# Unique, case-sensitive identifier you provide to ensure the
|
48607
48702
|
# idempotency of the request. For more information, see [Ensuring
|
48608
|
-
#
|
48703
|
+
# idempotency][1].
|
48609
48704
|
#
|
48610
48705
|
# Constraint: Maximum 128 ASCII characters.
|
48611
48706
|
#
|
@@ -50209,6 +50304,10 @@ module Aws::EC2
|
|
50209
50304
|
# remove_subnet_ids: ["SubnetId"],
|
50210
50305
|
# add_security_group_ids: ["SecurityGroupId"],
|
50211
50306
|
# remove_security_group_ids: ["SecurityGroupId"],
|
50307
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack, ipv6
|
50308
|
+
# dns_options: {
|
50309
|
+
# dns_record_ip_type: "ipv4", # accepts ipv4, dualstack, ipv6, service-defined
|
50310
|
+
# },
|
50212
50311
|
# private_dns_enabled: false,
|
50213
50312
|
# }
|
50214
50313
|
#
|
@@ -50266,6 +50365,14 @@ module Aws::EC2
|
|
50266
50365
|
# from the network interface.
|
50267
50366
|
# @return [Array<String>]
|
50268
50367
|
#
|
50368
|
+
# @!attribute [rw] ip_address_type
|
50369
|
+
# The IP address type for the endpoint.
|
50370
|
+
# @return [String]
|
50371
|
+
#
|
50372
|
+
# @!attribute [rw] dns_options
|
50373
|
+
# The DNS options for the endpoint.
|
50374
|
+
# @return [Types::DnsOptionsSpecification]
|
50375
|
+
#
|
50269
50376
|
# @!attribute [rw] private_dns_enabled
|
50270
50377
|
# (Interface endpoint) Indicates whether a private hosted zone is
|
50271
50378
|
# associated with the VPC.
|
@@ -50284,6 +50391,8 @@ module Aws::EC2
|
|
50284
50391
|
:remove_subnet_ids,
|
50285
50392
|
:add_security_group_ids,
|
50286
50393
|
:remove_security_group_ids,
|
50394
|
+
:ip_address_type,
|
50395
|
+
:dns_options,
|
50287
50396
|
:private_dns_enabled)
|
50288
50397
|
SENSITIVE = []
|
50289
50398
|
include Aws::Structure
|
@@ -50315,6 +50424,8 @@ module Aws::EC2
|
|
50315
50424
|
# remove_network_load_balancer_arns: ["String"],
|
50316
50425
|
# add_gateway_load_balancer_arns: ["String"],
|
50317
50426
|
# remove_gateway_load_balancer_arns: ["String"],
|
50427
|
+
# add_supported_ip_address_types: ["String"],
|
50428
|
+
# remove_supported_ip_address_types: ["String"],
|
50318
50429
|
# }
|
50319
50430
|
#
|
50320
50431
|
# @!attribute [rw] dry_run
|
@@ -50363,6 +50474,14 @@ module Aws::EC2
|
|
50363
50474
|
# from your service configuration.
|
50364
50475
|
# @return [Array<String>]
|
50365
50476
|
#
|
50477
|
+
# @!attribute [rw] add_supported_ip_address_types
|
50478
|
+
# The IP address types to add to your service configuration.
|
50479
|
+
# @return [Array<String>]
|
50480
|
+
#
|
50481
|
+
# @!attribute [rw] remove_supported_ip_address_types
|
50482
|
+
# The IP address types to remove from your service configuration.
|
50483
|
+
# @return [Array<String>]
|
50484
|
+
#
|
50366
50485
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfigurationRequest AWS API Documentation
|
50367
50486
|
#
|
50368
50487
|
class ModifyVpcEndpointServiceConfigurationRequest < Struct.new(
|
@@ -50374,7 +50493,9 @@ module Aws::EC2
|
|
50374
50493
|
:add_network_load_balancer_arns,
|
50375
50494
|
:remove_network_load_balancer_arns,
|
50376
50495
|
:add_gateway_load_balancer_arns,
|
50377
|
-
:remove_gateway_load_balancer_arns
|
50496
|
+
:remove_gateway_load_balancer_arns,
|
50497
|
+
:add_supported_ip_address_types,
|
50498
|
+
:remove_supported_ip_address_types)
|
50378
50499
|
SENSITIVE = []
|
50379
50500
|
include Aws::Structure
|
50380
50501
|
end
|
@@ -56233,13 +56354,14 @@ module Aws::EC2
|
|
56233
56354
|
# maintenance_options: {
|
56234
56355
|
# auto_recovery: "default", # accepts default, disabled
|
56235
56356
|
# },
|
56357
|
+
# disable_api_stop: false,
|
56236
56358
|
# }
|
56237
56359
|
#
|
56238
56360
|
# @!attribute [rw] kernel_id
|
56239
56361
|
# The ID of the kernel.
|
56240
56362
|
#
|
56241
56363
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
56242
|
-
# For more information, see [User
|
56364
|
+
# For more information, see [User provided kernels][1] in the *Amazon
|
56243
56365
|
# Elastic Compute Cloud User Guide*.
|
56244
56366
|
#
|
56245
56367
|
#
|
@@ -56275,7 +56397,7 @@ module Aws::EC2
|
|
56275
56397
|
# @return [String]
|
56276
56398
|
#
|
56277
56399
|
# @!attribute [rw] instance_type
|
56278
|
-
# The instance type. For more information, see [Instance
|
56400
|
+
# The instance type. For more information, see [Instance types][1] in
|
56279
56401
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
56280
56402
|
#
|
56281
56403
|
# If you specify `InstanceTypes`, you can't specify
|
@@ -56312,7 +56434,7 @@ module Aws::EC2
|
|
56312
56434
|
# The ID of the RAM disk.
|
56313
56435
|
#
|
56314
56436
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
56315
|
-
# For more information, see [User
|
56437
|
+
# For more information, see [User provided kernels][1] in the *Amazon
|
56316
56438
|
# Elastic Compute Cloud User Guide*.
|
56317
56439
|
#
|
56318
56440
|
#
|
@@ -56345,8 +56467,9 @@ module Aws::EC2
|
|
56345
56467
|
# @!attribute [rw] user_data
|
56346
56468
|
# The user data to make available to the instance. You must provide
|
56347
56469
|
# base64-encoded text. User data is limited to 16 KB. For more
|
56348
|
-
# information, see [
|
56349
|
-
#
|
56470
|
+
# information, see [Run commands on your Linux instance at launch][1]
|
56471
|
+
# (Linux) or [Work with instance user data][2] (Windows) in the
|
56472
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
56350
56473
|
#
|
56351
56474
|
# If you are creating the launch template for use with Batch, the user
|
56352
56475
|
# data must be provided in the [ MIME multi-part archive format][3].
|
@@ -56356,7 +56479,7 @@ module Aws::EC2
|
|
56356
56479
|
#
|
56357
56480
|
#
|
56358
56481
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
56359
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/
|
56482
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instancedata-add-user-data.html
|
56360
56483
|
# [3]: https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive
|
56361
56484
|
# [4]: https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html
|
56362
56485
|
# @return [String]
|
@@ -56436,7 +56559,7 @@ module Aws::EC2
|
|
56436
56559
|
#
|
56437
56560
|
#
|
56438
56561
|
#
|
56439
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
56562
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
|
56440
56563
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
56441
56564
|
# @return [Types::LaunchTemplateHibernationOptionsRequest]
|
56442
56565
|
#
|
@@ -56482,6 +56605,15 @@ module Aws::EC2
|
|
56482
56605
|
# The maintenance options for the instance.
|
56483
56606
|
# @return [Types::LaunchTemplateInstanceMaintenanceOptionsRequest]
|
56484
56607
|
#
|
56608
|
+
# @!attribute [rw] disable_api_stop
|
56609
|
+
# Indicates whether to enable the instance for stop protection. For
|
56610
|
+
# more information, see [Stop Protection][1].
|
56611
|
+
#
|
56612
|
+
#
|
56613
|
+
#
|
56614
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
|
56615
|
+
# @return [Boolean]
|
56616
|
+
#
|
56485
56617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestLaunchTemplateData AWS API Documentation
|
56486
56618
|
#
|
56487
56619
|
class RequestLaunchTemplateData < Struct.new(
|
@@ -56514,7 +56646,8 @@ module Aws::EC2
|
|
56514
56646
|
:enclave_options,
|
56515
56647
|
:instance_requirements,
|
56516
56648
|
:private_dns_name_options,
|
56517
|
-
:maintenance_options
|
56649
|
+
:maintenance_options,
|
56650
|
+
:disable_api_stop)
|
56518
56651
|
SENSITIVE = []
|
56519
56652
|
include Aws::Structure
|
56520
56653
|
end
|
@@ -58071,7 +58204,7 @@ module Aws::EC2
|
|
58071
58204
|
# data as a hash:
|
58072
58205
|
#
|
58073
58206
|
# {
|
58074
|
-
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
58207
|
+
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions, disableApiStop
|
58075
58208
|
# dry_run: false,
|
58076
58209
|
# instance_id: "InstanceId", # required
|
58077
58210
|
# }
|
@@ -58391,6 +58524,15 @@ module Aws::EC2
|
|
58391
58524
|
# The maintenance options for your instance.
|
58392
58525
|
# @return [Types::LaunchTemplateInstanceMaintenanceOptions]
|
58393
58526
|
#
|
58527
|
+
# @!attribute [rw] disable_api_stop
|
58528
|
+
# Indicates whether the instance is enabled for stop protection. For
|
58529
|
+
# more information, see [Stop Protection][1].
|
58530
|
+
#
|
58531
|
+
#
|
58532
|
+
#
|
58533
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
|
58534
|
+
# @return [Boolean]
|
58535
|
+
#
|
58394
58536
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData AWS API Documentation
|
58395
58537
|
#
|
58396
58538
|
class ResponseLaunchTemplateData < Struct.new(
|
@@ -58423,7 +58565,8 @@ module Aws::EC2
|
|
58423
58565
|
:enclave_options,
|
58424
58566
|
:instance_requirements,
|
58425
58567
|
:private_dns_name_options,
|
58426
|
-
:maintenance_options
|
58568
|
+
:maintenance_options,
|
58569
|
+
:disable_api_stop)
|
58427
58570
|
SENSITIVE = []
|
58428
58571
|
include Aws::Structure
|
58429
58572
|
end
|
@@ -59502,6 +59645,7 @@ module Aws::EC2
|
|
59502
59645
|
# maintenance_options: {
|
59503
59646
|
# auto_recovery: "disabled", # accepts disabled, default
|
59504
59647
|
# },
|
59648
|
+
# disable_api_stop: false,
|
59505
59649
|
# }
|
59506
59650
|
#
|
59507
59651
|
# @!attribute [rw] block_device_mappings
|
@@ -59897,6 +60041,15 @@ module Aws::EC2
|
|
59897
60041
|
# The maintenance and recovery options for the instance.
|
59898
60042
|
# @return [Types::InstanceMaintenanceOptionsRequest]
|
59899
60043
|
#
|
60044
|
+
# @!attribute [rw] disable_api_stop
|
60045
|
+
# Indicates whether an instance is enabled for stop protection. For
|
60046
|
+
# more information, see [Stop Protection][1].
|
60047
|
+
#
|
60048
|
+
#
|
60049
|
+
#
|
60050
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
|
60051
|
+
# @return [Boolean]
|
60052
|
+
#
|
59900
60053
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesRequest AWS API Documentation
|
59901
60054
|
#
|
59902
60055
|
class RunInstancesRequest < Struct.new(
|
@@ -59938,7 +60091,8 @@ module Aws::EC2
|
|
59938
60091
|
:metadata_options,
|
59939
60092
|
:enclave_options,
|
59940
60093
|
:private_dns_name_options,
|
59941
|
-
:maintenance_options
|
60094
|
+
:maintenance_options,
|
60095
|
+
:disable_api_stop)
|
59942
60096
|
SENSITIVE = [:user_data]
|
59943
60097
|
include Aws::Structure
|
59944
60098
|
end
|
@@ -61627,6 +61781,10 @@ module Aws::EC2
|
|
61627
61781
|
# the service.
|
61628
61782
|
# @return [Array<String>]
|
61629
61783
|
#
|
61784
|
+
# @!attribute [rw] supported_ip_address_types
|
61785
|
+
# The supported IP address types.
|
61786
|
+
# @return [Array<String>]
|
61787
|
+
#
|
61630
61788
|
# @!attribute [rw] base_endpoint_dns_names
|
61631
61789
|
# The DNS names for the service.
|
61632
61790
|
# @return [Array<String>]
|
@@ -61660,6 +61818,7 @@ module Aws::EC2
|
|
61660
61818
|
:manages_vpc_endpoints,
|
61661
61819
|
:network_load_balancer_arns,
|
61662
61820
|
:gateway_load_balancer_arns,
|
61821
|
+
:supported_ip_address_types,
|
61663
61822
|
:base_endpoint_dns_names,
|
61664
61823
|
:private_dns_name,
|
61665
61824
|
:private_dns_name_configuration,
|
@@ -61733,6 +61892,10 @@ module Aws::EC2
|
|
61733
61892
|
# the state is not `verified`.
|
61734
61893
|
# @return [String]
|
61735
61894
|
#
|
61895
|
+
# @!attribute [rw] supported_ip_address_types
|
61896
|
+
# The supported IP address types.
|
61897
|
+
# @return [Array<String>]
|
61898
|
+
#
|
61736
61899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceDetail AWS API Documentation
|
61737
61900
|
#
|
61738
61901
|
class ServiceDetail < Struct.new(
|
@@ -61749,7 +61912,8 @@ module Aws::EC2
|
|
61749
61912
|
:manages_vpc_endpoints,
|
61750
61913
|
:payer_responsibility,
|
61751
61914
|
:tags,
|
61752
|
-
:private_dns_name_verification_state
|
61915
|
+
:private_dns_name_verification_state,
|
61916
|
+
:supported_ip_address_types)
|
61753
61917
|
SENSITIVE = []
|
61754
61918
|
include Aws::Structure
|
61755
61919
|
end
|
@@ -65656,6 +65820,10 @@ module Aws::EC2
|
|
65656
65820
|
# The tags assigned to the Traffic Mirror target.
|
65657
65821
|
# @return [Array<Types::Tag>]
|
65658
65822
|
#
|
65823
|
+
# @!attribute [rw] gateway_load_balancer_endpoint_id
|
65824
|
+
# The ID of the Gateway Load Balancer endpoint.
|
65825
|
+
# @return [String]
|
65826
|
+
#
|
65659
65827
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TrafficMirrorTarget AWS API Documentation
|
65660
65828
|
#
|
65661
65829
|
class TrafficMirrorTarget < Struct.new(
|
@@ -65665,7 +65833,8 @@ module Aws::EC2
|
|
65665
65833
|
:type,
|
65666
65834
|
:description,
|
65667
65835
|
:owner_id,
|
65668
|
-
:tags
|
65836
|
+
:tags,
|
65837
|
+
:gateway_load_balancer_endpoint_id)
|
65669
65838
|
SENSITIVE = []
|
65670
65839
|
include Aws::Structure
|
65671
65840
|
end
|
@@ -67766,21 +67935,21 @@ module Aws::EC2
|
|
67766
67935
|
# @!attribute [rw] code
|
67767
67936
|
# The error code that indicates why the parameter or parameter
|
67768
67937
|
# combination is not valid. For more information about error codes,
|
67769
|
-
# see [Error
|
67938
|
+
# see [Error codes][1].
|
67770
67939
|
#
|
67771
67940
|
#
|
67772
67941
|
#
|
67773
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
67942
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
67774
67943
|
# @return [String]
|
67775
67944
|
#
|
67776
67945
|
# @!attribute [rw] message
|
67777
67946
|
# The error message that describes why the parameter or parameter
|
67778
67947
|
# combination is not valid. For more information about error messages,
|
67779
|
-
# see [Error
|
67948
|
+
# see [Error codes][1].
|
67780
67949
|
#
|
67781
67950
|
#
|
67782
67951
|
#
|
67783
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
67952
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
67784
67953
|
# @return [String]
|
67785
67954
|
#
|
67786
67955
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ValidationError AWS API Documentation
|
@@ -68415,7 +68584,7 @@ module Aws::EC2
|
|
68415
68584
|
# Describes a VPC endpoint.
|
68416
68585
|
#
|
68417
68586
|
# @!attribute [rw] vpc_endpoint_id
|
68418
|
-
# The ID of the
|
68587
|
+
# The ID of the endpoint.
|
68419
68588
|
# @return [String]
|
68420
68589
|
#
|
68421
68590
|
# @!attribute [rw] vpc_endpoint_type
|
@@ -68431,7 +68600,7 @@ module Aws::EC2
|
|
68431
68600
|
# @return [String]
|
68432
68601
|
#
|
68433
68602
|
# @!attribute [rw] state
|
68434
|
-
# The state of the
|
68603
|
+
# The state of the endpoint.
|
68435
68604
|
# @return [String]
|
68436
68605
|
#
|
68437
68606
|
# @!attribute [rw] policy_document
|
@@ -68444,8 +68613,7 @@ module Aws::EC2
|
|
68444
68613
|
# @return [Array<String>]
|
68445
68614
|
#
|
68446
68615
|
# @!attribute [rw] subnet_ids
|
68447
|
-
# (Interface endpoint)
|
68448
|
-
# located.
|
68616
|
+
# (Interface endpoint) The subnets for the endpoint.
|
68449
68617
|
# @return [Array<String>]
|
68450
68618
|
#
|
68451
68619
|
# @!attribute [rw] groups
|
@@ -68453,13 +68621,21 @@ module Aws::EC2
|
|
68453
68621
|
# associated with the network interface.
|
68454
68622
|
# @return [Array<Types::SecurityGroupIdentifier>]
|
68455
68623
|
#
|
68624
|
+
# @!attribute [rw] ip_address_type
|
68625
|
+
# The IP address type for the endpoint.
|
68626
|
+
# @return [String]
|
68627
|
+
#
|
68628
|
+
# @!attribute [rw] dns_options
|
68629
|
+
# The DNS options for the endpoint.
|
68630
|
+
# @return [Types::DnsOptions]
|
68631
|
+
#
|
68456
68632
|
# @!attribute [rw] private_dns_enabled
|
68457
68633
|
# (Interface endpoint) Indicates whether the VPC is associated with a
|
68458
68634
|
# private hosted zone.
|
68459
68635
|
# @return [Boolean]
|
68460
68636
|
#
|
68461
68637
|
# @!attribute [rw] requester_managed
|
68462
|
-
# Indicates whether the
|
68638
|
+
# Indicates whether the endpoint is being managed by its service.
|
68463
68639
|
# @return [Boolean]
|
68464
68640
|
#
|
68465
68641
|
# @!attribute [rw] network_interface_ids
|
@@ -68472,20 +68648,19 @@ module Aws::EC2
|
|
68472
68648
|
# @return [Array<Types::DnsEntry>]
|
68473
68649
|
#
|
68474
68650
|
# @!attribute [rw] creation_timestamp
|
68475
|
-
# The date and time that the
|
68651
|
+
# The date and time that the endpoint was created.
|
68476
68652
|
# @return [Time]
|
68477
68653
|
#
|
68478
68654
|
# @!attribute [rw] tags
|
68479
|
-
# Any tags assigned to the
|
68655
|
+
# Any tags assigned to the endpoint.
|
68480
68656
|
# @return [Array<Types::Tag>]
|
68481
68657
|
#
|
68482
68658
|
# @!attribute [rw] owner_id
|
68483
|
-
# The ID of the Amazon Web Services account that owns the
|
68484
|
-
# endpoint.
|
68659
|
+
# The ID of the Amazon Web Services account that owns the endpoint.
|
68485
68660
|
# @return [String]
|
68486
68661
|
#
|
68487
68662
|
# @!attribute [rw] last_error
|
68488
|
-
# The last error that occurred for
|
68663
|
+
# The last error that occurred for endpoint.
|
68489
68664
|
# @return [Types::LastError]
|
68490
68665
|
#
|
68491
68666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpoint AWS API Documentation
|
@@ -68500,6 +68675,8 @@ module Aws::EC2
|
|
68500
68675
|
:route_table_ids,
|
68501
68676
|
:subnet_ids,
|
68502
68677
|
:groups,
|
68678
|
+
:ip_address_type,
|
68679
|
+
:dns_options,
|
68503
68680
|
:private_dns_enabled,
|
68504
68681
|
:requester_managed,
|
68505
68682
|
:network_interface_ids,
|
@@ -68549,6 +68726,10 @@ module Aws::EC2
|
|
68549
68726
|
# the service.
|
68550
68727
|
# @return [Array<String>]
|
68551
68728
|
#
|
68729
|
+
# @!attribute [rw] ip_address_type
|
68730
|
+
# The IP address type for the endpoint.
|
68731
|
+
# @return [String]
|
68732
|
+
#
|
68552
68733
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpointConnection AWS API Documentation
|
68553
68734
|
#
|
68554
68735
|
class VpcEndpointConnection < Struct.new(
|
@@ -68559,7 +68740,8 @@ module Aws::EC2
|
|
68559
68740
|
:creation_timestamp,
|
68560
68741
|
:dns_entries,
|
68561
68742
|
:network_load_balancer_arns,
|
68562
|
-
:gateway_load_balancer_arns
|
68743
|
+
:gateway_load_balancer_arns,
|
68744
|
+
:ip_address_type)
|
68563
68745
|
SENSITIVE = []
|
68564
68746
|
include Aws::Structure
|
68565
68747
|
end
|