aws-sdk-ec2 1.360.0 → 1.362.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +822 -115
- data/lib/aws-sdk-ec2/client_api.rb +304 -12
- data/lib/aws-sdk-ec2/endpoint_provider.rb +7 -1
- data/lib/aws-sdk-ec2/endpoints.rb +126 -0
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-ec2/resource.rb +16 -16
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +935 -16
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -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]
|
@@ -8248,6 +8369,12 @@ module Aws::EC2
|
|
8248
8369
|
# The ID of the network interface.
|
8249
8370
|
# @return [String]
|
8250
8371
|
#
|
8372
|
+
# @!attribute [rw] destination_prefix_list_id
|
8373
|
+
# The ID of the prefix list. Use a prefix list in place of
|
8374
|
+
# `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and
|
8375
|
+
# `DestinationCidrBlock` in the same request.
|
8376
|
+
# @return [String]
|
8377
|
+
#
|
8251
8378
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLocalGatewayRouteRequest AWS API Documentation
|
8252
8379
|
#
|
8253
8380
|
class CreateLocalGatewayRouteRequest < Struct.new(
|
@@ -8255,7 +8382,8 @@ module Aws::EC2
|
|
8255
8382
|
:local_gateway_route_table_id,
|
8256
8383
|
:local_gateway_virtual_interface_group_id,
|
8257
8384
|
:dry_run,
|
8258
|
-
:network_interface_id
|
8385
|
+
:network_interface_id,
|
8386
|
+
:destination_prefix_list_id)
|
8259
8387
|
SENSITIVE = []
|
8260
8388
|
include Aws::Structure
|
8261
8389
|
end
|
@@ -12914,6 +13042,38 @@ module Aws::EC2
|
|
12914
13042
|
include Aws::Structure
|
12915
13043
|
end
|
12916
13044
|
|
13045
|
+
# @!attribute [rw] dry_run
|
13046
|
+
# A check for whether you have the required permissions for the action
|
13047
|
+
# without actually making the request and provides an error response.
|
13048
|
+
# If you have the required permissions, the error response is
|
13049
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
13050
|
+
# @return [Boolean]
|
13051
|
+
#
|
13052
|
+
# @!attribute [rw] ipam_resource_discovery_id
|
13053
|
+
# The IPAM resource discovery ID.
|
13054
|
+
# @return [String]
|
13055
|
+
#
|
13056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpamResourceDiscoveryRequest AWS API Documentation
|
13057
|
+
#
|
13058
|
+
class DeleteIpamResourceDiscoveryRequest < Struct.new(
|
13059
|
+
:dry_run,
|
13060
|
+
:ipam_resource_discovery_id)
|
13061
|
+
SENSITIVE = []
|
13062
|
+
include Aws::Structure
|
13063
|
+
end
|
13064
|
+
|
13065
|
+
# @!attribute [rw] ipam_resource_discovery
|
13066
|
+
# The IPAM resource discovery.
|
13067
|
+
# @return [Types::IpamResourceDiscovery]
|
13068
|
+
#
|
13069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpamResourceDiscoveryResult AWS API Documentation
|
13070
|
+
#
|
13071
|
+
class DeleteIpamResourceDiscoveryResult < Struct.new(
|
13072
|
+
:ipam_resource_discovery)
|
13073
|
+
SENSITIVE = []
|
13074
|
+
include Aws::Structure
|
13075
|
+
end
|
13076
|
+
|
12917
13077
|
# @!attribute [rw] ipam
|
12918
13078
|
# Information about the results of the deletion.
|
12919
13079
|
# @return [Types::Ipam]
|
@@ -13151,12 +13311,19 @@ module Aws::EC2
|
|
13151
13311
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
13152
13312
|
# @return [Boolean]
|
13153
13313
|
#
|
13314
|
+
# @!attribute [rw] destination_prefix_list_id
|
13315
|
+
# Use a prefix list in place of `DestinationCidrBlock`. You cannot use
|
13316
|
+
# `DestinationPrefixListId` and `DestinationCidrBlock` in the same
|
13317
|
+
# request.
|
13318
|
+
# @return [String]
|
13319
|
+
#
|
13154
13320
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLocalGatewayRouteRequest AWS API Documentation
|
13155
13321
|
#
|
13156
13322
|
class DeleteLocalGatewayRouteRequest < Struct.new(
|
13157
13323
|
:destination_cidr_block,
|
13158
13324
|
:local_gateway_route_table_id,
|
13159
|
-
:dry_run
|
13325
|
+
:dry_run,
|
13326
|
+
:destination_prefix_list_id)
|
13160
13327
|
SENSITIVE = []
|
13161
13328
|
include Aws::Structure
|
13162
13329
|
end
|
@@ -19270,6 +19437,116 @@ module Aws::EC2
|
|
19270
19437
|
include Aws::Structure
|
19271
19438
|
end
|
19272
19439
|
|
19440
|
+
# @!attribute [rw] dry_run
|
19441
|
+
# A check for whether you have the required permissions for the action
|
19442
|
+
# without actually making the request and provides an error response.
|
19443
|
+
# If you have the required permissions, the error response is
|
19444
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
19445
|
+
# @return [Boolean]
|
19446
|
+
#
|
19447
|
+
# @!attribute [rw] ipam_resource_discovery_ids
|
19448
|
+
# The IPAM resource discovery IDs.
|
19449
|
+
# @return [Array<String>]
|
19450
|
+
#
|
19451
|
+
# @!attribute [rw] next_token
|
19452
|
+
# Specify the pagination token from a previous request to retrieve the
|
19453
|
+
# next page of results.
|
19454
|
+
# @return [String]
|
19455
|
+
#
|
19456
|
+
# @!attribute [rw] max_results
|
19457
|
+
# The maximum number of resource discoveries to return in one page of
|
19458
|
+
# results.
|
19459
|
+
# @return [Integer]
|
19460
|
+
#
|
19461
|
+
# @!attribute [rw] filters
|
19462
|
+
# The resource discovery filters.
|
19463
|
+
# @return [Array<Types::Filter>]
|
19464
|
+
#
|
19465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpamResourceDiscoveriesRequest AWS API Documentation
|
19466
|
+
#
|
19467
|
+
class DescribeIpamResourceDiscoveriesRequest < Struct.new(
|
19468
|
+
:dry_run,
|
19469
|
+
:ipam_resource_discovery_ids,
|
19470
|
+
:next_token,
|
19471
|
+
:max_results,
|
19472
|
+
:filters)
|
19473
|
+
SENSITIVE = []
|
19474
|
+
include Aws::Structure
|
19475
|
+
end
|
19476
|
+
|
19477
|
+
# @!attribute [rw] ipam_resource_discoveries
|
19478
|
+
# The resource discoveries.
|
19479
|
+
# @return [Array<Types::IpamResourceDiscovery>]
|
19480
|
+
#
|
19481
|
+
# @!attribute [rw] next_token
|
19482
|
+
# Specify the pagination token from a previous request to retrieve the
|
19483
|
+
# next page of results.
|
19484
|
+
# @return [String]
|
19485
|
+
#
|
19486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpamResourceDiscoveriesResult AWS API Documentation
|
19487
|
+
#
|
19488
|
+
class DescribeIpamResourceDiscoveriesResult < Struct.new(
|
19489
|
+
:ipam_resource_discoveries,
|
19490
|
+
:next_token)
|
19491
|
+
SENSITIVE = []
|
19492
|
+
include Aws::Structure
|
19493
|
+
end
|
19494
|
+
|
19495
|
+
# @!attribute [rw] dry_run
|
19496
|
+
# A check for whether you have the required permissions for the action
|
19497
|
+
# without actually making the request and provides an error response.
|
19498
|
+
# If you have the required permissions, the error response is
|
19499
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
19500
|
+
# @return [Boolean]
|
19501
|
+
#
|
19502
|
+
# @!attribute [rw] ipam_resource_discovery_association_ids
|
19503
|
+
# The resource discovery association IDs.
|
19504
|
+
# @return [Array<String>]
|
19505
|
+
#
|
19506
|
+
# @!attribute [rw] next_token
|
19507
|
+
# Specify the pagination token from a previous request to retrieve the
|
19508
|
+
# next page of results.
|
19509
|
+
# @return [String]
|
19510
|
+
#
|
19511
|
+
# @!attribute [rw] max_results
|
19512
|
+
# The maximum number of resource discovery associations to return in
|
19513
|
+
# one page of results.
|
19514
|
+
# @return [Integer]
|
19515
|
+
#
|
19516
|
+
# @!attribute [rw] filters
|
19517
|
+
# The resource discovery association filters.
|
19518
|
+
# @return [Array<Types::Filter>]
|
19519
|
+
#
|
19520
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpamResourceDiscoveryAssociationsRequest AWS API Documentation
|
19521
|
+
#
|
19522
|
+
class DescribeIpamResourceDiscoveryAssociationsRequest < Struct.new(
|
19523
|
+
:dry_run,
|
19524
|
+
:ipam_resource_discovery_association_ids,
|
19525
|
+
:next_token,
|
19526
|
+
:max_results,
|
19527
|
+
:filters)
|
19528
|
+
SENSITIVE = []
|
19529
|
+
include Aws::Structure
|
19530
|
+
end
|
19531
|
+
|
19532
|
+
# @!attribute [rw] ipam_resource_discovery_associations
|
19533
|
+
# The resource discovery associations.
|
19534
|
+
# @return [Array<Types::IpamResourceDiscoveryAssociation>]
|
19535
|
+
#
|
19536
|
+
# @!attribute [rw] next_token
|
19537
|
+
# Specify the pagination token from a previous request to retrieve the
|
19538
|
+
# next page of results.
|
19539
|
+
# @return [String]
|
19540
|
+
#
|
19541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpamResourceDiscoveryAssociationsResult AWS API Documentation
|
19542
|
+
#
|
19543
|
+
class DescribeIpamResourceDiscoveryAssociationsResult < Struct.new(
|
19544
|
+
:ipam_resource_discovery_associations,
|
19545
|
+
:next_token)
|
19546
|
+
SENSITIVE = []
|
19547
|
+
include Aws::Structure
|
19548
|
+
end
|
19549
|
+
|
19273
19550
|
# @!attribute [rw] dry_run
|
19274
19551
|
# A check for whether you have the required permissions for the action
|
19275
19552
|
# without actually making the request and provides an error response.
|
@@ -27150,6 +27427,38 @@ module Aws::EC2
|
|
27150
27427
|
include Aws::Structure
|
27151
27428
|
end
|
27152
27429
|
|
27430
|
+
# @!attribute [rw] dry_run
|
27431
|
+
# A check for whether you have the required permissions for the action
|
27432
|
+
# without actually making the request and provides an error response.
|
27433
|
+
# If you have the required permissions, the error response is
|
27434
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27435
|
+
# @return [Boolean]
|
27436
|
+
#
|
27437
|
+
# @!attribute [rw] ipam_resource_discovery_association_id
|
27438
|
+
# A resource discovery association ID.
|
27439
|
+
# @return [String]
|
27440
|
+
#
|
27441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIpamResourceDiscoveryRequest AWS API Documentation
|
27442
|
+
#
|
27443
|
+
class DisassociateIpamResourceDiscoveryRequest < Struct.new(
|
27444
|
+
:dry_run,
|
27445
|
+
:ipam_resource_discovery_association_id)
|
27446
|
+
SENSITIVE = []
|
27447
|
+
include Aws::Structure
|
27448
|
+
end
|
27449
|
+
|
27450
|
+
# @!attribute [rw] ipam_resource_discovery_association
|
27451
|
+
# A resource discovery association.
|
27452
|
+
# @return [Types::IpamResourceDiscoveryAssociation]
|
27453
|
+
#
|
27454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIpamResourceDiscoveryResult AWS API Documentation
|
27455
|
+
#
|
27456
|
+
class DisassociateIpamResourceDiscoveryResult < Struct.new(
|
27457
|
+
:ipam_resource_discovery_association)
|
27458
|
+
SENSITIVE = []
|
27459
|
+
include Aws::Structure
|
27460
|
+
end
|
27461
|
+
|
27153
27462
|
# @!attribute [rw] association_id
|
27154
27463
|
# The association ID representing the current association between the
|
27155
27464
|
# route table and subnet or gateway.
|
@@ -31780,6 +32089,127 @@ module Aws::EC2
|
|
31780
32089
|
include Aws::Structure
|
31781
32090
|
end
|
31782
32091
|
|
32092
|
+
# @!attribute [rw] dry_run
|
32093
|
+
# A check for whether you have the required permissions for the action
|
32094
|
+
# without actually making the request and provides an error response.
|
32095
|
+
# If you have the required permissions, the error response is
|
32096
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
32097
|
+
# @return [Boolean]
|
32098
|
+
#
|
32099
|
+
# @!attribute [rw] ipam_resource_discovery_id
|
32100
|
+
# A resource discovery ID.
|
32101
|
+
# @return [String]
|
32102
|
+
#
|
32103
|
+
# @!attribute [rw] discovery_region
|
32104
|
+
# The Amazon Web Services Region that the account information is
|
32105
|
+
# returned from.
|
32106
|
+
# @return [String]
|
32107
|
+
#
|
32108
|
+
# @!attribute [rw] filters
|
32109
|
+
# Discovered account filters.
|
32110
|
+
# @return [Array<Types::Filter>]
|
32111
|
+
#
|
32112
|
+
# @!attribute [rw] next_token
|
32113
|
+
# Specify the pagination token from a previous request to retrieve the
|
32114
|
+
# next page of results.
|
32115
|
+
# @return [String]
|
32116
|
+
#
|
32117
|
+
# @!attribute [rw] max_results
|
32118
|
+
# The maximum number of discovered accounts to return in one page of
|
32119
|
+
# results.
|
32120
|
+
# @return [Integer]
|
32121
|
+
#
|
32122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamDiscoveredAccountsRequest AWS API Documentation
|
32123
|
+
#
|
32124
|
+
class GetIpamDiscoveredAccountsRequest < Struct.new(
|
32125
|
+
:dry_run,
|
32126
|
+
:ipam_resource_discovery_id,
|
32127
|
+
:discovery_region,
|
32128
|
+
:filters,
|
32129
|
+
:next_token,
|
32130
|
+
:max_results)
|
32131
|
+
SENSITIVE = []
|
32132
|
+
include Aws::Structure
|
32133
|
+
end
|
32134
|
+
|
32135
|
+
# @!attribute [rw] ipam_discovered_accounts
|
32136
|
+
# Discovered accounts.
|
32137
|
+
# @return [Array<Types::IpamDiscoveredAccount>]
|
32138
|
+
#
|
32139
|
+
# @!attribute [rw] next_token
|
32140
|
+
# Specify the pagination token from a previous request to retrieve the
|
32141
|
+
# next page of results.
|
32142
|
+
# @return [String]
|
32143
|
+
#
|
32144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamDiscoveredAccountsResult AWS API Documentation
|
32145
|
+
#
|
32146
|
+
class GetIpamDiscoveredAccountsResult < Struct.new(
|
32147
|
+
:ipam_discovered_accounts,
|
32148
|
+
:next_token)
|
32149
|
+
SENSITIVE = []
|
32150
|
+
include Aws::Structure
|
32151
|
+
end
|
32152
|
+
|
32153
|
+
# @!attribute [rw] dry_run
|
32154
|
+
# A check for whether you have the required permissions for the action
|
32155
|
+
# without actually making the request and provides an error response.
|
32156
|
+
# If you have the required permissions, the error response is
|
32157
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
32158
|
+
# @return [Boolean]
|
32159
|
+
#
|
32160
|
+
# @!attribute [rw] ipam_resource_discovery_id
|
32161
|
+
# A resource discovery ID.
|
32162
|
+
# @return [String]
|
32163
|
+
#
|
32164
|
+
# @!attribute [rw] resource_region
|
32165
|
+
# A resource Region.
|
32166
|
+
# @return [String]
|
32167
|
+
#
|
32168
|
+
# @!attribute [rw] filters
|
32169
|
+
# Filters.
|
32170
|
+
# @return [Array<Types::Filter>]
|
32171
|
+
#
|
32172
|
+
# @!attribute [rw] next_token
|
32173
|
+
# Specify the pagination token from a previous request to retrieve the
|
32174
|
+
# next page of results.
|
32175
|
+
# @return [String]
|
32176
|
+
#
|
32177
|
+
# @!attribute [rw] max_results
|
32178
|
+
# The maximum number of discovered resource CIDRs to return in one
|
32179
|
+
# page of results.
|
32180
|
+
# @return [Integer]
|
32181
|
+
#
|
32182
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamDiscoveredResourceCidrsRequest AWS API Documentation
|
32183
|
+
#
|
32184
|
+
class GetIpamDiscoveredResourceCidrsRequest < Struct.new(
|
32185
|
+
:dry_run,
|
32186
|
+
:ipam_resource_discovery_id,
|
32187
|
+
:resource_region,
|
32188
|
+
:filters,
|
32189
|
+
:next_token,
|
32190
|
+
:max_results)
|
32191
|
+
SENSITIVE = []
|
32192
|
+
include Aws::Structure
|
32193
|
+
end
|
32194
|
+
|
32195
|
+
# @!attribute [rw] ipam_discovered_resource_cidrs
|
32196
|
+
# Discovered resource CIDRs.
|
32197
|
+
# @return [Array<Types::IpamDiscoveredResourceCidr>]
|
32198
|
+
#
|
32199
|
+
# @!attribute [rw] next_token
|
32200
|
+
# Specify the pagination token from a previous request to retrieve the
|
32201
|
+
# next page of results.
|
32202
|
+
# @return [String]
|
32203
|
+
#
|
32204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamDiscoveredResourceCidrsResult AWS API Documentation
|
32205
|
+
#
|
32206
|
+
class GetIpamDiscoveredResourceCidrsResult < Struct.new(
|
32207
|
+
:ipam_discovered_resource_cidrs,
|
32208
|
+
:next_token)
|
32209
|
+
SENSITIVE = []
|
32210
|
+
include Aws::Structure
|
32211
|
+
end
|
32212
|
+
|
31783
32213
|
# @!attribute [rw] dry_run
|
31784
32214
|
# A check for whether you have the required permissions for the action
|
31785
32215
|
# without actually making the request and provides an error response.
|
@@ -38188,7 +38618,7 @@ module Aws::EC2
|
|
38188
38618
|
# @return [String]
|
38189
38619
|
#
|
38190
38620
|
# @!attribute [rw] ipam_arn
|
38191
|
-
# The ARN of the IPAM.
|
38621
|
+
# The Amazon Resource Name (ARN) of the IPAM.
|
38192
38622
|
# @return [String]
|
38193
38623
|
#
|
38194
38624
|
# @!attribute [rw] ipam_region
|
@@ -38243,6 +38673,18 @@ module Aws::EC2
|
|
38243
38673
|
# name and `TeamA` for the filter value.
|
38244
38674
|
# @return [Array<Types::Tag>]
|
38245
38675
|
#
|
38676
|
+
# @!attribute [rw] default_resource_discovery_id
|
38677
|
+
# The IPAM's default resource discovery ID.
|
38678
|
+
# @return [String]
|
38679
|
+
#
|
38680
|
+
# @!attribute [rw] default_resource_discovery_association_id
|
38681
|
+
# The IPAM's default resource discovery association ID.
|
38682
|
+
# @return [String]
|
38683
|
+
#
|
38684
|
+
# @!attribute [rw] resource_discovery_association_count
|
38685
|
+
# The IPAM's resource discovery association count.
|
38686
|
+
# @return [Integer]
|
38687
|
+
#
|
38246
38688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipam AWS API Documentation
|
38247
38689
|
#
|
38248
38690
|
class Ipam < Struct.new(
|
@@ -38256,7 +38698,10 @@ module Aws::EC2
|
|
38256
38698
|
:description,
|
38257
38699
|
:operating_regions,
|
38258
38700
|
:state,
|
38259
|
-
:tags
|
38701
|
+
:tags,
|
38702
|
+
:default_resource_discovery_id,
|
38703
|
+
:default_resource_discovery_association_id,
|
38704
|
+
:resource_discovery_association_count)
|
38260
38705
|
SENSITIVE = []
|
38261
38706
|
include Aws::Structure
|
38262
38707
|
end
|
@@ -38368,6 +38813,165 @@ module Aws::EC2
|
|
38368
38813
|
include Aws::Structure
|
38369
38814
|
end
|
38370
38815
|
|
38816
|
+
# An IPAM discovered account. A discovered account is an Amazon Web
|
38817
|
+
# Services account that is monitored under a resource discovery. If you
|
38818
|
+
# have integrated IPAM with Amazon Web Services Organizations, all
|
38819
|
+
# accounts in the organization are discovered accounts.
|
38820
|
+
#
|
38821
|
+
# @!attribute [rw] account_id
|
38822
|
+
# The account ID.
|
38823
|
+
# @return [String]
|
38824
|
+
#
|
38825
|
+
# @!attribute [rw] discovery_region
|
38826
|
+
# The Amazon Web Services Region that the account information is
|
38827
|
+
# returned from. An account can be discovered in multiple regions and
|
38828
|
+
# will have a separate discovered account for each Region.
|
38829
|
+
# @return [String]
|
38830
|
+
#
|
38831
|
+
# @!attribute [rw] failure_reason
|
38832
|
+
# The resource discovery failure reason.
|
38833
|
+
# @return [Types::IpamDiscoveryFailureReason]
|
38834
|
+
#
|
38835
|
+
# @!attribute [rw] last_attempted_discovery_time
|
38836
|
+
# The last attempted resource discovery time.
|
38837
|
+
# @return [Time]
|
38838
|
+
#
|
38839
|
+
# @!attribute [rw] last_successful_discovery_time
|
38840
|
+
# The last successful resource discovery time.
|
38841
|
+
# @return [Time]
|
38842
|
+
#
|
38843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamDiscoveredAccount AWS API Documentation
|
38844
|
+
#
|
38845
|
+
class IpamDiscoveredAccount < Struct.new(
|
38846
|
+
:account_id,
|
38847
|
+
:discovery_region,
|
38848
|
+
:failure_reason,
|
38849
|
+
:last_attempted_discovery_time,
|
38850
|
+
:last_successful_discovery_time)
|
38851
|
+
SENSITIVE = []
|
38852
|
+
include Aws::Structure
|
38853
|
+
end
|
38854
|
+
|
38855
|
+
# An IPAM discovered resource CIDR. A discovered resource is a resource
|
38856
|
+
# CIDR monitored under a resource discovery. The following resources can
|
38857
|
+
# be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP
|
38858
|
+
# addresses. The discovered resource CIDR is the IP address range in
|
38859
|
+
# CIDR notation that is associated with the resource.
|
38860
|
+
#
|
38861
|
+
# @!attribute [rw] ipam_resource_discovery_id
|
38862
|
+
# The resource discovery ID.
|
38863
|
+
# @return [String]
|
38864
|
+
#
|
38865
|
+
# @!attribute [rw] resource_region
|
38866
|
+
# The resource Region.
|
38867
|
+
# @return [String]
|
38868
|
+
#
|
38869
|
+
# @!attribute [rw] resource_id
|
38870
|
+
# The resource ID.
|
38871
|
+
# @return [String]
|
38872
|
+
#
|
38873
|
+
# @!attribute [rw] resource_owner_id
|
38874
|
+
# The resource owner ID.
|
38875
|
+
# @return [String]
|
38876
|
+
#
|
38877
|
+
# @!attribute [rw] resource_cidr
|
38878
|
+
# The resource CIDR.
|
38879
|
+
# @return [String]
|
38880
|
+
#
|
38881
|
+
# @!attribute [rw] resource_type
|
38882
|
+
# The resource type.
|
38883
|
+
# @return [String]
|
38884
|
+
#
|
38885
|
+
# @!attribute [rw] resource_tags
|
38886
|
+
# The resource tags.
|
38887
|
+
# @return [Array<Types::IpamResourceTag>]
|
38888
|
+
#
|
38889
|
+
# @!attribute [rw] ip_usage
|
38890
|
+
# The percentage of IP address space in use. To convert the decimal to
|
38891
|
+
# a percentage, multiply the decimal by 100. Note the following:
|
38892
|
+
#
|
38893
|
+
# * For resources that are VPCs, this is the percentage of IP address
|
38894
|
+
# space in the VPC that's taken up by subnet CIDRs.
|
38895
|
+
#
|
38896
|
+
# * For resources that are subnets, if the subnet has an IPv4 CIDR
|
38897
|
+
# provisioned to it, this is the percentage of IPv4 address space in
|
38898
|
+
# the subnet that's in use. If the subnet has an IPv6 CIDR
|
38899
|
+
# provisioned to it, the percentage of IPv6 address space in use is
|
38900
|
+
# not represented. The percentage of IPv6 address space in use
|
38901
|
+
# cannot currently be calculated.
|
38902
|
+
#
|
38903
|
+
# * For resources that are public IPv4 pools, this is the percentage
|
38904
|
+
# of IP address space in the pool that's been allocated to Elastic
|
38905
|
+
# IP addresses (EIPs).
|
38906
|
+
# @return [Float]
|
38907
|
+
#
|
38908
|
+
# @!attribute [rw] vpc_id
|
38909
|
+
# The VPC ID.
|
38910
|
+
# @return [String]
|
38911
|
+
#
|
38912
|
+
# @!attribute [rw] sample_time
|
38913
|
+
# The last successful resource discovery time.
|
38914
|
+
# @return [Time]
|
38915
|
+
#
|
38916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamDiscoveredResourceCidr AWS API Documentation
|
38917
|
+
#
|
38918
|
+
class IpamDiscoveredResourceCidr < Struct.new(
|
38919
|
+
:ipam_resource_discovery_id,
|
38920
|
+
:resource_region,
|
38921
|
+
:resource_id,
|
38922
|
+
:resource_owner_id,
|
38923
|
+
:resource_cidr,
|
38924
|
+
:resource_type,
|
38925
|
+
:resource_tags,
|
38926
|
+
:ip_usage,
|
38927
|
+
:vpc_id,
|
38928
|
+
:sample_time)
|
38929
|
+
SENSITIVE = []
|
38930
|
+
include Aws::Structure
|
38931
|
+
end
|
38932
|
+
|
38933
|
+
# The discovery failure reason.
|
38934
|
+
#
|
38935
|
+
# @!attribute [rw] code
|
38936
|
+
# The discovery failure code.
|
38937
|
+
#
|
38938
|
+
# * `assume-role-failure` - IPAM could not assume the Amazon Web
|
38939
|
+
# Services IAM service-linked role. This could be because of any of
|
38940
|
+
# the following:
|
38941
|
+
#
|
38942
|
+
# * SLR has not been created yet and IPAM is still creating it.
|
38943
|
+
#
|
38944
|
+
# * You have opted-out of the IPAM home Region.
|
38945
|
+
#
|
38946
|
+
# * Account you are using as your IPAM account has been suspended.
|
38947
|
+
#
|
38948
|
+
# * `throttling-failure` - IPAM account is already using the allotted
|
38949
|
+
# transactions per second and IPAM is receiving a throttling error
|
38950
|
+
# when assuming the Amazon Web Services IAM SLR.
|
38951
|
+
#
|
38952
|
+
# * `unauthorized-failure` - Amazon Web Services account making the
|
38953
|
+
# request is not authorized. For more information, see
|
38954
|
+
# [AuthFailure][1] in the *Amazon Elastic Compute Cloud API
|
38955
|
+
# Reference*.
|
38956
|
+
#
|
38957
|
+
#
|
38958
|
+
#
|
38959
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
38960
|
+
# @return [String]
|
38961
|
+
#
|
38962
|
+
# @!attribute [rw] message
|
38963
|
+
# The discovery failure message.
|
38964
|
+
# @return [String]
|
38965
|
+
#
|
38966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamDiscoveryFailureReason AWS API Documentation
|
38967
|
+
#
|
38968
|
+
class IpamDiscoveryFailureReason < Struct.new(
|
38969
|
+
:code,
|
38970
|
+
:message)
|
38971
|
+
SENSITIVE = []
|
38972
|
+
include Aws::Structure
|
38973
|
+
end
|
38974
|
+
|
38371
38975
|
# The operating Regions for an IPAM. Operating Regions are Amazon Web
|
38372
38976
|
# Services Regions where the IPAM is allowed to manage IP address CIDRs.
|
38373
38977
|
# IPAM only discovers and monitors resources in the Amazon Web Services
|
@@ -38412,7 +39016,7 @@ module Aws::EC2
|
|
38412
39016
|
# @return [String]
|
38413
39017
|
#
|
38414
39018
|
# @!attribute [rw] ipam_pool_arn
|
38415
|
-
# The ARN of the IPAM pool.
|
39019
|
+
# The Amazon Resource Name (ARN) of the IPAM pool.
|
38416
39020
|
# @return [String]
|
38417
39021
|
#
|
38418
39022
|
# @!attribute [rw] ipam_scope_arn
|
@@ -38540,6 +39144,21 @@ module Aws::EC2
|
|
38540
39144
|
# IP addresses and VPCs.
|
38541
39145
|
# @return [String]
|
38542
39146
|
#
|
39147
|
+
# @!attribute [rw] public_ip_source
|
39148
|
+
# The IP address source for pools in the public scope. Only used for
|
39149
|
+
# provisioning IP address CIDRs to pools in the public scope. Default
|
39150
|
+
# is `BYOIP`. For more information, see [Create IPv6 pools][1] in the
|
39151
|
+
# *Amazon VPC IPAM User Guide*. By default, you can add only one
|
39152
|
+
# Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For
|
39153
|
+
# information on increasing the default limit, see [ Quotas for your
|
39154
|
+
# IPAM][2] in the *Amazon VPC IPAM User Guide*.
|
39155
|
+
#
|
39156
|
+
#
|
39157
|
+
#
|
39158
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/ipam/intro-create-ipv6-pools.html
|
39159
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html
|
39160
|
+
# @return [String]
|
39161
|
+
#
|
38543
39162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamPool AWS API Documentation
|
38544
39163
|
#
|
38545
39164
|
class IpamPool < Struct.new(
|
@@ -38564,13 +39183,14 @@ module Aws::EC2
|
|
38564
39183
|
:allocation_default_netmask_length,
|
38565
39184
|
:allocation_resource_tags,
|
38566
39185
|
:tags,
|
38567
|
-
:aws_service
|
39186
|
+
:aws_service,
|
39187
|
+
:public_ip_source)
|
38568
39188
|
SENSITIVE = []
|
38569
39189
|
include Aws::Structure
|
38570
39190
|
end
|
38571
39191
|
|
38572
39192
|
# In IPAM, an allocation is a CIDR assignment from an IPAM pool to
|
38573
|
-
# another
|
39193
|
+
# another IPAM pool or to a resource.
|
38574
39194
|
#
|
38575
39195
|
# @!attribute [rw] cidr
|
38576
39196
|
# The CIDR for the allocation. A CIDR is a representation of an IP
|
@@ -38634,12 +39254,26 @@ module Aws::EC2
|
|
38634
39254
|
# Details related to why an IPAM pool CIDR failed to be provisioned.
|
38635
39255
|
# @return [Types::IpamPoolCidrFailureReason]
|
38636
39256
|
#
|
39257
|
+
# @!attribute [rw] ipam_pool_cidr_id
|
39258
|
+
# The IPAM pool CIDR ID.
|
39259
|
+
# @return [String]
|
39260
|
+
#
|
39261
|
+
# @!attribute [rw] netmask_length
|
39262
|
+
# The netmask length of the CIDR you'd like to provision to a pool.
|
39263
|
+
# Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level
|
39264
|
+
# pools and for provisioning CIDRs to pools with source pools. Cannot
|
39265
|
+
# be used to provision BYOIP CIDRs to top-level pools.
|
39266
|
+
# "NetmaskLength" or "Cidr" is required.
|
39267
|
+
# @return [Integer]
|
39268
|
+
#
|
38637
39269
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamPoolCidr AWS API Documentation
|
38638
39270
|
#
|
38639
39271
|
class IpamPoolCidr < Struct.new(
|
38640
39272
|
:cidr,
|
38641
39273
|
:state,
|
38642
|
-
:failure_reason
|
39274
|
+
:failure_reason,
|
39275
|
+
:ipam_pool_cidr_id,
|
39276
|
+
:netmask_length)
|
38643
39277
|
SENSITIVE = []
|
38644
39278
|
include Aws::Structure
|
38645
39279
|
end
|
@@ -38711,8 +39345,8 @@ module Aws::EC2
|
|
38711
39345
|
# The percentage of IP address space in use. To convert the decimal to
|
38712
39346
|
# a percentage, multiply the decimal by 100. Note the following:
|
38713
39347
|
#
|
38714
|
-
# * For
|
38715
|
-
#
|
39348
|
+
# * For resources that are VPCs, this is the percentage of IP address
|
39349
|
+
# space in the VPC that's taken up by subnet CIDRs.
|
38716
39350
|
#
|
38717
39351
|
# * For resources that are subnets, if the subnet has an IPv4 CIDR
|
38718
39352
|
# provisioned to it, this is the percentage of IPv4 address space in
|
@@ -38783,6 +39417,201 @@ module Aws::EC2
|
|
38783
39417
|
include Aws::Structure
|
38784
39418
|
end
|
38785
39419
|
|
39420
|
+
# A resource discovery is an IPAM component that enables IPAM Service to
|
39421
|
+
# manage and monitor resources that belong to the owning account.
|
39422
|
+
#
|
39423
|
+
# @!attribute [rw] owner_id
|
39424
|
+
# The ID of the owner.
|
39425
|
+
# @return [String]
|
39426
|
+
#
|
39427
|
+
# @!attribute [rw] ipam_resource_discovery_id
|
39428
|
+
# The resource discovery ID.
|
39429
|
+
# @return [String]
|
39430
|
+
#
|
39431
|
+
# @!attribute [rw] ipam_resource_discovery_arn
|
39432
|
+
# The resource discovery Amazon Resource Name (ARN).
|
39433
|
+
# @return [String]
|
39434
|
+
#
|
39435
|
+
# @!attribute [rw] ipam_resource_discovery_region
|
39436
|
+
# The resource discovery Region.
|
39437
|
+
# @return [String]
|
39438
|
+
#
|
39439
|
+
# @!attribute [rw] description
|
39440
|
+
# The resource discovery description.
|
39441
|
+
# @return [String]
|
39442
|
+
#
|
39443
|
+
# @!attribute [rw] operating_regions
|
39444
|
+
# The operating Regions for the resource discovery. Operating Regions
|
39445
|
+
# are Amazon Web Services Regions where the IPAM is allowed to manage
|
39446
|
+
# IP address CIDRs. IPAM only discovers and monitors resources in the
|
39447
|
+
# Amazon Web Services Regions you select as operating Regions.
|
39448
|
+
# @return [Array<Types::IpamOperatingRegion>]
|
39449
|
+
#
|
39450
|
+
# @!attribute [rw] is_default
|
39451
|
+
# Defines if the resource discovery is the default. The default
|
39452
|
+
# resource discovery is the resource discovery automatically created
|
39453
|
+
# when you create an IPAM.
|
39454
|
+
# @return [Boolean]
|
39455
|
+
#
|
39456
|
+
# @!attribute [rw] state
|
39457
|
+
# The lifecycle state of the resource discovery.
|
39458
|
+
#
|
39459
|
+
# * `create-in-progress` - Resource discovery is being created.
|
39460
|
+
#
|
39461
|
+
# * `create-complete` - Resource discovery creation is complete.
|
39462
|
+
#
|
39463
|
+
# * `create-failed` - Resource discovery creation has failed.
|
39464
|
+
#
|
39465
|
+
# * `modify-in-progress` - Resource discovery is being modified.
|
39466
|
+
#
|
39467
|
+
# * `modify-complete` - Resource discovery modification is complete.
|
39468
|
+
#
|
39469
|
+
# * `modify-failed` - Resource discovery modification has failed.
|
39470
|
+
#
|
39471
|
+
# * `delete-in-progress` - Resource discovery is being deleted.
|
39472
|
+
#
|
39473
|
+
# * `delete-complete` - Resource discovery deletion is complete.
|
39474
|
+
#
|
39475
|
+
# * `delete-failed` - Resource discovery deletion has failed.
|
39476
|
+
#
|
39477
|
+
# * `isolate-in-progress` - Amazon Web Services account that created
|
39478
|
+
# the resource discovery has been removed and the resource discovery
|
39479
|
+
# is being isolated.
|
39480
|
+
#
|
39481
|
+
# * `isolate-complete` - Resource discovery isolation is complete.
|
39482
|
+
#
|
39483
|
+
# * `restore-in-progress` - Amazon Web Services account that created
|
39484
|
+
# the resource discovery and was isolated has been restored.
|
39485
|
+
# @return [String]
|
39486
|
+
#
|
39487
|
+
# @!attribute [rw] tags
|
39488
|
+
# A tag is a label that you assign to an Amazon Web Services resource.
|
39489
|
+
# Each tag consists of a key and an optional value. You can use tags
|
39490
|
+
# to search and filter your resources or track your Amazon Web
|
39491
|
+
# Services costs.
|
39492
|
+
# @return [Array<Types::Tag>]
|
39493
|
+
#
|
39494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamResourceDiscovery AWS API Documentation
|
39495
|
+
#
|
39496
|
+
class IpamResourceDiscovery < Struct.new(
|
39497
|
+
:owner_id,
|
39498
|
+
:ipam_resource_discovery_id,
|
39499
|
+
:ipam_resource_discovery_arn,
|
39500
|
+
:ipam_resource_discovery_region,
|
39501
|
+
:description,
|
39502
|
+
:operating_regions,
|
39503
|
+
:is_default,
|
39504
|
+
:state,
|
39505
|
+
:tags)
|
39506
|
+
SENSITIVE = []
|
39507
|
+
include Aws::Structure
|
39508
|
+
end
|
39509
|
+
|
39510
|
+
# An IPAM resource discovery association. An associated resource
|
39511
|
+
# discovery is a resource discovery that has been associated with an
|
39512
|
+
# IPAM. IPAM aggregates the resource CIDRs discovered by the associated
|
39513
|
+
# resource discovery.
|
39514
|
+
#
|
39515
|
+
# @!attribute [rw] owner_id
|
39516
|
+
# The Amazon Web Services account ID of the resource discovery owner.
|
39517
|
+
# @return [String]
|
39518
|
+
#
|
39519
|
+
# @!attribute [rw] ipam_resource_discovery_association_id
|
39520
|
+
# The resource discovery association ID.
|
39521
|
+
# @return [String]
|
39522
|
+
#
|
39523
|
+
# @!attribute [rw] ipam_resource_discovery_association_arn
|
39524
|
+
# The resource discovery association Amazon Resource Name (ARN).
|
39525
|
+
# @return [String]
|
39526
|
+
#
|
39527
|
+
# @!attribute [rw] ipam_resource_discovery_id
|
39528
|
+
# The resource discovery ID.
|
39529
|
+
# @return [String]
|
39530
|
+
#
|
39531
|
+
# @!attribute [rw] ipam_id
|
39532
|
+
# The IPAM ID.
|
39533
|
+
# @return [String]
|
39534
|
+
#
|
39535
|
+
# @!attribute [rw] ipam_arn
|
39536
|
+
# The IPAM ARN.
|
39537
|
+
# @return [String]
|
39538
|
+
#
|
39539
|
+
# @!attribute [rw] ipam_region
|
39540
|
+
# The IPAM home Region.
|
39541
|
+
# @return [String]
|
39542
|
+
#
|
39543
|
+
# @!attribute [rw] is_default
|
39544
|
+
# Defines if the resource discovery is the default. When you create an
|
39545
|
+
# IPAM, a default resource discovery is created for your IPAM and
|
39546
|
+
# it's associated with your IPAM.
|
39547
|
+
# @return [Boolean]
|
39548
|
+
#
|
39549
|
+
# @!attribute [rw] resource_discovery_status
|
39550
|
+
# The resource discovery status.
|
39551
|
+
#
|
39552
|
+
# * `active` - Connection or permissions required to read the results
|
39553
|
+
# of the resource discovery are intact.
|
39554
|
+
#
|
39555
|
+
# * `not-found` - Connection or permissions required to read the
|
39556
|
+
# results of the resource discovery are broken. This may happen if
|
39557
|
+
# the owner of the resource discovery stopped sharing it or deleted
|
39558
|
+
# the resource discovery. Verify the resource discovery still exists
|
39559
|
+
# and the Amazon Web Services RAM resource share is still intact.
|
39560
|
+
# @return [String]
|
39561
|
+
#
|
39562
|
+
# @!attribute [rw] state
|
39563
|
+
# The lifecycle state of the association when you associate or
|
39564
|
+
# disassociate a resource discovery.
|
39565
|
+
#
|
39566
|
+
# * `associate-in-progress` - Resource discovery is being associated.
|
39567
|
+
#
|
39568
|
+
# * `associate-complete` - Resource discovery association is complete.
|
39569
|
+
#
|
39570
|
+
# * `associate-failed` - Resource discovery association has failed.
|
39571
|
+
#
|
39572
|
+
# * `disassociate-in-progress` - Resource discovery is being
|
39573
|
+
# disassociated.
|
39574
|
+
#
|
39575
|
+
# * `disassociate-complete` - Resource discovery disassociation is
|
39576
|
+
# complete.
|
39577
|
+
#
|
39578
|
+
# * `disassociate-failed ` - Resource discovery disassociation has
|
39579
|
+
# failed.
|
39580
|
+
#
|
39581
|
+
# * `isolate-in-progress` - Amazon Web Services account that created
|
39582
|
+
# the resource discovery association has been removed and the
|
39583
|
+
# resource discovery associatation is being isolated.
|
39584
|
+
#
|
39585
|
+
# * `isolate-complete` - Resource discovery isolation is complete..
|
39586
|
+
#
|
39587
|
+
# * `restore-in-progress` - Resource discovery is being restored.
|
39588
|
+
# @return [String]
|
39589
|
+
#
|
39590
|
+
# @!attribute [rw] tags
|
39591
|
+
# A tag is a label that you assign to an Amazon Web Services resource.
|
39592
|
+
# Each tag consists of a key and an optional value. You can use tags
|
39593
|
+
# to search and filter your resources or track your Amazon Web
|
39594
|
+
# Services costs.
|
39595
|
+
# @return [Array<Types::Tag>]
|
39596
|
+
#
|
39597
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamResourceDiscoveryAssociation AWS API Documentation
|
39598
|
+
#
|
39599
|
+
class IpamResourceDiscoveryAssociation < Struct.new(
|
39600
|
+
:owner_id,
|
39601
|
+
:ipam_resource_discovery_association_id,
|
39602
|
+
:ipam_resource_discovery_association_arn,
|
39603
|
+
:ipam_resource_discovery_id,
|
39604
|
+
:ipam_id,
|
39605
|
+
:ipam_arn,
|
39606
|
+
:ipam_region,
|
39607
|
+
:is_default,
|
39608
|
+
:resource_discovery_status,
|
39609
|
+
:state,
|
39610
|
+
:tags)
|
39611
|
+
SENSITIVE = []
|
39612
|
+
include Aws::Structure
|
39613
|
+
end
|
39614
|
+
|
38786
39615
|
# The key/value combination of a tag assigned to the resource. Use the
|
38787
39616
|
# tag key in the filter name and the tag value as the filter value. For
|
38788
39617
|
# example, to find all resources that have a tag with the key `Owner`
|
@@ -38831,7 +39660,7 @@ module Aws::EC2
|
|
38831
39660
|
# @return [String]
|
38832
39661
|
#
|
38833
39662
|
# @!attribute [rw] ipam_scope_arn
|
38834
|
-
# The ARN of the scope.
|
39663
|
+
# The Amazon Resource Name (ARN) of the scope.
|
38835
39664
|
# @return [String]
|
38836
39665
|
#
|
38837
39666
|
# @!attribute [rw] ipam_arn
|
@@ -41257,6 +42086,10 @@ module Aws::EC2
|
|
41257
42086
|
# The ID of the network interface.
|
41258
42087
|
# @return [String]
|
41259
42088
|
#
|
42089
|
+
# @!attribute [rw] destination_prefix_list_id
|
42090
|
+
# The ID of the prefix list.
|
42091
|
+
# @return [String]
|
42092
|
+
#
|
41260
42093
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LocalGatewayRoute AWS API Documentation
|
41261
42094
|
#
|
41262
42095
|
class LocalGatewayRoute < Struct.new(
|
@@ -41269,7 +42102,8 @@ module Aws::EC2
|
|
41269
42102
|
:owner_id,
|
41270
42103
|
:subnet_id,
|
41271
42104
|
:coip_pool_id,
|
41272
|
-
:network_interface_id
|
42105
|
+
:network_interface_id,
|
42106
|
+
:destination_prefix_list_id)
|
41273
42107
|
SENSITIVE = []
|
41274
42108
|
include Aws::Structure
|
41275
42109
|
end
|
@@ -43321,6 +44155,56 @@ module Aws::EC2
|
|
43321
44155
|
include Aws::Structure
|
43322
44156
|
end
|
43323
44157
|
|
44158
|
+
# @!attribute [rw] dry_run
|
44159
|
+
# A check for whether you have the required permissions for the action
|
44160
|
+
# without actually making the request and provides an error response.
|
44161
|
+
# If you have the required permissions, the error response is
|
44162
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
44163
|
+
# @return [Boolean]
|
44164
|
+
#
|
44165
|
+
# @!attribute [rw] ipam_resource_discovery_id
|
44166
|
+
# A resource discovery ID.
|
44167
|
+
# @return [String]
|
44168
|
+
#
|
44169
|
+
# @!attribute [rw] description
|
44170
|
+
# A resource discovery description.
|
44171
|
+
# @return [String]
|
44172
|
+
#
|
44173
|
+
# @!attribute [rw] add_operating_regions
|
44174
|
+
# Add operating Regions to the resource discovery. Operating Regions
|
44175
|
+
# are Amazon Web Services Regions where the IPAM is allowed to manage
|
44176
|
+
# IP address CIDRs. IPAM only discovers and monitors resources in the
|
44177
|
+
# Amazon Web Services Regions you select as operating Regions.
|
44178
|
+
# @return [Array<Types::AddIpamOperatingRegion>]
|
44179
|
+
#
|
44180
|
+
# @!attribute [rw] remove_operating_regions
|
44181
|
+
# Remove operating Regions.
|
44182
|
+
# @return [Array<Types::RemoveIpamOperatingRegion>]
|
44183
|
+
#
|
44184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamResourceDiscoveryRequest AWS API Documentation
|
44185
|
+
#
|
44186
|
+
class ModifyIpamResourceDiscoveryRequest < Struct.new(
|
44187
|
+
:dry_run,
|
44188
|
+
:ipam_resource_discovery_id,
|
44189
|
+
:description,
|
44190
|
+
:add_operating_regions,
|
44191
|
+
:remove_operating_regions)
|
44192
|
+
SENSITIVE = []
|
44193
|
+
include Aws::Structure
|
44194
|
+
end
|
44195
|
+
|
44196
|
+
# @!attribute [rw] ipam_resource_discovery
|
44197
|
+
# A resource discovery.
|
44198
|
+
# @return [Types::IpamResourceDiscovery]
|
44199
|
+
#
|
44200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamResourceDiscoveryResult AWS API Documentation
|
44201
|
+
#
|
44202
|
+
class ModifyIpamResourceDiscoveryResult < Struct.new(
|
44203
|
+
:ipam_resource_discovery)
|
44204
|
+
SENSITIVE = []
|
44205
|
+
include Aws::Structure
|
44206
|
+
end
|
44207
|
+
|
43324
44208
|
# @!attribute [rw] ipam
|
43325
44209
|
# The results of the modification.
|
43326
44210
|
# @return [Types::Ipam]
|
@@ -43456,6 +44340,12 @@ module Aws::EC2
|
|
43456
44340
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
43457
44341
|
# @return [Boolean]
|
43458
44342
|
#
|
44343
|
+
# @!attribute [rw] destination_prefix_list_id
|
44344
|
+
# The ID of the prefix list. Use a prefix list in place of
|
44345
|
+
# `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and
|
44346
|
+
# `DestinationCidrBlock` in the same request.
|
44347
|
+
# @return [String]
|
44348
|
+
#
|
43459
44349
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLocalGatewayRouteRequest AWS API Documentation
|
43460
44350
|
#
|
43461
44351
|
class ModifyLocalGatewayRouteRequest < Struct.new(
|
@@ -43463,7 +44353,8 @@ module Aws::EC2
|
|
43463
44353
|
:local_gateway_route_table_id,
|
43464
44354
|
:local_gateway_virtual_interface_group_id,
|
43465
44355
|
:network_interface_id,
|
43466
|
-
:dry_run
|
44356
|
+
:dry_run,
|
44357
|
+
:destination_prefix_list_id)
|
43467
44358
|
SENSITIVE = []
|
43468
44359
|
include Aws::Structure
|
43469
44360
|
end
|
@@ -48611,7 +49502,10 @@ module Aws::EC2
|
|
48611
49502
|
# @return [String]
|
48612
49503
|
#
|
48613
49504
|
# @!attribute [rw] cidr
|
48614
|
-
# The CIDR you want to assign to the IPAM pool.
|
49505
|
+
# The CIDR you want to assign to the IPAM pool. Either
|
49506
|
+
# "NetmaskLength" or "Cidr" is required. This value will be null
|
49507
|
+
# if you specify "NetmaskLength" and will be filled in during the
|
49508
|
+
# provisioning process.
|
48615
49509
|
# @return [String]
|
48616
49510
|
#
|
48617
49511
|
# @!attribute [rw] cidr_authorization_context
|
@@ -48620,13 +49514,36 @@ module Aws::EC2
|
|
48620
49514
|
# applies to public pools only.
|
48621
49515
|
# @return [Types::IpamCidrAuthorizationContext]
|
48622
49516
|
#
|
49517
|
+
# @!attribute [rw] netmask_length
|
49518
|
+
# The netmask length of the CIDR you'd like to provision to a pool.
|
49519
|
+
# Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level
|
49520
|
+
# pools and for provisioning CIDRs to pools with source pools. Cannot
|
49521
|
+
# be used to provision BYOIP CIDRs to top-level pools. Either
|
49522
|
+
# "NetmaskLength" or "Cidr" is required.
|
49523
|
+
# @return [Integer]
|
49524
|
+
#
|
49525
|
+
# @!attribute [rw] client_token
|
49526
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
49527
|
+
# idempotency of the request. For more information, see [Ensuring
|
49528
|
+
# Idempotency][1].
|
49529
|
+
#
|
49530
|
+
# **A suitable default value is auto-generated.** You should normally
|
49531
|
+
# not need to pass this option.
|
49532
|
+
#
|
49533
|
+
#
|
49534
|
+
#
|
49535
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
49536
|
+
# @return [String]
|
49537
|
+
#
|
48623
49538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionIpamPoolCidrRequest AWS API Documentation
|
48624
49539
|
#
|
48625
49540
|
class ProvisionIpamPoolCidrRequest < Struct.new(
|
48626
49541
|
:dry_run,
|
48627
49542
|
:ipam_pool_id,
|
48628
49543
|
:cidr,
|
48629
|
-
:cidr_authorization_context
|
49544
|
+
:cidr_authorization_context,
|
49545
|
+
:netmask_length,
|
49546
|
+
:client_token)
|
48630
49547
|
SENSITIVE = []
|
48631
49548
|
include Aws::Structure
|
48632
49549
|
end
|
@@ -54045,6 +54962,8 @@ module Aws::EC2
|
|
54045
54962
|
# @!attribute [rw] filters
|
54046
54963
|
# One or more filters.
|
54047
54964
|
#
|
54965
|
+
# * `prefix-list-id` - The ID of the prefix list.
|
54966
|
+
#
|
54048
54967
|
# * `route-search.exact-match` - The exact match of the specified
|
54049
54968
|
# filter.
|
54050
54969
|
#
|