Skip to content

EC2  >  Operations  >  delete_ipam_resource_discovery

delete_ipam_resource_discovery

Operation

delete_ipam_resource_discovery async

delete_ipam_resource_discovery(request: DeleteIpamResourceDiscoveryInput | DeleteIpamResourceDiscoveryInputDict, /, *, plugins: list[Plugin] | None = None) -> DeleteIpamResourceDiscoveryOutput
delete_ipam_resource_discovery(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteIpamResourceDiscoveryInputDict]) -> DeleteIpamResourceDiscoveryOutput

Deletes an IPAM resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.

Parameters:

Name Type Description Default
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteIpamResourceDiscoveryOutput

An instance of DeleteIpamResourceDiscoveryOutput.

Input

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

DeleteIpamResourceDiscoveryInput dataclass

Bases: _SerdeShape

Dataclass for DeleteIpamResourceDiscoveryInput structure.

Attributes
dry_run class-attribute instance-attribute
dry_run: bool | 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 is UnauthorizedOperation.

ipam_resource_discovery_id class-attribute instance-attribute
ipam_resource_discovery_id: str | None = ...

The IPAM resource discovery ID.

Dictionaries

DeleteIpamResourceDiscoveryInputDict

Bases: TypedDict

Dictionary form of DeleteIpamResourceDiscoveryInput.

Attributes
dry_run instance-attribute
dry_run: bool | 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 is UnauthorizedOperation.

ipam_resource_discovery_id instance-attribute
ipam_resource_discovery_id: Required[str]

The IPAM resource discovery ID.

Output

DeleteIpamResourceDiscoveryOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteIpamResourceDiscoveryOutput structure.

Attributes

ipam_resource_discovery class-attribute instance-attribute
ipam_resource_discovery: IpamResourceDiscovery | None = ...

The IPAM resource discovery.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.