associate_ipam_resource_discovery
async
¶
associate_ipam_resource_discovery(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_id: Optional[IpamId] = None,
ipam_resource_discovery_id: Optional[IpamResourceDiscoveryId] = None,
tag_specifications: Optional[TagSpecificationList] = None,
client_token: Optional[String] = None,
) -> AssociateIpamResourceDiscoveryResult
Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
Parameters:
-
dry_run(Optional[Boolean], default:None) –A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
ipam_id(Optional[IpamId], default:None) –An IPAM ID.
-
ipam_resource_discovery_id(Optional[IpamResourceDiscoveryId], default:None) –A resource discovery ID.
-
tag_specifications(Optional[TagSpecificationList], default:None) –Tag specifications.
-
client_token(Optional[String], default:None) –A client token.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 | |