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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e071e5d23243838c2cee1d3defc0ef9353b0d4ce362c1c2e15b56493df4a9dd6
|
4
|
+
data.tar.gz: 7cc529a0871d402c09da50105be03c99a32850051b11c7800c3d6999a12d5060
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe862d8935d8f205ca1a61b813fc677a521d92a1608374c67ae8daac9ee7d8bd3e84dcd6a0588d2bcf87b954271d1636d46f5f8e90a0587b7bde2ebcb464495b
|
7
|
+
data.tar.gz: 4dcc6454819701e0849cdd7e1ead32f8bda4d9ac86cd2d9a71dd8132c128182c85cf59e6f6b8b595c8612b11ec6f4b343961518f7ac47bc124590d7c1b70cd3c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.316.0 (2022-05-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Stop Protection feature enables customers to protect their instances from accidental stop actions.
|
8
|
+
|
9
|
+
1.315.0 (2022-05-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release introduces a target type Gateway Load Balancer Endpoint for mirrored traffic. Customers can now specify GatewayLoadBalancerEndpoint option during the creation of a traffic mirror target.
|
13
|
+
|
14
|
+
1.314.0 (2022-05-11)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release updates AWS PrivateLink APIs to support IPv6 for PrivateLink Services and Endpoints of type 'Interface'.
|
18
|
+
|
4
19
|
1.313.0 (2022-05-10)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.316.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -7072,7 +7072,7 @@ module Aws::EC2
|
|
7072
7072
|
# A launch template contains the parameters to launch an instance. When
|
7073
7073
|
# you launch an instance using RunInstances, you can specify a launch
|
7074
7074
|
# template instead of providing the launch parameters in the request.
|
7075
|
-
# For more information, see [
|
7075
|
+
# For more information, see [Launch an instance from a launch
|
7076
7076
|
# template][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
7077
7077
|
#
|
7078
7078
|
# If you want to clone an existing launch template as the basis for
|
@@ -7095,7 +7095,7 @@ module Aws::EC2
|
|
7095
7095
|
# @option params [String] :client_token
|
7096
7096
|
# Unique, case-sensitive identifier you provide to ensure the
|
7097
7097
|
# idempotency of the request. For more information, see [Ensuring
|
7098
|
-
#
|
7098
|
+
# idempotency][1].
|
7099
7099
|
#
|
7100
7100
|
# Constraint: Maximum 128 ASCII characters.
|
7101
7101
|
#
|
@@ -7378,6 +7378,7 @@ module Aws::EC2
|
|
7378
7378
|
# maintenance_options: {
|
7379
7379
|
# auto_recovery: "default", # accepts default, disabled
|
7380
7380
|
# },
|
7381
|
+
# disable_api_stop: false,
|
7381
7382
|
# },
|
7382
7383
|
# tag_specifications: [
|
7383
7384
|
# {
|
@@ -7424,8 +7425,13 @@ module Aws::EC2
|
|
7424
7425
|
# created. You cannot specify, change, or replace the numbering of
|
7425
7426
|
# launch template versions.
|
7426
7427
|
#
|
7427
|
-
#
|
7428
|
-
#
|
7428
|
+
# Launch templates are immutable; after you create a launch template,
|
7429
|
+
# you can't modify it. Instead, you can create a new version of the
|
7430
|
+
# launch template that includes any changes you require.
|
7431
|
+
#
|
7432
|
+
# For more information, see [Modify a launch template (manage launch
|
7433
|
+
# template versions)][1]in the *Amazon Elastic Compute Cloud User
|
7434
|
+
# Guide*.
|
7429
7435
|
#
|
7430
7436
|
#
|
7431
7437
|
#
|
@@ -7440,7 +7446,7 @@ module Aws::EC2
|
|
7440
7446
|
# @option params [String] :client_token
|
7441
7447
|
# Unique, case-sensitive identifier you provide to ensure the
|
7442
7448
|
# idempotency of the request. For more information, see [Ensuring
|
7443
|
-
#
|
7449
|
+
# idempotency][1].
|
7444
7450
|
#
|
7445
7451
|
# Constraint: Maximum 128 ASCII characters.
|
7446
7452
|
#
|
@@ -7733,6 +7739,7 @@ module Aws::EC2
|
|
7733
7739
|
# maintenance_options: {
|
7734
7740
|
# auto_recovery: "default", # accepts default, disabled
|
7735
7741
|
# },
|
7742
|
+
# disable_api_stop: false,
|
7736
7743
|
# },
|
7737
7744
|
# })
|
7738
7745
|
#
|
@@ -7879,6 +7886,7 @@ module Aws::EC2
|
|
7879
7886
|
# resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
7880
7887
|
# resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
7881
7888
|
# resp.launch_template_version.launch_template_data.maintenance_options.auto_recovery #=> String, one of "default", "disabled"
|
7889
|
+
# resp.launch_template_version.launch_template_data.disable_api_stop #=> Boolean
|
7882
7890
|
# resp.warning.errors #=> Array
|
7883
7891
|
# resp.warning.errors[0].code #=> String
|
7884
7892
|
# resp.warning.errors[0].message #=> String
|
@@ -10595,9 +10603,6 @@ module Aws::EC2
|
|
10595
10603
|
#
|
10596
10604
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html
|
10597
10605
|
#
|
10598
|
-
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
10599
|
-
# The tags to assign to the subnet CIDR reservation.
|
10600
|
-
#
|
10601
10606
|
# @option params [required, String] :subnet_id
|
10602
10607
|
# The ID of the subnet.
|
10603
10608
|
#
|
@@ -10631,6 +10636,9 @@ module Aws::EC2
|
|
10631
10636
|
# If you have the required permissions, the error response is
|
10632
10637
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
10633
10638
|
#
|
10639
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
10640
|
+
# The tags to assign to the subnet CIDR reservation.
|
10641
|
+
#
|
10634
10642
|
# @return [Types::CreateSubnetCidrReservationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10635
10643
|
#
|
10636
10644
|
# * {Types::CreateSubnetCidrReservationResult#subnet_cidr_reservation #subnet_cidr_reservation} => Types::SubnetCidrReservation
|
@@ -10638,6 +10646,11 @@ module Aws::EC2
|
|
10638
10646
|
# @example Request syntax with placeholder values
|
10639
10647
|
#
|
10640
10648
|
# resp = client.create_subnet_cidr_reservation({
|
10649
|
+
# subnet_id: "SubnetId", # required
|
10650
|
+
# cidr: "String", # required
|
10651
|
+
# reservation_type: "prefix", # required, accepts prefix, explicit
|
10652
|
+
# description: "String",
|
10653
|
+
# dry_run: false,
|
10641
10654
|
# tag_specifications: [
|
10642
10655
|
# {
|
10643
10656
|
# 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
|
@@ -10649,11 +10662,6 @@ module Aws::EC2
|
|
10649
10662
|
# ],
|
10650
10663
|
# },
|
10651
10664
|
# ],
|
10652
|
-
# subnet_id: "SubnetId", # required
|
10653
|
-
# cidr: "String", # required
|
10654
|
-
# reservation_type: "prefix", # required, accepts prefix, explicit
|
10655
|
-
# description: "String",
|
10656
|
-
# dry_run: false,
|
10657
10665
|
# })
|
10658
10666
|
#
|
10659
10667
|
# @example Response structure
|
@@ -11123,8 +11131,8 @@ module Aws::EC2
|
|
11123
11131
|
# appliances) can be in the same VPC, or in different VPCs connected via
|
11124
11132
|
# VPC peering or a transit gateway.
|
11125
11133
|
#
|
11126
|
-
# A Traffic Mirror target can be a network interface,
|
11127
|
-
# Balancer.
|
11134
|
+
# A Traffic Mirror target can be a network interface, a Network Load
|
11135
|
+
# Balancer, or a Gateway Load Balancer endpoint.
|
11128
11136
|
#
|
11129
11137
|
# To use the target in a Traffic Mirror session, use
|
11130
11138
|
# [CreateTrafficMirrorSession][1].
|
@@ -11164,6 +11172,9 @@ module Aws::EC2
|
|
11164
11172
|
#
|
11165
11173
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
11166
11174
|
#
|
11175
|
+
# @option params [String] :gateway_load_balancer_endpoint_id
|
11176
|
+
# The ID of the Gateway Load Balancer endpoint.
|
11177
|
+
#
|
11167
11178
|
# @return [Types::CreateTrafficMirrorTargetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11168
11179
|
#
|
11169
11180
|
# * {Types::CreateTrafficMirrorTargetResult#traffic_mirror_target #traffic_mirror_target} => Types::TrafficMirrorTarget
|
@@ -11188,6 +11199,7 @@ module Aws::EC2
|
|
11188
11199
|
# ],
|
11189
11200
|
# dry_run: false,
|
11190
11201
|
# client_token: "String",
|
11202
|
+
# gateway_load_balancer_endpoint_id: "VpcEndpointId",
|
11191
11203
|
# })
|
11192
11204
|
#
|
11193
11205
|
# @example Response structure
|
@@ -11195,12 +11207,13 @@ module Aws::EC2
|
|
11195
11207
|
# resp.traffic_mirror_target.traffic_mirror_target_id #=> String
|
11196
11208
|
# resp.traffic_mirror_target.network_interface_id #=> String
|
11197
11209
|
# resp.traffic_mirror_target.network_load_balancer_arn #=> String
|
11198
|
-
# resp.traffic_mirror_target.type #=> String, one of "network-interface", "network-load-balancer"
|
11210
|
+
# resp.traffic_mirror_target.type #=> String, one of "network-interface", "network-load-balancer", "gateway-load-balancer-endpoint"
|
11199
11211
|
# resp.traffic_mirror_target.description #=> String
|
11200
11212
|
# resp.traffic_mirror_target.owner_id #=> String
|
11201
11213
|
# resp.traffic_mirror_target.tags #=> Array
|
11202
11214
|
# resp.traffic_mirror_target.tags[0].key #=> String
|
11203
11215
|
# resp.traffic_mirror_target.tags[0].value #=> String
|
11216
|
+
# resp.traffic_mirror_target.gateway_load_balancer_endpoint_id #=> String
|
11204
11217
|
# resp.client_token #=> String
|
11205
11218
|
#
|
11206
11219
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorTarget AWS API Documentation
|
@@ -12460,6 +12473,12 @@ module Aws::EC2
|
|
12460
12473
|
# (Interface endpoint) The ID of one or more security groups to
|
12461
12474
|
# associate with the endpoint network interface.
|
12462
12475
|
#
|
12476
|
+
# @option params [String] :ip_address_type
|
12477
|
+
# The IP address type for the endpoint.
|
12478
|
+
#
|
12479
|
+
# @option params [Types::DnsOptionsSpecification] :dns_options
|
12480
|
+
# The DNS options for the endpoint.
|
12481
|
+
#
|
12463
12482
|
# @option params [String] :client_token
|
12464
12483
|
# Unique, case-sensitive identifier that you provide to ensure the
|
12465
12484
|
# idempotency of the request. For more information, see [How to ensure
|
@@ -12504,6 +12523,10 @@ module Aws::EC2
|
|
12504
12523
|
# route_table_ids: ["RouteTableId"],
|
12505
12524
|
# subnet_ids: ["SubnetId"],
|
12506
12525
|
# security_group_ids: ["SecurityGroupId"],
|
12526
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack, ipv6
|
12527
|
+
# dns_options: {
|
12528
|
+
# dns_record_ip_type: "ipv4", # accepts ipv4, dualstack, ipv6, service-defined
|
12529
|
+
# },
|
12507
12530
|
# client_token: "String",
|
12508
12531
|
# private_dns_enabled: false,
|
12509
12532
|
# tag_specifications: [
|
@@ -12534,6 +12557,8 @@ module Aws::EC2
|
|
12534
12557
|
# resp.vpc_endpoint.groups #=> Array
|
12535
12558
|
# resp.vpc_endpoint.groups[0].group_id #=> String
|
12536
12559
|
# resp.vpc_endpoint.groups[0].group_name #=> String
|
12560
|
+
# resp.vpc_endpoint.ip_address_type #=> String, one of "ipv4", "dualstack", "ipv6"
|
12561
|
+
# resp.vpc_endpoint.dns_options.dns_record_ip_type #=> String, one of "ipv4", "dualstack", "ipv6", "service-defined"
|
12537
12562
|
# resp.vpc_endpoint.private_dns_enabled #=> Boolean
|
12538
12563
|
# resp.vpc_endpoint.requester_managed #=> Boolean
|
12539
12564
|
# resp.vpc_endpoint.network_interface_ids #=> Array
|
@@ -12682,6 +12707,10 @@ module Aws::EC2
|
|
12682
12707
|
# The Amazon Resource Names (ARNs) of one or more Gateway Load
|
12683
12708
|
# Balancers.
|
12684
12709
|
#
|
12710
|
+
# @option params [Array<String>] :supported_ip_address_types
|
12711
|
+
# The supported IP address types. The possible values are `ipv4` and
|
12712
|
+
# `ipv6`.
|
12713
|
+
#
|
12685
12714
|
# @option params [String] :client_token
|
12686
12715
|
# Unique, case-sensitive identifier that you provide to ensure the
|
12687
12716
|
# idempotency of the request. For more information, see [How to ensure
|
@@ -12707,6 +12736,7 @@ module Aws::EC2
|
|
12707
12736
|
# private_dns_name: "String",
|
12708
12737
|
# network_load_balancer_arns: ["String"],
|
12709
12738
|
# gateway_load_balancer_arns: ["String"],
|
12739
|
+
# supported_ip_address_types: ["String"],
|
12710
12740
|
# client_token: "String",
|
12711
12741
|
# tag_specifications: [
|
12712
12742
|
# {
|
@@ -12736,6 +12766,8 @@ module Aws::EC2
|
|
12736
12766
|
# resp.service_configuration.network_load_balancer_arns[0] #=> String
|
12737
12767
|
# resp.service_configuration.gateway_load_balancer_arns #=> Array
|
12738
12768
|
# resp.service_configuration.gateway_load_balancer_arns[0] #=> String
|
12769
|
+
# resp.service_configuration.supported_ip_address_types #=> Array
|
12770
|
+
# resp.service_configuration.supported_ip_address_types[0] #=> String, one of "ipv4", "ipv6"
|
12739
12771
|
# resp.service_configuration.base_endpoint_dns_names #=> Array
|
12740
12772
|
# resp.service_configuration.base_endpoint_dns_names[0] #=> String
|
12741
12773
|
# resp.service_configuration.private_dns_name #=> String
|
@@ -20694,6 +20726,7 @@ module Aws::EC2
|
|
20694
20726
|
# * {Types::InstanceAttribute#source_dest_check #source_dest_check} => Types::AttributeBooleanValue
|
20695
20727
|
# * {Types::InstanceAttribute#sriov_net_support #sriov_net_support} => Types::AttributeValue
|
20696
20728
|
# * {Types::InstanceAttribute#user_data #user_data} => Types::AttributeValue
|
20729
|
+
# * {Types::InstanceAttribute#disable_api_stop #disable_api_stop} => Types::AttributeBooleanValue
|
20697
20730
|
#
|
20698
20731
|
#
|
20699
20732
|
# @example Example: To describe the instance type
|
@@ -20767,7 +20800,7 @@ module Aws::EC2
|
|
20767
20800
|
# @example Request syntax with placeholder values
|
20768
20801
|
#
|
20769
20802
|
# resp = client.describe_instance_attribute({
|
20770
|
-
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
20803
|
+
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions, disableApiStop
|
20771
20804
|
# dry_run: false,
|
20772
20805
|
# instance_id: "InstanceId", # required
|
20773
20806
|
# })
|
@@ -20799,6 +20832,7 @@ module Aws::EC2
|
|
20799
20832
|
# resp.source_dest_check.value #=> Boolean
|
20800
20833
|
# resp.sriov_net_support #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
20801
20834
|
# resp.user_data #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
20835
|
+
# resp.disable_api_stop.value #=> Boolean
|
20802
20836
|
#
|
20803
20837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttribute AWS API Documentation
|
20804
20838
|
#
|
@@ -23093,6 +23127,7 @@ module Aws::EC2
|
|
23093
23127
|
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
23094
23128
|
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
23095
23129
|
# resp.launch_template_versions[0].launch_template_data.maintenance_options.auto_recovery #=> String, one of "default", "disabled"
|
23130
|
+
# resp.launch_template_versions[0].launch_template_data.disable_api_stop #=> Boolean
|
23096
23131
|
# resp.next_token #=> String
|
23097
23132
|
#
|
23098
23133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions AWS API Documentation
|
@@ -29554,12 +29589,13 @@ module Aws::EC2
|
|
29554
29589
|
# resp.traffic_mirror_targets[0].traffic_mirror_target_id #=> String
|
29555
29590
|
# resp.traffic_mirror_targets[0].network_interface_id #=> String
|
29556
29591
|
# resp.traffic_mirror_targets[0].network_load_balancer_arn #=> String
|
29557
|
-
# resp.traffic_mirror_targets[0].type #=> String, one of "network-interface", "network-load-balancer"
|
29592
|
+
# resp.traffic_mirror_targets[0].type #=> String, one of "network-interface", "network-load-balancer", "gateway-load-balancer-endpoint"
|
29558
29593
|
# resp.traffic_mirror_targets[0].description #=> String
|
29559
29594
|
# resp.traffic_mirror_targets[0].owner_id #=> String
|
29560
29595
|
# resp.traffic_mirror_targets[0].tags #=> Array
|
29561
29596
|
# resp.traffic_mirror_targets[0].tags[0].key #=> String
|
29562
29597
|
# resp.traffic_mirror_targets[0].tags[0].value #=> String
|
29598
|
+
# resp.traffic_mirror_targets[0].gateway_load_balancer_endpoint_id #=> String
|
29563
29599
|
# resp.next_token #=> String
|
29564
29600
|
#
|
29565
29601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorTargets AWS API Documentation
|
@@ -31324,6 +31360,8 @@ module Aws::EC2
|
|
31324
31360
|
# @option params [Array<Types::Filter>] :filters
|
31325
31361
|
# One or more filters.
|
31326
31362
|
#
|
31363
|
+
# * `ip-address-type` - The IP address type (`ipv4` \| `ipv6`).
|
31364
|
+
#
|
31327
31365
|
# * `service-id` - The ID of the service.
|
31328
31366
|
#
|
31329
31367
|
# * `vpc-endpoint-owner` - The ID of the Amazon Web Services account ID
|
@@ -31381,6 +31419,7 @@ module Aws::EC2
|
|
31381
31419
|
# resp.vpc_endpoint_connections[0].network_load_balancer_arns[0] #=> String
|
31382
31420
|
# resp.vpc_endpoint_connections[0].gateway_load_balancer_arns #=> Array
|
31383
31421
|
# resp.vpc_endpoint_connections[0].gateway_load_balancer_arns[0] #=> String
|
31422
|
+
# resp.vpc_endpoint_connections[0].ip_address_type #=> String, one of "ipv4", "dualstack", "ipv6"
|
31384
31423
|
# resp.next_token #=> String
|
31385
31424
|
#
|
31386
31425
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnections AWS API Documentation
|
@@ -31414,6 +31453,9 @@ module Aws::EC2
|
|
31414
31453
|
# * `service-state` - The state of the service (`Pending` \| `Available`
|
31415
31454
|
# \| `Deleting` \| `Deleted` \| `Failed`).
|
31416
31455
|
#
|
31456
|
+
# * `supported-ip-address-types` - The IP address type (`ipv4` \|
|
31457
|
+
# `ipv6`).
|
31458
|
+
#
|
31417
31459
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
31418
31460
|
# the resource. Use the tag key in the filter name and the tag value
|
31419
31461
|
# as the filter value. For example, to find all resources that have a
|
@@ -31472,6 +31514,8 @@ module Aws::EC2
|
|
31472
31514
|
# resp.service_configurations[0].network_load_balancer_arns[0] #=> String
|
31473
31515
|
# resp.service_configurations[0].gateway_load_balancer_arns #=> Array
|
31474
31516
|
# resp.service_configurations[0].gateway_load_balancer_arns[0] #=> String
|
31517
|
+
# resp.service_configurations[0].supported_ip_address_types #=> Array
|
31518
|
+
# resp.service_configurations[0].supported_ip_address_types[0] #=> String, one of "ipv4", "ipv6"
|
31475
31519
|
# resp.service_configurations[0].base_endpoint_dns_names #=> Array
|
31476
31520
|
# resp.service_configurations[0].base_endpoint_dns_names[0] #=> String
|
31477
31521
|
# resp.service_configurations[0].private_dns_name #=> String
|
@@ -31588,6 +31632,9 @@ module Aws::EC2
|
|
31588
31632
|
#
|
31589
31633
|
# * `service-type` - The type of service (`Interface` \| `Gateway`).
|
31590
31634
|
#
|
31635
|
+
# * `supported-ip-address-types` - The IP address type (`ipv4` \|
|
31636
|
+
# `ipv6`).
|
31637
|
+
#
|
31591
31638
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
31592
31639
|
# the resource. Use the tag key in the filter name and the tag value
|
31593
31640
|
# as the filter value. For example, to find all resources that have a
|
@@ -31656,6 +31703,8 @@ module Aws::EC2
|
|
31656
31703
|
# resp.service_details[0].tags[0].key #=> String
|
31657
31704
|
# resp.service_details[0].tags[0].value #=> String
|
31658
31705
|
# resp.service_details[0].private_dns_name_verification_state #=> String, one of "pendingVerification", "verified", "failed"
|
31706
|
+
# resp.service_details[0].supported_ip_address_types #=> Array
|
31707
|
+
# resp.service_details[0].supported_ip_address_types[0] #=> String, one of "ipv4", "ipv6"
|
31659
31708
|
# resp.next_token #=> String
|
31660
31709
|
#
|
31661
31710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServices AWS API Documentation
|
@@ -31681,6 +31730,8 @@ module Aws::EC2
|
|
31681
31730
|
# @option params [Array<Types::Filter>] :filters
|
31682
31731
|
# One or more filters.
|
31683
31732
|
#
|
31733
|
+
# * `ip-address-type` - The IP address type (`ipv4` \| `ipv6`).
|
31734
|
+
#
|
31684
31735
|
# * `service-name` - The name of the service.
|
31685
31736
|
#
|
31686
31737
|
# * `vpc-id` - The ID of the VPC in which the endpoint resides.
|
@@ -31754,6 +31805,8 @@ module Aws::EC2
|
|
31754
31805
|
# resp.vpc_endpoints[0].groups #=> Array
|
31755
31806
|
# resp.vpc_endpoints[0].groups[0].group_id #=> String
|
31756
31807
|
# resp.vpc_endpoints[0].groups[0].group_name #=> String
|
31808
|
+
# resp.vpc_endpoints[0].ip_address_type #=> String, one of "ipv4", "dualstack", "ipv6"
|
31809
|
+
# resp.vpc_endpoints[0].dns_options.dns_record_ip_type #=> String, one of "ipv4", "dualstack", "ipv6", "service-defined"
|
31757
31810
|
# resp.vpc_endpoints[0].private_dns_enabled #=> Boolean
|
31758
31811
|
# resp.vpc_endpoints[0].requester_managed #=> Boolean
|
31759
31812
|
# resp.vpc_endpoints[0].network_interface_ids #=> Array
|
@@ -35877,6 +35930,7 @@ module Aws::EC2
|
|
35877
35930
|
# resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
35878
35931
|
# resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
35879
35932
|
# resp.launch_template_data.maintenance_options.auto_recovery #=> String, one of "default", "disabled"
|
35933
|
+
# resp.launch_template_data.disable_api_stop #=> Boolean
|
35880
35934
|
#
|
35881
35935
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData AWS API Documentation
|
35882
35936
|
#
|
@@ -39351,6 +39405,16 @@ module Aws::EC2
|
|
39351
39405
|
# `userData`, `disableApiTermination`, or
|
39352
39406
|
# `instanceInitiatedShutdownBehavior` attribute.
|
39353
39407
|
#
|
39408
|
+
# @option params [Types::AttributeBooleanValue] :disable_api_stop
|
39409
|
+
# Indicates whether an instance is enabled for stop protection. For more
|
39410
|
+
# information, see [Stop Protection][1].
|
39411
|
+
#
|
39412
|
+
#
|
39413
|
+
#
|
39414
|
+
#
|
39415
|
+
#
|
39416
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
|
39417
|
+
#
|
39354
39418
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
39355
39419
|
#
|
39356
39420
|
#
|
@@ -39390,7 +39454,7 @@ module Aws::EC2
|
|
39390
39454
|
# source_dest_check: {
|
39391
39455
|
# value: false,
|
39392
39456
|
# },
|
39393
|
-
# attribute: "instanceType", # accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
39457
|
+
# attribute: "instanceType", # accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions, disableApiStop
|
39394
39458
|
# block_device_mappings: [
|
39395
39459
|
# {
|
39396
39460
|
# device_name: "String",
|
@@ -39423,6 +39487,9 @@ module Aws::EC2
|
|
39423
39487
|
# value: "data",
|
39424
39488
|
# },
|
39425
39489
|
# value: "String",
|
39490
|
+
# disable_api_stop: {
|
39491
|
+
# value: false,
|
39492
|
+
# },
|
39426
39493
|
# })
|
39427
39494
|
#
|
39428
39495
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttribute AWS API Documentation
|
@@ -40311,7 +40378,7 @@ module Aws::EC2
|
|
40311
40378
|
# @option params [String] :client_token
|
40312
40379
|
# Unique, case-sensitive identifier you provide to ensure the
|
40313
40380
|
# idempotency of the request. For more information, see [Ensuring
|
40314
|
-
#
|
40381
|
+
# idempotency][1].
|
40315
40382
|
#
|
40316
40383
|
# Constraint: Maximum 128 ASCII characters.
|
40317
40384
|
#
|
@@ -42058,6 +42125,12 @@ module Aws::EC2
|
|
42058
42125
|
# (Interface endpoint) One or more security group IDs to disassociate
|
42059
42126
|
# from the network interface.
|
42060
42127
|
#
|
42128
|
+
# @option params [String] :ip_address_type
|
42129
|
+
# The IP address type for the endpoint.
|
42130
|
+
#
|
42131
|
+
# @option params [Types::DnsOptionsSpecification] :dns_options
|
42132
|
+
# The DNS options for the endpoint.
|
42133
|
+
#
|
42061
42134
|
# @option params [Boolean] :private_dns_enabled
|
42062
42135
|
# (Interface endpoint) Indicates whether a private hosted zone is
|
42063
42136
|
# associated with the VPC.
|
@@ -42079,6 +42152,10 @@ module Aws::EC2
|
|
42079
42152
|
# remove_subnet_ids: ["SubnetId"],
|
42080
42153
|
# add_security_group_ids: ["SecurityGroupId"],
|
42081
42154
|
# remove_security_group_ids: ["SecurityGroupId"],
|
42155
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack, ipv6
|
42156
|
+
# dns_options: {
|
42157
|
+
# dns_record_ip_type: "ipv4", # accepts ipv4, dualstack, ipv6, service-defined
|
42158
|
+
# },
|
42082
42159
|
# private_dns_enabled: false,
|
42083
42160
|
# })
|
42084
42161
|
#
|
@@ -42187,6 +42264,12 @@ module Aws::EC2
|
|
42187
42264
|
# The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove
|
42188
42265
|
# from your service configuration.
|
42189
42266
|
#
|
42267
|
+
# @option params [Array<String>] :add_supported_ip_address_types
|
42268
|
+
# The IP address types to add to your service configuration.
|
42269
|
+
#
|
42270
|
+
# @option params [Array<String>] :remove_supported_ip_address_types
|
42271
|
+
# The IP address types to remove from your service configuration.
|
42272
|
+
#
|
42190
42273
|
# @return [Types::ModifyVpcEndpointServiceConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
42191
42274
|
#
|
42192
42275
|
# * {Types::ModifyVpcEndpointServiceConfigurationResult#return #return} => Boolean
|
@@ -42203,6 +42286,8 @@ module Aws::EC2
|
|
42203
42286
|
# remove_network_load_balancer_arns: ["String"],
|
42204
42287
|
# add_gateway_load_balancer_arns: ["String"],
|
42205
42288
|
# remove_gateway_load_balancer_arns: ["String"],
|
42289
|
+
# add_supported_ip_address_types: ["String"],
|
42290
|
+
# remove_supported_ip_address_types: ["String"],
|
42206
42291
|
# })
|
42207
42292
|
#
|
42208
42293
|
# @example Response structure
|
@@ -46150,7 +46235,7 @@ module Aws::EC2
|
|
46150
46235
|
# @example Request syntax with placeholder values
|
46151
46236
|
#
|
46152
46237
|
# resp = client.reset_instance_attribute({
|
46153
|
-
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
46238
|
+
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions, disableApiStop
|
46154
46239
|
# dry_run: false,
|
46155
46240
|
# instance_id: "InstanceId", # required
|
46156
46241
|
# })
|
@@ -47320,6 +47405,14 @@ module Aws::EC2
|
|
47320
47405
|
# @option params [Types::InstanceMaintenanceOptionsRequest] :maintenance_options
|
47321
47406
|
# The maintenance and recovery options for the instance.
|
47322
47407
|
#
|
47408
|
+
# @option params [Boolean] :disable_api_stop
|
47409
|
+
# Indicates whether an instance is enabled for stop protection. For more
|
47410
|
+
# information, see [Stop Protection][1].
|
47411
|
+
#
|
47412
|
+
#
|
47413
|
+
#
|
47414
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
|
47415
|
+
#
|
47323
47416
|
# @return [Types::Reservation] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
47324
47417
|
#
|
47325
47418
|
# * {Types::Reservation#groups #groups} => Array<Types::GroupIdentifier>
|
@@ -47548,6 +47641,7 @@ module Aws::EC2
|
|
47548
47641
|
# maintenance_options: {
|
47549
47642
|
# auto_recovery: "disabled", # accepts disabled, default
|
47550
47643
|
# },
|
47644
|
+
# disable_api_stop: false,
|
47551
47645
|
# })
|
47552
47646
|
#
|
47553
47647
|
# @example Response structure
|
@@ -49601,7 +49695,7 @@ module Aws::EC2
|
|
49601
49695
|
params: params,
|
49602
49696
|
config: config)
|
49603
49697
|
context[:gem_name] = 'aws-sdk-ec2'
|
49604
|
-
context[:gem_version] = '1.
|
49698
|
+
context[:gem_version] = '1.316.0'
|
49605
49699
|
Seahorse::Client::Request.new(handlers, context)
|
49606
49700
|
end
|
49607
49701
|
|