aws-sdk-ec2 1.489.0 → 1.491.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +561 -62
- data/lib/aws-sdk-ec2/client_api.rb +173 -0
- data/lib/aws-sdk-ec2/instance.rb +6 -0
- data/lib/aws-sdk-ec2/network_interface.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +55 -40
- data/lib/aws-sdk-ec2/subnet.rb +21 -5
- data/lib/aws-sdk-ec2/types.rb +632 -58
- data/lib/aws-sdk-ec2/volume.rb +6 -0
- data/lib/aws-sdk-ec2/vpc.rb +36 -30
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +109 -2
- data/sig/instance.rbs +3 -0
- data/sig/network_interface.rbs +3 -0
- data/sig/resource.rbs +9 -0
- data/sig/subnet.rbs +9 -0
- data/sig/types.rbs +129 -0
- data/sig/volume.rbs +3 -0
- 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
|
@@ -8591,6 +8593,9 @@ module Aws::EC2
|
|
8591
8593
|
# @option params [required, Types::RequestLaunchTemplateData] :launch_template_data
|
8592
8594
|
# The information for the launch template.
|
8593
8595
|
#
|
8596
|
+
# @option params [Types::OperatorRequest] :operator
|
8597
|
+
# Reserved for internal use.
|
8598
|
+
#
|
8594
8599
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
8595
8600
|
# The tags to apply to the launch template on creation. To tag the
|
8596
8601
|
# launch template, the resource type must be `launch-template`.
|
@@ -8887,6 +8892,12 @@ module Aws::EC2
|
|
8887
8892
|
# auto_recovery: "default", # accepts default, disabled
|
8888
8893
|
# },
|
8889
8894
|
# disable_api_stop: false,
|
8895
|
+
# operator: {
|
8896
|
+
# principal: "String",
|
8897
|
+
# },
|
8898
|
+
# },
|
8899
|
+
# operator: {
|
8900
|
+
# principal: "String",
|
8890
8901
|
# },
|
8891
8902
|
# tag_specifications: [
|
8892
8903
|
# {
|
@@ -8912,6 +8923,8 @@ module Aws::EC2
|
|
8912
8923
|
# resp.launch_template.tags #=> Array
|
8913
8924
|
# resp.launch_template.tags[0].key #=> String
|
8914
8925
|
# resp.launch_template.tags[0].value #=> String
|
8926
|
+
# resp.launch_template.operator.managed #=> Boolean
|
8927
|
+
# resp.launch_template.operator.principal #=> String
|
8915
8928
|
# resp.warning.errors #=> Array
|
8916
8929
|
# resp.warning.errors[0].code #=> String
|
8917
8930
|
# resp.warning.errors[0].message #=> String
|
@@ -9289,6 +9302,9 @@ module Aws::EC2
|
|
9289
9302
|
# auto_recovery: "default", # accepts default, disabled
|
9290
9303
|
# },
|
9291
9304
|
# disable_api_stop: false,
|
9305
|
+
# operator: {
|
9306
|
+
# principal: "String",
|
9307
|
+
# },
|
9292
9308
|
# },
|
9293
9309
|
# resolve_alias: false,
|
9294
9310
|
# })
|
@@ -9451,6 +9467,10 @@ module Aws::EC2
|
|
9451
9467
|
# resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
9452
9468
|
# resp.launch_template_version.launch_template_data.maintenance_options.auto_recovery #=> String, one of "default", "disabled"
|
9453
9469
|
# resp.launch_template_version.launch_template_data.disable_api_stop #=> Boolean
|
9470
|
+
# resp.launch_template_version.launch_template_data.operator.managed #=> Boolean
|
9471
|
+
# resp.launch_template_version.launch_template_data.operator.principal #=> String
|
9472
|
+
# resp.launch_template_version.operator.managed #=> Boolean
|
9473
|
+
# resp.launch_template_version.operator.principal #=> String
|
9454
9474
|
# resp.warning.errors #=> Array
|
9455
9475
|
# resp.warning.errors[0].code #=> String
|
9456
9476
|
# resp.warning.errors[0].message #=> String
|
@@ -10768,6 +10788,9 @@ module Aws::EC2
|
|
10768
10788
|
# @option params [Types::ConnectionTrackingSpecificationRequest] :connection_tracking_specification
|
10769
10789
|
# A connection tracking specification for the network interface.
|
10770
10790
|
#
|
10791
|
+
# @option params [Types::OperatorRequest] :operator
|
10792
|
+
# Reserved for internal use.
|
10793
|
+
#
|
10771
10794
|
# @option params [required, String] :subnet_id
|
10772
10795
|
# The ID of the subnet to associate with the network interface.
|
10773
10796
|
#
|
@@ -10911,6 +10934,9 @@ module Aws::EC2
|
|
10911
10934
|
# udp_stream_timeout: 1,
|
10912
10935
|
# udp_timeout: 1,
|
10913
10936
|
# },
|
10937
|
+
# operator: {
|
10938
|
+
# principal: "String",
|
10939
|
+
# },
|
10914
10940
|
# subnet_id: "SubnetId", # required
|
10915
10941
|
# description: "String",
|
10916
10942
|
# private_ip_address: "String",
|
@@ -10996,6 +11022,8 @@ module Aws::EC2
|
|
10996
11022
|
# resp.network_interface.deny_all_igw_traffic #=> Boolean
|
10997
11023
|
# resp.network_interface.ipv_6_native #=> Boolean
|
10998
11024
|
# resp.network_interface.ipv_6_address #=> String
|
11025
|
+
# resp.network_interface.operator.managed #=> Boolean
|
11026
|
+
# resp.network_interface.operator.principal #=> String
|
10999
11027
|
# resp.client_token #=> String
|
11000
11028
|
#
|
11001
11029
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface AWS API Documentation
|
@@ -12542,6 +12570,7 @@ module Aws::EC2
|
|
12542
12570
|
# resp.subnet.private_dns_name_options_on_launch.hostname_type #=> String, one of "ip-name", "resource-name"
|
12543
12571
|
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
12544
12572
|
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
12573
|
+
# resp.subnet.block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
12545
12574
|
# resp.subnet.subnet_id #=> String
|
12546
12575
|
# resp.subnet.state #=> String, one of "pending", "available", "unavailable"
|
12547
12576
|
# resp.subnet.vpc_id #=> String
|
@@ -14688,6 +14717,9 @@ module Aws::EC2
|
|
14688
14717
|
#
|
14689
14718
|
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
14690
14719
|
#
|
14720
|
+
# @option params [Types::OperatorRequest] :operator
|
14721
|
+
# Reserved for internal use.
|
14722
|
+
#
|
14691
14723
|
# @option params [Boolean] :dry_run
|
14692
14724
|
# Checks whether you have the required permissions for the action,
|
14693
14725
|
# without actually making the request, and provides an error response.
|
@@ -14704,6 +14736,7 @@ module Aws::EC2
|
|
14704
14736
|
# * {Types::Volume#multi_attach_enabled #multi_attach_enabled} => Boolean
|
14705
14737
|
# * {Types::Volume#throughput #throughput} => Integer
|
14706
14738
|
# * {Types::Volume#sse_type #sse_type} => String
|
14739
|
+
# * {Types::Volume#operator #operator} => Types::OperatorResponse
|
14707
14740
|
# * {Types::Volume#volume_id #volume_id} => String
|
14708
14741
|
# * {Types::Volume#size #size} => Integer
|
14709
14742
|
# * {Types::Volume#snapshot_id #snapshot_id} => String
|
@@ -14791,6 +14824,9 @@ module Aws::EC2
|
|
14791
14824
|
# multi_attach_enabled: false,
|
14792
14825
|
# throughput: 1,
|
14793
14826
|
# client_token: "String",
|
14827
|
+
# operator: {
|
14828
|
+
# principal: "String",
|
14829
|
+
# },
|
14794
14830
|
# dry_run: false,
|
14795
14831
|
# })
|
14796
14832
|
#
|
@@ -14806,6 +14842,8 @@ module Aws::EC2
|
|
14806
14842
|
# resp.multi_attach_enabled #=> Boolean
|
14807
14843
|
# resp.throughput #=> Integer
|
14808
14844
|
# resp.sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
|
14845
|
+
# resp.operator.managed #=> Boolean
|
14846
|
+
# resp.operator.principal #=> String
|
14809
14847
|
# resp.volume_id #=> String
|
14810
14848
|
# resp.size #=> Integer
|
14811
14849
|
# resp.snapshot_id #=> String
|
@@ -15024,6 +15062,7 @@ module Aws::EC2
|
|
15024
15062
|
# resp.vpc.tags #=> Array
|
15025
15063
|
# resp.vpc.tags[0].key #=> String
|
15026
15064
|
# resp.vpc.tags[0].value #=> String
|
15065
|
+
# resp.vpc.block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
15027
15066
|
# resp.vpc.vpc_id #=> String
|
15028
15067
|
# resp.vpc.state #=> String, one of "pending", "available"
|
15029
15068
|
# resp.vpc.cidr_block #=> String
|
@@ -15038,6 +15077,96 @@ module Aws::EC2
|
|
15038
15077
|
req.send_request(options)
|
15039
15078
|
end
|
15040
15079
|
|
15080
|
+
# Create a VPC Block Public Access (BPA) exclusion. A VPC BPA exclusion
|
15081
|
+
# is a mode that can be applied to a single VPC or subnet that exempts
|
15082
|
+
# it from the account’s BPA mode and will allow bidirectional or
|
15083
|
+
# egress-only access. You can create BPA exclusions for VPCs and subnets
|
15084
|
+
# even when BPA is not enabled on the account to ensure that there is no
|
15085
|
+
# traffic disruption to the exclusions when VPC BPA is turned on. To
|
15086
|
+
# learn more about VPC BPA, see [Block public access to VPCs and
|
15087
|
+
# subnets][1] in the *Amazon VPC User Guide*.
|
15088
|
+
#
|
15089
|
+
#
|
15090
|
+
#
|
15091
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
15092
|
+
#
|
15093
|
+
# @option params [Boolean] :dry_run
|
15094
|
+
# Checks whether you have the required permissions for the action,
|
15095
|
+
# without actually making the request, and provides an error response.
|
15096
|
+
# If you have the required permissions, the error response is
|
15097
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
15098
|
+
#
|
15099
|
+
# @option params [String] :subnet_id
|
15100
|
+
# A subnet ID.
|
15101
|
+
#
|
15102
|
+
# @option params [String] :vpc_id
|
15103
|
+
# A VPC ID.
|
15104
|
+
#
|
15105
|
+
# @option params [required, String] :internet_gateway_exclusion_mode
|
15106
|
+
# The exclusion mode for internet gateway traffic.
|
15107
|
+
#
|
15108
|
+
# * `bidirectional-access-allowed`: Allow all internet traffic to and
|
15109
|
+
# from the excluded VPCs and subnets.
|
15110
|
+
#
|
15111
|
+
# * `egress-access-allowed`: Allow outbound internet traffic from the
|
15112
|
+
# excluded VPCs and subnets. Block inbound internet traffic to the
|
15113
|
+
# excluded VPCs and subnets. Only applies when VPC Block Public Access
|
15114
|
+
# is set to Bidirectional.
|
15115
|
+
#
|
15116
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
15117
|
+
# `tag` - The key/value combination of a tag assigned to the resource.
|
15118
|
+
# Use the tag key in the filter name and the tag value as the filter
|
15119
|
+
# value. For example, to find all resources that have a tag with the key
|
15120
|
+
# `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name
|
15121
|
+
# and `TeamA` for the filter value.
|
15122
|
+
#
|
15123
|
+
# @return [Types::CreateVpcBlockPublicAccessExclusionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
15124
|
+
#
|
15125
|
+
# * {Types::CreateVpcBlockPublicAccessExclusionResult#vpc_block_public_access_exclusion #vpc_block_public_access_exclusion} => Types::VpcBlockPublicAccessExclusion
|
15126
|
+
#
|
15127
|
+
# @example Request syntax with placeholder values
|
15128
|
+
#
|
15129
|
+
# resp = client.create_vpc_block_public_access_exclusion({
|
15130
|
+
# dry_run: false,
|
15131
|
+
# subnet_id: "SubnetId",
|
15132
|
+
# vpc_id: "VpcId",
|
15133
|
+
# internet_gateway_exclusion_mode: "allow-bidirectional", # required, accepts allow-bidirectional, allow-egress
|
15134
|
+
# tag_specifications: [
|
15135
|
+
# {
|
15136
|
+
# 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
|
15137
|
+
# tags: [
|
15138
|
+
# {
|
15139
|
+
# key: "String",
|
15140
|
+
# value: "String",
|
15141
|
+
# },
|
15142
|
+
# ],
|
15143
|
+
# },
|
15144
|
+
# ],
|
15145
|
+
# })
|
15146
|
+
#
|
15147
|
+
# @example Response structure
|
15148
|
+
#
|
15149
|
+
# resp.vpc_block_public_access_exclusion.exclusion_id #=> String
|
15150
|
+
# resp.vpc_block_public_access_exclusion.internet_gateway_exclusion_mode #=> String, one of "allow-bidirectional", "allow-egress"
|
15151
|
+
# resp.vpc_block_public_access_exclusion.resource_arn #=> String
|
15152
|
+
# 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"
|
15153
|
+
# resp.vpc_block_public_access_exclusion.reason #=> String
|
15154
|
+
# resp.vpc_block_public_access_exclusion.creation_timestamp #=> Time
|
15155
|
+
# resp.vpc_block_public_access_exclusion.last_update_timestamp #=> Time
|
15156
|
+
# resp.vpc_block_public_access_exclusion.deletion_timestamp #=> Time
|
15157
|
+
# resp.vpc_block_public_access_exclusion.tags #=> Array
|
15158
|
+
# resp.vpc_block_public_access_exclusion.tags[0].key #=> String
|
15159
|
+
# resp.vpc_block_public_access_exclusion.tags[0].value #=> String
|
15160
|
+
#
|
15161
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcBlockPublicAccessExclusion AWS API Documentation
|
15162
|
+
#
|
15163
|
+
# @overload create_vpc_block_public_access_exclusion(params = {})
|
15164
|
+
# @param [Hash] params ({})
|
15165
|
+
def create_vpc_block_public_access_exclusion(params = {}, options = {})
|
15166
|
+
req = build_request(:create_vpc_block_public_access_exclusion, params)
|
15167
|
+
req.send_request(options)
|
15168
|
+
end
|
15169
|
+
|
15041
15170
|
# Creates a VPC endpoint. A VPC endpoint provides a private connection
|
15042
15171
|
# between the specified VPC and the specified endpoint service. You can
|
15043
15172
|
# use an endpoint service provided by Amazon Web Services, an Amazon Web
|
@@ -16956,6 +17085,8 @@ module Aws::EC2
|
|
16956
17085
|
# resp.launch_template.tags #=> Array
|
16957
17086
|
# resp.launch_template.tags[0].key #=> String
|
16958
17087
|
# resp.launch_template.tags[0].value #=> String
|
17088
|
+
# resp.launch_template.operator.managed #=> Boolean
|
17089
|
+
# resp.launch_template.operator.principal #=> String
|
16959
17090
|
#
|
16960
17091
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplate AWS API Documentation
|
16961
17092
|
#
|
@@ -19254,6 +19385,62 @@ module Aws::EC2
|
|
19254
19385
|
req.send_request(options)
|
19255
19386
|
end
|
19256
19387
|
|
19388
|
+
# Delete a VPC Block Public Access (BPA) exclusion. A VPC BPA exclusion
|
19389
|
+
# is a mode that can be applied to a single VPC or subnet that exempts
|
19390
|
+
# it from the account’s BPA mode and will allow bidirectional or
|
19391
|
+
# egress-only access. You can create BPA exclusions for VPCs and subnets
|
19392
|
+
# even when BPA is not enabled on the account to ensure that there is no
|
19393
|
+
# traffic disruption to the exclusions when VPC BPA is turned on. To
|
19394
|
+
# learn more about VPC BPA, see [Block public access to VPCs and
|
19395
|
+
# subnets][1] in the *Amazon VPC User Guide*.
|
19396
|
+
#
|
19397
|
+
#
|
19398
|
+
#
|
19399
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
19400
|
+
#
|
19401
|
+
# @option params [Boolean] :dry_run
|
19402
|
+
# Checks whether you have the required permissions for the action,
|
19403
|
+
# without actually making the request, and provides an error response.
|
19404
|
+
# If you have the required permissions, the error response is
|
19405
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
19406
|
+
#
|
19407
|
+
# @option params [required, String] :exclusion_id
|
19408
|
+
# The ID of the exclusion.
|
19409
|
+
#
|
19410
|
+
# @return [Types::DeleteVpcBlockPublicAccessExclusionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
19411
|
+
#
|
19412
|
+
# * {Types::DeleteVpcBlockPublicAccessExclusionResult#vpc_block_public_access_exclusion #vpc_block_public_access_exclusion} => Types::VpcBlockPublicAccessExclusion
|
19413
|
+
#
|
19414
|
+
# @example Request syntax with placeholder values
|
19415
|
+
#
|
19416
|
+
# resp = client.delete_vpc_block_public_access_exclusion({
|
19417
|
+
# dry_run: false,
|
19418
|
+
# exclusion_id: "VpcBlockPublicAccessExclusionId", # required
|
19419
|
+
# })
|
19420
|
+
#
|
19421
|
+
# @example Response structure
|
19422
|
+
#
|
19423
|
+
# resp.vpc_block_public_access_exclusion.exclusion_id #=> String
|
19424
|
+
# resp.vpc_block_public_access_exclusion.internet_gateway_exclusion_mode #=> String, one of "allow-bidirectional", "allow-egress"
|
19425
|
+
# resp.vpc_block_public_access_exclusion.resource_arn #=> String
|
19426
|
+
# 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"
|
19427
|
+
# resp.vpc_block_public_access_exclusion.reason #=> String
|
19428
|
+
# resp.vpc_block_public_access_exclusion.creation_timestamp #=> Time
|
19429
|
+
# resp.vpc_block_public_access_exclusion.last_update_timestamp #=> Time
|
19430
|
+
# resp.vpc_block_public_access_exclusion.deletion_timestamp #=> Time
|
19431
|
+
# resp.vpc_block_public_access_exclusion.tags #=> Array
|
19432
|
+
# resp.vpc_block_public_access_exclusion.tags[0].key #=> String
|
19433
|
+
# resp.vpc_block_public_access_exclusion.tags[0].value #=> String
|
19434
|
+
#
|
19435
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcBlockPublicAccessExclusion AWS API Documentation
|
19436
|
+
#
|
19437
|
+
# @overload delete_vpc_block_public_access_exclusion(params = {})
|
19438
|
+
# @param [Hash] params ({})
|
19439
|
+
def delete_vpc_block_public_access_exclusion(params = {}, options = {})
|
19440
|
+
req = build_request(:delete_vpc_block_public_access_exclusion, params)
|
19441
|
+
req.send_request(options)
|
19442
|
+
end
|
19443
|
+
|
19257
19444
|
# Deletes the specified VPC endpoint connection notifications.
|
19258
19445
|
#
|
19259
19446
|
# @option params [Boolean] :dry_run
|
@@ -21097,7 +21284,6 @@ module Aws::EC2
|
|
21097
21284
|
# * `dedicated` - The Capacity Reservation is created on single-tenant
|
21098
21285
|
# hardware that is dedicated to a single Amazon Web Services
|
21099
21286
|
# account.
|
21100
|
-
#
|
21101
21287
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost on
|
21102
21288
|
# which the Capacity Reservation was created.
|
21103
21289
|
#
|
@@ -21121,7 +21307,6 @@ module Aws::EC2
|
|
21121
21307
|
# might fail due to invalid request parameters, capacity
|
21122
21308
|
# constraints, or instance limit constraints. Failed requests are
|
21123
21309
|
# retained for 60 minutes.
|
21124
|
-
#
|
21125
21310
|
# * `start-date` - The date and time at which the Capacity Reservation
|
21126
21311
|
# was started.
|
21127
21312
|
#
|
@@ -21140,7 +21325,6 @@ module Aws::EC2
|
|
21140
21325
|
#
|
21141
21326
|
# * `limited` - The Capacity Reservation expires automatically at a
|
21142
21327
|
# specified date and time.
|
21143
|
-
#
|
21144
21328
|
# * `instance-match-criteria` - Indicates the type of instance launches
|
21145
21329
|
# that the Capacity Reservation accepts. The options include:
|
21146
21330
|
#
|
@@ -21155,7 +21339,6 @@ module Aws::EC2
|
|
21155
21339
|
# Availability Zone), and explicitly target the Capacity
|
21156
21340
|
# Reservation. This ensures that only permitted instances can use
|
21157
21341
|
# the reserved capacity.
|
21158
|
-
#
|
21159
21342
|
# * `placement-group-arn` - The ARN of the cluster placement group in
|
21160
21343
|
# which the Capacity Reservation was created.
|
21161
21344
|
#
|
@@ -21342,11 +21525,11 @@ module Aws::EC2
|
|
21342
21525
|
#
|
21343
21526
|
# * `instance-id` - The ID of the instance.
|
21344
21527
|
#
|
21345
|
-
# * `tag
|
21346
|
-
#
|
21347
|
-
#
|
21348
|
-
#
|
21349
|
-
#
|
21528
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
21529
|
+
# Use the tag key in the filter name and the tag value as the filter
|
21530
|
+
# value. For example, to find all resources that have a tag with the
|
21531
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
21532
|
+
# filter name and `TeamA` for the filter value.
|
21350
21533
|
#
|
21351
21534
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
21352
21535
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -22140,11 +22323,11 @@ module Aws::EC2
|
|
22140
22323
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
22141
22324
|
# DHCP options set.
|
22142
22325
|
#
|
22143
|
-
# * `tag
|
22144
|
-
#
|
22145
|
-
#
|
22146
|
-
#
|
22147
|
-
#
|
22326
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
22327
|
+
# Use the tag key in the filter name and the tag value as the filter
|
22328
|
+
# value. For example, to find all resources that have a tag with the
|
22329
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
22330
|
+
# filter name and `TeamA` for the filter value.
|
22148
22331
|
#
|
22149
22332
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
22150
22333
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -22259,11 +22442,11 @@ module Aws::EC2
|
|
22259
22442
|
# @option params [Array<Types::Filter>] :filters
|
22260
22443
|
# The filters.
|
22261
22444
|
#
|
22262
|
-
# * `tag
|
22263
|
-
#
|
22264
|
-
#
|
22265
|
-
#
|
22266
|
-
#
|
22445
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
22446
|
+
# Use the tag key in the filter name and the tag value as the filter
|
22447
|
+
# value. For example, to find all resources that have a tag with the
|
22448
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
22449
|
+
# filter name and `TeamA` for the filter value.
|
22267
22450
|
#
|
22268
22451
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
22269
22452
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -24711,6 +24894,8 @@ module Aws::EC2
|
|
24711
24894
|
# resp.block_device_mappings[0].ebs.volume_id #=> String
|
24712
24895
|
# resp.block_device_mappings[0].ebs.associated_resource #=> String
|
24713
24896
|
# resp.block_device_mappings[0].ebs.volume_owner_id #=> String
|
24897
|
+
# resp.block_device_mappings[0].ebs.operator.managed #=> Boolean
|
24898
|
+
# resp.block_device_mappings[0].ebs.operator.principal #=> String
|
24714
24899
|
# resp.disable_api_termination.value #=> Boolean
|
24715
24900
|
# resp.ena_support.value #=> Boolean
|
24716
24901
|
# resp.enclave_options.enabled #=> Boolean
|
@@ -25249,6 +25434,8 @@ module Aws::EC2
|
|
25249
25434
|
# resp.instance_image_metadata[0].image_metadata.creation_date #=> String
|
25250
25435
|
# resp.instance_image_metadata[0].image_metadata.deprecation_time #=> String
|
25251
25436
|
# resp.instance_image_metadata[0].image_metadata.is_public #=> Boolean
|
25437
|
+
# resp.instance_image_metadata[0].operator.managed #=> Boolean
|
25438
|
+
# resp.instance_image_metadata[0].operator.principal #=> String
|
25252
25439
|
# resp.next_token #=> String
|
25253
25440
|
#
|
25254
25441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceImageMetadata AWS API Documentation
|
@@ -25454,6 +25641,8 @@ module Aws::EC2
|
|
25454
25641
|
# resp.instance_statuses #=> Array
|
25455
25642
|
# resp.instance_statuses[0].availability_zone #=> String
|
25456
25643
|
# resp.instance_statuses[0].outpost_arn #=> String
|
25644
|
+
# resp.instance_statuses[0].operator.managed #=> Boolean
|
25645
|
+
# resp.instance_statuses[0].operator.principal #=> String
|
25457
25646
|
# resp.instance_statuses[0].events #=> Array
|
25458
25647
|
# resp.instance_statuses[0].events[0].instance_event_id #=> String
|
25459
25648
|
# resp.instance_statuses[0].events[0].code #=> String, one of "instance-reboot", "system-reboot", "system-maintenance", "instance-retirement", "instance-stop"
|
@@ -25509,7 +25698,6 @@ module Aws::EC2
|
|
25509
25698
|
# * Availability Zone
|
25510
25699
|
#
|
25511
25700
|
# * Local Zone
|
25512
|
-
#
|
25513
25701
|
# * Supported instance types
|
25514
25702
|
#
|
25515
25703
|
# * `hpc6a.48xlarge` \| `hpc6id.32xlarge` \| `hpc7a.12xlarge` \|
|
@@ -26634,6 +26822,8 @@ module Aws::EC2
|
|
26634
26822
|
# resp.reservations[0].instances[0].block_device_mappings[0].ebs.volume_id #=> String
|
26635
26823
|
# resp.reservations[0].instances[0].block_device_mappings[0].ebs.associated_resource #=> String
|
26636
26824
|
# resp.reservations[0].instances[0].block_device_mappings[0].ebs.volume_owner_id #=> String
|
26825
|
+
# resp.reservations[0].instances[0].block_device_mappings[0].ebs.operator.managed #=> Boolean
|
26826
|
+
# resp.reservations[0].instances[0].block_device_mappings[0].ebs.operator.principal #=> String
|
26637
26827
|
# resp.reservations[0].instances[0].client_token #=> String
|
26638
26828
|
# resp.reservations[0].instances[0].ebs_optimized #=> Boolean
|
26639
26829
|
# resp.reservations[0].instances[0].ena_support #=> Boolean
|
@@ -26698,6 +26888,8 @@ module Aws::EC2
|
|
26698
26888
|
# resp.reservations[0].instances[0].network_interfaces[0].connection_tracking_configuration.tcp_established_timeout #=> Integer
|
26699
26889
|
# resp.reservations[0].instances[0].network_interfaces[0].connection_tracking_configuration.udp_stream_timeout #=> Integer
|
26700
26890
|
# resp.reservations[0].instances[0].network_interfaces[0].connection_tracking_configuration.udp_timeout #=> Integer
|
26891
|
+
# resp.reservations[0].instances[0].network_interfaces[0].operator.managed #=> Boolean
|
26892
|
+
# resp.reservations[0].instances[0].network_interfaces[0].operator.principal #=> String
|
26701
26893
|
# resp.reservations[0].instances[0].outpost_arn #=> String
|
26702
26894
|
# resp.reservations[0].instances[0].root_device_name #=> String
|
26703
26895
|
# resp.reservations[0].instances[0].root_device_type #=> String, one of "ebs", "instance-store"
|
@@ -26741,6 +26933,8 @@ module Aws::EC2
|
|
26741
26933
|
# resp.reservations[0].instances[0].tpm_support #=> String
|
26742
26934
|
# resp.reservations[0].instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
|
26743
26935
|
# resp.reservations[0].instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
|
26936
|
+
# resp.reservations[0].instances[0].operator.managed #=> Boolean
|
26937
|
+
# resp.reservations[0].instances[0].operator.principal #=> String
|
26744
26938
|
# resp.reservations[0].instances[0].instance_id #=> String
|
26745
26939
|
# resp.reservations[0].instances[0].image_id #=> String
|
26746
26940
|
# resp.reservations[0].instances[0].state.code #=> Integer
|
@@ -26833,11 +27027,11 @@ module Aws::EC2
|
|
26833
27027
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
26834
27028
|
# internet gateway.
|
26835
27029
|
#
|
26836
|
-
# * `tag
|
26837
|
-
#
|
26838
|
-
#
|
26839
|
-
#
|
26840
|
-
#
|
27030
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
27031
|
+
# Use the tag key in the filter name and the tag value as the filter
|
27032
|
+
# value. For example, to find all resources that have a tag with the
|
27033
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
27034
|
+
# filter name and `TeamA` for the filter value.
|
26841
27035
|
#
|
26842
27036
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
26843
27037
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -28023,6 +28217,10 @@ module Aws::EC2
|
|
28023
28217
|
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
28024
28218
|
# resp.launch_template_versions[0].launch_template_data.maintenance_options.auto_recovery #=> String, one of "default", "disabled"
|
28025
28219
|
# resp.launch_template_versions[0].launch_template_data.disable_api_stop #=> Boolean
|
28220
|
+
# resp.launch_template_versions[0].launch_template_data.operator.managed #=> Boolean
|
28221
|
+
# resp.launch_template_versions[0].launch_template_data.operator.principal #=> String
|
28222
|
+
# resp.launch_template_versions[0].operator.managed #=> Boolean
|
28223
|
+
# resp.launch_template_versions[0].operator.principal #=> String
|
28026
28224
|
# resp.next_token #=> String
|
28027
28225
|
#
|
28028
28226
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions AWS API Documentation
|
@@ -28133,6 +28331,8 @@ module Aws::EC2
|
|
28133
28331
|
# resp.launch_templates[0].tags #=> Array
|
28134
28332
|
# resp.launch_templates[0].tags[0].key #=> String
|
28135
28333
|
# resp.launch_templates[0].tags[0].value #=> String
|
28334
|
+
# resp.launch_templates[0].operator.managed #=> Boolean
|
28335
|
+
# resp.launch_templates[0].operator.principal #=> String
|
28136
28336
|
# resp.next_token #=> String
|
28137
28337
|
#
|
28138
28338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplates AWS API Documentation
|
@@ -28978,11 +29178,11 @@ module Aws::EC2
|
|
28978
29178
|
#
|
28979
29179
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway resides.
|
28980
29180
|
#
|
28981
|
-
# * `tag
|
28982
|
-
#
|
28983
|
-
#
|
28984
|
-
#
|
28985
|
-
#
|
29181
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
29182
|
+
# Use the tag key in the filter name and the tag value as the filter
|
29183
|
+
# value. For example, to find all resources that have a tag with the
|
29184
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
29185
|
+
# filter name and `TeamA` for the filter value.
|
28986
29186
|
#
|
28987
29187
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
28988
29188
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -29191,11 +29391,11 @@ module Aws::EC2
|
|
29191
29391
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
29192
29392
|
# network ACL.
|
29193
29393
|
#
|
29194
|
-
# * `tag
|
29195
|
-
#
|
29196
|
-
#
|
29197
|
-
#
|
29198
|
-
#
|
29394
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
29395
|
+
# Use the tag key in the filter name and the tag value as the filter
|
29396
|
+
# value. For example, to find all resources that have a tag with the
|
29397
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
29398
|
+
# filter name and `TeamA` for the filter value.
|
29199
29399
|
#
|
29200
29400
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
29201
29401
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -31015,6 +31215,8 @@ module Aws::EC2
|
|
31015
31215
|
# resp.network_interfaces[0].deny_all_igw_traffic #=> Boolean
|
31016
31216
|
# resp.network_interfaces[0].ipv_6_native #=> Boolean
|
31017
31217
|
# resp.network_interfaces[0].ipv_6_address #=> String
|
31218
|
+
# resp.network_interfaces[0].operator.managed #=> Boolean
|
31219
|
+
# resp.network_interfaces[0].operator.principal #=> String
|
31018
31220
|
# resp.next_token #=> String
|
31019
31221
|
#
|
31020
31222
|
#
|
@@ -32238,11 +32440,11 @@ module Aws::EC2
|
|
32238
32440
|
# * `route.vpc-peering-connection-id` - The ID of a VPC peering
|
32239
32441
|
# connection specified in a route in the table.
|
32240
32442
|
#
|
32241
|
-
# * `tag
|
32242
|
-
#
|
32243
|
-
#
|
32244
|
-
#
|
32245
|
-
#
|
32443
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
32444
|
+
# Use the tag key in the filter name and the tag value as the filter
|
32445
|
+
# value. For example, to find all resources that have a tag with the
|
32446
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
32447
|
+
# filter name and `TeamA` for the filter value.
|
32246
32448
|
#
|
32247
32449
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
32248
32450
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -34878,11 +35080,11 @@ module Aws::EC2
|
|
34878
35080
|
#
|
34879
35081
|
# * `subnet-id` - The ID of the subnet.
|
34880
35082
|
#
|
34881
|
-
# * `tag
|
34882
|
-
#
|
34883
|
-
#
|
34884
|
-
#
|
34885
|
-
#
|
35083
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
35084
|
+
# Use the tag key in the filter name and the tag value as the filter
|
35085
|
+
# value. For example, to find all resources that have a tag with the
|
35086
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
35087
|
+
# filter name and `TeamA` for the filter value.
|
34886
35088
|
#
|
34887
35089
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
34888
35090
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -34995,6 +35197,7 @@ module Aws::EC2
|
|
34995
35197
|
# resp.subnets[0].private_dns_name_options_on_launch.hostname_type #=> String, one of "ip-name", "resource-name"
|
34996
35198
|
# resp.subnets[0].private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
34997
35199
|
# resp.subnets[0].private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
35200
|
+
# resp.subnets[0].block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
34998
35201
|
# resp.subnets[0].subnet_id #=> String
|
34999
35202
|
# resp.subnets[0].state #=> String, one of "pending", "available", "unavailable"
|
35000
35203
|
# resp.subnets[0].vpc_id #=> String
|
@@ -37385,6 +37588,8 @@ module Aws::EC2
|
|
37385
37588
|
# resp.volumes[0].multi_attach_enabled #=> Boolean
|
37386
37589
|
# resp.volumes[0].throughput #=> Integer
|
37387
37590
|
# resp.volumes[0].sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
|
37591
|
+
# resp.volumes[0].operator.managed #=> Boolean
|
37592
|
+
# resp.volumes[0].operator.principal #=> String
|
37388
37593
|
# resp.volumes[0].volume_id #=> String
|
37389
37594
|
# resp.volumes[0].size #=> Integer
|
37390
37595
|
# resp.volumes[0].snapshot_id #=> String
|
@@ -37616,6 +37821,159 @@ module Aws::EC2
|
|
37616
37821
|
req.send_request(options)
|
37617
37822
|
end
|
37618
37823
|
|
37824
|
+
# Describe VPC Block Public Access (BPA) exclusions. A VPC BPA exclusion
|
37825
|
+
# is a mode that can be applied to a single VPC or subnet that exempts
|
37826
|
+
# it from the account’s BPA mode and will allow bidirectional or
|
37827
|
+
# egress-only access. You can create BPA exclusions for VPCs and subnets
|
37828
|
+
# even when BPA is not enabled on the account to ensure that there is no
|
37829
|
+
# traffic disruption to the exclusions when VPC BPA is turned on. To
|
37830
|
+
# learn more about VPC BPA, see [Block public access to VPCs and
|
37831
|
+
# subnets][1] in the *Amazon VPC User Guide*.
|
37832
|
+
#
|
37833
|
+
#
|
37834
|
+
#
|
37835
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
37836
|
+
#
|
37837
|
+
# @option params [Boolean] :dry_run
|
37838
|
+
# Checks whether you have the required permissions for the action,
|
37839
|
+
# without actually making the request, and provides an error response.
|
37840
|
+
# If you have the required permissions, the error response is
|
37841
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
37842
|
+
#
|
37843
|
+
# @option params [Array<Types::Filter>] :filters
|
37844
|
+
# Filters for the request:
|
37845
|
+
#
|
37846
|
+
# * `resource-arn` - The Amazon Resource Name (ARN) of a exclusion.
|
37847
|
+
#
|
37848
|
+
# * `internet-gateway-exclusion-mode` - The mode of a VPC BPA exclusion.
|
37849
|
+
# Possible values: `bidirectional-access-allowed |
|
37850
|
+
# egress-access-allowed`.
|
37851
|
+
#
|
37852
|
+
# * `state` - The state of VPC BPA. Possible values: `create-in-progress
|
37853
|
+
# | create-complete | update-in-progress | update-complete |
|
37854
|
+
# delete-in-progress | deleted-complete | disable-in-progress |
|
37855
|
+
# disable-complete`
|
37856
|
+
#
|
37857
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
37858
|
+
# Use the tag key in the filter name and the tag value as the filter
|
37859
|
+
# value. For example, to find all resources that have a tag with the
|
37860
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
37861
|
+
# filter name and `TeamA` for the filter value.
|
37862
|
+
#
|
37863
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
37864
|
+
# filter to find all resources assigned a tag with a specific key,
|
37865
|
+
# regardless of the tag value.
|
37866
|
+
#
|
37867
|
+
# * `tag-value`: The value of a tag assigned to the resource. Use this
|
37868
|
+
# filter to find all resources assigned a tag with a specific value,
|
37869
|
+
# regardless of the tag key.
|
37870
|
+
#
|
37871
|
+
# @option params [Array<String>] :exclusion_ids
|
37872
|
+
# IDs of exclusions.
|
37873
|
+
#
|
37874
|
+
# @option params [String] :next_token
|
37875
|
+
# The token returned from a previous paginated request. Pagination
|
37876
|
+
# continues from the end of the items returned by the previous request.
|
37877
|
+
#
|
37878
|
+
# @option params [Integer] :max_results
|
37879
|
+
# The maximum number of items to return for this request. To get the
|
37880
|
+
# next page of items, make another request with the token returned in
|
37881
|
+
# the output. For more information, see [Pagination][1].
|
37882
|
+
#
|
37883
|
+
#
|
37884
|
+
#
|
37885
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
37886
|
+
#
|
37887
|
+
# @return [Types::DescribeVpcBlockPublicAccessExclusionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
37888
|
+
#
|
37889
|
+
# * {Types::DescribeVpcBlockPublicAccessExclusionsResult#vpc_block_public_access_exclusions #vpc_block_public_access_exclusions} => Array<Types::VpcBlockPublicAccessExclusion>
|
37890
|
+
# * {Types::DescribeVpcBlockPublicAccessExclusionsResult#next_token #next_token} => String
|
37891
|
+
#
|
37892
|
+
# @example Request syntax with placeholder values
|
37893
|
+
#
|
37894
|
+
# resp = client.describe_vpc_block_public_access_exclusions({
|
37895
|
+
# dry_run: false,
|
37896
|
+
# filters: [
|
37897
|
+
# {
|
37898
|
+
# name: "String",
|
37899
|
+
# values: ["String"],
|
37900
|
+
# },
|
37901
|
+
# ],
|
37902
|
+
# exclusion_ids: ["VpcBlockPublicAccessExclusionId"],
|
37903
|
+
# next_token: "String",
|
37904
|
+
# max_results: 1,
|
37905
|
+
# })
|
37906
|
+
#
|
37907
|
+
# @example Response structure
|
37908
|
+
#
|
37909
|
+
# resp.vpc_block_public_access_exclusions #=> Array
|
37910
|
+
# resp.vpc_block_public_access_exclusions[0].exclusion_id #=> String
|
37911
|
+
# resp.vpc_block_public_access_exclusions[0].internet_gateway_exclusion_mode #=> String, one of "allow-bidirectional", "allow-egress"
|
37912
|
+
# resp.vpc_block_public_access_exclusions[0].resource_arn #=> String
|
37913
|
+
# 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"
|
37914
|
+
# resp.vpc_block_public_access_exclusions[0].reason #=> String
|
37915
|
+
# resp.vpc_block_public_access_exclusions[0].creation_timestamp #=> Time
|
37916
|
+
# resp.vpc_block_public_access_exclusions[0].last_update_timestamp #=> Time
|
37917
|
+
# resp.vpc_block_public_access_exclusions[0].deletion_timestamp #=> Time
|
37918
|
+
# resp.vpc_block_public_access_exclusions[0].tags #=> Array
|
37919
|
+
# resp.vpc_block_public_access_exclusions[0].tags[0].key #=> String
|
37920
|
+
# resp.vpc_block_public_access_exclusions[0].tags[0].value #=> String
|
37921
|
+
# resp.next_token #=> String
|
37922
|
+
#
|
37923
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcBlockPublicAccessExclusions AWS API Documentation
|
37924
|
+
#
|
37925
|
+
# @overload describe_vpc_block_public_access_exclusions(params = {})
|
37926
|
+
# @param [Hash] params ({})
|
37927
|
+
def describe_vpc_block_public_access_exclusions(params = {}, options = {})
|
37928
|
+
req = build_request(:describe_vpc_block_public_access_exclusions, params)
|
37929
|
+
req.send_request(options)
|
37930
|
+
end
|
37931
|
+
|
37932
|
+
# Describe VPC Block Public Access (BPA) options. VPC Block public
|
37933
|
+
# Access (BPA) enables you to block resources in VPCs and subnets that
|
37934
|
+
# you own in a Region from reaching or being reached from the internet
|
37935
|
+
# through internet gateways and egress-only internet gateways. To learn
|
37936
|
+
# more about VPC BPA, see [Block public access to VPCs and subnets][1]
|
37937
|
+
# in the *Amazon VPC User Guide*.
|
37938
|
+
#
|
37939
|
+
#
|
37940
|
+
#
|
37941
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
37942
|
+
#
|
37943
|
+
# @option params [Boolean] :dry_run
|
37944
|
+
# Checks whether you have the required permissions for the action,
|
37945
|
+
# without actually making the request, and provides an error response.
|
37946
|
+
# If you have the required permissions, the error response is
|
37947
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
37948
|
+
#
|
37949
|
+
# @return [Types::DescribeVpcBlockPublicAccessOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
37950
|
+
#
|
37951
|
+
# * {Types::DescribeVpcBlockPublicAccessOptionsResult#vpc_block_public_access_options #vpc_block_public_access_options} => Types::VpcBlockPublicAccessOptions
|
37952
|
+
#
|
37953
|
+
# @example Request syntax with placeholder values
|
37954
|
+
#
|
37955
|
+
# resp = client.describe_vpc_block_public_access_options({
|
37956
|
+
# dry_run: false,
|
37957
|
+
# })
|
37958
|
+
#
|
37959
|
+
# @example Response structure
|
37960
|
+
#
|
37961
|
+
# resp.vpc_block_public_access_options.aws_account_id #=> String
|
37962
|
+
# resp.vpc_block_public_access_options.aws_region #=> String
|
37963
|
+
# resp.vpc_block_public_access_options.state #=> String, one of "default-state", "update-in-progress", "update-complete"
|
37964
|
+
# resp.vpc_block_public_access_options.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
37965
|
+
# resp.vpc_block_public_access_options.reason #=> String
|
37966
|
+
# resp.vpc_block_public_access_options.last_update_timestamp #=> Time
|
37967
|
+
#
|
37968
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcBlockPublicAccessOptions AWS API Documentation
|
37969
|
+
#
|
37970
|
+
# @overload describe_vpc_block_public_access_options(params = {})
|
37971
|
+
# @param [Hash] params ({})
|
37972
|
+
def describe_vpc_block_public_access_options(params = {}, options = {})
|
37973
|
+
req = build_request(:describe_vpc_block_public_access_options, params)
|
37974
|
+
req.send_request(options)
|
37975
|
+
end
|
37976
|
+
|
37619
37977
|
# <note markdown="1"> This action is deprecated.
|
37620
37978
|
#
|
37621
37979
|
# </note>
|
@@ -37637,11 +37995,11 @@ module Aws::EC2
|
|
37637
37995
|
# * `is-classic-link-enabled` - Whether the VPC is enabled for
|
37638
37996
|
# ClassicLink (`true` \| `false`).
|
37639
37997
|
#
|
37640
|
-
# * `tag
|
37641
|
-
#
|
37642
|
-
#
|
37643
|
-
#
|
37644
|
-
#
|
37998
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
37999
|
+
# Use the tag key in the filter name and the tag value as the filter
|
38000
|
+
# value. For example, to find all resources that have a tag with the
|
38001
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
38002
|
+
# filter name and `TeamA` for the filter value.
|
37645
38003
|
#
|
37646
38004
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
37647
38005
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -38380,11 +38738,11 @@ module Aws::EC2
|
|
38380
38738
|
# * `status-message` - A message that provides more information about
|
38381
38739
|
# the status of the VPC peering connection, if applicable.
|
38382
38740
|
#
|
38383
|
-
# * `tag
|
38384
|
-
#
|
38385
|
-
#
|
38386
|
-
#
|
38387
|
-
#
|
38741
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
38742
|
+
# Use the tag key in the filter name and the tag value as the filter
|
38743
|
+
# value. For example, to find all resources that have a tag with the
|
38744
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
38745
|
+
# filter name and `TeamA` for the filter value.
|
38388
38746
|
#
|
38389
38747
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
38390
38748
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -38505,11 +38863,11 @@ module Aws::EC2
|
|
38505
38863
|
#
|
38506
38864
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
38507
38865
|
#
|
38508
|
-
# * `tag
|
38509
|
-
#
|
38510
|
-
#
|
38511
|
-
#
|
38512
|
-
#
|
38866
|
+
# * `tag` - The key/value combination of a tag assigned to the resource.
|
38867
|
+
# Use the tag key in the filter name and the tag value as the filter
|
38868
|
+
# value. For example, to find all resources that have a tag with the
|
38869
|
+
# key `Owner` and the value `TeamA`, specify `tag:Owner` for the
|
38870
|
+
# filter name and `TeamA` for the filter value.
|
38513
38871
|
#
|
38514
38872
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
38515
38873
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -38616,6 +38974,7 @@ module Aws::EC2
|
|
38616
38974
|
# resp.vpcs[0].tags #=> Array
|
38617
38975
|
# resp.vpcs[0].tags[0].key #=> String
|
38618
38976
|
# resp.vpcs[0].tags[0].value #=> String
|
38977
|
+
# resp.vpcs[0].block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
38619
38978
|
# resp.vpcs[0].vpc_id #=> String
|
38620
38979
|
# resp.vpcs[0].state #=> String, one of "pending", "available"
|
38621
38980
|
# resp.vpcs[0].cidr_block #=> String
|
@@ -44029,6 +44388,8 @@ module Aws::EC2
|
|
44029
44388
|
# resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
44030
44389
|
# resp.launch_template_data.maintenance_options.auto_recovery #=> String, one of "default", "disabled"
|
44031
44390
|
# resp.launch_template_data.disable_api_stop #=> Boolean
|
44391
|
+
# resp.launch_template_data.operator.managed #=> Boolean
|
44392
|
+
# resp.launch_template_data.operator.principal #=> String
|
44032
44393
|
#
|
44033
44394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData AWS API Documentation
|
44034
44395
|
#
|
@@ -46890,7 +47251,6 @@ module Aws::EC2
|
|
46890
47251
|
#
|
46891
47252
|
# * The snapshot is unlocked by a user with the appropriate
|
46892
47253
|
# permissions.
|
46893
|
-
#
|
46894
47254
|
# Users with the appropriate IAM permissions can unlock the snapshot,
|
46895
47255
|
# increase or decrease the lock duration, and change the lock mode to
|
46896
47256
|
# `compliance` at any time.
|
@@ -49663,6 +50023,8 @@ module Aws::EC2
|
|
49663
50023
|
# resp.launch_template.tags #=> Array
|
49664
50024
|
# resp.launch_template.tags[0].key #=> String
|
49665
50025
|
# resp.launch_template.tags[0].value #=> String
|
50026
|
+
# resp.launch_template.operator.managed #=> Boolean
|
50027
|
+
# resp.launch_template.operator.principal #=> String
|
49666
50028
|
#
|
49667
50029
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLaunchTemplate AWS API Documentation
|
49668
50030
|
#
|
@@ -52012,6 +52374,131 @@ module Aws::EC2
|
|
52012
52374
|
req.send_request(options)
|
52013
52375
|
end
|
52014
52376
|
|
52377
|
+
# Modify VPC Block Public Access (BPA) exclusions. A VPC BPA exclusion
|
52378
|
+
# is a mode that can be applied to a single VPC or subnet that exempts
|
52379
|
+
# it from the account’s BPA mode and will allow bidirectional or
|
52380
|
+
# egress-only access. You can create BPA exclusions for VPCs and subnets
|
52381
|
+
# even when BPA is not enabled on the account to ensure that there is no
|
52382
|
+
# traffic disruption to the exclusions when VPC BPA is turned on.
|
52383
|
+
#
|
52384
|
+
# @option params [Boolean] :dry_run
|
52385
|
+
# Checks whether you have the required permissions for the action,
|
52386
|
+
# without actually making the request, and provides an error response.
|
52387
|
+
# If you have the required permissions, the error response is
|
52388
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
52389
|
+
#
|
52390
|
+
# @option params [required, String] :exclusion_id
|
52391
|
+
# The ID of an exclusion.
|
52392
|
+
#
|
52393
|
+
# @option params [required, String] :internet_gateway_exclusion_mode
|
52394
|
+
# The exclusion mode for internet gateway traffic.
|
52395
|
+
#
|
52396
|
+
# * `bidirectional-access-allowed`: Allow all internet traffic to and
|
52397
|
+
# from the excluded VPCs and subnets.
|
52398
|
+
#
|
52399
|
+
# * `egress-access-allowed`: Allow outbound internet traffic from the
|
52400
|
+
# excluded VPCs and subnets. Block inbound internet traffic to the
|
52401
|
+
# excluded VPCs and subnets. Only applies when VPC Block Public Access
|
52402
|
+
# is set to Bidirectional.
|
52403
|
+
#
|
52404
|
+
# @return [Types::ModifyVpcBlockPublicAccessExclusionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
52405
|
+
#
|
52406
|
+
# * {Types::ModifyVpcBlockPublicAccessExclusionResult#vpc_block_public_access_exclusion #vpc_block_public_access_exclusion} => Types::VpcBlockPublicAccessExclusion
|
52407
|
+
#
|
52408
|
+
# @example Request syntax with placeholder values
|
52409
|
+
#
|
52410
|
+
# resp = client.modify_vpc_block_public_access_exclusion({
|
52411
|
+
# dry_run: false,
|
52412
|
+
# exclusion_id: "VpcBlockPublicAccessExclusionId", # required
|
52413
|
+
# internet_gateway_exclusion_mode: "allow-bidirectional", # required, accepts allow-bidirectional, allow-egress
|
52414
|
+
# })
|
52415
|
+
#
|
52416
|
+
# @example Response structure
|
52417
|
+
#
|
52418
|
+
# resp.vpc_block_public_access_exclusion.exclusion_id #=> String
|
52419
|
+
# resp.vpc_block_public_access_exclusion.internet_gateway_exclusion_mode #=> String, one of "allow-bidirectional", "allow-egress"
|
52420
|
+
# resp.vpc_block_public_access_exclusion.resource_arn #=> String
|
52421
|
+
# 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"
|
52422
|
+
# resp.vpc_block_public_access_exclusion.reason #=> String
|
52423
|
+
# resp.vpc_block_public_access_exclusion.creation_timestamp #=> Time
|
52424
|
+
# resp.vpc_block_public_access_exclusion.last_update_timestamp #=> Time
|
52425
|
+
# resp.vpc_block_public_access_exclusion.deletion_timestamp #=> Time
|
52426
|
+
# resp.vpc_block_public_access_exclusion.tags #=> Array
|
52427
|
+
# resp.vpc_block_public_access_exclusion.tags[0].key #=> String
|
52428
|
+
# resp.vpc_block_public_access_exclusion.tags[0].value #=> String
|
52429
|
+
#
|
52430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcBlockPublicAccessExclusion AWS API Documentation
|
52431
|
+
#
|
52432
|
+
# @overload modify_vpc_block_public_access_exclusion(params = {})
|
52433
|
+
# @param [Hash] params ({})
|
52434
|
+
def modify_vpc_block_public_access_exclusion(params = {}, options = {})
|
52435
|
+
req = build_request(:modify_vpc_block_public_access_exclusion, params)
|
52436
|
+
req.send_request(options)
|
52437
|
+
end
|
52438
|
+
|
52439
|
+
# Modify VPC Block Public Access (BPA) options. VPC Block public Access
|
52440
|
+
# (BPA) enables you to block resources in VPCs and subnets that you own
|
52441
|
+
# in a Region from reaching or being reached from the internet through
|
52442
|
+
# internet gateways and egress-only internet gateways. To learn more
|
52443
|
+
# about VPC BPA, see [Block public access to VPCs and subnets][1] in the
|
52444
|
+
# *Amazon VPC User Guide*.
|
52445
|
+
#
|
52446
|
+
#
|
52447
|
+
#
|
52448
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html
|
52449
|
+
#
|
52450
|
+
# @option params [Boolean] :dry_run
|
52451
|
+
# Checks whether you have the required permissions for the action,
|
52452
|
+
# without actually making the request, and provides an error response.
|
52453
|
+
# If you have the required permissions, the error response is
|
52454
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
52455
|
+
#
|
52456
|
+
# @option params [required, String] :internet_gateway_block_mode
|
52457
|
+
# The mode of VPC BPA.
|
52458
|
+
#
|
52459
|
+
# * `bidirectional-access-allowed`: VPC BPA is not enabled and traffic
|
52460
|
+
# is allowed to and from internet gateways and egress-only internet
|
52461
|
+
# gateways in this Region.
|
52462
|
+
#
|
52463
|
+
# * `bidirectional-access-blocked`: Block all traffic to and from
|
52464
|
+
# internet gateways and egress-only internet gateways in this Region
|
52465
|
+
# (except for excluded VPCs and subnets).
|
52466
|
+
#
|
52467
|
+
# * `ingress-access-blocked`: Block all internet traffic to the VPCs in
|
52468
|
+
# this Region (except for VPCs or subnets which are excluded). Only
|
52469
|
+
# traffic to and from NAT gateways and egress-only internet gateways
|
52470
|
+
# is allowed because these gateways only allow outbound connections to
|
52471
|
+
# be established.
|
52472
|
+
#
|
52473
|
+
# @return [Types::ModifyVpcBlockPublicAccessOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
52474
|
+
#
|
52475
|
+
# * {Types::ModifyVpcBlockPublicAccessOptionsResult#vpc_block_public_access_options #vpc_block_public_access_options} => Types::VpcBlockPublicAccessOptions
|
52476
|
+
#
|
52477
|
+
# @example Request syntax with placeholder values
|
52478
|
+
#
|
52479
|
+
# resp = client.modify_vpc_block_public_access_options({
|
52480
|
+
# dry_run: false,
|
52481
|
+
# internet_gateway_block_mode: "off", # required, accepts off, block-bidirectional, block-ingress
|
52482
|
+
# })
|
52483
|
+
#
|
52484
|
+
# @example Response structure
|
52485
|
+
#
|
52486
|
+
# resp.vpc_block_public_access_options.aws_account_id #=> String
|
52487
|
+
# resp.vpc_block_public_access_options.aws_region #=> String
|
52488
|
+
# resp.vpc_block_public_access_options.state #=> String, one of "default-state", "update-in-progress", "update-complete"
|
52489
|
+
# resp.vpc_block_public_access_options.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
52490
|
+
# resp.vpc_block_public_access_options.reason #=> String
|
52491
|
+
# resp.vpc_block_public_access_options.last_update_timestamp #=> Time
|
52492
|
+
#
|
52493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcBlockPublicAccessOptions AWS API Documentation
|
52494
|
+
#
|
52495
|
+
# @overload modify_vpc_block_public_access_options(params = {})
|
52496
|
+
# @param [Hash] params ({})
|
52497
|
+
def modify_vpc_block_public_access_options(params = {}, options = {})
|
52498
|
+
req = build_request(:modify_vpc_block_public_access_options, params)
|
52499
|
+
req.send_request(options)
|
52500
|
+
end
|
52501
|
+
|
52015
52502
|
# Modifies attributes of a specified VPC endpoint. The attributes that
|
52016
52503
|
# you can modify depend on the type of VPC endpoint (interface, gateway,
|
52017
52504
|
# or Gateway Load Balancer). For more information, see the [Amazon Web
|
@@ -57879,6 +58366,9 @@ module Aws::EC2
|
|
57879
58366
|
# first IPv6 GUA address associated with the ENI becomes the primary
|
57880
58367
|
# IPv6 address.
|
57881
58368
|
#
|
58369
|
+
# @option params [Types::OperatorRequest] :operator
|
58370
|
+
# Reserved for internal use.
|
58371
|
+
#
|
57882
58372
|
# @option params [Boolean] :dry_run
|
57883
58373
|
# Checks whether you have the required permissions for the operation,
|
57884
58374
|
# without actually making the request, and provides an error response.
|
@@ -58137,6 +58627,9 @@ module Aws::EC2
|
|
58137
58627
|
# },
|
58138
58628
|
# disable_api_stop: false,
|
58139
58629
|
# enable_primary_ipv_6: false,
|
58630
|
+
# operator: {
|
58631
|
+
# principal: "String",
|
58632
|
+
# },
|
58140
58633
|
# dry_run: false,
|
58141
58634
|
# disable_api_termination: false,
|
58142
58635
|
# instance_initiated_shutdown_behavior: "stop", # accepts stop, terminate
|
@@ -58221,6 +58714,8 @@ module Aws::EC2
|
|
58221
58714
|
# resp.instances[0].block_device_mappings[0].ebs.volume_id #=> String
|
58222
58715
|
# resp.instances[0].block_device_mappings[0].ebs.associated_resource #=> String
|
58223
58716
|
# resp.instances[0].block_device_mappings[0].ebs.volume_owner_id #=> String
|
58717
|
+
# resp.instances[0].block_device_mappings[0].ebs.operator.managed #=> Boolean
|
58718
|
+
# resp.instances[0].block_device_mappings[0].ebs.operator.principal #=> String
|
58224
58719
|
# resp.instances[0].client_token #=> String
|
58225
58720
|
# resp.instances[0].ebs_optimized #=> Boolean
|
58226
58721
|
# resp.instances[0].ena_support #=> Boolean
|
@@ -58285,6 +58780,8 @@ module Aws::EC2
|
|
58285
58780
|
# resp.instances[0].network_interfaces[0].connection_tracking_configuration.tcp_established_timeout #=> Integer
|
58286
58781
|
# resp.instances[0].network_interfaces[0].connection_tracking_configuration.udp_stream_timeout #=> Integer
|
58287
58782
|
# resp.instances[0].network_interfaces[0].connection_tracking_configuration.udp_timeout #=> Integer
|
58783
|
+
# resp.instances[0].network_interfaces[0].operator.managed #=> Boolean
|
58784
|
+
# resp.instances[0].network_interfaces[0].operator.principal #=> String
|
58288
58785
|
# resp.instances[0].outpost_arn #=> String
|
58289
58786
|
# resp.instances[0].root_device_name #=> String
|
58290
58787
|
# resp.instances[0].root_device_type #=> String, one of "ebs", "instance-store"
|
@@ -58328,6 +58825,8 @@ module Aws::EC2
|
|
58328
58825
|
# resp.instances[0].tpm_support #=> String
|
58329
58826
|
# resp.instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
|
58330
58827
|
# resp.instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
|
58828
|
+
# resp.instances[0].operator.managed #=> Boolean
|
58829
|
+
# resp.instances[0].operator.principal #=> String
|
58331
58830
|
# resp.instances[0].instance_id #=> String
|
58332
58831
|
# resp.instances[0].image_id #=> String
|
58333
58832
|
# resp.instances[0].state.code #=> Integer
|
@@ -60849,7 +61348,7 @@ module Aws::EC2
|
|
60849
61348
|
tracer: tracer
|
60850
61349
|
)
|
60851
61350
|
context[:gem_name] = 'aws-sdk-ec2'
|
60852
|
-
context[:gem_version] = '1.
|
61351
|
+
context[:gem_version] = '1.491.0'
|
60853
61352
|
Seahorse::Client::Request.new(handlers, context)
|
60854
61353
|
end
|
60855
61354
|
|