EC2 / Client / disassociate_ipam_resource_discovery
disassociate_ipam_resource_discovery#
- EC2.Client.disassociate_ipam_resource_discovery(**kwargs)#
Disassociates a resource discovery from 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.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_ipam_resource_discovery( DryRun=True|False, IpamResourceDiscoveryAssociationId='string' )
- Parameters:
DryRun (boolean) – 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
.IpamResourceDiscoveryAssociationId (string) –
[REQUIRED]
A resource discovery association ID.
- Return type:
dict
- Returns:
Response Syntax
{ 'IpamResourceDiscoveryAssociation': { 'OwnerId': 'string', 'IpamResourceDiscoveryAssociationId': 'string', 'IpamResourceDiscoveryAssociationArn': 'string', 'IpamResourceDiscoveryId': 'string', 'IpamId': 'string', 'IpamArn': 'string', 'IpamRegion': 'string', 'IsDefault': True|False, 'ResourceDiscoveryStatus': 'active'|'not-found', 'State': 'associate-in-progress'|'associate-complete'|'associate-failed'|'disassociate-in-progress'|'disassociate-complete'|'disassociate-failed'|'isolate-in-progress'|'isolate-complete'|'restore-in-progress', 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] } }
Response Structure
(dict) –
IpamResourceDiscoveryAssociation (dict) –
A resource discovery association.
OwnerId (string) –
The Amazon Web Services account ID of the resource discovery owner.
IpamResourceDiscoveryAssociationId (string) –
The resource discovery association ID.
IpamResourceDiscoveryAssociationArn (string) –
The resource discovery association Amazon Resource Name (ARN).
IpamResourceDiscoveryId (string) –
The resource discovery ID.
IpamId (string) –
The IPAM ID.
IpamArn (string) –
The IPAM ARN.
IpamRegion (string) –
The IPAM home Region.
IsDefault (boolean) –
Defines if the resource discovery is the default. When you create an IPAM, a default resource discovery is created for your IPAM and it’s associated with your IPAM.
ResourceDiscoveryStatus (string) –
The resource discovery status.
active
- Connection or permissions required to read the results of the resource discovery are intact.not-found
- Connection or permissions required to read the results of the resource discovery are broken. This may happen if the owner of the resource discovery stopped sharing it or deleted the resource discovery. Verify the resource discovery still exists and the Amazon Web Services RAM resource share is still intact.
State (string) –
The lifecycle state of the association when you associate or disassociate a resource discovery.
associate-in-progress
- Resource discovery is being associated.associate-complete
- Resource discovery association is complete.associate-failed
- Resource discovery association has failed.disassociate-in-progress
- Resource discovery is being disassociated.disassociate-complete
- Resource discovery disassociation is complete.``disassociate-failed ``- Resource discovery disassociation has failed.
isolate-in-progress
- Amazon Web Services account that created the resource discovery association has been removed and the resource discovery associatation is being isolated.isolate-complete
- Resource discovery isolation is complete..restore-in-progress
- Resource discovery is being restored.
Tags (list) –
A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
(dict) –
Describes a tag.
Key (string) –
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with
aws:
.Value (string) –
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.