AppRegistry.Client.
disassociate_resource
(**kwargs)¶Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_resource(
application='string',
resourceType='CFN_STACK'|'RESOURCE_TAG_VALUE',
resource='string'
)
[REQUIRED]
The name or ID of the application.
[REQUIRED]
The type of the resource that is being disassociated.
[REQUIRED]
The name or ID of the resource.
dict
Response Syntax
{
'applicationArn': 'string',
'resourceArn': 'string'
}
Response Structure
(dict) --
applicationArn (string) --
The Amazon resource name (ARN) that specifies the application.
resourceArn (string) --
The Amazon resource name (ARN) that specifies the resource.
Exceptions
AppRegistry.Client.exceptions.ResourceNotFoundException
AppRegistry.Client.exceptions.InternalServerException
AppRegistry.Client.exceptions.ValidationException