aws-sdk-ec2 1.490.0 → 1.492.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +618 -86
- data/lib/aws-sdk-ec2/client_api.rb +181 -0
- data/lib/aws-sdk-ec2/resource.rb +42 -42
- data/lib/aws-sdk-ec2/subnet.rb +13 -7
- data/lib/aws-sdk-ec2/types.rb +787 -60
- data/lib/aws-sdk-ec2/vpc.rb +36 -30
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +191 -22
- data/sig/resource.rbs +1 -1
- data/sig/subnet.rbs +4 -1
- data/sig/types.rbs +141 -6
- data/sig/vpc.rbs +3 -0
- metadata +2 -2
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -6267,6 +6267,7 @@ module Aws::EC2
|
|
6267
6267
|
# resp.subnet.private_dns_name_options_on_launch.hostname_type #=> String, one of "ip-name", "resource-name"
|
6268
6268
|
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
6269
6269
|
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
6270
|
+
# resp.subnet.block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
6270
6271
|
# resp.subnet.subnet_id #=> String
|
6271
6272
|
# resp.subnet.state #=> String, one of "pending", "available", "unavailable"
|
6272
6273
|
# resp.subnet.vpc_id #=> String
|
@@ -6336,6 +6337,7 @@ module Aws::EC2
|
|
6336
6337
|
# resp.vpc.tags #=> Array
|
6337
6338
|
# resp.vpc.tags[0].key #=> String
|
6338
6339
|
# resp.vpc.tags[0].value #=> String
|
6340
|
+
# resp.vpc.block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
6339
6341
|
# resp.vpc.vpc_id #=> String
|
6340
6342
|
# resp.vpc.state #=> String, one of "pending", "available"
|
6341
6343
|
# resp.vpc.cidr_block #=> String
|
@@ -6760,7 +6762,7 @@ module Aws::EC2
|
|
6760
6762
|
# min: 1, # required
|
6761
6763
|
# max: 1,
|
6762
6764
|
# },
|
6763
|
-
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
6765
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
6764
6766
|
# memory_gi_b_per_v_cpu: {
|
6765
6767
|
# min: 1.0,
|
6766
6768
|
# max: 1.0,
|
@@ -6803,6 +6805,15 @@ module Aws::EC2
|
|
6803
6805
|
# },
|
6804
6806
|
# allowed_instance_types: ["AllowedInstanceType"],
|
6805
6807
|
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
6808
|
+
# baseline_performance_factors: {
|
6809
|
+
# cpu: {
|
6810
|
+
# references: [
|
6811
|
+
# {
|
6812
|
+
# instance_family: "String",
|
6813
|
+
# },
|
6814
|
+
# ],
|
6815
|
+
# },
|
6816
|
+
# },
|
6806
6817
|
# },
|
6807
6818
|
# image_id: "ImageId",
|
6808
6819
|
# },
|
@@ -6854,7 +6865,7 @@ module Aws::EC2
|
|
6854
6865
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.memory_mi_b.min #=> Integer
|
6855
6866
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.memory_mi_b.max #=> Integer
|
6856
6867
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers #=> Array
|
6857
|
-
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
6868
|
+
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
6858
6869
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
6859
6870
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
6860
6871
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.excluded_instance_types #=> Array
|
@@ -6890,6 +6901,8 @@ module Aws::EC2
|
|
6890
6901
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
|
6891
6902
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
|
6892
6903
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
6904
|
+
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
6905
|
+
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
6893
6906
|
# resp.errors[0].launch_template_and_overrides.overrides.image_id #=> String
|
6894
6907
|
# resp.errors[0].lifecycle #=> String, one of "spot", "on-demand"
|
6895
6908
|
# resp.errors[0].error_code #=> String
|
@@ -6910,7 +6923,7 @@ module Aws::EC2
|
|
6910
6923
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.memory_mi_b.min #=> Integer
|
6911
6924
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.memory_mi_b.max #=> Integer
|
6912
6925
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers #=> Array
|
6913
|
-
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
6926
|
+
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
6914
6927
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
6915
6928
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
6916
6929
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.excluded_instance_types #=> Array
|
@@ -6946,6 +6959,8 @@ module Aws::EC2
|
|
6946
6959
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
|
6947
6960
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
|
6948
6961
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
6962
|
+
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
6963
|
+
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
6949
6964
|
# resp.instances[0].launch_template_and_overrides.overrides.image_id #=> String
|
6950
6965
|
# resp.instances[0].lifecycle #=> String, one of "spot", "on-demand"
|
6951
6966
|
# resp.instances[0].instance_ids #=> Array
|
@@ -8804,7 +8819,7 @@ module Aws::EC2
|
|
8804
8819
|
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
8805
8820
|
# },
|
8806
8821
|
# capacity_reservation_specification: {
|
8807
|
-
# capacity_reservation_preference: "
|
8822
|
+
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, open, none
|
8808
8823
|
# capacity_reservation_target: {
|
8809
8824
|
# capacity_reservation_id: "CapacityReservationId",
|
8810
8825
|
# capacity_reservation_resource_group_arn: "String",
|
@@ -8837,7 +8852,7 @@ module Aws::EC2
|
|
8837
8852
|
# min: 1, # required
|
8838
8853
|
# max: 1,
|
8839
8854
|
# },
|
8840
|
-
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
8855
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
8841
8856
|
# memory_gi_b_per_v_cpu: {
|
8842
8857
|
# min: 1.0,
|
8843
8858
|
# max: 1.0,
|
@@ -8880,6 +8895,15 @@ module Aws::EC2
|
|
8880
8895
|
# },
|
8881
8896
|
# allowed_instance_types: ["AllowedInstanceType"],
|
8882
8897
|
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
8898
|
+
# baseline_performance_factors: {
|
8899
|
+
# cpu: {
|
8900
|
+
# references: [
|
8901
|
+
# {
|
8902
|
+
# instance_family: "String",
|
8903
|
+
# },
|
8904
|
+
# ],
|
8905
|
+
# },
|
8906
|
+
# },
|
8883
8907
|
# },
|
8884
8908
|
# private_dns_name_options: {
|
8885
8909
|
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
@@ -9214,7 +9238,7 @@ module Aws::EC2
|
|
9214
9238
|
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
9215
9239
|
# },
|
9216
9240
|
# capacity_reservation_specification: {
|
9217
|
-
# capacity_reservation_preference: "
|
9241
|
+
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, open, none
|
9218
9242
|
# capacity_reservation_target: {
|
9219
9243
|
# capacity_reservation_id: "CapacityReservationId",
|
9220
9244
|
# capacity_reservation_resource_group_arn: "String",
|
@@ -9247,7 +9271,7 @@ module Aws::EC2
|
|
9247
9271
|
# min: 1, # required
|
9248
9272
|
# max: 1,
|
9249
9273
|
# },
|
9250
|
-
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
9274
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
9251
9275
|
# memory_gi_b_per_v_cpu: {
|
9252
9276
|
# min: 1.0,
|
9253
9277
|
# max: 1.0,
|
@@ -9290,6 +9314,15 @@ module Aws::EC2
|
|
9290
9314
|
# },
|
9291
9315
|
# allowed_instance_types: ["AllowedInstanceType"],
|
9292
9316
|
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
9317
|
+
# baseline_performance_factors: {
|
9318
|
+
# cpu: {
|
9319
|
+
# references: [
|
9320
|
+
# {
|
9321
|
+
# instance_family: "String",
|
9322
|
+
# },
|
9323
|
+
# ],
|
9324
|
+
# },
|
9325
|
+
# },
|
9293
9326
|
# },
|
9294
9327
|
# private_dns_name_options: {
|
9295
9328
|
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
@@ -9406,7 +9439,7 @@ module Aws::EC2
|
|
9406
9439
|
# resp.launch_template_version.launch_template_data.cpu_options.core_count #=> Integer
|
9407
9440
|
# resp.launch_template_version.launch_template_data.cpu_options.threads_per_core #=> Integer
|
9408
9441
|
# resp.launch_template_version.launch_template_data.cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
9409
|
-
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
9442
|
+
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
9410
9443
|
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
9411
9444
|
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
|
9412
9445
|
# resp.launch_template_version.launch_template_data.license_specifications #=> Array
|
@@ -9424,7 +9457,7 @@ module Aws::EC2
|
|
9424
9457
|
# resp.launch_template_version.launch_template_data.instance_requirements.memory_mi_b.min #=> Integer
|
9425
9458
|
# resp.launch_template_version.launch_template_data.instance_requirements.memory_mi_b.max #=> Integer
|
9426
9459
|
# resp.launch_template_version.launch_template_data.instance_requirements.cpu_manufacturers #=> Array
|
9427
|
-
# resp.launch_template_version.launch_template_data.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
9460
|
+
# resp.launch_template_version.launch_template_data.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
9428
9461
|
# resp.launch_template_version.launch_template_data.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
9429
9462
|
# resp.launch_template_version.launch_template_data.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
9430
9463
|
# resp.launch_template_version.launch_template_data.instance_requirements.excluded_instance_types #=> Array
|
@@ -9460,6 +9493,8 @@ module Aws::EC2
|
|
9460
9493
|
# resp.launch_template_version.launch_template_data.instance_requirements.allowed_instance_types #=> Array
|
9461
9494
|
# resp.launch_template_version.launch_template_data.instance_requirements.allowed_instance_types[0] #=> String
|
9462
9495
|
# resp.launch_template_version.launch_template_data.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
9496
|
+
# resp.launch_template_version.launch_template_data.instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
9497
|
+
# resp.launch_template_version.launch_template_data.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
9463
9498
|
# resp.launch_template_version.launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
9464
9499
|
# resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
9465
9500
|
# resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
@@ -12568,6 +12603,7 @@ module Aws::EC2
|
|
12568
12603
|
# resp.subnet.private_dns_name_options_on_launch.hostname_type #=> String, one of "ip-name", "resource-name"
|
12569
12604
|
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
12570
12605
|
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
12606
|
+
# resp.subnet.block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
12571
12607
|
# resp.subnet.subnet_id #=> String
|
12572
12608
|
# resp.subnet.state #=> String, one of "pending", "available", "unavailable"
|
12573
12609
|
# resp.subnet.vpc_id #=> String
|
@@ -15059,6 +15095,7 @@ module Aws::EC2
|
|
15059
15095
|
# resp.vpc.tags #=> Array
|
15060
15096
|
# resp.vpc.tags[0].key #=> String
|
15061
15097
|
# resp.vpc.tags[0].value #=> String
|
15098
|
+
# resp.vpc.block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
15062
15099
|
# resp.vpc.vpc_id #=> String
|
15063
15100
|
# resp.vpc.state #=> String, one of "pending", "available"
|
15064
15101
|
# resp.vpc.cidr_block #=> String
|
@@ -15073,6 +15110,96 @@ module Aws::EC2
|
|
15073
15110
|
req.send_request(options)
|
15074
15111
|
end
|
15075
15112
|
|
15113
|
+
# Create a VPC Block Public Access (BPA) exclusion. A VPC BPA exclusion
|
15114
|
+
# is a mode that can be applied to a single VPC or subnet that exempts
|
15115
|
+
# it from the account’s BPA mode and will allow bidirectional or
|
15116
|
+
# egress-only access. You can create BPA exclusions for VPCs and subnets
|
15117
|
+
# even when BPA is not enabled on the account to ensure that there is no
|
15118
|
+
# traffic disruption to the exclusions when VPC BPA is turned on. To
|
15119
|
+
# learn more about VPC BPA, see [Block public access to VPCs and
|
15120
|
+
# subnets][1] in the *Amazon VPC User Guide*.
|
15121
|
+
#
|
15122
|
+
#
|
15123
|
+
#
|
15124
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
15125
|
+
#
|
15126
|
+
# @option params [Boolean] :dry_run
|
15127
|
+
# Checks whether you have the required permissions for the action,
|
15128
|
+
# without actually making the request, and provides an error response.
|
15129
|
+
# If you have the required permissions, the error response is
|
15130
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
15131
|
+
#
|
15132
|
+
# @option params [String] :subnet_id
|
15133
|
+
# A subnet ID.
|
15134
|
+
#
|
15135
|
+
# @option params [String] :vpc_id
|
15136
|
+
# A VPC ID.
|
15137
|
+
#
|
15138
|
+
# @option params [required, String] :internet_gateway_exclusion_mode
|
15139
|
+
# The exclusion mode for internet gateway traffic.
|
15140
|
+
#
|
15141
|
+
# * `bidirectional-access-allowed`: Allow all internet traffic to and
|
15142
|
+
# from the excluded VPCs and subnets.
|
15143
|
+
#
|
15144
|
+
# * `egress-access-allowed`: Allow outbound internet traffic from the
|
15145
|
+
# excluded VPCs and subnets. Block inbound internet traffic to the
|
15146
|
+
# excluded VPCs and subnets. Only applies when VPC Block Public Access
|
15147
|
+
# is set to Bidirectional.
|
15148
|
+
#
|
15149
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
15150
|
+
# `tag` - The key/value combination of a tag assigned to the resource.
|
15151
|
+
# Use the tag key in the filter name and the tag value as the filter
|
15152
|
+
# value. For example, to find all resources that have a tag with the key
|
15153
|
+
# `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name
|
15154
|
+
# and `TeamA` for the filter value.
|
15155
|
+
#
|
15156
|
+
# @return [Types::CreateVpcBlockPublicAccessExclusionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
15157
|
+
#
|
15158
|
+
# * {Types::CreateVpcBlockPublicAccessExclusionResult#vpc_block_public_access_exclusion #vpc_block_public_access_exclusion} => Types::VpcBlockPublicAccessExclusion
|
15159
|
+
#
|
15160
|
+
# @example Request syntax with placeholder values
|
15161
|
+
#
|
15162
|
+
# resp = client.create_vpc_block_public_access_exclusion({
|
15163
|
+
# dry_run: false,
|
15164
|
+
# subnet_id: "SubnetId",
|
15165
|
+
# vpc_id: "VpcId",
|
15166
|
+
# internet_gateway_exclusion_mode: "allow-bidirectional", # required, accepts allow-bidirectional, allow-egress
|
15167
|
+
# tag_specifications: [
|
15168
|
+
# {
|
15169
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, 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-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, ipam-external-resource-verification-token
|
15170
|
+
# tags: [
|
15171
|
+
# {
|
15172
|
+
# key: "String",
|
15173
|
+
# value: "String",
|
15174
|
+
# },
|
15175
|
+
# ],
|
15176
|
+
# },
|
15177
|
+
# ],
|
15178
|
+
# })
|
15179
|
+
#
|
15180
|
+
# @example Response structure
|
15181
|
+
#
|
15182
|
+
# resp.vpc_block_public_access_exclusion.exclusion_id #=> String
|
15183
|
+
# resp.vpc_block_public_access_exclusion.internet_gateway_exclusion_mode #=> String, one of "allow-bidirectional", "allow-egress"
|
15184
|
+
# resp.vpc_block_public_access_exclusion.resource_arn #=> String
|
15185
|
+
# resp.vpc_block_public_access_exclusion.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "update-in-progress", "update-complete", "update-failed", "delete-in-progress", "delete-complete", "disable-in-progress", "disable-complete"
|
15186
|
+
# resp.vpc_block_public_access_exclusion.reason #=> String
|
15187
|
+
# resp.vpc_block_public_access_exclusion.creation_timestamp #=> Time
|
15188
|
+
# resp.vpc_block_public_access_exclusion.last_update_timestamp #=> Time
|
15189
|
+
# resp.vpc_block_public_access_exclusion.deletion_timestamp #=> Time
|
15190
|
+
# resp.vpc_block_public_access_exclusion.tags #=> Array
|
15191
|
+
# resp.vpc_block_public_access_exclusion.tags[0].key #=> String
|
15192
|
+
# resp.vpc_block_public_access_exclusion.tags[0].value #=> String
|
15193
|
+
#
|
15194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcBlockPublicAccessExclusion AWS API Documentation
|
15195
|
+
#
|
15196
|
+
# @overload create_vpc_block_public_access_exclusion(params = {})
|
15197
|
+
# @param [Hash] params ({})
|
15198
|
+
def create_vpc_block_public_access_exclusion(params = {}, options = {})
|
15199
|
+
req = build_request(:create_vpc_block_public_access_exclusion, params)
|
15200
|
+
req.send_request(options)
|
15201
|
+
end
|
15202
|
+
|
15076
15203
|
# Creates a VPC endpoint. A VPC endpoint provides a private connection
|
15077
15204
|
# between the specified VPC and the specified endpoint service. You can
|
15078
15205
|
# use an endpoint service provided by Amazon Web Services, an Amazon Web
|
@@ -19291,6 +19418,62 @@ module Aws::EC2
|
|
19291
19418
|
req.send_request(options)
|
19292
19419
|
end
|
19293
19420
|
|
19421
|
+
# Delete a VPC Block Public Access (BPA) exclusion. A VPC BPA exclusion
|
19422
|
+
# is a mode that can be applied to a single VPC or subnet that exempts
|
19423
|
+
# it from the account’s BPA mode and will allow bidirectional or
|
19424
|
+
# egress-only access. You can create BPA exclusions for VPCs and subnets
|
19425
|
+
# even when BPA is not enabled on the account to ensure that there is no
|
19426
|
+
# traffic disruption to the exclusions when VPC BPA is turned on. To
|
19427
|
+
# learn more about VPC BPA, see [Block public access to VPCs and
|
19428
|
+
# subnets][1] in the *Amazon VPC User Guide*.
|
19429
|
+
#
|
19430
|
+
#
|
19431
|
+
#
|
19432
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
19433
|
+
#
|
19434
|
+
# @option params [Boolean] :dry_run
|
19435
|
+
# Checks whether you have the required permissions for the action,
|
19436
|
+
# without actually making the request, and provides an error response.
|
19437
|
+
# If you have the required permissions, the error response is
|
19438
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
19439
|
+
#
|
19440
|
+
# @option params [required, String] :exclusion_id
|
19441
|
+
# The ID of the exclusion.
|
19442
|
+
#
|
19443
|
+
# @return [Types::DeleteVpcBlockPublicAccessExclusionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
19444
|
+
#
|
19445
|
+
# * {Types::DeleteVpcBlockPublicAccessExclusionResult#vpc_block_public_access_exclusion #vpc_block_public_access_exclusion} => Types::VpcBlockPublicAccessExclusion
|
19446
|
+
#
|
19447
|
+
# @example Request syntax with placeholder values
|
19448
|
+
#
|
19449
|
+
# resp = client.delete_vpc_block_public_access_exclusion({
|
19450
|
+
# dry_run: false,
|
19451
|
+
# exclusion_id: "VpcBlockPublicAccessExclusionId", # required
|
19452
|
+
# })
|
19453
|
+
#
|
19454
|
+
# @example Response structure
|
19455
|
+
#
|
19456
|
+
# resp.vpc_block_public_access_exclusion.exclusion_id #=> String
|
19457
|
+
# resp.vpc_block_public_access_exclusion.internet_gateway_exclusion_mode #=> String, one of "allow-bidirectional", "allow-egress"
|
19458
|
+
# resp.vpc_block_public_access_exclusion.resource_arn #=> String
|
19459
|
+
# resp.vpc_block_public_access_exclusion.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "update-in-progress", "update-complete", "update-failed", "delete-in-progress", "delete-complete", "disable-in-progress", "disable-complete"
|
19460
|
+
# resp.vpc_block_public_access_exclusion.reason #=> String
|
19461
|
+
# resp.vpc_block_public_access_exclusion.creation_timestamp #=> Time
|
19462
|
+
# resp.vpc_block_public_access_exclusion.last_update_timestamp #=> Time
|
19463
|
+
# resp.vpc_block_public_access_exclusion.deletion_timestamp #=> Time
|
19464
|
+
# resp.vpc_block_public_access_exclusion.tags #=> Array
|
19465
|
+
# resp.vpc_block_public_access_exclusion.tags[0].key #=> String
|
19466
|
+
# resp.vpc_block_public_access_exclusion.tags[0].value #=> String
|
19467
|
+
#
|
19468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcBlockPublicAccessExclusion AWS API Documentation
|
19469
|
+
#
|
19470
|
+
# @overload delete_vpc_block_public_access_exclusion(params = {})
|
19471
|
+
# @param [Hash] params ({})
|
19472
|
+
def delete_vpc_block_public_access_exclusion(params = {}, options = {})
|
19473
|
+
req = build_request(:delete_vpc_block_public_access_exclusion, params)
|
19474
|
+
req.send_request(options)
|
19475
|
+
end
|
19476
|
+
|
19294
19477
|
# Deletes the specified VPC endpoint connection notifications.
|
19295
19478
|
#
|
19296
19479
|
# @option params [Boolean] :dry_run
|
@@ -21375,11 +21558,11 @@ module Aws::EC2
|
|
21375
21558
|
#
|
21376
21559
|
# * `instance-id` - The ID of the instance.
|
21377
21560
|
#
|
21378
|
-
# * `tag
|
21379
|
-
#
|
21380
|
-
#
|
21381
|
-
#
|
21382
|
-
#
|
21561
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
21562
|
+
# Use the tag key in the filter name and the tag value as the filter
|
21563
|
+
# value. For example, to find all resources that have a tag with the
|
21564
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
21565
|
+
# filter name and `TeamA` for the filter value.
|
21383
21566
|
#
|
21384
21567
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
21385
21568
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -22173,11 +22356,11 @@ module Aws::EC2
|
|
22173
22356
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
22174
22357
|
# DHCP options set.
|
22175
22358
|
#
|
22176
|
-
# * `tag
|
22177
|
-
#
|
22178
|
-
#
|
22179
|
-
#
|
22180
|
-
#
|
22359
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
22360
|
+
# Use the tag key in the filter name and the tag value as the filter
|
22361
|
+
# value. For example, to find all resources that have a tag with the
|
22362
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
22363
|
+
# filter name and `TeamA` for the filter value.
|
22181
22364
|
#
|
22182
22365
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
22183
22366
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -22292,11 +22475,11 @@ module Aws::EC2
|
|
22292
22475
|
# @option params [Array<Types::Filter>] :filters
|
22293
22476
|
# The filters.
|
22294
22477
|
#
|
22295
|
-
# * `tag
|
22296
|
-
#
|
22297
|
-
#
|
22298
|
-
#
|
22299
|
-
#
|
22478
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
22479
|
+
# Use the tag key in the filter name and the tag value as the filter
|
22480
|
+
# value. For example, to find all resources that have a tag with the
|
22481
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
22482
|
+
# filter name and `TeamA` for the filter value.
|
22300
22483
|
#
|
22301
22484
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
22302
22485
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -22998,7 +23181,7 @@ module Aws::EC2
|
|
22998
23181
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.memory_mi_b.min #=> Integer
|
22999
23182
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.memory_mi_b.max #=> Integer
|
23000
23183
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.cpu_manufacturers #=> Array
|
23001
|
-
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
23184
|
+
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
23002
23185
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
23003
23186
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
23004
23187
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.excluded_instance_types #=> Array
|
@@ -23034,6 +23217,8 @@ module Aws::EC2
|
|
23034
23217
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types #=> Array
|
23035
23218
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types[0] #=> String
|
23036
23219
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
23220
|
+
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
23221
|
+
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
23037
23222
|
# resp.fleets[0].launch_template_configs[0].overrides[0].image_id #=> String
|
23038
23223
|
# resp.fleets[0].target_capacity_specification.total_target_capacity #=> Integer
|
23039
23224
|
# resp.fleets[0].target_capacity_specification.on_demand_target_capacity #=> Integer
|
@@ -23079,7 +23264,7 @@ module Aws::EC2
|
|
23079
23264
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.memory_mi_b.min #=> Integer
|
23080
23265
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.memory_mi_b.max #=> Integer
|
23081
23266
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers #=> Array
|
23082
|
-
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
23267
|
+
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
23083
23268
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
23084
23269
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
23085
23270
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.excluded_instance_types #=> Array
|
@@ -23115,6 +23300,8 @@ module Aws::EC2
|
|
23115
23300
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
|
23116
23301
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
|
23117
23302
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
23303
|
+
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
23304
|
+
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
23118
23305
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.image_id #=> String
|
23119
23306
|
# resp.fleets[0].errors[0].lifecycle #=> String, one of "spot", "on-demand"
|
23120
23307
|
# resp.fleets[0].errors[0].error_code #=> String
|
@@ -23135,7 +23322,7 @@ module Aws::EC2
|
|
23135
23322
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.memory_mi_b.min #=> Integer
|
23136
23323
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.memory_mi_b.max #=> Integer
|
23137
23324
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers #=> Array
|
23138
|
-
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
23325
|
+
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
23139
23326
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
23140
23327
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
23141
23328
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.excluded_instance_types #=> Array
|
@@ -23171,6 +23358,8 @@ module Aws::EC2
|
|
23171
23358
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
|
23172
23359
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
|
23173
23360
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
23361
|
+
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
23362
|
+
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
23174
23363
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.image_id #=> String
|
23175
23364
|
# resp.fleets[0].instances[0].lifecycle #=> String, one of "spot", "on-demand"
|
23176
23365
|
# resp.fleets[0].instances[0].instance_ids #=> Array
|
@@ -26759,7 +26948,7 @@ module Aws::EC2
|
|
26759
26948
|
# resp.reservations[0].instances[0].cpu_options.threads_per_core #=> Integer
|
26760
26949
|
# resp.reservations[0].instances[0].cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
26761
26950
|
# resp.reservations[0].instances[0].capacity_reservation_id #=> String
|
26762
|
-
# resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
26951
|
+
# resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
26763
26952
|
# resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
26764
26953
|
# resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
|
26765
26954
|
# resp.reservations[0].instances[0].hibernation_options.configured #=> Boolean
|
@@ -26877,11 +27066,11 @@ module Aws::EC2
|
|
26877
27066
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
26878
27067
|
# internet gateway.
|
26879
27068
|
#
|
26880
|
-
# * `tag
|
26881
|
-
#
|
26882
|
-
#
|
26883
|
-
#
|
26884
|
-
#
|
27069
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
27070
|
+
# Use the tag key in the filter name and the tag value as the filter
|
27071
|
+
# value. For example, to find all resources that have a tag with the
|
27072
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
27073
|
+
# filter name and `TeamA` for the filter value.
|
26885
27074
|
#
|
26886
27075
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
26887
27076
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -28008,7 +28197,7 @@ module Aws::EC2
|
|
28008
28197
|
# resp.launch_template_versions[0].launch_template_data.cpu_options.core_count #=> Integer
|
28009
28198
|
# resp.launch_template_versions[0].launch_template_data.cpu_options.threads_per_core #=> Integer
|
28010
28199
|
# resp.launch_template_versions[0].launch_template_data.cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
28011
|
-
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
28200
|
+
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
28012
28201
|
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
28013
28202
|
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
|
28014
28203
|
# resp.launch_template_versions[0].launch_template_data.license_specifications #=> Array
|
@@ -28026,7 +28215,7 @@ module Aws::EC2
|
|
28026
28215
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.memory_mi_b.min #=> Integer
|
28027
28216
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.memory_mi_b.max #=> Integer
|
28028
28217
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.cpu_manufacturers #=> Array
|
28029
|
-
# resp.launch_template_versions[0].launch_template_data.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
28218
|
+
# resp.launch_template_versions[0].launch_template_data.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
28030
28219
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
28031
28220
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
28032
28221
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.excluded_instance_types #=> Array
|
@@ -28062,6 +28251,8 @@ module Aws::EC2
|
|
28062
28251
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.allowed_instance_types #=> Array
|
28063
28252
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.allowed_instance_types[0] #=> String
|
28064
28253
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
28254
|
+
# resp.launch_template_versions[0].launch_template_data.instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
28255
|
+
# resp.launch_template_versions[0].launch_template_data.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
28065
28256
|
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
28066
28257
|
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
28067
28258
|
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
@@ -29028,11 +29219,11 @@ module Aws::EC2
|
|
29028
29219
|
#
|
29029
29220
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway resides.
|
29030
29221
|
#
|
29031
|
-
# * `tag
|
29032
|
-
#
|
29033
|
-
#
|
29034
|
-
#
|
29035
|
-
#
|
29222
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
29223
|
+
# Use the tag key in the filter name and the tag value as the filter
|
29224
|
+
# value. For example, to find all resources that have a tag with the
|
29225
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
29226
|
+
# filter name and `TeamA` for the filter value.
|
29036
29227
|
#
|
29037
29228
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
29038
29229
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -29241,11 +29432,11 @@ module Aws::EC2
|
|
29241
29432
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
29242
29433
|
# network ACL.
|
29243
29434
|
#
|
29244
|
-
# * `tag
|
29245
|
-
#
|
29246
|
-
#
|
29247
|
-
#
|
29248
|
-
#
|
29435
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
29436
|
+
# Use the tag key in the filter name and the tag value as the filter
|
29437
|
+
# value. For example, to find all resources that have a tag with the
|
29438
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
29439
|
+
# filter name and `TeamA` for the filter value.
|
29249
29440
|
#
|
29250
29441
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
29251
29442
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -32290,11 +32481,11 @@ module Aws::EC2
|
|
32290
32481
|
# * `route.vpc-peering-connection-id` - The ID of a VPC peering
|
32291
32482
|
# connection specified in a route in the table.
|
32292
32483
|
#
|
32293
|
-
# * `tag
|
32294
|
-
#
|
32295
|
-
#
|
32296
|
-
#
|
32297
|
-
#
|
32484
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
32485
|
+
# Use the tag key in the filter name and the tag value as the filter
|
32486
|
+
# value. For example, to find all resources that have a tag with the
|
32487
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
32488
|
+
# filter name and `TeamA` for the filter value.
|
32298
32489
|
#
|
32299
32490
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
32300
32491
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -33995,7 +34186,7 @@ module Aws::EC2
|
|
33995
34186
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.memory_mi_b.min #=> Integer
|
33996
34187
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.memory_mi_b.max #=> Integer
|
33997
34188
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.cpu_manufacturers #=> Array
|
33998
|
-
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
34189
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
33999
34190
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
34000
34191
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
34001
34192
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.excluded_instance_types #=> Array
|
@@ -34031,6 +34222,8 @@ module Aws::EC2
|
|
34031
34222
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.allowed_instance_types #=> Array
|
34032
34223
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.allowed_instance_types[0] #=> String
|
34033
34224
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
34225
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
34226
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
34034
34227
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].security_groups #=> Array
|
34035
34228
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].security_groups[0].group_id #=> String
|
34036
34229
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].security_groups[0].group_name #=> String
|
@@ -34050,7 +34243,7 @@ module Aws::EC2
|
|
34050
34243
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.memory_mi_b.min #=> Integer
|
34051
34244
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.memory_mi_b.max #=> Integer
|
34052
34245
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.cpu_manufacturers #=> Array
|
34053
|
-
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
34246
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
34054
34247
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
34055
34248
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
34056
34249
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.excluded_instance_types #=> Array
|
@@ -34086,6 +34279,8 @@ module Aws::EC2
|
|
34086
34279
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types #=> Array
|
34087
34280
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types[0] #=> String
|
34088
34281
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
34282
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
34283
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
34089
34284
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_price #=> String
|
34090
34285
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.target_capacity #=> Integer
|
34091
34286
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.on_demand_target_capacity #=> Integer
|
@@ -34930,11 +35125,11 @@ module Aws::EC2
|
|
34930
35125
|
#
|
34931
35126
|
# * `subnet-id` - The ID of the subnet.
|
34932
35127
|
#
|
34933
|
-
# * `tag
|
34934
|
-
#
|
34935
|
-
#
|
34936
|
-
#
|
34937
|
-
#
|
35128
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
35129
|
+
# Use the tag key in the filter name and the tag value as the filter
|
35130
|
+
# value. For example, to find all resources that have a tag with the
|
35131
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
35132
|
+
# filter name and `TeamA` for the filter value.
|
34938
35133
|
#
|
34939
35134
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
34940
35135
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -35047,6 +35242,7 @@ module Aws::EC2
|
|
35047
35242
|
# resp.subnets[0].private_dns_name_options_on_launch.hostname_type #=> String, one of "ip-name", "resource-name"
|
35048
35243
|
# resp.subnets[0].private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
35049
35244
|
# resp.subnets[0].private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
35245
|
+
# resp.subnets[0].block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
35050
35246
|
# resp.subnets[0].subnet_id #=> String
|
35051
35247
|
# resp.subnets[0].state #=> String, one of "pending", "available", "unavailable"
|
35052
35248
|
# resp.subnets[0].vpc_id #=> String
|
@@ -37670,6 +37866,159 @@ module Aws::EC2
|
|
37670
37866
|
req.send_request(options)
|
37671
37867
|
end
|
37672
37868
|
|
37869
|
+
# Describe VPC Block Public Access (BPA) exclusions. A VPC BPA exclusion
|
37870
|
+
# is a mode that can be applied to a single VPC or subnet that exempts
|
37871
|
+
# it from the account’s BPA mode and will allow bidirectional or
|
37872
|
+
# egress-only access. You can create BPA exclusions for VPCs and subnets
|
37873
|
+
# even when BPA is not enabled on the account to ensure that there is no
|
37874
|
+
# traffic disruption to the exclusions when VPC BPA is turned on. To
|
37875
|
+
# learn more about VPC BPA, see [Block public access to VPCs and
|
37876
|
+
# subnets][1] in the *Amazon VPC User Guide*.
|
37877
|
+
#
|
37878
|
+
#
|
37879
|
+
#
|
37880
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
37881
|
+
#
|
37882
|
+
# @option params [Boolean] :dry_run
|
37883
|
+
# Checks whether you have the required permissions for the action,
|
37884
|
+
# without actually making the request, and provides an error response.
|
37885
|
+
# If you have the required permissions, the error response is
|
37886
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
37887
|
+
#
|
37888
|
+
# @option params [Array<Types::Filter>] :filters
|
37889
|
+
# Filters for the request:
|
37890
|
+
#
|
37891
|
+
# * `resource-arn` - The Amazon Resource Name (ARN) of a exclusion.
|
37892
|
+
#
|
37893
|
+
# * `internet-gateway-exclusion-mode` - The mode of a VPC BPA exclusion.
|
37894
|
+
# Possible values: `bidirectional-access-allowed |
|
37895
|
+
# egress-access-allowed`.
|
37896
|
+
#
|
37897
|
+
# * `state` - The state of VPC BPA. Possible values: `create-in-progress
|
37898
|
+
# | create-complete | update-in-progress | update-complete |
|
37899
|
+
# delete-in-progress | deleted-complete | disable-in-progress |
|
37900
|
+
# disable-complete`
|
37901
|
+
#
|
37902
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
37903
|
+
# Use the tag key in the filter name and the tag value as the filter
|
37904
|
+
# value. For example, to find all resources that have a tag with the
|
37905
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
37906
|
+
# filter name and `TeamA` for the filter value.
|
37907
|
+
#
|
37908
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
37909
|
+
# filter to find all resources assigned a tag with a specific key,
|
37910
|
+
# regardless of the tag value.
|
37911
|
+
#
|
37912
|
+
# * `tag-value`: The value of a tag assigned to the resource. Use this
|
37913
|
+
# filter to find all resources assigned a tag with a specific value,
|
37914
|
+
# regardless of the tag key.
|
37915
|
+
#
|
37916
|
+
# @option params [Array<String>] :exclusion_ids
|
37917
|
+
# IDs of exclusions.
|
37918
|
+
#
|
37919
|
+
# @option params [String] :next_token
|
37920
|
+
# The token returned from a previous paginated request. Pagination
|
37921
|
+
# continues from the end of the items returned by the previous request.
|
37922
|
+
#
|
37923
|
+
# @option params [Integer] :max_results
|
37924
|
+
# The maximum number of items to return for this request. To get the
|
37925
|
+
# next page of items, make another request with the token returned in
|
37926
|
+
# the output. For more information, see [Pagination][1].
|
37927
|
+
#
|
37928
|
+
#
|
37929
|
+
#
|
37930
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
37931
|
+
#
|
37932
|
+
# @return [Types::DescribeVpcBlockPublicAccessExclusionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
37933
|
+
#
|
37934
|
+
# * {Types::DescribeVpcBlockPublicAccessExclusionsResult#vpc_block_public_access_exclusions #vpc_block_public_access_exclusions} => Array<Types::VpcBlockPublicAccessExclusion>
|
37935
|
+
# * {Types::DescribeVpcBlockPublicAccessExclusionsResult#next_token #next_token} => String
|
37936
|
+
#
|
37937
|
+
# @example Request syntax with placeholder values
|
37938
|
+
#
|
37939
|
+
# resp = client.describe_vpc_block_public_access_exclusions({
|
37940
|
+
# dry_run: false,
|
37941
|
+
# filters: [
|
37942
|
+
# {
|
37943
|
+
# name: "String",
|
37944
|
+
# values: ["String"],
|
37945
|
+
# },
|
37946
|
+
# ],
|
37947
|
+
# exclusion_ids: ["VpcBlockPublicAccessExclusionId"],
|
37948
|
+
# next_token: "String",
|
37949
|
+
# max_results: 1,
|
37950
|
+
# })
|
37951
|
+
#
|
37952
|
+
# @example Response structure
|
37953
|
+
#
|
37954
|
+
# resp.vpc_block_public_access_exclusions #=> Array
|
37955
|
+
# resp.vpc_block_public_access_exclusions[0].exclusion_id #=> String
|
37956
|
+
# resp.vpc_block_public_access_exclusions[0].internet_gateway_exclusion_mode #=> String, one of "allow-bidirectional", "allow-egress"
|
37957
|
+
# resp.vpc_block_public_access_exclusions[0].resource_arn #=> String
|
37958
|
+
# resp.vpc_block_public_access_exclusions[0].state #=> String, one of "create-in-progress", "create-complete", "create-failed", "update-in-progress", "update-complete", "update-failed", "delete-in-progress", "delete-complete", "disable-in-progress", "disable-complete"
|
37959
|
+
# resp.vpc_block_public_access_exclusions[0].reason #=> String
|
37960
|
+
# resp.vpc_block_public_access_exclusions[0].creation_timestamp #=> Time
|
37961
|
+
# resp.vpc_block_public_access_exclusions[0].last_update_timestamp #=> Time
|
37962
|
+
# resp.vpc_block_public_access_exclusions[0].deletion_timestamp #=> Time
|
37963
|
+
# resp.vpc_block_public_access_exclusions[0].tags #=> Array
|
37964
|
+
# resp.vpc_block_public_access_exclusions[0].tags[0].key #=> String
|
37965
|
+
# resp.vpc_block_public_access_exclusions[0].tags[0].value #=> String
|
37966
|
+
# resp.next_token #=> String
|
37967
|
+
#
|
37968
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcBlockPublicAccessExclusions AWS API Documentation
|
37969
|
+
#
|
37970
|
+
# @overload describe_vpc_block_public_access_exclusions(params = {})
|
37971
|
+
# @param [Hash] params ({})
|
37972
|
+
def describe_vpc_block_public_access_exclusions(params = {}, options = {})
|
37973
|
+
req = build_request(:describe_vpc_block_public_access_exclusions, params)
|
37974
|
+
req.send_request(options)
|
37975
|
+
end
|
37976
|
+
|
37977
|
+
# Describe VPC Block Public Access (BPA) options. VPC Block public
|
37978
|
+
# Access (BPA) enables you to block resources in VPCs and subnets that
|
37979
|
+
# you own in a Region from reaching or being reached from the internet
|
37980
|
+
# through internet gateways and egress-only internet gateways. To learn
|
37981
|
+
# more about VPC BPA, see [Block public access to VPCs and subnets][1]
|
37982
|
+
# in the *Amazon VPC User Guide*.
|
37983
|
+
#
|
37984
|
+
#
|
37985
|
+
#
|
37986
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
37987
|
+
#
|
37988
|
+
# @option params [Boolean] :dry_run
|
37989
|
+
# Checks whether you have the required permissions for the action,
|
37990
|
+
# without actually making the request, and provides an error response.
|
37991
|
+
# If you have the required permissions, the error response is
|
37992
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
37993
|
+
#
|
37994
|
+
# @return [Types::DescribeVpcBlockPublicAccessOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
37995
|
+
#
|
37996
|
+
# * {Types::DescribeVpcBlockPublicAccessOptionsResult#vpc_block_public_access_options #vpc_block_public_access_options} => Types::VpcBlockPublicAccessOptions
|
37997
|
+
#
|
37998
|
+
# @example Request syntax with placeholder values
|
37999
|
+
#
|
38000
|
+
# resp = client.describe_vpc_block_public_access_options({
|
38001
|
+
# dry_run: false,
|
38002
|
+
# })
|
38003
|
+
#
|
38004
|
+
# @example Response structure
|
38005
|
+
#
|
38006
|
+
# resp.vpc_block_public_access_options.aws_account_id #=> String
|
38007
|
+
# resp.vpc_block_public_access_options.aws_region #=> String
|
38008
|
+
# resp.vpc_block_public_access_options.state #=> String, one of "default-state", "update-in-progress", "update-complete"
|
38009
|
+
# resp.vpc_block_public_access_options.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
38010
|
+
# resp.vpc_block_public_access_options.reason #=> String
|
38011
|
+
# resp.vpc_block_public_access_options.last_update_timestamp #=> Time
|
38012
|
+
#
|
38013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcBlockPublicAccessOptions AWS API Documentation
|
38014
|
+
#
|
38015
|
+
# @overload describe_vpc_block_public_access_options(params = {})
|
38016
|
+
# @param [Hash] params ({})
|
38017
|
+
def describe_vpc_block_public_access_options(params = {}, options = {})
|
38018
|
+
req = build_request(:describe_vpc_block_public_access_options, params)
|
38019
|
+
req.send_request(options)
|
38020
|
+
end
|
38021
|
+
|
37673
38022
|
# <note markdown="1"> This action is deprecated.
|
37674
38023
|
#
|
37675
38024
|
# </note>
|
@@ -37691,11 +38040,11 @@ module Aws::EC2
|
|
37691
38040
|
# * `is-classic-link-enabled` - Whether the VPC is enabled for
|
37692
38041
|
# ClassicLink (`true` \| `false`).
|
37693
38042
|
#
|
37694
|
-
# * `tag
|
37695
|
-
#
|
37696
|
-
#
|
37697
|
-
#
|
37698
|
-
#
|
38043
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
38044
|
+
# Use the tag key in the filter name and the tag value as the filter
|
38045
|
+
# value. For example, to find all resources that have a tag with the
|
38046
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
38047
|
+
# filter name and `TeamA` for the filter value.
|
37699
38048
|
#
|
37700
38049
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
37701
38050
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -38434,11 +38783,11 @@ module Aws::EC2
|
|
38434
38783
|
# * `status-message` - A message that provides more information about
|
38435
38784
|
# the status of the VPC peering connection, if applicable.
|
38436
38785
|
#
|
38437
|
-
# * `tag
|
38438
|
-
#
|
38439
|
-
#
|
38440
|
-
#
|
38441
|
-
#
|
38786
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
38787
|
+
# Use the tag key in the filter name and the tag value as the filter
|
38788
|
+
# value. For example, to find all resources that have a tag with the
|
38789
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
38790
|
+
# filter name and `TeamA` for the filter value.
|
38442
38791
|
#
|
38443
38792
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
38444
38793
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -38559,11 +38908,11 @@ module Aws::EC2
|
|
38559
38908
|
#
|
38560
38909
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
38561
38910
|
#
|
38562
|
-
# * `tag
|
38563
|
-
#
|
38564
|
-
#
|
38565
|
-
#
|
38566
|
-
#
|
38911
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
38912
|
+
# Use the tag key in the filter name and the tag value as the filter
|
38913
|
+
# value. For example, to find all resources that have a tag with the
|
38914
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
38915
|
+
# filter name and `TeamA` for the filter value.
|
38567
38916
|
#
|
38568
38917
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
38569
38918
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -38670,6 +39019,7 @@ module Aws::EC2
|
|
38670
39019
|
# resp.vpcs[0].tags #=> Array
|
38671
39020
|
# resp.vpcs[0].tags[0].key #=> String
|
38672
39021
|
# resp.vpcs[0].tags[0].value #=> String
|
39022
|
+
# resp.vpcs[0].block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
38673
39023
|
# resp.vpcs[0].vpc_id #=> String
|
38674
39024
|
# resp.vpcs[0].state #=> String, one of "pending", "available"
|
38675
39025
|
# resp.vpcs[0].cidr_block #=> String
|
@@ -43137,7 +43487,7 @@ module Aws::EC2
|
|
43137
43487
|
# min: 1, # required
|
43138
43488
|
# max: 1,
|
43139
43489
|
# },
|
43140
|
-
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
43490
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
43141
43491
|
# memory_gi_b_per_v_cpu: {
|
43142
43492
|
# min: 1.0,
|
43143
43493
|
# max: 1.0,
|
@@ -43180,6 +43530,15 @@ module Aws::EC2
|
|
43180
43530
|
# },
|
43181
43531
|
# allowed_instance_types: ["AllowedInstanceType"],
|
43182
43532
|
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
43533
|
+
# baseline_performance_factors: {
|
43534
|
+
# cpu: {
|
43535
|
+
# references: [
|
43536
|
+
# {
|
43537
|
+
# instance_family: "String",
|
43538
|
+
# },
|
43539
|
+
# ],
|
43540
|
+
# },
|
43541
|
+
# },
|
43183
43542
|
# },
|
43184
43543
|
# max_results: 1,
|
43185
43544
|
# next_token: "String",
|
@@ -44024,7 +44383,7 @@ module Aws::EC2
|
|
44024
44383
|
# resp.launch_template_data.cpu_options.core_count #=> Integer
|
44025
44384
|
# resp.launch_template_data.cpu_options.threads_per_core #=> Integer
|
44026
44385
|
# resp.launch_template_data.cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
44027
|
-
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
44386
|
+
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
44028
44387
|
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
44029
44388
|
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
|
44030
44389
|
# resp.launch_template_data.license_specifications #=> Array
|
@@ -44042,7 +44401,7 @@ module Aws::EC2
|
|
44042
44401
|
# resp.launch_template_data.instance_requirements.memory_mi_b.min #=> Integer
|
44043
44402
|
# resp.launch_template_data.instance_requirements.memory_mi_b.max #=> Integer
|
44044
44403
|
# resp.launch_template_data.instance_requirements.cpu_manufacturers #=> Array
|
44045
|
-
# resp.launch_template_data.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
44404
|
+
# resp.launch_template_data.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services", "apple"
|
44046
44405
|
# resp.launch_template_data.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
44047
44406
|
# resp.launch_template_data.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
44048
44407
|
# resp.launch_template_data.instance_requirements.excluded_instance_types #=> Array
|
@@ -44078,6 +44437,8 @@ module Aws::EC2
|
|
44078
44437
|
# resp.launch_template_data.instance_requirements.allowed_instance_types #=> Array
|
44079
44438
|
# resp.launch_template_data.instance_requirements.allowed_instance_types[0] #=> String
|
44080
44439
|
# resp.launch_template_data.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
44440
|
+
# resp.launch_template_data.instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
44441
|
+
# resp.launch_template_data.instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
44081
44442
|
# resp.launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
44082
44443
|
# resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
44083
44444
|
# resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
@@ -45106,7 +45467,7 @@ module Aws::EC2
|
|
45106
45467
|
# min: 1, # required
|
45107
45468
|
# max: 1,
|
45108
45469
|
# },
|
45109
|
-
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
45470
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
45110
45471
|
# memory_gi_b_per_v_cpu: {
|
45111
45472
|
# min: 1.0,
|
45112
45473
|
# max: 1.0,
|
@@ -45149,6 +45510,15 @@ module Aws::EC2
|
|
45149
45510
|
# },
|
45150
45511
|
# allowed_instance_types: ["AllowedInstanceType"],
|
45151
45512
|
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
45513
|
+
# baseline_performance_factors: {
|
45514
|
+
# cpu: {
|
45515
|
+
# references: [
|
45516
|
+
# {
|
45517
|
+
# instance_family: "String",
|
45518
|
+
# },
|
45519
|
+
# ],
|
45520
|
+
# },
|
45521
|
+
# },
|
45152
45522
|
# },
|
45153
45523
|
# },
|
45154
45524
|
# dry_run: false,
|
@@ -47689,7 +48059,7 @@ module Aws::EC2
|
|
47689
48059
|
# min: 1, # required
|
47690
48060
|
# max: 1,
|
47691
48061
|
# },
|
47692
|
-
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
48062
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
47693
48063
|
# memory_gi_b_per_v_cpu: {
|
47694
48064
|
# min: 1.0,
|
47695
48065
|
# max: 1.0,
|
@@ -47732,6 +48102,15 @@ module Aws::EC2
|
|
47732
48102
|
# },
|
47733
48103
|
# allowed_instance_types: ["AllowedInstanceType"],
|
47734
48104
|
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
48105
|
+
# baseline_performance_factors: {
|
48106
|
+
# cpu: {
|
48107
|
+
# references: [
|
48108
|
+
# {
|
48109
|
+
# instance_family: "String",
|
48110
|
+
# },
|
48111
|
+
# ],
|
48112
|
+
# },
|
48113
|
+
# },
|
47735
48114
|
# },
|
47736
48115
|
# image_id: "ImageId",
|
47737
48116
|
# },
|
@@ -48498,7 +48877,8 @@ module Aws::EC2
|
|
48498
48877
|
# Modifies the Capacity Reservation settings for a stopped instance. Use
|
48499
48878
|
# this action to configure an instance to target a specific Capacity
|
48500
48879
|
# Reservation, run in any `open` Capacity Reservation with matching
|
48501
|
-
# attributes,
|
48880
|
+
# attributes, run in On-Demand Instance capacity, or only run in a
|
48881
|
+
# Capacity Reservation.
|
48502
48882
|
#
|
48503
48883
|
# @option params [required, String] :instance_id
|
48504
48884
|
# The ID of the instance to be modified.
|
@@ -48521,7 +48901,7 @@ module Aws::EC2
|
|
48521
48901
|
# resp = client.modify_instance_capacity_reservation_attributes({
|
48522
48902
|
# instance_id: "InstanceId", # required
|
48523
48903
|
# capacity_reservation_specification: { # required
|
48524
|
-
# capacity_reservation_preference: "
|
48904
|
+
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, open, none
|
48525
48905
|
# capacity_reservation_target: {
|
48526
48906
|
# capacity_reservation_id: "CapacityReservationId",
|
48527
48907
|
# capacity_reservation_resource_group_arn: "String",
|
@@ -50488,7 +50868,7 @@ module Aws::EC2
|
|
50488
50868
|
# min: 1,
|
50489
50869
|
# max: 1,
|
50490
50870
|
# },
|
50491
|
-
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
50871
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
50492
50872
|
# memory_gi_b_per_v_cpu: {
|
50493
50873
|
# min: 1.0,
|
50494
50874
|
# max: 1.0,
|
@@ -50531,6 +50911,15 @@ module Aws::EC2
|
|
50531
50911
|
# },
|
50532
50912
|
# allowed_instance_types: ["AllowedInstanceType"],
|
50533
50913
|
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
50914
|
+
# baseline_performance_factors: {
|
50915
|
+
# cpu: {
|
50916
|
+
# references: [
|
50917
|
+
# {
|
50918
|
+
# instance_family: "String",
|
50919
|
+
# },
|
50920
|
+
# ],
|
50921
|
+
# },
|
50922
|
+
# },
|
50534
50923
|
# },
|
50535
50924
|
# },
|
50536
50925
|
# ],
|
@@ -52069,6 +52458,131 @@ module Aws::EC2
|
|
52069
52458
|
req.send_request(options)
|
52070
52459
|
end
|
52071
52460
|
|
52461
|
+
# Modify VPC Block Public Access (BPA) exclusions. A VPC BPA exclusion
|
52462
|
+
# is a mode that can be applied to a single VPC or subnet that exempts
|
52463
|
+
# it from the account’s BPA mode and will allow bidirectional or
|
52464
|
+
# egress-only access. You can create BPA exclusions for VPCs and subnets
|
52465
|
+
# even when BPA is not enabled on the account to ensure that there is no
|
52466
|
+
# traffic disruption to the exclusions when VPC BPA is turned on.
|
52467
|
+
#
|
52468
|
+
# @option params [Boolean] :dry_run
|
52469
|
+
# Checks whether you have the required permissions for the action,
|
52470
|
+
# without actually making the request, and provides an error response.
|
52471
|
+
# If you have the required permissions, the error response is
|
52472
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
52473
|
+
#
|
52474
|
+
# @option params [required, String] :exclusion_id
|
52475
|
+
# The ID of an exclusion.
|
52476
|
+
#
|
52477
|
+
# @option params [required, String] :internet_gateway_exclusion_mode
|
52478
|
+
# The exclusion mode for internet gateway traffic.
|
52479
|
+
#
|
52480
|
+
# * `bidirectional-access-allowed`: Allow all internet traffic to and
|
52481
|
+
# from the excluded VPCs and subnets.
|
52482
|
+
#
|
52483
|
+
# * `egress-access-allowed`: Allow outbound internet traffic from the
|
52484
|
+
# excluded VPCs and subnets. Block inbound internet traffic to the
|
52485
|
+
# excluded VPCs and subnets. Only applies when VPC Block Public Access
|
52486
|
+
# is set to Bidirectional.
|
52487
|
+
#
|
52488
|
+
# @return [Types::ModifyVpcBlockPublicAccessExclusionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
52489
|
+
#
|
52490
|
+
# * {Types::ModifyVpcBlockPublicAccessExclusionResult#vpc_block_public_access_exclusion #vpc_block_public_access_exclusion} => Types::VpcBlockPublicAccessExclusion
|
52491
|
+
#
|
52492
|
+
# @example Request syntax with placeholder values
|
52493
|
+
#
|
52494
|
+
# resp = client.modify_vpc_block_public_access_exclusion({
|
52495
|
+
# dry_run: false,
|
52496
|
+
# exclusion_id: "VpcBlockPublicAccessExclusionId", # required
|
52497
|
+
# internet_gateway_exclusion_mode: "allow-bidirectional", # required, accepts allow-bidirectional, allow-egress
|
52498
|
+
# })
|
52499
|
+
#
|
52500
|
+
# @example Response structure
|
52501
|
+
#
|
52502
|
+
# resp.vpc_block_public_access_exclusion.exclusion_id #=> String
|
52503
|
+
# resp.vpc_block_public_access_exclusion.internet_gateway_exclusion_mode #=> String, one of "allow-bidirectional", "allow-egress"
|
52504
|
+
# resp.vpc_block_public_access_exclusion.resource_arn #=> String
|
52505
|
+
# resp.vpc_block_public_access_exclusion.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "update-in-progress", "update-complete", "update-failed", "delete-in-progress", "delete-complete", "disable-in-progress", "disable-complete"
|
52506
|
+
# resp.vpc_block_public_access_exclusion.reason #=> String
|
52507
|
+
# resp.vpc_block_public_access_exclusion.creation_timestamp #=> Time
|
52508
|
+
# resp.vpc_block_public_access_exclusion.last_update_timestamp #=> Time
|
52509
|
+
# resp.vpc_block_public_access_exclusion.deletion_timestamp #=> Time
|
52510
|
+
# resp.vpc_block_public_access_exclusion.tags #=> Array
|
52511
|
+
# resp.vpc_block_public_access_exclusion.tags[0].key #=> String
|
52512
|
+
# resp.vpc_block_public_access_exclusion.tags[0].value #=> String
|
52513
|
+
#
|
52514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcBlockPublicAccessExclusion AWS API Documentation
|
52515
|
+
#
|
52516
|
+
# @overload modify_vpc_block_public_access_exclusion(params = {})
|
52517
|
+
# @param [Hash] params ({})
|
52518
|
+
def modify_vpc_block_public_access_exclusion(params = {}, options = {})
|
52519
|
+
req = build_request(:modify_vpc_block_public_access_exclusion, params)
|
52520
|
+
req.send_request(options)
|
52521
|
+
end
|
52522
|
+
|
52523
|
+
# Modify VPC Block Public Access (BPA) options. VPC Block public Access
|
52524
|
+
# (BPA) enables you to block resources in VPCs and subnets that you own
|
52525
|
+
# in a Region from reaching or being reached from the internet through
|
52526
|
+
# internet gateways and egress-only internet gateways. To learn more
|
52527
|
+
# about VPC BPA, see [Block public access to VPCs and subnets][1] in the
|
52528
|
+
# *Amazon VPC User Guide*.
|
52529
|
+
#
|
52530
|
+
#
|
52531
|
+
#
|
52532
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
52533
|
+
#
|
52534
|
+
# @option params [Boolean] :dry_run
|
52535
|
+
# Checks whether you have the required permissions for the action,
|
52536
|
+
# without actually making the request, and provides an error response.
|
52537
|
+
# If you have the required permissions, the error response is
|
52538
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
52539
|
+
#
|
52540
|
+
# @option params [required, String] :internet_gateway_block_mode
|
52541
|
+
# The mode of VPC BPA.
|
52542
|
+
#
|
52543
|
+
# * `bidirectional-access-allowed`: VPC BPA is not enabled and traffic
|
52544
|
+
# is allowed to and from internet gateways and egress-only internet
|
52545
|
+
# gateways in this Region.
|
52546
|
+
#
|
52547
|
+
# * `bidirectional-access-blocked`: Block all traffic to and from
|
52548
|
+
# internet gateways and egress-only internet gateways in this Region
|
52549
|
+
# (except for excluded VPCs and subnets).
|
52550
|
+
#
|
52551
|
+
# * `ingress-access-blocked`: Block all internet traffic to the VPCs in
|
52552
|
+
# this Region (except for VPCs or subnets which are excluded). Only
|
52553
|
+
# traffic to and from NAT gateways and egress-only internet gateways
|
52554
|
+
# is allowed because these gateways only allow outbound connections to
|
52555
|
+
# be established.
|
52556
|
+
#
|
52557
|
+
# @return [Types::ModifyVpcBlockPublicAccessOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
52558
|
+
#
|
52559
|
+
# * {Types::ModifyVpcBlockPublicAccessOptionsResult#vpc_block_public_access_options #vpc_block_public_access_options} => Types::VpcBlockPublicAccessOptions
|
52560
|
+
#
|
52561
|
+
# @example Request syntax with placeholder values
|
52562
|
+
#
|
52563
|
+
# resp = client.modify_vpc_block_public_access_options({
|
52564
|
+
# dry_run: false,
|
52565
|
+
# internet_gateway_block_mode: "off", # required, accepts off, block-bidirectional, block-ingress
|
52566
|
+
# })
|
52567
|
+
#
|
52568
|
+
# @example Response structure
|
52569
|
+
#
|
52570
|
+
# resp.vpc_block_public_access_options.aws_account_id #=> String
|
52571
|
+
# resp.vpc_block_public_access_options.aws_region #=> String
|
52572
|
+
# resp.vpc_block_public_access_options.state #=> String, one of "default-state", "update-in-progress", "update-complete"
|
52573
|
+
# resp.vpc_block_public_access_options.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
52574
|
+
# resp.vpc_block_public_access_options.reason #=> String
|
52575
|
+
# resp.vpc_block_public_access_options.last_update_timestamp #=> Time
|
52576
|
+
#
|
52577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcBlockPublicAccessOptions AWS API Documentation
|
52578
|
+
#
|
52579
|
+
# @overload modify_vpc_block_public_access_options(params = {})
|
52580
|
+
# @param [Hash] params ({})
|
52581
|
+
def modify_vpc_block_public_access_options(params = {}, options = {})
|
52582
|
+
req = build_request(:modify_vpc_block_public_access_options, params)
|
52583
|
+
req.send_request(options)
|
52584
|
+
end
|
52585
|
+
|
52072
52586
|
# Modifies attributes of a specified VPC endpoint. The attributes that
|
52073
52587
|
# you can modify depend on the type of VPC endpoint (interface, gateway,
|
52074
52588
|
# or Gateway Load Balancer). For more information, see the [Amazon Web
|
@@ -55998,7 +56512,7 @@ module Aws::EC2
|
|
55998
56512
|
# min: 1,
|
55999
56513
|
# max: 1,
|
56000
56514
|
# },
|
56001
|
-
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
56515
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
56002
56516
|
# memory_gi_b_per_v_cpu: {
|
56003
56517
|
# min: 1.0,
|
56004
56518
|
# max: 1.0,
|
@@ -56041,6 +56555,15 @@ module Aws::EC2
|
|
56041
56555
|
# },
|
56042
56556
|
# allowed_instance_types: ["AllowedInstanceType"],
|
56043
56557
|
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
56558
|
+
# baseline_performance_factors: {
|
56559
|
+
# cpu: {
|
56560
|
+
# references: [
|
56561
|
+
# {
|
56562
|
+
# instance_family: "String",
|
56563
|
+
# },
|
56564
|
+
# ],
|
56565
|
+
# },
|
56566
|
+
# },
|
56044
56567
|
# },
|
56045
56568
|
# security_groups: [
|
56046
56569
|
# {
|
@@ -56074,7 +56597,7 @@ module Aws::EC2
|
|
56074
56597
|
# min: 1,
|
56075
56598
|
# max: 1,
|
56076
56599
|
# },
|
56077
|
-
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
56600
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services, apple
|
56078
56601
|
# memory_gi_b_per_v_cpu: {
|
56079
56602
|
# min: 1.0,
|
56080
56603
|
# max: 1.0,
|
@@ -56117,6 +56640,15 @@ module Aws::EC2
|
|
56117
56640
|
# },
|
56118
56641
|
# allowed_instance_types: ["AllowedInstanceType"],
|
56119
56642
|
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
56643
|
+
# baseline_performance_factors: {
|
56644
|
+
# cpu: {
|
56645
|
+
# references: [
|
56646
|
+
# {
|
56647
|
+
# instance_family: "String",
|
56648
|
+
# },
|
56649
|
+
# ],
|
56650
|
+
# },
|
56651
|
+
# },
|
56120
56652
|
# },
|
56121
56653
|
# },
|
56122
56654
|
# ],
|
@@ -57863,7 +58395,7 @@ module Aws::EC2
|
|
57863
58395
|
# not specify this parameter, the instance's Capacity Reservation
|
57864
58396
|
# preference defaults to `open`, which enables it to run in any open
|
57865
58397
|
# Capacity Reservation that has matching attributes (instance type,
|
57866
|
-
# platform, Availability Zone).
|
58398
|
+
# platform, Availability Zone, and tenancy).
|
57867
58399
|
#
|
57868
58400
|
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
57869
58401
|
# Indicates whether an instance is enabled for hibernation. This
|
@@ -58163,7 +58695,7 @@ module Aws::EC2
|
|
58163
58695
|
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
58164
58696
|
# },
|
58165
58697
|
# capacity_reservation_specification: {
|
58166
|
-
# capacity_reservation_preference: "
|
58698
|
+
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, open, none
|
58167
58699
|
# capacity_reservation_target: {
|
58168
58700
|
# capacity_reservation_id: "CapacityReservationId",
|
58169
58701
|
# capacity_reservation_resource_group_arn: "String",
|
@@ -58371,7 +58903,7 @@ module Aws::EC2
|
|
58371
58903
|
# resp.instances[0].cpu_options.threads_per_core #=> Integer
|
58372
58904
|
# resp.instances[0].cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
58373
58905
|
# resp.instances[0].capacity_reservation_id #=> String
|
58374
|
-
# resp.instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
58906
|
+
# resp.instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
58375
58907
|
# resp.instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
58376
58908
|
# resp.instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
|
58377
58909
|
# resp.instances[0].hibernation_options.configured #=> Boolean
|
@@ -60918,7 +61450,7 @@ module Aws::EC2
|
|
60918
61450
|
tracer: tracer
|
60919
61451
|
)
|
60920
61452
|
context[:gem_name] = 'aws-sdk-ec2'
|
60921
|
-
context[:gem_version] = '1.
|
61453
|
+
context[:gem_version] = '1.492.0'
|
60922
61454
|
Seahorse::Client::Request.new(handlers, context)
|
60923
61455
|
end
|
60924
61456
|
|