AppRegistry / Client / disassociate_resource

disassociate_resource#

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'
)
Parameters:
  • application (string) –

    [REQUIRED]

    The name or ID of the application.

  • resourceType (string) –

    [REQUIRED]

    The type of the resource that is being disassociated.

  • resource (string) –

    [REQUIRED]

    The name or ID of the resource.

Return type:

dict

Returns:

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

  • AppRegistry.Client.exceptions.ThrottlingException