Skip to content

Commit 82e86f2

Browse files
authored
Updated CLI ref URLs for v2 (aws#9619)
1 parent bec35f3 commit 82e86f2

8 files changed

+10
-10
lines changed

awscli/examples/ec2/associate-ipam-resource-discovery.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this example, you are an IPAM delegated admin and a resource discovery has be
44

55
Note
66

7-
* To complete this request, you'll need the resource discovery ID which you can get with `describe-ipam-resource-discoveries <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-ipam-resource-discoveries.html>`__ and the IPAM ID which you can get with `describe-ipams <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-ipams.html>`__.
7+
* To complete this request, you'll need the resource discovery ID which you can get with `describe-ipam-resource-discoveries <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-ipam-resource-discoveries.html>`__ and the IPAM ID which you can get with `describe-ipams <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-ipams.html>`__.
88
* The resource discovery that you are associating must have first been shared with your account using AWS RAM.
99
* The ``--region`` you enter must match the home Region of the IPAM you are associating it with.
1010

awscli/examples/ec2/create-ipam-resource-discovery.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ Output::
4343
]
4444
}
4545

46-
Once you create a resource discovery, you may want to share it with another IPAM delegated admin, which you can do with `create-resource-share <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/create-resource-share.html>`__. For more information, see `Integrate IPAM with accounts outside of your organization <https://docs.aws.amazon.com/vpc/latest/ipam/enable-integ-ipam-outside-org.html>`__ in the *Amazon VPC IPAM User Guide*.
46+
Once you create a resource discovery, you may want to share it with another IPAM delegated admin, which you can do with `create-resource-share <https://docs.aws.amazon.com/cli/latest/reference/ram/create-resource-share.html>`__. For more information, see `Integrate IPAM with accounts outside of your organization <https://docs.aws.amazon.com/vpc/latest/ipam/enable-integ-ipam-outside-org.html>`__ in the *Amazon VPC IPAM User Guide*.

awscli/examples/ec2/delete-ipam-pool.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this example, you're a IPAM delegated admin who wants to delete an IPAM pool
44

55
To complete this request:
66

7-
* You'll need the IPAM pool ID which you can get with `describe-ipam-pools <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-ipam-pools.html>`__.
7+
* You'll need the IPAM pool ID which you can get with `describe-ipam-pools <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-ipam-pools.html>`__.
88
* The ``--region`` must be the IPAM home Region.
99

1010
The following ``delete-ipam-pool`` example deletes an IPAM pool in your AWS account. ::

awscli/examples/ec2/describe-addresses-attribute.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ Output::
2626
]
2727
}
2828

29-
To view the attributes of an elastic IP address, you must have first associated a domain name with the elastic IP address. For more information, see `Use reverse DNS for email applications <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS>`__ in the *Amazon EC2 User Guide* or `modify-address-attribute <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/modify-address-attribute.html>`__ in the *AWS CLI Command Reference*.
29+
To view the attributes of an elastic IP address, you must have first associated a domain name with the elastic IP address. For more information, see `Use reverse DNS for email applications <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS>`__ in the *Amazon EC2 User Guide* or `modify-address-attribute <https://docs.aws.amazon.com/cli/latest/reference/ec2/modify-address-attribute.html>`__ in the *AWS CLI Command Reference*.

awscli/examples/ec2/get-ipam-discovered-public-addresses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**To view discovered public IP addresses**
22

3-
In this example, you are an IPAM delegated admin and you want to view the IP addresses of resources discovered by IPAM. You can get the resource discovery ID with `describe-ipam-resource-discoveries <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-ipam-resource-discoveries.html>`__.
3+
In this example, you are an IPAM delegated admin and you want to view the IP addresses of resources discovered by IPAM. You can get the resource discovery ID with `describe-ipam-resource-discoveries <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-ipam-resource-discoveries.html>`__.
44

55
The following ``get-ipam-discovered-public-addresses`` example shows the discovered public IP addresses for a resource discovery. ::
66

awscli/examples/ec2/modify-ipam-resource-discovery.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ In this example, you're an IPAM delegated admin who wants to modify the operatin
55
To complete this request:
66

77
* You cannot modify a default resource discovery and you must be the owner of the resource discovery.
8-
* You need the resource discovery ID, which you can get with `describe-ipam-resource-discoveries <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-ipam-resource-discoveries.html>`__.
8+
* You need the resource discovery ID, which you can get with `describe-ipam-resource-discoveries <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-ipam-resource-discoveries.html>`__.
99

1010
The following ``modify-ipam-resource-discovery`` example modifies a non-default resource discovery in your AWS account. ::
1111

awscli/examples/ec2/modify-ipam-scope.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
In this scenario, you're an IPAM delegated admin who wants to modify the description of an IPAM scope.
44

5-
To complete this request, you'll need the scope ID, which you can get with `describe-ipam-scopes <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-ipam-scopes.html>`__.
5+
To complete this request, you'll need the scope ID, which you can get with `describe-ipam-scopes <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-ipam-scopes.html>`__.
66

77
The following ``modify-ipam-scope`` example updates the description of the scope. ::
88

awscli/examples/ec2/release-ipam-pool-allocation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ In this example, you're an IPAM delegated admin who tried to delete an IPAM pool
44

55
Note the following:
66

7-
* You can only use this command for custom allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using `modify-ipam-resource-cidr <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/modify-ipam-resource-cidr.html>`__.
8-
* To complete this request, you'll need the IPAM pool ID, which you can get with `describe-ipam-pools <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-ipam-pools.html>`__. You'll also need the allocation ID, which you can get with `get-ipam-pool-allocations <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/get-ipam-pool-allocations.html>`__.
7+
* You can only use this command for custom allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using `modify-ipam-resource-cidr <https://docs.aws.amazon.com/cli/latest/reference/ec2/modify-ipam-resource-cidr.html>`__.
8+
* To complete this request, you'll need the IPAM pool ID, which you can get with `describe-ipam-pools <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-ipam-pools.html>`__. You'll also need the allocation ID, which you can get with `get-ipam-pool-allocations <https://docs.aws.amazon.com/cli/latest/reference/ec2/get-ipam-pool-allocations.html>`__.
99
* If you do not want to remove allocations one by one, you can use the ``--cascade option`` when you delete an IPAM pool to automatically release any allocations in the pool before deleting it.
1010
* There are a number of prerequisites before running this command. For more information, see `Release an allocation <https://docs.aws.amazon.com/vpc/latest/ipam/release-alloc-ipam.html>`__ in the *Amazon VPC IPAM User Guide*.
1111
* The ``--region`` in which you run this command must be the locale of the IPAM pool where the allocation is.
@@ -24,4 +24,4 @@ Output::
2424
"Success": true
2525
}
2626

27-
Once you release an allocation, you may want to run `delete-ipam-pool <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/delete-ipam-pool.html>`__.
27+
Once you release an allocation, you may want to run `delete-ipam-pool <https://docs.aws.amazon.com/cli/latest/reference/ec2/delete-ipam-pool.html>`__.

0 commit comments

Comments
 (0)