aws-sdk-ec2 1.135.0 → 1.140.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +253 -39
- data/lib/aws-sdk-ec2/client_api.rb +91 -0
- data/lib/aws-sdk-ec2/image.rb +27 -0
- data/lib/aws-sdk-ec2/resource.rb +13 -0
- data/lib/aws-sdk-ec2/types.rb +354 -17
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e32afaaafd160e212dfd8de543cf91346d527a6
|
4
|
+
data.tar.gz: 2dadc0e4462312a7f646440e018f2868b4e7197a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ae15e531ac4d2ffa52067361686362aa7edf4b8618d81417b4cad98805501dee0e9f4e70cffd26c8957ac4cf30183b65ebe3e55ef5405e83a00da6183ec349b
|
7
|
+
data.tar.gz: 4ae7bca69474b402b6d0efae852f5393b39a315627fcd33464e05cb4c834e495e1ab6c84f95df795c7a9d04af968083f2c0b8094c917cbfbd5b159634a42ab2b
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -519,8 +519,8 @@ module Aws::EC2
|
|
519
519
|
req.send_request(options)
|
520
520
|
end
|
521
521
|
|
522
|
-
# Advertises an IPv4 address range that is provisioned for use
|
523
|
-
# AWS resources through bring your own IP addresses (BYOIP).
|
522
|
+
# Advertises an IPv4 or IPv6 address range that is provisioned for use
|
523
|
+
# with your AWS resources through bring your own IP addresses (BYOIP).
|
524
524
|
#
|
525
525
|
# You can perform this operation at most once every 10 seconds, even if
|
526
526
|
# you specify different address ranges each time.
|
@@ -537,8 +537,8 @@ module Aws::EC2
|
|
537
537
|
# To stop advertising the BYOIP CIDR, use WithdrawByoipCidr.
|
538
538
|
#
|
539
539
|
# @option params [required, String] :cidr
|
540
|
-
# The
|
541
|
-
#
|
540
|
+
# The address range, in CIDR notation. This must be the exact range that
|
541
|
+
# you provisioned. You can't advertise only a portion of the
|
542
542
|
# provisioned range.
|
543
543
|
#
|
544
544
|
# @option params [Boolean] :dry_run
|
@@ -563,7 +563,7 @@ module Aws::EC2
|
|
563
563
|
# resp.byoip_cidr.cidr #=> String
|
564
564
|
# resp.byoip_cidr.description #=> String
|
565
565
|
# resp.byoip_cidr.status_message #=> String
|
566
|
-
# resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned"
|
566
|
+
# resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned", "provisioned-not-publicly-advertisable"
|
567
567
|
#
|
568
568
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AdvertiseByoipCidr AWS API Documentation
|
569
569
|
#
|
@@ -1588,16 +1588,19 @@ module Aws::EC2
|
|
1588
1588
|
end
|
1589
1589
|
|
1590
1590
|
# Associates a CIDR block with your VPC. You can associate a secondary
|
1591
|
-
# IPv4 CIDR block,
|
1592
|
-
# block
|
1591
|
+
# IPv4 CIDR block, an Amazon-provided IPv6 CIDR block, or an IPv6 CIDR
|
1592
|
+
# block from an IPv6 address pool that you provisioned through bring
|
1593
|
+
# your own IP addresses ([BYOIP][1]). The IPv6 CIDR block size is fixed
|
1594
|
+
# at /56.
|
1593
1595
|
#
|
1594
1596
|
# For more information about associating CIDR blocks with your VPC and
|
1595
|
-
# applicable restrictions, see [VPC and Subnet Sizing][
|
1597
|
+
# applicable restrictions, see [VPC and Subnet Sizing][2] in the *Amazon
|
1596
1598
|
# Virtual Private Cloud User Guide*.
|
1597
1599
|
#
|
1598
1600
|
#
|
1599
1601
|
#
|
1600
|
-
# [1]: https://docs.aws.amazon.com/
|
1602
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
|
1603
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#VPC_Sizing
|
1601
1604
|
#
|
1602
1605
|
# @option params [Boolean] :amazon_provided_ipv_6_cidr_block
|
1603
1606
|
# Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
|
@@ -1610,6 +1613,16 @@ module Aws::EC2
|
|
1610
1613
|
# @option params [required, String] :vpc_id
|
1611
1614
|
# The ID of the VPC.
|
1612
1615
|
#
|
1616
|
+
# @option params [String] :ipv_6_pool
|
1617
|
+
# The ID of an IPv6 address pool from which to allocate the IPv6 CIDR
|
1618
|
+
# block.
|
1619
|
+
#
|
1620
|
+
# @option params [String] :ipv_6_cidr_block
|
1621
|
+
# An IPv6 CIDR block from the IPv6 address pool. You must also specify
|
1622
|
+
# `Ipv6Pool` in the request.
|
1623
|
+
#
|
1624
|
+
# To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
|
1625
|
+
#
|
1613
1626
|
# @option params [String] :ipv_6_cidr_block_network_border_group
|
1614
1627
|
# The name of the location from which we advertise the IPV6 CIDR block.
|
1615
1628
|
# Use this parameter to limit the CiDR block to this location.
|
@@ -1631,6 +1644,8 @@ module Aws::EC2
|
|
1631
1644
|
# amazon_provided_ipv_6_cidr_block: false,
|
1632
1645
|
# cidr_block: "String",
|
1633
1646
|
# vpc_id: "VpcId", # required
|
1647
|
+
# ipv_6_pool: "String",
|
1648
|
+
# ipv_6_cidr_block: "String",
|
1634
1649
|
# ipv_6_cidr_block_network_border_group: "String",
|
1635
1650
|
# })
|
1636
1651
|
#
|
@@ -1640,6 +1655,7 @@ module Aws::EC2
|
|
1640
1655
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block #=> String
|
1641
1656
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
1642
1657
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.status_message #=> String
|
1658
|
+
# resp.ipv_6_cidr_block_association.ipv_6_pool #=> String
|
1643
1659
|
# resp.ipv_6_cidr_block_association.network_border_group #=> String
|
1644
1660
|
# resp.cidr_block_association.association_id #=> String
|
1645
1661
|
# resp.cidr_block_association.cidr_block #=> String
|
@@ -4063,6 +4079,7 @@ module Aws::EC2
|
|
4063
4079
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
|
4064
4080
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
4065
4081
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
|
4082
|
+
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_pool #=> String
|
4066
4083
|
# resp.vpc.ipv_6_cidr_block_association_set[0].network_border_group #=> String
|
4067
4084
|
# resp.vpc.cidr_block_association_set #=> Array
|
4068
4085
|
# resp.vpc.cidr_block_association_set[0].association_id #=> String
|
@@ -4607,6 +4624,21 @@ module Aws::EC2
|
|
4607
4624
|
#
|
4608
4625
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
|
4609
4626
|
#
|
4627
|
+
# @option params [Integer] :max_aggregation_interval
|
4628
|
+
# The maximum interval of time during which a flow of packets is
|
4629
|
+
# captured and aggregated into a flow log record. You can specify 60
|
4630
|
+
# seconds (1 minute) or 600 seconds (10 minutes).
|
4631
|
+
#
|
4632
|
+
# For network interfaces attached to [Nitro-based instances][1], the
|
4633
|
+
# aggregation interval is always 60 seconds, regardless of the value
|
4634
|
+
# that you specify.
|
4635
|
+
#
|
4636
|
+
# Default: 600
|
4637
|
+
#
|
4638
|
+
#
|
4639
|
+
#
|
4640
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
4641
|
+
#
|
4610
4642
|
# @return [Types::CreateFlowLogsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4611
4643
|
#
|
4612
4644
|
# * {Types::CreateFlowLogsResult#client_token #client_token} => String
|
@@ -4626,6 +4658,7 @@ module Aws::EC2
|
|
4626
4658
|
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
4627
4659
|
# log_destination: "String",
|
4628
4660
|
# log_format: "String",
|
4661
|
+
# max_aggregation_interval: 1,
|
4629
4662
|
# })
|
4630
4663
|
#
|
4631
4664
|
# @example Response structure
|
@@ -8509,26 +8542,27 @@ module Aws::EC2
|
|
8509
8542
|
# how large to make your VPC, see [Your VPC and Subnets][1] in the
|
8510
8543
|
# *Amazon Virtual Private Cloud User Guide*.
|
8511
8544
|
#
|
8512
|
-
# You can optionally request an
|
8513
|
-
#
|
8514
|
-
#
|
8515
|
-
#
|
8545
|
+
# You can optionally request an IPv6 CIDR block for the VPC. You can
|
8546
|
+
# request an Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6
|
8547
|
+
# addresses, or an IPv6 CIDR block from an IPv6 address pool that you
|
8548
|
+
# provisioned through bring your own IP addresses ([BYOIP][2]).
|
8516
8549
|
#
|
8517
8550
|
# By default, each instance you launch in the VPC has the default DHCP
|
8518
8551
|
# options, which include only a default DNS server that we provide
|
8519
|
-
# (AmazonProvidedDNS). For more information, see [DHCP Options Sets][
|
8552
|
+
# (AmazonProvidedDNS). For more information, see [DHCP Options Sets][3]
|
8520
8553
|
# in the *Amazon Virtual Private Cloud User Guide*.
|
8521
8554
|
#
|
8522
8555
|
# You can specify the instance tenancy value for the VPC when you create
|
8523
8556
|
# it. You can't change this value for the VPC after you create it. For
|
8524
|
-
# more information, see [Dedicated Instances][
|
8557
|
+
# more information, see [Dedicated Instances][4] in the *Amazon Elastic
|
8525
8558
|
# Compute Cloud User Guide*.
|
8526
8559
|
#
|
8527
8560
|
#
|
8528
8561
|
#
|
8529
8562
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
8530
|
-
# [2]: https://docs.aws.amazon.com/
|
8531
|
-
# [3]: https://docs.aws.amazon.com/
|
8563
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
|
8564
|
+
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html
|
8565
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html
|
8532
8566
|
#
|
8533
8567
|
# @option params [required, String] :cidr_block
|
8534
8568
|
# The IPv4 network range for the VPC, in CIDR notation. For example,
|
@@ -8539,6 +8573,16 @@ module Aws::EC2
|
|
8539
8573
|
# for the VPC. You cannot specify the range of IP addresses, or the size
|
8540
8574
|
# of the CIDR block.
|
8541
8575
|
#
|
8576
|
+
# @option params [String] :ipv_6_pool
|
8577
|
+
# The ID of an IPv6 address pool from which to allocate the IPv6 CIDR
|
8578
|
+
# block.
|
8579
|
+
#
|
8580
|
+
# @option params [String] :ipv_6_cidr_block
|
8581
|
+
# The IPv6 CIDR block from the IPv6 address pool. You must also specify
|
8582
|
+
# `Ipv6Pool` in the request.
|
8583
|
+
#
|
8584
|
+
# To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
|
8585
|
+
#
|
8542
8586
|
# @option params [Boolean] :dry_run
|
8543
8587
|
# Checks whether you have the required permissions for the action,
|
8544
8588
|
# without actually making the request, and provides an error response.
|
@@ -8594,6 +8638,8 @@ module Aws::EC2
|
|
8594
8638
|
# resp = client.create_vpc({
|
8595
8639
|
# cidr_block: "String", # required
|
8596
8640
|
# amazon_provided_ipv_6_cidr_block: false,
|
8641
|
+
# ipv_6_pool: "String",
|
8642
|
+
# ipv_6_cidr_block: "String",
|
8597
8643
|
# dry_run: false,
|
8598
8644
|
# instance_tenancy: "default", # accepts default, dedicated, host
|
8599
8645
|
# ipv_6_cidr_block_network_border_group: "String",
|
@@ -8612,6 +8658,7 @@ module Aws::EC2
|
|
8612
8658
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
|
8613
8659
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
8614
8660
|
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
|
8661
|
+
# resp.vpc.ipv_6_cidr_block_association_set[0].ipv_6_pool #=> String
|
8615
8662
|
# resp.vpc.ipv_6_cidr_block_association_set[0].network_border_group #=> String
|
8616
8663
|
# resp.vpc.cidr_block_association_set #=> Array
|
8617
8664
|
# resp.vpc.cidr_block_association_set[0].association_id #=> String
|
@@ -8716,6 +8763,9 @@ module Aws::EC2
|
|
8716
8763
|
#
|
8717
8764
|
# Default: `true`
|
8718
8765
|
#
|
8766
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
8767
|
+
# The tags to associate with the endpoint.
|
8768
|
+
#
|
8719
8769
|
# @return [Types::CreateVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8720
8770
|
#
|
8721
8771
|
# * {Types::CreateVpcEndpointResult#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
|
@@ -8734,6 +8784,17 @@ module Aws::EC2
|
|
8734
8784
|
# security_group_ids: ["String"],
|
8735
8785
|
# client_token: "String",
|
8736
8786
|
# private_dns_enabled: false,
|
8787
|
+
# tag_specifications: [
|
8788
|
+
# {
|
8789
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
8790
|
+
# tags: [
|
8791
|
+
# {
|
8792
|
+
# key: "String",
|
8793
|
+
# value: "String",
|
8794
|
+
# },
|
8795
|
+
# ],
|
8796
|
+
# },
|
8797
|
+
# ],
|
8737
8798
|
# })
|
8738
8799
|
#
|
8739
8800
|
# @example Response structure
|
@@ -8900,6 +8961,9 @@ module Aws::EC2
|
|
8900
8961
|
#
|
8901
8962
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
8902
8963
|
#
|
8964
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
8965
|
+
# The tags to associate with the service.
|
8966
|
+
#
|
8903
8967
|
# @return [Types::CreateVpcEndpointServiceConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8904
8968
|
#
|
8905
8969
|
# * {Types::CreateVpcEndpointServiceConfigurationResult#service_configuration #service_configuration} => Types::ServiceConfiguration
|
@@ -8913,6 +8977,17 @@ module Aws::EC2
|
|
8913
8977
|
# private_dns_name: "String",
|
8914
8978
|
# network_load_balancer_arns: ["String"], # required
|
8915
8979
|
# client_token: "String",
|
8980
|
+
# tag_specifications: [
|
8981
|
+
# {
|
8982
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
8983
|
+
# tags: [
|
8984
|
+
# {
|
8985
|
+
# key: "String",
|
8986
|
+
# value: "String",
|
8987
|
+
# },
|
8988
|
+
# ],
|
8989
|
+
# },
|
8990
|
+
# ],
|
8916
8991
|
# })
|
8917
8992
|
#
|
8918
8993
|
# @example Response structure
|
@@ -11430,9 +11505,8 @@ module Aws::EC2
|
|
11430
11505
|
# allocated from its address range.
|
11431
11506
|
#
|
11432
11507
|
# @option params [required, String] :cidr
|
11433
|
-
# The
|
11434
|
-
#
|
11435
|
-
# range.
|
11508
|
+
# The address range, in CIDR notation. The prefix must be the same
|
11509
|
+
# prefix that you specified when you provisioned the address range.
|
11436
11510
|
#
|
11437
11511
|
# @option params [Boolean] :dry_run
|
11438
11512
|
# Checks whether you have the required permissions for the action,
|
@@ -11456,7 +11530,7 @@ module Aws::EC2
|
|
11456
11530
|
# resp.byoip_cidr.cidr #=> String
|
11457
11531
|
# resp.byoip_cidr.description #=> String
|
11458
11532
|
# resp.byoip_cidr.status_message #=> String
|
11459
|
-
# resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned"
|
11533
|
+
# resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned", "provisioned-not-publicly-advertisable"
|
11460
11534
|
#
|
11461
11535
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeprovisionByoipCidr AWS API Documentation
|
11462
11536
|
#
|
@@ -12236,7 +12310,7 @@ module Aws::EC2
|
|
12236
12310
|
# ProvisionByoipCidr.
|
12237
12311
|
#
|
12238
12312
|
# To describe the address pools that were created when you provisioned
|
12239
|
-
# the address ranges, use DescribePublicIpv4Pools.
|
12313
|
+
# the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.
|
12240
12314
|
#
|
12241
12315
|
# @option params [Boolean] :dry_run
|
12242
12316
|
# Checks whether you have the required permissions for the action,
|
@@ -12271,7 +12345,7 @@ module Aws::EC2
|
|
12271
12345
|
# resp.byoip_cidrs[0].cidr #=> String
|
12272
12346
|
# resp.byoip_cidrs[0].description #=> String
|
12273
12347
|
# resp.byoip_cidrs[0].status_message #=> String
|
12274
|
-
# resp.byoip_cidrs[0].state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned"
|
12348
|
+
# resp.byoip_cidrs[0].state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned", "provisioned-not-publicly-advertisable"
|
12275
12349
|
# resp.next_token #=> String
|
12276
12350
|
#
|
12277
12351
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeByoipCidrs AWS API Documentation
|
@@ -13935,6 +14009,7 @@ module Aws::EC2
|
|
13935
14009
|
# resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3"
|
13936
14010
|
# resp.flow_logs[0].log_destination #=> String
|
13937
14011
|
# resp.flow_logs[0].log_format #=> String
|
14012
|
+
# resp.flow_logs[0].max_aggregation_interval #=> Integer
|
13938
14013
|
# resp.next_token #=> String
|
13939
14014
|
#
|
13940
14015
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs AWS API Documentation
|
@@ -14915,6 +14990,8 @@ module Aws::EC2
|
|
14915
14990
|
# resp.images[0].kernel_id #=> String
|
14916
14991
|
# resp.images[0].owner_id #=> String
|
14917
14992
|
# resp.images[0].platform #=> String, one of "Windows"
|
14993
|
+
# resp.images[0].platform_details #=> String
|
14994
|
+
# resp.images[0].usage_operation #=> String
|
14918
14995
|
# resp.images[0].product_codes #=> Array
|
14919
14996
|
# resp.images[0].product_codes[0].product_code_id #=> String
|
14920
14997
|
# resp.images[0].product_codes[0].product_code_type #=> String, one of "devpay", "marketplace"
|
@@ -16478,6 +16555,79 @@ module Aws::EC2
|
|
16478
16555
|
req.send_request(options)
|
16479
16556
|
end
|
16480
16557
|
|
16558
|
+
# Describes your IPv6 address pools.
|
16559
|
+
#
|
16560
|
+
# @option params [Array<String>] :pool_ids
|
16561
|
+
# The IDs of the IPv6 address pools.
|
16562
|
+
#
|
16563
|
+
# @option params [String] :next_token
|
16564
|
+
# The token for the next page of results.
|
16565
|
+
#
|
16566
|
+
# @option params [Integer] :max_results
|
16567
|
+
# The maximum number of results to return with a single call. To
|
16568
|
+
# retrieve the remaining results, make another call with the returned
|
16569
|
+
# `nextToken` value.
|
16570
|
+
#
|
16571
|
+
# @option params [Boolean] :dry_run
|
16572
|
+
# Checks whether you have the required permissions for the action,
|
16573
|
+
# without actually making the request, and provides an error response.
|
16574
|
+
# If you have the required permissions, the error response is
|
16575
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
16576
|
+
#
|
16577
|
+
# @option params [Array<Types::Filter>] :filters
|
16578
|
+
# One or more filters.
|
16579
|
+
#
|
16580
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
16581
|
+
# the resource. Use the tag key in the filter name and the tag value
|
16582
|
+
# as the filter value. For example, to find all resources that have a
|
16583
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
16584
|
+
# for the filter name and `TeamA` for the filter value.
|
16585
|
+
#
|
16586
|
+
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
16587
|
+
# filter to find all resources assigned a tag with a specific key,
|
16588
|
+
# regardless of the tag value.
|
16589
|
+
#
|
16590
|
+
# @return [Types::DescribeIpv6PoolsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
16591
|
+
#
|
16592
|
+
# * {Types::DescribeIpv6PoolsResult#ipv_6_pools #ipv_6_pools} => Array<Types::Ipv6Pool>
|
16593
|
+
# * {Types::DescribeIpv6PoolsResult#next_token #next_token} => String
|
16594
|
+
#
|
16595
|
+
# @example Request syntax with placeholder values
|
16596
|
+
#
|
16597
|
+
# resp = client.describe_ipv_6_pools({
|
16598
|
+
# pool_ids: ["String"],
|
16599
|
+
# next_token: "NextToken",
|
16600
|
+
# max_results: 1,
|
16601
|
+
# dry_run: false,
|
16602
|
+
# filters: [
|
16603
|
+
# {
|
16604
|
+
# name: "String",
|
16605
|
+
# values: ["String"],
|
16606
|
+
# },
|
16607
|
+
# ],
|
16608
|
+
# })
|
16609
|
+
#
|
16610
|
+
# @example Response structure
|
16611
|
+
#
|
16612
|
+
# resp.ipv_6_pools #=> Array
|
16613
|
+
# resp.ipv_6_pools[0].pool_id #=> String
|
16614
|
+
# resp.ipv_6_pools[0].description #=> String
|
16615
|
+
# resp.ipv_6_pools[0].pool_cidr_blocks #=> Array
|
16616
|
+
# resp.ipv_6_pools[0].pool_cidr_blocks[0].cidr #=> String
|
16617
|
+
# resp.ipv_6_pools[0].tags #=> Array
|
16618
|
+
# resp.ipv_6_pools[0].tags[0].key #=> String
|
16619
|
+
# resp.ipv_6_pools[0].tags[0].value #=> String
|
16620
|
+
# resp.next_token #=> String
|
16621
|
+
#
|
16622
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpv6Pools AWS API Documentation
|
16623
|
+
#
|
16624
|
+
# @overload describe_ipv_6_pools(params = {})
|
16625
|
+
# @param [Hash] params ({})
|
16626
|
+
def describe_ipv_6_pools(params = {}, options = {})
|
16627
|
+
req = build_request(:describe_ipv_6_pools, params)
|
16628
|
+
req.send_request(options)
|
16629
|
+
end
|
16630
|
+
|
16481
16631
|
# Describes the specified key pairs or all of your key pairs.
|
16482
16632
|
#
|
16483
16633
|
# For more information about key pairs, see [Key Pairs][1] in the
|
@@ -23804,6 +23954,9 @@ module Aws::EC2
|
|
23804
23954
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
23805
23955
|
# associated with the VPC.
|
23806
23956
|
#
|
23957
|
+
# * `ipv6-cidr-block-association.ipv6-pool` - The ID of the IPv6 address
|
23958
|
+
# pool from which the IPv6 CIDR block is allocated.
|
23959
|
+
#
|
23807
23960
|
# * `ipv6-cidr-block-association.association-id` - The association ID
|
23808
23961
|
# for an IPv6 CIDR block associated with the VPC.
|
23809
23962
|
#
|
@@ -23912,6 +24065,7 @@ module Aws::EC2
|
|
23912
24065
|
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
|
23913
24066
|
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
23914
24067
|
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
|
24068
|
+
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].ipv_6_pool #=> String
|
23915
24069
|
# resp.vpcs[0].ipv_6_cidr_block_association_set[0].network_border_group #=> String
|
23916
24070
|
# resp.vpcs[0].cidr_block_association_set #=> Array
|
23917
24071
|
# resp.vpcs[0].cidr_block_association_set[0].association_id #=> String
|
@@ -25095,6 +25249,7 @@ module Aws::EC2
|
|
25095
25249
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block #=> String
|
25096
25250
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
25097
25251
|
# resp.ipv_6_cidr_block_association.ipv_6_cidr_block_state.status_message #=> String
|
25252
|
+
# resp.ipv_6_cidr_block_association.ipv_6_pool #=> String
|
25098
25253
|
# resp.ipv_6_cidr_block_association.network_border_group #=> String
|
25099
25254
|
# resp.cidr_block_association.association_id #=> String
|
25100
25255
|
# resp.cidr_block_association.cidr_block #=> String
|
@@ -25682,6 +25837,56 @@ module Aws::EC2
|
|
25682
25837
|
req.send_request(options)
|
25683
25838
|
end
|
25684
25839
|
|
25840
|
+
# Gets information about the IPv6 CIDR block associations for a
|
25841
|
+
# specified IPv6 address pool.
|
25842
|
+
#
|
25843
|
+
# @option params [required, String] :pool_id
|
25844
|
+
# The ID of the IPv6 address pool.
|
25845
|
+
#
|
25846
|
+
# @option params [String] :next_token
|
25847
|
+
# The token for the next page of results.
|
25848
|
+
#
|
25849
|
+
# @option params [Integer] :max_results
|
25850
|
+
# The maximum number of results to return with a single call. To
|
25851
|
+
# retrieve the remaining results, make another call with the returned
|
25852
|
+
# `nextToken` value.
|
25853
|
+
#
|
25854
|
+
# @option params [Boolean] :dry_run
|
25855
|
+
# Checks whether you have the required permissions for the action,
|
25856
|
+
# without actually making the request, and provides an error response.
|
25857
|
+
# If you have the required permissions, the error response is
|
25858
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25859
|
+
#
|
25860
|
+
# @return [Types::GetAssociatedIpv6PoolCidrsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
25861
|
+
#
|
25862
|
+
# * {Types::GetAssociatedIpv6PoolCidrsResult#ipv_6_cidr_associations #ipv_6_cidr_associations} => Array<Types::Ipv6CidrAssociation>
|
25863
|
+
# * {Types::GetAssociatedIpv6PoolCidrsResult#next_token #next_token} => String
|
25864
|
+
#
|
25865
|
+
# @example Request syntax with placeholder values
|
25866
|
+
#
|
25867
|
+
# resp = client.get_associated_ipv_6_pool_cidrs({
|
25868
|
+
# pool_id: "String", # required
|
25869
|
+
# next_token: "NextToken",
|
25870
|
+
# max_results: 1,
|
25871
|
+
# dry_run: false,
|
25872
|
+
# })
|
25873
|
+
#
|
25874
|
+
# @example Response structure
|
25875
|
+
#
|
25876
|
+
# resp.ipv_6_cidr_associations #=> Array
|
25877
|
+
# resp.ipv_6_cidr_associations[0].ipv_6_cidr #=> String
|
25878
|
+
# resp.ipv_6_cidr_associations[0].associated_resource #=> String
|
25879
|
+
# resp.next_token #=> String
|
25880
|
+
#
|
25881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAssociatedIpv6PoolCidrs AWS API Documentation
|
25882
|
+
#
|
25883
|
+
# @overload get_associated_ipv_6_pool_cidrs(params = {})
|
25884
|
+
# @param [Hash] params ({})
|
25885
|
+
def get_associated_ipv_6_pool_cidrs(params = {}, options = {})
|
25886
|
+
req = build_request(:get_associated_ipv_6_pool_cidrs, params)
|
25887
|
+
req.send_request(options)
|
25888
|
+
end
|
25889
|
+
|
25685
25890
|
# Gets usage information about a Capacity Reservation. If the Capacity
|
25686
25891
|
# Reservation is shared, it shows usage information for the Capacity
|
25687
25892
|
# Reservation owner and each AWS account that is currently using the
|
@@ -30784,10 +30989,10 @@ module Aws::EC2
|
|
30784
30989
|
req.send_request(options)
|
30785
30990
|
end
|
30786
30991
|
|
30787
|
-
# Provisions an address range for use with your AWS
|
30788
|
-
# bring your own IP addresses (BYOIP) and creates a
|
30789
|
-
# address pool. After the address range is provisioned, it
|
30790
|
-
# be advertised using AdvertiseByoipCidr.
|
30992
|
+
# Provisions an IPv4 or IPv6 address range for use with your AWS
|
30993
|
+
# resources through bring your own IP addresses (BYOIP) and creates a
|
30994
|
+
# corresponding address pool. After the address range is provisioned, it
|
30995
|
+
# is ready to be advertised using AdvertiseByoipCidr.
|
30791
30996
|
#
|
30792
30997
|
# AWS verifies that you own the address range and are authorized to
|
30793
30998
|
# advertise it. You must ensure that the address range is registered to
|
@@ -30800,7 +31005,7 @@ module Aws::EC2
|
|
30800
31005
|
# call returns immediately, but the address range is not ready to use
|
30801
31006
|
# until its status changes from `pending-provision` to `provisioned`. To
|
30802
31007
|
# monitor the status of an address range, use DescribeByoipCidrs. To
|
30803
|
-
# allocate an Elastic IP address from your address pool, use
|
31008
|
+
# allocate an Elastic IP address from your IPv4 address pool, use
|
30804
31009
|
# AllocateAddress with either the specific address from the address pool
|
30805
31010
|
# or the ID of the address pool.
|
30806
31011
|
#
|
@@ -30809,8 +31014,9 @@ module Aws::EC2
|
|
30809
31014
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
|
30810
31015
|
#
|
30811
31016
|
# @option params [required, String] :cidr
|
30812
|
-
# The public IPv4 address range, in CIDR notation. The most
|
30813
|
-
# prefix that you can specify is /24. The
|
31017
|
+
# The public IPv4 or IPv6 address range, in CIDR notation. The most
|
31018
|
+
# specific IPv4 prefix that you can specify is /24. The most specific
|
31019
|
+
# IPv6 prefix you can specify is /56. The address range cannot overlap
|
30814
31020
|
# with another address range that you've brought to this or another
|
30815
31021
|
# Region.
|
30816
31022
|
#
|
@@ -30818,6 +31024,12 @@ module Aws::EC2
|
|
30818
31024
|
# A signed document that proves that you are authorized to bring the
|
30819
31025
|
# specified IP address range to Amazon using BYOIP.
|
30820
31026
|
#
|
31027
|
+
# @option params [Boolean] :publicly_advertisable
|
31028
|
+
# (IPv6 only) Indicate whether the address range will be publicly
|
31029
|
+
# advertised to the internet.
|
31030
|
+
#
|
31031
|
+
# Default: true
|
31032
|
+
#
|
30821
31033
|
# @option params [String] :description
|
30822
31034
|
# A description for the address range and the address pool.
|
30823
31035
|
#
|
@@ -30839,6 +31051,7 @@ module Aws::EC2
|
|
30839
31051
|
# message: "String", # required
|
30840
31052
|
# signature: "String", # required
|
30841
31053
|
# },
|
31054
|
+
# publicly_advertisable: false,
|
30842
31055
|
# description: "String",
|
30843
31056
|
# dry_run: false,
|
30844
31057
|
# })
|
@@ -30848,7 +31061,7 @@ module Aws::EC2
|
|
30848
31061
|
# resp.byoip_cidr.cidr #=> String
|
30849
31062
|
# resp.byoip_cidr.description #=> String
|
30850
31063
|
# resp.byoip_cidr.status_message #=> String
|
30851
|
-
# resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned"
|
31064
|
+
# resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned", "provisioned-not-publicly-advertisable"
|
30852
31065
|
#
|
30853
31066
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionByoipCidr AWS API Documentation
|
30854
31067
|
#
|
@@ -31219,15 +31432,16 @@ module Aws::EC2
|
|
31219
31432
|
# (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing
|
31220
31433
|
# product code associated with an AMI to verify the subscription status
|
31221
31434
|
# for package updates. To create a new AMI for operating systems that
|
31222
|
-
# require a billing product code,
|
31435
|
+
# require a billing product code, instead of instead of registering the
|
31436
|
+
# AMI, do the following to preserve the billing product code
|
31437
|
+
# association:
|
31223
31438
|
#
|
31224
31439
|
# 1. Launch an instance from an existing AMI with that billing product
|
31225
31440
|
# code.
|
31226
31441
|
#
|
31227
31442
|
# 2. Customize the instance.
|
31228
31443
|
#
|
31229
|
-
# 3. Create
|
31230
|
-
# the billing product code association.
|
31444
|
+
# 3. Create an AMI from the instance using CreateImage.
|
31231
31445
|
#
|
31232
31446
|
# If you purchase a Reserved Instance to apply to an On-Demand Instance
|
31233
31447
|
# that was launched from an AMI with a billing product code, make sure
|
@@ -35654,8 +35868,8 @@ module Aws::EC2
|
|
35654
35868
|
req.send_request(options)
|
35655
35869
|
end
|
35656
35870
|
|
35657
|
-
# Stops advertising an
|
35658
|
-
#
|
35871
|
+
# Stops advertising an address range that is provisioned as an address
|
35872
|
+
# pool.
|
35659
35873
|
#
|
35660
35874
|
# You can perform this operation at most once every 10 seconds, even if
|
35661
35875
|
# you specify different address ranges each time.
|
@@ -35664,7 +35878,7 @@ module Aws::EC2
|
|
35664
35878
|
# stops routing to AWS because of BGP propagation delays.
|
35665
35879
|
#
|
35666
35880
|
# @option params [required, String] :cidr
|
35667
|
-
# The
|
35881
|
+
# The address range, in CIDR notation.
|
35668
35882
|
#
|
35669
35883
|
# @option params [Boolean] :dry_run
|
35670
35884
|
# Checks whether you have the required permissions for the action,
|
@@ -35688,7 +35902,7 @@ module Aws::EC2
|
|
35688
35902
|
# resp.byoip_cidr.cidr #=> String
|
35689
35903
|
# resp.byoip_cidr.description #=> String
|
35690
35904
|
# resp.byoip_cidr.status_message #=> String
|
35691
|
-
# resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned"
|
35905
|
+
# resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned", "provisioned-not-publicly-advertisable"
|
35692
35906
|
#
|
35693
35907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/WithdrawByoipCidr AWS API Documentation
|
35694
35908
|
#
|
@@ -35712,7 +35926,7 @@ module Aws::EC2
|
|
35712
35926
|
params: params,
|
35713
35927
|
config: config)
|
35714
35928
|
context[:gem_name] = 'aws-sdk-ec2'
|
35715
|
-
context[:gem_version] = '1.
|
35929
|
+
context[:gem_version] = '1.140.0'
|
35716
35930
|
Seahorse::Client::Request.new(handlers, context)
|
35717
35931
|
end
|
35718
35932
|
|