Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
example
Use a bare-bones client and the command you need to make an API call.
Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, GetIpamResourceCidrsCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, GetIpamResourceCidrsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new GetIpamResourceCidrsCommand(input); const response = await client.send(command);
GetIpamResourceCidrsCommandInput for command's
input
shape.GetIpamResourceCidrsCommandOutput for command's
response
shape.config for EC2Client's
config
shape.