aws-sdk-ec2 1.359.0 → 1.361.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1913,6 +1913,57 @@ module Aws::EC2
1913
1913
  include Aws::Structure
1914
1914
  end
1915
1915
 
1916
+ # @!attribute [rw] dry_run
1917
+ # A check for whether you have the required permissions for the action
1918
+ # without actually making the request and provides an error response.
1919
+ # If you have the required permissions, the error response is
1920
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1921
+ # @return [Boolean]
1922
+ #
1923
+ # @!attribute [rw] ipam_id
1924
+ # An IPAM ID.
1925
+ # @return [String]
1926
+ #
1927
+ # @!attribute [rw] ipam_resource_discovery_id
1928
+ # A resource discovery ID.
1929
+ # @return [String]
1930
+ #
1931
+ # @!attribute [rw] tag_specifications
1932
+ # Tag specifications.
1933
+ # @return [Array<Types::TagSpecification>]
1934
+ #
1935
+ # @!attribute [rw] client_token
1936
+ # A client token.
1937
+ #
1938
+ # **A suitable default value is auto-generated.** You should normally
1939
+ # not need to pass this option.
1940
+ # @return [String]
1941
+ #
1942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIpamResourceDiscoveryRequest AWS API Documentation
1943
+ #
1944
+ class AssociateIpamResourceDiscoveryRequest < Struct.new(
1945
+ :dry_run,
1946
+ :ipam_id,
1947
+ :ipam_resource_discovery_id,
1948
+ :tag_specifications,
1949
+ :client_token)
1950
+ SENSITIVE = []
1951
+ include Aws::Structure
1952
+ end
1953
+
1954
+ # @!attribute [rw] ipam_resource_discovery_association
1955
+ # A resource discovery association. An associated resource discovery
1956
+ # is a resource discovery that has been associated with an IPAM.
1957
+ # @return [Types::IpamResourceDiscoveryAssociation]
1958
+ #
1959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIpamResourceDiscoveryResult AWS API Documentation
1960
+ #
1961
+ class AssociateIpamResourceDiscoveryResult < Struct.new(
1962
+ :ipam_resource_discovery_association)
1963
+ SENSITIVE = []
1964
+ include Aws::Structure
1965
+ end
1966
+
1916
1967
  # @!attribute [rw] dry_run
1917
1968
  # Checks whether you have the required permissions for the action,
1918
1969
  # without actually making the request, and provides an error response.
@@ -7843,6 +7894,22 @@ module Aws::EC2
7843
7894
  # IP addresses and VPCs.
7844
7895
  # @return [String]
7845
7896
  #
7897
+ # @!attribute [rw] public_ip_source
7898
+ # The IP address source for pools in the public scope. Only used for
7899
+ # provisioning IP address CIDRs to pools in the public scope. Default
7900
+ # is `byoip`. For more information, see [Create IPv6 pools][1] in the
7901
+ # *Amazon VPC IPAM User Guide*. By default, you can add only one
7902
+ # Amazon-provided IPv6 CIDR block to a top-level IPv6 pool if
7903
+ # PublicIpSource is `amazon`. For information on increasing the
7904
+ # default limit, see [ Quotas for your IPAM][2] in the *Amazon VPC
7905
+ # IPAM User Guide*.
7906
+ #
7907
+ #
7908
+ #
7909
+ # [1]: https://docs.aws.amazon.com/vpc/latest/ipam/intro-create-ipv6-pools.html
7910
+ # [2]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html
7911
+ # @return [String]
7912
+ #
7846
7913
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateIpamPoolRequest AWS API Documentation
7847
7914
  #
7848
7915
  class CreateIpamPoolRequest < Struct.new(
@@ -7860,7 +7927,8 @@ module Aws::EC2
7860
7927
  :allocation_resource_tags,
7861
7928
  :tag_specifications,
7862
7929
  :client_token,
7863
- :aws_service)
7930
+ :aws_service,
7931
+ :public_ip_source)
7864
7932
  SENSITIVE = []
7865
7933
  include Aws::Structure
7866
7934
  end
@@ -7935,6 +8003,59 @@ module Aws::EC2
7935
8003
  include Aws::Structure
7936
8004
  end
7937
8005
 
8006
+ # @!attribute [rw] dry_run
8007
+ # A check for whether you have the required permissions for the action
8008
+ # without actually making the request and provides an error response.
8009
+ # If you have the required permissions, the error response is
8010
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
8011
+ # @return [Boolean]
8012
+ #
8013
+ # @!attribute [rw] description
8014
+ # A description for the IPAM resource discovery.
8015
+ # @return [String]
8016
+ #
8017
+ # @!attribute [rw] operating_regions
8018
+ # Operating Regions for the IPAM resource discovery. Operating Regions
8019
+ # are Amazon Web Services Regions where the IPAM is allowed to manage
8020
+ # IP address CIDRs. IPAM only discovers and monitors resources in the
8021
+ # Amazon Web Services Regions you select as operating Regions.
8022
+ # @return [Array<Types::AddIpamOperatingRegion>]
8023
+ #
8024
+ # @!attribute [rw] tag_specifications
8025
+ # Tag specifications for the IPAM resource discovery.
8026
+ # @return [Array<Types::TagSpecification>]
8027
+ #
8028
+ # @!attribute [rw] client_token
8029
+ # A client token for the IPAM resource discovery.
8030
+ #
8031
+ # **A suitable default value is auto-generated.** You should normally
8032
+ # not need to pass this option.
8033
+ # @return [String]
8034
+ #
8035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateIpamResourceDiscoveryRequest AWS API Documentation
8036
+ #
8037
+ class CreateIpamResourceDiscoveryRequest < Struct.new(
8038
+ :dry_run,
8039
+ :description,
8040
+ :operating_regions,
8041
+ :tag_specifications,
8042
+ :client_token)
8043
+ SENSITIVE = []
8044
+ include Aws::Structure
8045
+ end
8046
+
8047
+ # @!attribute [rw] ipam_resource_discovery
8048
+ # An IPAM resource discovery.
8049
+ # @return [Types::IpamResourceDiscovery]
8050
+ #
8051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateIpamResourceDiscoveryResult AWS API Documentation
8052
+ #
8053
+ class CreateIpamResourceDiscoveryResult < Struct.new(
8054
+ :ipam_resource_discovery)
8055
+ SENSITIVE = []
8056
+ include Aws::Structure
8057
+ end
8058
+
7938
8059
  # @!attribute [rw] ipam
7939
8060
  # Information about the IPAM created.
7940
8061
  # @return [Types::Ipam]
@@ -12914,6 +13035,38 @@ module Aws::EC2
12914
13035
  include Aws::Structure
12915
13036
  end
12916
13037
 
13038
+ # @!attribute [rw] dry_run
13039
+ # A check for whether you have the required permissions for the action
13040
+ # without actually making the request and provides an error response.
13041
+ # If you have the required permissions, the error response is
13042
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
13043
+ # @return [Boolean]
13044
+ #
13045
+ # @!attribute [rw] ipam_resource_discovery_id
13046
+ # The IPAM resource discovery ID.
13047
+ # @return [String]
13048
+ #
13049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpamResourceDiscoveryRequest AWS API Documentation
13050
+ #
13051
+ class DeleteIpamResourceDiscoveryRequest < Struct.new(
13052
+ :dry_run,
13053
+ :ipam_resource_discovery_id)
13054
+ SENSITIVE = []
13055
+ include Aws::Structure
13056
+ end
13057
+
13058
+ # @!attribute [rw] ipam_resource_discovery
13059
+ # The IPAM resource discovery.
13060
+ # @return [Types::IpamResourceDiscovery]
13061
+ #
13062
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpamResourceDiscoveryResult AWS API Documentation
13063
+ #
13064
+ class DeleteIpamResourceDiscoveryResult < Struct.new(
13065
+ :ipam_resource_discovery)
13066
+ SENSITIVE = []
13067
+ include Aws::Structure
13068
+ end
13069
+
12917
13070
  # @!attribute [rw] ipam
12918
13071
  # Information about the results of the deletion.
12919
13072
  # @return [Types::Ipam]
@@ -19270,6 +19423,116 @@ module Aws::EC2
19270
19423
  include Aws::Structure
19271
19424
  end
19272
19425
 
19426
+ # @!attribute [rw] dry_run
19427
+ # A check for whether you have the required permissions for the action
19428
+ # without actually making the request and provides an error response.
19429
+ # If you have the required permissions, the error response is
19430
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
19431
+ # @return [Boolean]
19432
+ #
19433
+ # @!attribute [rw] ipam_resource_discovery_ids
19434
+ # The IPAM resource discovery IDs.
19435
+ # @return [Array<String>]
19436
+ #
19437
+ # @!attribute [rw] next_token
19438
+ # Specify the pagination token from a previous request to retrieve the
19439
+ # next page of results.
19440
+ # @return [String]
19441
+ #
19442
+ # @!attribute [rw] max_results
19443
+ # The maximum number of resource discoveries to return in one page of
19444
+ # results.
19445
+ # @return [Integer]
19446
+ #
19447
+ # @!attribute [rw] filters
19448
+ # The resource discovery filters.
19449
+ # @return [Array<Types::Filter>]
19450
+ #
19451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpamResourceDiscoveriesRequest AWS API Documentation
19452
+ #
19453
+ class DescribeIpamResourceDiscoveriesRequest < Struct.new(
19454
+ :dry_run,
19455
+ :ipam_resource_discovery_ids,
19456
+ :next_token,
19457
+ :max_results,
19458
+ :filters)
19459
+ SENSITIVE = []
19460
+ include Aws::Structure
19461
+ end
19462
+
19463
+ # @!attribute [rw] ipam_resource_discoveries
19464
+ # The resource discoveries.
19465
+ # @return [Array<Types::IpamResourceDiscovery>]
19466
+ #
19467
+ # @!attribute [rw] next_token
19468
+ # Specify the pagination token from a previous request to retrieve the
19469
+ # next page of results.
19470
+ # @return [String]
19471
+ #
19472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpamResourceDiscoveriesResult AWS API Documentation
19473
+ #
19474
+ class DescribeIpamResourceDiscoveriesResult < Struct.new(
19475
+ :ipam_resource_discoveries,
19476
+ :next_token)
19477
+ SENSITIVE = []
19478
+ include Aws::Structure
19479
+ end
19480
+
19481
+ # @!attribute [rw] dry_run
19482
+ # A check for whether you have the required permissions for the action
19483
+ # without actually making the request and provides an error response.
19484
+ # If you have the required permissions, the error response is
19485
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
19486
+ # @return [Boolean]
19487
+ #
19488
+ # @!attribute [rw] ipam_resource_discovery_association_ids
19489
+ # The resource discovery association IDs.
19490
+ # @return [Array<String>]
19491
+ #
19492
+ # @!attribute [rw] next_token
19493
+ # Specify the pagination token from a previous request to retrieve the
19494
+ # next page of results.
19495
+ # @return [String]
19496
+ #
19497
+ # @!attribute [rw] max_results
19498
+ # The maximum number of resource discovery associations to return in
19499
+ # one page of results.
19500
+ # @return [Integer]
19501
+ #
19502
+ # @!attribute [rw] filters
19503
+ # The resource discovery association filters.
19504
+ # @return [Array<Types::Filter>]
19505
+ #
19506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpamResourceDiscoveryAssociationsRequest AWS API Documentation
19507
+ #
19508
+ class DescribeIpamResourceDiscoveryAssociationsRequest < Struct.new(
19509
+ :dry_run,
19510
+ :ipam_resource_discovery_association_ids,
19511
+ :next_token,
19512
+ :max_results,
19513
+ :filters)
19514
+ SENSITIVE = []
19515
+ include Aws::Structure
19516
+ end
19517
+
19518
+ # @!attribute [rw] ipam_resource_discovery_associations
19519
+ # The resource discovery associations.
19520
+ # @return [Array<Types::IpamResourceDiscoveryAssociation>]
19521
+ #
19522
+ # @!attribute [rw] next_token
19523
+ # Specify the pagination token from a previous request to retrieve the
19524
+ # next page of results.
19525
+ # @return [String]
19526
+ #
19527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpamResourceDiscoveryAssociationsResult AWS API Documentation
19528
+ #
19529
+ class DescribeIpamResourceDiscoveryAssociationsResult < Struct.new(
19530
+ :ipam_resource_discovery_associations,
19531
+ :next_token)
19532
+ SENSITIVE = []
19533
+ include Aws::Structure
19534
+ end
19535
+
19273
19536
  # @!attribute [rw] dry_run
19274
19537
  # A check for whether you have the required permissions for the action
19275
19538
  # without actually making the request and provides an error response.
@@ -27150,6 +27413,38 @@ module Aws::EC2
27150
27413
  include Aws::Structure
27151
27414
  end
27152
27415
 
27416
+ # @!attribute [rw] dry_run
27417
+ # A check for whether you have the required permissions for the action
27418
+ # without actually making the request and provides an error response.
27419
+ # If you have the required permissions, the error response is
27420
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
27421
+ # @return [Boolean]
27422
+ #
27423
+ # @!attribute [rw] ipam_resource_discovery_association_id
27424
+ # A resource discovery association ID.
27425
+ # @return [String]
27426
+ #
27427
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIpamResourceDiscoveryRequest AWS API Documentation
27428
+ #
27429
+ class DisassociateIpamResourceDiscoveryRequest < Struct.new(
27430
+ :dry_run,
27431
+ :ipam_resource_discovery_association_id)
27432
+ SENSITIVE = []
27433
+ include Aws::Structure
27434
+ end
27435
+
27436
+ # @!attribute [rw] ipam_resource_discovery_association
27437
+ # A resource discovery association.
27438
+ # @return [Types::IpamResourceDiscoveryAssociation]
27439
+ #
27440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIpamResourceDiscoveryResult AWS API Documentation
27441
+ #
27442
+ class DisassociateIpamResourceDiscoveryResult < Struct.new(
27443
+ :ipam_resource_discovery_association)
27444
+ SENSITIVE = []
27445
+ include Aws::Structure
27446
+ end
27447
+
27153
27448
  # @!attribute [rw] association_id
27154
27449
  # The association ID representing the current association between the
27155
27450
  # route table and subnet or gateway.
@@ -31780,6 +32075,127 @@ module Aws::EC2
31780
32075
  include Aws::Structure
31781
32076
  end
31782
32077
 
32078
+ # @!attribute [rw] dry_run
32079
+ # A check for whether you have the required permissions for the action
32080
+ # without actually making the request and provides an error response.
32081
+ # If you have the required permissions, the error response is
32082
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
32083
+ # @return [Boolean]
32084
+ #
32085
+ # @!attribute [rw] ipam_resource_discovery_id
32086
+ # A resource discovery ID.
32087
+ # @return [String]
32088
+ #
32089
+ # @!attribute [rw] discovery_region
32090
+ # The Amazon Web Services Region that the account information is
32091
+ # returned from.
32092
+ # @return [String]
32093
+ #
32094
+ # @!attribute [rw] filters
32095
+ # Discovered account filters.
32096
+ # @return [Array<Types::Filter>]
32097
+ #
32098
+ # @!attribute [rw] next_token
32099
+ # Specify the pagination token from a previous request to retrieve the
32100
+ # next page of results.
32101
+ # @return [String]
32102
+ #
32103
+ # @!attribute [rw] max_results
32104
+ # The maximum number of discovered accounts to return in one page of
32105
+ # results.
32106
+ # @return [Integer]
32107
+ #
32108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamDiscoveredAccountsRequest AWS API Documentation
32109
+ #
32110
+ class GetIpamDiscoveredAccountsRequest < Struct.new(
32111
+ :dry_run,
32112
+ :ipam_resource_discovery_id,
32113
+ :discovery_region,
32114
+ :filters,
32115
+ :next_token,
32116
+ :max_results)
32117
+ SENSITIVE = []
32118
+ include Aws::Structure
32119
+ end
32120
+
32121
+ # @!attribute [rw] ipam_discovered_accounts
32122
+ # Discovered accounts.
32123
+ # @return [Array<Types::IpamDiscoveredAccount>]
32124
+ #
32125
+ # @!attribute [rw] next_token
32126
+ # Specify the pagination token from a previous request to retrieve the
32127
+ # next page of results.
32128
+ # @return [String]
32129
+ #
32130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamDiscoveredAccountsResult AWS API Documentation
32131
+ #
32132
+ class GetIpamDiscoveredAccountsResult < Struct.new(
32133
+ :ipam_discovered_accounts,
32134
+ :next_token)
32135
+ SENSITIVE = []
32136
+ include Aws::Structure
32137
+ end
32138
+
32139
+ # @!attribute [rw] dry_run
32140
+ # A check for whether you have the required permissions for the action
32141
+ # without actually making the request and provides an error response.
32142
+ # If you have the required permissions, the error response is
32143
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
32144
+ # @return [Boolean]
32145
+ #
32146
+ # @!attribute [rw] ipam_resource_discovery_id
32147
+ # A resource discovery ID.
32148
+ # @return [String]
32149
+ #
32150
+ # @!attribute [rw] resource_region
32151
+ # A resource Region.
32152
+ # @return [String]
32153
+ #
32154
+ # @!attribute [rw] filters
32155
+ # Filters.
32156
+ # @return [Array<Types::Filter>]
32157
+ #
32158
+ # @!attribute [rw] next_token
32159
+ # Specify the pagination token from a previous request to retrieve the
32160
+ # next page of results.
32161
+ # @return [String]
32162
+ #
32163
+ # @!attribute [rw] max_results
32164
+ # The maximum number of discovered resource CIDRs to return in one
32165
+ # page of results.
32166
+ # @return [Integer]
32167
+ #
32168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamDiscoveredResourceCidrsRequest AWS API Documentation
32169
+ #
32170
+ class GetIpamDiscoveredResourceCidrsRequest < Struct.new(
32171
+ :dry_run,
32172
+ :ipam_resource_discovery_id,
32173
+ :resource_region,
32174
+ :filters,
32175
+ :next_token,
32176
+ :max_results)
32177
+ SENSITIVE = []
32178
+ include Aws::Structure
32179
+ end
32180
+
32181
+ # @!attribute [rw] ipam_discovered_resource_cidrs
32182
+ # Discovered resource CIDRs.
32183
+ # @return [Array<Types::IpamDiscoveredResourceCidr>]
32184
+ #
32185
+ # @!attribute [rw] next_token
32186
+ # Specify the pagination token from a previous request to retrieve the
32187
+ # next page of results.
32188
+ # @return [String]
32189
+ #
32190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamDiscoveredResourceCidrsResult AWS API Documentation
32191
+ #
32192
+ class GetIpamDiscoveredResourceCidrsResult < Struct.new(
32193
+ :ipam_discovered_resource_cidrs,
32194
+ :next_token)
32195
+ SENSITIVE = []
32196
+ include Aws::Structure
32197
+ end
32198
+
31783
32199
  # @!attribute [rw] dry_run
31784
32200
  # A check for whether you have the required permissions for the action
31785
32201
  # without actually making the request and provides an error response.
@@ -38188,7 +38604,7 @@ module Aws::EC2
38188
38604
  # @return [String]
38189
38605
  #
38190
38606
  # @!attribute [rw] ipam_arn
38191
- # The ARN of the IPAM.
38607
+ # The Amazon Resource Name (ARN) of the IPAM.
38192
38608
  # @return [String]
38193
38609
  #
38194
38610
  # @!attribute [rw] ipam_region
@@ -38243,6 +38659,18 @@ module Aws::EC2
38243
38659
  # name and `TeamA` for the filter value.
38244
38660
  # @return [Array<Types::Tag>]
38245
38661
  #
38662
+ # @!attribute [rw] default_resource_discovery_id
38663
+ # The IPAM's default resource discovery ID.
38664
+ # @return [String]
38665
+ #
38666
+ # @!attribute [rw] default_resource_discovery_association_id
38667
+ # The IPAM's default resource discovery association ID.
38668
+ # @return [String]
38669
+ #
38670
+ # @!attribute [rw] resource_discovery_association_count
38671
+ # The IPAM's resource discovery association count.
38672
+ # @return [Integer]
38673
+ #
38246
38674
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipam AWS API Documentation
38247
38675
  #
38248
38676
  class Ipam < Struct.new(
@@ -38256,7 +38684,10 @@ module Aws::EC2
38256
38684
  :description,
38257
38685
  :operating_regions,
38258
38686
  :state,
38259
- :tags)
38687
+ :tags,
38688
+ :default_resource_discovery_id,
38689
+ :default_resource_discovery_association_id,
38690
+ :resource_discovery_association_count)
38260
38691
  SENSITIVE = []
38261
38692
  include Aws::Structure
38262
38693
  end
@@ -38368,6 +38799,165 @@ module Aws::EC2
38368
38799
  include Aws::Structure
38369
38800
  end
38370
38801
 
38802
+ # An IPAM discovered account. A discovered account is an Amazon Web
38803
+ # Services account that is monitored under a resource discovery. If you
38804
+ # have integrated IPAM with Amazon Web Services Organizations, all
38805
+ # accounts in the organization are discovered accounts.
38806
+ #
38807
+ # @!attribute [rw] account_id
38808
+ # The account ID.
38809
+ # @return [String]
38810
+ #
38811
+ # @!attribute [rw] discovery_region
38812
+ # The Amazon Web Services Region that the account information is
38813
+ # returned from. An account can be discovered in multiple regions and
38814
+ # will have a separate discovered account for each Region.
38815
+ # @return [String]
38816
+ #
38817
+ # @!attribute [rw] failure_reason
38818
+ # The resource discovery failure reason.
38819
+ # @return [Types::IpamDiscoveryFailureReason]
38820
+ #
38821
+ # @!attribute [rw] last_attempted_discovery_time
38822
+ # The last attempted resource discovery time.
38823
+ # @return [Time]
38824
+ #
38825
+ # @!attribute [rw] last_successful_discovery_time
38826
+ # The last successful resource discovery time.
38827
+ # @return [Time]
38828
+ #
38829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamDiscoveredAccount AWS API Documentation
38830
+ #
38831
+ class IpamDiscoveredAccount < Struct.new(
38832
+ :account_id,
38833
+ :discovery_region,
38834
+ :failure_reason,
38835
+ :last_attempted_discovery_time,
38836
+ :last_successful_discovery_time)
38837
+ SENSITIVE = []
38838
+ include Aws::Structure
38839
+ end
38840
+
38841
+ # An IPAM discovered resource CIDR. A discovered resource is a resource
38842
+ # CIDR monitored under a resource discovery. The following resources can
38843
+ # be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP
38844
+ # addresses. The discovered resource CIDR is the IP address range in
38845
+ # CIDR notation that is associated with the resource.
38846
+ #
38847
+ # @!attribute [rw] ipam_resource_discovery_id
38848
+ # The resource discovery ID.
38849
+ # @return [String]
38850
+ #
38851
+ # @!attribute [rw] resource_region
38852
+ # The resource Region.
38853
+ # @return [String]
38854
+ #
38855
+ # @!attribute [rw] resource_id
38856
+ # The resource ID.
38857
+ # @return [String]
38858
+ #
38859
+ # @!attribute [rw] resource_owner_id
38860
+ # The resource owner ID.
38861
+ # @return [String]
38862
+ #
38863
+ # @!attribute [rw] resource_cidr
38864
+ # The resource CIDR.
38865
+ # @return [String]
38866
+ #
38867
+ # @!attribute [rw] resource_type
38868
+ # The resource type.
38869
+ # @return [String]
38870
+ #
38871
+ # @!attribute [rw] resource_tags
38872
+ # The resource tags.
38873
+ # @return [Array<Types::IpamResourceTag>]
38874
+ #
38875
+ # @!attribute [rw] ip_usage
38876
+ # The percentage of IP address space in use. To convert the decimal to
38877
+ # a percentage, multiply the decimal by 100. Note the following:
38878
+ #
38879
+ # * For resources that are VPCs, this is the percentage of IP address
38880
+ # space in the VPC that's taken up by subnet CIDRs.
38881
+ #
38882
+ # * For resources that are subnets, if the subnet has an IPv4 CIDR
38883
+ # provisioned to it, this is the percentage of IPv4 address space in
38884
+ # the subnet that's in use. If the subnet has an IPv6 CIDR
38885
+ # provisioned to it, the percentage of IPv6 address space in use is
38886
+ # not represented. The percentage of IPv6 address space in use
38887
+ # cannot currently be calculated.
38888
+ #
38889
+ # * For resources that are public IPv4 pools, this is the percentage
38890
+ # of IP address space in the pool that's been allocated to Elastic
38891
+ # IP addresses (EIPs).
38892
+ # @return [Float]
38893
+ #
38894
+ # @!attribute [rw] vpc_id
38895
+ # The VPC ID.
38896
+ # @return [String]
38897
+ #
38898
+ # @!attribute [rw] sample_time
38899
+ # The last successful resource discovery time.
38900
+ # @return [Time]
38901
+ #
38902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamDiscoveredResourceCidr AWS API Documentation
38903
+ #
38904
+ class IpamDiscoveredResourceCidr < Struct.new(
38905
+ :ipam_resource_discovery_id,
38906
+ :resource_region,
38907
+ :resource_id,
38908
+ :resource_owner_id,
38909
+ :resource_cidr,
38910
+ :resource_type,
38911
+ :resource_tags,
38912
+ :ip_usage,
38913
+ :vpc_id,
38914
+ :sample_time)
38915
+ SENSITIVE = []
38916
+ include Aws::Structure
38917
+ end
38918
+
38919
+ # The discovery failure reason.
38920
+ #
38921
+ # @!attribute [rw] code
38922
+ # The discovery failure code.
38923
+ #
38924
+ # * `assume-role-failure` - IPAM could not assume the Amazon Web
38925
+ # Services IAM service-linked role. This could be because of any of
38926
+ # the following:
38927
+ #
38928
+ # * SLR has not been created yet and IPAM is still creating it.
38929
+ #
38930
+ # * You have opted-out of the IPAM home Region.
38931
+ #
38932
+ # * Account you are using as your IPAM account has been suspended.
38933
+ #
38934
+ # * `throttling-failure` - IPAM account is already using the allotted
38935
+ # transactions per second and IPAM is receiving a throttling error
38936
+ # when assuming the Amazon Web Services IAM SLR.
38937
+ #
38938
+ # * `unauthorized-failure` - Amazon Web Services account making the
38939
+ # request is not authorized. For more information, see
38940
+ # [AuthFailure][1] in the *Amazon Elastic Compute Cloud API
38941
+ # Reference*.
38942
+ #
38943
+ #
38944
+ #
38945
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
38946
+ # @return [String]
38947
+ #
38948
+ # @!attribute [rw] message
38949
+ # The discovery failure message.
38950
+ # @return [String]
38951
+ #
38952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamDiscoveryFailureReason AWS API Documentation
38953
+ #
38954
+ class IpamDiscoveryFailureReason < Struct.new(
38955
+ :code,
38956
+ :message)
38957
+ SENSITIVE = []
38958
+ include Aws::Structure
38959
+ end
38960
+
38371
38961
  # The operating Regions for an IPAM. Operating Regions are Amazon Web
38372
38962
  # Services Regions where the IPAM is allowed to manage IP address CIDRs.
38373
38963
  # IPAM only discovers and monitors resources in the Amazon Web Services
@@ -38412,7 +39002,7 @@ module Aws::EC2
38412
39002
  # @return [String]
38413
39003
  #
38414
39004
  # @!attribute [rw] ipam_pool_arn
38415
- # The ARN of the IPAM pool.
39005
+ # The Amazon Resource Name (ARN) of the IPAM pool.
38416
39006
  # @return [String]
38417
39007
  #
38418
39008
  # @!attribute [rw] ipam_scope_arn
@@ -38540,6 +39130,21 @@ module Aws::EC2
38540
39130
  # IP addresses and VPCs.
38541
39131
  # @return [String]
38542
39132
  #
39133
+ # @!attribute [rw] public_ip_source
39134
+ # The IP address source for pools in the public scope. Only used for
39135
+ # provisioning IP address CIDRs to pools in the public scope. Default
39136
+ # is `BYOIP`. For more information, see [Create IPv6 pools][1] in the
39137
+ # *Amazon VPC IPAM User Guide*. By default, you can add only one
39138
+ # Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For
39139
+ # information on increasing the default limit, see [ Quotas for your
39140
+ # IPAM][2] in the *Amazon VPC IPAM User Guide*.
39141
+ #
39142
+ #
39143
+ #
39144
+ # [1]: https://docs.aws.amazon.com/vpc/latest/ipam/intro-create-ipv6-pools.html
39145
+ # [2]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html
39146
+ # @return [String]
39147
+ #
38543
39148
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamPool AWS API Documentation
38544
39149
  #
38545
39150
  class IpamPool < Struct.new(
@@ -38564,13 +39169,14 @@ module Aws::EC2
38564
39169
  :allocation_default_netmask_length,
38565
39170
  :allocation_resource_tags,
38566
39171
  :tags,
38567
- :aws_service)
39172
+ :aws_service,
39173
+ :public_ip_source)
38568
39174
  SENSITIVE = []
38569
39175
  include Aws::Structure
38570
39176
  end
38571
39177
 
38572
39178
  # In IPAM, an allocation is a CIDR assignment from an IPAM pool to
38573
- # another resource or IPAM pool.
39179
+ # another IPAM pool or to a resource.
38574
39180
  #
38575
39181
  # @!attribute [rw] cidr
38576
39182
  # The CIDR for the allocation. A CIDR is a representation of an IP
@@ -38634,12 +39240,26 @@ module Aws::EC2
38634
39240
  # Details related to why an IPAM pool CIDR failed to be provisioned.
38635
39241
  # @return [Types::IpamPoolCidrFailureReason]
38636
39242
  #
39243
+ # @!attribute [rw] ipam_pool_cidr_id
39244
+ # The IPAM pool CIDR ID.
39245
+ # @return [String]
39246
+ #
39247
+ # @!attribute [rw] netmask_length
39248
+ # The netmask length of the CIDR you'd like to provision to a pool.
39249
+ # Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level
39250
+ # pools and for provisioning CIDRs to pools with source pools. Cannot
39251
+ # be used to provision BYOIP CIDRs to top-level pools.
39252
+ # "NetmaskLength" or "Cidr" is required.
39253
+ # @return [Integer]
39254
+ #
38637
39255
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamPoolCidr AWS API Documentation
38638
39256
  #
38639
39257
  class IpamPoolCidr < Struct.new(
38640
39258
  :cidr,
38641
39259
  :state,
38642
- :failure_reason)
39260
+ :failure_reason,
39261
+ :ipam_pool_cidr_id,
39262
+ :netmask_length)
38643
39263
  SENSITIVE = []
38644
39264
  include Aws::Structure
38645
39265
  end
@@ -38711,8 +39331,8 @@ module Aws::EC2
38711
39331
  # The percentage of IP address space in use. To convert the decimal to
38712
39332
  # a percentage, multiply the decimal by 100. Note the following:
38713
39333
  #
38714
- # * For a resources that are VPCs, this is the percentage of IP
38715
- # address space in the VPC that's taken up by subnet CIDRs.
39334
+ # * For resources that are VPCs, this is the percentage of IP address
39335
+ # space in the VPC that's taken up by subnet CIDRs.
38716
39336
  #
38717
39337
  # * For resources that are subnets, if the subnet has an IPv4 CIDR
38718
39338
  # provisioned to it, this is the percentage of IPv4 address space in
@@ -38783,6 +39403,201 @@ module Aws::EC2
38783
39403
  include Aws::Structure
38784
39404
  end
38785
39405
 
39406
+ # A resource discovery is an IPAM component that enables IPAM Service to
39407
+ # manage and monitor resources that belong to the owning account.
39408
+ #
39409
+ # @!attribute [rw] owner_id
39410
+ # The ID of the owner.
39411
+ # @return [String]
39412
+ #
39413
+ # @!attribute [rw] ipam_resource_discovery_id
39414
+ # The resource discovery ID.
39415
+ # @return [String]
39416
+ #
39417
+ # @!attribute [rw] ipam_resource_discovery_arn
39418
+ # The resource discovery Amazon Resource Name (ARN).
39419
+ # @return [String]
39420
+ #
39421
+ # @!attribute [rw] ipam_resource_discovery_region
39422
+ # The resource discovery Region.
39423
+ # @return [String]
39424
+ #
39425
+ # @!attribute [rw] description
39426
+ # The resource discovery description.
39427
+ # @return [String]
39428
+ #
39429
+ # @!attribute [rw] operating_regions
39430
+ # The operating Regions for the resource discovery. Operating Regions
39431
+ # are Amazon Web Services Regions where the IPAM is allowed to manage
39432
+ # IP address CIDRs. IPAM only discovers and monitors resources in the
39433
+ # Amazon Web Services Regions you select as operating Regions.
39434
+ # @return [Array<Types::IpamOperatingRegion>]
39435
+ #
39436
+ # @!attribute [rw] is_default
39437
+ # Defines if the resource discovery is the default. The default
39438
+ # resource discovery is the resource discovery automatically created
39439
+ # when you create an IPAM.
39440
+ # @return [Boolean]
39441
+ #
39442
+ # @!attribute [rw] state
39443
+ # The lifecycle state of the resource discovery.
39444
+ #
39445
+ # * `create-in-progress` - Resource discovery is being created.
39446
+ #
39447
+ # * `create-complete` - Resource discovery creation is complete.
39448
+ #
39449
+ # * `create-failed` - Resource discovery creation has failed.
39450
+ #
39451
+ # * `modify-in-progress` - Resource discovery is being modified.
39452
+ #
39453
+ # * `modify-complete` - Resource discovery modification is complete.
39454
+ #
39455
+ # * `modify-failed` - Resource discovery modification has failed.
39456
+ #
39457
+ # * `delete-in-progress` - Resource discovery is being deleted.
39458
+ #
39459
+ # * `delete-complete` - Resource discovery deletion is complete.
39460
+ #
39461
+ # * `delete-failed` - Resource discovery deletion has failed.
39462
+ #
39463
+ # * `isolate-in-progress` - Amazon Web Services account that created
39464
+ # the resource discovery has been removed and the resource discovery
39465
+ # is being isolated.
39466
+ #
39467
+ # * `isolate-complete` - Resource discovery isolation is complete.
39468
+ #
39469
+ # * `restore-in-progress` - Amazon Web Services account that created
39470
+ # the resource discovery and was isolated has been restored.
39471
+ # @return [String]
39472
+ #
39473
+ # @!attribute [rw] tags
39474
+ # A tag is a label that you assign to an Amazon Web Services resource.
39475
+ # Each tag consists of a key and an optional value. You can use tags
39476
+ # to search and filter your resources or track your Amazon Web
39477
+ # Services costs.
39478
+ # @return [Array<Types::Tag>]
39479
+ #
39480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamResourceDiscovery AWS API Documentation
39481
+ #
39482
+ class IpamResourceDiscovery < Struct.new(
39483
+ :owner_id,
39484
+ :ipam_resource_discovery_id,
39485
+ :ipam_resource_discovery_arn,
39486
+ :ipam_resource_discovery_region,
39487
+ :description,
39488
+ :operating_regions,
39489
+ :is_default,
39490
+ :state,
39491
+ :tags)
39492
+ SENSITIVE = []
39493
+ include Aws::Structure
39494
+ end
39495
+
39496
+ # An IPAM resource discovery association. An associated resource
39497
+ # discovery is a resource discovery that has been associated with an
39498
+ # IPAM. IPAM aggregates the resource CIDRs discovered by the associated
39499
+ # resource discovery.
39500
+ #
39501
+ # @!attribute [rw] owner_id
39502
+ # The Amazon Web Services account ID of the resource discovery owner.
39503
+ # @return [String]
39504
+ #
39505
+ # @!attribute [rw] ipam_resource_discovery_association_id
39506
+ # The resource discovery association ID.
39507
+ # @return [String]
39508
+ #
39509
+ # @!attribute [rw] ipam_resource_discovery_association_arn
39510
+ # The resource discovery association Amazon Resource Name (ARN).
39511
+ # @return [String]
39512
+ #
39513
+ # @!attribute [rw] ipam_resource_discovery_id
39514
+ # The resource discovery ID.
39515
+ # @return [String]
39516
+ #
39517
+ # @!attribute [rw] ipam_id
39518
+ # The IPAM ID.
39519
+ # @return [String]
39520
+ #
39521
+ # @!attribute [rw] ipam_arn
39522
+ # The IPAM ARN.
39523
+ # @return [String]
39524
+ #
39525
+ # @!attribute [rw] ipam_region
39526
+ # The IPAM home Region.
39527
+ # @return [String]
39528
+ #
39529
+ # @!attribute [rw] is_default
39530
+ # Defines if the resource discovery is the default. When you create an
39531
+ # IPAM, a default resource discovery is created for your IPAM and
39532
+ # it's associated with your IPAM.
39533
+ # @return [Boolean]
39534
+ #
39535
+ # @!attribute [rw] resource_discovery_status
39536
+ # The resource discovery status.
39537
+ #
39538
+ # * `active` - Connection or permissions required to read the results
39539
+ # of the resource discovery are intact.
39540
+ #
39541
+ # * `not-found` - Connection or permissions required to read the
39542
+ # results of the resource discovery are broken. This may happen if
39543
+ # the owner of the resource discovery stopped sharing it or deleted
39544
+ # the resource discovery. Verify the resource discovery still exists
39545
+ # and the Amazon Web Services RAM resource share is still intact.
39546
+ # @return [String]
39547
+ #
39548
+ # @!attribute [rw] state
39549
+ # The lifecycle state of the association when you associate or
39550
+ # disassociate a resource discovery.
39551
+ #
39552
+ # * `associate-in-progress` - Resource discovery is being associated.
39553
+ #
39554
+ # * `associate-complete` - Resource discovery association is complete.
39555
+ #
39556
+ # * `associate-failed` - Resource discovery association has failed.
39557
+ #
39558
+ # * `disassociate-in-progress` - Resource discovery is being
39559
+ # disassociated.
39560
+ #
39561
+ # * `disassociate-complete` - Resource discovery disassociation is
39562
+ # complete.
39563
+ #
39564
+ # * `disassociate-failed ` - Resource discovery disassociation has
39565
+ # failed.
39566
+ #
39567
+ # * `isolate-in-progress` - Amazon Web Services account that created
39568
+ # the resource discovery association has been removed and the
39569
+ # resource discovery associatation is being isolated.
39570
+ #
39571
+ # * `isolate-complete` - Resource discovery isolation is complete..
39572
+ #
39573
+ # * `restore-in-progress` - Resource discovery is being restored.
39574
+ # @return [String]
39575
+ #
39576
+ # @!attribute [rw] tags
39577
+ # A tag is a label that you assign to an Amazon Web Services resource.
39578
+ # Each tag consists of a key and an optional value. You can use tags
39579
+ # to search and filter your resources or track your Amazon Web
39580
+ # Services costs.
39581
+ # @return [Array<Types::Tag>]
39582
+ #
39583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamResourceDiscoveryAssociation AWS API Documentation
39584
+ #
39585
+ class IpamResourceDiscoveryAssociation < Struct.new(
39586
+ :owner_id,
39587
+ :ipam_resource_discovery_association_id,
39588
+ :ipam_resource_discovery_association_arn,
39589
+ :ipam_resource_discovery_id,
39590
+ :ipam_id,
39591
+ :ipam_arn,
39592
+ :ipam_region,
39593
+ :is_default,
39594
+ :resource_discovery_status,
39595
+ :state,
39596
+ :tags)
39597
+ SENSITIVE = []
39598
+ include Aws::Structure
39599
+ end
39600
+
38786
39601
  # The key/value combination of a tag assigned to the resource. Use the
38787
39602
  # tag key in the filter name and the tag value as the filter value. For
38788
39603
  # example, to find all resources that have a tag with the key `Owner`
@@ -38831,7 +39646,7 @@ module Aws::EC2
38831
39646
  # @return [String]
38832
39647
  #
38833
39648
  # @!attribute [rw] ipam_scope_arn
38834
- # The ARN of the scope.
39649
+ # The Amazon Resource Name (ARN) of the scope.
38835
39650
  # @return [String]
38836
39651
  #
38837
39652
  # @!attribute [rw] ipam_arn
@@ -43321,6 +44136,56 @@ module Aws::EC2
43321
44136
  include Aws::Structure
43322
44137
  end
43323
44138
 
44139
+ # @!attribute [rw] dry_run
44140
+ # A check for whether you have the required permissions for the action
44141
+ # without actually making the request and provides an error response.
44142
+ # If you have the required permissions, the error response is
44143
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
44144
+ # @return [Boolean]
44145
+ #
44146
+ # @!attribute [rw] ipam_resource_discovery_id
44147
+ # A resource discovery ID.
44148
+ # @return [String]
44149
+ #
44150
+ # @!attribute [rw] description
44151
+ # A resource discovery description.
44152
+ # @return [String]
44153
+ #
44154
+ # @!attribute [rw] add_operating_regions
44155
+ # Add operating Regions to the resource discovery. Operating Regions
44156
+ # are Amazon Web Services Regions where the IPAM is allowed to manage
44157
+ # IP address CIDRs. IPAM only discovers and monitors resources in the
44158
+ # Amazon Web Services Regions you select as operating Regions.
44159
+ # @return [Array<Types::AddIpamOperatingRegion>]
44160
+ #
44161
+ # @!attribute [rw] remove_operating_regions
44162
+ # Remove operating Regions.
44163
+ # @return [Array<Types::RemoveIpamOperatingRegion>]
44164
+ #
44165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamResourceDiscoveryRequest AWS API Documentation
44166
+ #
44167
+ class ModifyIpamResourceDiscoveryRequest < Struct.new(
44168
+ :dry_run,
44169
+ :ipam_resource_discovery_id,
44170
+ :description,
44171
+ :add_operating_regions,
44172
+ :remove_operating_regions)
44173
+ SENSITIVE = []
44174
+ include Aws::Structure
44175
+ end
44176
+
44177
+ # @!attribute [rw] ipam_resource_discovery
44178
+ # A resource discovery.
44179
+ # @return [Types::IpamResourceDiscovery]
44180
+ #
44181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamResourceDiscoveryResult AWS API Documentation
44182
+ #
44183
+ class ModifyIpamResourceDiscoveryResult < Struct.new(
44184
+ :ipam_resource_discovery)
44185
+ SENSITIVE = []
44186
+ include Aws::Structure
44187
+ end
44188
+
43324
44189
  # @!attribute [rw] ipam
43325
44190
  # The results of the modification.
43326
44191
  # @return [Types::Ipam]
@@ -48611,7 +49476,10 @@ module Aws::EC2
48611
49476
  # @return [String]
48612
49477
  #
48613
49478
  # @!attribute [rw] cidr
48614
- # The CIDR you want to assign to the IPAM pool.
49479
+ # The CIDR you want to assign to the IPAM pool. Either
49480
+ # "NetmaskLength" or "Cidr" is required. This value will be null
49481
+ # if you specify "NetmaskLength" and will be filled in during the
49482
+ # provisioning process.
48615
49483
  # @return [String]
48616
49484
  #
48617
49485
  # @!attribute [rw] cidr_authorization_context
@@ -48620,13 +49488,36 @@ module Aws::EC2
48620
49488
  # applies to public pools only.
48621
49489
  # @return [Types::IpamCidrAuthorizationContext]
48622
49490
  #
49491
+ # @!attribute [rw] netmask_length
49492
+ # The netmask length of the CIDR you'd like to provision to a pool.
49493
+ # Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level
49494
+ # pools and for provisioning CIDRs to pools with source pools. Cannot
49495
+ # be used to provision BYOIP CIDRs to top-level pools. Either
49496
+ # "NetmaskLength" or "Cidr" is required.
49497
+ # @return [Integer]
49498
+ #
49499
+ # @!attribute [rw] client_token
49500
+ # A unique, case-sensitive identifier that you provide to ensure the
49501
+ # idempotency of the request. For more information, see [Ensuring
49502
+ # Idempotency][1].
49503
+ #
49504
+ # **A suitable default value is auto-generated.** You should normally
49505
+ # not need to pass this option.
49506
+ #
49507
+ #
49508
+ #
49509
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
49510
+ # @return [String]
49511
+ #
48623
49512
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionIpamPoolCidrRequest AWS API Documentation
48624
49513
  #
48625
49514
  class ProvisionIpamPoolCidrRequest < Struct.new(
48626
49515
  :dry_run,
48627
49516
  :ipam_pool_id,
48628
49517
  :cidr,
48629
- :cidr_authorization_context)
49518
+ :cidr_authorization_context,
49519
+ :netmask_length,
49520
+ :client_token)
48630
49521
  SENSITIVE = []
48631
49522
  include Aws::Structure
48632
49523
  end