aws-sdk-ec2 1.302.0 → 1.303.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +35 -4
- data/lib/aws-sdk-ec2/client_api.rb +2 -1
- data/lib/aws-sdk-ec2/types.rb +30 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecad19d176ce3abd63ed2fb22ac90192eacb8cbbea2fd1c7fd11cc779a97fc47
|
4
|
+
data.tar.gz: 4b1e5d91d16e267279068ceb806352ae256f77545b40dec3ccc0c9d2ce488fb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef765515a993d85ba06b1ab9d11508c2b56ace78287aa024d9539d0e70c957b2f2d941fde2a95c260e945aafd931c893504c385680032e5d5467e5a69a103f22
|
7
|
+
data.tar.gz: 47b81b148a06ba5a52d95587019c31e2b524a08fdc06b1bc41dc669f9396c4e2d2ef95cf20e3710c6c80c78277ffb4e398e5936b21374c7f5201593444210905
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.303.0 (2022-03-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds the Cascade parameter to the DeleteIpam API. Customers can use this parameter to automatically delete their IPAM, including non-default scopes, pools, cidrs, and allocations. There mustn't be any pools provisioned in the default public scope to use this parameter.
|
8
|
+
|
4
9
|
1.302.0 (2022-03-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.303.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -13721,6 +13721,30 @@ module Aws::EC2
|
|
13721
13721
|
# @option params [required, String] :ipam_id
|
13722
13722
|
# The ID of the IPAM to delete.
|
13723
13723
|
#
|
13724
|
+
# @option params [Boolean] :cascade
|
13725
|
+
# Enables you to quickly delete an IPAM, private scopes, pools in
|
13726
|
+
# private scopes, and any allocations in the pools in private scopes.
|
13727
|
+
# You cannot delete the IPAM with this option if there is a pool in your
|
13728
|
+
# public scope. If you use this option, IPAM does the following:
|
13729
|
+
#
|
13730
|
+
# * Deallocates any CIDRs allocated to VPC resources (such as VPCs) in
|
13731
|
+
# pools in private scopes.
|
13732
|
+
#
|
13733
|
+
# <note markdown="1"> No VPC resources are deleted as a result of enabling this option.
|
13734
|
+
# The CIDR associated with the resource will no longer be allocated
|
13735
|
+
# from an IPAM pool, but the CIDR itself will remain unchanged.
|
13736
|
+
#
|
13737
|
+
# </note>
|
13738
|
+
#
|
13739
|
+
# * Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private
|
13740
|
+
# scopes.
|
13741
|
+
#
|
13742
|
+
# * Deletes all IPAM pools in private scopes.
|
13743
|
+
#
|
13744
|
+
# * Deletes all non-default private scopes in the IPAM.
|
13745
|
+
#
|
13746
|
+
# * Deletes the default public and private scopes and the IPAM.
|
13747
|
+
#
|
13724
13748
|
# @return [Types::DeleteIpamResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13725
13749
|
#
|
13726
13750
|
# * {Types::DeleteIpamResult#ipam #ipam} => Types::Ipam
|
@@ -13730,6 +13754,7 @@ module Aws::EC2
|
|
13730
13754
|
# resp = client.delete_ipam({
|
13731
13755
|
# dry_run: false,
|
13732
13756
|
# ipam_id: "IpamId", # required
|
13757
|
+
# cascade: false,
|
13733
13758
|
# })
|
13734
13759
|
#
|
13735
13760
|
# @example Response structure
|
@@ -42888,6 +42913,12 @@ module Aws::EC2
|
|
42888
42913
|
|
42889
42914
|
# Move an BYOIP IPv4 CIDR to IPAM from a public IPv4 pool.
|
42890
42915
|
#
|
42916
|
+
# If you already have an IPv4 BYOIP CIDR with Amazon Web Services, you
|
42917
|
+
# can move the CIDR to IPAM from a public IPv4 pool. You cannot move an
|
42918
|
+
# IPv6 CIDR to IPAM. If you are bringing a new IP address to Amazon Web
|
42919
|
+
# Services for the first time, complete the steps in [Tutorial: BYOIP
|
42920
|
+
# address CIDRs to IPAM](/vpc/latest/ipam/tutorials-byoip-ipam.html).
|
42921
|
+
#
|
42891
42922
|
# @option params [Boolean] :dry_run
|
42892
42923
|
# A check for whether you have the required permissions for the action
|
42893
42924
|
# without actually making the request and provides an error response. If
|
@@ -43033,7 +43064,7 @@ module Aws::EC2
|
|
43033
43064
|
req.send_request(options)
|
43034
43065
|
end
|
43035
43066
|
|
43036
|
-
# Provision a CIDR to an IPAM pool. You can use
|
43067
|
+
# Provision a CIDR to an IPAM pool. You can use this action to provision
|
43037
43068
|
# new CIDRs to a top-level pool or to transfer a CIDR from a top-level
|
43038
43069
|
# pool to a pool within it.
|
43039
43070
|
#
|
@@ -44258,7 +44289,7 @@ module Aws::EC2
|
|
44258
44289
|
# @option params [required, String] :cidr
|
44259
44290
|
# The CIDR of the allocation you want to release.
|
44260
44291
|
#
|
44261
|
-
# @option params [String] :ipam_pool_allocation_id
|
44292
|
+
# @option params [required, String] :ipam_pool_allocation_id
|
44262
44293
|
# The ID of the allocation.
|
44263
44294
|
#
|
44264
44295
|
# @return [Types::ReleaseIpamPoolAllocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -44271,7 +44302,7 @@ module Aws::EC2
|
|
44271
44302
|
# dry_run: false,
|
44272
44303
|
# ipam_pool_id: "IpamPoolId", # required
|
44273
44304
|
# cidr: "String", # required
|
44274
|
-
# ipam_pool_allocation_id: "IpamPoolAllocationId",
|
44305
|
+
# ipam_pool_allocation_id: "IpamPoolAllocationId", # required
|
44275
44306
|
# })
|
44276
44307
|
#
|
44277
44308
|
# @example Response structure
|
@@ -49312,7 +49343,7 @@ module Aws::EC2
|
|
49312
49343
|
params: params,
|
49313
49344
|
config: config)
|
49314
49345
|
context[:gem_name] = 'aws-sdk-ec2'
|
49315
|
-
context[:gem_version] = '1.
|
49346
|
+
context[:gem_version] = '1.303.0'
|
49316
49347
|
Seahorse::Client::Request.new(handlers, context)
|
49317
49348
|
end
|
49318
49349
|
|
@@ -4753,6 +4753,7 @@ module Aws::EC2
|
|
4753
4753
|
|
4754
4754
|
DeleteIpamRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4755
4755
|
DeleteIpamRequest.add_member(:ipam_id, Shapes::ShapeRef.new(shape: IpamId, required: true, location_name: "IpamId"))
|
4756
|
+
DeleteIpamRequest.add_member(:cascade, Shapes::ShapeRef.new(shape: Boolean, location_name: "Cascade"))
|
4756
4757
|
DeleteIpamRequest.struct_class = Types::DeleteIpamRequest
|
4757
4758
|
|
4758
4759
|
DeleteIpamResult.add_member(:ipam, Shapes::ShapeRef.new(shape: Ipam, location_name: "ipam"))
|
@@ -10864,7 +10865,7 @@ module Aws::EC2
|
|
10864
10865
|
ReleaseIpamPoolAllocationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10865
10866
|
ReleaseIpamPoolAllocationRequest.add_member(:ipam_pool_id, Shapes::ShapeRef.new(shape: IpamPoolId, required: true, location_name: "IpamPoolId"))
|
10866
10867
|
ReleaseIpamPoolAllocationRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
|
10867
|
-
ReleaseIpamPoolAllocationRequest.add_member(:ipam_pool_allocation_id, Shapes::ShapeRef.new(shape: IpamPoolAllocationId, location_name: "IpamPoolAllocationId"))
|
10868
|
+
ReleaseIpamPoolAllocationRequest.add_member(:ipam_pool_allocation_id, Shapes::ShapeRef.new(shape: IpamPoolAllocationId, required: true, location_name: "IpamPoolAllocationId"))
|
10868
10869
|
ReleaseIpamPoolAllocationRequest.struct_class = Types::ReleaseIpamPoolAllocationRequest
|
10869
10870
|
|
10870
10871
|
ReleaseIpamPoolAllocationResult.add_member(:success, Shapes::ShapeRef.new(shape: Boolean, location_name: "success"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -14675,6 +14675,7 @@ module Aws::EC2
|
|
14675
14675
|
# {
|
14676
14676
|
# dry_run: false,
|
14677
14677
|
# ipam_id: "IpamId", # required
|
14678
|
+
# cascade: false,
|
14678
14679
|
# }
|
14679
14680
|
#
|
14680
14681
|
# @!attribute [rw] dry_run
|
@@ -14688,11 +14689,37 @@ module Aws::EC2
|
|
14688
14689
|
# The ID of the IPAM to delete.
|
14689
14690
|
# @return [String]
|
14690
14691
|
#
|
14692
|
+
# @!attribute [rw] cascade
|
14693
|
+
# Enables you to quickly delete an IPAM, private scopes, pools in
|
14694
|
+
# private scopes, and any allocations in the pools in private scopes.
|
14695
|
+
# You cannot delete the IPAM with this option if there is a pool in
|
14696
|
+
# your public scope. If you use this option, IPAM does the following:
|
14697
|
+
#
|
14698
|
+
# * Deallocates any CIDRs allocated to VPC resources (such as VPCs) in
|
14699
|
+
# pools in private scopes.
|
14700
|
+
#
|
14701
|
+
# <note markdown="1"> No VPC resources are deleted as a result of enabling this option.
|
14702
|
+
# The CIDR associated with the resource will no longer be allocated
|
14703
|
+
# from an IPAM pool, but the CIDR itself will remain unchanged.
|
14704
|
+
#
|
14705
|
+
# </note>
|
14706
|
+
#
|
14707
|
+
# * Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private
|
14708
|
+
# scopes.
|
14709
|
+
#
|
14710
|
+
# * Deletes all IPAM pools in private scopes.
|
14711
|
+
#
|
14712
|
+
# * Deletes all non-default private scopes in the IPAM.
|
14713
|
+
#
|
14714
|
+
# * Deletes the default public and private scopes and the IPAM.
|
14715
|
+
# @return [Boolean]
|
14716
|
+
#
|
14691
14717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpamRequest AWS API Documentation
|
14692
14718
|
#
|
14693
14719
|
class DeleteIpamRequest < Struct.new(
|
14694
14720
|
:dry_run,
|
14695
|
-
:ipam_id
|
14721
|
+
:ipam_id,
|
14722
|
+
:cascade)
|
14696
14723
|
SENSITIVE = []
|
14697
14724
|
include Aws::Structure
|
14698
14725
|
end
|
@@ -42927,7 +42954,7 @@ module Aws::EC2
|
|
42927
42954
|
#
|
42928
42955
|
# For more information, see [How IPAM
|
42929
42956
|
# works](/vpc/latest/ipam/how-it-works-ipam.html) in the *Amazon VPC
|
42930
|
-
# IPAM User Guide
|
42957
|
+
# IPAM User Guide*.
|
42931
42958
|
#
|
42932
42959
|
# @!attribute [rw] owner_id
|
42933
42960
|
# The Amazon Web Services account ID of the owner of the scope.
|
@@ -54913,7 +54940,7 @@ module Aws::EC2
|
|
54913
54940
|
# dry_run: false,
|
54914
54941
|
# ipam_pool_id: "IpamPoolId", # required
|
54915
54942
|
# cidr: "String", # required
|
54916
|
-
# ipam_pool_allocation_id: "IpamPoolAllocationId",
|
54943
|
+
# ipam_pool_allocation_id: "IpamPoolAllocationId", # required
|
54917
54944
|
# }
|
54918
54945
|
#
|
54919
54946
|
# @!attribute [rw] dry_run
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.303.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|