def disable_detailed_monitoring(name, call=None):
    '''
    Enable/disable detailed monitoring on a node

    CLI Example:
    '''
    if call != 'action':
        raise SaltCloudSystemExit(
            'The enable_term_protect action must be called with '
            '-a or --action.'
        )

    instance_id = _get_node(name)['instanceId']
    params = {'Action': 'UnmonitorInstances',
              'InstanceId.1': instance_id}

    result = aws.query(params,
                       location=get_location(),
                       provider=get_provider(),
                       return_root=True,
                       opts=__opts__,
                       sigver='4')

    return show_detailed_monitoring(name=name, instance_id=instance_id, call='action')
def disable_detailed_monitoring ( name , call = None ) : if call != 'action' : raise SaltCloudSystemExit ( 'The enable_term_protect action must be called with ' '-a or --action.' ) instance_id = _get_node ( name ) [ 'instanceId' ] params = { 'Action' : 'UnmonitorInstances' , 'InstanceId.1' : instance_id } result = aws . query ( params , location = get_location ( ) , provider = get_provider ( ) , return_root = True , opts = __opts__ , sigver = '4' ) return show_detailed_monitoring ( name = name , instance_id = instance_id , call = 'action' )
Enable/disable detailed monitoring on a node

    CLI Example: